• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[Magisk][Module][MI A2 Stock Camera][Update-22/9/18]

Search This thread

ARNOB XENON

Senior Member
Dec 10, 2016
271
325
[Magisk]MIUI stock camera for all Custom roms.



V-3(Stable)(Update,Magisk module)
1-HDR(Auto HDR works)
2-Time Shift
3-HHT
4-Beauty
5-Straighten
6-4k recording
7-Portrait mode (Front+Back)
8-Manual mode.
9- No delay(slow) 5-10 sec after switching one mode to another.
Install through Magisk.
Only one Left Bug-Slow motion video
V-3 Link-https://drive.google.com/file/d/18Qohcw9-hJR3tCZyULWhER45LetQkPuE/view?usp=sharing


V-3.1(Update)
1-Back to miui 10 UI.
2-Portrait switch.
3-HD photo select for 3rd party apps.
4-100% As stock camera.
v-3.1 Download link-https://drive.google.com/file/d/1YDf8gFHxRec8W6GlEcY8v4B0fDHKoagA/view?usp=sharing

V-4 final port
1-Slowmotion fixed ( Thanks Dyneteve)
2-Added Ai Switch.
3- Every thing is working
Download link V-4-https://drive.google.com/file/d/16kmg1pX1n-pvpZGyRvFiziviO0tJCRZz/view?usp=sharing

V-4.1(Update)
1-Removed Group Selfie(As it is not working)
Download v-4.1 -https://drive.google.com/file/d/1E51MjvSf8HBmbNz9CXg2W1mL74_uuPPh/view?usp=sharing


V4.2(Update)
1-Parallel Image processing(High quality image).
2-Removed Finger Print shutter.
3-Added Slowmotion 120 FPS at 1080P.
Download V-4.2 https://drive.google.com/file/d/1N3NJti1hXf9A1yJuEK4nx8kedhate8_k/view?usp=sharing

V.4.3[UPDATE FOR ANDROID PIE 9.0 ONLY ]
-Added Support to Android Pie 9.0 (PR1 tested)
-May be works with other GSI/sGSI
-AI switch removed(As it is not working)
Linkhttps://drive.google.com/file/d/1Rdncjqb022P5Wk2BJcARPRnh2TlGRemU/view?usp=sharing
Bugs-
-After switching Front camera Always flash on(Enable HDR and capture 1 image flash will be turned off then you can capture Normal/Portrait without front flash)
-Test and report me.

V-4.4[UPDATE,ONLY FOR ANDROID PIE 9.0
-Front flash fixed[Thanks to #Nom sokheng]
-Everything working.
Download link-https://drive.google.com/file/d/1GsrVTtKc4sNGQ_iPnIMWCWKtlv7DIWwT/view?usp=sharing

V4.5[Pie 9.0]
-Legacy Beauty mood enabled.
-Finger Print shutter Enabled.
-Fixed Camera Sound Conflict.
Download-https://drive.google.com/file/d/1ibF29D0_TQ4ZeNeyM74VAdi9oX7JiAK5/view?usp=sharing



V5[Oreo 8.1]
-Updated Camera files from latest MIUI Rom.
-Finger Print shutter Enabled.
-Fixed Camera Sound Conflict.
Download-https://drive.google.com/file/d/1MjrZchaAUeQnIPKfWKvAaEVPhPahRHLQ/view?usp=sharing



How to install.
1-Load Magisk module via Magisk Manager
2-Reboot Phone
3-Give all the permissions to the camera

Sourcehttps://github.com/Arnob-Xenon/Mi-A2-Stock-camera-for-Redmi-note-5-Note-5-Pro/blob/master/README.md

Credit-All credit goes to @ARNOB XENON, @carlosggb, @Dyneteve

For Mi A2

https://forum.xda-developers.com/mi-a2/themes/magisk-t3847779

Thank you.
 
Last edited:

ARNOB XENON

Senior Member
Dec 10, 2016
271
325
MIUI stock camera for all Custom roms.


After collecting all miui camera ports at last able to work dual camera with our whyred.
What is working:
1-Portrait mode (Back only, with dual camera)
2-4k video recording
3-front camera
4-And MIUI default stuffs.
What is not working
1-Slowmotion (May be works with G-cam)
2-May be more you can find.
3-Capturing Normal pictures are headache because of the 2nd camera .( you can avoid this by doing flash always active >then capture>Camera will force close and restart with the primary camera)
Unexpected feature
1-Don't know it will be good or bad for us Our 2nd camera can capture images with 13mp res. As it is ported from Android One that's why may be.
you can avoid this by doing (turn on flash active >then capture>Camera will force close and restart with the primary camera)
For better experience just capture portrait images with the miui Stock camera and use another camera for rest of the work like G-cam or what ever you like.
How to install

Just flash using TWRP

Credit-All credit goes to MI AI devs ,Mi note 3 devs.
Do not ask me wired questions just download and try yourself.
Thank you.
Download link -https://drive.google.com/file/d/1J-E0aB9DSxJyxmFrikmOjLo2M3B6wAwA/view?usp=sharing
 
Last edited:

S.faraaz

Member
Sep 2, 2017
15
4
Is it able to perform as good as the stock camera of RN5P? I mean the portrait mode (front n back) works fine or not?
I tried the BSGod of Gcam on RR rom. But i finally came to the conclusion that stock camera is the best for this phone. It takes pictures in super sharp quality, Gcam was not working as good as this one. Also the shutter speed was too low in GCam
 
  • Like
Reactions: zero85246

Cirra92

Senior Member
Jan 16, 2013
963
594
Nis
Is it able to perform as good as the stock camera of RN5P? I mean the portrait mode (front n back) works fine or not?
I tried the BSGod of Gcam on RR rom. But i finally came to the conclusion that stock camera is the best for this phone. It takes pictures in super sharp quality, Gcam was not working as good as this one. Also the shutter speed was too low in GCam
Let's get something out of the way, MIUI stock camera does not have better image quality than GCam, nor it ever will (at least on this device).
HDR+ on your GCam either didn't work, or you didn't set it up properly, because there are a few settings which have to be changed.
 
  • Like
Reactions: DEBASISH

jeehuu91

Senior Member
MIUI stock camera for all Custom roms.


After collecting all miui camera ports at last able to work dual camera with our whyred.
What is working:
1-Portrait mode (Back only, with dual camera)
2-4k video recording
3-front camera
4-And MIUI default stuffs.
What is not working
1-Slowmotion (May be works with G-cam)
2-May be more you can find.
3-Capturing Normal pictures are headache because of the 2nd camera .( you can avoid this by doing flash always active >then capture>Camera will force close and restart with the primary camera)
Unexpected feature
1-Don't know it will be good or bad for us Our 2nd camera can capture images with 13mp res. As it is ported from Android One that's why may be.
you can avoid this by doing (turn on flash active >then capture>Camera will force close and restart with the primary camera)
For better experience just capture portrait images with the miui Stock camera and use another camera for rest of the work like G-cam or what ever you like.
How to install

Just flash using TWRP

Credit-All credit goes to MI A1 devs ,Mi note 3 devs.
Do not ask me wired questions just download and try yourself.
Thank you.

Download link ??See in first comment
How do I uninstall this one if I intend to?

thank you!
 

S.faraaz

Member
Sep 2, 2017
15
4
Let's get something out of the way, MIUI stock camera does not have better image quality than GCam, nor it ever will (at least on this device).
HDR+ on your GCam either didn't work, or you didn't set it up properly, because there are a few settings which have to be changed.
HDR+ worked on my device but it took a lot of time. After clicking the picture took arnd hlf a second at first, and then again a few seconds to process the HDR+.also during videos, there was a lot of issue in exposure and it didn't had time lapse too.Also the selfies taken by miui camera were better as compared to Gcam(i think thats coz it recognises it only as 5mp)
Portrait mode only worked with humans unlike miui camera which worked with anything
That's why i thought miui cam is better. Is there any way to fix it? Note: I tried the BSG mod
 
Last edited:

Cirra92

Senior Member
Jan 16, 2013
963
594
Nis
HDR+ worked on my device but it took a lot of time. After clicking the picture took arnd hlf a second at first, and then again a few seconds to process the HDR+.also during videos, there was a lot of issue in exposure and it didn't had time lapse too.Also the selfies taken by miui camera were better as compared to Gcam(i think thats coz it recognises it only as 5mp)
Portrait mode only worked with humans unlike miui camera which worked with anything
That's why i thought miui cam is better. Is there any way to fix it? Note: I tried the BSG mod

Well first of all, my reply was about picture quality of HDR+ vs MIUI HDR(On/Off/Auto) or HHT you name it. In that regard there is no point comparing the two, as computational photography prowess of Google Camera is just ahead in every way.
And as for the other, I don't remember whose GCam I used that had working portrait mode on objects, but it really did work, try out different versions. Even though it's just 5mp, the processing is better, you must have had a malfunctioning app. Also no issues with video exposure here (just missing the 60fps) and the HDR+ processing was a bit slow only in low light).
I am using BSG mod right now, specifically MGC_5.2.022_FINAL_1.0.apk and here are my settings. You can try out Arnova's v7.9.9 I used that one too.
 

Attachments

  • Screenshot_Camera_20180714-175249.png
    Screenshot_Camera_20180714-175249.png
    129.9 KB · Views: 1,658
  • Screenshot_Camera_20180714-175253.png
    Screenshot_Camera_20180714-175253.png
    106.8 KB · Views: 1,650

S.faraaz

Member
Sep 2, 2017
15
4
Well first of all, my reply was about picture quality of HDR+ vs MIUI HDR(On/Off/Auto) or HHT you name it. In that regard there is no point comparing the two, as computational photography prowess of Google Camera is just ahead in every way.
And as for the other, I don't remember whose GCam I used that had working portrait mode on objects, but it really did work, try out different versions. Even though it's just 5mp, the processing is better, you must have had a malfunctioning app. Also no issues with video exposure here (just missing the 60fps) and the HDR+ processing was a bit slow only in low light).
I am using BSG mod right now, specifically MGC_5.2.022_FINAL_1.0.apk and here are my settings. You can try out Arnova's v7.9.9 I used that one too.
Yeah that app was a litlle diffrnt than the one in ur screenshot. I'll try out this version then.
Thanks for sharing :)
Hey can u tell me which rom are u using? I like ur navbar. I got animations in RR configurations but didn't got that home button. Just a solid round icon.
 
Last edited:

Top Liked Posts