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

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)

Related

persist write protection

is it possible to write persist?
i use fastboot to write and it seems write protected
i need to fix camera problem, cos replacing camera module not solving the problem.
any idea?
thanks
try flashing from twrp. use the one in lineage 16.0 thread
do u mean flashing lineage rom?
is it contain persist flashing?
flash lineage 16.0 and still not working
tharejamohit said:
How u know persist.img can help u solve camera issue
Click to expand...
Click to collapse
the reason why i'm sure is
1. i do change camera module and its not fix
2. i have same problem on another models (redmi note 5/whyred) camera problem, and fix by flashing persist partition
tharejamohit said:
Persist.img can flashi via edl mode
Open phone and short edl point then flash persist file
Click to expand...
Click to collapse
MI8 needs auth if want to flash use EDL
and my problem solve after buy an account auth from server
thanks
hi guys, why i installed twrp and it doesn't appear when i restart the device?
cheer
famonaco said:
hi guys, why i installed twrp and it doesn't appear when i restart the device?
cheer
Click to expand...
Click to collapse
If you are on stock and flash a recovery, you have to get rid of DM-Verity, or upon boot it puts the stock recovery back on.
ceyad said:
MI8 needs auth if want to flash use EDL
and my problem solve after buy an account auth from server
thanks
Click to expand...
Click to collapse
I have same problem for my Mi 8 EE, would you kindly share with me your experience?
anasmhds said:
I have same problem for my Mi 8 EE, would you kindly share with me your experience?
Click to expand...
Click to collapse
What kind of experience?
it was a hardware camera issue which was resolved by mobile workshop .

Compass Not Working

Hi Experts,
In my Redmi 4: Gyro, Accelerometer & G-Sensors are not working. Is it a hardware problem?
I tried the following
1) Factory reset
2) Update to latest (now its running Miui Global 10.3.1.0 Stable
Problem is still there. Please see attachments.
:crying: :crying: :crying:
Have you tried clean flashing latest stable/beta Global/china MIUI or any custom ROM builds?
If not then give it a try and see if it works.
I hope your device didn't had any accidental damage.
Thank you for the reply.
I tried the following more methods
1) Flashed Santony 8.2.10 Global via EDL (test points)
2) Flashed 7.9.7 Dev Beta via OEM EDL after unlocking bootloader
Nothing gave positive results.
I did'nt give a try to any China roms and custom roms. I'll give a try for China rom, please suggest one.
AFAIK my device did'nt have any damages. Is there any method that confirms it's a hardware problem?
bgshankar69 said:
Thank you for the reply.
I tried the following more methods
1) Flashed Santony 8.2.10 Global via EDL (test points)
2) Flashed 7.9.7 Dev Beta via OEM EDL after unlocking bootloader
Nothing gave positive results.
I did'nt give a try to any China roms and custom roms. I'll give a try for China rom, please suggest one.
AFAIK my device did'nt have any damages. Is there any method that confirms it's a hardware problem?
Click to expand...
Click to collapse
Go to service center , or flash persist
Yep! going to service center is the only option left.
I did not find any body succeeded by flashing 'persist'. Please guide me on this...
Flash Persist dosn't help !! Same Problem
few things to correct tht in santoni there is no gyro sensor its orientation is based on magnetometer/accelerometer readings...itried all option like persist flashing/ fastboot flash/ edl flash almost everything but not hepful!!
if u found solution thn let us know

K20 Pro compass spins and not calibrates

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...

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

Question Mi 11 screen rotation not working

Hi, so I bought Mi11 CN version around 2 months ago I flashed stock EU rom via Fast boot and was working fine, but randomly rotation would stop working usually restart would get it working but stop working after 1-2 days and recently totally stopped working I tried all the CIT tests and no response , Today I flashed latest Xiaomi.EU stable rom and still the same issue , is it hardware fault or anything else I can do I searched and with older models people flashed fixes ? wondering if can find the same ?
Thanks
uscool said:
Hi, so I bought Mi11 CN version around 2 months ago I flashed stock EU rom via Fast boot and was working fine, but randomly rotation would stop working usually restart would get it working but stop working after 1-2 days and recently totally stopped working I tried all the CIT tests and no response , Today I flashed latest Xiaomi.EU stable rom and still the same issue , is it hardware fault or anything else I can do I searched and with older models people flashed fixes ? wondering if can find the same ?
Thanks
Click to expand...
Click to collapse
Try to flash a full rom with this tool.
Rom
Dont relock bootloader.
"I did this when I first got the phone and flashed stock EU rom, Will do it again if no one else responds with any other methods, and I really need to use phone and hassle each time to set everything up after reflashing"
There are 3 methods, Miflash is the safest to avoid problems afterwards.
Reflash the original rom (cn) and test.
Ok thanks, as I dont have backup phone its a lot of hassle testing etc and I need my phone most of the time
uscool said:
Ok thanks, as I dont have backup phone its a lot of hassle testing etc and I need my phone most of the time
Click to expand...
Click to collapse
use this tool
I flashed stock fastboot global rom using Miflash still have issue also flashed persist.img from ROM which is meant to be for sensors etc flashed it using TWRP and still issue
I think maybe its hardware fault shame as I bought fro china and unlocked bootloader and flash rom
Anyone can help if I can flash stock CN rom and lock bootloader again so at least can try returning dont have any other options
uscool said:
I flashed stock fastboot global rom using Miflash still have issue also flashed persist.img from ROM which is meant to be for sensors etc flashed it using TWRP and still issue
I think maybe its hardware fault shame as I bought fro china and unlocked bootloader and flash rom
Click to expand...
Click to collapse
Reflash the original rom (CN)=chinesse and test.
What is the device codename ?
NOSS8 said:
Reflash the original rom (CN)=chinesse and test.
What is the device codename ?
Click to expand...
Click to collapse
Model M2011K2C
uscool said:
Model M2011K2C
Click to expand...
Click to collapse
Not that .
Venus,Star,Courbet,Haydn,Renoir,Alioth..
it Seem it's aVenus can you confirm?
NOSS8 said:
Not that .
Venus,Star,Courbet,Haydn,Renoir,Alioth..
it Seem it's aVenus can you confirm?
Click to expand...
Click to collapse
where do I find out , pretty sure its venus
uscool said:
where do I find out , pretty sure its venus
Click to expand...
Click to collapse
try this rom https://xiaomirom.com/en/download/mi-11-venus-stable-V12.0.12.0.RKBCNXM/#china-fastboot
Release Date2020-12-30
If you don't know the codename how could you install roms?
NOSS8 said:
try this rom https://xiaomirom.com/en/download/mi-11-venus-stable-V12.0.12.0.RKBCNXM/#china-fastboot
Release Date2020-12-30
If you don't know the codename how could you install roms?
Click to expand...
Click to collapse
Ok will do and report back
doesnt work just comes up with error in miflash within 20 secs
uscool said:
doesnt work just comes up with error in miflash within 20 secs
Click to expand...
Click to collapse
Which error?
NOSS8 said:
Which error?
Click to expand...
Click to collapse
something about crrc check error now it doesnt come on at all, guess its dead
uscool said:
something about crrc check error now it doesnt come on at all, guess its dead
Click to expand...
Click to collapse
You must have made a mistake somewhere.
such as relock the bootloader
try to enter fastboot mode with the buttons
NOSS8 said:
try to enter fastboot mode with the buttons
Click to expand...
Click to collapse
NOSS8 said:
You must have made a mistake somewhere.
such as relock the bootloader
Click to expand...
Click to collapse
I always used the buttons to enter Fast Boot doesnt work
Also I always make sure never have relock ticked
I'll just return it back and see what happens
uscool said:
I always used the buttons to enter Fast Boot doesnt work
Also I always make sure never have relock ticked
I'll just return it back and see what happens
Click to expand...
Click to collapse
How to go back if the fastboot mode no longer works?
got it working again, paid for service which I think uses EDL to recover he flashed CN rom still rotation not working so I really think its hardware fault
before I return can i relock the bootloader ? phone is originally CN and flashed back CN ROM just boot loader is unlocked
@NOSS8 that profile GIF sums me up right now

Categories

Resources