Camera2 API on Oreo (Miui10) is possible?


pliniohcc

Members
Sep 14, 2018
2
15
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
 
Last edited:
  • Like
Reactions: Depump and Taoist

Taoist

Members
Dec 12, 2015
66
20
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.
Sent from my Mi Note 3 using Tapatalk
I' on weekly release, i dont want to do a clean install, but for this feature maybe.....
There are face unlock in that rom?
 

angyone1

Members
Aug 7, 2018
96
20
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.

Sent from my Mi Note 3 using Tapatalk
you are sure ? i'm going on twistloop kernel and not working... thank but for me not working... can u help me ? please
 

werty

Members
Jun 13, 2018
397
67
you are sure ? i'm going on twistloop kernel and not working... thank but for me not working... can u help me ? please
Camera2api is not working on Twistloop kernel you should try this on stock. This method will be tested on the next version of LineageOs.
 

pliniohcc

Members
Sep 14, 2018
2
15
you are sure ? i'm going on twistloop kernel and not working... thank but for me not working... can u help me ? please
Like werty said above, I think it only works on stock kernel.

If you want to install *no-support-for-this-app-on-this-forum* you will also need 2 Magisk's modules to make it work properly.

After will do the steps and reboot, install the two modules below on Magisk and reboot again.

After that you may install *no-support-for-this-app-on-this-forum*. I've tested with OP6's *no-support-for-this-app-on-this-forum* and it works perfectly!

Hope I've helped.

More info on the telegram group:
https://t.me/MiNote3Chat

Sent from my Mi Note 3 using Tapatalk
//cloud.tapatalk.com/s/5bcaf76d0b14b/FRONTCAM_FIX_NOAPI_Jason.zip//cloud.tapatalk.com/s/5bcaf7697394d/LOS15.1-Jason-HAL3-Fix.zip
 
  • Like
Reactions: Depump

Depump

Members
Oct 20, 2018
23
15
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

workkkkkkkkkkkkkkkkkkk on 10.0.4.0

Thank you very much

******************************

Have a problem about stock camera after use HDR mode. it will stuck cannot take a photo
 
Last edited:
  • Like
Reactions: fabiomaga

leledumbo

Members
Jul 26, 2013
360
52
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.
 
  • Like
Reactions: fabiomaga

Depump

Members
Oct 20, 2018
23
15
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
 

dimi89

Members
Jul 11, 2013
11
15
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.
 

Kwelf

Members
Nov 7, 2017
2
15
last version

but i have still bug hdr stock camera which i don't use on everyday

ggcam is better
miui10 *no-support-for-this-app-on-this-forum* is better than miui9 *no-support-for-this-app-on-this-forum* now?
 

dimi89

Members
Jul 11, 2013
11
15
miui10 *no-support-for-this-app-on-this-forum* is better than miui9 *no-support-for-this-app-on-this-forum* now?
Not for me . *no-support-for-this-app-on-this-forum* on MIUi 9 is more stable and better quality.

Послато са Mi Note 3 уз помоћ Тапатока
 
  • Like
Reactions: angyone1

angyone1

Members
Aug 7, 2018
96
20
Not for me . *no-support-for-this-app-on-this-forum* on MIUi 9 is more stable and better quality.

Послато са Mi Note 3 уз помоћ Тапатока
yep is true...

guys anyone have tried on new weekly rom if the trick working ? thx
 

angyone1

Members
Aug 7, 2018
96
20
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 !
 

Depump

Members
Oct 20, 2018
23
15
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.
 

angyone1

Members
Aug 7, 2018
96
20
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.
Thanks I will try...