K20 Pro compass spins and not calibrates - Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe

Hello,
First firmware I was using was Chinese firmware and it worked fine (OTA was updated to 10.3.17). I used it until I got permission to unlock my bootloader. Then every other firmware from Mi or Xiaomi.eu have this problem. I cannot calibrate compass - in compass application or maps app my direction is spinning all the time counter-clockwise. Spin speed is ~5 spins in 3 second. Tried to clean compass app cache - do not help.
Tried to test sensors - in "all specs" click 5 times on Kernel and enter CIT. Result - Accelerometer looks working fine, Gyroscope - Z axis shows -7 all time, Magnetic sensor - spins counter-clockwise all the time.
My bad I have formatted all system before flashing firmware, that may get lost of original "persist" and "vendor" images if they are required.
Summary - looks like gyroscope sensor is failured - Z axis shows -7 rad/s all the time and that makes some functions hardly usable. Compass included.
Phone did not had any drops all the time. Only magnetic car holder was used, but cannot remember it happened same day. It was used with previous phone too and it still worksfine.
I have tried many Cn stable Roms, Indian roms, EEA, Xiaomi.eu. Installing in fastboot mode. No one firmware works fine with compass application.
Several fastboots tried:
Code:
raphael_eea_global_images_V10.3.1.0.PFKEUXM_20190723.0000.00_9.0_eea
raphael_images_V10.3.6.0.PFKCNXM_20190516.0000.00_9.0_cn
raphael_images_V10.3.8.0.PFKCNXM_20190601.0000.00_9.0_cn
raphaelin_in_global_images_V10.3.3.0.PFKINXM_20190711.0000.00_9.0_in
raphaels_images_V10.4.1.0.PFKCNXM_20190827.0000.00_9.0_cn
Recovery ROMs tried:
Code:
xiaomi.eu_multi_HMK20ProMI9TPro_V10.3.17.0.PFKCNXM_v10-9.zip
xiaomi.eu_multi_HMK20ProMI9TPro_V10.4.4.0.QFKCNXM_v10-10.zip
Maybe you can suggest any possibility to fix this? I assume that should be software issue.

Did you ever flashed Q or Downgraded from Q to P?
Sent from my Redmi K20 Pro using Tapatalk

Sukhi said:
Did you ever flashed Q or Downgraded from Q to P?
Click to expand...
Click to collapse
Originally was Android 9. My first ROM flashed was Xiaomi.eu V10.4.4.0 - Android Q. Later tried Android 9 and Android 10.
I have just tried to install Lineage ROM over Stable CN 10.3.17 ROM - it misses compass app, but random app from net shows that compass works good. I mage a backup of all partitions. Maybe it is possible to restore some partition over working Xiaomi.eu ROM to keep Miui working and make compass work too?

Aliosa007 said:
Originally was Android 9. My first ROM flashed was Xiaomi.eu V10.4.4.0 - Android Q. Later tried Android 9 and Android 10.
I have just tried to install Lineage ROM over Stable CN 10.3.17 ROM - it misses compass app, but random app from net shows that compass works good. I mage a backup of all partitions. Maybe it is possible to restore some partition over working Xiaomi.eu ROM to keep Miui working and make compass work too?
Click to expand...
Click to collapse
Like others, most probably you broke your device sensors while downgrading. Do a clean restore of Android Pie with a fastboot image. Extract the persist.img from the fastboot package and flash it to the persist partition through LR TWRP. Reboot and Calibrate your front Camera and let other sensors Calibrate aswell. Do a hardware test (*#*#64663#*#*) and you should be able to see values for x,y,z axis for most of the sensors. If the compass still doesn't work, you might have a defective item.
Sent from my Redmi K20 Pro using Tapatalk

Redmi K20 Pro persist backup required
I have tried steps you suggested and works everything except Gyroscope. As before. I have made testing using Sensors Multitool. Rotation vector Z is swinging from -1 to 1 all the time even if phone is still. Gyroscope info shows Z axis always -7 or more. Gravity reacts to movement, but unnatural. On Q everything worked until downgraded back to P.
I have found useful topic about this problem - https://forum.xda-developers.com/pixel-3-xl/how-to/android-10-sensors-bug-t3964904 . Reading through maybe will find something useful for my phone. I have never rooted my phone. Used Magisk few times. Persist.img I used was from Android 9 Chinese ROM 10.3.16 (As my phone is Chinese version). Persist.img was installed only with TWRP, it showed no problem when processed it.
Maybe someone can share backed up persist partition of Redmi K20 Chinese version? Hardware version in "All specs" page shows "Hardware version: V1". I got instruction to retrieve it. The following should put an image of the persist partition on the phone's internal storage. It should be executed on TWRP from Advanced > Terminal window.
Code:
dd if=/dev/block/by-name/persist of=/sdcard/persist_backup.img
I have made md5 checksums of all persist.img I have in each firmware. Despite file size is same, content each time is different.
Code:
7d75bd5108cf8407431033a96c9da195 *d:\temp\Xiaomi\raphael_global_images_V10.3.2.0.PFKMIXM_20190911.0000.00_9.0_global\images\persist.img
35c6ae0b8ddfffaa2f77525f7d4dc57b *d:\temp\Xiaomi\raphaels_images_V10.4.1.0.PFKCNXM_20190827.0000.00_9.0_cn\images\persist.img
80115db34f9af4b8a4a105dc675f7fa0 *d:\temp\Xiaomi\raphael_images_V10.3.17.0.PFKCNXM_20190816.0000.00_9.0_cn\images\persist.img
a7fb2b49e181096e3345b64b1982b990 *d:\temp\Xiaomi\raphael_global_images_V10.3.1.0.PFKMIXM_20190805.0000.00_9.0_global\images\persist.img
3283790361d575e355929f995c904d23 *d:\temp\Xiaomi\raphael_eea_global_images_V10.3.1.0.PFKEUXM_20190723.0000.00_9.0_eea\images\persist.img
2ceeb38f7ca1c32afe6d842d2e9f0ed4 *d:\temp\Xiaomi\raphael_images_V10.3.16.0.PFKCNXM_20190718.0000.00_9.0_cn\images\persist.img
a9e78a1299431e19de73a847c22bc7cc *d:\temp\Xiaomi\raphaelin_in_global_images_V10.3.3.0.PFKINXM_20190711.0000.00_9.0_in\images\persist.img
b979fadaae21f397f4f1f46282305248 *d:\temp\Xiaomi\raphael_images_V10.3.15.0.PFKCNXM_20190709.0000.00_9.0_cn\images\persist.img
dad5c8526ae0c598b31a6c58184bb81b *d:\temp\Xiaomi\raphael_images_V10.3.11.0.PFKCNXM_20190619.0000.00_9.0_cn\images\persist.img
40ddaa6840e63bdf6d04bfb84352bf56 *d:\temp\Xiaomi\raphael_images_V10.3.8.0.PFKCNXM_20190601.0000.00_9.0_cn\images\persist.img
fff3410c7cf4c3cb5f5490b1dc252c3f *d:\temp\Xiaomi\raphael_images_V10.3.7.0.PFKCNXM_20190528.0000.00_9.0_cn\images\persist.img
03a89f80aa1f3804c03403aa9bdace29 *d:\temp\Xiaomi\raphael_images_V10.3.6.0.PFKCNXM_20190516.0000.00_9.0_cn\images\persist.img
User which requires sensors fix should do following:
1) Open root shell
2) dd if=/dev/block/by-name/persist of=/sdcard/persist_backup.img
3) Copy new persist.img to your sdcard home directory
4) dd if=/sdcard/persist.img of=/dev/block/by-name/persist
5) Reboot device
Click to expand...
Click to collapse
So, maybe someone with K20 Pro CN version can share their persist.img file with me and others?

Hey, I have the same problem and this is getting me crazy. Have you solved the problem?

No, I got tired trying and now use phone with this problem. I get to much effort live without my new phone as I need on my daily life. Lineage os is not interesting to me too use for working sensors but without miui.

Aliosa007 said:
No, I got tired trying and now use phone with this problem. I get to much effort live without my new phone as I need on my daily life. Lineage os is not interesting to me too use for working sensors but without miui.
Click to expand...
Click to collapse
Oh, sad to hear that. Don't worry, I'm going to get a new persist.img from a friend of mine's Redmi K20 Pro next weekend. Hope it fixes the issue. I don't really know why this is happening to our phone :crying:

KingMinePlay said:
Oh, sad to hear that. Don't worry, I'm going to get a new persist.img from a friend of mine's Redmi K20 Pro next weekend. Hope it fixes the issue. I don't really know why this is happening to our phone :crying:
Click to expand...
Click to collapse
Ok, please returns here after your try and let us know you got sensor fixed

KingMinePlay said:
Oh, sad to hear that. Don't worry, I'm going to get a new persist.img from a friend of mine's Redmi K20 Pro next weekend. Hope it fixes the issue. I don't really know why this is happening to our phone :crying:
Click to expand...
Click to collapse
hmmm i am seeing a pattern , where many had problems after flashing roms , odd , anyway how to tell needle on the app is really facing north ?

It occurs also on my Mi 9T Pro with official global ROM... Compass spins constantly over Z-axis. It is especially visible for instance in Google Maps and annoys a lot. I think I will wait till MIUI 11 release and then maybe return this phone unless it will recover.

mykel_s said:
It occurs also on my Mi 9T Pro with official global ROM... Compass spins constantly over Z-axis. It is especially visible for instance in Google Maps and annoys a lot. I think I will wait till MIUI 11 release and then maybe return this phone unless it will recover.
Click to expand...
Click to collapse
Yes, looks like it occurs with officials ROM too if ROM was uploaded by FASTBOOT mode. Stock sensor settings gets rewritten with universal settings which do not work as desired.

Yes it seems so. The worst thing is that, it was working just fine at the very beginning, compass was lost just few weeks after I bought the phone
In the meantime maybe there were two official OTA updates, nevertheless I cannot recall what could cause loss of this functionality.
Thanks for your comment anyway.

KingMinePlay said:
Oh, sad to hear that. Don't worry, I'm going to get a new persist.img from a friend of mine's Redmi K20 Pro next weekend. Hope it fixes the issue. I don't really know why this is happening to our phone :crying:
Click to expand...
Click to collapse
Hi, weekend had passed. Did you tried to fix your K20 pro with your friends phone`s help? It is very interesting how it gone

maybe someone with K20 Pro CN version can share their persist.img file with me and others?

Aliosa007 said:
Hello,
First firmware I was using was Chinese firmware and it worked fine (OTA was updated to 10.3.17). I used it until I got permission to unlock my bootloader. Then every other firmware from Mi or Xiaomi.eu have this problem. I cannot calibrate compass - in compass application or maps app my direction is spinning all the time counter-clockwise. Spin speed is ~5 spins in 3 second. Tried to clean compass app cache - do not help.
Tried to test sensors - in "all specs" click 5 times on Kernel and enter CIT. Result - Accelerometer looks working fine, Gyroscope - Z axis shows -7 all time, Magnetic sensor - spins counter-clockwise all the time.
My bad I have formatted all system before flashing firmware, that may get lost of original "persist" and "vendor" images if they are required.
Summary - looks like gyroscope sensor is failured - Z axis shows -7 rad/s all the time and that makes some functions hardly usable. Compass included.
Phone did not had any drops all the time. Only magnetic car holder was used, but cannot remember it happened same day. It was used with previous phone too and it still worksfine.
I have tried many Cn stable Roms, Indian roms, EEA, Xiaomi.eu. Installing in fastboot mode. No one firmware works fine with compass application.
Several fastboots tried:
Code:
raphael_eea_global_images_V10.3.1.0.PFKEUXM_20190723.0000.00_9.0_eea
raphael_images_V10.3.6.0.PFKCNXM_20190516.0000.00_9.0_cn
raphael_images_V10.3.8.0.PFKCNXM_20190601.0000.00_9.0_cn
raphaelin_in_global_images_V10.3.3.0.PFKINXM_20190711.0000.00_9.0_in
raphaels_images_V10.4.1.0.PFKCNXM_20190827.0000.00_9.0_cn
Recovery ROMs tried:
Code:
xiaomi.eu_multi_HMK20ProMI9TPro_V10.3.17.0.PFKCNXM_v10-9.zip
xiaomi.eu_multi_HMK20ProMI9TPro_V10.4.4.0.QFKCNXM_v10-10.zip
Maybe you can suggest any possibility to fix this? I assume that should be software issue.
Click to expand...
Click to collapse
Even mine was screwed up..I taught I'll have to take it to service centre ....I had formatted system ...and when I installed fastbiit ROM..the gyroscope and accelerometer was not working.. unfortunately I had relocked my bootloader and had to wait for 30 days to flash persist file....so I just gave factory reset from settings a try..and it worked

vichucoolics said:
Even mine was screwed up..I taught I'll have to take it to service centre ....I had formatted system ...and when I installed fastbiit ROM..the gyroscope and accelerometer was not working.. unfortunately I had relocked my bootloader and had to wait for 30 days to flash persist file....so I just gave factory reset from settings a try..and it worked
Click to expand...
Click to collapse
You did factory reset from ROM version you have uploaded via FASTBOOT earlier and that worked? What persist file you have used? And how compass functionality - works? Fastboot ROM version accelerometer works fine, but compass fails.

Aliosa007 said:
You did factory reset from ROM version you have uploaded via FASTBOOT earlier and that worked? What persist file you have used? And how compass functionality - works? Fastboot ROM version accelerometer works fine, but compass fails.
Click to expand...
Click to collapse
At first my gyroscope also wasn't working....I didn't flash any persist file but now I can see that the compass is buggy... And also the video recording is buggy.... Hope after flashing miui 11 upcoming update it fixes things

I have the same issue. Don't know how to fix it. Am already using miui 11

You are good to go: https://forum.xda-developers.com/k20-pro/help/auto-rotation-issue-custom-roms-t3983169/page2
Let me know if I helped you...

Related

Phone doesnt register z axis gyroscope reading - compass spins erratically

Hey!
Ive been noticing an issue with my device, since I think the update to MIUI 11 (but not sure).
Description:
- The compass (and other apps using compass like Google maps) gives incorrect readings, when put horizontally. When put horizontally and kept still, the compass will spin regularly ca 2 degrees per second completely independent from the actual pointing direction. When the phone is kept vertically the compass works normally. I have made a video displaying the correct reading when vertically, and the spinning when kept horizontally: https://youtu.be/xgC4fHqH4Ys
- When checking the underlying gyroscope functionality with "Sensor Multitool", I have come across what I think is an erratic z axis reading. When I spin the phone randomly, the gyroscope in the x and y axis registers adequate readings, but the z axis stays completely flat. I have produced a video showing this behavior: https://youtu.be/1dY_xdF5Nz8
I have found this thread from Aliosa007 ( https://forum.xda-developers.com/showthread.php?t=3972249 ) that describes a very similar issue, but this user had recently flashed a new rom and the problem is attributed with the flashing. The users there assume the issue being a corrupt persist.img and most problem solving techniques involve flashing etc. But my phone is locked and not rooted. Could I also have received a corrupt persist.img during the normal update process recently to MIUI 11.
Currently trying to figure out, what the best way forward is. Wait and hope that this will be fixed with the next update or go the warranty route?
Thanks for helping me out with this one!
Hi.
I'm sorry I won't be very useful since I'm just having the exact same problem as you and don't know how to solve it... My phone isn't flashed either and my compass spins continuously.
I just wanted to know if you found a solution since your original post.
I also wanted to know if you tried factory resetting your phone ? I was thinking about trying that but if you already did and it didn't solve the issue, maybe I won't bother...
Thanks in advance.
Tistou52 said:
Hi.
I'm sorry I won't be very useful since I'm just having the exact same problem as you and don't know how to solve it... My phone isn't flashed either and my compass spins continuously.
I just wanted to know if you found a solution since your original post.
I also wanted to know if you tried factory resetting your phone ? I was thinking about trying that but if you already did and it didn't solve the issue, maybe I won't bother...
Thanks in advance.
Click to expand...
Click to collapse
Hey Tistou, thanks for your message. I haven't found a solution to the issue yet, unfortunately.
I tried factory resetting the phone but that didn't solve it. Did this problem just occur one day - or was it after you updated the phone? In my case Im not 100% sure it began after the updated and if it didn't, it could be an indication for a hardware issue.
I will keep this thread up to date in case I find a solution to the issue. But at the moment, I am out of ideas. I thought about flashing the phone with an alternative ROM and replace the persist.img. But currently the assumed risk/benefit keep me up from doing that. I'd assume sending Xiaomi feedback on that issue
Best,
schnodda
schnodda123 said:
Hey Tistou, thanks for your message. I haven't found a solution to the issue yet, unfortunately.
I tried factory resetting the phone but that didn't solve it. Did this problem just occur one day - or was it after you updated the phone? In my case Im not 100% sure it began after the updated and if it didn't, it could be an indication for a hardware issue.
I will keep this thread up to date in case I find a solution to the issue. But at the moment, I am out of ideas. I thought about flashing the phone with an alternative ROM and replace the persist.img. But currently the assumed risk/benefit keep me up from doing that. I'd assume sending Xiaomi feedback on that issue
Best,
schnodda
Click to expand...
Click to collapse
Hey,
well I couldn't really tell if it's related to an update : I got my mi 9T pro like two or three weeks ago and updated to 11.0.3 the day I got it...
The weird thing is that I noticed the problem one first time, and then two or three days later the issue solved itself without me doing anything particular and my compass started working normally again... And then two or three days ago it started spinning continuously again... I just hope it's software related and not an hardware issue...
I think I'm just going to wait for the next system update and if doesn't solve the problem I may send the phone back (but I don't wanna ... The phone otherwise is so great...).
I'll update the thread if I find something.
Good luck
Hi there, I had a similar problem a while ago when going from custom rom Android 10 back to miui 10 Android 9. Pop up camera and gyro sensors wouldn't work so no auto rotate either. Simple fix was to flash the persist img in custom recovery, then go into stock camera app and it'll ask to calibrate, after than everything worked fine. This should work for you and everyone else with this problem hopefully.
Flashing persist won't wipe any of your data so don't worries there. I'll see if I can find the file I have it somewhere and I'll send the link.
So really the only way to fix this is to have compatible custom recovery with persist partition, flash the persist.img, but since you have a locked bootloader and stock recovery I don't think you have any options to fix this unfortunately, maybe fastboot rom through miflash? That didn't work for me but it might work for you.
hoopsnake said:
Hi there, I had a similar problem a while ago when going from custom rom Android 10 back to miui 10 Android 9. Pop up camera and gyro sensors wouldn't work so no auto rotate either. Simple fix was to flash the persist img in custom recovery, then go into stock camera app and it'll ask to calibrate, after than everything worked fine. This should work for you and everyone else with this problem hopefully.
Flashing persist won't wipe any of your data so don't worries there. I'll see if I can find the file I have it somewhere and I'll send the link.
So really the only way to fix this is to have compatible custom recovery with persist partition, flash the persist.img, but since you have a locked bootloader and stock recovery I don't think you have any options to fix this unfortunately, maybe fastboot rom through miflash? That didn't work for me but it might work for you.
Click to expand...
Click to collapse
Thank you so much for your response! That keeps my hopes up that I get it solved eventually.
I am currently not planning to unlock my bootloader, I am currently exploring to go the warranty route because that's the easiest way forward. But in case that won't work, I will definitely try to flash the persist.img. I will have to try to get my hands on the persist.img file!
Thanks again!
schnodda123 said:
Thank you so much for your response! That keeps my hopes up that I get it solved eventually.
I am currently not planning to unlock my bootloader, I am currently exploring to go the warranty route because that's the easiest way forward. But in case that won't work, I will definitely try to flash the persist.img. I will have to try to get my hands on the persist.img file!
Thanks again!
Click to expand...
Click to collapse
persist.img is in the fastboot rom, so if you download that and extract you can get the img. You should be able to flash it thru fastboot using adb on PC with the command 'fastboot flash persist persist.img'. no need to unlock bootloader
I'm not gonna be near my PC for a while so won't be able to upload it for you
hoopsnake said:
persist.img is in the fastboot rom, so if you download that and extract you can get the img. You should be able to flash it thru fastboot using adb on PC with the command 'fastboot flash persist persist.img'. no need to unlock bootloader
I'm not gonna be near my PC for a while so won't be able to upload it for you
Click to expand...
Click to collapse
Sorry sir, but i think you cannot flash persist.img thru fastboot, because it read-only partition ,
I read several times that it must be flashed with twrp (dunno what that means)... But I also read that it makes you lose L1 widevine (dunno what that means either). Could someone enlighten me ?
And do you think the next MIUI update could fix that ?
Tistou52 said:
I read several times that it must be flashed with twrp (dunno what that means)... But I also read that it makes you lose L1 widevine (dunno what that means either). Could someone enlighten me ?
And do you think the next MIUI update could fix that ?
Click to expand...
Click to collapse
Not an expert on the matter. But a peripheral knowledge of the matter.
It appears to me that you are new to the matter. So I will use easy language.
TWRP is a so called "custom recovery" for Android that allows users to basically change the underlying firmware/system software (a process often referred to as "flashing") of the device. It is basically the entry point towards conveniently changing system files, that Android normally forbids you to change. To install a costum recovery, the bootloader of the phone has to be unlocked, so that the device can boot into the custom recovery instead of the OS directly. https://www.quora.com/What-is-TWRP-Why-is-it-used?share=1
Widevine L1 is a software part within Android that basically authenticates, that the device at hand is allowed to handle media files that are DRM protected (eg. within Netflix). When Android has been changed from the default configuration (by flashing a custom rom), the software part should revoke the authorization or restrict it. This behavior depends I think on the capability of the custom rom to trick widevine into believing that its genuine.(not so sure about that)
https://www.androidauthority.com/widevine-explained-821935/
Heres hoping that the next update will solve the issue! The issue isnt so dramatic to go the persist.img route. So I will patiently wait for the update. I will keep the thread updated.
schnodda123 said:
Not an expert on the matter. But a peripheral knowledge of the matter.
It appears to me that you are new to the matter. So I will use easy language.
TWRP is a so called "custom recovery" for Android that allows users to basically change the underlying firmware/system software (a process often referred to as "flashing") of the device. It is basically the entry point towards conveniently changing system files, that Android normally forbids you to change. To install a costum recovery, the bootloader of the phone has to be unlocked, so that the device can boot into the custom recovery instead of the OS directly. https://www.quora.com/What-is-TWRP-Why-is-it-used?share=1
Widevine L1 is a software part within Android that basically authenticates, that the device at hand is allowed to handle media files that are DRM protected (eg. within Netflix). When Android has been changed from the default configuration (by flashing a custom rom), the software part should revoke the authorization or restrict it. This behavior depends I think on the capability of the custom rom to trick widevine into believing that its genuine.(not so sure about that)
https://www.androidauthority.com/widevine-explained-821935/
Heres hoping that the next update will solve the issue! The issue isnt so dramatic to go the persist.img route. So I will patiently wait for the update. I will keep the thread updated.
Click to expand...
Click to collapse
Hola @schnodda123, ¿Logaste darle solución? No he podido arreglar mi eje z en mi caso en un Redmi Note 8, estoy algo incomodo, si bien el celular funciona bien el tener el sensor mal es fastidioso
Hi @ schnodda123, Did you manage to give it a solution? I have not been able to fix my z axis in my case on a Redmi Note 8, I am somewhat uncomfortable, although the cell phone works well, having the wrong sensor is annoying

Touchscreen Dont Work after Update to android 10

Hi everyone
I Update my MI 9 Global to android 10 ( MIUI 11.0.6 Stable QFAMIXM) but after setup finish and phone rebooted the touch screen dont work any more.
one month ago my phone touchscreen broke and replaced and worked great before update (android 9 on MIUI 10.2 I think )
but after update it does not react at all . i installed custom recover twrp and installed new rom from xiaomi.eu but nothing changed. :crying:
I connect optical mouse throw otg cable to phone and every thing works normal. sound , network , wifi , bluetooth , camera , .... all work great but touch screen doesnt respond .
I think the problem is kernel dont load driver for touchscreen properly or the new android dont load firmware for touchscreen.
it is dmesg output :
https://pastebin.com/i4Cfyden
if you look at dmesg log you can see some line with error like :
"Firmware in the chip different from the one that was burn! " and "fts_fw_update: firmware update failed again! ERROR 82080B02"
please help me to solve this problem . if I have to use custom kernel or change and compile the driver for new touchscreen ??
based on dmesg log (Read FW from BIN file st_fts_f1.ftb !) firmware must be in file "st_fts_f1.ftb" but I cant find this file in phone memory. I have root access to phone and searched all folder ( including vendor and persist partitions )
Just flash the previous Android version that worked. It sounds as if you bought an aftermarket screen with different hardware.
invisiblewave said:
Just flash the previous Android version that worked. It sounds as if you bought an aftermarket screen with different hardware.
Click to expand...
Click to collapse
hi thanks for your answer. I guess you are right. My Touch screen Replaced and this new hardware does not detected by kernel or need new firmware . I want to know haw can I include it in kernel .How the old vesrion can detect replaced touch screen but new one cant ?? Please Any one exprienced in Kernel Development help me to solve this problem . I dont want to downgrade to android 9 :crying:
I still have problem with android 10 roms . I install several different roms ncluding unofficial lineage 17.1 , Xiaomo.eu rom , MIUI Global 11.06 and ... but none of them detect touch screen even in twrp recovery there is no touch screen and had to use optical mouce to install and test new rom .
I currently downgrade to android 9 ( MIUI Global 10.2.14 ) and everything works normal . If anyone like me have problem with android 10 roms ? please help
MiFlash a stock Android 10 ROM
badaas said:
MiFlash a stock Android 10 ROM
Click to expand...
Click to collapse
thanks for reply:good:
I already download and installed Fastboot stock rom ( cepheus_global_images_V11.0.6.0.QFAMIXM_20200420.0000.00_10.0_global )
But again touch screen dont work . If flash using MiFlash is different from Fastboot instal ?
Yes miflash does some lower level format install
badaas said:
Yes miflash does some lower level format install
Click to expand...
Click to collapse
Ok I will check this method and report you . thanks for your suggestion
badaas said:
Yes miflash does some lower level format install
Click to expand...
Click to collapse
Hi . I flash v11.06 using miflash and again tuch screen doesnt work . I checked clean all option in flash page
I Installed android 10 GSI Rom from https://github.com/phhusson/treble_experimentations and touch screen and finger print sensor start to work !!
but GSI have some problem and limitation for mi 9 for example battery is not so good and full screen gusttures dont work. how is possible touch screen works with this rom but not by official Android 10 ?? If i can use some part of GSI with Official or Xaiomi.eu roms to enable touch screen ?
Maybe pocket mode is interfering on stock ROM?
Try a old stock Chinese ROM?
Start from very old..
badaas said:
Maybe pocket mode is interfering on stock ROM?
Try a old stock Chinese ROM?
Start from very old..
Click to expand...
Click to collapse
How Can I test that ? And yes all android 9 ( official or xiaomi.eu ) work but have some minor finger print problem . But The only Android 10 that has not problem with touch screen is GSI rom even GSI v220 ( based on android 10 ) works . I dont know how this is possible ? I based On this I am sure the problem is software not hardware . A question Sir : If touch screen driver in Kernel (boot.img) or in vendor ? I think If I can merge vendors or kernel from android 9 with system and other from android 10 the problem is solved. Thank you and Please any Of your help and info can solve the problem
I have the same problem, Mi9 running MIUI10 Global, want to upgrade to MIUI11 but after update the touchscreen doesn't work, only via otg USB mouse. Tried to flash MIUI12 ia TWRP, again touchscreen doesn't work.
Have you solved the problem?
Same problem
Guys, has anyone managed to solve this problem?
Mi 9 After changing the screen the touch locks after a few minutes of use
My Mi 9's screen broke and I had to change it, but after a few minutes of use the touch simply stops working.
It happens a lot when I lock the screen, and I try to unlock it after a while.
Guys, I've been looking for the solution for some time but I just don't think so. I even found some forums saying to downgrade to version V10 but I still have this problem.
The screen is original, imported from CHINA and is of high quality.
Has anyone had this problem and can share the solution?
richnbeauty said:
I have the same problem, Mi9 running MIUI10 Global, want to upgrade to MIUI11 but after update the touchscreen doesn't work, only via otg USB mouse. Tried to flash MIUI12 ia TWRP, again touchscreen doesn't work.
Have you solved the problem?
Click to expand...
Click to collapse
unfortunately i dont find any solution yet. and i think no one is kind enough to help us . Now I am sure it is kernel problem. i installed GSI android 10 on android 9 vendor and touch screen works great ( but have some other problem with GIS like cant recieve or send sms messages) So the problem Is kernel used in android 10 . even i installed Quantic-Kernel on aosp and after that again touch screen stop working.Please if any senior member who is familiar with android kernel help us to compile or change touch screen driver used in version 9 and solve the problem . Please Please
br.tgo said:
Guys, has anyone managed to solve this problem?
Mi 9 After changing the screen the touch locks after a few minutes of use
My Mi 9's screen broke and I had to change it, but after a few minutes of use the touch simply stops working.
It happens a lot when I lock the screen, and I try to unlock it after a while.
Guys, I've been looking for the solution for some time but I just don't think so. I even found some forums saying to downgrade to version V10 but I still have this problem.
The screen is original, imported from CHINA and is of high quality.
Has anyone had this problem and can share the solution?
Click to expand...
Click to collapse
Are You using android 10 or 9 ? I think your problem is different because My touch screen dont work AT ALL after upgrade to android 10 . but in android 9 there is no problem
br.tgo said:
Guys, has anyone managed to solve this problem?
Mi 9 After changing the screen the touch locks after a few minutes of use
My Mi 9's screen broke and I had to change it, but after a few minutes of use the touch simply stops working.
It happens a lot when I lock the screen, and I try to unlock it after a while.
Guys, I've been looking for the solution for some time but I just don't think so. I even found some forums saying to downgrade to version V10 but I still have this problem.
The screen is original, imported from CHINA and is of high quality.
Has anyone had this problem and can share the solution?
Click to expand...
Click to collapse
hamedpc007 said:
Are You using android 10 or 9 ? I think your problem is different because My touch screen dont work AT ALL after upgrade to android 10 . but in android 9 there is no problem
Click to expand...
Click to collapse
I'm using android 9. But even so, it keeps crashing.
br.tgo said:
I'm using android 9. But even so, it keeps crashing.
Click to expand...
Click to collapse
You can install new Rom and see if the problem gone or no . I recommentd you install new stock android 10 with MIUI 12 or xiaomi.eu rom .
If after new install problem exist it may be some hardware problem . Even before install new rom you can reset factory your phone and see what happens ( backup up your data before reset factory)
hamedpc007 said:
You can install new Rom and see if the problem gone or no . I recommentd you install new stock android 10 with MIUI 12 or xiaomi.eu rom .
If after new install problem exist it may be some hardware problem . Even before install new rom you can reset factory your phone and see what happens ( backup up your data before reset factory)
Click to expand...
Click to collapse
Right. Dude, thank you very much for your help. As I live here in Brazil, there is almost no content talking about this error. Thank you one more time!!

MIUI 12 Fingerprint Unlock defective

After upgrading to MIUI 12 Global OTA yesterday, fingerprint unlock stopped working. When I select fingerprint unlock in settings to switch it on and enter my PIN, phone goes dark and restarts (MIUI splash screen). Any suggestions? Phone is stock and not rooted.
Additional info: from CIT menu I ran the fingerprint sensor test. Result shows: all success. Next test (Fod fingerprint input test) gives following message: Your phone has password can not enroll fingerprint information
Not sure I understand the result of this test. Phone of course has a password (required to set fingerprint unlock).
Sent from my Mi 9T Pro using Tapatalk
You've got the same problem as me after update to miui12. Have you ever replaced the lcd on your phone? Because I did it.
laanrobe said:
After upgrading to MIUI 12 Global OTA yesterday, fingerprint unlock stopped working. When I select fingerprint unlock in settings to switch it on and enter my PIN, phone goes dark and restarts (MIUI splash screen). Any suggestions? Phone is stock and not rooted.
Additional info: from CIT menu I ran the fingerprint sensor test. Result shows: all success. Next test (Fod fingerprint input test) gives following message: Your phone has password can not enroll fingerprint information
Not sure I understand the result of this test. Phone of course has a password (required to set fingerprint unlock).
Sent from my Mi 9T Pro using Tapatalk
Click to expand...
Click to collapse
Happened with me also....Its a software problem only. Format and reinstall the ROM...My issue got resolved after complete fresh install
mannu_in said:
Happened with me also....Its a software problem only. Format and reinstall the ROM...My issue got resolved after complete fresh install
Click to expand...
Click to collapse
how do you reinstall the rom? Do you use updater on xiaomi or twrp something? because I did reinstall via mipcsuit china version but still get this problem.
Yogariku said:
how do you reinstall the rom? Do you use updater on xiaomi or twrp something? because I did reinstall via mipcsuit china version but still get this problem.
Click to expand...
Click to collapse
Using TWRP, did a clean wipe(Format Data/Internal Storage and all). Then install from beginning. I got this issue using Xiaomi EU MIUI 12 Beta ROM. Issue only got resolved when I clean install new ROM
mannu_in said:
Using TWRP, did a clean wipe(Format Data/Internal Storage and all). Then install from beginning. I got this issue using Xiaomi EU MIUI 12 Beta ROM. Issue only got resolved when I clean install new ROM
Click to expand...
Click to collapse
So now you are using miui 12 EU not global rom? I use the global rom, did format and clean install too but still get this problem
Yogariku said:
You've got the same problem as me after update to miui12. Have you ever replaced the lcd on your phone? Because I did it.
Click to expand...
Click to collapse
Yes, I have a replacement screen too... Seems that is related to fingerprint unlock issues.
However, fingerprint unlock was working for me on MIUI 11, even with the new screen.
Sent from my Mi 9T Pro using Tapatalk
mannu_in said:
Happened with me also....Its a software problem only. Format and reinstall the ROM...My issue got resolved after complete fresh install
Click to expand...
Click to collapse
I installed MIUI 12 through OTA global version. I am not rooted and therefore not easy to reinstall. I might try factory reset, although that also involves some extra work...
Sent from my Mi 9T Pro using Tapatalk
laanrobe said:
Yes, I have a replacement screen too... Seems that is related to fingerprint unlock issues.
However, fingerprint unlock was working for me on MIUI 11, even with the new screen.
Sent from my Mi 9T Pro using Tapatalk
Click to expand...
Click to collapse
I suspect it's because replaced LCD, right now I'm using non original LCD. Is your replacement screen original or not?
Yogariku said:
I suspect it's because replaced LCD, right now I'm using non original LCD. Is your replacement screen original or not?
Click to expand...
Click to collapse
Yes, it was an original Xiaomi branded screen.
Sent from my Mi 9T Pro using Tapatalk
Hi, I have the same issue. Screen also was replaced, service installed non original part. I had MIUI 11.0.3 before update with no issues, now MIUI 12.0.1 fingerprint not working.
Yogariku said:
You've got the same problem as me after update to miui12. Have you ever replaced the lcd on your phone? Because I did it.
Click to expand...
Click to collapse
Same I did replace my display yesterday from service center and this happened I'm so fed up no wants to know what's problem even my AOD not working properly ;_;
Ash Luhera said:
Same I did replace my display yesterday from service center and this happened I'm so fed up no wants to know what's problem even my AOD not working properly ;_;
Click to expand...
Click to collapse
Too bad, but my AoD is working and no issue.
See, the cause of fingerprint bug on miui 12 I guess is replaced Lcd. Let's see if anyone fixes this bug
hi guys i have the same issue, please teach me to fix this please i badly need your help
I have the same problem, also changed the screen. I hope some one find a solution for this.. Now i went back to miui11
Eu também estou com esse problema, alguém tem que saber a solução.
I have the same problem. I updated from a fresh MIUI 11.06 (i wanted to remove orangefox cfw to do OTA update) to MIUI 12 via ota update. I didn't register fingerprint in fresh 11.06
OTA went perfectly but when I tried to register fingerprint it crashed and rebooted.
My screen was also replaced a couple of months ago, if the service center uses an original screen? I don't know. I should ask. They provide 2 year warranty on installed screen so maybe they should replace it with REAL one!!
Cowboy_Henk said:
I have the same problem. I updated from a fresh MIUI 11.06 (i wanted to remove orangefox cfw to do OTA update) to MIUI 12 via ota update. I didn't register fingerprint in fresh 11.06
OTA went perfectly but when I tried to register fingerprint it crashed and rebooted.
My screen was also replaced a couple of months ago, if the service center uses an original screen? I don't know. I should ask. They provide 2 year warranty on installed screen so maybe they should replace it with REAL one!!
Click to expand...
Click to collapse
Yah, could be your phone screen not original. Did your phone screen support 5 or 10 multitouch?
and if you already replace your screen on service center and try the fingerprint please update to this thread, I want to know the reason of this bug.
Yogariku said:
Yah, could be your phone screen not original. Did your phone screen support 5 or 10 multitouch?
and if you already replace your screen on service center and try the fingerprint please update to this thread, I want to know the reason of this bug.
Click to expand...
Click to collapse
I asked the repair centre if they installed an original oem screen or not. Still waiting for reply.
10 point touch does work though.
Same problem
I'm having the same issue with my Redmi K20 Pro. My display was also replaced to a not original one and fingerprint was working fine at MIUI 11.
After updating via OTA to MIUI 12, it crashed every time I tried to unlock, restarting the device with an infite loop. After that, I made a factory reset, then configuration reset and reinstalled the OTA package but it still won't work.
Hope we can find a solution to this problem!

Question Xiaomi MI 11 problems with gyroscope, accelerometer and magnetic sensor

Hi,
I've bought a used MI 11 (8gb/256gb) phone. Did not pay attention during buying, so the issue might be present from the beginning: the gyroscope, accelerometer and magnetic sensors are not working. Steps I've already took:
- I've entered into CIT and I've went to calibration: they all fail. More precisely I open the e.g. gyroscope and then wait and nothing happens. Same with the other two sensors. Camera calibration also fails, I assume bc of one of this sensor is not working.
- I've already flashed persist.img via TWRP (i know, I have lost L1, so DON'T DO IT!) and that did not help.
- Tried fastboot / twrp flashing different roms (xiaomi.eu, xiaomi global, xiaomi chinese, xiaomi europe).
Is there anything I can do here? Is it possible that these 3 sensors are all physically broken? Are they actually just one sensor?
thanks!
please don´t use twrp flash tgz file original workaround link
https://c.mi.com/oc/miuidownload/detail?guide=2
don´t close BL
Firedance1961 said:
please don´t use twrp flash tgz file original workaround link
https://c.mi.com/oc/miuidownload/detail?guide=2
don´t close BL
Click to expand...
Click to collapse
I'm not sure how is this related to my problem in any sense, but thanks, I am not planning to close BL.
the standard of the stock tool is to close your BL
Firedance1961 said:
the standard of the stock tool is to close your BL
Click to expand...
Click to collapse
I understand, but not the opening/closing the BL is my problem. Sensors are not working
iknow its a tipp with the bl, flash a tgz file then your problem with sensor are end, the tgz file make your system complett new it is better than flash a recovery rom the different is more than 1gb of partiion repair
Firedance1961 said:
iknow its a tipp with the bl, flash a tgz file then your problem with sensor are end, the tgz file make your system complett new it is better than flash a recovery rom the different is more than 1gb of partiion repair
Click to expand...
Click to collapse
OP: "Tried fastboot"
gezabela said:
Hi,
I've bought a used MI 11 (8gb/256gb) phone. Did not pay attention during buying, so the issue might be present from the beginning: the gyroscope, accelerometer and magnetic sensors are not working. Steps I've already took:
- I've entered into CIT and I've went to calibration: they all fail. More precisely I open the e.g. gyroscope and then wait and nothing happens. Same with the other two sensors. Camera calibration also fails, I assume bc of one of this sensor is not working.
- I've already flashed persist.img via TWRP (i know, I have lost L1, so DON'T DO IT!) and that did not help.
- Tried fastboot / twrp flashing different roms (xiaomi.eu, xiaomi global, xiaomi chinese, xiaomi europe).
Is there anything I can do here? Is it possible that these 3 sensors are all physically broken? Are they actually just one sensor?
thanks!
Click to expand...
Click to collapse
Hi. Do you found the solutions? I hv same problem..
Sha17 said:
Hi. Do you found the solutions? I hv same problem..
Click to expand...
Click to collapse
nope
Persist partition was damaged. Classic problem. Reflash it.
But you loose wideline certificate. I warn you. (Wideline=Netflix in hd)
Flash a original rom with flashtool from Xiaomi without locking bootloader .
dromaczek said:
Persist partition was damaged. Classic problem. Reflash it.
But you loose wideline certificate. I warn you. (Wideline=Netflix in hd)
Click to expand...
Click to collapse
Play read the OP... (tldr: did all of those, but i found peace with loosing L1)

Question MI 11 ULTRA Random Restarts - Reboots

Hello dear community,
I have a problem with my Mi 11 Ultra, I been having a issue where my phone restarts randomly. (It can happen at any time, I can be on Youtube, Whatsapp, Maps, Idle, etc and the phone will suddenly flash a green screen and restart. Heavy use or light use, I cant detect a pattern .....)
I been having this Issue 2 month after I bought this phone with CHINA ROM MIUI 13
after that 2 months the restarts appeared.... (can´t remember if there was a System update or something but from April 2022 to May 2022 the phone was working excellent)
I have read that MIUI 13 in other POCO and Xiaomi Phones have the same behavior.. but cant find any solution for MI 11 ULTRA
What I have tried with no positive result:
(Wipe everything with TWRP, all the options,cache,data,interna,etc.)
Install STABLE MIUI EU ROM - Clean Install
Install Weekly MIUI EU ROM - Clean Install
Update Security app - Latest Version in APK Mirror
Delete Cache security app
Today I tried to install Global with MiFlash Tool but mi flash anti rollback check error occurred ;( (Don't know how to solve this...)
Do you think I have a defective Phone with bad Motherboard?
This is very frustrating and at this point I dont know if should buy a Xiaomi Phone again....
Any Help will be appreciated
Hi, i believe you are facing the issue when you are on wifi i am also facing same problem, when on mobile data there is no problem, can u confirm if its same? Wifi problem
in my case It happens on WiFi and mobile Data.
U can flash using platform tools to get rid of antiroll back, search for tutorial in YouTube, try miui 12.5
Global same issue..
Maybe a bad Motherboard?
So yesterday I Flashed OEM CN Rom, update with OTA and the problem persisted...
Then read about issues with restarts and Location Services in MIUI.
I Installed MIUI_EU Latest BETA ROM and deactivated location.
Right now I haven't experienced a single restart. Tomorrow I will activate location to see if the problem persists or maybe the update solved the problem.
Did anyone find a solution?
I bought mine on aliexpress and I have the same problem. It crashes and restarts numerous times a day.
Unlock bootloader and install global MIUI 13.0.4.
Very stable , no crashes/restarts.
the bootloader is unlocked. do i install the rom via fastboot or TWRP?
Both method should be fine .
If using TWRP , use format data option first, else system won't boot up.
If using Miflash use clean all but make sure don't use the lock option.
luislara22 said:
Did anyone find a solution?
I bought mine on aliexpress and I have the same problem. It crashes and restarts numerous times a day.
Click to expand...
Click to collapse
No, maybe is a motherboard issue. I bought this phone from giztop. I think I will return it and get my money back. I will never buy Xiaomi sh**** again.
ricardotrut said:
No, maybe is a motherboard issue. I bought this phone from giztop. I think I will return it and get my money back. I will never buy Xiaomi sh**** again.
Click to expand...
Click to collapse
I have already opened a call on aliexpress to get my money back.
I just installed the global rom and rooted. wait and see.
but i will fight to get my money back from aliexpress.
luislara22 said:
I have already opened a call on aliexpress to get my money back.
I just installed the global rom and rooted. wait and see.
but i will fight to get my money back from aliexpress.
Click to expand...
Click to collapse
Did global solved the issue for u?? Mine still restarting
ricardotrut said:
Did global solved the issue for u?? Mine still restarting
Click to expand...
Click to collapse
ricardotrut said:
Did global solved the issue for u?? Mine still restarting
Click to expand...
Click to collapse
in the first 24 hours yes. it was working perfect.
Then it started to restart and crash.
without solution.
I am having the same issue....
Please look in the /root/data/vendor/ramdump folder.
I am having lots of ramdumps eating space.
So just received the phone yesterday after sending it for repair to Xiaomi All the way back to China... And this piece of trash phone still rebooting.... Never buying again a phone from this trash company... Also Giztop is so unprofessional because they didn't solved the issue ... They told me that the phone was on perfect condition and they weren't able to solve it. Thanks to them I also had to pay 250usd of taxes because they send it like if it was a new unit... Give yourself a favor and don't buy from Giztopz, they send defective phones.
Try disabling the RAM extension feature.
Or try a custom rom like EvolutionX or CrDroid.
Bobfish said:
Try disabling the RAM extension feature.
Or try a custom rom like EvolutionX or CrDroid.
Click to expand...
Click to collapse
Tried EvolutionX today and after some hours the phone restarted ;(
ricardotrut said:
Tried EvolutionX today and after some hours the phone restarted ;(
Click to expand...
Click to collapse
I have the same problem 1 or 2 freezes and after that reboots per day.....i am on PE rom......i set lower gpu frequency with an app(ex kernel) to 379 from 319 and for two days no reboot.I have to see if this helped .....i am not sure for now.Maybe its hardware issue
apokit said:
apokit said:
I have the same problem 1 or 2 freezes and after that reboots per day.....i am on PE rom......i set lower gpu frequency with an app(ex kernel) to 379 from 319 and for two days no reboot.I have to see if this helped .....i am not sure for now.Maybe its hardware issue
Click to expand...
Click to collapse
Did you manage to stop the reboot??
Click to expand...
Click to collapse

Categories

Resources