New 8.9.6 MI5X Camera Bug


CantekinErdogan

Members
Jan 23, 2018
125
30
Hi. 5X camera bug.
The normal camera mode is not working properly in case of using the portrait mode previously.
The very first photo(normal mood) after the portrait mood is getting extra zoomed(without any zoom action used by user) and the rest is working properly

https://streamable.com/kln62

8.9.6
 
Did you install anything else except our ROM..? Enabled Camera2API or something else?

Hi.

I've already installed it, but not now. The same error exists after clean installation. The *no-support-for-this-app-on-this-forum* application is installed but does not work because the camera2api is not active.
 
Hi.

I've already installed it, but not now. The same error exists after clean installation. The *no-support-for-this-app-on-this-forum* application is installed but does not work because the camera2api is not active.
You are correct, the "java.lang.NullPointerException: Attempt to get length of null array" error you're getting when launching Pixel2Mod means that Camera2API (aka HAL3) was not enabled.
This issue is our highest priority right now, so let's do some testing.
Flash this ZIP and tell me if the stock camera works (where it crashed before).
https://www.mediafire.com/file/ie2emo7f1wa2avd/Test_MI5X_8.10.18.flashable.zip/file
If that still doesn't work, try flashing the next ZIP and let us know if it worked.
https://www.mediafire.com/file/bdl5qsq39qu4gec/Test2_MI5X_8.10.18.flashable.zip/file
 
You are correct, the "java.lang.NullPointerException: Attempt to get length of null array" error you're getting when launching Pixel2Mod means that Camera2API (aka HAL3) was not enabled.
This issue is our highest priority right now, so let's do some testing.
Flash this ZIP and tell me if the stock camera works (where it crashed before).
https://www.mediafire.com/file/ie2emo7f1wa2avd/Test_MI5X_8.10.18.flashable.zip/file
If that still doesn't work, try flashing the next ZIP and let us know if it worked.
https://www.mediafire.com/file/bdl5qsq39qu4gec/Test2_MI5X_8.10.18.flashable.zip/file

Sorry, I have flashed 2 test files but the result has not changed.
 
Sorry, I have flashed 2 test files but the result has not changed.
Thanks for your time. I'm testing a few other possibilities. Please flash one at a time and let us know if any of those solves your issue.
https://www.mediafire.com/file/6cjjlei4m72ijif/Test3_MI5X_8.10.18.flashable.zip/file
https://www.mediafire.com/file/6cjjlei4m72ijif/Test3_MI5X_8.10.18.flashable.zip/file
https://www.mediafire.com/file/yp8ysxe7ft82wxc/Test5_MI5X_8.10.18.flashable.zip/file
 
Thank you for your attention.

No test 4 zip.
3 did not work.
5 camera crashed. Crash detail



java.lang.VerifyError: Verifier rejected class com.android.zxing.QRCodeManager: void com.android.zxing.QRCodeManager.<clinit>() failed to verify: void com.android.zxing.QRCodeManager.<clinit>(): [0x33] Rejecting invocation, expected 2 arguments, found 1 (declaration of 'com.android.zxing.QRCodeManager' appears in /system/priv-app/MiuiCamera/MiuiCamera.apk)
at com.android.zxing.QRCodeManager.instance(QRCodeManager.java:210)
at com.android.camera.Camera.onResume(Camera.java:650)
at android.app.Instrumentation.callActivityOnResume(Instrumentation.java)
at android.app.Activity.performResume(Activity.java)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java)
at android.os.Handler.dispatchMessage(Handler.java)
at android.os.Looper.loop(Looper.java)
at android.app.ActivityThread.main(ActivityThread.java)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)
 
Test5fix: Crash has improved, the main problem continues.

Test4, the problem continues
OK, we've pretty much narrowed down the issue.
Flash this ZIP to revert all of the changes we've done since the first Test ZIP:
https://www.mediafire.com/file/72r9noqa2jdjgo9/Restore_MI5X_8.10.18.flashable.zip/file
Here's the final test ZIP. If the device boots successfully, check the camera and let us know if it's fixed.
Even if it's fixed, flash the Restore ZIP afterwards, as you will experience a lot of lag while using Test6.
If the device won't even boot at all, even after waiting for a few mintues, just flash Restore again and let me know about it.
https://www.mediafire.com/file/bk3jwowibtbvkbt/Test6_MI5X_8.10.18.flashable.zip/file
 
OK, we've pretty much narrowed down the issue.
Flash this ZIP to revert all of the changes we've done since the first Test ZIP:
https://www.mediafire.com/file/72r9noqa2jdjgo9/Restore_MI5X_8.10.18.flashable.zip/file
Here's the final test ZIP. If the device boots successfully, check the camera and let us know if it's fixed.
Even if it's fixed, flash the Restore ZIP afterwards, as you will experience a lot of lag while using Test6.
If the device won't even boot at all, even after waiting for a few mintues, just flash Restore again and let me know about it.
https://www.mediafire.com/file/bk3jwowibtbvkbt/Test6_MI5X_8.10.18.flashable.zip/file

Test6: The phone was not switched on for more than 15 minutes. I installed the restore file because it didn't open.