how to enable camera2api in RN5 Pro MIUI 10.2.1.0 - Xiaomi Redmi Note 5 Pro Questions & Answers

Hi,
My camera2api settings lost when I got latest update of MIUI 10.2.1.0 Global Stable.
My RN5 Pro is rooted having TWRP recovery.
Can anyone help?

jahidkhan1978 said:
Hi,
My camera2api settings lost when I got latest update of MIUI 10.2.1.0 Global Stable.
My RN5 Pro is rooted having TWRP recovery.
Can anyone help?
Click to expand...
Click to collapse
I again tried to enable it by running camera2api enabler Magisk module which I got from XDA thread. But still it doesn't work.

jahidkhan1978 said:
I again tried to enable it by running camera2api enabler Magisk module which I got from XDA thread. But still it doesn't work.
Click to expand...
Click to collapse
Download buildpropeditor from playstore https://play.google.com/store/apps/details?id=com.jrummy.apps.build.prop.editor&hl=en_IN
and add the following lines to the buildprop , save it and then reboot.
persist.camera.HAL3.enabled=1
persist.camera.eis.enable=1

jaidev.s said:
Download buildpropeditor from playstore https://play.google.com/store/apps/details?id=com.jrummy.apps.build.prop.editor&hl=en_IN
and add the following lines to the buildprop , save it and then reboot.
persist.camera.HAL3.enabled=1
persist.camera.eis.enable=1
Click to expand...
Click to collapse
Thanks bro. It tried this method and it works. Thanks a lot.

jaidev.s said:
Download buildpropeditor from playstore https://play.google.com/store/apps/details?id=com.jrummy.apps.build.prop.editor&hl=en_IN
and add the following lines to the buildprop , save it and then reboot.
persist.camera.HAL3.enabled=1
persist.camera.eis.enable=1
Click to expand...
Click to collapse
And how about to disable it? Same method?

Remig83 said:
And how about to disable it? Same method?
Click to expand...
Click to collapse
Absolutely no idea, sorry.

jaidev.s said:
Absolutely no idea, sorry.
Click to expand...
Click to collapse
Hello sir ...
Want to ask about camera2api ..
For the record, my device is RN5 and uses Miui 10.0.6.0 and already UBL, also installed Magisk and TWRP applications and already rooted.
- What impact will it have if we activate camera2api via the Magisk application ..?
- Does activating the camera can increase the default camera result (front or rear camera)?
- Does activating the camera, will not affect other applications that require camera access? For example WhatsApp (VideoCall), Google Duo, Facebook Messenger, etc.
Thanks ..

Remig83 said:
And how about to disable it? Same method?
Click to expand...
Click to collapse
Keep the default build prop copy as backup somewhere & replace if you wish to reverse back. Keep in mind default miui camera won't work but all other third party apps will work properly.

Thanks so much

does vilte call work after enabling the camera2api

shamsud said:
does vilte call work after enabling the camera2api
Click to expand...
Click to collapse
Yes, it works

Related

[Overlay] Disable Mobile Data Notification

Hi All
Today i want to share you all a simple modding file to disable annoyed Mobile Data Notification. Flash in recovery
Test on my Z5D, MM 6.0.1 rooted, deodexed.
devilmaycry2020 said:
Hi All
Today i want to share you all a simple modding file to disable annoyed Mobile Data Notification. Flash in recovery
Test on my Z5D, rooted, deodexed.
Click to expand...
Click to collapse
It would be nice if you could disable the Sync pop-up message as well when you turn it OFF/ON from the Notification.
Work for z1?
Glex01 said:
Work for z1?
Click to expand...
Click to collapse
I don't know, just try it and see. Backup before flash file.
I use an xposed module called xphoneplus to disable it. I'm using other xposed modules any way.
venomxob said:
I use an xposed module called xphoneplus to disable it. I'm using other xposed modules any way.
Click to expand...
Click to collapse
You are welcome.
venomxob said:
I use an xposed module called xphoneplus to disable it. I'm using other xposed modules any way.
Click to expand...
Click to collapse
Which module disables this plz ? Does it work in 6.0.1 ?
GryTEcHoG said:
Which module disables this plz ? Does it work in 6.0.1 ?
Click to expand...
Click to collapse
Xphone plus disables it. It works on 6.0.1. I'm currently using it on stock .575
Work on my M2 2303 5.1.1 nice.
Works on MM beta .238 Z3C (manual install)
devilmaycry2020 said:
Hi All
Today i want to share you all a simple modding file to disable annoyed Mobile Data Notification. Flash in recovery
Test on my Z5D, MM 6.0.1 rooted, deodexed.
Click to expand...
Click to collapse
Works fine by manual install.
Flashing zip did not work.
Thanks!
@devilmaycry2020,want to ask,if want remove it permanently,which apk should be edited sir?
Mirza_H said:
@devilmaycry2020,want to ask,if want remove it permanently,which apk should be edited sir?
Click to expand...
Click to collapse
It's permanent already mate. It's a easy method. If you don't want to use this method you can edit file TeleService.apk. I've tried to edit TeleService.apk before but it's seem have problem with sim card. It didn't recognize carriers network.
I use module in Xposed
DTN Disabler
https://goo.gl/tgT65g
devilmaycry2020 said:
It's permanent already mate. It's a easy method. If you don't want to use this method you can edit file TeleService.apk. I've tried to edit TeleService.apk before but it's seem have problem with sim card. It didn't recognize carriers network.
Click to expand...
Click to collapse
thanks, I just want to try it without using this overlay, but I've tried to use this overlay and it works well .
another xposed module to look into would be notify clean, works for all android notifications.
working on m4 aqua (e2306) 6.0.1
the zip is installing the overlay in /system/oem/overlay
that folder is not used in many roms, the real one is /system/vendor/overlay
that's why is not working in some models
thanks for sharing!!
sergioslk said:
working on m4 aqua (e2306) 6.0.1
the zip is installing the overlay in /system/oem/overlay
that folder is not used in many roms, the real one is /system/vendor/overlay
that's why is not working in some models
thanks for sharing!!
Click to expand...
Click to collapse
Thanks for the info. Just update the right file.
Thank you @devilmaycry2020 .. now it works on my Xperia Z2...

ONEPLUS 5 Camera for Moto g4 plus (updated)

This is the new oneplus camera app
All features are working
Camera 2 api required for pro mode
Panorama not work on camera 2 it fully working on camera 1api
Aby lad said:
All features are working except manual mode and panorama
I think our Moto camera app is better than oneplus camera app
Click to expand...
Click to collapse
Are you on stock rom..becoz the camera screen appears to be black on RR latest build
Soham Biswas said:
Are you on stock rom..becoz the camera screen appears to be black on RR latest build
Click to expand...
Click to collapse
Yes
Camera2 api needed
Aby lad said:
Camera2 api needed
Click to expand...
Click to collapse
I apologise but .
What is that i don't know.. Please give a link if possible.
Is it this code?
persist.camera.HAL3.enabled=1
Pasted it on build prop..but not working ?
Soham Biswas said:
I apologise but .
What is that i don't know.. Please give a link if possible.
Is it this code?
persist.camera.HAL3.enabled=1
Pasted it on build prop..but not working
Click to expand...
Click to collapse
persist.camera.HAL3.enabled=1 enables camera 2 but in rr or other custom rom it's not working.
I can see only a black screen with a toast notification "unknown error"
Ashokk8 said:
I can see only a black screen with a toast notification "unknown error"
Click to expand...
Click to collapse
It's working
.
You should have mentioned about root.
Make clear OP before posting
Soham Biswas said:
I apologise but .
What is that i don't know.. Please give a link if possible.
Is it this code?
persist.camera.HAL3.enabled=1
Pasted it on build prop..but not working
Click to expand...
Click to collapse
In custom rom for our device camera2 is not working .
Not works in du...
Sent from my Moto G4 Plus using XDA-Developers Legacy app
Aby lad said:
persist.camera.HAL3.enabled=1 works on any custom rom .
Click to expand...
Click to collapse
Where do you edit that code? Do you have any source?
pissgoat said:
Where do you edit that code? Do you have any source?
Click to expand...
Click to collapse
This only enables camera 2 but Hals,libs,drivers are also required for camera 2 to work
which one to install?
Aby lad said:
All features are working except manual mode and panorama
I think our Moto camera app is better than oneplus camera app
Camera2 required
Click to expand...
Click to collapse
Among the 2 file, which one should i install?
Rajeshkm said:
Among the 2 file, which one should i install?
Click to expand...
Click to collapse
Both are working .
Aby lad said:
All features are working except panorama.
Updated file has pro mode working .
Camera2 required
Raw image
Click to expand...
Click to collapse
How to enable camera2api?
iSpringrolls said:
How to enable camera2api?
Click to expand...
Click to collapse
Add this line in build prop
persist.camera.HAL3.enabled=1
Has someone been able to correctly take a RAW photo? If the answer is yes, how? My ROM has camera2 enabled, and I've tried some apps but all of them end up giving a DNG file that cannot be edited or opened. This camera didn't even created a file!
sagalfisz said:
Has someone been able to correctly take a RAW photo? If the answer is yes, how? My ROM has camera2 enabled, and I've tried some apps but all of them end up giving a DNG file that cannot be edited or opened. This camera didn't even created a file!
Click to expand...
Click to collapse
DNG is the universal raw format from Adobe. Use Lightroom or Photoshop to edit it.
strongst said:
DNG is the universal raw format from Adobe. Use Lightroom or Photoshop to edit it.
Click to expand...
Click to collapse
That Is my issue! I take the pictures, and then every editor in existence fails to open them saying that they can't be opened or that they are corrupt. So I guessed I was doing something wrong or using the wrong apps. Which camera are you using? This one?

Camera of MZP on custom rom

Hey guys, is possible to have the mzp stock camera in a custom rom (RR rom) ?
Cheers.
Choqolate Puma said:
Hey guys, is possible to have the mzp stock camera in a custom rom (RR rom) ?
Cheers.
Click to expand...
Click to collapse
Try this
Note:- it's not flashable zip, just extract it and install APK
jatinkhatri said:
Try this
Note:- it's not flashable zip, just extract it and install APK
Click to expand...
Click to collapse
Hey thanks for reply.
When i install the apk and open it i have this message "Device not supported" :s
R u on RR N ?
@jatinkhatri will this flashable zip provide stock or almost stock camera quality ? Also, will it work on android N ?
gougous3 said:
@jatinkhatri will this flashable zip provide stock or almost stock camera quality ? Also, will it work on android N ?
Click to expand...
Click to collapse
I found this[attached] on XDA and it works fine on 7.1.2 ROM
Near to stock quality
Note:- it's not flashable zip ... Just extract it and install it as normal APK file
@jatinkhatri That's cool, thanks. Is there any bugs ? Can you use the frontal flash with it ?
Also, not wanting to abuse, could you please try to enable the camera2 API with it (through that build.prop method) and see if it is indeed available to the apps (there's an app for that AFAIK) ?
gougous3 said:
@jatinkhatri That's cool, thanks. Is there any bugs ? Can you use the frontal flash with it ?
Also, not wanting to abuse, could you please try to enable the camera2 API with it (through that build.prop method) and see if it is indeed available to the apps (there's an app for that AFAIK) ?
Click to expand...
Click to collapse
As of date I didn't face any bug ....
I don't think camera2 API will work ....
Does Camera2 api work with stock ROM ? Just asking I'm not sure about that can you please confirm ?
@jatinkhatri I don't have the phone with me right now so I can't speak. From my research though, it seems to not be enabled by default on the stock ROM, thus me asking you to try to enable it on build.prop (adding "persist.camera.HAL3.enabled=1" to it and rebooting)
gougous3 said:
@jatinkhatri I don't have the phone with me right now so I can't speak. From my research though, it seems to not be enabled by default on the stock ROM, thus me asking you to try to enable it on build.prop (adding "persist.camera.HAL3.enabled=1" to it and rebooting)
Click to expand...
Click to collapse
Ok I will test it .... Though I'm not on stock ROM .... I'm on RR 7.1.2
But let us see what happens
I like the moto camera but I had a little problem which is unable to save photos to sd card the option is greyed out. Running xenon hd rom
@jatinkhatri So, what were your results ?

FM Radio Magisk module

Test version (I don't own this device).
Flash in Magisk Manager.
This module sets selinux to permissive.
Only for stock ROM.
https://1drv.ms/u/s!AnNVEh3KeCSVj-IKOvQ_qpynrgRtwg
Any possibility to have FM radio app working without root? For example adb flashable zip..
Sorry, can u explaint more about it... thanks alot !!!
assal said:
Sorry, can u explaint more about it... thanks alot !!!
Click to expand...
Click to collapse
If you have Magisk installed flash it thru the Magisk app.
cheeze.keyk said:
If you have Magisk installed flash it thru the Magisk app.
Click to expand...
Click to collapse
Thanks but is it needed a radio app? or the module inclusive it?
assal said:
Thanks but is it needed a radio app? or the module inclusive it?
Click to expand...
Click to collapse
It's already included.
Thanks to @ture71 for providing files and testing.
Last ROM version:
https://1drv.ms/u/s!AnNVEh3KeCSVj-IMmFn70SaUDCEb8g
I installed this module.After installing this module, I have the video stretched to full screen.removed this module, everything became normal.what is the problem?sorry for english
install this apk https://drive.google.com/file/d/0B4sAcI5G6CpxNXFTZm9nSGhIdWM/view, you need root access and the headphones plugged in.
If using a treble gsi rom installing this module will lead in a bootloop! Tried with RR and Omni!
Voodoojonny said:
If using a treble gsi rom installing this module will lead in a bootloop! Tried with RR and Omni!
Click to expand...
Click to collapse
This module is only for stock ROM.
sipollo said:
This module is only for stock ROM.
Click to expand...
Click to collapse
Perhaps you can write it in op...
Ok, tried on stock! It works, but not recommending. This one creates different problems:
1. Random reboots - mostly when using an app which needs full screen
2. Picture in fullscreen not centered on screen - on top some info missing...
Disabling module fixes the problems
Voodoojonny said:
Ok, tried on stock! It works, but not recommending. This one creates different problems:
1. Random reboots - mostly when using an app which needs full screen
2. Picture in fullscreen not centered on screen - on top some info missing...
Disabling module fixes the problems
Click to expand...
Click to collapse
I don't own this device. If you upload your services.jar (disable module first) I can try to make a more compatible version. Copy file from adb with /system mounted as read-only.
Voodoojonny said:
Ok, tried on stock! It works, but not recommending. This one creates different problems:
1. Random reboots - mostly when using an app which needs full screen
2. Picture in fullscreen not centered on screen - on top some info missing...
Disabling module fixes the problems
Click to expand...
Click to collapse
This module works sure with last firmware and September OTA update....check firmware and OTA.....
Mi A2 Lite (daisy).
Does anyone know which magisk module "Dolby Atmos Oreo" works on MI A2?
These files (links) does not work, cause infinite loop. And you will have to uninstall the magisk to resolve and then just install the magisk again.
https://forum.xda-developers.com/android/software/app-dolby-atmos-axon-7-oreo-port-t3740508
https://androidfilehost.com/?fid=673956719939820999
http://prntscr.com/l77tt8
https://zackptg5.com/android.php#aml
https://zackptg5.com/downloads/Audio-Modification-Library_v1.8.1.zip
https://zackptg5.com/downloads/Dolby-Atmos-Axon7-Oreo_09.20.2018.zip
sipollo said:
I don't own this device. If you upload your services.jar (disable module first) I can try to make a more compatible version. Copy file from adb with /system mounted as read-only.
Click to expand...
Click to collapse
Hey that sounds great. I uploaded the services.jar via gdrive
Really aprreciate your engagement! Thank you!
---------- Post added at 03:21 PM ---------- Previous post was at 03:20 PM ----------
ture71 said:
This module works sure with last firmware and September OTA update....check firmware and OTA.....
Click to expand...
Click to collapse
Yes it works, as I said... But creates problems... I´m on sept. ota...
Voodoojonny said:
Hey that sounds great. I uploaded the services.jar via gdrive
Click to expand...
Click to collapse
Try this and let me know if it works:
https://1drv.ms/u/s!AnNVEh3KeCSVj-IMmFn70SaUDCEb8g
sipollo said:
Try this and let me know if it works:
https://1drv.ms/u/s!AnNVEh3KeCSVj-IMmFn70SaUDCEb8g
Click to expand...
Click to collapse
Works and all problems solved! Thank you very much!
Missing RDS
sipollo said:
Try this and let me know if it works:
https://1drv.ms/u/s!AnNVEh3KeCSVj-IMmFn70SaUDCEb8g
Click to expand...
Click to collapse
Thank you, it seems to work well.
But it hasn't RDS support (to show station's names)
Is there a way to enable RDS?

Fixed Viper4Android for MI A2 Lite

Hey guys! I created a Viper4Android version that doesn't breaks WIFI and/or Camera.
Other V4A versions needs to be uninstalled.
Link: https://drive google.com/open?id=1NCSuF9LH4XkZKSeFdYDo1Xh05Rb05Jxm
Jusp put the dot on the "drive google"
Install the zip as a Magisk Module
Gustavo_Jadson said:
Hey guys! I created a Viper4Android version that doesn't breaks WIFI and/or Camera.
Other V4A versions needs to be uninstalled.
Link: https://drive google.com/open?id=1NCSuF9LH4XkZKSeFdYDo1Xh05Rb05Jxm
Jusp put the dot on the "drive google"
Click to expand...
Click to collapse
Thanks, unfortunately it's not possible to install it. It's stuck at "patching existing audio effects files" in TWRP.
Veran125 said:
Thanks, unfortunately it's not possible to install it. It's stuck at "patching existing audio effects files" in TWRP.
Click to expand...
Click to collapse
This is a Magik Module, not a flashable zip.
Gustavo_Jadson said:
This is a Magik Module, not a flashable zip.
Click to expand...
Click to collapse
Magisk Manager shuts down every time I want to add a module. I can only add the ones that you can download in the app.
Veran125 said:
Magisk Manager shuts down every time I want to add a module. I can only add the ones that you can download in the app.
Click to expand...
Click to collapse
Is the Magisk updated? Try to reinstall it or download it from official thread.
Gustavo_Jadson said:
Is the Magisk updated? Try to reinstall it or download it from official thread.
Click to expand...
Click to collapse
I needed a file manager(apart from the google one), that was the reason, so it was my bad. But now it works, thanks a lot. Any particular reason why you haven't used the rewritten version of V4A(2.7.0.1)?
Don't need it, got hardware Snapdragon audio + working on mi a2 lite
Veran125 said:
Magisk Manager shuts down every time I want to add a module. I can only add the ones that you can download in the app.
Click to expand...
Click to collapse
Have you enabled storage for magisk? That would cause a force close if it don't have permission
boe323 said:
Don't need it, got hardware Snapdragon audio + working on mi a2 lite
Click to expand...
Click to collapse
Give me link guy
Gustavo_Jadson said:
Hey guys! I created a Viper4Android version that doesn't breaks WIFI and/or Camera.
Other V4A versions needs to be uninstalled.
Link: https://drive google.com/open?id=1NCSuF9LH4XkZKSeFdYDo1Xh05Rb05Jxm
Jusp put the dot on the "drive google"
Install the zip as a Magisk Module
Click to expand...
Click to collapse
Great work. Are you planning to make the same module with the latest version of V4A?
Does this works for custom roms? Cause i've got bootloop when install it. I'm using crDroid rom
Jebreto08 said:
Does this works for custom roms? Cause i've got bootloop when install it. I'm using crDroid rom
Click to expand...
Click to collapse
Yes, it works
Google play protect says viper4android tried to bypass android security system. Uninstalled because of this.
well, v4a installs different libraries and drivers for the phone, ofc. google security is complaining about.
i mean it's like you try to install non certified drivers on your windows 10 pc, it won't let you do it unless u deactivated the security feature for it.
Running on AOSIP with DragonHeart kernel. There was no need to install audio library or audio patch. WiFi, Cameringo and MGCcam work correctly. Thank you.
dt2w is not working anymore after flashing it with magisk.
Gustavo_Jadson said:
Hey guys! I created a Viper4Android version that doesn't breaks WIFI and/or Camera.
Other V4A versions needs to be uninstalled.
Link: https://drive google.com/open?id=1NCSuF9LH4XkZKSeFdYDo1Xh05Rb05Jxm
Jusp put the dot on the "drive google"
Install the zip as a Magisk Module
Click to expand...
Click to collapse
I've just installed this module from Magisk menu, it installed correctly but no app on menu after restart, module appears on Magisk modules but no GUI app.
---------- Post added at 07:38 PM ---------- Previous post was at 07:31 PM ----------
Gustavo_Jadson said:
Hey guys! I created a Viper4Android version that doesn't breaks WIFI and/or Camera.
Other V4A versions needs to be uninstalled.
Link: https://drive google.com/open?id=1NCSuF9LH4XkZKSeFdYDo1Xh05Rb05Jxm
Jusp put the dot on the "drive google"
Install the zip as a Magisk Module
Click to expand...
Click to collapse
I've just installed this module from Magisk menu, it installed correctly but no app on menu after restart, module appears on Magisk modules but no GUI app.
boe323 said:
Don't need it, got hardware Snapdragon audio + working on mi a2 lite
Click to expand...
Click to collapse
Bro, can you link me up?

Categories

Resources