Camera2 API on Oreo (Miui10) is possible?


Jul 26, 2013
334
65
52
#51
api2 working on MIUI.EU stable, versions 10.0.2.0 and 10.0.4.0.

1) On build.prop:
- Delete "persist.camera.dxo=1"
- Add "persist.camera.HAL3.enabled=1"

Reboot.

Done! api2 enabled.

Original credits: @MiNote3Chat on Telegram

Sent from my Mi Note 3 using Tapatalk
Confirmed not working on 8.10.11, so stick to stable if you want it.
 
Likes: fabiomaga
Oct 20, 2018
15
1
5
#52
my friend have a trick about edit build.prop

1. Flash 10.0.2 or 10.0.4 until ready to use
2. root , edit build.prop change "persist.camera.dxo=1" to "persist.camera.dxo=0" and add "persist.camera.HAL3.enabled=1"
3. reboot system
4. reboot to recovey and flash 10.0.4 if you use rom 10.0.2 or 10.0.4 again
5. don't edit build.prop
6. install module enable api2 in magisk and then reboot
7. install camera 2 probe for check properties of camera if show level 3 you open api2 already.

no bug about hdr mode in stock camera if you use this step
 
Jul 11, 2013
7
2
15
#53
my friend have a trick about edit build.prop

1. Flash 10.0.2 or 10.0.4 until ready to use
2. root , edit build.prop change "persist.camera.dxo=1" to "persist.camera.dxo=0" and add "persist.camera.HAL3.enabled=1"
3. reboot system
4. reboot to recovey and flash 10.0.4 if you use rom 10.0.2 or 10.0.4 again
5. don't edit build.prop
6. install module enable api2 in magisk and then reboot
7. install camera 2 probe for check properties of camera if show level 3 you open api2 already.

no bug about hdr mode in stock camera if you use this step

Followed your instructions and there is still HDR problem with stock camera. Level 3 is there but hdr still bugs after taking a photo.
 
Oct 20, 2018
15
1
5
#61
hey guys, anyone have tried if camera2 api are unlocked on new stable eu v10.0.5.0 ? or have to use the trick also in this rom ? thx !
i testing about step from my friend. in last version 10.0.5 my friend can use open dxo=1 , open api2 and use google cam normally

i copy her step but my phone cannot use hdr same her

still find how to open hdr continue.
 
Jun 17, 2018
2
0
13
#66
camera2 api works on 10.0.5.0!!! yeeees! However i cannot find the suitable gcam version that has front portrait working. any advice on what version to use? oh, and i also already flashed the GCam_FIXPORTRAIT_HDR_JASON.zip file but still no luck. thanks :D
 
Jul 26, 2013
334
65
52
#68
camera2 api works on 10.0.5.0!!! yeeees! However i cannot find the suitable gcam version that has front portrait working. any advice on what version to use? oh, and i also already flashed the GCam_FIXPORTRAIT_HDR_JASON.zip file but still no luck. thanks :D
Use this magisk module instead (delete that .txt from the name), it's an amalgamation of many existing modules. At least what you want is covered and working.
 

Attachments

Likes: Depump
Oct 20, 2018
15
1
5
#70
Use this magisk module instead (delete that .txt from the name), it's an amalgamation of many existing modules. At least what you want is covered and working.
Do you have Maximum profile ?

i see your file name is Jason.all.in.one_minimal. or have only minimal no maximum profile.
 
Jul 26, 2013
334
65
52
#71
sorry, just install this module or I need also the old GCam_FIXPORTRAIT_HDR_JASON.zip module?

THX !
Just this one, but having the other active is no harm, just useless as this one is already covered.
Do you have Maximum profile ?

i see your file name is Jason.all.in.one_minimal. or have only minimal no maximum profile.
No, I think minimal here refers to everything cramped into single file, no relation to performance or anything like that.
 
Aug 25, 2018
28
1
5
#75
Hi, guys. Can you explain me whIch GCam version do you use? I need Magisk and flash this last zip module posted by leledumbo? Is it enough to make it work? Thanks a lot!
 
Last edited: