Proximity sensor problem - Xiaomi Mi A3 Questions & Answers

I have propblem. I installed the stock android 10 and after that my proximity sensor stoped working. During the call, screen wasnt turn off thus I downgraded. Now I am using stock android 9. It still not working. I dont know if the 10 stoped the prox. Hardware. How I can solve that problem. Should I need to wait for the new update or It can be a hardware problem. I formated many times It did not work. I reset no way. I entered to the hw check it says "not support this sensor". When I searched cominity. For note 8 after oupdate the hw passed the test. What to do?

I found a way but I need persist.img file. How can I find that file for mi a3

mehalaktas said:
I have propblem. I installed the stock android 10 and after that my proximity sensor stoped working. During the call, screen wasnt turn off thus I downgraded. Now I am using stock android 9. It still not working. I dont know if the 10 stoped the prox. Hardware. How I can solve that problem. Should I need to wait for the new update or It can be a hardware problem. I formated many times It did not work. I reset no way. I entered to the hw check it says "not support this sensor". When I searched cominity. For note 8 after oupdate the hw passed the test. What to do?
Click to expand...
Click to collapse
I have the same issue. The value for Proximity sensor in Hardware test (*#*#64663#*#*) is -1.

mehalaktas said:
I found a way but I need persist.img file. How can I find that file for mi a3
Click to expand...
Click to collapse
You can find persist.img inside the stock fastboot rom. The guys at 4pda also posted a download link of the persist.img and also a tutorial on how to flash it using twrp.

Related

Sensors stopped working - Help!

Hi everyone, I'm facing a severe issue with my Redmi Note 3 (Snapdragon variant).
Few days ago I noticed that the screen wasn't auto-rotating anymore, but I tought it was a temporary problem of my ROM (AICP official, latest nightly), so I passed by.
Yesterday I tried to format the phone from recovery and reinstall the ROM, without luck, the rotation wasn't working.
Then I tried to reset to the fastboot ROM (MIUI 7 6.3.17) through Mi Flash, I booted, and... now EVERY sensor has stopped working. Phone doesn't rotate, in cardboard app it doesn't move, brightness does not adjust automatically, screen doesn't turn off during call when putting the phone on the ear, and the compass is not working.
Also, apps like Lux say the value is -1 everytime, apps to re-calibrate the proximity sensor crash at startup, and I have a Settings force close when I enter security options to set up my fingerprint (only in CM13, from the MIUI7 setup I can register my fingerprint)...
So, I unlocked the bootloader then I tried to install MIUI8 but, IMEI was modified and WiFi wasn't working. I installed CM13 and restored NVRAM and everything (apart from the sensors) was working.
Now I re-flashed again with Mi Flash, and I can't SETUP the phone, because WiFi and cellular data are not working, and the phone is matched with my Mi account, and won't activate without login.
How can I fix all this mess? If needed, I can also take apart the phone.
Please, everyone, this is very urgent!
Thank you all in advance, and sorry if there are errors, as I'm writing this quickly.
HELL YEAH!
Ok, everyone, nevermind.
I FIXED IT!
It was the persist image that was corrupted. My bad I tought Mi Flash would reset everything, even persist. But I wasn't right.
I looked into the "flash_all.bat" script and "flash persist" wasn't there. Thanks Xiaomi for the headache.
2 days of searching on Google and I didn't find this thread, and I don't know how this is possible.
Now I just have to understand why this happened totally random.
Everyone that has this problem, refer to the thread up here, works like a charm!
Bye!
Thanks for sharing your solution. I learned something new.
Guys i have the same problem with my Redmi Note 4 when i rooted it successfully its sesor didn't work but after unrooting it again works well. So is there is any way to root the device without sensor fail???
SayanKar said:
Guys i have the same problem with my Redmi Note 4 when i rooted it successfully its sesor didn't work but after unrooting it again works well. So is there is any way to root the device without sensor fail???
Click to expand...
Click to collapse
Which root solution are you using?
SayanKar said:
Guys i have the same problem with my Redmi Note 4 when i rooted it successfully its sesor didn't work but after unrooting it again works well. So is there is any way to root the device without sensor fail???
Click to expand...
Click to collapse
Have you tried rooting with magisk?
J3is said:
Ok, everyone, nevermind.
I FIXED IT!
It was the persist image that was corrupted. My bad I tought Mi Flash would reset everything, even persist. But I wasn't right.
I looked into the "flash_all.bat" script and "flash persist" wasn't there. Thanks Xiaomi for the headache.
2 days of searching on Google and I didn't find this thread, and I don't know how this is possible.
Now I just have to understand why this happened totally random.
Everyone that has this problem, refer to the thread up here, works like a charm!
Bye!
Click to expand...
Click to collapse
Hi, the thread has been removed. Can you relink it?
Thanks a lot!!
J3is said:
Ok, everyone, nevermind.
I FIXED IT!
It was the persist image that was corrupted. My bad I tought Mi Flash would reset everything, even persist. But I wasn't right.
I looked into the "flash_all.bat" script and "flash persist" wasn't there. Thanks Xiaomi for the headache.
2 days of searching on Google and I didn't find this thread, and I don't know how this is possible.
Now I just have to understand why this happened totally random.
Everyone that has this problem, refer to the thread up here, works like a charm!
Bye!
Click to expand...
Click to collapse
This tip helped me fix my device after an year!!

Madsurfer's eUI 5.9 ROM 21s - fingerprint problem

Hello everyone,
at first - best ROM I ever tried!
Just one big problem for me:
When the screen is off (sleep mode), I CAN NOT unlock the phone with fingerprint - during first 5 seconds - when display is off, it works. I have to turn on display with power button and AFTER that I CAN unlock with fingerprint with no problems. I want to unlock my phone with fingerprint when the display is off even more than 5 seconds.
Is there a solution?
In stock ROM (16s International) everything works perfect, there were no time limitation. Fingerprint worked everytime even when screen was off for 10 minutes for example.
Where is the problem? It is no hardware problem for sure.
Someone said to use the same finger 3 times instead of 3 different fingers. Try it. It may solve your problem.
I am using the same ROM without the problem which you experienced although sometimes it took more than a second or required a couple of taps on the sensor to unlock the screen.
Go to settings, battery, power saving managements and see if the Ultra Long Standby During Sleep is turned ON. I have that disabled.
Edit. Sorry, I thought that you had the manufacturers' ROM. I had the factory ROM.
I have the same 3 fingerprints for better recognition for sure, but this tip did not help me.
Also I tried to turn off the Long sleep too, did not help to solve this.
Any other ideas @madsurfer1? With screen ON works flawlessly.
Hi guys
I'm experiencing exactly the same issue with my fresh received x829. Haven't tried much on stock ROM but apparently everything was working. Then I flashed AOKP and lignage os v13, and with both the fingerprint only works in the 5 seconds after screen off. And when I mean works, I mean detect a finger, if it's the good one unlocks and if not shows an error. After 5 seconds, the phone shows nothing at all, no unlock and no error.
Have you had any success since these posts ?
Regards
AOKP on my x829 has fingerprint "working" from sleep. It sometimes takes a while or multiple attempts though.
Thanks bwalter
@Razor99 any news on your side ? Looks like only you have the exact same issue I encounter.
same problem
bolof2 said:
Thanks bwalter
@Razor99 any news on your side ? Looks like only you have the exact same issue I encounter.
Click to expand...
Click to collapse
hi
i have the same problem with most of the roms,
is there any solution?
My solution was full wipe, including internal storage. After than clean install ROM. With these steps fingerprint begin works even in deep sleep mode.
Keep in mind that Max 2 has very bad fingerprint at all on every model compared to premium brands. It is slow and sometimes react after few attemps. But works.
If theese steps wont help you - proove claim to the seller of your mobile.
If fingerprint is your priority, I strongly recommend another model, except Le Max 2. Maybe Le Pro is now better with fingerprint.
Try it and let us know.
https://forum.xda-developers.com/showthread.php?t=3408395
Flash latest CN 23S modem, fp problem bye bye!
hackerpower said:
Flash latest CN 23S modem, fp problem bye bye!
Click to expand...
Click to collapse
Indeed hackerpower, I saw your post on the other topic https://forum.xda-developers.com/le-max-2/how-to/le-max-2-finger-print-t3408395/page16#post71613937 and for me, that did the trick, without flashing another rom or wiping anything.
Thanks a lot!
bolof2 said:
Indeed hackerpower, I saw your post on the other topic https://forum.xda-developers.com/le-max-2/how-to/le-max-2-finger-print-t3408395/page16#post71613937 and for me, that did the trick, without flashing another rom or wiping anything.
Thanks a lot!
Click to expand...
Click to collapse
glad I could help!
how do we flash modem only? i want to try the 23s china modem
updiliman said:
how do we flash modem only? i want to try the 23s china modem
Click to expand...
Click to collapse
Download under China folder (23S v0033 I think), link for download in this post: https://forum.xda-developers.com/showpost.php?p=71613937&postcount=151
Flash the modem zip file by Twrp recovery.
Moon75 said:
Download under China folder (23S v0033 I think), link for download in this post: https://forum.xda-developers.com/showpost.php?p=71613937&postcount=151
Flash the modem zip file by Twrp recovery.
Click to expand...
Click to collapse
Flashed the 023S modem and BAM! it works!!! Thanks a lot!
For me, I found flashing the dev 66 modem fixed this wake problem.

[SOLVED] Fix Sensors not working / Find My Device Corrupted Error

Fix for getting back your sensors and Find My Device Error​The Problem that i have faced..​ I have unlocked my bootloader after updating my device to MIUI 11 , and flashed Paranoid Android Quartz Alpha 2 which was then based on android 10
By then my sensors are working fine. After i have flashed Xiaomi EU based on android 10 and due to some reasons i have flashed back to stock using Xiaomi Flash tool. I used to flash roms toooo often whenever i want to have to use some particular feature of that rom (That is what makes each rom unique Right!)
Suddenly on Xiaomi EU, i have noticed my gyroscope not working in PUBG also my compass stopped working , even proximity sensor failed.
Eventually i used to get an error toast showing "Find my device is corrupted your device is unsafe now"
Which i have ignored initially and realized that my persist partition got corrupted..
.
.
.
Then i have googled about my issue , referred a hell lot of threads, and came up with a working solution..
***Solution***​Procedure :
1. Download the latest Fastboot rom of our device from here.
2.Extract the downloaded package and navigate to images folder.
3.There you can find the persist.img file of your device.
4.Copy the file to your internal storage.
5.Reboot your device to TWRP and goto advanced/terminal
6.On the interface, type the following command.
Code:
simg2img /sdcard/persist.img /sdcard/persist_EXT4.img
7.If your code returns error like "Invalid sparse file format at header magic" as in my case then continue with the second line of code
Code:
dd if=/sdcard/persist.img of=/dev/block/bootdevice/by-name/persist
8.Else continue with this code
Code:
dd if=/sdcard/persist_EXT4.img of=/dev/block/bootdevice/by-name/persist
9.Simply reboot to system
10.Problem solved ,Happy Face, Back to josh......
NOTE: You may notice strange behaviour of the popup camera on the first boot. As in my case it automatically opens and closes even without operating it.
with an error message showing "Cannot close front camera" which will be automatically fixed by itself by pressing "Caliberate" button which pops after two to three camera hiccups.
Thanks mate. Worked like a charm.
Here's the link to the persist.img file extracted from the Global Version "davinci_global_images_V11.0.1.0.PFJMIXM_20191028.0000.00_9.0_global_156b6de73d"
https://www.filehosting.org/file/details/836440/persist.img
Cheers.
This will lose widevine L1.
Hey man, is this for Android 10 or 9 ? I am at MIUI 11.
Thanks! This also works in mi 8 se (with the correct persist image).
Does this work on Redmi note 7 pro
It gives me an error writing the last line
"dd if=/sdcard/persist_EXT4.img of=/dev/block/bootdevice/by-name/persist"
throws me this result "No such file"
Excelent,work too in my Mi 9,thank you.
Thanks for the tutorial. I followed this because my gyroscope isn't working properly (it orientates in wrong directions, goes into portrait when holding phone landscape i.e.).
I still have issues with my gyroscope after following your tutorial, do you have another idea what I could do to fix this. My phone is a Mi Mix 3 5G.
Thanks in advance!
Can someone please share their persist.img from their device with working sensors? Someone who has not flashed a new persist.img before please? I flashed the persist from the latest fastboot ROM but all sensor calibration values are 0 and gyro calibration fails. So my gyro is still spinning.
Good work!!!
Thank you it worked fine!!!!
Same,Can help?
Auto-brightness and rotating work again thanks ! But front camera still don't work . Any Ideas ?
Works for me too. Thanks
Works on raphael too!
my proximity sensor and light sensor work a moment and stop again I have to restart the phone so that it works again
i have been searching for this solution for past 17 days as my screen used to rotate only after boot ,but later rotation doesnt seem to work until i found this guide ,it works and works amazing
Thanks for the helpful guide
It's working fine on my Mi Max 1 Helium.
But sometimes the rotate sensor not working again, so i flash it again through TWRP.
Any solution to get permanent fix without flash the whole firmware, please?
L1 Certificate
gazza1888 said:
This will lose widevine L1.
Click to expand...
Click to collapse
Hello, Any way to get it back?

OP7TPro (HD1913) Auto-rotate screen upside down.

My phone is OnePlus 7T Pro HD1913 EU version. I have recently had a problem with auto-rotating the screen. I tested on the system versions 10.0.7, 10.0.13, 10.0.14, 11.0.5.1, 11.0.6.1, 11.0.7.1 and I have the auto turning upside down every time. I was flashing in different ways (OTA, fastboot, MSM) nothing helps. Full wipe downgrade versions don't help either. The same is true after installing a custom rom. Only when I install closed beta Hydrogen OS 12, auto-rotation works properly. Can someone advise me something?
same issue, I'm on latest Android 11 build after I downgraded from color os 12.1
I also think that it happened after testing the Chinese 12 system. The strangest thing is that when I reinstalled this closed beta 12, it has no problem with proper screen rotation. I tried to calibrate the sensors in the service menu, unfortunately it did not help.
I am facing the same issue. It doesn't bother me when I am portrait mode. When I go to landscape mode, it just reverse my screen up. I try to find solutions but no one I found nothing. If anyone found something please help me with that.
I am also facing the same issue.
Youtuber Techibee has found a way to fix it. He will be uploading his video soon.
https://youtube.com/c/ashokmor007TechiBee
Hope it fixes soon.
here is the link he uploaded the video hope it may help you also.
i tried myself it fixed the auto rotate issue.
Atharvaisbadhir said:
I am also facing the same issue.
Youtuber Techibee has found a way to fix it. He will be uploading his video soon.
https://youtube.com/c/ashokmor007TechiBee
Click to expand...
Click to collapse
Thank you very much. Before this fix was released, I previously flash persist.img from another phone (I didn't make a copy of the my original persist.img). All sensors are working properly, but the fingerprint is not working. I will probably not fix it anymore without sending it to the service.
kemoti said:
Thank you very much. Before this fix was released, I previously flash persist.img from another phone (I didn't make a copy of the my original persist.img). All sensors are working properly, but the fingerprint is not working. I will probably not fix it anymore without sending it to the service.
Click to expand...
Click to collapse
Yeah flashing someone’s else persist breaks your fingerprint functionality and your widevine certificate.
i think you should send it to service centre.

Question Fingerprint solution

EDIT: IF RESET FACTORY DOESNT WORK FOR U JUST GO TO SERVICE CENTER(I did it after all)
Hello
My device is Global version with miui V13.0.4.0.SKIMIXM
my fingerprint stopped working a week ago, then i contaced the support and they said these solutions:
1-factory reset
2-wipe data
3-download latest package
4-clean fingerprint area
i did all and somethimes just right after booting device my fingerprint showed up and working but after about couple hours back to the problem.
on early time of this problem i had fingerprint setting but couldnt open it (couldnt add fingerprint hint) but after some times it removes from setting too then at last after wiping data and solution above , fingerprint never showed up. so i decided to flash the original rom with fastboot and after i did that my fingerprint comesback and was working but again after couple hours stopped.
the thing is if safe mode it was working. even after rebooting to normal working 2 or 3 times then after that stop working again. in safe mode CIT fingerprint tests passed successfully untill right now after half a day i dont have fingerprints even in safe mod.
so i think of downgrading to miui 12.5.7 just want to be sure is it safe to downgrade because when i wanted to flash miui13 it errored with rollback but i edited script and flash was successful.
script edit is safe for downgrade ?
and maybe is there any othe solution that im not aware of?
13eauty said:
Hello
My device is Global version with miui V13.0.4.0.SKIMIXM
my fingerprint stopped working a week ago, then i contaced the support and they said these solutions:
1-factory reset
2-wipe data
3-download latest package
4-clean fingerprint area
i did all and somethimes just right after booting device my fingerprint showed up and working but after about couple hours back to the problem.
on early time of this problem i had fingerprint setting but couldnt open it (couldnt add fingerprint hint) but after some times it removes from setting too then at last after wiping data and solution above , fingerprint never showed up. so i decided to flash the original rom with fastboot and after i did that my fingerprint comesback and was working but again after couple hours stopped.
the thing is if safe mode it was working. even after rebooting to normal working 2 or 3 times then after that stop working again. in safe mode CIT fingerprint tests passed successfully untill right now after half a day i dont have fingerprints even in safe mod.
so i think of downgrading to miui 12.5.7 just want to be sure is it safe to downgrade because when i wanted to flash miui13 it errored with rollback but i edited script and flash was successful.
script edit is safe for downgrade ?
and maybe is there any othe solution that im not aware of?
Click to expand...
Click to collapse
solution is service center...in theory no anti rollback....just check in script before flash
rayman95 said:
solution is service center...in theory no anti rollback....just check in script before flash
Click to expand...
Click to collapse
thansk for reply so youre saying that in theory there is no problem to downgrade with editing script but in real life God knows right?
Unfortunately I have the same problem on my MI11 Lite 5G.
I would be interested if I install a custom ROM e.g. CorvusOS 3.2-V v12.1 if it works with it
So if anyone has experience with it?
norryhox said:
Unfortunately I have the same problem on my MI11 Lite 5G.
I would be interested if I install a custom ROM e.g. CorvusOS 3.2-V v12.1 if it works with it
So if anyone has experience with it?
Click to expand...
Click to collapse
i tried some custom roms before i send my phone to the service center and none of them worked.today i recieved my phone back and everything is great after replacing fingerprint.

Categories

Resources