Mi 9 Restoring firmware - Xiaomi Mi 9 Questions & Answers

TLDR: I tried installing AEX rom and I bricked my mi9, getting it in a fastboot loop. Flashed a bunch of things and now I think my firmware is messed up. Help.
First I flashed TWRP, then I flashed the AEX rom and gapps, but phone got in bootloop, then I tried just flashing the ROM and it worked. After I flashed gaps it got into bootloop again.
Then I read the instructions from the AEX thread and I flash the recommended Firmware file (v9.6.13), and the flash failed.
I wiped everything, reflashed the ROM without gapps, and at restart the phone. Got stuck in fastboot.
Tried reinstalling TWRP with no success. Tried flashing MIUI with their flash tool but it didn't ended the flash procedure even after 20 minutes...
I tried to directly boot the recovery image (TWRP) and I was surprised that the phone booted in MIUI, but wifi wasn't working. Did not test anything else. Restarting the phone got me again in fastboot loop.
I tried again flashing with mi flash tool and this time was succesfull.
Then I tried to flash a MIUI eu ROM and got the phone again in fastboot loop. Flash was succesfull, but when restarting TWRP said that there is no OS installed.
I decided to give up and flash global MIUI 10.2.13 back.
But now my phone has some problems. Auto brightness doesn't work and video recording freezes the camera app when image stabilization is enabled.
So, is there a way to reflash 10.2.13 rom firmware using mi flash tool?
I suppose the first Firmware flash that was unsuccessful messed the firmware up...
Or how do I get my phone back to factory status...
I suppose v9.6.13 firmware is China developer and was an upgrade and that I should downgrade to 10.2.13 rom firmware.
Or flashing developer global will solve the problem? And how do I do that?
TWRP: https://forum.xda-developers.com/Mi-9/development/recovery-twrp-3-3-1-siankatabg-t3934962
AEX: https://forum.xda-developers.com/Mi-9/development/rom-aospextended-v6-6-t3956100

Have you ever tried fastboot rom ? Now it's the only solution to recover your phone !

macgyverx86 said:
TLDR: I tried installing AEX rom and I bricked my mi9, getting it in a fastboot loop. Flashed a bunch of things and now I think my firmware is messed up. Help.
First I flashed TWRP, then I flashed the AEX rom and gapps, but phone got in bootloop, then I tried just flashing the ROM and it worked. After I flashed gaps it got into bootloop again.
Then I read the instructions from the AEX thread and I flash the recommended Firmware file (v9.6.13), and the flash failed.
I wiped everything, reflashed the ROM without gapps, and at restart the phone. Got stuck in fastboot.
Tried reinstalling TWRP with no success. Tried flashing MIUI with their flash tool but it didn't ended the flash procedure even after 20 minutes...
I tried to directly boot the recovery image (TWRP) and I was surprised that the phone booted in MIUI, but wifi wasn't working. Did not test anything else. Restarting the phone got me again in fastboot loop.
I tried again flashing with mi flash tool and this time was succesfull.
Then I tried to flash a MIUI eu ROM and got the phone again in fastboot loop. Flash was succesfull, but when restarting TWRP said that there is no OS installed.
I decided to give up and flash global MIUI 10.2.13 back.
But now my phone has some problems. Auto brightness doesn't work and video recording freezes the camera app when image stabilization is enabled.
So, is there a way to reflash 10.2.13 rom firmware using mi flash tool?
I suppose the first Firmware flash that was unsuccessful messed the firmware up...
Or how do I get my phone back to factory status...
I suppose v9.6.13 firmware is China developer and was an upgrade and that I should downgrade to 10.2.13 rom firmware.
Or flashing developer global will solve the problem? And how do I do that?
TWRP: https://forum.xda-developers.com/Mi-9/development/recovery-twrp-3-3-1-siankatabg-t3934962
AEX: https://forum.xda-developers.com/Mi-9/development/rom-aospextended-v6-6-t3956100
Click to expand...
Click to collapse
Hmm, so where are you at now!? Have you got twrp installed? and 10.2.13 but with issues, right? or are you on stock recovery?

Current status: I managed to flash fastboot global ROM in mi flash, and stock recovery.
But the firmware is messed up.
Camera doesn't work well. And from normal use I saw that Gyroscope, light sensor and compas aren't working at all...
Phone reboots itself and I can't unlock it because pattern isn-t recognized anymore, untill I reset it by long pressing the power button.
From CIT menu gyro, light sensor and compass are definitely not working.
Would flashing latest firmware from TWRP be a possible solution? My bootloader is still unlocked and I can flash TWRP.
Or should I format vendor partition first? And then flash firmware?
Fastboot flash did solved firmware problem.

macgyverx86 said:
Current status: I managed to flash fastboot global ROM in mi flash, and stock recovery.
But the firmware is messed up.
Camera doesn't work well. And from normal use I saw that Gyroscope, light sensor and compas aren't working at all...
Phone reboots itself and I can't unlock it because pattern isn-t recognized anymore, untill I reset it by long pressing the power button.
From CIT menu gyro, light sensor and compass are definitely not working.
Would flashing latest firmware from TWRP be a possible solution? My bootloader is still unlocked and I can flash TWRP.
Or should I format vendor partition first? And then flash firmware?
Fastboot flash did solved firmware problem.
Click to expand...
Click to collapse
To be honest I'm not entirely sure if it'll help, but, I'd put global stable flashable zip on otg, then I'd flash twrp again, boot to twrp using buttons not commands, wipe cache, dalvik, vendor, system, data, internal. Then format data, swiping with confirmation 'yes'. Then flash latest global again over the clean device from otg. You could try using mauronfrio's twrp 3.3.1-35 instead of the one you linked get it here. That's just what I'd try, can't say whether it'll help and no guarantees it'll fix anything... Let us know the outcome bud.
You can download the latest flashable rom from here
I can't see why ur sensors etc aren't working anymore, it's got to be all software related me thinks
Do not try to reboot after wipes, you'll have nothing installed

reg66 said:
... I'd put global stable flashable zip on otg, then I'd flash twrp again, boot to twrp using buttons not commands, wipe cache, dalvik, vendor, system, data, internal. Then format data, swiping with confirmation 'yes'. Then flash latest global again over the clean device from otg. ....
Click to expand...
Click to collapse
Correct me if I am wrong, but flashing a stock MIUI zip form twrp won't work.
Or you are saying that I should flash a xiaomi eu ROM?

Got another sugestion:
Someone said that there is the posibility that mi flash didn't flash persist partition and that I should try to force flash it.
Referred thread here: https://forum.xda-developers.com/re.../how-to-flash-persist-partiton-redmi-t3830310
Is this a possibility?
And shouldn't mi flash reflash everything?

macgyverx86 said:
Correct me if I am wrong, but flashing a stock MIUI zip form twrp won't work.
Or you are saying that I should flash a xiaomi eu ROM?
Click to expand...
Click to collapse
Hold tight bud, just checking. I remember doing that - and the stock rom flashes but you no longer have twrp, it flashes the whole system/vendor including recovery. But hang on 'cos I might be recalling my pocophone F1 for that proceedure. The reason I suggest to reflash twrp is simply to have better control over a fully clean wipe, before progressing to flash rom again. Like I say, hang on just checking...
---------- Post added at 08:49 PM ---------- Previous post was at 08:47 PM ----------
macgyverx86 said:
Got another sugestion:
Someone said that there is the posibility that mi flash didn't flash persist partition and that I should try to force flash it.
Referred thread here: https://forum.xda-developers.com/re.../how-to-flash-persist-partiton-redmi-t3830310
Is this a possibility?
And shouldn't mi flash reflash everything?
Click to expand...
Click to collapse
Yes, miflash should flash everything, but you say you started flashing other stuff when it all went wrong, so I'm really not sure what's happened to ur device. Hang on anyway, still checking on the flashable zip ..
---------- Post added at 09:06 PM ---------- Previous post was at 08:49 PM ----------
Nope, I think you're right, it was the poco I was getting muddled with - haven't had to do this in while (poco has flashable stock zips somewhere...). It is possible to do it with lazy flasher, but that may start getting messy again. Have you tried re-flashing fastboot? Can you wipe much at all in the stock recovery - again, I can't remember.
Failing that, yeah, I'd seriously consider flashing twrp and flashing mi-globe or eu rom. I prefer mi-globe (although currently using beast rom) over eu simply because you can customize it more on the website. Though, I wouldn't recommend pre-rooting it. Root after, if need be. Any way, we'll cross that bridge later... For now just try to re-flash

reg66 said:
Can you wipe much at all in the stock recovery - again, I can't remember.
Click to expand...
Click to collapse
Didn't get this.
Is it ok to format vendor partition? will it be recreated wen flashing again? using mi flash or from twrp?

macgyverx86 said:
Didn't get this.
Is it ok to format vendor partition? will it be recreated wen flashing again? using mi flash or from twrp?
Click to expand...
Click to collapse
I'm pretty sure you won't be able to wipe much in stock recovery, but just wipe what you can and try and re-flash fastboot. Don't flash twrp yet. You could try downloading again the fastboot file, in case of any corruption. Hopefully on the second flash all will be well. But that said, it should've been OK on the first flash :/ in theory

just flashed xiaomi eu rom and everything seems to work now. All sensors are working.
I had to disable signature check, and i got an mounting /system error -> got the message that is installed without changes... whatever that means
And now in TWRP, I think, my files are encrypted without enabling it.
Will try other roms later.
Thanks for the help.

macgyverx86 said:
just flashed xiaomi eu rom and everything seems to work now. All sensors are working.
I had to disable signature check, and i got an mounting /system error -> got the message that is installed without changes... whatever that means
And now in TWRP, I think, my files are encrypted without enabling it.
Will try other roms later.
Thanks for the help.
Click to expand...
Click to collapse
Glad you got it working, phew!

macgyverx86 said:
just flashed xiaomi eu rom and everything seems to work now. All sensors are working.
I had to disable signature check, and i got an mounting /system error -> got the message that is installed without changes... whatever that means
And now in TWRP, I think, my files are encrypted without enabling it.
Will try other roms later.
Thanks for the help.
Click to expand...
Click to collapse
Go the same problem as you,i tried Android Q beta rom and after reflashing stock fastboot rom with mi flash,the sensors and video not working,any solution?

gm007 said:
Go the same problem as you,i tried Android Q beta rom and after reflashing stock fastboot rom with mi flash,the sensors and video not working,any solution?
Click to expand...
Click to collapse
I just flashed Xiaomi EU rom, did a CIT test and all sensors were working.
Try that. I'm curious it it works for you.

macgyverx86 said:
I just flashed Xiaomi EU rom, did a CIT test and all sensors were working.
Try that. I'm curious it it works for you.
Click to expand...
Click to collapse
Yes it worked with eu rom,but i managed to fix it on stock global stable by flashing an old miui 10.2.6 fastboot rom,Than updated to the latest one 10.2.13

gm007 said:
Yes it worked with eu rom,but i managed to fix it on stock global stable by flashing an old miui 10.2.6 fastboot rom,Than updated to the latest one 10.2.13
Click to expand...
Click to collapse
So 10.2.13 fastboot image is to blame here.

macgyverx86 said:
So 10.2.13 fastboot image is to blame here.
Click to expand...
Click to collapse
Not sure maybe flashing eu rom first have fix it .

Related

Need super help - Mi 8 -System has been destroyed

Hi all
Sorry that my vocabulary wont be so pro.
I flashed yesterday EU stable rom 10.0.1.0.
Today I flashed back global 8.8.30 using twrp, wiped data and it has finish ok, but made loop boot and backed to twrp once again.
then flashed 9.5.13.0 global, ended OK, didn't boot well and backed me to recovery screen.
by ADB I tried to go back to TWRP and it boot to "the system has been destroyed".
Nothing i do not help, by info with ADB looks like the bootlouder is closed some how.
I cannot open in since it is writing me that the account not connected to the to the phone, and i cannot do anything since the phone is not going up.
any ideas?
dorone said:
Hi all
Sorry that my vocabulary wont be so pro.
I flashed yesterday EU stable rom 10.0.1.0.
Today I flashed back global 8.8.30 using twrp, wiped data and it has finish ok, but made loop boot and backed to twrp once again.
then flashed 9.5.13.0 global, ended OK, didn't boot well and backed me to recovery screen.
by ADB I tried to go back to TWRP and it boot to "the system has been destroyed".
Nothing i do not help, by info with ADB looks like the bootlouder is closed some how.
I cannot open in since it is writing me that the account not connected to the to the phone, and i cannot do anything since the phone is not going up.
any ideas?
Click to expand...
Click to collapse
if this is a Chinese version phone, you need to flash the region fix, and also the dm-verity disabler after the ROM and also wipe DATA.
Agimax said:
if this is a Chinese version phone, you need to flash the region fix, and also the dm-verity disabler after the ROM and also wipe DATA.
Click to expand...
Click to collapse
Hi
many thanks for your answer
How i am doing it?
phone is not working, not twrp.
tried now to flash chinese last rom - nogo
dorone said:
Hi
many thanks for your answer
How i am doing it?
phone is not working, not twrp.
tried now to flash chinese last rom - nogo
Click to expand...
Click to collapse
If you don't have TWRP anymore, and MIflashtool isn't working, then if your phone is still unlocked, flash the TWRP again through fastboot. If not, i'm not sure.
I have a Chinese to Global thread here-->https://forum.xda-developers.com/mi-8/help/chinese-mi8-to-global-instructions-t3839665
10.0.1.0 has ARB hasn't it?
_katho_ said:
10.0.1.0 has ARB hasn't it?
Click to expand...
Click to collapse
I not 100% sure but I will go for that also, its sad but probably he screw his phone.
1. he confirm he have locked bootloader
2. no access to system nor miflash detect so no bootloader unlock
3. no bootloader, so no flashing twrp.
I dont have any good news, nor any solution to even help you.
freeman94 said:
I not 100% sure but I will go for that also, its sad but probably he screw his phone.
Click to expand...
Click to collapse
Yep, everywhere I've seen MIUI 10 10.x stable have ARB. It's the reason I haven't flashed it, as I read before..

Black screen after install TWRP on Xiaomi Mi 8 SE

Good afternoon people!
After installing TWRP via Fastboot, when I restart my phone, the TWRP screen does not open!
It's only black screen!
Does anyone know how to solve it?
Thank you!
IgorBAlves said:
Good afternoon people!
After installing TWRP via Fastboot, when I restart my phone, the TWRP screen does not open!
It's only black screen!
Does anyone know how to solve it?
Thank you!
Click to expand...
Click to collapse
Please give details!!!We do not have your phone in hands!
What rom was installed?
What TWRP did you flash?
Are you able to reboot the rom?
Hi, thank you for help me!
I'm using the MIUI 10.2.2 Chinese version.
I installed the TWRP 3.2.3 yesterday!
Yeah, I'm able to reset my ROM.
Thank you again
Same problem, all activities using fastboot lead to black screen with line "press any key to shutdown"
manhnl311 said:
Same problem, all activities using fastboot lead to black screen with line "press any key to shutdown"
Click to expand...
Click to collapse
Any your sensors are working?
Hi, I'm also experiencing a problem with TWRP. I flashed TWRP 3.2.3 1102 and 1217 but couldn't boot into the recovery. Custom rom currently using is xiaomi eu 9.2.21 flashed via 1102 but since then couldnt boot into it to update the rom.
P3aceWalker said:
Hi, I'm also experiencing a problem with TWRP. I flashed TWRP 3.2.3 1102 and 1217 but couldn't boot into the recovery. Custom rom currently using is xiaomi eu 9.2.21 flashed via 1102 but since then couldnt boot into it to update the rom.
Click to expand...
Click to collapse
Flash 1227 twrp. normally it MUST be installed before rebooting into the system rom.
https://drive.google.com/drive/folders/1IeCtb6vRO4CRe76s0BD_5TQiSnymPBTT
Hope it stick because some of us got troubles and were forced to reflash with miflash in order to recover.
Thanks, I was worried that 1227 would introduce more problems instead of solving them but I took the risk and it paid off. I can boot into the recovery after flashing it. One more question if you don't mind, can I directly flash the new updated rom without wiping so as to not lose any data. It won't cause any problems right?
P3aceWalker said:
Thanks, I was worried that 1227 would introduce more problems instead of solving them but I took the risk and it paid off. I can boot into the recovery after flashing it. One more question if you don't mind, can I directly flash the new updated rom without wiping so as to not lose any data. It won't cause any problems right?
Click to expand...
Click to collapse
No problem to weekly flash EU- DEV rom in dirty mode from direct download. (I systematically reject the OTA update because it often fails.)
And If a risk exist or any request for clean install, it will be notified at download page.
lolo9393 said:
Flash 1227 twrp. normally it MUST be installed before rebooting into the system rom.
https://drive.google.com/drive/folders/1IeCtb6vRO4CRe76s0BD_5TQiSnymPBTT
Hope it stick because some of us got troubles and were forced to reflash with miflash in order to recover.
Click to expand...
Click to collapse
So, I must to reinstall the stock ROM in my cellphone and after I have to install this TWRP?

Help, ODD bootloop after making backup by TWRP (PitchBlack)

my A2 Converted to 6X stuck in bootloop after making a BackUp by PitchBlack, It wont boot in System nor Recovery anymore,
what should I do?
if I try to go to recovery it turns off,
and if I connect charger cable it turns on and off repeatedly (each 2-3 secs)
Keep force rebooting by holding down the power button and volume up button continuously / connecting the charger multiple times until you manage to get into recovery mode (I tried it for over 5 mins and it will eventually work for sometimes).
Then flash the latest Wayne (6X) firmware (download in Xiaomi Firmware Updater's website), it fixed that situation for me.
I reflashed recovery by fastboot, and reboot it by command line, it boots, but if I restart the phone the problem occurs again,
sz.hatef said:
I reflashed recovery by fastboot, and reboot it by command line, it boots, but if I restart the phone the problem occurs again,
Click to expand...
Click to collapse
Yeah, it was the miui eu rom firmware problem. Some ppl, including me, fixed the issue by flashing latest wayne firmware in recovery.
MarcusMario0605 said:
Yeah, it was the miui eu rom firmware problem. Some ppl, including me, fixed the issue by flashing latest wayne firmware in recovery.
Click to expand...
Click to collapse
could you please share the link of the latest wayne firmware here?
sz.hatef said:
could you please share the link of the latest wayne firmware here?
Click to expand...
Click to collapse
https://xiaomifirmwareupdater.com/firmware/wayne/
just flash the zip file in recovery.
MarcusMario0605 said:
https://xiaomifirmwareupdater.com/firmware/wayne/
just flash the zip file in recovery.
Click to expand...
Click to collapse
I flashed the Stable One, now when it boots it does not show the Unlocked message !
is that mean that my bootloader is locked again??
the fastboot says: (bootloader) unlocked:yes
Bootloader is still unlocked despite you flashed the firmware since flashing firmware will definitely not lock the bootloader. (probs. the perk of miui 11 eu roms, i'm not sure)
MarcusMario0605 said:
https://xiaomifirmwareupdater.com/firmware/wayne/
just flash the zip file in recovery.
Click to expand...
Click to collapse
I have converted my a2 to 6x.. Will it be okay if i flash the zip without deleting firmware updater folder! I already triggered arb 4. In xiaomi eu rom camera doesn't work at all! So i have to use custom roms! Camera is fine in custom rom! And should i wipe my vendor too? Before flashing the zip?
I flash weekly roms of xioami.eu and camera just works fine, ( and I don't delete firmware folder) why do you want to delete it while you have already triggered ARB?!
Mozahid007 said:
I have converted my a2 to 6x.. Will it be okay if i flash the zip without deleting firmware updater folder! I already triggered arb 4. In xiaomi eu rom camera doesn't work at all! So i have to use custom roms! Camera is fine in custom rom! And should i wipe my vendor too? Before flashing the zip?
Click to expand...
Click to collapse
It is okay if you don't delete firmware update folder since you already triggered the arb 4.
And don't wipe your vendor if you are going to flash that zip, since that zip only contains firmware files.
sz.hatef said:
I flash weekly roms of xioami.eu and camera just works fine, ( and I don't delete firmware folder) why do you want to delete it while you have already triggered ARB?!
Click to expand...
Click to collapse
Last time i flashed with firmware updater folder my phone bricked and triggered arb 4! And after that i recovered it any how! Now in eu roms camera doesn't work at all!
Mozahid007 said:
Last time i flashed with firmware updater folder my phone bricked and triggered arb 4! And after that i recovered it any how! Now in eu roms camera doesn't work at all!
Click to expand...
Click to collapse
I think you miss something , if your bootloader is unlocked, when you flash the whole ROM intact it should works perfectly, but sometimes shifting from stable to beta could lead to boot loop, you need to wipe system , davilk, and cache partitions
MarcusMario0605 said:
It is okay if you don't delete firmware update folder since you already triggered the arb 4.
And don't wipe your vendor if you are going to flash that zip, since that zip only contains firmware files.
Click to expand...
Click to collapse
Okay thanks a lot! Gonna try it very soon...

Front Camera not Working. Android 10

Hello Guys,
I am facing this weird issue. Whenever i am trying to switch to my front camera the camera keeps switching between both the rear ones. I tried flashing stock, tried different roms, nothing is helping.
Please suggest a solutions. Thanks
gamerboy_010 said:
Hello Guys,
I am facing this weird issue. Whenever i am trying to switch to my front camera the camera keeps switching between both the rear ones. I tried flashing stock, tried different roms, nothing is helping.
Please suggest a solutions. Thanks
Click to expand...
Click to collapse
very unusual sounding problem ...sounds like you tried to play around with vendor props and to make aux camera working
flash stock using miflash ...do it in edl mode using fastboot
fastboot oem.edl
when finished ...BOOT not flash orange fox revovery
fastboot boot recovery.img
*"might be different command depending on pc amd name and location of downloaded recovery
then use a persist restorer flashable zip you can.find in jasmine/wayne official telegram.group and flash that ..
them reboot and use as normal
Thanks, i will try and rever
I tried the process you suggested and followed every step. Even after that the camera is still switching between rear ones. Can't switch to front camera.
gamerboy_010 said:
I tried the process you suggested and followed every step. Even after that the camera is still switching between rear ones. Can't switch to front camera.
Click to expand...
Click to collapse
yeah no bro that is impossible even if nothing is impossible that is 99% impossible and you didn't do everything that i suggested
make a video of the problem and a video of applying my fix
if not i can't help you further ..
Here's what i did.
Rebooted the phone to fastboot - used fastboot oem edl
Phone was detected as COM 10 in Mi FlashTool.
Flashed whole Pie Stock Rom.
Without booting, went to fastboot and unlocked bootloader although it was showing its already unlocked.
Used fastboot boot recovery.img and went into recovery.
Flashed persistrestorer6X.zip, found in Mi A2 telegram group, there is only zip.
Booted the phone. Tell me a few things.
Which stock version to flash?
What's wrong in above steps that i did?
gamerboy_010 said:
Here's what i did.
Rebooted the phone to fastboot - used fastboot oem edl
Phone was detected as COM 10 in Mi FlashTool.
Flashed whole Pie Stock Rom.
Without booting, went to fastboot and unlocked bootloader although it was showing its already unlocked.
Used fastboot boot recovery.img and went into recovery.
Flashed persistrestorer6X.zip, found in Mi A2 telegram group, there is only zip.
Booted the phone. Tell me a few things.
Which stock version to flash?
What's wrong in above steps that i did?
Click to expand...
Click to collapse
what device are you using ?
jasmine or wayne
which recovery did you use ?
_what i can tell you is not all twrp recovery works or can flash persist
_ try to use orange fox but use another recovery that can backup and flash persist ..
press
mount button ...if you don't see persist partition option here the recovery can not flash it even if .zip seems to flash well
look for pie persist.img for your device according to if it is jasmine or wayne ...look for recovery that can mount, backup and flash .img files to persist
---------- Post added at 09:01 PM ---------- Previous post was at 08:42 PM ----------
use these files bro
https://www.dropbox.com/s/w2d2z92yn6115ot/persist.img?dl=0
https://www.dropbox.com/s/zy8prxeum9qbkx5/TWRP-3.2.3-0810-XIAOMI6X-RU-wzsx150-hypeartist.zip?dl=0
https://www.dropbox.com/s/or0n7b6hxagr2ee/4_6050642049911227980.zip?dl=0
if you have jasmine flash persist in both slots
Thanks, i have jasmine. Let me use your files and revert.
Hello,
Sorry took a little longer.
I tried again with the process you suggested.
I used two different recoveries after flashing stock.
1. TWRP 3.2.3 unofficial
2. Orange Fox Recovery
I was successfully able to flash Persist using Orange Fox Recovery but it didn't helped. I was still not able to switch to front camera.
I tried to download and flash another Pie Stock Rom, same thing was happening on that as well.
Now i don't understand how else i can fix this. I have tried different versions of stock, i tried different recovery to flash persist, still the same issue.
gamerboy_010 said:
Hello,
Sorry took a little longer.
I tried again with the process you suggested.
I used two different recoveries after flashing stock.
1. TWRP 3.2.3 unofficial
2. Orange Fox Recovery
I was successfully able to flash Persist using Orange Fox Recovery but it didn't helped. I was still not able to switch to front camera.
I tried to download and flash another Pie Stock Rom, same thing was happening on that as well.
Now i don't understand how else i can fix this. I have tried different versions of stock, i tried different recovery to flash persist, still the same issue.
Click to expand...
Click to collapse
flash stock rom but in edl mode , using Miflash. Use the cmd :
fastboot oem edl
_dont use custom rom
_dont flash in normal fastboot
the only way this problem could be happening is if you were trying modifications in vendor and when you flash a new rom it doesn't overwrite the changes because it is modifying only vendor ...flashing custom roms in recovery won't help , neither will stock in fastboot mode . Only edl mode .... furthermore directly after flashing stock ...flash persist ...that way you start 100% fresh ..if it still doesn't work it is hardware failure
but i can do nothing more for you unless you send videos or photos of you following the steps and the problem with the camera .
**if you know how try removing back and enter edl with testpoint ...flash ... disconnect cameras and reconnect them ... then start phone
***if you remember what you changed just change it back ( did you try modifications? , what did you do ?)
****copy vendor files for camera from friend
Thanks for your help. I managed to get out of this in a weird way.
Flashed Stock in EDL. Tried different different Pie version this time.
Unlocked BL and Critical. Flashed Persist, didn't helped though.
Flashed Derpfest Rom with Mystic kernal and suddenly it started working.
Thanks for the help.
gamerboy_010 said:
Thanks for your help. I managed to get out of this in a weird way.
Flashed Stock in EDL. Tried different different Pie version this time.
Unlocked BL and Critical. Flashed Persist, didn't helped though.
Flashed Derpfest Rom with Mystic kernal and suddenly it started working.
Thanks for the help.
Click to expand...
Click to collapse
no problem man glad you succeeded ... probably it worked but after flashing persist everything usually starts working Normally after a few reboots ..so probably by then it was when you flashed derp
gamerboy_010 said:
Thanks for your help. I managed to get out of this in a weird way.
Flashed Stock in EDL. Tried different different Pie version this time.
Unlocked BL and Critical. Flashed Persist, didn't helped though.
Flashed Derpfest Rom with Mystic kernal and suddenly it started working.
Thanks for the help.
Click to expand...
Click to collapse
today i experienced a funny situation ...i took the new stock update for wayne and then i had the same camera problem ..
after thinking a little i realised it was after uodate so i had to just reapply the api2 for camera and then it started working normally so in future before going the long way make sure to enable api2 again after you update or flash a new thing . if camera works great if not take the long way...

Xiaomi Note 9 is still bootlooping even after installing stock firmware

Hello! Just created an account in this forum to seek help because this is driving me nuts.
I have a Xiaomi Redmi Note 9 (Merlin) which has no system (Android), but I still can access fastboot and recovery menu, so I went ahead and unlocked the bootloader and flashed MIUI without any issue. To my surprise, when I booted the phone back up, it was like I didn't do anything as it still bootlooped, it didn't even show the MIUI logo, so I tried again; still nothing.
So, I tried the following:
- I followed the guide in this forum for hard-bricked Note 9 phones (https://forum.xda-developers.com/t/...icked-redmi-note-9-merlin-hard-brick.4347025/), and I can tell the firmware flashes because the starting menu and the fastboot logo changed from the rabbit to FASTBOOT in orange letters, but still no system.
- I flashed stock firmware, but still no system.
- I flashed the MIUI version that the phone came with through fastboot, but still no system
- I tried to flash the newest version of MIUI the phone came with through TWRP using the recovery version, but still no system (and when I try to reboot, TWRP says there is no system)
- I tried installing Pixel Experience to see if MIUI was the issue but, still no system. The phone just keeps bootlooping endlessly.
- I tried running https://github.com/Zackptg5/Disable_Dm-Verity_ForceEncrypt to see if the encryption was the problem, but no progress.
I would appreciate any help to at least have my phone working, even if it's not with MIUI but with a custom ROM. At this point I don't care anymore, just want a useable phone.
Thank you.
Hi. Just flash the whole stock MIUI ROM of your choice and then
In TWRP you must format /data (you did first make a backup of your personal data right?)
Then phone should boot again.
I hope this helps. Good luck!
lebigmac said:
Hi. Just flash the whole stock MIUI ROM of your choice and then
In TWRP you must format /data
I hope this helps. Good luck!
Click to expand...
Click to collapse
I've tried that a couple of times but it's like I didn't do anything, when I reboot I still get no system
bump
bump - really desperate about this matter
I can't believe reflashing stock ROM + formatting the /data partition didn't fix your issue
You are using the flash_all.sh script that comes with the stock MIUI firmware right?
well your only option it seems is to check the bootloop log and then try to find out the reason for bootloop that way. Maybe somewhere inside TWRP you can find some kind of bootloop log? Good luck!
lebigmac said:
I can't believe reflashing stock ROM + formatting the /data partition didn't fix your issue
You are using the flash_all.sh script that comes with the stock MIUI firmware right?
well your only option it seems is to check the bootloop log and then try to find out the reason for bootloop that way. Maybe somewhere inside TWRP you can find some kind of bootloop log? Good luck!
Click to expand...
Click to collapse
Yeah, I even tried with other PCs to see if that was the issue. Will try looking in the logs. Thank you!

Categories

Resources