Camera needs 5 seconds to switch between rear and front view - Xiaomi Mi A1 Questions & Answers

Hello all,
like I have already written in subject: The camera (tried with different camera apps) takes around 5 seconds to switch between rear and front view. This is normal behaviour? For me it takes a little bit too long ?!
Is there any solution for this issue? It seems that this happens after upgrading to Oreo 8.0 but not sure.
Using an unlocked and rooted device with Oreo 8.0 security patches march.
Thank you for any advice !

newone1985 said:
Hello all,
like I have already written in subject: The camera (tried with different camera apps) takes around 5 seconds to switch between rear and front view. This is normal behaviour? For me it takes a little bit too long ?!
Is there any solution for this issue? It seems that this happens after upgrading to Oreo 8.0 but not sure.
Using an unlocked and rooted device with Oreo 8.0 security patches march.
Thank you for any advice !
Click to expand...
Click to collapse
Have u enabled camera2api? If yes that's the culprit..install oreo cam lag fix module from magisk to fix it

I believe it is related more to Magisk than to camera2api. In each case, fix is the same Use this module https://github.com/Magisk-Modules-Repo/MI-A1-Camera-Startup-Lag-Oreo or just run this command at boot as root
Code:
magiskpolicy --live "allow hal_camera_default * * *"

Yeah! Installing the Camera Lag Fix Module for Oreo fix the problem. Many thanks!

Related

Camera Error

Hi people:
I bought a Xperia X Compact 2 weeks ago. It seems to be a "journalist and commercial" terminal, as it came with version 6.0.1 of Android and did not allow updates via OTA.
I've used FlashTool to put another version of Firmware, the 7.1.1, and everything looks perfect, until I'm going to make a photo.
In the screen is observed to make the photo and I see the "picture" to take, but the touch button of the screen is not working. From that moment, the mobile starts to spend a lot of battery and the photo is not done. If you force the camera to front, a photo comes out completely in green.
I've put ROM 6.0.1 (Journalist and Commercial) back in, but the camera no longer works.
I have not done root.
EDITED:
Sorry. I lost DRM and the problem solved when I install patched Kernel. Problem is solved and I have 7.1.1 "with" DRM.
Thank you for your help
I have the same problem now , anyone know how to repair it
I might be having exactly the same problem. How did you get (and install) the patched kernel?
Thanks.

ZE500KL takes 3+ minutes to reboot (having many lag during everyday use)

Hi all.
My Zenfone 2 laser (not rooted cause it's under warranty till march 2018) it's a little lag and takes 3+ minutes for a reboot.
There is a way to solve this issue?
I know about trim command for ssd(learned a lot to upgrade my laptop with an ssd) so I searched for nand memories of mobile devices.
May be Trim command in stock version Asus Android(MM) doesn't work for a bug.
In your opinion there is something I can do?
Thank you
MezzaLuna said:
Hi all.
My Zenfone 2 laser (not rooted cause it's under warranty till march 2018) it's a little lag and takes 3+ minutes for a reboot.
There is a way to solve this issue?
I know about trim command for ssd(learned a lot to upgrade my laptop with an ssd) so I searched for nand memories of mobile devices.
May be Trim command in stock version Asus Android(MM) doesn't work for a bug.
In your opinion there is something I can do?
Thank you
Click to expand...
Click to collapse
You can downgrade to any other version if the problem has arised after update. Even I had this problem factory reset had reduced the boot time to some extent.
Ashish8017 said:
You can downgrade to any other version if the problem has arised after update. Even I had this problem factory reset had reduced the boot time to some extent.
Click to expand...
Click to collapse
Thank you for your kind reply.
The problem is not related to an update (the last ones I received is a security patch of December 2016... ).
I was guessing if the problem it's the trim command not working properly.

Camera frozen/green after a year of working fine

When I open the Camera and try to take a photo, it insta-freezes the Camera app. If I try and take or even focus on a front-facing photo, or try and use any other app to take a photo, I just get a green screen. I know this is normally a symptom of rooting/DRM but see below. In the past I have sometimes had this freezing happen but it is resolved with a reboot. Now it's not going away even with 4 reboots.
My X Compact is running on 7.1.1, patch level June 1 2017, kernel 3.10.95-Genesis-Kernel-v1.05. Magisk 16. Originally had been able to take a TA backup before unlocking the bootloader. Applied the appropriate fix at the time and have not had ongoing camera problems until now.
(Yes I know I could be on Oreo by now but the phone has otherwise been so stable I didn't want to mess with it.)
I can also confirm that under Service Tests > Security I have:
WIDEVINE [Key OK] [Active]
CKB [Key OK] [Active]
FIDO_KEYS : Provisioned
Can anyone think of a reason why I'm abruptly getting this issue when I didn't have it before and haven't changed the firmware in months?
Just wanted to add, it's been like this all day now. I tried switching Magisk to core-only mode but that has not helped.

[HELP] stock camera app auto focus not working

As the title says, the autofocus function on the camera doesn't work anymore. The way it works is like it's stuck on 'macro' mode, changing to manual mode and manually trying to focus further distances doesn't work.
I've already reset the device to factory settings, but it still persists, which leads me to believe it's either hardware related ( not likely at all, the only time I dropped the phone was 2/3 days of getting it in oct2017 and only got a crack bottom screen part ) or software related (but at a rom level, i've noticed it a couple days ago after updating to february sec. patch).
I would like to not get dirty into modding the phone and installing custom roms, but, I can get to do it (thinking something like LOS would be a good fit) as I've fiddled with other xiaomi devices before and what not ( and if that fixes it ).
Here are some results of the photos taken for now...
https://imgur.com/gmhksX3
https://imgur.com/n0Z1Vx7
https://imgur.com/MA9hAb4
https://imgur.com/AIqxoL3
PS: It's been a while since I've got my hands dirty with installing custom roms and what not, although not everything is unknown to me for this device ( I've unlocked the bootloader before, and know what happens when I'll need to unlock it again, etc... )
Edit: just noticed my sig says i'm with Oreo, but I'm with Pie (5-feb patch).
Portrait mode works?
Try stock rom installed in fastboot mode
punktnet said:
Portrait mode works?
Try stock rom installed in fastboot mode
Click to expand...
Click to collapse
Yep, "depth" option works fine. even using the wide angle sensor works... it's like it's stuck focusing macro, and what's even more odd is manual mode not working too (if it was a bit of dust on the lens or something like that, manual mode would "ignore" that)...
Do you have links for fastboot stock android pie rom ?
No, sorry, just use search function.
same
I have the same problem, can you solved it?

[G950U] Need help disabling biometrics except fingerprint

Hello guys! I have a Samsung S8 G950u1 device, currently on 9.0 pie. My front cam broke and doesn't work. Since it stopped it also broke the rear cam(it says it's already used by another app). I deleted all camera apps from phone( even the stock one, from adb ) and it is still broken. I figured the only thing left that could cause it is because of the Iris/Face recognition features. How can I get rid of them? Should I re-compile a kernel without those, or should I just mount system on my PC, get settings.apk mod it without those options and try it out? I don't think doing only that would be enough and I really hope someone point to me the right direction. Btw rear cam works when I test it on 'factory binary'. Thank you in advance guys!

Categories

Resources