Hi guys. I accidentaly wiped System and now my phone has no rom on it. I tried to install stock rom from https://xiaomifirmwareupdater.com via Fastboot but it won't install because of anti rollback. My Bootloader is unlocked and i have TWRP, can anybody please help me... THX!
If you can boot to TWRP, try to install a MIUI recovery rom: https://mifirm.net/model/davinci.ttt or a custom rom.
Or, try to flash the images with CMD/Terminal.
Schnedi said:
If you can boot to TWRP, try to install a MIUI recovery rom: https://mifirm.net/model/davinci.ttt or a custom rom.
Or, try to flash the images with CMD/Terminal.
Click to expand...
Click to collapse
Thx. for the reply. I flash stock rom with CMD but it boot loops ..then flashed again with TWRP but after reboot it goes back to recovery. Any ideas?
I forgot this two lines
"fastboot erase userdata"
"fastboot flash userdata userdata.img"
Now it boots ..Thank a lot!!!
Alin CG said:
I forgot this two lines
"fastboot erase userdata"
"fastboot flash userdata userdata.img"
Now it boots ..Thank a lot!!!
Click to expand...
Click to collapse
Dear Alin
Could you describe to us the steps you did to succesfully reflash your device?
In the future in case that happend again... its easy, if you still can enter to TWRP just connect to the PC and transfer any flasheable ROM... Flash it and thats it
mauriciocardoso said:
Dear Alin
Could you describe to us the steps you did to succesfully reflash your device?
Click to expand...
Click to collapse
Will post when i get back from work.
Hucast_DL said:
In the future in case that happend again... its easy, if you still can enter to TWRP just connect to the PC and transfer any flasheable ROM... Flash it and thats it
Click to expand...
Click to collapse
The TWRP method didn't work because i wiped everything : system, vendor. etc... my phone had nothing on it, not a single file of the original firmware. When i flashed the rom with TWRP it always booted to TWRP and not the rom , even if the rom was installed successfully. Even when i tried to flash with FlashTool i got the anti rollback error. The CMD/Terminal flash worked for me.
Alin CG said:
The TWRP method didn't work because i wiped everything : system, vendor. etc... my phone had nothing on it, not a single file of the original firmware. When i flashed the rom with TWRP it always booted to TWRP and not the rom , even if the rom was installed successfully. Even when i tried to flash with FlashTool i got the anti rollback error. The CMD/Terminal flash worked for me.
Click to expand...
Click to collapse
For example you flash xiaomi.eu already included all you said I think the only step you didnt was wipe data (tipyng yes)
mauriciocardoso said:
Dear Alin
Could you describe to us the steps you did to succesfully reflash your device?
Click to expand...
Click to collapse
Download the fastboot rom from first link and unzip it. It should have 6gb then folow the steps from second link.
https://xiaomifirmwareupdater.com/archive/miui/davinci/
https://www.xiaomigeek.com/flash-miui-fastboot-rom-using-command.html
Tried flashing the rom with miflash official tool?
Related
Hi!
I have my device a few days ago and I wanted to flash globerom (alias smiui), but when I tried to flash it in twrp it gave me strange installation logs and when it finished it killed everything except fastboot (I couldn't boot into system, recovery and the power-and-volumeup mode) I flashed twrp again and restored my old backup and than it fixed everything, but when I tried to flash a newer miui (the one can be downloaded from miui.com) it did the same. So what can I do than?
I don't want to do flash in fastboot, because a corrupted fastboot package killed my previous redmi
Is there any risk less method to flash miui roms in twrp?
Thanks for all the answers in advance!
P. S. : Cm13 worked well
I prefer flash a fastboot MIUI ROM compared to a recovery MIUI ROM
Did you disable "DM-Verity" in TWRP after flashing and first start?
http://xiaomitips.com/guide/how-to-flash-twrp-and-root-redmi-3s/
ConradB said:
Did you disable "DM-Verity" in TWRP after flashing and first start?
http://xiaomitips.com/guide/how-to-flash-twrp-and-root-redmi-3s/
Click to expand...
Click to collapse
Thanks for the tip! It worked!
Hi !!
First, i tried to flash Resurrection Remix ROM but i stucked in BOOTLOOP
And then i flashed latest stock rom Version: V9.5.9.0.ODHMIFA using mi flash but i had a problem that when i wan to connect to WiFi it will say save then disable but never connect so i flashed the stock rom again and i still getting the WiFi problem and i flashed the rom for the third time and i got stuck in weird BOOTLOOP, the device will start normally but after few minutes it will restart over and over and over, so what should i do ? can anyone help me ?
that's all and i'm sorry if my english is bad
SooMi22 said:
Hi !!
First, i tried to flash Resurrection Remix ROM but i stucked in BOOTLOOP
And then i flashed latest stock rom Version: V9.5.9.0.ODHMIFA using mi flash but i had a problem that when i wan to connect to WiFi it will say save then disable but never connect so i flashed the stock rom again and i still getting the WiFi problem and i flashed the rom for the third time and i got stuck in weird BOOTLOOP, the device will start normally but after few minutes it will restart over and over and over, so what should i do ? can anyone help me ?
that's all and i'm sorry if my english is bad
Click to expand...
Click to collapse
if u want to use custom rom just follow proper steps and it will install.
-unlock bootloader (which i assume u already have)
-fastboot boot latest twrp
-do a full wipe and reboot to bootloader.
-again fastboot boot the latest twrp
-now copy rom,gapps,magisk(mandatory) and twrp installer(optional)
-install rom and twrp installer only
-reboot to booatloader and fastboot boot twrp again or if u installed twrp installer just reboot to recovery.
-now flash magisk and gapps
-reboot system
By mistake if u flashed factory.bat then read this : https://forum.xda-developers.com/mi-a1/how-to/guide-how-to-restore-imei-permanently-t3759190
if your phone is rebooting after every 60 sec then u most probably corrupted /persist. Don't worry custom roms will work without any problem as they don't touch persist.
did you by chance used flash_factory.bat in mi flash tool ?
anshu945 said:
if u want to use custom rom just follow proper steps and it will install.
-unlock bootloader (which i assume u already have)
-fastboot boot latest twrp
-do a full wipe and reboot to bootloader.
-again fastboot boot the latest twrp
-now copy rom,gapps,magisk(mandatory) and twrp installer(optional)
-install rom and twrp installer only
-reboot to booatloader and fastboot boot twrp again or if u installed twrp installer just reboot to recovery.
-now flash magisk and gapps
-reboot system
also if u want to use stock rom read this : https://forum.xda-developers.com/mi-a1/how-to/guide-how-to-restore-imei-permanently-t3759190
if your phone is rebooting after every 60 sec then u most probably corrupted /persist. Don't worry custom roms will work without any problem as they don't touch persist.
also did you by chance used flash_factory.bat in mi flash tool ?
Click to expand...
Click to collapse
thank you for help
i will try to use custom rom and i hope it will work
and i did use flash_all_lock_crc.bat in mi flash tool then i'm start getting the restart problem with unread sim card
use flash_all_lock.bat only or flash all except storage.bat or flash_all.bat .except these nothing else.
flash custom rom or flash_all_lock.bat in mi flash tool (it will work work most probably).
anshu945 said:
if u want to use custom rom just follow proper steps and it will install.
-unlock bootloader (which i assume u already have)
-fastboot boot latest twrp
-do a full wipe and reboot to bootloader.
-again fastboot boot the latest twrp
-now copy rom,gapps,magisk(mandatory) and twrp installer(optional)
-install rom and twrp installer only
-reboot to booatloader and fastboot boot twrp again or if u installed twrp installer just reboot to recovery.
-now flash magisk and gapps
-reboot system
also if u want to use stock rom read this : https://forum.xda-developers.com/mi-a1/how-to/guide-how-to-restore-imei-permanently-t3759190
if your phone is rebooting after every 60 sec then u most probably corrupted /persist. Don't worry custom roms will work without any problem as they don't touch persist.
also did you by chance used flash_factory.bat in mi flash tool ?
Click to expand...
Click to collapse
problem solved !!
first, i tried to flash custom rom with your steps but it didn't work for me, getting stock in boot logo
then i tried the solution in thread u give me, i flashed tissot_images_7.8.23_7.1 via mi flash tool then i restored restore persist partition and everything work great !!
wifi and sim card works fine, thanks man for your help :good:
great, just keep in mind not to flash factory.bat or any other bat files except the three i mentioned above.
anshu945 said:
great, just keep in mind not to flash factory.bat or any other bat files except the three i mentioned above.
Click to expand...
Click to collapse
ok i will, thanks again
anshu945 said:
great, just keep in mind not to flash factory.bat or any other bat files except the three i mentioned above.
Click to expand...
Click to collapse
sorry for bothering, but now i have 'no service' issue, the phone read the sim but it shows that i have no service
do u have any idea to fix this ?
SooMi22 said:
sorry for bothering, but now i have 'no service' issue, the phone read the sim but it shows that i have no service
do u have any idea to fix this ?
Click to expand...
Click to collapse
now to recover imei follow the same guide above, if u have trouble editing qcn let me know.
hi, i need some help with reflashing the stock rom
its always stuck on pushing the system neither manual nor using mi flash.
here i attached the log file, wish it help in some way.
littlecrap said:
hi, i need some help with reflashing the stock rom
its always stuck on pushing the system neither manual nor using mi flash.
here i attached the log file, wish it help in some way.
Click to expand...
Click to collapse
you followed this guide?
YayJohn said:
you followed this guide?
Click to expand...
Click to collapse
no i dont follow the guide you mentioned, i dont know whats wrong but its always stuck in writing system b
the log says its ok but no further action.
littlecrap said:
no i dont follow the guide you mentioned, i dont know whats wrong but its always stuck in writing system b
the log says its ok but no further action.
Click to expand...
Click to collapse
You can try following the guide I sent u but if it doesn't work I can't help you
Sorry for my wrong English
I am currently on stock miui 10.3.6.0 .I have unlocked the bootloader,Installed TWRP recovery & rooted my device with magisk.Now i am unable to get the latest miui 10.3.7.0 update.!
Is there any way in whick i can update my device to latest miui rom?
If there please help me.
I am not finding any link which is helping me.
I downloaded latest miui recovery rom from here but unfortunately there is an error i.e flash all.bat is missing in xiaomiflashtool.Tried to flash the same rom through TWRP but there again is an error i.e compatibility zip missing.
a download link to miui 10.3.7.0 fastboot rom will be appreciated.please help
Thanks in advance
Look here: https://forum.xda-developers.com/redmi-note-7/help/ota-update-unlocked-rooted-device-t3963409/page2
Download the full recovery rom from here: https://xiaomifirmwareupdater.com/miui/
darhma said:
Look here: https://forum.xda-developers.com/redmi-note-7/help/ota-update-unlocked-rooted-device-t3963409/page2
Download the full recovery rom from here: https://xiaomifirmwareupdater.com/miui/
Click to expand...
Click to collapse
Thanks very much it helped. I have downloaded fastboot Rom and flashed it. I have another big issue,after flashing 10.3.7.0 update I got miui stock recovery Installed so I again.
Flashed twrp from fastboot.
Then format data.
Flash magisk.
And reboot.
But after successful reboot and setup when I choose to use pattern or pin or password as authentication.The device is not recognizing my correct pin or password.It says password incorrect. Please help I am not finding any solution for this.
What is the correct pattern to install recovery to successful magisk install.
Thanks
ChandrakantBelell said:
Thanks very much it helped. I have downloaded fastboot Rom and flashed it. I have another big issue,after flashing 10.3.7.0 update I got miui stock recovery Installed so I again.
Flashed twrp from fastboot.
Then format data.
Flash magisk.
And reboot.
But after successful reboot and setup when I choose to use pattern or pin or password as authentication.The device is not recognizing my correct pin or password.It says password incorrect. Please help I am not finding any solution for this.
What is the correct pattern to install recovery to successful magisk install.
Thanks
Click to expand...
Click to collapse
Why did you used fastboot rom instead of the recovery rom? This way you didn't update the rom but reinstalled it. So I think that the only way to get rid of the password request is to format data partition from recovery and then install magisk. Next time you have to update you have to download the RECOVERY rom, dirty flash it and flash magisk before rebooting to system.
darhma said:
Why did you used fastboot rom instead of the recovery rom? This way you didn't update the rom but reinstalled it. So I think that the only way to get rid of the password request is to format data partition from recovery and then install magisk. Next time you have to update you have to download the RECOVERY rom, dirty flash it and flash magisk before rebooting to system.
Click to expand...
Click to collapse
Ok thanku.So now i have to flash TWRP recovery.then boot into recovery wipe data then install magisk right? Is there any other zip to flash? What is vm verity zip? I have to flash that also?
ChandrakantBelell said:
Ok thanku.So now i have to flash TWRP recovery.then boot into recovery wipe data then install magisk right? Is there any other zip to flash? What is vm verity zip? I have to flash that also?
Click to expand...
Click to collapse
You have to flash twrp reboot to recovery if it asks for a password format data then install magisk. Vbmeta is needed just when you change rom from miui to aosp, so in this case you don't need it
Hey hopefully someone could help me.
So i wanted to install android 10 on my Mi9t. After unlocking and installing TWRP i have wiped the Phone (everything accept usb OTG) after that i got stuck in Fastboot. Now ive get to managed it in to TWRP again but couldnt install any rom. Ive tried with Miflash it says Rollback check error. I Have anti:1. Im Lost..
Does anyone have an idea? I´ve installed Miflash on C:
BimSxx said:
Hey hopefully someone could help me.
So i wanted to install android 10 on my Mi9t. After unlocking and installing TWRP i have wiped the Phone (everything accept usb OTG) after that i got stuck in Fastboot. Now ive get to managed it in to TWRP again but couldnt install any rom. Ive tried with Miflash it says Rollback check error. I Have anti:1. Im Lost..
Does anyone have an idea? I´ve installed Miflash on C:
Click to expand...
Click to collapse
Never wipe everything
Go to fastboot and flash via there the ROM, maybe even the persist partition
Pupet_Master said:
Never wipe everything
Go to fastboot and flash via there the ROM, maybe even the persist partition
Click to expand...
Click to collapse
THX for your answer. I´ve tried to install via Fastboot. With MIFLASH but i got the anti rollback check error. I´ve read an tutorial where it stands Wipe everything execpt USB OTG. Now im Smarter...
After i installed boot.img recovery.img and system.img with the official Rom. it boots up to the original recovery.
So after you erased all but OTG, you did not install a rom? Cause you only mentioned "after that".
BimSxx said:
THX for your answer. I´ve tried to install via Fastboot. With MIFLASH but i got the anti rollback check error. I´ve read an tutorial where it stands Wipe everything execpt USB OTG. Now im Smarter...
After i installed boot.img recovery.img and system.img with the official Rom. it boots up to the original recovery.
Click to expand...
Click to collapse
Try via fastboot on ADB console, not miflash.
Start with the persist partition and then flash TWRP again and flash a ROM that you are positive that TWRP flash fine (some don't). Stock MIUI i'm speaking.
Wmateria said:
So after you erased all but OTG, you did not install a rom? Cause you only mentioned "after that".
Click to expand...
Click to collapse
After i wiped it i cant install on OS. There were no Folders...
Pupet_Master said:
Try via fastboot on ADB console, not miflash.
Start with the persist partition and then flash TWRP again and flash a ROM that you are positive that TWRP flash fine (some don't). Stock MIUI i'm speaking.
Click to expand...
Click to collapse
Yes did it with ADB fastboot. I can install the Rom complete fine but nothing works. I´ve tried with TWRP. Will do that again.
Im Sorry you mean first: flash persist.img? and then the twrp recovery and after that install the rom over twrp?
Soo I flashed an older version it works. But No Wifi i will try to Update it over LTE. Do i have to flash the persist.img ?
Everything is fine now! Thank you for you´re Help!
BimSxx said:
Soo I flashed an older version it works. But No Wifi i will try to Update it over LTE. Do i have to flash the persist.img ?
Everything is fine now! Thank you for you´re Help!
Click to expand...
Click to collapse
If the sensors are not working (gyroscope, camera, etc) you will need.
If you solve the Wifi issue then no need
I have a Redmi Note 7 (lavender) that when removing some bloatwares it ended up getting stuck in fastboot mode. It is (or was) rooted, has TWRP Recovery and the Bootloader is unlocked. Can I flash the stock rom (fastboot rom) on it using MiFlash Tools? I tried to use a Wipe Data / Format Data by TWRP but it didn't work and searching only found the solution to use MiTools.
Is it possible to flash another rom on it the way it is (stucked in fastboot mode)?
Thank you
sorry for the english
thatspokethu said:
I have a Redmi Note 7 (lavender) that when removing some bloatwares it ended up getting stuck in fastboot mode. It is (or was) rooted, has TWRP Recovery and the Bootloader is unlocked. Can I flash the stock rom (fastboot rom) on it using MiFlash Tools? I tried to use a Wipe Data / Format Data by TWRP but it didn't work and searching only found the solution to use MiTools.
Is it possible to flash another rom on it the way it is (stucked in fastboot mode)?
Thank you
sorry for the english
Click to expand...
Click to collapse
Just flash the full ROM again with your recovery. It shouldn't require a fastboot ROM, although that would also solve the problem.
DarthJabba9 said:
Just flash the full ROM again with your recovery. It shouldn't require a fastboot ROM, although that would also solve the problem.
Click to expand...
Click to collapse
Can you recommend any recovery files? I only remember that MIUI was 11.03.6 Global. I dind't make a backup or any kind like that. The only ROM files that I had on my PC was LineageOS (I pretend to flash it on my phone - it's possible to do that on this moment?)
thatspokethu said:
Can you recommend any recovery files? I only remember that MIUI was 11.03.6 Global. I dind't make a backup or any kind like that. The only ROM files that I had on my PC was LineageOS (I pretend to flash it on my phone - it's possible to do that on this moment?)
Click to expand...
Click to collapse
https://mirom.ezbox.idv.tw/en/phone/lavender/