removed - Xiaomi Mi 5 Questions & Answers

any way to enable camera2 api in miui 9?

aipbd said:
any way to enable camera2 api in miui 9?
Click to expand...
Click to collapse
Wrong section and already asked in Q&A. Use search!

Root, add persist.camera.HAL3.enabled=1 in build prop. done

Related

[Module] Camera2API enabler

Since Google Camera with HDR+ was ported already, it requires that camera2api to be enabled.
This is done by editing build.prop to add or enable "persist.camera.HAL3.enabled=1".
Note:
This mod only adds camera2api support in the build.prop systemlessly. This does not guarantee modded google camera hdr+ will work on your device.
Axon 7 Users:
Here's a working GCAM that works on my device. However, I don't see any difference with my stock cam hdr. I just use this for slowmo, panorama, photosphere and lens blur effects.
MGCB_7.0H_C2API_Mid_v.3.6_AllinOne_Full_Manual.apk
Requirements:
Android 5.0 & up
Magisk v15
~2014+ Snapdragon SoCs
Instruction:
Add the zip in Magisk Manager -> Modules and reboot.
Or you could also flash it in your custom recovery, TWRP etc.
How to check if it is running:
1. Open terminal and issue command "getprop | grep camera".
If it's running, you should be able to find a line "persist.camera.HAL3.enabled=1". Check attached screenshot for example.
Or
2. Install Camera2 Probe from playstore to check your device's camera capabilities.
UPDATES:
9-15-17:
-added v1400 template
-added camera2api with slowmo fix for Axon 7 users. (I can't guarantee slowmo on other models will work since I used my device's media_profiles.xml file.)
01-25-18
-updated to v1500 template for C2API - Download this file if you only want the HAL3 enabled.
-updated to v1500 template for C2API+slowmo+ (credits to @j1505243)
Credits:
- BSG (4pda)
- @j1505243
Noob question: how do I check in terminal if it's already enabled because in rom included?
vergilbt said:
Noob question: how do I check in terminal if it's already enabled because in rom included?
Click to expand...
Click to collapse
How to check if it is running:
1. Open terminal and issue command "getprop | grep camera".
If it's running, you should be able to find a line "persist.camera.HAL3.enabled 1"
Like this?
vergilbt said:
Like this?
Click to expand...
Click to collapse
Yes.
Unfortunately it did not activate manuals comtrole on my p8lite with Los 13
youwi said:
Unfortunately it did not activate manuals comtrole on my p8lite with Los 13
Click to expand...
Click to collapse
I think this is for snapdragon devices only.
otaconremo said:
I think this is for snapdragon devices only.
Click to expand...
Click to collapse
Yes, and from SD 820+ right?
otaconremo said:
How to check if it is running:
1. Open terminal and issue command "getprop | grep camera".
If it's running, you should be able to find a line "persist.camera.HAL3.enabled 1"
Click to expand...
Click to collapse
I have a G5 which supports it and if I try the command above it does not show the "persist.camera.HAL3.enabled" property. So can we assume that property is specifically to indicate the magisk module is working?
I used this app to check if it was supported already Camea 2 Probe on the play store.
ok how to disable this and revert back to stock ?
causing problem ...
Sent from my ONEPLUS A3003 using XDA Labs
Not working on lenovo zuk z2..... Snapdragon 820
I think the OP should mention that this module is for SD820+ .
Thanks for the effort but still nothing for XZ
josephnero said:
Thanks for the effort but still nothing for XZ
Click to expand...
Click to collapse
Works on my XZ
What is the benefit of getting this mod?
otaconremo said:
Since Google Camera with HDR+ was ported already, it requires that camera2api to be enabled.
This is done by editing build.prop to add or enable "persist.camera.HAL3.enabled=1".
Requirements:
Magisk v13
Instruction:
Add the zip in Magisk Manager -> Modules and reboot.
Or you could also flash it in your custom recovery, TWRP etc.
How to check if it is running:
1. Open terminal and issue command "getprop | grep camera".
If it's running, you should be able to find a line "persist.camera.HAL3.enabled 1"
Click to expand...
Click to collapse
Flashed it on my Lenovo Zuk Z2
Snapdragon 820.
Unfortunately didn't work.
Got really excited for it.
Am i missing anything?
Very noob question is this work on mtk devices
sifatrhmn said:
ok how to disable this and revert back to stock ?
causing problem ...
Sent from my ONEPLUS A3003 using XDA Labs
Click to expand...
Click to collapse
Remove the module in the Magisk Manager app and reboot.
Ariac Konrel said:
Remove the module in the Magisk Manager app and reboot.
Click to expand...
Click to collapse
it doesn't work with my rom like that..
i have to dirty flash the rom again to solve it ..
Sent from my ONEPLUS A3003 using XDA Labs
CStadler said:
What is the benefit of getting this mod?
Click to expand...
Click to collapse
same question, I see no difference on photos.

[PORT] [ROOT] Motorola camera for MI Max 2 with professional mode

Hi,
with reference to this thread ive got motorola camera with professional mode works with mi max 2
ive tested on miui 9.0.1.0 global stable for basic features and it works.
NOTE :
uninstall the other versions of Motorola camera app if you already have it installed
extract apk from the zip and install as normal apk. if doesnt work push it to system
enabling camera 2 api is mandatory for professional mode.
i'm rooted and have installed magisk module to enable camera2 api
credits : @data365. pls hit thanks to this guy on this thread
How to enable camera 2 api as I'm just normal user.
reversegear said:
Hi,
with reference to this thread ive got motorola camera with professional mode works with mi max 2
ive tested on miui 9.0.1.0 global stable for basic features and it works.
NOTE :
uninstall the other versions of Motorola camera app if you already have it installed
extract apk from the zip and install as normal apk. if doesnt work push it to system
enabling camera 2 api is mandatory for professional mode.
i'm rooted and have installed magisk module to enable camera2 api
credits : @data365. pls hit thanks to this guy on this thread
Click to expand...
Click to collapse
How to enable camera 2 api as I'm just normal user. Please explain more sir, Thanks for the precious work & your valuable time!
>How to enable camera 2 api as I'm just normal user. Please explain more sir, Thanks for the precious work & your valuable time!
https://forum.xda-developers.com/showpost.php?p=67814570&postcount=36
follow this
How's the quality of the picture compared to Google camera and miui camera?
Mr.AungBeginner said:
How to enable camera 2 api as I'm just normal user. Please explain more sir, Thanks for the precious work & your valuable time![/Q
---------- Post added at 06:54 PM ---------- Previous post was at 06:51 PM ----------
reversegear said:
Hi,
with reference to this thread ive got motorola camera with professional mode works with mi max 2
ive tested on miui 9.0.1.0 global stable for basic features and it works.
NOTE :
uninstall the other versions of Motorola camera app if you already have it installed
extract apk from the zip and install as normal apk. if doesnt work push it to system
enabling camera 2 api is mandatory for professional mode.
i'm rooted and have installed magisk module to enable camera2 api
credits : @data365. pls hit thanks to this guy on this thread
Click to expand...
Click to collapse
It takes pictures with a green overlay ?
Click to expand...
Click to collapse

How to enable camera2api & Gcam on Rooted stock rom?

Need a noob friendly guide.
google is your friend
live4speed said:
Need a noob friendly guide.
Click to expand...
Click to collapse
Find a magisk module camera2api enabler
get a camera app from here. https://www.celsoazevedo.com/files/android/google-camera/

MIUI 10 can't enable camera2 API?

Dear Redmi 4X users,
I am facing an issue about enabling camera2 API since i update my redmi 4x MIUI 9 to MIUI 10.1 i have try enabling with magisk and modify build.prop but doesnt work, usually on MIUI 9 its work fine.
anyone know another way to enabling camera2 api on redmi 4x MIUI 10.1?
Thanks.
luthfieoii said:
Dear Redmi 4X users,
I am facing an issue about enabling camera2 API since i update my redmi 4x MIUI 9 to MIUI 10.1 i have try enabling with magisk and modify build.prop but doesnt work, usually on MIUI 9 its work fine.
anyone know another way to enabling camera2 api on redmi 4x MIUI 10.1?
Thanks.
Click to expand...
Click to collapse
What error you are getting?
Try editing build prop with different app.
Check if your device properly rooted if not then try again with latest magisk module stable/beta.
metelhammer said:
What error you are getting?
Try editing build prop with different app.
Check if your device properly rooted if not then try again with latest magisk module stable/beta.
Click to expand...
Click to collapse
Error open the google camera app, build.prop has been edited with root explorer and have been saved. my device already rooted by magisk i use magisk v17.1, I have also tried using the "manual camera compatibility test" app to test whether my redmi 4x support camera2 api but the results still do not support, usually at MIUI 9 after edit build prop and I test using "manual camera compatibility test" app the result is supported.
luthfieoii said:
Error open the google camera app, build.prop has been edited with root explorer and have been saved. my device already rooted by magisk i use magisk v17.1, I have also tried using the "manual camera compatibility test" app to test whether my redmi 4x support camera2 api but the results still do not support, usually at MIUI 9 after edit build prop and I test using "manual camera compatibility test" app the result is supported.
Click to expand...
Click to collapse
No, i was talking about what error you are getting when you edit build.prop and not when opening google camera app.
Code:
persist.camera.HAL3.enabled=1
hope you've edited like above.
Try using BuildProp Editor by JRummy Apps used to use this app and it worked always fine without any issue, it also has option to save and backup build.prop.
even if this does not works then try editing on PC.
This is a problem that has been discussed for a while now on other forums. This file, however, worked for me.
https://androidfilehost.com/?fid=11410932744536994926
It's a flashable zip...belongs to Arvanasoft
livingongh325 said:
This is a problem that has been discussed for a while now on other forums. This file, however, worked for me.
https://androidfilehost.com/?fid=11410932744536994926
It's a flashable zip...
Click to expand...
Click to collapse
Wow thats working for me, thanks my gcam is working fine after flash that zip :good::good::good:
Thanks, you saved me too! What 's that discussion you mentioned?
Bro, what version of GCAM you are using?
livingongh325 said:
This is a problem that has been discussed for a while now on other forums. This file, however, worked for me.
https://androidfilehost.com/?fid=11410932744536994926
It's a flashable zip...
Click to expand...
Click to collapse
After flash this, MIUI 10 default camera crash .. how come ?? xiaomi.eu MIUI 10 version latest stable not beta.
But GCam work. Strange .. I'am somewhat happy... at last / at least it works.
Actually, Xiaomi disabled or removed or not implemented camera2api in later releases. That's why Google camera app didn't work. They made their stock camera app somehow differently, so users can't use both gcam or MIUI cam. The flashable zip contains camera files from earlier MIUI ROMs, that enables camera2api. But enabling that means MIUI cam won't work. There's a solution, find MIUI cam mod in XDA threads. It will work fine.
Both work fine on mine. MIUI Greeshan Mod...
livingongh325 said:
Both work fine on mine. MIUI Greeshan Mod...
Click to expand...
Click to collapse
Link please?
What method did you use to activate gcam?
:http://greeshan.ucoz.com/load/roms/xiaomi_redmi_4x/34
I just flashed the zip...
Enabled
livingongh325 said:
:http://greeshan.ucoz.com/load/roms/xiaomi_redmi_4x/34
I just flashed the zip...
Click to expand...
Click to collapse
Thank you very much bro, I'll test and say if it worked
I installed the rom and the zip file of the link, but neither gcam nor miui camera work after that, camera2 probe crashes when trying to open
livingongh325 said:
:http://greeshan.ucoz.com/load/roms/xiaomi_redmi_4x/34
I just flashed the zip...
Click to expand...
Click to collapse
What version of rom are you using? stable or beta? I tested the stable and the beta, it did not work in either of them, does anyone have any idea why it did not work for me and worked for you?
Any updates for MIUI 10.1 global stable on Android 7.0?
In gcam mod 5 video not supposed
I flashed this zip but i want to undo the chenges for some reason. How to do it?
---------- Post added at 04:50 AM ---------- Previous post was at 04:48 AM ----------
livingongh325 said:
This is a problem that has been discussed for a while now on other forums. This file, however, worked for me.
https://androidfilehost.com/?fid=11410932744536994926
It's a flashable zip...belongs to Arvanasoft
Click to expand...
Click to collapse
I flashed this zip,but want to undo the changes for some reason. how to do it?
ojas.sinha said:
I flashed this zip but i want to undo the chenges for some reason. How to do it?
---------- Post added at 04:50 AM ---------- Previous post was at 04:48 AM ----------
I flashed this zip,but want to undo the changes for some reason. how to do it?
Click to expand...
Click to collapse
Check in the modules tab in magisk manager. uninstall it.

Is it possible to run google camera without google framework?

I am on a custom rom without gapp, but google camera can not be open. Is there any way to run it without google framework?
Maybe a stupid question: have you enabled Camera2 API?
MentalBreach said:
Maybe a stupid question: have you enabled Camera2 API?
Click to expand...
Click to collapse
yes, of course, it supports Level_3 camera2 api
imshere said:
I am on a custom rom without gapp, but google camera can not be open. Is there any way to run it without google framework?
Click to expand...
Click to collapse
i have used gcam without gapps but to be safe there are options like " fake store" to spoof Playstore and framework to applications
not all gcam mods work on all devices ...so try different ones .. furthermore on mi x6 there are old , new and MIUI camera libs ..some work for some while others work for others ..so try the different libs

Categories

Resources