Problem in enabling camera 2 api - Xiaomi Redmi 6 Pro Questions & Answers

I have flashed several zips through recovery even tried magisk and command prompt method but camera 2 api is still not enabled,help!

Cam 2api
Goto Vendor>build prop> edit build prop and paste this code"persist.vendor.camera.HAL3.enabled=1"
You will get cam 2api enabled.

Related

Specific Gcam crashing

Hi, I have recently came back to stock after trying some roms.
I have enabled the needed things for a Gcam and left the bootloader unlocked.
I tried downloading the MGC_6.1.021_BSG_Arnova_TlnNeun_V1.3.030119.0645 apk from this site https://www.celsoazevedo.com/files/android/google-camera/
but after opening the app it crashed. I tried Arnova's v8.3b1 Gcam and it worked so Gcam should work. I also tried clearing the app's storage and cache.
Any idea why it is crashing?
Thanks.
orma1 said:
Hi, I have recently came back to stock after trying some roms.
I have enabled the needed things for a Gcam and left the bootloader unlocked.
I tried downloading the MGC_6.1.021_BSG_Arnova_TlnNeun_V1.3.030119.0645 apk from this site https://www.celsoazevedo.com/files/android/google-camera/
but after opening the app it crashed. I tried Arnova's v8.3b1 Gcam and it worked so Gcam should work. I also tried clearing the app's storage and cache.
Any idea why it is crashing?
Thanks.
Click to expand...
Click to collapse
What have you done to enable the things needed for gcam? Rooted? Camera2 API enabled? Provide more information and you will more likely get an answer.
Working great for me after using the config file edited for Tolyan's apk. Seems like a default setting issue.
Copy attached xml contents in /data/data/org.codeaurora.snapcam/shared_prefs/ prefs file (biggest one). Force close app and launch again
nahuelvvn said:
Working great for me after using the config file edited for Tolyan's apk. Seems like a default setting issue.
Copy attached xml contents in /data/data/com.aurora.snapcam/shared_prefs/ prefs file (biggest one). Force close app and launch again
Click to expand...
Click to collapse
I don't have this folder in my phone what should I do?
cheffy11 said:
What have you done to enable the things needed for gcam? Rooted? Camera2 API enabled? Provide more information and you will more likely get an answer.
Click to expand...
Click to collapse
I used a guide from the forums here.
what I did was unlock the bootloader, boot twrp, flash magisk, install magisk manager.
then I used those commands:
adb shell
su
setprop persist.camera.HAL3.enabled 1
setprop persist.vendor.camera.HAL3.enabled 1
setprop persist.camera.stats.test 5
setprop persist.vendor.camera.stats.test 5
setprop persist.camera.eis.enable 1
exit
exit
then I uninstalled magisk.
but I didn't lock the bootloader, as I wanted to see it was working.
According to Camera2 probe It worked as my support level is LEVEL_3.
orma1 said:
I don't have this folder in my phone what should I do?
Click to expand...
Click to collapse
My folder was named "org.codeaurora.snapcam"
Wyroczen said:
My folder was named "org.codeaurora.snapcam"
Click to expand...
Click to collapse
this is the correct package name, sorry for typo
Works also for any cam mod that crashes, search data/data/ for any cam folder
nahuelvvn said:
this is the correct package name, sorry for typo
Works also for any cam mod that crashes, search data/data/ for any cam folder
Click to expand...
Click to collapse
I found a folder by the name of org.codeaurora.snapcam in andoird/data. Tried moving the xml to there and it didn't work.
Am I missing something? I can't find the data folder.
Maybe I need root access to find this folder?
Thanks
edit: I was able to find the loaction of the file by having root.
changing it didn't work.
I found another gcam that is working and also don't have green tint so i will use this one instead.
Thanks for the help
nahuelvvn said:
Working great for me after using the config file edited for Tolyan's apk. Seems like a default setting issue.
Copy attached xml contents in /data/data/org.codeaurora.snapcam/shared_prefs/ prefs file (biggest one). Force close app and launch again
Click to expand...
Click to collapse
Thanks, friend!
With this I was able to use Arnova's mods again :good:
Do I have to set back camera to 9MPX in order to get Autofocus to work on Pie Havoc 2.2 latest version with Moun Kernel on latest firmware ?
Preinstalled camera version is: Pixel2Mod-Arnova8G2
Thank you.

[Magisk Module] enable Camera2api

This module adds in the system.props the two lines necessary to enable camera2api :
persist.camera.HAL3.enabled=1
persist.camera.eis.enabled=1
BR
mbgheban said:
This module adds in the system.props the two lines necessary to enable camera2api :
persist.camera.HAL3.enabled=1
persist.camera.eis.enabled=1
BR
Click to expand...
Click to collapse
Thanks for this.
Am I correct in assuming you made this to work with Magisk v18.1? I assume this based on MAGISK_VER_CODE inside update-binary. I'm trying to load it using Magisk v20.1 and it just freezes. Could I make it v20.1 compatible simply by adjusting MAGISK_VER_CODE?
Apologies if it's a real n00b question. I'm new to Magisk, although I read up on the common issues (Module Issues) and "Outdated Template" could be what I'm seeing.
EDIT: Never mind, it's now working, but not sure why it froze initially, and why it's working now. Sorry for the bother.
EDIT2: Actually, it claimed to have succeeded, but after I rebooted I see it hasn't actually made the changes. Will keep toying...
EDIT3: After accidentally wiping my data; I re-flash stock ROM image, but this time skipping the PIN/Fingerprint setup. Encryption appears to be off now, and the module now works. So it appears Magisk modules don't work with encryption enabled.
Hi, I'm using it with Magisk 20.1 without issues.
Magisk does not modify system files ,so you will not see the changes in system.prop or build.prop.
After loading the module and reboot you can check whit this app from GoglePlay: https://play.google.com/store/apps/details?id=com.airbeat.device.inspector
Sent from my Mi A2 Lite using Tapatalk

Error 1 when trying to install any zip file

I was trying to unlock camera2 api on my phone but every attempt ends with "Updater process ended with ERROR: 1". I tried a few other files but it ended the same way. Changing from TWRP to OrangeFox doesn't help as well. Is there any way to make something with it without root?
If I'm not wrong you can use any build prop editor to enable camera2api as well. There are several threads where you can find the strings to manipulate.
Tischbein said:
If I'm not wrong you can use any build prop editor to enable camera2api as well. There are several threads where you can find the strings to manipulate.
Click to expand...
Click to collapse
Build prop editors need root and I can't do it through ADB because when I'm entering recovery pc stops detecting my phone in ADB.
KapitanSuchar said:
Build prop editors need root and I can't do it through ADB because when I'm entering recovery pc stops detecting my phone in ADB.
Click to expand...
Click to collapse
Clean install then, editing build.prop requires root

Question magiskhide props config bootloop

Hi, i've messed up my device! I've rooted my f3 (enhanced 12.5.7.0 GLOBAL) with magisk and attempted to get google call screening working by changing props using magiskhide props config module. I've set my device fingerprint to pixel 5 and set the device emulation/simulation options by following another thread (admittedly a oneplus thread).
How can I get Google dialer's call screening?
Has anyone been able to get Google's call screening to work? I've seen some guides for older OnePlus devices, I was wondering how it would work for the 9.
forum.xda-developers.com
Now i'm stuck in a bootloop, however if i flash the stock boot.img i can boot into the OS and my phone works as normal but obviously without magisk and root.
Now if i uninstall magisk app then try to reflash the magisk patched boot.img to try to get root i get bootloops again. Is there a way i can revert the fingerprint/emulation settings somehow without root or access to magisk or edit props without root? When i flash the standard boot.img does this reset the fingerprint and device emulation setting but when i reflash magisk pathed boot.img this reactivates the props changes i made with magisk?
Can someone help!
I have attempted to boot into safe mode using the recovery menu, which should disable all magisk modules?, but no joy. The phone booted into safe mode for about 10 seconds then shut off and went back into recovery mode/meu.
Magisk - Installation and troubleshooting:Magisk and MagiskHide Installation and Troubleshooting guide
www.didgeridoohan.com
As per the documentation it says i can create a "disable_mhpc" file and place it on the device but i don't have root and i also don't have /data/cache in the root folder only /android/data/cache. Also what file type is this? an empty .txt file or does it need to have commands within it?
MagiskHidePropsConf/README.md at master ยท Magisk-Modules-Repo/MagiskHidePropsConf
This tool is now dead... Contribute to Magisk-Modules-Repo/MagiskHidePropsConf development by creating an account on GitHub.
github.com

Question [SOLVED] OnePlus Camera crashing after installation of module (Oxygen OS 13)

Installed the systemless Pixel Launcher for Android 13 just to be met with my home screen layout being messed up & the camera app not working. I've uninstalled this module and entered safe mode to test to no avail. Any solutions?
Update: Uninstall and use the " adb install -t" command with this apk.

Categories

Resources