ERROR while trying to install gcam on my redmi note 4.. Need help!!

Oct 4, 2016
1
0
0
Hello guys,
Today I tried to install gcam on my Redmi note 4..
I found both gcam mod apk and camera to api enabler and followed the instructions,
But I encountered black screen issue....
So I searched for solutions and found a thread with the same problem...
It had a flashable zip file as solution.
I mistakenly flashed the file without realizing it was for redmi 4 device (not redmi note 4).
and my camera stopped working and showing this error...



java.lang.NoClassDefFoundError: Failed resolution of: Landroid/preference/MiuiCoreSettingsPreference;
at com.android.camera.hardware.QcomCameraProxy.setDenoise(QcomCameraProxy.java)
at com.android.camera.camera_adapter.CameraQcom.qcomUpdateCameraParametersPreference(CameraQcom.java:103)
at com.android.camera.camera_adapter.CameraQcom.updateCameraParametersPreference(CameraQcom.java:377)
at com.android.camera.module.CameraModule.setCameraParameters(CameraModule.java:4342)
at com.android.camera.module.CameraModule$CameraStartUpThread.run(CameraModule.java:415)
Caused by: java.lang.ClassNotFoundException: Didn't find class "android.preference.MiuiCoreSettingsPreference" on path: DexPathList[[zip file "/system/framework/miuistatssdkshared.jar", zip file "/system/framework/cloud-common-runtime.jar", zip file "/system/framework/zxing.jar", zip file "/system/framework/android-support-v7-recyclerview.jar", zip file "/system/framework/android-support-v13.jar", zip file "/system/priv-app/MiuiCamera/MiuiCamera.apk"],nativeLibraryDirectories=[/system/priv-app/MiuiCamera/lib/arm64, /system/lib64, /vendor/lib64, /system/lib64, /vendor/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:74)
at java.lang.ClassLoader.loadClass(ClassLoader.java:380)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
... 5 more

Everything else is working fine except the camera..
please help me fix this.....
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone