hello, since upgraded from miui v.9.7 to v10 portrait mode on rear camera not working. i tried fastboot flash again and still a bug. anyone can help me or confirm it is a bug ? (v10.0.2.0)
I'm using Xiaomi.eu's beta MIUI 10 ROM & portrait works as it supposed to :/
@engloa Please move this to Mi 8 Q&A. This thread should not be here.
imortalitzik said:
hello, since upgraded from miui v.9.7 to v10 portrait mode on rear camera not working. i tried fastboot flash again and still a bug. anyone can help me or confirm it is a bug ? (v10.0.2.0)
Click to expand...
Click to collapse
Stop posting irrelevant stuff in this forum!, this is getting ridiculous,!!! Where are the moderators to sort things up ffs
imortalitzik said:
hello, since upgraded from miui v.9.7 to v10 portrait mode on rear camera not working. i tried fastboot flash again and still a bug. anyone can help me or confirm it is a bug ? (v10.0.2.0)
Click to expand...
Click to collapse
you should try flash persist ,like this:
fastboot flash persist persist.img
namesuanle said:
you should try flash persist ,like this:
fastboot flash persist persist.img
Click to expand...
Click to collapse
can i flash it without twrp ?
imortalitzik said:
can i flash it without twrp ?
Click to expand...
Click to collapse
you need search how to install and use fastboot
i think flash persist in fastboot mode can solve your problem
persist.img is in the rom file , you should unpacking the package and find it
I've got same problem, but I also have my camera options switched betweend rear and front.
Flashing persist.img doesn't help.
Related
I deleted the sensor folder via twrp to see if it works in a custom ROM, I went back to miui and installed the rom via flash clean all and even then the sensors do not come back, please help me
You can reboot into fastboot mode then into EDL mode.
fastboot oem edl
Then flash with the fastboot method. Your sensors must go back.
Regards.
manucarcor said:
You can reboot into fastboot mode then into EDL mode.
fastboot oem edl
Then flash with the fastboot method. Your sensors must go back.
Regards.
Click to expand...
Click to collapse
Not working for me...
I had the same problem, I recovered the sensor reperstoire of our redmi 4A and it works after removing the file sns.reg (and that it) reboot.
only since it works only with the cddroidandroid rom.
with other rom the rotation does not work ?? !!. if a person can post the sensor directory for AospExtended I am a taker
Hello,
I solved the problem by reinstalling the ROM MUI but developer version (http://en.miui.com/download-319.html).
then flash the custom rom of your choice
So after trying Xiaomi EU, MiGlobe Rom and Android Q Beta
I decided to flash back to MIUI 10.3.8 via fastboot
Somehow my front camera won't open properly, it kept saying "Can't open front camera, please calibrate".
And when I press Calibrate, popup cam goes up and down 3 times in a row and says "Can't calibrate".
Any idea how to fix this?
EDIT: Must be the fastboot rom I downloaded. Other rom's front cam worked fine...
I am having same issue. Initially I thought it was hardware problem.
But I noticed it seem to be related to software.
Took few restart of camera app and sometime phone restart, for it to work
same problem here
just came from Android Q beta from Mi Global Home, and I decided to go back to MIUI china. The problem occurs after flashing the v10.3.15 china ROM.
Any ideas to solve this?
LogicalMaverick said:
same problem here
just came from Android Q beta from Mi Global Home, and I decided to go back to MIUI china. The problem occurs after flashing the v10.3.15 china ROM.
Any ideas to solve this?
Click to expand...
Click to collapse
Did you install a fastboot ROM or go straight to the latest recovery ROM. If you went for the recovery, then I suggest installing the most recent fastboot ROM, then upgrade to the latest recovery ROM.
Robbo.5000 said:
Did you install a fastboot ROM or go straight to the latest recovery ROM. If you went for the recovery, then I suggest installing the most recent fastboot ROM, then upgrade to the latest recovery ROM.
Click to expand...
Click to collapse
I wiped all partitions via LR. Team TWRP, and flashed the most recent fastboot ROM. Still doesn't work
after analyzing for like 3 hours, I noticed that all sensors are also not working (Gyro, Accel, Proximity, etc). I googled it and found the solution. Here it is:
by flashing persist.img (from the extracted latest fastboot ROM) to persist partition via LR. Team TWRP, all sensors are working fine. Even the camera's calibration now works perfectly
I've got same issue, coming from Android Q beta. I've put the Indian rom and I thought that this is the issue.
---------- Post added at 08:53 PM ---------- Previous post was at 08:50 PM ----------
LogicalMaverick said:
I wiped all partitions via LR. Team TWRP, and flashed the most recent fastboot ROM. Still doesn't work
after analyzing for like 3 hours, I noticed that all sensors are also not working (Gyro, Accel, Proximity, etc). I googled it and found the solution. Here it is:
by flashing persist.img (from the extracted latest fastboot ROM) to persist partition via LR. Team TWRP, all sensors are working fine. Even the camera's calibration now works perfectly
Click to expand...
Click to collapse
What's LR?
degeaba1981 said:
I've got same issue, coming from Android Q beta. I've put the Indian rom and I thought that this is the issue.
---------- Post added at 08:53 PM ---------- Previous post was at 08:50 PM ----------
What's LR?
Click to expand...
Click to collapse
It's referring to the LR.Team TWRP
https://forum.xda-developers.com/k20-pro/how-to/lr-team-wzsx150s-twrp-status-phh-gsis-t3939325
Robbo.5000 said:
It's referring to the LR.Team TWRP
https://forum.xda-developers.com/k20-pro/how-to/lr-team-wzsx150s-twrp-status-phh-gsis-t3939325
Click to expand...
Click to collapse
Problem solved! I flashed via miflash the Chinese rom, in fastboot and the front camera was working. Then I've put the Indian global version and front camera is working fine now.
LogicalMaverick said:
I wiped all partitions via LR. Team TWRP, and flashed the most recent fastboot ROM. Still doesn't work
after analyzing for like 3 hours, I noticed that all sensors are also not working (Gyro, Accel, Proximity, etc). I googled it and found the solution. Here it is:
by flashing persist.img (from the extracted latest fastboot ROM) to persist partition via LR. Team TWRP, all sensors are working fine. Even the camera's calibration now works perfectly
Click to expand...
Click to collapse
Once done!! My device can't use rom (EU, Miglobe, Indian fastboot rom) except China Stable !! Boot is used for the first time, reboot the device it will stuck into TWRP (eu, miglobe), Mi Recovery. Format data can re-enter the system but continue to reboot the device and it will be similar. Go to the log section of TWRP, the whole message is unable to find crypto footer , erros opening data/data.... !! I do not understand which step I made wrong !! Sr for my bad Englosh
Ekalous said:
Once done!! My device can't use rom (EU, Miglobe, Indian fastboot rom) except China Stable !! Boot is used for the first time, reboot the device it will stuck into TWRP (eu, miglobe), Mi Recovery. Format data can re-enter the system but continue to reboot the device and it will be similar. Go to the log section of TWRP, the whole message is unable to find crypto footer , erros opening data/data.... !! I do not understand which step I made wrong !! Sr for my bad Englosh
Click to expand...
Click to collapse
I have the same problem. I'm trying to solve it but nothing for now!
LogicalMaverick said:
I wiped all partitions via LR. Team TWRP, and flashed the most recent fastboot ROM. Still doesn't work
after analyzing for like 3 hours, I noticed that all sensors are also not working (Gyro, Accel, Proximity, etc). I googled it and found the solution. Here it is:
by flashing persist.img (from the extracted latest fastboot ROM) to persist partition via LR. Team TWRP, all sensors are working fine. Even the camera's calibration now works perfectly
Click to expand...
Click to collapse
How did you manage to flash persist.img file? Just one file from the ROM or like in the link below?
I'm getting the same problem with my Redmi K20 (Not Pro) here
http://en.miui.com/thread-478922-1-1.html
topaloglu321 said:
How did you manage to flash persist.img file? Just one file from the ROM or like in the link below?
I'm getting the same problem with my Redmi K20 (Not Pro) here
http://en.miui.com/thread-478922-1-1.html
Click to expand...
Click to collapse
In L.R TWRP, we can flash other kinf of partitions (like persist, for example)
I always used the "persist.img" file of the stock ROM (installed via fastboot). I trasfered it from my computer with ADB. The command is:
Code:
adb push [I]the_path_where_you_stored_the_persist_file[/I] /sdcard/
To to that, go on "Install"->"Install image"->Now choose the persist.img file-> Choose the "persist" partition -> "Flash image" -> Reboot
Then just wait for the MIUI to tell you to calibrate the camera, now it should work!
thelegoboy said:
In L.R TWRP, we can flash other kinf of partitions (like persist, for example)
I always used the "persist.img" file of the stock ROM (installed via fastboot). I trasfered it from my computer with ADB. The command is:
Code:
adb push [I]the_path_where_you_stored_the_persist_file[/I] /sdcard/
To to that, go on "Install"->"Install image"->Now choose the persist.img file-> Choose the "persist" partition -> "Flash image" -> Reboot
Then just wait for the MIUI to tell you to calibrate the camera, now it should work!
Click to expand...
Click to collapse
what if there is no "persist" partition in selection menu. how to make those partition, ive tried using adb terminal by using dd command, but bear no fruit.
thanks for the answer
znsvs123 said:
what if there is no "persist" partition in selection menu. how to make those partition, ive tried using adb terminal by using dd command, but bear no fruit.
thanks for the answer
Click to expand...
Click to collapse
You can't show them up. The only way is to change TWRP, hoping that is supported
thelegoboy said:
In L.R TWRP, we can flash other kinf of partitions (like persist, for example)
I always used the "persist.img" file of the stock ROM (installed via fastboot). I trasfered it from my computer with ADB. The command is:
Code:
adb push [I]the_path_where_you_stored_the_persist_file[/I] /sdcard/
To to that, go on "Install"->"Install image"->Now choose the persist.img file-> Choose the "persist" partition -> "Flash image" -> Reboot
Then just wait for the MIUI to tell you to calibrate the camera, now it should work!
Click to expand...
Click to collapse
I'll try this thank you.
thelegoboy said:
You can't show them up. The only way is to change TWRP, hoping that is supported
Click to expand...
Click to collapse
thanks, not all of twrps are built equally. :good::good::good:
Facing issues with camera pop up calibration and sensors (proximity) after reverting back to stock miui v10.3.3 (Raphael India through fastboot & zip) after flashing android Q Eu rom.
when flashing persist.img through fastboot it gave write protected error. Through LR TWRP, it didnt show any errors but problem is not solved.
I couldnt flash chinese rom through fastboot, faced error saying expected device is Raphael not Raphaelin.
i fixed that problem just flashing chinese.rom via miflash and.camera pop up working again
sagar.anits said:
Facing issues with camera pop up calibration and sensors (proximity) after reverting back to stock miui v10.3.3 (Raphael India through fastboot & zip) after flashing android Q Eu rom.
when flashing persist.img through fastboot it gave write protected error. Through LR TWRP, it didnt show any errors but problem is not solved.
I couldnt flash chinese rom through fastboot, faced error saying expected device is Raphael not Raphaelin.
Click to expand...
Click to collapse
Same problem here
RAJIB AHMED0077 said:
Same problem here
Click to expand...
Click to collapse
try flashing 10.3.16 chinese rom via fastboot yesterday i flash that rom and it fix that problem in my k20 Pro
After boot the accelometer stops working after a few minutes, so autorotation is not functional.
I found that this i maybe a bug in miui 10 and also other devices, some users say when you google this error.
IT seems to have to do with autobrightness setting. I tried some things but did not find a solution yet.
eg I tried this: http://en.miui.com/thread-458462-1-1.html
My question is, is this still a bug or I am the only one who has this issue?
I am facing the same issue. What ROM are you using?
kltos said:
I am facing the same issue. What ROM are you using?
Click to expand...
Click to collapse
I´m on raphael_eea_global_images_V10.3.1.0.PFKEUXM. There is an update to V10.3.3.0.PFKEUXM, but this has problems with TWRP and I need this.
A solution for many ist, that the persist.img has an error and to flash persist.img again through TWRP or fastboot. But when doing this I get an error "partition is write protected".
Look here: http://en.miui.com/thread-312976-1-1.html
Maybe a dirty flash of the full rom is a solution, but I have never made this.
It has something to do with automatic brightness. I also tried this, but didn´t work:
http://en.miui.com/thread-458462-1-1.html
It´s important to know if this is a general bug or we need to flash rom again. I don´t know....
franky_z said:
I´m on raphael_eea_global_images_V10.3.1.0.PFKEUXM. There is an update to V10.3.3.0.PFKEUXM, but this has problems with TWRP and I need this.
A solution for many ist, that the persist.img has an error and to flash persist.img again through TWRP or fastboot. But when doing this I get an error "partition is write protected".
Look here: http://en.miui.com/thread-312976-1-1.html
Maybe a dirty flash of the full rom is a solution, but I have never made this.
It has something to do with automatic brightness. I also tried this, but didn´t work:
http://en.miui.com/thread-458462-1-1.html
It´s important to know if this is a general bug or we need to flash rom again. I don´t know....
Click to expand...
Click to collapse
Thanks for the insight.
(I flashed latest fastboot rom using miflash tool and auto rotate was broken.)
Flashing persist.img has done the trick. My problem is solved.
Here is what I did:
My device is raphaelin, that is k20 pro Indian.
I downloaded latest fastboot rom for raphaelin and extracted persist.img and flashed it using TWRP 3.3.1-15 Unofficial by mauronofrio. Problem solved.
Hope the same works for you.
kltos said:
Thanks for the insight.
(I flashed latest fastboot rom using miflash tool and auto rotate was broken.)
Flashing persist.img has done the trick. My problem is solved.
Here is what I did:
My device is raphaelin, that is k20 pro Indian.
I downloaded latest fastboot rom for raphaelin and extracted persist.img and flashed it using TWRP 3.3.1-15 Unofficial by mauronofrio. Problem solved.
Hope the same works for you.
Click to expand...
Click to collapse
Thanks for the help. I´m on Fox Recovery, it did not work, I will try TWRP...
franky_z said:
Thanks for the help. I´m on Fox Recovery, it did not work, I will try TWRP...
Click to expand...
Click to collapse
No problem . Let me know if that works.
kltos said:
No problem . Let me know if that works.
Click to expand...
Click to collapse
Flashed TWRP you mentioned, flashed pesist.img and sensors work again. Before that, front camera calibratet itself , but then everything works :good:
I was in Bliss ROM and wanted to do a clean flash so I wiped system, data and cache and installed ROM, Gapps, Disable encryption zip and Magisk but when the ROM booted the android setup crashes and didn't go past there. I flashed again following the instructions for that specific ROM but the sensors didn't work only the camera so I flashed a persist image but now not even the front camera works, how can I fix it? Please help
Could someone please send me their persist/ persist backup?
Isley_ said:
I was in Bliss ROM and wanted to do a clean flash so I wiped system, data and cache and installed ROM, Gapps, Disable encryption zip and Magisk but when the ROM booted the android setup crashes and didn't go past there. I flashed again following the instructions for that specific ROM but the sensors didn't work only the camera so I flashed a persist image but now not even the front camera works, how can I fix it? Please help
Could someone please send me their persist/ persist backup?
Click to expand...
Click to collapse
same here.. after flashing the persist.img file all sensors are working fine now except the front camera.. it's not even working for once!
learnerz said:
same here.. after flashing the persist.img file all sensors are working fine now except the front camera.. it's not even working for once!
Click to expand...
Click to collapse
Which one did you flash? From which Rom?
Isley_ said:
Which one did you flash? From which Rom?
Click to expand...
Click to collapse
i am using an indian variant. tried flashing persist.img from both 11.0.1.0 & 11.0.4.0 but nothing happened!
ufff finally it's working!!!! again flashed the fastboot rom 11.0.1.0 & after calibrating 3times it's working fine now <3
learnerz said:
ufff finally it's working!!!! again flashed the fastboot rom 11.0.1.0 & after calibrating 3times it's working fine now <3
Click to expand...
Click to collapse
Is that rom miui 11 or 10? Android 9 or 10?
Isley_ said:
Is that rom miui 11 or 10? Android 9 or 10?
Click to expand...
Click to collapse
miui 11 android 10.. tell me which variant you are using so that i can help
learnerz said:
miui 11 android 10.. tell me which variant you are using so that i can help
Click to expand...
Click to collapse
I have a chinese phone, should I install the latest fastboot ROM V11.0.8.0.QFKCNXM?
Isley_ said:
I have a chinese phone, should I install the latest fastboot ROM V11.0.8.0.QFKCNXM?
Click to expand...
Click to collapse
yes flash that fastboot rom & calibrate your camera.. this option automatically it will pop up! i hope it will fix all those sensor related problems.. if still there is any flash the persist file directly
learnerz said:
yes flash that fastboot rom & calibrate your camera.. this option automatically it will pop up! i hope it will fix all those sensor related problems.. if still there is any flash the persist file directly
Click to expand...
Click to collapse
If it works can I flash a custom ROM after?
Isley_ said:
If it works can I flash a custom ROM after?
Click to expand...
Click to collapse
yes absolutely.. just follow the general process of switching from miui to custom rom!
learnerz said:
yes absolutely.. just follow the general process of switching from miui to custom rom!
Click to expand...
Click to collapse
The fastboot rom V11.0.8.0.QFKCNXM is the latest version, does that mean I don't need to flash the vendor?
Isley_ said:
The fastboot rom V11.0.8.0.QFKCNXM is the latest version, does that mean I don't need to flash the vendor?
Click to expand...
Click to collapse
yes clean flashing the whole fastboot rom will automatically flash the whole package!
learnerz said:
yes clean flashing the whole fastboot rom will automatically flash the whole package!
Click to expand...
Click to collapse
Where do you download the fastboot rom? I'm downloading from https://xiaomifirmwareupdater.com/miui/raphael/ but it's slow
Isley_ said:
Where do you download the fastboot rom? I'm downloading from https://xiaomifirmwareupdater.com/miui/raphael/ but it's slow
Click to expand...
Click to collapse
i downloaded from here also but got good speed ?
I recently bricked my RN10s and then had to flash stock ROM using the SP flash tool now the sensors are not working properly.
The device turns its screen on and off because it thinks it's being picked up.
The sensors used by google maps show that I'm rotating constantly.
I am new while flashing on A/B partitions and thus ended up bricked, any help will be highly appreciated. I was trying to flash pixel 4 android 13 GSI A/B and also tried dot os but it seems like my device's flash memory after the brick is not working properly because it does not boot into custom twrp by the command Fastboot boot TWRP.img.
looking forward.
flash stock rom and done
I flashed the stock ROM using sp flash tool and tried with the mi flash tool but same results.
dequr said:
I flashed the stock ROM using sp flash tool and tried with the mi flash tool but same results.
Click to expand...
Click to collapse
I think it might be due to corrupted persist partition, I never custom romed a device but have been researching for my RN10s and I read that persist contains the sensor data control and l1 certification that's why you need to back it up in case it corrupts. Sadly you can't flash persist from the internet since it's unique to every phone if you flash it you loose l1 certification forever but get back sensor functions (I am not sure about sensor functions returning)
Also there is a tool to fix corrupted persist so do research it but whatever you do make sure you are 100% certain it's what you want changes to persist are permeant (except if you backed up persist before the brick in which case just flash the persist backup)
V.I: as I said I never flashed a device and don't know much about it this is what I read through reddit and research, take it with a grain of salt and do your own research aswell
alright so I did some research and re-flashed the persist file from the Fastboot IMG and got the z-axis moving again of the gyroscope and some other started working properly but still the rotation sensor according to google maps and compass is not working properly it's just rotating clockwise while the magnetic sensor is a pass in CIT.
dequr said:
alright so I did some research and re-flashed the persist file from the Fastboot IMG and got the z-axis moving again of the gyroscope and some other started working properly but still the rotation sensor according to google maps and compass is not working properly it's just rotating clockwise while the magnetic sensor is a pass in CIT.
Click to expand...
Click to collapse
This is because persist is unique to each phone and each sensor, you should have searched for the tool that fixes corrupted persist first. Anyways there might be another issue to this as flashing official tom through mi flash tool should fix any corruption in persist anyways try finding some solutions on reddit you might find something there
you flashed miu 13 rom with android 12? if does, the problem is the rom itself has many bugs in sensors, you must flash miui 12.5.16.0 with miflash and select flash_all to wipe all partitions and rewrite them
tutibreaker said:
you flashed miu 13 rom with android 12? if does, the problem is the rom itself has many bugs in sensors, you must flash miui 12.5.16.0 with miflash and select flash_all to wipe all partitions and rewrite them
Click to expand...
Click to collapse
Okay will try this now truly appreciate the support thx. Tho the phone is working quite better by time apart from the sensors.
The degree sensor or smt like that is just increasing to 360 and then will start from 0 again
killer_v41 said:
This is because persist is unique to each phone and each sensor, you should have searched for the tool that fixes corrupted persist first. Anyways there might be another issue to this as flashing official tom through mi flash tool should fix any corruption in persist anyways try finding some solutions on reddit you might find something there
Click to expand...
Click to collapse
A
tutibreaker said:
you flashed miu 13 rom with android 12? if does, the problem is the rom itself has many bugs in sensors, you must flash miui 12.5.16.0 with miflash and select flash_all to wipe all partitions and rewrite them
Click to expand...
Click to collapse
Any suggestions form where to download because there are lot of sites available
This is the sensor data and as you can see Orientation sensor along with the rotations third value and the z axis of gyroscope and accelerometer isn't working well so ill re-flash with the first miui this phone had and apply updates on it hopefully it will fix the errors.
Your browser is not able to display this video.
Alright so the result is the same rn I'm running miui 12.5.2 (android 11) now what I saw after reading the results from the command fastboot getvar all that there is written no after persist I was thinking if any of the redmi note 10s users could upload a back up of their persist.img and I could try flashing as it would help in knowing what is going on phones model M2101K7BG tho the point to be noted is that the mi flash said successful while phone booted on fastboot and had to use twrp to flash the recovery and again it showed some errors but after booting the phone is working
alright so I was going thru the images and I couldn't find any persistence in both 13.0 and 12.5 but now as I am now the question is how are the x and y axis keeping their value correct while z isn't so will tho ask for a persist file but just curious how is it detecting sensors then ??
dequr said:
Alright so the result is the same rn I'm running miui 12.5.2 (android 11) now what I saw after reading the results from the command fastboot getvar all that there is written no after persist I was thinking if any of the redmi note 10s users could upload a back up of their persist.img and I could try flashing as it would help in knowing what is going on phones model M2101K7BG tho the point to be noted is that the mi flash said successful while phone booted on fastboot and had to use twrp to flash the recovery and again it showed some errors but after booting the phone is working
Click to expand...
Click to collapse
That is the issue my friend each persist is made specifically for that phone it is unique to a phone not a model so if you do flash persist of a back up from a phone of same model see sensors will either not work at all or be extremely wrong
killer_v41 said:
That is the issue my friend each persist is made specifically for that phone it is unique to a phone not a model so if you do flash persist of a back up from a phone of same model see sensors will either not work at all or be extremely wrong
Click to expand...
Click to collapse
Yea I discovered the fastboot ROM didn't have persist.img and I've stopped trying because the gsi has detected it and some how some things have been fixed I've also seen. File named gsi_persist_data in /data nvr opened it but gyroscope while gaming doesn't stop and raise to wake works.