best gcam mod for mi A2

Search This thread

mytowyn

Senior Member
Feb 19, 2018
75
51
Tawau
I am looking forward for this , on paper , Mi A1 / Mi A2 / Mi A2 Lite using AndroidOne , for Mi A2 Version (im referring to both Mi A2 and Mi A2 Lite) , wondering if the TWRP will be the same ?
 

bejunk

Senior Member
May 9, 2013
1,991
2,304
Berlin
I think my Mi A2 will arrive in nex 6/8 days, when i'll got it i'll can confirm or not the compatibility with camera 2 api, i will use this application to test compatibility https://play.google.com/store/apps/d...vice.inspector and report the check

please qoute me i consider buying tis phone. thank you!
EDIT: please make a fe night photos, this is also a key selling point. and what you think about the audio on headphones, thast REALLY important for me!

peace"
 
Last edited:
  • Like
Reactions: cdneto

Ivan93tm

Senior Member
Jan 14, 2011
261
128
30
Lurano
Samsung Galaxy S22 Ultra
please qoute me i consider buying tis phone. thank you!
EDIT: please make a fe night photos, this is also a key selling point. and what you think about the audio on headphones, thast REALLY important for me!

peace"
I will do it as soon as my phone arrive, i can't wait, i will do test of macro, HDR in daily conditions, low light condition hand take and low light condition with trippod, eadphones audio is something i can't do because xiaomi does not provide headphones and i use bluetooth techvilla headphones, sorry for this :(
 
  • Like
Reactions: bejunk

crazykas

Senior Member
Jun 11, 2011
1,229
237
Japan
Google Pixel 8
I will do it as soon as my phone arrive, i can't wait, i will do test of macro, HDR in daily conditions, low light condition hand take and low light condition with trippod, eadphones audio is something i can't do because xiaomi does not provide headphones and i use bluetooth techvilla headphones, sorry for this :(

camera is okay i guess. but have wait until get root access and install gcam mod
 

crazykas

Senior Member
Jun 11, 2011
1,229
237
Japan
Google Pixel 8
well this is a great news... mind to share the steps?
Source
* https://xdaforums.com/showpost.php?p=77222940&postcount=2
* https://xdaforums.com/showpost.php?p=77226755&postcount=7
* https://xdaforums.com/mi-a1/how-to/guide-how-to-enable-hal3-camera2api-t3747073
* https://xdaforums.com/mi-a1/themes/request-google-camera-hdr-mi-a1-t3684325
Credits @guangie , @flex1911 , @Dornyx , @Arnova8G2 , scrubber

WARNING, FLASH AT your OWN RISK!!!!

1. Unlock bootloader via fastboot
2. Makesure you are on V9.6.5.0.ODIMIFE
3. Go here https://github.com/guangie88/xiaomi-jasmine-magisk-boot and download patched_boot.img
4. Boot to fastboot and flash it as given in instructions (fastboot flash boot_a patched_boot.img, fastboot flash boot_b patched_boot.img)
4. Boot to system and install Magisk Manager. APK via internet or extracted APK.
5. Now enable camera2API
"
Enable ADB in the developer settings.
-Assuming you already have platform-tools binaries, do this in your shell/cmd:
-Code:
adb shell
-Now, when you are in the device shell, type this:
-Code:
su
-The device will probably ask about root access, grant it.
-Now, when you are in the root shell, type this:
-Code:
setprop persist.camera.HAL3.enabled 1
"
6. REBOOT the phone
7. Download and install good Gcam mod for Mi A1
i used those
scrubber_GCameraP2XL.apk - front is not working
GCam5.1.018-Arnova8G2-V1.4.apk - Everything seems to be working fine
 
Last edited:

mytowyn

Senior Member
Feb 19, 2018
75
51
Tawau
Source
* https://xdaforums.com/showpost.php?p=77222940&postcount=2
* https://xdaforums.com/showpost.php?p=77226755&postcount=7
* https://xdaforums.com/mi-a1/how-to/guide-how-to-enable-hal3-camera2api-t3747073
* https://xdaforums.com/mi-a1/themes/request-google-camera-hdr-mi-a1-t3684325
Credits @guangie , @flex1911 , @Dornyx , @Arnova8G2 , scrubber

WARNING, FLASH AT your OWN RISK!!!!

1. Unlock bootloader via fastboot
2. Makesure you are on V9.6.5.0.ODIMIFE
3. Go here https://github.com/guangie88/xiaomi-jasmine-magisk-boot and download patched_boot.img
4. Boot to fastboot and flash it as given in instructions (fastboot flash boot_a patched_boot.img, fastboot flash boot_b patched_boot.img)
4. Boot to system and install Magisk Manager. APK via internet or extracted APK.
5. Now enable camera2API
"
Enable ADB in the developer settings.
-Assuming you already have platform-tools binaries, do this in your shell/cmd:
-Code:
adb shell
-Now, when you are in the device shell, type this:
-Code:
su
-The device will probably ask about root access, grant it.
-Now, when you are in the root shell, type this:
-Code:
setprop persist.camera.HAL3.enabled 1
"
6. REBOOT the phone
7. Download and install good Gcam mod for Mi A1
i used those
scrubber_GCameraP2XL.apk - front is not working
GCam5.1.018-Arnova8G2-V1.4.apk - Everything seems to be working fine


Thanks man.. Im going to try this out . btw... I am using Mi A2 Lite.. will this same step works ?
 

Ivan93tm

Senior Member
Jan 14, 2011
261
128
30
Lurano
Samsung Galaxy S22 Ultra
Source
* https://xdaforums.com/showpost.php?p=77222940&postcount=2
* https://xdaforums.com/showpost.php?p=77226755&postcount=7
* https://xdaforums.com/mi-a1/how-to/guide-how-to-enable-hal3-camera2api-t3747073
* https://xdaforums.com/mi-a1/themes/request-google-camera-hdr-mi-a1-t3684325
Credits @guangie , @flex1911 , @Dornyx , @Arnova8G2 , scrubber

WARNING, FLASH AT your OWN RISK!!!!

1. Unlock bootloader via fastboot
2. Makesure you are on V9.6.5.0.ODIMIFE
3. Go here https://github.com/guangie88/xiaomi-jasmine-magisk-boot and download patched_boot.img
4. Boot to fastboot and flash it as given in instructions (fastboot flash boot_a patched_boot.img, fastboot flash boot_b patched_boot.img)
4. Boot to system and install Magisk Manager. APK via internet or extracted APK.
5. Now enable camera2API
"
Enable ADB in the developer settings.
-Assuming you already have platform-tools binaries, do this in your shell/cmd:
-Code:
adb shell
-Now, when you are in the device shell, type this:
-Code:
su
-The device will probably ask about root access, grant it.
-Now, when you are in the root shell, type this:
-Code:
setprop persist.camera.HAL3.enabled 1
"
6. REBOOT the phone
7. Download and install good Gcam mod for Mi A1
i used those
scrubber_GCameraP2XL.apk - front is not working
GCam5.1.018-Arnova8G2-V1.4.apk - Everything seems to be working fine

Have you tried to relock bootloader and remove magisk after the procedure? Maybe this will be the best way to enable camera 2 but keep phone usability for banking application and other app that check security

Sent from my Huawei Honor 9 using XDA Labs
 

crazykas

Senior Member
Jun 11, 2011
1,229
237
Japan
Google Pixel 8
Have you tried to relock bootloader and remove magisk after the procedure? Maybe this will be the best way to enable camera 2 but keep phone usability for banking application and other app that check security

Sent from my Huawei Honor 9 using XDA Labs

No i didn't cause im okay with that. But if you wanna keep it there is. Way right. Its in one of source that i have posted
 

majimbo

Member
Sep 21, 2016
19
6
Source
* https://xdaforums.com/showpost.php?p=77222940&postcount=2
* https://xdaforums.com/showpost.php?p=77226755&postcount=7
* https://xdaforums.com/mi-a1/how-to/guide-how-to-enable-hal3-camera2api-t3747073
* https://xdaforums.com/mi-a1/themes/request-google-camera-hdr-mi-a1-t3684325
Credits @guangie , @flex1911 , @Dornyx , @Arnova8G2 , scrubber

WARNING, FLASH AT your OWN RISK!!!!

1. Unlock bootloader via fastboot
2. Makesure you are on V9.6.5.0.ODIMIFE
3. Go here https://github.com/guangie88/xiaomi-jasmine-magisk-boot and download patched_boot.img
4. Boot to fastboot and flash it as given in instructions (fastboot flash boot_a patched_boot.img, fastboot flash boot_b patched_boot.img)
4. Boot to system and install Magisk Manager. APK via internet or extracted APK.
5. Now enable camera2API
"
Enable ADB in the developer settings.
-Assuming you already have platform-tools binaries, do this in your shell/cmd:
-Code:
adb shell
-Now, when you are in the device shell, type this:
-Code:
su
-The device will probably ask about root access, grant it.
-Now, when you are in the root shell, type this:
-Code:
setprop persist.camera.HAL3.enabled 1
"
6. REBOOT the phone
7. Download and install good Gcam mod for Mi A1
i used those
scrubber_GCameraP2XL.apk - front is not working
GCam5.1.018-Arnova8G2-V1.4.apk - Everything seems to be working fine


Gcam can record 1080p 60fps? Can you confirm it? Ois avaible too? Share samples?

Thank you
 

Ivan93tm

Senior Member
Jan 14, 2011
261
128
30
Lurano
Samsung Galaxy S22 Ultra
Some edit to my experience with A2, there is now way to turn back to stock after changin boot image for root, if relock bootloader and remove magisk phone does not boot and get error no command so for now i have to stay with unlocked bootloader and can't use netflix or banking apps

EDIT: i managed to relock bootloader and make phone boot properly with stock boot image but unfortunally build prop revert back to stock with no API 2 CAMERA enabled, i followed this step
  • Unlock bootloader with "fastboot oem unlock"
  • Flashed pathced boot with "fastboot flash boot_a patched_boot.img"
  • same with boot_b
  • reboot phone and installed magisk apk
  • edit build prop with "setprop persist.camera.HAL3.enabled 1"
  • rebooted phone and checked if camera api 2 was enabled
  • reboot bootloader and flashed stock boot img
  • relocked bootloader and waitg for reboot
unlucky no succes, for now i think i will keep my phone with stock camera API or maybe i' ll wait for a modded recovery and a flashable zip for enable API...
 
Last edited:

Top Liked Posts