Xiaomi Mi A2 Camera port
FEATURES
MiuiCamera.apk from Mi A2 stock ROM
DOWNLOAD FROM THE MAGISK REPO
REQUIREMENT: https://forum.xda-developers.com/mi-a1/themes/magisk-stock-camera-hal-custom-roms-t3900493
LICENSE
Copyright © 2019 joeyhuab. Licensed under the GNU General Public License v3.
CREDITS
@ramesh1686 for his original module
@sipollo for his telephoto fixes and zoom support
SOURCES
Original XDA thread
Mi A2 Camera Github
On LOS 16 with 4.9 kernel 3/4 of the picture is green when using A2 camera, I haven't tested A1 cam.
Thank a lot!!
nice work
is it possible to we have twrp flashable zip file too ??
bothh can be installed at a same time?
babakhad said:
nice work
is it possible to we have twrp flashable zip file too ??
Click to expand...
Click to collapse
You can flash this with TWRP as well.
seanmcken said:
bothh can be installed at a same time?
Click to expand...
Click to collapse
Yes but only 1 can be enabled at a time. You need to uncheck the other module.
Thanks! I tried them on Arrow OS Pie.
With Mi A1 camera everything works well! but with Mi A2 camera, Google Camera crashes when I take a photo.
When the camera sees a person It disconnects and app disables xd?
joeyhuab said:
Xiaomi Camera apps
FEATURES
MiuiCamera.apk from Mi A1 and Mi A2 stock ROMs
Most features of both apps enabled
Camera2API support - to check if working, install the Camera2 Probe app via the Play Store (find a working Modded Google Camera app here)
EIS support (for devices with EIS); to check if enabled, visit your Google Camera app's settings and look for Enable Video stabilization
Click to expand...
Click to collapse
Hi!
Does this mean the modules will also enable api2, or does it simply mean that they utilize it and it has to be enabled separately?
Hello,
Any way to disable the shutter sound? Unchecking it in the settings doesn't do anything.
Wyroczen said:
On LOS 16 with 4.9 kernel 3/4 of the picture is green when using A2 camera, I haven't tested A1 cam.
Click to expand...
Click to collapse
Same for me on HavocOS with kernel 4.9
Both A1 and A2 cameras are the same
schmellic said:
Same for me on HavocOS with kernel 4.9
Both A1 and A2 cameras are the same
Click to expand...
Click to collapse
Yeah, it seems to be happening only on 4.9. I've been using this on previous ROMs and it was working perfectly before.
schmellic said:
Same for me on HavocOS with kernel 4.9
Both A1 and A2 cameras are the same
Click to expand...
Click to collapse
Same here on Pixel Experience Pie 3/4 Upper left corner green.
Hi , can we install both mi a1 and A2 camera at once ?? If no , then could you please make it able to do so ??
Suggest me the best version of gcam....
I'm on MIUI 8.10.25
ChasingHaze said:
Same here on Pixel Experience Pie 3/4 Upper left corner green.
Click to expand...
Click to collapse
Just updated to latest version of Liquid Rom and Magisk v18 so thought I'd give it another go... Latest version of the A2 camera is working now (downloaded via Magisk manager), tested portrait mode and all good ?
hi,dev can u please make the one for twrp flash,i cannot use root in my phone to work,so i cannot using magisk
IS the yellow tint fixable for 4.9 kernel based roms??
Why Its removed from magisk repo..??
I think magisk repo has latest version compared to sourceforge.
Related
DiscontinuedTomorrow the Global Public Beta of MIUI 10 8.7.12 releaed for second batch including our Redmi 5 Plus/Note 5 (India). As at time of MIUI 1st release Xiaomi was announced the support of AI Portrait Mode will be added also for single camera smartphone. But unfortunately they never include Redmi 5 Plus in the list of devices getting AI Portrait Mode. From 8.7.12 update the users were hoping that they will get portrait mode but there was nothing except disappointment.
But I've a really big and good news for every Redmi 5 Plus (vince) lover. I made possible to install/enable AI Portrait Mode on Redmi 5 Plus MIUI 10 (tested on 8.7.10/8.7.12)
At now the portrait mode working only on front camera, soon it'll be available for back camera as well
Requirements:
Unlocked Bootloader
TWRP or Orange Fox Recvoery
Links:
Credits: rashidmalyk (Malik Rashid Hussain)
All contents are private and for personal use only, sharing of file's links is prohibited at all, don't use mod zips in your post or thread!
Front cam is working with portrait mode. Thanks!
Thks so much for this mod...result is awesome but broke the gcam....any solution?
jiraffa said:
Thks so much for this mod...result is awesome but broke the gcam....any solution?
Click to expand...
Click to collapse
Install the Camera2Api enabler magisk zip, or if u won't to root then flash Camera2Api zip via TWRP!
I installed Camera2Api through orange fox recovery enabler...and after installing this mod...gcam stopped working
jiraffa said:
I installed Camera2Api through orange fox recovery enabler...and after installing this mod...gcam stopped working
Click to expand...
Click to collapse
This mod replaces build.prop so the edit to enable camera2api will be gone and you need to edit it again.
I did everything but my camera is still the same as if nothing happened. No portrait for me. ??
When will the portrait mode on the back camera be available for vince?
The front camera portrait is working like a charm though. Thanks for sharing.
KiLLence said:
I did everything but my camera is still the same as if nothing happened. No portrait for me.
Click to expand...
Click to collapse
There is no need to cry if you are an user of xda , so plz inform me about MIUI version (global or china) and which recovery you using?
hrizuwan said:
When will the portrait mode on the back camera be available for vince?
The front camera portrait is working like a charm though. Thanks for sharing.
Click to expand...
Click to collapse
The things are just in tunnel, so we hope in coming days we'll be able to get portrait mode for back cam
rashidmalyk said:
There is no need to cry if you are an user of xda , so plz inform me about MIUI version (global or china) and which recovery you using?
Click to expand...
Click to collapse
Miui10 global 8.7.12 beta, twrp.
Unit model: mee7
rashidmalyk said:
There is no need to cry if you are an user of xda , so plz inform me about MIUI version (global or china) and which recovery you using?
Click to expand...
Click to collapse
The portrait appeared after I flashed Magisk v16 then flashed the UpdateBR. And voila. It worked. Thank you so much. ???
KiLLence said:
The portrait appeared after I flashed Magisk v16 then flashed the UpdateBR. And voila. It worked. Thank you so much.
Click to expand...
Click to collapse
Does it work for the back camera?
rashidmalyk said:
There is no need to cry if you are an user of xda , so plz inform me about MIUI version (global or china) and which recovery you using?
Click to expand...
Click to collapse
I experimented with removing the Magisk v16, the portrait mode will be removed as well. I hope someday it will work without Magisk v16 being flashed. Because later did I know, I have apps that is not compatible with Magisk v16. Oh well.
hrizuwan said:
Does it work for the back camera?
Click to expand...
Click to collapse
No. It doesn't work for back camera. Only the front cam.
will it work on mi a1 as well...
mahla13 said:
will it work on mi a1 as well...
Click to expand...
Click to collapse
2 things:
1. Did you guys are not getting it with your dual camera? You were almost the first ones on getting that. If you mean in the front camera, you should wait for update as you are not on MIUI.
2. Why do you ask on a Vince forum, where you are going to get most likely Vince users?? The best way to find out is trying it as no one here, who make mods, are making it or even testing them on different models. If not, go ahead and ask on the Mi A1 forum.
Can't we have it on custom roms?
miui 10 global 8.10.11 beta camera2 api is not enabling i tried everthing and twrp showes a issue unable to mount storage then i format my redmi note 5 then i flash magisk and camera 2 api files then i boot into system and finished setup then i check camera 2 api is enabled or not in camera compatibility app but the result still camera2 api is not enabled
kunal kherde said:
miui 10 global 8.10.11 beta camera2 api is not enabling i tried everthing and twrp showes a issue unable to mount storage then i format my redmi note 5 then i flash magisk and camera 2 api files then i boot into system and finished setup then i check camera 2 api is enabled or not in camera compatibility app but the result still camera2 api is not enabled
Click to expand...
Click to collapse
Use root explorer, search build.prop and open it in text editor tool and paste this "persist.camera.HAL3.enabled=1" line anywhere, then save & exit.
Gcam doesn't seem to work anyhow
even after i flashed camera 2 enable api,
Is there something that can be done,
ROM - Havoc 2.4
Thank you
ROM?
Letrix said:
ROM?
Click to expand...
Click to collapse
Havoc Os 2.4
kyzr121 said:
Gcam doesn't seem to work anyhow
even after i flashed camera 2 enable api,
Is there something that can be done,
ROM - Havoc 2.4
Thank you
Click to expand...
Click to collapse
Everything works on my Note 5 China red, minus the HDR on the front camera (black screen) and 4k video(take full hd). No root or patch required. Just a decent rom that supports camera2api.
Download: https://f.celsoazevedo.com/file/cfiles/gcm1/gc_6.1.021_whyred_05dm.apk
Credits: marlin-ku
Hello guys!
I finally found a stable 6.1 gcam for our beloved whyred. My model is Chinese AI red. I am currently using Havoc OS 2.4 (Android 9) without any patch, root or modified kernel. All standard of rom itself.
The apk's author is marlin-ku (https://www.celsoazevedo.com/files/android/google-camera/dev-marlin-ku/)
Notice: You need camera2api enabled!
Recommendations:
Disable 4k video (use full hd)
HDR on the front camera DOES NOT WORK (but if you disable it, everything works)
Download: https://f.celsoazevedo.com/file/cfiles/gcm1/gc_6.1.021_whyred_05dm.apk
Mirror 2: https://drive.google.com/file/d/1qkGyZmehNtkF2wsu48nWXaERU6DYK_CB/view?usp=sharing
Peace :highfive:
My configs
https://ibb.co/album/djOqiv
does it work in stock miui??
Sent from my Redmi Note 5 Pro using Tapatalk
EMONESSboy said:
does it work in stock miui??
Sent from my Redmi Note 5 Pro using Tapatalk
Click to expand...
Click to collapse
I do not have the MIUI to test, just Havoc OS, but a person who has tested it and said it did not work.
Either way, feel free to test and post your evaluation to us :good:
EMONESSboy said:
does it work in stock miui??
Click to expand...
Click to collapse
Only with MIUI Pie
N1ck474 said:
Only with MIUI Pie
Click to expand...
Click to collapse
Forced closed for me, I'm on 9.4.25 Global Beta without any modifications including locked BL.
xell75 said:
Forced closed for me, I'm on 9.4.25 Global Beta without any modifications including locked BL.
Click to expand...
Click to collapse
You need enabled camera2 API to use any type of GCam
N1ck474 said:
You need enabled camera2 API to use any type of GCam
Click to expand...
Click to collapse
Okay that sucks, then I'm out. I not wanna modify my phone or use any custom Rom so long my phone gets offical updates. But thanks for the info.
xell75 said:
Okay that sucks, then I'm out. I not wanna modify my phone or use any custom Rom so long my phone gets offical updates. But thanks for the info.
Click to expand...
Click to collapse
You're right, Xiaomi should enable camera2api by default, on MIUI Pie it's just a value on build.prop, nothing more nothing less, it's awfull marketing
I have camera2api enabled but get only forced close.
I'm using MASIK 4.1 Miui pie. Front camera work fine for photos and videos. One bug is superzoom in front camera video with 60fps.
But finally we can use one GCAM TRUE Stable.
Thank you
working like a charm with masik 4.1,thanks
habbadda said:
I have camera2api enabled but get only forced close.
Click to expand...
Click to collapse
What is your ROM? Kernel? Firmware? Do you have root?
Im on LineageOS 16 with Magisk 19.1 and 9.4.18 firmware installed.
habbadda said:
Im on LineageOS 16 with Magisk 19.1 and 9.4.18 firmware installed.
Click to expand...
Click to collapse
Very interesting. I have the latest version of Havoc OS 2.4, on my Chinese note 5 with stable firmware 10.3.4, with absolutely nothing else (root, patch camera, kernel) and this was the most stable version I've ever installed on my whyred. Everything works, minus HDR on the front camera and the 4k video. Everything else works perfectly here.
(For Q)
Mod 1
@tarkzim has released LineageOS 17 for our Mi Max and i have tried a lot of gcam 7 versions. But all of them are force stopping. So after so many tries i found a gcam 7 which is working fine in this phone
Link to Gcam 7:
https://f.celsoazevedo.com/file/cfiles/gcm1/GCam_4.0.191101.0729build-7.0.009_x9_s9s_mod_0.42.apk
It's not stable and does frees the phone sometimes, but when it works it works fine. I Haven't tried astrophotography
Mod 2
I got another gcam 7 which is working great in mi max.
I tested/used it in android q only till now. So i don't know about android pie.
Link:
https://f.celsoazevedo.com/file/cfiles/gcm1/SimpleCam_v7c.apk
Mostly everything is working except slow-motion, astrophotography (i think astrophotography is a long shot for our device to work on)
(For Pie)
Hey, Everyone
Recently I was searching for a Google Camera Mod, and I have tried a few. But when some lacked quality others lacked new features, advance settings. And somehow I came across this Google Camera.. ( It's almost stable and it works great )
And all the credit goes to the developer of this mod.
I'm just sharing their app to you guys
Slow motion doesn't work ??
HDR,Night sight,time lapse all works
Link: https://1drv.ms/f/s!Ah_xE-3QVpHZgxjgphojsRfREzIY
Some photos taken with this Gcam
https://photos.app.goo.gl/4FKFPmgBdWf55d2u6
Mod 2 : this mod of Gcam works awesome + more stable, with some bugs obviously,
The HDR works even better
Link:
https://www.celsoazevedo.com/files/android/google-camera/f/changelog696/
Could you share any of your settings please..
gagas1 said:
Could you share any of your settings please..
Click to expand...
Click to collapse
I didn't change too much settings..
I increased HDR strength, saturation,
and enabled raw, night sight suggestion, lens clean suggestion.
And some minor changes. It's still not perfectly stable.
But I have a note 5 pro and this gcam works perfectly and the pictures are incredible
thanks i will try
edit:- check this gcam
https://forum.xda-developers.com/apps/google-camera-mods/google-camera-urnyx05-t3937515
did not install on miui 10
lakshyajeet said:
thanks i will try
edit:- check this gcam
https://forum.xda-developers.com/apps/google-camera-mods/google-camera-urnyx05-t3937515
Click to expand...
Click to collapse
Thanks, I recently tried another G cam
And I'm currently using it right now. It is more stable.. but we there is a small but with night sight and light condition choosing.
But the funny part is that I'm already using the same mod that you mentioned
https://www.celsoazevedo.com/files/android/google-camera/f/changelog696/
Preshak said:
did not install on miui 10
Click to expand...
Click to collapse
Miui 10 on Our mi max is still on nougat. You need Android pie ROM to install this mod
I got another gcam 7 which is working great in mi max.
I tested/used it in android q only till now. So i don't know about android pie.
Link:
https://f.celsoazevedo.com/file/cfiles/gcm1/SimpleCam_v7c.apk
Mostly everything is working except slow-motion, astrophotography (i think astrophotography is a long shot for our device to work on)
Nikhil Chandran said:
I got another gcam 7 which is working great in mi max.
I tested/used it in android q only till now. So i don't know about android pie.
Link:
https://f.celsoazevedo.com/file/cfiles/gcm1/SimpleCam_v7c.apk
Mostly everything is working except slow-motion, astrophotography (i think astrophotography is a long shot for our device to work on)
Click to expand...
Click to collapse
its working on pie, thanks
lakshyajeet said:
its working on pie, thanks
Click to expand...
Click to collapse
Your welcome bro
Nikhil Chandran said:
I got another gcam 7 which is working great in mi max.
I tested/used it in android q only till now. So i don't know about android pie.
Link:
https://f.celsoazevedo.com/file/cfiles/gcm1/SimpleCam_v7c.apk
Mostly everything is working except slow-motion, astrophotography (i think astrophotography is a long shot for our device to work on)
Click to expand...
Click to collapse
Can you try take a selfie photo ? Not working
Mi Max cihazımdan Tapatalk kullanılarak gönderildi
madmax59 said:
Can you try take a selfie photo ? Not working
Mi Max cihazımdan Tapatalk kullanılarak gönderildi
Click to expand...
Click to collapse
I tried taking a selfi.... And it is showing the capturing circle but it doesn't capture/save the image... But if you disable the HDR+ to HDR the photo is capturing
Have you tried to use Google camera under Android 10.
I'm running Miui 11 on my MiMax 3 with Android 10, but I'm unable to enable camera2 api.
Any help?
ballyhoo62 said:
Have you tried to use Google camera under Android 10.
I'm running Miui 11 on my MiMax 3 with Android 10, but I'm unable to enable camera2 api.
Any help?
Click to expand...
Click to collapse
1, Unlock your bootloader
2, Root your phone
3, Install camera2api
That's it.
I'm sure someone must have made a video on this topic.search on YouTube.
Oh and my device is mi max 1 so the company didn't release miui11 for this device. So i cant test it by my self
Nikhil Chandran said:
1, Unlock your bootloader
2, Root your phone
3, Install camera2api
That's it.
I'm sure someone must have made a video on this topic.search on YouTube.
Oh and my device is mi max 1 so the company didn't release miui11 for this device. So i cant test it by my self
Click to expand...
Click to collapse
Of course I did the points 1 and 2 already.
In Android 9 I just had to flash a zip to enable camera2 api. But in Android 10 it's not working.
What do you mean with install camera2 api. In my understanding it is implemented in Android and has to be enabled in the build.prop. I did it with the flashing.
Still noone with experience in Android 10?
ballyhoo62 said:
Of course I did the points 1 and 2 already.
In Android 9 I just had to flash a zip to enable camera2 api. But in Android 10 it's not working.
What do you mean with install camera2 api. In my understanding it is implemented in Android and has to be enabled in the build.prop. I did it with the flashing.
Still noone with experience in Android 10?
Click to expand...
Click to collapse
If the method with magisk is not working... Add the camera 2 api command to your build.Prop manually.
I did the same this with my MiA2 running stock os.
Now it works amazing
Nikhil Chandran said:
If the method with magisk is not working... Add the camera 2 api command to your build.Prop manually.
I did the same this with my MiA2 running stock os.
Now it works amazing
Click to expand...
Click to collapse
I tried this as well.
Which lines did you add, or which lines did you alter?
I think the problem is Android 10, in the previous version it was no problem.
If the method with magisk is not working... Add the camera 2 api command to your build.Prop manually.
I did the same this with my MiA2 running stock os.
Now it works amazing
Also if your gcam is force closing check if it's the issue of the apk or cam2api via Manuel camera compatibility.
If that didn't help
Check if you have this line in your build prop
persist.camera.HAL3.enabled=0
If you do change the "=0" to "=1"
persist.camera.HAL3.enabled=1
Activate Camera2API on Mi MAX 3 with Android 10 Q and MIUI 11?
ballyhoo62 said:
I tried this as well.
Which lines did you add, or which lines did you alter?
I think the problem is Android 10, in the previous version it was no problem.
Click to expand...
Click to collapse
Did you successfully activate Camera2API on Mi MAX 3 with Android 10 Q and MIUI 11?
Also keep waiting somehow because even used a module for Magisk 20.2 channel Canary but even this version still works on Android 10 Q.
Nikhil Chandran said:
If the method with magisk is not working... Add the camera 2 api command to your build.Prop manually.
I did the same this with my MiA2 running stock os.
Now it works amazing
Also if your gcam is force closing check if it's the issue of the apk or cam2api via Manuel camera compatibility.
If that didn't help
Check if you have this line in your build prop
persist.camera.HAL3.enabled=0
If you do change the "=0" to "=1"
persist.camera.HAL3.enabled=1
Click to expand...
Click to collapse
As I wrote, I tried that solution, but to no avail.
There must be another way for Android 10.
BEST GCAMv7 FOR MI MAX
I tried all the suggested version none of them were stable. Some crashed, some rebooted the device, some had issues with video and almost every gcamv7 was not even opening. I was using DMGC gcam on my MiA2. I randomly tested it on my Helium and it worked flawlessly ! Even astrophotography is working ! It's not that great but it works ! Some ISO issue with video but when you keep the frame rate to auto. It fixes. I even supported the developer for such a masterpiece I am so pleased ! Thanks Dmitry Garvilo aka the_dise.
Just download it!
DMGC_7.3.020_ver.4.1.apk
tested on PixelExperiencePlus 9.0 20200115
There are a few exclusive Video Modes in Xiaomi Mi 11 - Magic Zoom, Slow Shutter, Time Freeze, Night-mode time-lapse, Parallel World, and Night Mode Video.
Is it possible to port to Mi 10T Pro?
Any update?
Any development yet?
jony4fun said:
Any development yet?
Click to expand...
Click to collapse
Modded miui camera for miui based roms - https://github.com/a406010503/Miui_Camera. Flash with magisk.
zaqm said:
Modded miui camera for miui based roms - https://github.com/a406010503/Miui_Camera. Flash with magisk.
Click to expand...
Click to collapse
Possible without root?
jony4fun said:
Possible without root?
Click to expand...
Click to collapse
No there were problems with the twrp flashable file and now it is available only as a magisk module