Aug. -> Sept. Update (OTA) with Camera2API (HAL3) (&best gCam) safe! - Xiaomi Mi A2 / 6X Questions & Answers

Hey Folks,
after reading a lot i switched from my Galaxy S7 to the Mi A2 and im really happy with the camera - after unlocking Camera2API and switched to modded gCam I unlocked Camera2API over the temp. TWRP method and adb (in the TWRP terminal) on my August Version.
Now i was very unsure, if the official September OTA Update breaks my gCam Setup - but after the update :fingers-crossed: the modded gCam works perfect :highfive: so i dont need to redo the Camera2API unlocking :good:
@@@Best gCam Mod@@@
Thx to "celsoazevedo.com" for the nice Site: bsgfixPortrait-GoogleCamera-Pixel2Mod-Arnova8G2-V8.2.apk
All is working +SloMo +RAW :good:
Info: Use classic Smart Burst and Enable HDR+ Toggle
I hope, i could help anyone with the decision to make the OTA Update and which gCam is the best (so far) :good:

Great, i want to do that but i have the latest update ( september 1st and second update) and as far has i know the I unlocked Camera2API over the temp. TWRP method and adb (in the TWRP terminal) does not work for the ones that have the latest update.
Has it said in here:
https://forum.xda-developers.com/mi-a2/how-to/tutorial-camera2api-gcam-root-t3842475
I don´t want to root, just want camera2api enabled.

But maybe you can flash the complete Firmware from August (unlock bootloader with critical part.) and flash the complete older (August) firmware. Then unlock the camera2api and update the OTA (Septmber) This was my emergency plan, if the OTA would destroy the unlock.

dimitrij2k said:
Hey Folks,
after reading a lot i switched from my Galaxy S7 to the Mi A2 and im really happy with the camera - after unlocking Camera2API and switched to modded gCam I unlocked Camera2API over the temp. TWRP method and adb (in the TWRP terminal) on my August Version.
Now i was very unsure, if the official September OTA Update breaks my gCam Setup - but after the update :fingers-crossed: the modded gCam works perfect :highfive: so i dont need to redo the Camera2API unlocking :good:
@@@Best gCam Mod@@@
i tried three different Versions, but the best one is the MGC_5.2.022.apk
Just "Slow Motion" is not working, the rest is
I hope, i could help anyone with the decision to make the OTA Update and which gCam is the best (so far) :good:
Click to expand...
Click to collapse
Download link please.

dimitrij2k said:
But maybe you can flash the complete Firmware from August (unlock bootloader with critical part.) and flash the complete older (August) firmware. Then unlock the camera2api and update the OTA (Septmber) This was my emergency plan, if the OTA would destroy the unlock.
Click to expand...
Click to collapse
Tks, i tought that also, but for now i don´t want to mess too mutch with downgrade and command shell, just a clean unlock bootloader, enable camera2api and nothing more. I think the problem is TWRP, i will wait for an stabel/official version so i can go any further.

Can you record in 4K with google camera? For me it is not working no meter what gcam port I try.

Nope, but 4K is without stabilisation and only useable, when you own a ststiv or a gimbal. Free Hand recordings looks like **** in 4k. 1080p is with EIS and look way better, then sharp and shaky 4k

4k with EIS is just possible in "Snap Camera"

dimitrij2k said:
4k with EIS is just possible in "Snap Camera"
Click to expand...
Click to collapse
Opencamera should work too right?

Benjamin_L said:
Opencamera should work too right?
Click to expand...
Click to collapse
When camera2api is enabled, opencamera loses option for 4K. 1080p EIS works, but with zooming image.

OpenCamera dint work with Camera2Api enabled.

cstark27_GCam_5.1.018_24_v4.2t3_fu24-02.apk (fu24, 2018-10-01, normal/wide angle, changelog)
Im using this version for now. Front camera working. I think all functions works, except slow motion, but i don't care about...
Unfortunately front camera doesn't work with Arnova's apks. I hope this feature is fix soon for our device

marlontravagli said:
cstark27_GCam_5.1.018_24_v4.2t3_fu24-02.apk (fu24, 2018-10-01, normal/wide angle, changelog)
Im using this version for now. Front camera working. I think all functions works, except slow motion, but i don't care about...
Unfortunately front camera doesn't work with Arnova's apks. I hope this feature is fix soon for our device
Click to expand...
Click to collapse
This doesn't support 18:9 screen, is there any gcam for 18:9?

Related

Google cam is worse than stock cam on latest update!

In my opinion, the google cam is not so good compared to the stock cam. Today i just successfully install gcam using the fastboot command non-root method, i did expect a lot that gcam could significantly improve the overall quality. But tbh, it fails, even on the hdr test, the stock cam app beats it absolutely. Anyone got the same results? Share with me your thought
Sorry for bad English!
Ok you may have managed installing gcam without root but w/o root you surely never can enable cam2api.
And i doubt w/o cam2api gcam can perform well.
nadeem_naddy said:
Ok you may have managed installing gcam without root but w/o root you surely never can enable cam2api.
And i doubt w/o cam2api gcam can perform well.
Click to expand...
Click to collapse
what u mean? how about this tutorial?
https://forum.xda-developers.com/as...ow-to/guide-enable-camera-api-2-root-t3823498

[Help requested] Options for Root and Xposed on XZ1C

Just ordered my XZ1C and looking forward to joining this community!
I'm looking to root and install systemless xposed (Magisk) on the XZ1C while keeping camera functionality equivalent to stock quality. It would be great if the solution allows me to keep current with new ROM versions (primarily for security updates). What is less important:
- Ok with either stock or custom ROMs (access to ongoing security updates most important)
- Know that DRM keys will be gone forever (but as long as camera functionality still there, that's fine)
- Ok with using any camera app (stock, gcam, etc.) as long as it retains quality similar to stock
After trawling through this and the XZ1 forum, I believe there are 3 options to achieve what I need (root and xposed), and would like advice from the community on pros/cons of each of the following:
1. Custom ROM with DRM fix included: Unlock bootloader, install TWRP, install custom ROM which comes with DRM fix (e.g. @modpunk 's LineageOS, @russel5 's RR or AOSP)
2. @janjan 's kernel: Unlock bootloader, update to latest compatible stock firmware using flashtool, install janjan's DRM fix kernel
3. Xperifix: "automated" black-box solution and fingers crossed that it works
Any recommendations on which option would be best for me given my objectives? Thanks!
You can use my stock mod. Ddmfix included, superuser mod, deodexed, on the last page of thread you can find fix for xposed
wyt18 said:
Any recommendations on which option would be best for me given my objectives?
Click to expand...
Click to collapse
russel5's rom is pretty amazing, full of features and falls into number 1 on your list.
2 and 3 refrence stock roms with either a fixed kernel or automated flashing of all the files you need.
The stock camera is best and as much as I am tempted by rr, I don't think it beats stock camera software for pictures. So I'd say a lot of your decision has to do with how much you like taking pictures?
The stock firmware from April .75 is the last firmware that works with Xposed and one of your problems will be finding a copy of that to flash and downgrade your new arrival.
You might need to get janjan's old (.75) kernel from github as he is only showing the latest 16.20 on his thread.
I get moaned at for promoting Xperiafix because it's paid software, but it's a one stop shop, it does everything and it's so easy. It has worked smoothly every time I've used it
Depending on your skillset and how many files you want to find and flash Vs one program.
Didgesteve said:
russel5's rom is pretty amazing, full of features and falls into number 1 on your list.
2 and 3 refrence stock roms with either a fixed kernel or automated flashing of all the files you need.
The stock camera is best and as much as I am tempted by rr, I don't think it beats stock camera software for pictures. So I'd say a lot of your decision has to do with how much you like taking pictures?
The stock firmware from April .75 is the last firmware that works with Xposed and one of your problems will be finding a copy of that to flash and downgrade your new arrival.
You might need to get janjan's old (.75) kernel from github as he is only showing the latest 16.20 on his thread.
I get moaned at for promoting Xperiafix because it's paid software, but it's a one stop shop, it does everything and it's so easy. It has worked smoothly every time I've used it
Depending on your skillset and how many files you want to find and flash Vs one program.
Click to expand...
Click to collapse
Thanks!
- so seems like between Xposed and having the latest security updates, I have to choose one of the two. Or might there be a workaround for Xposed on the 16.20 stock rom?
- with xperifix, can one achieve Xposed? (Whether on latest or downgraded rom?)
- purchased this phone partly for the camera, so I will go with stock rom if that has the best quality. Does stock rom also have a portrait or lens blur mode similar to google cam?
wyt18 said:
Thanks!
- so seems like between Xposed and having the latest security updates, I have to choose one of the two. Or might there be a workaround for Xposed on the 16.20 stock rom?
- with xperifix, can one achieve Xposed? (Whether on latest or downgraded rom?)
- purchased this phone partly for the camera, so I will go with stock rom if that has the best quality. Does stock rom also have a portrait or lens blur mode similar to google cam?
Click to expand...
Click to collapse
As far as I'm aware there's no way a stock rom 16.20 will work with Xposed. There are several custom roms that are updated to 16.20, but still pull historical parts of the framework with them to make Xposed work.
Xperiaifx will work on .75 firmware. It will install TWRP, Magisk and the fix. Once you have Magisk on it you can install the Xposed framework module (SDK26)
The Sony camera has many addons, I don't know about portrait.
Google camera works on russel5's rr, but again the quality isn't up to stock.
Having been through the pollava of unlocking and rooting my phone, I'd say the advantages don't outweigh the effort and problems. Every time there's an update to the firmware, which is quite often with Sony, you have to wait and hope some nice developer is going to make the files you need to keep up to date. Then go through a long proccess with downloading the new firmware with Xperiafirm, then flashing with Newflasher and then whatever files you need to reflash from the developer. You'll never get OTA updates again. Having a rooted phone is a pain in the neck.
Didgesteve said:
As far as I'm aware there's no way a stock rom 16.20 will work with Xposed. There are several custom roms that are updated to 16.20, but still pull historical parts of the framework with them to make Xposed work.
Xperiaifx will work on .75 firmware. It will install TWRP, Magisk and the fix. Once you have Magisk on it you can install the Xposed framework module (SDK26)
The Sony camera has many addons, I don't know about portrait.
Google camera works on russel5's rr, but again the quality isn't up to stock.
Click to expand...
Click to collapse
Thats not right, I use now firmware 16.20 with janjans kernel and russel5's xposed fix (https://forum.xda-developers.com/showpost.php?p=77778634&postcount=47) it works, and I'm very happy with it. Thanks to janjan and russel5 for his xposed fix (and mod)
Good news
d_fens said:
Thats not right, I use now firmware 16.20 with janjans kernel and russel5's xposed fix (https://forum.xda-developers.com/showpost.php?p=77778634&postcount=47) it works, and I'm very happy with it. Thanks to janjan and russel5 for his xposed fix (and mod)
Click to expand...
Click to collapse
hi @d_fens. how did you go about installing this system less xposed fix on your stock oreo 16.20? should i do the following:
1. stock oreo 16.20
2. flash magisk via twrp.
3. boot into phone and copy xposed fix into /system/framework/
4. then flash systemless xposed via twrp?
thanks
wyt18 said:
Thanks!
- so seems like between Xposed and having the latest security updates, I have to choose one of the two. Or might there be a workaround for Xposed on the 16.20 stock rom?
- with xperifix, can one achieve Xposed? (Whether on latest or downgraded rom?)
- purchased this phone partly for the camera, so I will go with stock rom if that has the best quality. Does stock rom also have a portrait or lens blur mode similar to google cam?
Click to expand...
Click to collapse
i used janjan's mod to get systemless root on stock. with this you are able to update using newflasher all the latest roms with security updates provided by Sony
you don't have to choose between xposed and the latest security updates:
for xposed, i've tried both Taichi Magisk (taichi.cool) and Virtual Xposed (also via Magisk). both work fine but Taichi is a smoother implementation (only activates xposed for those apps that you whitelist). it is however not open source (yet), though this was not a concern for me. also, it supports not all xposed apps but a subset
the xposed modules that i absolutely needed to have are all working on Taichi: Xposed Edge, CorePatch, AppContext, WeXposed, God Mode
sabotage154 said:
hi @d_fens. how did you go about installing this system less xposed fix on your stock oreo 16.20? should i do the following:
1. stock oreo 16.20
2. flash magisk via twrp.
3. boot into phone and copy xposed fix into /system/framework/
4. then flash systemless xposed via twrp?
thanks
Click to expand...
Click to collapse
yes that`s the way, which worked for me

Camera magisk module?

I am on LineageOS 17.1 right now.
However LOS17.1 does not take pictures at full resolution.
However I've heard I can flash some Magisk modules to get a better cam with 48MP resolution.
Can someone link me the correct modules to flash so I have a better camera experience?
KuroRyu said:
I am on LineageOS 17.1 right now.
However LOS17.1 does not take pictures at full resolution.
However I've heard I can flash some Magisk modules to get a better cam with 48MP resolution.
Can someone link me the correct modules to flash so I have a better camera experience?
Click to expand...
Click to collapse
https://camera.aeonax.com/
As I mentioned in your other post, you want v158 and the 48MP fix for Q
The files are flashed in Magisk.
If you have an ad blocker you will need to temporarily disable it to view and download the files. The site checks for ad blockers and hides the download section if one is active.

Question on options for custom Android 9 or 10 ROM

Hello!
Any custom Android 9 or 10 ROM which has all of these features (and works well overall)?
1. Working GCam OR full stock camera (any of the two is fine);
2. Working camera button;
3. Night light.
Also, am I correct that the Oreo AOSP Extended has both of these options?
Thanks in advance.
landsome said:
Hello!
Any custom Android 9 or 10 ROM which has all of these features (and works well overall)?
1. Working GCam OR full stock camera (any of the two is fine);
2. Working camera button;
3. Night light.
Also, am I correct that the Oreo AOSP Extended has both of these options?
Thanks in advance.
Click to expand...
Click to collapse
As I mentioned in my other post full stock cam and Gcam GO is available in:
Linagege OS: https://forum.xda-developers.com/xp...rom-lineageos-17-1-unofficial-coming-t4047763
Havoc OS: https://forum.xda-developers.com/xperia-xz1-compact/development/rom-havoc-os-v3-6-t4113345
The shutter button works in Lineage OS, but is broken in Havoc. But you can use the double tap to open camera gesture.
Also Gcam Go is a lite version of Gcam with only portrait mode (not yet working) and HDR+ available. Hopefully more features will be ported by developers.
Night light is available in both ROMs. Others I have not tried.
Hopefully this helps.
Thanks a lot. That's very useful.
Hi again. I noticed one can install LOS17 starting from the latest (and probably last) firmware. I assume this entails losing DRM keys. Are they worth saving anymore?
landsome said:
Hi again. I noticed one can install LOS17 starting from the latest (and probably last) firmware. I assume this entails losing DRM keys. Are they worth saving anymore?
Click to expand...
Click to collapse
As far as I know there is no photo comparison album comparing camera quality going from a DRM restored firmware and non DRM restored firmware so I don't know how much of a difference it makes.
But the ROM developers do recommend backing up DRM as it is might come in useful in the future or if you want to go back to stock. Based on what I have seen in the Lineage OS thread it is unknown why the camera works without DRM.
I would recommend backing it up since once it is lost it is lost, and restoring it to the official firmware before flashing a custom ROM guarantees that you have the best possible camera quality.
As addition info:
As far as I know there is no way to re-lock the bootloader which might make it harder to sell it so if you are planning on selling I would not recommend unlocking the bootloader.
Otherwise, happy flashing!
Wise advice about the drm. Thanks again.
MDomokos said:
Otherwise, happy flashing!
Click to expand...
Click to collapse
I made the switch to LOS 17. It took me some 5 hours to downgrade to Oreo, save DRM, switch back to Pie and then install a fully-working LOS (the first two installs generated some issues with both cameras - the stock Sony did not focus or take photos at all, while the stock LOS was not saving pics - and with the SD); but it then finally worked (procedures followed were the same every time, go figure).
Also, I lost my attest keys in the process of downgrading to Oreo (although I did remove all persist and *.ta files before flashing); and the camera was black after this downgrade - but then the procedure worked eventually and the camera came back fully featured in Pie, somehow. Again, go figure.
All in all, I am happy for the switch and the LOS 17 is absolutely great. Will definitely buy modpunk a beer.
Now, if only there was an equally good procedure and ROM for my other phone, the xz2c, which Sony ruined with the upgrade to Q .
Thanks once again for the encouragement.
MDomokos said:
As I mentioned in my other post full stock cam and Gcam GO is available in:
Linagege OS: https://forum.xda-developers.com/xp...rom-lineageos-17-1-unofficial-coming-t4047763
Havoc OS: https://forum.xda-developers.com/xperia-xz1-compact/development/rom-havoc-os-v3-6-t4113345
The shutter button works in Lineage OS, but is broken in Havoc. But you can use the double tap to open camera gesture.
Also Gcam Go is a lite version of Gcam with only portrait mode (not yet working) and HDR+ available. Hopefully more features will be ported by developers.
Night light is available in both ROMs. Others I have not tried.
Hopefully this helps.
Click to expand...
Click to collapse
Does HDR+ for Gcam Go work now? Last I checked it wasn't supported.
betacrypt said:
Does HDR+ for Gcam Go work now? Last I checked it wasn't supported.
Click to expand...
Click to collapse
Not here; tried two mods and hdr does not stay selected. Photos are clearly not hdr.

Any fully stable rom ?

I have Mi9 lite Europe version
Any stable rom ?
I hate stock ROM
I have used LOS 16 , now I use LOS 18.1 and both are very stable.
Tomek0000 said:
I have used LOS 16 , now I use LOS 18.1 and both are very stable.
Click to expand...
Click to collapse
Hey, what is the native camera app you have on those? Is it good? I've got a global rom on my cc9 meitu edition but the native camera app on the global sucks big time, it is not nearly as good as they native camera app that came installed on the original Chinese stock rom.
luizzcosta said:
Hey, what is the native camera app you have on those?
Click to expand...
Click to collapse
Native camera is AOSP version. I do not use it. I am using gcam 6.2 because this is the newest version which works in a11 without buffer fix. When buffer fix will be fixed for a11 I will use better.
The native camera from MIUI is able to install. You can found both los 18.1 and camera on telegram.
Tomek0000 said:
Native camera is AOSP version. I do not use it. I am using gcam 6.2 because this is the newest version which works in a11 without buffer fix. When buffer fix will be fixed for a11 I will use better.
The native camera from MIUI is able to install. You can found both los 18.1 and camera on telegram.
Click to expand...
Click to collapse
Thanks mate.
I'm kinda of a newbie, is it simple to install it? Gcam, I mean.
I use MGC_6.2.030_MI9SE_V4_plus2.apk . Install, set rights and use.
Th
Tomek0000 said:
I use MGC_6.2.030_MI9SE_V4_plus2.apk . Install, set rights and us
Click to expand...
Click to collapse
Thanks man, I appreciate it. It worked.
And indeed it's a good camera, even though I am comparing now with the exact same phone stock version camera app that my brother has and is much better, I don't know why.
But the Gcam will do for now, so thanks.
I have a question: is it possible to adjust the shutter time? It's taking like 3 seconds to shoot the photo when I shoot it. Know what I mean?
Many gcam version are prepared. This one is without configuration file. When we will have working buffer fix , we will have much better and newer gcams.
Tomek0000 said:
Many gcam version are prepared. This one is without configuration file. When we will have working buffer fix , we will have much better and newer gcams.
Click to expand...
Click to collapse
I hear you. Is there any newer version of gcam available as of now? For our phone?
EDIT: I just realized Gcam takes pics only with 12mp max. Since my phone has 48mp, how do I fix this?
Also, the colors on photos in Gcam are washed, no vivid color even though I set the saturation to maximum on settings.
Also, is it possible, via TWRP, to uninstall the native camera app and install the APK from com.mlab.cam that came stock on my phones stock firmware?
We have some or many but for A10. I have written, we do not have working version of buffer fix for a11.
You can find a lot of XML config files for many gcam on telegram. Each separate prepared for different situations .
The camera in customs is an app and possible to uninstall normal way, is't it?
No need to uninstall, you can install in twrp what you want.
Tomek0000 said:
We have some or many but for A10. I have written, we do not have working version of buffer fix for a11.
You can find a lot of XML config files for many gcam on telegram. Each separate prepared for different situations .
The camera in customs is an app and possible to uninstall normal way, is't it?
No need to uninstall, you can install in twrp what you want.
Click to expand...
Click to collapse
Hey mate, ok, thanks again. How do I get into these telegram groups?
Open telegram app or web and search: Mi 9 lite
Tomek0000 said:
Open telegram app or web and search: Mi 9 lite
Click to expand...
Click to collapse
Mate, thank you very much! I finally managed to get it working properly. On the telegram group someone gave the directions to install the buffer fix and now I was able to download the latest Gcam, and it's working like a charm (except for the slow-motion video, which isn't available on the latest version).
Big thanks from the heart, mate. Have a good one.
Do you use android 10 with buffer fix for a10, or use a11 with bf for a11 or use a11 with bf for a10 ?
Using A11 with BF for A11.
I've installed 3 different gcams. These are amazing apps, I'm greatly surprised by the quality of the photos now. Even night photos are amazing.
Nice.
I discovered, enabled AFWall+ xposed module kills BF work in a11.
Tomek0000 said:
Nice.
I discovered, enabled AFWall+ xposed module kills BF work in a11.
Click to expand...
Click to collapse
Got it.
I'm no longer tweaking anything, at least for now, I've been getting really nice photos, lol
Thanks for your help all the way through

Categories

Resources