[ROM][UNOFFICIAL][O][UsU] LineageOS 15.1 [H812] DEPRECATED - G4 Android Development

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
/*
* I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed (like it did for me...).
* Please do some research if you have any concerns about features included in the products you find here before flashing it!
* YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, I will laugh at you.
* Your warranty will be void if you tamper with any part of your device / software.
* Same statement for XDA.
*/
About LineageOS:
LineageOS is a free, community built, aftermarket firmware distribution of Android 8 (oreo), which is designed to increase performance and reliability over stock Android for your device.
LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
All the source code for LineageOS is available in the Suicide Squirrel Github repo. And if you would like to contribute to LineageOS, do not hesitate to submit patches.
**** These builds are for UsU'd devices only ****
UsU? http://bit.do/unlockg4​
Requirements
Your device need to be unlocked by UsU
Your bootloader stack should be on MM 20x or higher! (see FAQ #20 for how to upgrade your bootloader stack).
.... and for your convenience I have even created TWRP flashable files for that here
Latest TWRP - PREVIEW build: click
Clean modem partition (so no UsU baseband flashed) - see Installation topic for details
Installation
If you have ever flashed the UsU baseband package: Clean flash the modem partition from your backup in TWRP. If you have no backup:
- TWRP flashable MM modems (N will not work)
Read & follow (!) this very useful post by user @sdembiske (consider to show ur appreciation by clicking thx on that post) --> click
Full wipe like described here (click & go to FAQ "#zzz") is highly recommended. DO NOT REPORT ISSUES when you have skipped that step!
Flash LOS
Flash GApps (8.1 - ARM64) if you like to use google apps
Flash SuperSU / Magisk if you want root
Boot (will take long on first boot!)
Enjoy
Download
Get your builds from my leech server
http://leech.binbash.it:8008/lineage/oreo/h812-UsU/
Note:
Builds are updated as soon as possible. There is no build cycle.
Information pertaining to your device is displayed accordingly.
The current build is the latest for your device.
Known issues:
Check the current issues at the github tracker (feel free to help, provide logs etc!)
Credits
LineageOS
ThePiGuy
kessaras
steadfasterX
and more..
Sources
Kernel
device tree
build manifest
XDA:DevDB Information
lineage-usu-h812, ROM for the LG G4
Contributors
steadfasterX, ThePiGuy, kessaras
Source Code: https://github.com/Suicide-Squirrel/local_manifests/tree/los-15.1
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.10.x
ROM Firmware Required: 20x or higher firmware
Based On: pure LineageOS
Version Information
Status: Beta
Created 2018-06-20
Last Updated 2019-07-10

Reserved

Is there any way to set selinux to enforcing?

bdasmith said:
Is there any way to set selinux to enforcing?
Click to expand...
Click to collapse
Not yet. SELinux works by blocking access to different components to your phone (e.g. access to the camera) unless we specify otherwise in sepolicies. We haven't built those yet so the experience will be completely broken as all functions (including basic ones like turning on the screen once it has been locked) will be blocked and therefore won't work
It's on our to-do list though

ThePiGuy said:
Not yet. SELinux works by blocking access to different components to your phone (e.g. access to the camera) unless we specify otherwise in sepolicies. We haven't built those yet so the experience will be completely broken as all functions (including basic ones like turning on the screen once it has been locked) will be blocked and therefore won't work
It's on our to-do list though
Click to expand...
Click to collapse
Thank you for the clear answer! Makes sense. Thanks to everyone for their work!
---------- Post added at 12:35 PM ---------- Previous post was at 12:24 PM ----------
I found that the stock camera for lineage works fine for video if the resolution is changed to 720p. Not sure if it was noted before.

bdasmith said:
Thank you for the clear answer! Makes sense. Thanks to everyone for their work!
---------- Post added at 12:35 PM ---------- Previous post was at 12:24 PM ----------
I found that the stock camera for lineage works fine for video if the resolution is changed to 720p. Not sure if it was noted before.
Click to expand...
Click to collapse
Thanks for checking it out - 1080p is also working for me - only UHD 4K is not working.

So I installed this on my phone. Installation itself went well - I wiped everything and formatted data, then flashed LOS, GApps, and Magisk.
Some issues I've run into so far:
1. Cannot connect to my 5GHz AC WiFi. (The 2GHz Wireless-N network connects fine - Edit: Seems to be AC-Only mode that is the problem. If I set it to AC/N Mix or N-Only it connects fine.)
Code:
06-21 01:57:45.295 5273 5273 I wpa_supplicant: wlan0: CTRL-EVENT-ASSOC-REJECT bssid=b0:7f:b9:9c:90:48 status_code=18
06-21 01:57:45.296 5273 5273 I wpa_supplicant: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="My WiFi SSID"
auth_failures=1 duration=10 reason=CONN_FAILED
06-21 01:57:45.425 990 7124 I WifiService: getWifiEnabledState uid=1000
06-21 01:57:45.434 990 5121 I WifiService: getConfiguredNetworks uid=1000
06-21 01:57:45.452 990 2081 D WifiStateMachine: Assocation Rejection event: bssid=b0:7f:b9:9c:90:48 reason code=18 ti
medOut=false
This worked fine in AOSCP Nougat. It's still possible this is just a problem on my end - I will keep messing with it.
2. GCams so far all seem to crash immediately once I've granted permissions. (Tried GCMod5, Pixel2Mod, and Snapdragon Camera)
3a. Video recording with the included camera does work, but framerate is pretty poor at 1080p. It's better at 720p, but not perfect.
3b. OpenCamera cannot record if I enable Camera2 API still, and seems to perform about as well as the included camera if I disable it.
3c. Cinema FV-5 does nothing when I tap the Record button, even with Compatibility mode enabled
It's an improvement that the included camera app can record video, but a step backwards that GCams all seem to crash immediately now. They were never all that stable in Nougat, but better than this.
4. HD video playback still has issues. I've tried this in YouTube and Twitch so far.
- 480p or below works fine
- 720p (30fps) seems to work ok
- 1080p (30fps) stutters a little bit but overall seems to be ok too now
- 1440p (30fps) stutters a lot, slow playback rate.
- 720p (60fps) video plays then freezes, then plays, then freezes, repeat
- 1080p (60fps) video freezes and largely does not play at all.
Audio is always fine, it's just video that has issues.
Video Playback's not perfect yet, but it's an improvement over my experience on AOSCP Nougat
I have yet to attempt any calling, bluetooth, or GPS. I'll update this post as I do more things. I have not installed Greenify or Amplify yet - I want to see how battery life is without anything like that initially.
Otherwise so far so good. Thank you to everyone for your efforts on this! I never imagined my G4 would ever go beyond rooted LP or unrooted MM, much less be on LOS Oreo. Please let me know if there is anything in particular I can provide to help troubleshoot.
Update 1:
- No ability to edit my APNs. The default ones from my SIM were detected and work, but I don't have the option to add new ones.

vsTerminus said:
Please let me know if there is anything in particular I can provide to help troubleshoot.
Click to expand...
Click to collapse
doing a crash log may help:
Code:
adb shell
su
logcat -b all -c (will clear the log)
[I]now: let cam crash[/I]
logcat -d -b all > /cache/camcrash.txt
adb pull /cache/camcrash.txt
paste that camcrash.txt to http://bpaste.net
consider to do the same for your WiFi issue..
,

vsTerminus said:
So I installed this on my phone. Installation itself went well - I wiped everything and formatted data, then flashed LOS, GApps, and Magisk.
Some issues I've run into so far:
1. Cannot connect to my 5GHz AC WiFi. (The 2GHz Wireless-N network connects fine - Edit: for whatever reason it seems to lose connectivity periodically though)
Code:
06-21 01:57:45.295 5273 5273 I wpa_supplicant: wlan0: CTRL-EVENT-ASSOC-REJECT bssid=b0:7f:b9:9c:90:48 status_code=18
06-21 01:57:45.296 5273 5273 I wpa_supplicant: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="My WiFi SSID"
auth_failures=1 duration=10 reason=CONN_FAILED
06-21 01:57:45.425 990 7124 I WifiService: getWifiEnabledState uid=1000
06-21 01:57:45.434 990 5121 I WifiService: getConfiguredNetworks uid=1000
06-21 01:57:45.452 990 2081 D WifiStateMachine: Assocation Rejection event: bssid=b0:7f:b9:9c:90:48 reason code=18 ti
medOut=false
This worked fine in AOSCP Nougat. It's still possible this is just a problem on my end - I will keep messing with it.
2. GCams so far all seem to crash immediately once I've granted permissions. (Tried GCMod5, Pixel2Mod, and Snapdragon Camera)
3a. Video recording with the included camera does work, but framerate is pretty poor at 1080p. It's better at 720p, but not perfect.
3b. OpenCamera cannot record if I enable Camera2 API still, and seems to perform about as well as the included camera if I disable it.
3c. Cinema FV-5 does nothing when I tap the Record button, even with Compatibility mode enabled
It's an improvement that the included camera app can record video, but a step backwards that GCams all seem to crash immediately now. They were never all that stable in Nougat, but better than this.
4. HD video playback still has issues. I've tried this in YouTube and Twitch so far.
- 480p or below works fine
- 720p (30fps) seems to work ok
- 1080p (30fps) stutters a little bit but overall seems to be ok too now
- 1440p (30fps) stutters a lot, slow playback rate.
- 720p (60fps) video plays then freezes, then plays, then freezes, repeat
- 1080p (60fps) video freezes and largely does not play at all.
Audio is always fine, it's just video that has issues.
Video Playback's not perfect yet, but it's an improvement over my experience on AOSCP Nougat
I have yet to attempt any calling, bluetooth, or GPS. I'll update this post as I do more things. I have not installed Greenify or Amplify yet - I want to see how battery life is without anything like that initially.
Otherwise so far so good. Thank you to everyone for your efforts on this! I never imagined my G4 would ever go beyond rooted LP or unrooted MM, much less be on LOS Oreo. Please let me know if there is anything in particular I can provide to help troubleshoot.
Click to expand...
Click to collapse
Strange! No issues with any of those things you described on my h812!

bdasmith said:
Strange! No issues with any of those things you described on my h812!
Click to expand...
Click to collapse
whats your bootloader firmware version and first 3 digits of your device serial @bdasmith and @vsTerminus ?
device serial:
the sticker behind the battery
bootloader stack firmware:
easiest is to grab it from your SALT backup before UsU has been flashed. described here: https://forum.xda-developers.com/showpost.php?p=76861239&postcount=1122
only valid if you havent upgraded/downgraded the bootloader stack after the SALT backup ofc..
.

steadfasterX said:
whats your bootloader firmware version and first 3 digits of your device serial?
Click to expand...
Click to collapse
Device Serial: 709
Bootloader stack: Rogers V20x (MM)
Code:
~/salt_backup % strings misc.bin | grep LG
LGH812AT-01-V20x-302-720-JUL-12-2016+0
LGH812AT
LGH812AT-00-V20x-RGS-CA-JUL-12-2016+0
LG-H812
Also, I sent you a PM with the logs you requested.

@vsTerminus; @bdasmith; @steadfasterX:
I was on the V20X from Fido/Rogers as well but ...
- Have had no issues at all connecting to 5.0 GHz. WIFI
- Video recording in 1080p with the stock camera app does not seem to present any issues for me on my phone and the recorded videos play well.
- Cinema FV5 video recording is still working extremely well for me with legacy camera driver and the recorded videos play very well.
- I too have experienced problems with all but one of many modded Google cam apps I have tested - camera either closes immediately after allowing permissions or if loads presents a black screen, crashes on video app switch etc. I have put this down at least partially that a lot of these mods are prepared on or for different phones and may be using the blobs from their originally stalled camera apps.
- 1080p and UHD 4K videos are playing very well in YouTube on my phone.
Note: Experiencing as of the June 19th H812 build, much better sim card recognition now - as good as I had on AOSCP N it seems - not getting anywhere so far the failure to load or the complete drop-offs I was experiencing on the previous H811 build I had installed.
S.

sdembiske said:
- Have had no issues at all connecting to 5.0 GHz. WIFI
Click to expand...
Click to collapse
What is the Wireless Network Mode set to? Mine will connect if I set it to "N-Only" or "AC/N-Mixed", but it will not connect if I set it to "AC-Only".
Do me a favor and try setting it to AC-Only and try again?
sdembiske said:
- Video recording in 1080p with the stock camera app does not seem to present any issues for me on my phone and the recorded videos play well.
- Cinema FV5 video recording is still working extremely well for me with legacy camera driver and the recorded videos play very well.
Click to expand...
Click to collapse
Cinema FV-5 is working for me now, but it performs about as well as the included camera app does.
Put the camera on Video mode but don't start recording. Pan across the room, reasonably quickly. Pay attention to how smooth it looks.
Now hit record and do exactly the same thing. Is it just as smooth? Mine is not. It gets choppy while recording, but is nice and smooth once I stop.
sdembiske said:
- I too have experienced problems with all but one of many modded Google cam apps I have tested - camera either closes immediately after allowing permissions or if loads presents a black screen, crashes on video app switch etc. I have put this down at least partially that a lot of these mods are prepared on or for different phones and may be using the blobs from their originally stalled camera apps.
Click to expand...
Click to collapse
The only thing is, I know some of these camera mods worked on AOSCP Nougat. They weren't the most stable apps in the world, but at least I could load them up and take a few pictures. Now I can't get the apps to even open.
sdembiske said:
- 1080p and UHD 4K videos are playing very well in YouTube on my phone.
Click to expand...
Click to collapse
What about a 1080p 60fps video? Mine seems to work fine up to 1080p as long as it's only a 30fps video.
If you need help finding something in 1080p60, try this: https://www.youtube.com/watch?v=4KNwl8nvMvQ
In the YouTube app if you tap the screen while the video is playing you'll get the 3-dot menu button at the top right corner. From there you can go to Quality and choose "1080p60". Skip ahead in the video to force it to switch quality levels, and let me know how your video plays then.
I don't doubt you, I just want to make sure we're trying the same things here. Thanks!

vsTerminus said:
What is the Wireless Network Mode set to? Mine will connect if I set it to "N-Only" or "AC/N-Mixed", but it will not connect if I set it to "AC-Only".
Do me a favor and try setting it to AC-Only and try again?
Click to expand...
Click to collapse
Set to A-Only - don't have AC. Problem may reside with C perhaps.
vsTerminus said:
Cinema FV-5 is working for me now, but it performs about as well as the included camera app does.
Put the camera on Video mode but don't start recording. Pan across the room, reasonably quickly. Pay attention to how smooth it looks.
Now hit record and do exactly the same thing. Is it just as smooth? Mine is not. It gets choppy while recording, but is nice and smooth once I stop.
Click to expand...
Click to collapse
Panning is what I always test. I test with a relatively slower pan ... perhaps that is your issue.
vsTerminus said:
The only thing is, I know some of these camera mods worked on AOSCP Nougat. They weren't the most stable apps in the world, but at least I could load them up and take a few pictures. Now I can't get the apps to even open.
Click to expand...
Click to collapse
Most of the one's I tested were on ASOCP N, same issues - tested three so far on O and all closed immediately after allowing permissions.
vsTerminus said:
What about a 1080p 60fps video? Mine seems to work fine up to 1080p as long as it's only a 30fps video.
If you need help finding something in 1080p60, try this: https://www.youtube.com/watch?v=4KNwl8nvMvQ
In the YouTube app if you tap the screen while the video is playing you'll get the 3-dot menu button at the top right corner. From there you can go to Quality and choose "1080p60". Skip ahead in the video to force it to switch quality levels, and let me know how your video plays then.
I don't doubt you, I just want to make sure we're trying the same things here. Thanks!
Click to expand...
Click to collapse
Here's the thing ... I had problems with your recording in 1080p 60fps. I tried another one Battlefield 1 PS4 Gameplay (1080p 60fps) and guess what, played flawlessly - confirmed it was playing in 1080p 60fps. As I have stated to you before, I believe it depends in large part on the quality of the uploaded video recording ...

sdembiske said:
Set to A-Only - don't have AC. Problem may reside with C perhaps.
Click to expand...
Click to collapse
We'll need someone else who can test with a 5GHz Wireless-AC network then to confirm. Thanks for trying.
sdembiske said:
Panning is what I always test. I test with a relatively slower pan ... perhaps that is your issue.
Click to expand...
Click to collapse
You would notice it more when panning a bit faster. I'm not saying shake the phone around violently or anything, but mine is visibly choppy even with slow panning.
Here's the thing ... I had problems with your recording in 1080p 60fps. I tried another one Battlefield 1 PS4 Gameplay (1080p 60fps) and guess what, played flawlessly - confirmed it was playing in 1080p 60fps.
Click to expand...
Click to collapse
Could you send me the link? I'd like to try the same video you did.

vsTerminus said:
We'll need someone else who can test with a 5GHz Wireless-AC network then to confirm. Thanks for trying.
You would notice it more when panning a bit faster. I'm not saying shake the phone around violently or anything, but mine is visibly choppy even with slow panning.
Could you send me the link? I'd like to try the same video you did.
Click to expand...
Click to collapse
I do not get choppiness with slow panning on mine.
Link: https://www.youtube.com/watch?v=xCJsrd983To
Most issues I believe may be related to buffering problems with longer playing videos. I don't have issues with shorter plays but they seem to arise with longer plays from the number I have tested now.

steadfasterX said:
whats your bootloader firmware version and first 3 digits of your device serial @bdasmith and @vsTerminus ?
device serial:
the sticker behind the battery
bootloader stack firmware:
easiest is to grab it from your SALT backup before UsU has been flashed. described here: https://forum.xda-developers.com/showpost.php?p=76861239&postcount=1122
only valid if you havent upgraded/downgraded the bootloader stack after the SALT backup ofc..
.
Click to expand...
Click to collapse
Ok I guess @bdasmith you have a serial lower then 700 ?
I see problems always on 7xx devices and not on 6xx and 5xx devices.
We already saw that LG changed something in newer product lines due to issues with the camera ( aoscp thread a while ago) so I guess that makes the difference..
Sent from my LG-H815 using XDA Labs

steadfasterX said:
Ok I guess @bdasmith you have a serial lower then 700 ?
I see problems always on 7xx devices and not on 6xx and 5xx devices.
We already saw that LG changed something in newer product lines due to issues with the camera ( aoscp thread a while ago) so I guess that makes the difference..
Sent from my LG-H815 using XDA Labs
Click to expand...
Click to collapse
Hey there...just got home from work. After dinner i will take a look at that for you!

Well....i opened her up my serial number is 708...etc
Not sure if that helps or not lol.
Is there a way to get bootloader version read from an app of some sort?
From now on i jave to be very vwry careful with what i do. The drive i had my salt backup on died and is unrecoverable! Yikes

sdembiske said:
I do not get choppiness with slow panning on mine.
Link: https://www.youtube.com/watch?v=xCJsrd983To
Most issues I believe may be related to buffering problems with longer playing videos. I don't have issues with shorter plays but they seem to arise with longer plays from the number I have tested now.
Click to expand...
Click to collapse
Yes...i noticed lag on some videos when played in 1080p 60fps
And some others played just fine. It did seem to be shorter ones that played okay for me as well.
Edit: i take that back. All 1080p 60fps lag and audio out of sync. Sorry @vsTerminus
---------- Post added at 10:40 PM ---------- Previous post was at 10:35 PM ----------
vsTerminus said:
- No ability to edit my APNs. The default ones from my SIM were detected and work, but I don't have the option to add new ones.
Click to expand...
Click to collapse
Confirmed....no option to create new vpn.

Related

[Q&A] ★ ☆ [ROM][4.4.4] NuSenseSIX-ART Edition | 3.28.401.6 | v1.00 [10-15-14]

[Q&A] ★ ☆ [ROM][4.4.4] NuSenseSIX-ART Edition | 3.28.401.6 | v1.00 [10-15-14]
Q&A for ★ ☆ [ROM][4.4.4] NuSenseSIX-ART Edition | 3.28.401.6 | v1.00 [10-15-14]
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer. Thanks for understanding and for helping to keep XDA neat and tidy! :smile:
So I've been using this since released and it is an amazing rom, lovin it.
2 questions about the new camera though. I have seen a video where in split capture both front and rear record simultaneously, however it seems to only work capturing rear camera and then after capturing front camera. Is the M7 not capable of the simultaneous capture? Also does the M7 not support the Full Hd (1920x1080) resolution for videos? When attempting to record it looks very sharp and crisp but when playing the recording back i get blotched colors and a thick green and purple line on the right side of the video.
ayanami00 said:
So I've been using this since released and it is an amazing rom, lovin it.
2 questions about the new camera though. I have seen a video where in split capture both front and rear record simultaneously, however it seems to only work capturing rear camera and then after capturing front camera. Is the M7 not capable of the simultaneous capture? Also does the M7 not support the Full Hd (1920x1080) resolution for videos? When attempting to record it looks very sharp and crisp but when playing the recording back i get blotched colors and a thick green and purple line on the right side of the video.
Click to expand...
Click to collapse
The m7 does not have native dual capture like the m8 does.
In regular camera before Eye experience, it is able to capture image from both, with a PictureInPicture looking window for front camera.
At one point, I attempted to try and enable dual capture for the m7, but did not have much luck and did not try for long.
It's possible that it could be enabled, but I have yet to do so.
Most of that would be done kernel side and I do believe it can be done.
But HTC never gave us that ability on the m7.
So yeah, to use dual capture/split view, it takes one and then the other.
As far as the video, yes it does HD.
I have yet to do a lot of video with the Eye camera, but I did not notice anything like that in my testing.
You may actually be one of the many who have an inferior sensor, as many have had to send theirs in for repair/replacement for similar issues.
It may just be that the newer camera stresses it more, making it more apparent.
I assume you are in fact on the latest firmware, so that shouldn't be a concern.
If others are having similar effects, then it could be a result of porting the libs and binaries for the new features from the m8.
But if it's just happening for you, or a select few, then I would lean towards the hardware failure that HTC is aware of.
Thanks for the info, after posting this i messed around with the settings for the video issue. This is what I came across, if I set video quality to 1920x1080 via settings and shoot video on auto i get what I described in my post. If I change from auto and shoot in hdr I do not get the blothchy color or lines but image seems to be zoomed in a little.
Now when i set video quality to 1280x720 via settings and shoot video on auto no image issues. If I change from auto to hdr still using 1280x720 in the settings i get a 1920x1080 video that looks like it should not zoomed in either.
Seems odd but got it working. So would this be a hardware issue like you suggested or issue with the app, seeing it was meant for the M8?
Thanks again for sharing your work !
Camera Issue
First off Santod, been using your ROMS for quite a while now and have greatly appreciated your hard work. I have just one problem with this new one, as I see someone has already stated, I too am having an issue with my camera during recording. It looks fine on the screen while recording, but after recording i go to look at the video, and it's almost as if the split picture is active, but only for the back camera. What I mean is that there appears to be a line cutting the screen into two sections (like the split picture does, but it's still the whole screen video from the back camera) and the colors are off, almost as if it has the negative filter on but not quite. I have not had any issue with the camera previous to installing this new ROM. There is also a green line that shows up on the top of the video, on all the videos i have taken. Im not entirely sure that it isn't a software issue as I haven't had any trouble on previous roms, but I'm sure you know a lot more about it than I do. I'm about to reflash the ROM and see if that doesn't maybe fix it, but I figured I would let you know of the only problem I have encountered so far. Thanks again for all your work!
---------- Post added at 04:32 PM ---------- Previous post was at 04:21 PM ----------
ayanami00 said:
Thanks for the info, after posting this i messed around with the settings for the video issue. This is what I came across, if I set video quality to 1920x1080 via settings and shoot video on auto i get what I described in my post. If I change from auto and shoot in hdr I do not get the blothchy color or lines but image seems to be zoomed in a little.
Now when i set video quality to 1280x720 via settings and shoot video on auto no image issues. If I change from auto to hdr still using 1280x720 in the settings i get a 1920x1080 video that looks like it should not zoomed in either.
Seems odd but got it working. So would this be a hardware issue like you suggested or issue with the app, seeing it was meant for the M8?
Thanks again for sharing your work !
Click to expand...
Click to collapse
I tried this also, and it had the exact same effect for me. I wish I would have seen this yesterday as I recorded a whole show last night with messed up video and didn't even know it lol. Thanks for this, I guess I will use this as a workaround for now.
---------- Post added at 04:45 PM ---------- Previous post was at 04:32 PM ----------
Upon closer inspection when i played back the video on my computer, the video is actually two of the same videos playing next to each other, not a whole video cut in half by a line.
some bug, need fix
Before, i really Thanks You cuz best series Rom for M7 VWZ.
Yesterday, i up this Rom for my M7 VWZ, but have some bug ...
I'm from Vietnam and use GSM Sim, i'm up from NuSence 4.4.3 and have some bug....
1> Only Call success at first call, then need restart for other call.
2> have icon Sim Notsupport in status bar,
i was reup many times but it's still that, now, i;m go back NS 4.4.3
P/s: Can you port "Ufocus" on M8 for M7 VWZ ?
I don't have any reboot options on my power menu. The only options I see are "Power off" and "Airplane mode". I also can't find any options for changing this, either in the installer or in Settings. Is there a way to fix this without doing a full wipe?
If it makes any difference, I originally installed this ROM using a full wipe with Nova Launcher selected, then later re-installed without wipe to change the launcher to Blinkfeed (but the reboot option has never appeared with either launcher).
Issues with Chromecast
Hey Santod,
I have been trying to mirror my screen with the chromecast app. as it connects it then disconnects and never actually works. I had it working on your older Nusense Six 8.0. Just wondering if this is something you can work on or if this is something I will just have to wait until the next iteration of builds.
Thanks,
Kevin Clark
Casting screen with Chromecast
Does anyone else have issues casting your screen with Chromecast? I tried, and it immediately ends the cast, leaving my TV at a black screen.
Thanka
nullx said:
Does anyone else have issues casting your screen with Chromecast? I tried, and it immediately ends the cast, leaving my TV at a black screen.
Thanka
Click to expand...
Click to collapse
I can also confirm that screen casting my screen no longer works as it did in the previous NuSense. So far this only appears to be an issue with Mirroring. Casting from apps like Youtube and Netflix work fine for me.
http://imgur.com/a/dfgUm
My battery life with this rom has been insane. I'd be at thirty percent after ten hours on gpe and dirty unicorns and the dalvik version of nusense.
Thanks for making a great rom, looking forward to Chromecast screen mirroring.
So I can't get ART to stick. Every time i switch to it and reboot it doesnt change. I am using xposed modules if that makes a difference
epst programming works?
xxtsxx said:
So I can't get ART to stick. Every time i switch to it and reboot it doesnt change. I am using xposed modules if that makes a difference
Click to expand...
Click to collapse
You can't use art with xposed, it doesn't support art yet.
dmytropolyuk said:
epst programming works?
Click to expand...
Click to collapse
Yes, Epst works.
santod040 said:
You can't use art with xposed, it doesn't support art yet.
Click to expand...
Click to collapse
ahh okay that was my suspicion. Thanks for the great work
In having an issue with Bluetooth audio
I can pair my head set but it won't pass any audio
Any ideas?
Anyone else having issues with GPS / Google Maps on this ROM?
Was this version supposed to not have the Sense toolbox installed with it? I'm not sure how else to enable the swipe-typing otherwise...?
Issues switching to ART
Hey Santod,
I haven't gotten any reply from you about the chromecast issue. I understand. You are a great developer. I did have a quick question about ART though. I tried to switch my Phone to ART, but it didn't actually switch over when I told it to reboot to switch to ART. What am I doing wrong?
Supperman2006 said:
Hey Santod,
I haven't gotten any reply from you about the chromecast issue. I understand. You are a great developer. I did have a quick question about ART though. I tried to switch my Phone to ART, but it didn't actually switch over when I told it to reboot to switch to ART. What am I doing wrong?
Click to expand...
Click to collapse
Currently I have a broken arm, so my presence and ability to type are somewhat effected.
i dont use Chromecast so cant help too much there.
i know I saw info online about it and how you have to access it differently then what seemed obvious.
As for Art, Xposed is not Art compatible and will auto revert you to dalvik if enabled.
So you have to choose one or the other, which is why I left Xposed out of this build.

LG G3 4K Video on AOSP - did it ever work for anyone at all?

A while back CM12 had a patch that enabled 4K video recording. I remember that it even worked SOME of the time, but mostly it showed to be recording without saving anything. Currently on CM12 and Blisspop the option is again removed - probably because it was buggy: review.cyanogenmod.org/#/c/103494
I've tried many different camera ZIPs from other manufacturers (Motorola cam, Lenovo cam) but they do not appear to enable 4K either.
I tried playing around with the media_profiles configuration file, uncommenting the 4K profile. This does enable 4K video recording - even saving, but the framerate is really bad (<10), both with stock and third party cameras.
So my question: Did anyone ever get smooth 4K video to work on AOSP? If so what was the combination of software used?
yes it did work for idiots who;
1) flased xXcameraXxfix_AROMA_VIPERPRO_v4_FAKXDA_LIKE_SUBSCRIBE_DONATE_YOUTELLMEBUGS.zip
2) set the resolution to 4K
3) shot a video
4) never realized it didn't even save, even if it did, it was lagging between 5 and 15 fps
TL;DR
no, it did not, i have flashed all the 3rd party crap from random monkeys claiming they fixed the camera on aosp promising stock quality
to those who come in here telling me it does, provide proof or gtfo
geekmystique said:
A while back CM12 had a patch that enabled 4K video recording. I remember that it even worked SOME of the time, but mostly it showed to be recording without saving anything. Currently on CM12 and Blisspop the option is again removed - probably because it was buggy: review.cyanogenmod.org/#/c/103494
I've tried many different camera ZIPs from other manufacturers (Motorola cam, Lenovo cam) but they do not appear to enable 4K either.
I tried playing around with the media_profiles configuration file, uncommenting the 4K profile. This does enable 4K video recording - even saving, but the framerate is really bad (<10), both with stock and third party cameras.
So my question: Did anyone ever get smooth 4K video to work on AOSP? If so what was the combination of software used?
Click to expand...
Click to collapse
flash 1. https://drive.google.com/file/d/0B023yzk713HzTkhNcFVvU1Z2NHc/view?pli=1
and 2. https://mega.nz/#!lhsg1bwB!ehggjqI-hCbPCHsLr2x2MirRpXRE3XMr8_gHry_NPfs
BUT, is there any non-stock ROM with STOCK camera quality? No 4K, I do not need that, only 1080p (60 fps or 30).
Nope Coki4, unfortunately Tehosiris is right: with the HTC cam and resolution "fix" I can record in 4K, but it is still way too low framerate (15 FPS or worse).
Voterx: To me 4K is most important, hence the thread. If i want proper pictures I take my DSLR anyway... 4K video is something that is really a beautiful thing if you have the screen to display it. There is a huge difference between 1080p and 4K.
To me it is starting to look like the camera driver in AOSP source is just not able to push the pixels?
Snap camera does it. I have also found that snap camera takes as good, or better in some cases, pictures as the stock camera.
cynikalJ said:
Snap camera does it. I have also found that snap camera takes as good, or better in some cases, pictures as the stock camera.
Click to expand...
Click to collapse
no it does not
and
not it definitely does not
Then your using it wrong, because it does for me
geekmystique said:
Nope Coki4, unfortunately Tehosiris is right: with the HTC cam and resolution "fix" I can record in 4K, but it is still way too low framerate (15 FPS or worse).
Voterx: To me 4K is most important, hence the thread. If i want proper pictures I take my DSLR anyway... 4K video is something that is really a beautiful thing if you have the screen to display it. There is a huge difference between 1080p and 4K.
To me it is starting to look like the camera driver in AOSP source is just not able to push the pixels?
Click to expand...
Click to collapse
you're wrong
With snap camera
What are you doing to get those file properties? Want to check what my jerky files say..
edit:
Properties here also shows 30 fps, but the video is jerky as fuuuuuu* - i guess it is saved "as" 30 FPS but it just drops a bunch. Yes it is 4K but def not 30 FPS, even if the file shows it to be (for me).
but.. if it is smooth for you I want to know your exact rom details so I can try to achieve my holy grail.
can one of the digital cowboys upload these fabled 4k videos shot on aosp?
i still yet to see a nonstock 4k video that doesn't lag like ****
@geekmystique the jerkyness doesn't show in properties, they are just the same as regular videos, you can check the properties in root explorer or any other file explorer.
it does not matter , it is important that you are not right
coki4 said:
it does not matter , it is important that you are not right
Click to expand...
Click to collapse
your 2nd screenshot shows that the 4k video is in 59.9 fps, now THAT i'd like to see.
bending physics with an apk eh? :laugh:
edit: judging from the amount of silence after the bigface comments, i assume it takes an awful lot of time to upload the fabled 60fps 4k video (translation: someone is full of **** and/or clueless)
Let's not make this into a flamewar of sorts.
This is a video I took of my hand waving in front of the camera, whatever the file info says, it is not 30 FPS - by far, it is dropping frames like crazy. The file properties say 30 FPS in MPCHC, but windows properties shows the truth: 18 FPS.
https://mega.nz/#!lkkFHbrT!gi3qGdzcnBxpsoPMObzLk9jZPAtrYacJ_03mYBYwu2A
If your video looks better, great - let me know what you did. And if you can spare the time, post it please.
Let's discuss
I do not need 4K, I just need stock quality camera in custom ROMS It's different question.
Voterx said:
I do not need 4K, I just need stock quality camera in custom ROMS It's different question.
Click to expand...
Click to collapse
i suggest you take a look at the camera comparison post here on xda, showing stock / moto / htc / whatever side-by-side
there is no such thing as stock quality on non-LG driver backed software
Anyways, i'm absolutely on geekmystique's side here, i've had multiple people giving me lectures how i need to flash xyz.zip set ABC settings to DEF, align my device towards Mars, count to 7 and stand on my left foot to have AMAZING STOCK QUALITY PHOTOS AND VIDEOS.
Guess what, i've done all those steps, flashed all the zips, pirated all the ****ty apks and gotten nothing but disappointment.
Thats why there is sarcasm towards these 'BUT MY AOSP CAMERA IZ BETTUR BRUH YOU SUK', when it's clearly not. Hell, half of the conversations ended at 'WHO NEEDS 4K' or 'I DONT NEED CAMERA ANYWAYS' which is ridiculus when it's these people giving lectures on how to flash stuff they don't even know what it contains.
dudumm tsss
coki4 said:
it does not matter , it is important that you are not right
Click to expand...
Click to collapse
If so.. Please post the video - my video that I posted also says 30 FPS, but it stutters like mad. If you can get better video I would be really happy to know.
Guess the aosp camera is just as good as stock boys are back in their caves.
I use Cloudy only because of Xcam. I really would like a [email protected] or [email protected] for CM12.1

How to enable google camera 4k on custom roms (i.e. ResurrectionRemix)

Hey guys,
I really like the google camera but it seems like I can't get 4k (30fps) video recording up and running. If I switch it on, the camera force closes, no matter what I do or what version I use.)
Right now I am at the latest version of saneklic (2018-07-21; MGCamera_5.1.0.18_R5Plus_v.5.1.17_fix_crash.apk)
I know about the tutorial claiming you need to enable it in some "whyred.xml" which is in a "device feature folder" (a folder somewhere in system/etc/) or something like that, but there is no such thing in a custom rom: it exists only on MIUI. I've already tried every tutorial possible, but nothing helps.
4k is working with the lineage snap, the google camera picture quality is much better though and I really prefere the gcam (because of additional settings/mods)
Thank you very much, any help is very much appreciated. If someone can help me, I will donate you a coffee :highfive:
Marvin
Hey man, I'm really disappointed so far by RN5, I couldn't find a way to record stabilized 4K on custom roms, not even with Open Camera which worked fine on MIUI 10. I have a two year old RN3 which records 4K with gcam (not stabilized) and takes slightly better photos than RN5.
So far i've tried RR, LOS and AEX. 4K recording crashes any camera I've used. Open Camera just gives an error. Waited 2 weeks to unlock bootloader, thinking it will open the gates of heaven. In fact been through hell since I unlocked(yesterday). Antirollback is like a minefield which I luckily avoided, then front camera barely works with gcam, some slight battery drain with custom roms and now 4K recording is broken. Feels like I've downgraded my phone.
Think I'll try to flash MIUI 10, root it, enable camera 2 api for gcam and use Open Camera for EIS enabled 4K. Btw the latest gcam by alone_in_dark works best, even front camera works quite good, try it.
Edit: I flashed MIUI 10, once I enabled camera2 api 4K doesn't work. So it's either 4K or HDR+. Thanks Xiaomi.
Saicoth said:
Hey man, I'm really disappointed so far by RN5, I couldn't find a way to record stabilized 4K on custom roms, not even with Open Camera which worked fine on MIUI 10. I have a two year old RN3 which records 4K with gcam (not stabilized) and takes slightly better photos than RN5.
So far i've tried RR, LOS and AEX. 4K recording crashes any camera I've used. Open Camera just gives an error. Waited 2 weeks to unlock bootloader, thinking it will open the gates of heaven. In fact been through hell since I unlocked(yesterday). Antirollback is like a minefield which I luckily avoided, then front camera barely works with gcam, some slight battery drain with custom roms and now 4K recording is broken. Feels like I've downgraded my phone.
Think I'll try to flash MIUI 10, root it, enable camera 2 api for gcam and use Open Camera for EIS enabled 4K. Btw the latest gcam by alone_in_dark works best, even front camera works quite good, try it.
Click to expand...
Click to collapse
Can you provide link to gcam ? Thanks.
reza6d said:
Can you provide link to gcam ? Thanks.
Click to expand...
Click to collapse
Sure man
Direct download link https://www.celsoazevedo.com/files/android/google-camera/f/CameraX-V2.apk
Edit: For front camera don't use HDR+ enhanced, only HDR+.
Saicoth said:
Sure man
Direct download link https://www.celsoazevedo.com/files/android/google-camera/f/CameraX-V2.apk
Edit: For front camera don't use HRR+ enhanced, only HDR+.
Click to expand...
Click to collapse
Holy grill,its nice thanks.
Didnt expect frontcam to work.But it does.
Saicoth said:
Hey man, I'm really disappointed so far by RN5, I couldn't find a way to record stabilized 4K on custom roms, not even with Open Camera which worked fine on MIUI 10. I have a two year old RN3 which records 4K with gcam (not stabilized) and takes slightly better photos than RN5.
So far i've tried RR, LOS and AEX. 4K recording crashes any camera I've used. Open Camera just gives an error. Waited 2 weeks to unlock bootloader, thinking it will open the gates of heaven. In fact been through hell since I unlocked(yesterday). Antirollback is like a minefield which I luckily avoided, then front camera barely works with gcam, some slight battery drain with custom roms and now 4K recording is broken. Feels like I've downgraded my phone.
Think I'll try to flash MIUI 10, root it, enable camera 2 api for gcam and use Open Camera for EIS enabled 4K. Btw the latest gcam by alone_in_dark works best, even front camera works quite good, try it.
Edit: I flashed MIUI 10, once I enabled camera2 api 4K doesn't work. So it's either 4K or HDR+. Thanks Xiaomi.
Click to expand...
Click to collapse
Thanks for everything! To be honest I prefere much more [email protected] instead of [email protected] I managed to get 4k recordings on lineage snap & open camera no problem. Google camera is where it's at though, I love the settings & mods. I can help you out though if you really want to do 4k recordings ^^
MarvinMe said:
Thanks for everything! To be honest I prefere much more [email protected] instead of [email protected] I managed to get 4k recordings on lineage snap & open camera no problem. Google camera is where it's at though, I love the settings & mods. I can help you out though if you really want to do 4k recordings ^^
Click to expand...
Click to collapse
Can't say no to that. But since 4K (3840 × 2160 resolution) doesn't appear in open camera after enabling camera2 api, I don't think there's a fix for that. It appears only 4000 x 2000 2:1 which gives an error. I did manage to get 4K working with another third party camera, but without EIS. Because RN5 can record 4K with excellent stabilization it's a pitty not to use it. So now if I want to record something I just use another build.prop without cam2.api then reboot, and switch back to enabled cam2.api prop when I want to use HDR+ :laugh:
Saicoth said:
Can't say no to that. But since 4K (3840 × 2160 resolution) doesn't appear in open camera after enabling camera2 api, I don't think there's a fix for that. It appears only 4000 x 2000 2:1 which gives an error. I did manage to get 4K working with another third party camera, but without EIS. Because RN5 can record 4K with excellent stabilization it's a pitty not to use it. So now if I want to record something I just use another build.prop without cam2.api then reboot, and switch back to enabled cam2.api prop when I want to use HDR+ :laugh:
Click to expand...
Click to collapse
This is horrible! I mean is it a firmware issue or some custom rom problem? Unfortuantly I'm not much into mobile software development... I really really want a fix, I would even pay money for it xD :highfive:
Edit_0: If we take a look at this link; a possible solution is shown but it doesn't work... a hotfix would be cool but meh it's alright you can't have it all...
Edit_1: Installing it as a system app doesn't help either btw
4K EIS with camera2 api
MarvinMe said:
This is horrible! I mean is it a firmware issue or some custom rom problem? Unfortuantly I'm not much into mobile software development... I really really want a fix, I would even pay money for it xD :highfive:
Edit_0: If we take a look at this link; a possible solution is shown but it doesn't work... a hotfix would be cool but meh it's alright you can't have it all...
Edit_1: Installing it as a system app doesn't help either btw
Click to expand...
Click to collapse
Hello my friend, it seems you can have it all, I finally found a way to record 4K with EIS while having camera2 api enabled. I'm really happy now and overall satisfied with the phone. Only issue remaining is the front camera HDR+ which is beyond my knowledge, hopefully someone else will come with a fix.
So now, how I managed to record 4K? I'm on MIUI 10 (8.7.12), and using latest blackbox kernel by KunalKene1797. Don't know if these have any effect, but I thought it's good to know.
The third party camera I'm using is Snap Camera, there are certain settings which need to be enabled. I'll post a video with the settings I used and which worked best. 4K Video Support and Use Camera2 API being the most important ones. There could be other settings which could improve the recording, but I like to stay on these stable settings, because I'm pleased with the results so far.
Here's the video with the settings needed in Snap Cam https://youtu.be/gRj9LhYWv5Y(video is back)
Here's the first 4K video https://youtu.be/oQGc4gXnGU0
A test for auto-focus https://youtu.be/V41k21qKQpE
No EIS sample vs EIS https://youtu.be/_qNFNs2gq74 VS https://youtu.be/00J-3cAzLjg
Edit 1: I also tried setting higher bitrate than the default 42, however in windows at the details on the first video it shows 40 total bitrate and when setting to 64 it shows 42, either way it seems the quality was marginally improved. I guess the phone can't write faster than that or the storage doesn't allow it.
https://youtu.be/Q7Lqlr-QanA
Some stuttering can be seen from 0:08 to 0:11, but I think that's because the phone started thermal throttling, it's very hot outside and from all the testing, phone was quite hot too.
I really hope it works for you as well, take care.
Saicoth said:
Hello my friend, it seems you can have it all, I finally found a way to record 4K with EIS while having camera2 api enabled. I'm really happy now and overall satisfied with the phone. Only issue remaining is the front camera HDR+ which is beyond my knowledge, hopefully someone else will come with a fix.
So now, how I managed to record 4K? I'm on MIUI 10 (8.7.12), and using latest blackbox kernel by KunalKene1797. Don't know if these have any effect, but I thought it's good to know.
The third party camera I'm using is Snap Camera, there are certain settings which need to be enabled. I'll post a video with the settings I used and which worked best. 4K Video Support and Use Camera2 API being the most important ones. There could be other settings which could improve the recording, but I like to stay on these stable settings, because I'm pleased with the results so far.
Here's the video with the settings needed in Snap Cam https://youtu.be/gRj9LhYWv5Y
Here's the first 4K video https://youtu.be/oQGc4gXnGU0
A test for auto-focus https://youtu.be/V41k21qKQpE
No EIS sample vs EIS https://youtu.be/_qNFNs2gq74 VS https://youtu.be/00J-3cAzLjg
I really hope it works for you as well, take care.
Click to expand...
Click to collapse
Youtube removed the settings video, can you post it in text here? Or upload the video somewhere else? Thanks! Been looking for a solution to have 4k EIS and camera2 api for a long time since Open Camera didn't work anymore.
jmartinho said:
Youtube removed the settings video, can you post it in text here? Or upload the video somewhere else? Thanks! Been looking for a solution to have 4k EIS and camera2 api for a long time since Open Camera didn't work anymore.
Click to expand...
Click to collapse
Please check back later, I appealed to the decision to remove my video. The video doesn't contain any scam or anything that may violate the community guidelines.
In the mean time I'll make the video available from google photos https://photos.app.goo.gl/AqZHZ9xMn4nSc9pv7
Saicoth said:
Please check back later, I appealed to the decision to remove my video. The video doesn't contain any scam or anything that may violate the community guidelines.
In the mean time I'll make the video available from google photos https://photos.app.goo.gl/AqZHZ9xMn4nSc9pv7
Click to expand...
Click to collapse
That worked great! Thanks!
Am running pixel experience 9.0. I want to use Google camera. Which should I download and how to enable camera2api?
Saicoth said:
Please check back later, I appealed to the decision to remove my video. The video doesn't contain any scam or anything that may violate the community guidelines.
In the mean time I'll make the video available from google photos https://photos.app.goo.gl/AqZHZ9xMn4nSc9pv7
Click to expand...
Click to collapse
Hi! Thanks for all the details. I am using the latest miui 10, and WITHOUT api2 turned on, I used hedge camera app, and the 4k eis was working fine, but phone was droping the frames / stuttering the recorded video, which is a bit annoying.
I tested your setup, and I can see that its better, but still sometimes I can see some dropped frames. It happen to you too?
Thanks in advance for any suggestion.
misiek735 said:
Hi! Thanks for all the details. I am using the latest miui 10, and WITHOUT api2 turned on, I used hedge camera app, and the 4k eis was working fine, but phone was droping the frames / stuttering the recorded video, which is a bit annoying.
I tested your setup, and I can see that its better, but still sometimes I can see some dropped frames. It happen to you too?
Thanks in advance for any suggestion.
Click to expand...
Click to collapse
Yes, it happens to me as well, in the first 8 to 10 seconds, I think it's the cpu, it can't use EIS very well with 4K. Without EIS there are no dropped frames or stutter issues.
A suggestion would be to use a very fast micro sd card, haven't tested, but worth a try.
After about 4-5 minutes the phone gets quite warm and stutter is inevitable due to thermal throttling.
Flash this in TWRP to enable 4k recording in Google camera and other camera2 API-enabled apps
drive.google.com/open?id=1fRX0ASjOnsxbA0XAHOwkV_sz7TCV3dwg

[Magisk][Polaris] ANXCamera - Mimojis

MIUI10 Camera Port for Custom Pie ROMs (AOSP/LOS) for Xiaomi devices.
This thread specifically designed for Polaris, therefore bug reports, comments and questions must only refer to this device.
Original thread: https://forum.xda-developers.com/poco-f1/themes/port-t3879357
Instructions for Use:
Download according to your preferences (builds from AEonAX or Luffitys) from https://camera.aeonax.com/#predownloads only if they are tagged as "Device: All Devices".
Install the Unity Zip via Magisk if you have it, Install via TWRP only if you don't have Magisk
Keep a note of the release you will be using, for issue discussion etc.
Enjoy
IMPORTANT NOTE
There are currently two DEVs making builds: @AEonAX and Luffitys.
AEonAX - Owns a POCO, Makes builds with Lots of features and Bugs
Luffitys - Owns a MI8, Makes Debloated Version, with Lots of features removed and Less bugs due to feature removal. He is not on XDA
Choose a version as per your liking, try both.
Featureset:
960fps Works
240fps Works. You might need to use GPhotos to visualize, depending on your Gallery app
Photo Works
Square Works
Panorama Works
Manual Mode Works
Portrait Mode
Night Mode
4K EIS
Dynamics Shots
Studio Lighting
MiMoji Mode
AntiFeatureset:
Portrait Mode (works for some)
120fps
AI Mode (works for me/Depending on the scene)
960FPS doesn't record in left Landscape, try right landscape
PE CAF buggy, therefore not supported, Don't contact ROM Dev, Don't contact me too
Donation link to the original developer: https://www.paypal.me/XEonAX
Special Thanks to @CodeElixir for his work with lib modding and fixes shutter button bug
LogCat are required to help, Solutions will also be very much appreciated.
Make sure to join the Telegram Group Chat for this Project for updates and issue resolution. Updates on XDA maybe delayed.
People asking about EIS:
It is only available at 30fps, please don't ask about 1k60fps or 4k60fps, currently it won't be possible.
Regarding bug fixes:
Below you can find bug reports regarding all supported devices, besides our device (polaris):
https://github.com/XEonAX/ANXCamera10/issues
Please do check there before reporting any possible duplicated bug.
Bug resolutions are also very welcomed.
There is an abandoned alpha release for Oreo at https://github.com/XEonAX/ANXMiuiCamera9/tree/master/out
If anyone interested to bring it to working condition please contact @AEonAX
Some extra useful information by AEonAX:
To Learn How to Port MiuiCamera join this https://t.me/ANXCameraLivePort
and watch this porting videos recorded livestream at https://mega.nz/#F!sGx0US5B!hXy30KunCOjmVmZ7kUMW3g
or https://www.youtube.com/playlist?list=PLKwynvsh3Ed3zMZHwJCiaP8n-gHzhXUCA
My involvement was an initial stages of the project to bring the compatibility to Polaris device, but credits go to AEonAX, Luffitys and all involved collaborators that supported this project to evolve and keep updated constantly
XDA:DevDB Information
ANXCamera - Mimojis [12th July 2019], Device Specific App for the Xiaomi Mi Mix 2S
Contributors
mustang_ssc, AEonAX, pi4a7a, Luffitys, abhishek987, amog787, psygarden
Source Code: https://github.com/XEonAX/ANXCamera/tree/cepheus9.6.27
Version Information
Status: Beta
Beta Release Date: 2019-01-25
Created 2019-01-18
Last Updated 2019-08-20
Reserved1
Do you have any sample photos?
In theory, this let us use aosp roms but still enjoy xiaomi images processing ie same quality photos as stock?
Thkans a lot! I've flashed it on Pixel Experience rom and everything went fine. Appart from a few freezes in portrait mode, I had no bugs so far. :good:
Works perfect on lineage-16.0-20190109 with MiPa Kernel [19.01.19] - no freezes here
DessertDevice said:
Do you have any sample photos?
Click to expand...
Click to collapse
A bit late bit here it is (attached)
Shot with night mode.
SWEUP said:
In theory, this let us use aosp roms but still enjoy xiaomi images processing ie same quality photos as stock?
Click to expand...
Click to collapse
Not as easy unfortunately. The camera HAL, which in stock ROMs use to be always better, normally decreases quality on photos for custom ROMs not based on stock.
Also the custom camera blobs used on custom ROMs use to have less quality.
In any case not sure how much this facts still apply since Treble integration.
To summary: i didn't do a comparison between stock and custom ROMs using miuicam but i did with both using gcam, same conditions and parameters, results were the same/very similar.
mustang_ssc said:
A bit late bit here it is (attached)
Shot with night mode.
Not as easy unfortunately. The camera HAL, which in stock ROMs use to be always better, normally decreases quality on photos for custom ROMs not based on stock.
Also the custom camera blobs used on custom ROMs use to have less quality.
In any case not sure how much this facts still apply since Treble integration.
To summary: i didn't do a comparison between stock and custom ROMs using miuicam but i did with both using gcam, same conditions and parameters, results were the same/very similar.
Click to expand...
Click to collapse
Thanks, do you experience that cameras are "snappy"? Are they crashing under some circumstances or are there lots of features that doesn't work?
Crashes when I try to take a picture or video on Pixel Experience GSI Rom.
Does it benefit from using dual camera? Is there 2x optical zoom option using second camera?
Everything work perfect in Pixel Experience. Bye gcam
I used it with LineageOS. It worked fine, but my QR scanner doesn't find the camera as it tries to open the original Snap camera app, which isn't able to connect to the camera anymore.
evolucja said:
Does it benefit from using dual camera? Is there 2x optical zoom option using second camera?
Click to expand...
Click to collapse
Yes. It utilizes both camera's. 2x optical zoom works. And portrait mode also works.
I did have a bit of a bug with the second camera freezing, causing the app to crash when 2x optical or portrait was selected. But that was fixed after a reboot of my phone.
I am running Pixel Experience.
M1chiel said:
I used it with LineageOS. It worked fine, but my QR scanner doesn't find the camera as it tries to open the original Snap camera app, which isn't able to connect to the camera anymore.
Click to expand...
Click to collapse
I got this solved with the help of the developer in the Telegram group. This is how: I opened the file ANXCameraMagisk_5.OldShamefulAnt.zip and deleted the lib folder in /system in the zip on my PC (it didn't work on my phone), reflashed it in Magisk and now the stock camera works again and so does the external QR code reader. Also the Miui Camera kept working after a short glitch when I tried the first time.
M1chiel said:
I got this solved with the help of the developer in the Telegram group. This is how: I opened the file ANXCameraMagisk_5.OldShamefulAnt.zip and deleted the lib folder in /system in the zip on my PC (it didn't work on my phone), reflashed it in Magisk and now the stock camera works again and so does the external QR code reader. Also the Miui Camera kept working after a short glitch when I tried the first time.
Click to expand...
Click to collapse
I found that portrait mode doesn't work anymore after that mod. Did you try that as well?
taw62 said:
I found that portrait mode doesn't work anymore after that mod. Did you try that as well?
Click to expand...
Click to collapse
Same here. So I use Gcam for pics and the miui ported cam for video.
Anyone got it working on a GSI rom?
I can make short videos. And change all settings. But as soon as I try to take a picture, the app crashes to homescreen.
Adding a logcat: Logcat of error on Pixel Experience GSI
Rom in question
Do continuous shootings work? One thing wich is holding me back from switching to AOSP Roms. Every Mod i tried so far can just make a picture for each press of the button but not shoot until i release the button
EnormoDerClown said:
Do continuous shootings work? One thing wich is holding me back from switching to AOSP Roms. Every Mod i tried so far can just make a picture for each press of the button but not shoot until i release the button
Click to expand...
Click to collapse
I just tried and can confirm burst shoot works.
Thanks!
Just switched to AOSP. Anyone else having problems taking photos within WhatsApp? Just took one and WhatsApp is really laggy after that

[Magisk][Module] Hevc Recording Enabler v0.1 for ZUK Z2 Plus

Hey everyone i don't own the device but @deathbreath2010 wanted to enable HEVC for this device so i made a magisk module for everyone to try
This module enable HEVC/H265 video recording on ZUK Z2 Plus
The bitrate values are the same as original and also half
the aac bitrate values are untouched
Why should I use HEVC instead of H264?
Basically, HEVC provide the same quality as H264, but using half the bitrate, this means that you can record videos with the same quality but using less space, or, if you're more inclined to that, record video that use the same space but with better quality (less compression, therefore less artifacts and more details overall).
Stock Bitrate changelog:
Code:
v0.1
- Initial release
Half Bitrate changelog:
Code:
v0.1
- Initial release
Dhruvit Pokharna said:
Hey everyone i don't own the device but @deathbreath2010 wanted to enable HEVC for this device so i made a magisk module for everyone to try
This module enable HEVC/H265 video recording on ZUK Z2 Plus
The bitrate values are the same as original and also half
the aac bitrate values are untouched
Why should I use HEVC instead of H264?
Basically, HEVC provide the same quality as H264, but using half the bitrate, this means that you can record videos with the same quality but using less space, or, if you're more inclined to that, record video that use the same space but with better quality (less compression, therefore less artifacts and more details overall).
Stock Bitrate changelog:
Code:
v0.1
- Initial release
Half Bitrate changelog:
Code:
v0.1
- Initial release
Click to expand...
Click to collapse
Thanks for the module. I'm on Android 10(StagOS) and I can confirm HEVC is enabled. Wanted to post screenshot of media info but upload fails..
Cheers
deathbreath2010 said:
Thanks for the module. I'm on Android 10(StagOS) and I can confirm HEVC is enabled. Wanted to post screenshot of media info but upload fails..
Cheers
Click to expand...
Click to collapse
Your Welcome, Thanks for the Donation.
On ZUK Z2 there is also a problem with slow motion in google camera. It only works sometimes and is quite dark compared to normal video. I don't know if this is also related to media_profiles. On Oneplus 3 slow motion in Gcam was fixed, but i don't know how they did this. Do you have any idea?
Cheers
deathbreath2010 said:
On ZUK Z2 there is also a problem with slow motion in google camera. It only works sometimes and is quite dark compared to normal video. I don't know if this is also related to media_profiles. On Oneplus 3 slow motion in Gcam was fixed, but i don't know how they did this. Do you have any idea?
Cheers
Click to expand...
Click to collapse
Yes i think slow motion requires low iso or shutter speed to work so it gets dark for everyone in slow motion. i havent really found a slowmo fix that works for oneplus 3 yet and i dont think its working for anyone if you know one that works for oneplus 3 i can try to make it work for zuk z2 plus.
Dhruvit Pokharna said:
Yes i think slow motion requires low iso or shutter speed to work so it gets dark for everyone in slow motion. i havent really found a slowmo fix that works for oneplus 3 yet and i dont think its working for anyone if you know one that works for oneplus 3 i can try to make it work for zuk z2 plus.
Click to expand...
Click to collapse
In your other thread about hevc someone posted a zip and said that slow mo is working for him in Android 10 i he replaces some libs. But I don't know if this is good advice. I rarely use slow mo, but it is nice to have anyway.
Cheers
deathbreath2010 said:
In your other thread about hevc someone posted a zip and said that slow mo is working for him in Android 10 i he replaces some libs. But I don't know if this is good advice. I rarely use slow mo, but it is nice to have anyway.
Cheers
Click to expand...
Click to collapse
i saw but below that some guy tried and said it doesnt work.

Categories

Resources