My first encounter with bootloops and a nearly bricked device - Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe

Before we start, I am on an unlocked boot loader with Stock EU rom along with twrp/magisk installed.
So I went ahead and downloaded the latest full rom from c.mi.com and proceded to flash it via twrp, but before that, I made a nandroid backup just for safekeeping. Everything went well but when I tried to install magisk it gave me cannot mount system error. So i tried restarting Twrp but the whole storage was now encrypted even though I took of pin/password from the previous MiUi version. So I googled a bit and tried different Twrp version but none of them even booted but the original version so I gave up and just restored the nandroid backup and this is where the boot loop problem started.
In the end, I went ahead and flashed the whole thing using miflash which went smoothly but not without me being utterly depressed the whole time thinking that I might have hard bricked my device.
Is there any way I can avoid all this headache in the future when Miui 11 and android Q comes out cause I am pretty scared to even try to flash anything atm.

You need to wipe data after flashing TWRP otherwise you won't boot and also the phone will restore the stock recovery on reboot if you don't flash dm_verity
Check this post of mine it might help.
https://forum.xda-developers.com/k20-pro/how-to/flashing-orangefox-recovery-mi-9t-pro-t3980579
Sent from my Redmi K20 Pro using Tapatalk

ishaqtkr said:
You need to wipe data after flashing TWRP otherwise you won't boot and also the phone will restore the stock recovery on reboot if you don't flash dm_verity
Check this post of mine it might help.
https://forum.xda-developers.com/k20-pro/how-to/flashing-orangefox-recovery-mi-9t-pro-t3980579
Sent from my Redmi K20 Pro using Tapatalk
Click to expand...
Click to collapse
The problem was that no matter what recovery(apart from one) I tried including Orange fox, after flashing them via fastboot I always ended up being stuck at Mi logo ( even tried fastboot reboot recovery command)

_ray_ said:
The problem was that no matter what recovery(apart from one) I tried including Orange fox, after flashing them via fastboot I always ended up being stuck at Mi logo ( even tried fastboot reboot recovery command)
Click to expand...
Click to collapse
Do you have the Mi 9T Pro?
If you have, only latest orangefox 1.0.0.7 or Mauronofrio's TWRP working for this device. Abhisheks or LR TWRP doesn't work on Mi 9T Pro.

Kollachi said:
Do you have the Mi 9T Pro?
If you have, only latest orangefox 1.0.0.7 or Mauronofrio's TWRP working for this device. Abhisheks or LR TWRP doesn't work on Mi 9T Pro.
Click to expand...
Click to collapse
Yup Mi9t Pro user here, and yea for me only latest Mauronofrio's twrp works, but not sure if it will work with Miui11/Q when it is released sometime today
Just googled the orangafox recovery you mentioned, is the one with OrangeFox-R10.0_7-Stable-raphael name?

_ray_ said:
Yup Mi9t Pro user here, and yea for me only latest Mauronofrio's twrp works, but not sure if it will work with Miui11/Q when it is released sometime today
Just googled the orangafox recovery you mentioned, is the one with OrangeFox-R10.0_7-Stable-raphael name?
Click to expand...
Click to collapse
I think it will work. Because I'm on indian Q Firmware with LOS 17 and there was no issue with Mauronofrio's TWRP.
Yes that's the right orangefox version. I didn't remember the exact name. I tried it once but went again back to TWRP because i grew up with it. :laugh:

Kollachi said:
I think it will work. Because I'm on indian Q Firmware with LOS 17 and there was no issue with Mauronofrio's TWRP.
Yes that's the right orangefox version. I didn't remember the exact name. I tried it once but went again back to TWRP because i grew up with it. :laugh:
Click to expand...
Click to collapse
Thanks for the info regarging Twrp. everything will go smoothly this time hopefully.
I also wanted to ask that did you format data after installing twrp via fastboot? I was reading on Twrp thread that if you get encrypted after flashing twrp then you will have to format all data for it to disable encryption. This is the only thing that I am still confused about and I really dont want to format my internal storage again . Can you maybe list steps that you took to upgrade to Android Q? thanks

_ray_ said:
Thanks for the info regarging Twrp. everything will go smoothly this time hopefully.
I also wanted to ask that did you format data after installing twrp via fastboot? I was reading on Twrp thread that if you get encrypted after flashing twrp then you will have to format all data for it to disable encryption. This is the only thing that I am still confused about and I really dont want to format my internal storage again . Can you maybe list steps that you took to upgrade to Android Q? thanks
Click to expand...
Click to collapse
Yes when I come from miui I did format data first.
https://forum.xda-developers.com/showpost.php?p=80555299&postcount=236

_ray_ said:
The problem was that no matter what recovery(apart from one) I tried including Orange fox, after flashing them via fastboot I always ended up being stuck at Mi logo ( even tried fastboot reboot recovery command)
Click to expand...
Click to collapse
I have Mi 9T pro like you and flashed Orangefox recovery version _07 and no problem at all, i also flashed disable_dm_verity just to be safe and i believe this is where people get stuck on mi logo, if you flash this file it blocks your system from restoring the stock recovery on reboot and makes your TWRP/Orangefox permanent. LINK: https://androidfilehost.com/?fid=1395089523397966811
Sent from my Redmi K20 Pro using Tapatalk
---------- Post added at 04:36 PM ---------- Previous post was at 04:34 PM ----------
I then flashed Indian 10.3.5 which has now made my phone's name change to K20 Pro but i don't care[emoji23]
Sent from my Redmi K20 Pro using Tapatalk

Related

Installing Official MIUI using TWRP Discussion

Hey Guys, anyone already tried the link below on installing Official MIUI using TWRP?
How to Install Official Rom with TWRP Recovery!
I've been meaning to try Official MIUI for a long time now, and by doing so I ran obstacles along the way either using MIFlash tool or TWRP - nothing works. But I just saw the method I linked above, and could be the missing piece I need to install the rom thru TWRP.
The OP of that tried it with Redmi 3S. So I'm just wondering maybe someone here already made it worked with MI5?
I could update from global dev 6.11.10 to global dev 7.1.19 with miui built in updater . After downloading nougat it rebooted to twrp and installed the rom normally. The only thing is i lost twrp replaced by stock one .
Download latest MIUI and flash normal with twrp if update is fastboot method twrp replace to stock recovery
Sent from my MI 5 using Tapatalk
iArtrix said:
Download latest MIUI and flash normal with twrp if update is fastboot method twrp replace to stock recovery
Sent from my MI 5 using Tapatalk
Click to expand...
Click to collapse
What should I wipe in TWRP - data; system; cache; dalvik? Which of them?
selmandeli said:
What should I wipe in TWRP - data; system; cache; dalvik? Which of them?
Click to expand...
Click to collapse
recommended is for you to wipe data,system,dalvik and cache to avoid possible force close window pop out when opening an app, however if you are going to one rom to another eg. aosp-miui global-dev or anything in particular i found out that wiping everything (avoid the efs partition of course) is the best choice for peace of mind, one final thought is only do this if you had other means to bring your phone back to life if other recovery method such as the ability to boot into edl mode is working for you and always do a full system backup of your current rom just in case, hope that helps
iArtrix said:
Download latest MIUI and flash normal with twrp if update is fastboot method twrp replace to stock recovery
Click to expand...
Click to collapse
Currently, I am using MIUI EU rom and TWRP 3.0.2.0 . Ive tried several times of flashing official global MIUI and failed several times. So tried my luck with miflash tool months ago, but still unsuccessfull. And that's the reason I posted the method above, maybe it is the thing that I am missing.
But, it still continues to puzzle me why others , and even you, can successfully install official MIUI thru TWRP. weird.
can't find the line they talk about in that script. Did anyone managed to install miui trough TWRP on the Mi5?

[ROM][STOCK] miui10 v10.2.3.0 Mi6x

Hello mi6x user, here I share direct link last ROM 10.2.3.0 for Mi6x
This is China build android 8.1, flash with TWRP or Miui recovery. You can use this for bootloop device.
Download:
V 10.2.3.0.ODCCNXM:good:
may it help, thanks :victory:
Alvian_P said:
Hello mi6x user, here I share direct link last ROM 10.2.3.0 for Mi6x
This is China build android 8.1, flash with TWRP.
Download:
V 10.2.3.0.ODCCNXM:good:
may it help, thanks :victory:
Click to expand...
Click to collapse
is it possible to flash that being arb 4?
stevedat said:
is it possible to flash that being arb 4?
Click to expand...
Click to collapse
Yes. My phone also Arb4.
Alvian_P said:
Yes. My phone also Arb4.
Click to expand...
Click to collapse
After flashed this stable version via twrp, is it possible to flash miui dev zip via miui recovery of updater. especially miui pie beta dev and get rid of twrp, become a mi6x instead
stevedat said:
After flashed this stable version via twrp, is it possible to flash miui dev zip via miui recovery of updater. especially miui pie beta dev and get rid of twrp, become a mi6x instead
Click to expand...
Click to collapse
Is possible I think, before change to pie, make sure .zip file of pie must include kernel. I guess recommend flash via miui recovery / TWRP and wipe data. Because update different version of Android, 8.1 to 9.0
I never try Pie because my Arb=4. U can try, if bootloop you can flash this stable version again
Alvian_P said:
Hello mi6x user, here I share direct link last ROM 10.2.3.0 for Mi6x
This is China build android 8.1, flash with TWRP or Miui recovery. You can use this for bootloop device.
Download:
V 10.2.3.0.ODCCNXM:good:
may it help, thanks :victory:
Click to expand...
Click to collapse
Help, Do you have stock boot.img of this rom ?
Because my phone get bootloop when uninstal magisk.
Saud Salomo said:
Help, Do you have stock boot.img of this rom ?
Because my phone get bootloop when uninstal magisk.
Click to expand...
Click to collapse
Its include in .zip files
Seeing as someone finally created a forum with some relevance to miui does anyone know ruffly when xiaomi will be releasing stable update for miui 10 pie , because as we know the beta has arrived for many devs
Quantumkk123 said:
Seeing as someone finally created a forum with some relevance to miui does anyone know ruffly when xiaomi will be releasing stable update for miui 10 pie , because as we know the beta has arrived for many devs
Click to expand...
Click to collapse
There's a miui 10 v9.3.14 in the forum, I'm using it and everything is working fine, very smooth.
I have a mia2 converted to mi6x.. i had xiaomi. eu miui 10 and everything was fine.. i try to update to pie, delete firmware folder but i had bootloop.. so i flash it with firmware file and now i have arb4... in the past i had forgot to delete 1-2 times but arb was stayed at arb2... so.. if some moment i want fo go back to android one, is there a way to do it.. (only for warranty reasons, or to sell tbe phone)
ktlk21 said:
I have a mia2 converted to mi6x.. i had xiaomi. eu miui 10 and everything was fine.. i try to update to pie, delete firmware folder but i had bootloop.. so i flash it with firmware file and now i have arb4... in the past i had forgot to delete 1-2 times but arb was stayed at arb2... so.. if some moment i want fo go back to android one, is there a way to do it.. (only for warranty reasons, or to sell tbe phone)
Click to expand...
Click to collapse
Yes there is a way you need to wait for mi a2 to release an arb 4 rom only way
What will be ARB level after installing this MIUI 10.2.3 or 10.2.5 ODCCNXM ROM?
Currently I have MIUI stable stock ROM 9.6.6.0. If I upgrade it to 10.2.5.0, than can I downgrade to MIUI stable 9.6.60 again?
Thanks
coolman7 said:
What will be ARB level after installing this MIUI 10.2.3 or 10.2.5 ODCCNXM ROM?
Currently I have MIUI stable stock ROM 9.6.6.0. If I upgrade it to 10.2.5.0, than can I downgrade to MIUI stable 9.6.60 again?
Thanks
Click to expand...
Click to collapse
Yeah
---------- Post added at 08:43 PM ---------- Previous post was at 08:43 PM ----------
Quantumkk123 said:
Yeah
Click to expand...
Click to collapse
Oh wait no lol because of arb 4
Quantumkk123 said:
Yeah
---------- Post added at 08:43 PM ---------- Previous post was at 08:43 PM ----------
Oh wait no lol because of arb 4
Click to expand...
Click to collapse
My current ARB level is 4 with MIUI 9.6.6. Will I get brick if I will downgrade from 10.2.5 to 9.6.6?
ktlk21 said:
I have a mia2 converted to mi6x.. i had xiaomi. eu miui 10 and everything was fine.. i try to update to pie, delete firmware folder but i had bootloop.. so i flash it with firmware file and now i have arb4... in the past i had forgot to delete 1-2 times but arb was stayed at arb2... so.. if some moment i want fo go back to android one, is there a way to do it.. (only for warranty reasons, or to sell tbe phone)
Click to expand...
Click to collapse
You can I found the method in a Russian website, but the Bootloader will remains on 6X. But technically you can install AndroidONE again, btw for updating you need to use alternative ways. ( Due to the 6X Bootloader)
Are there any TWRP that can decrypt storage of MIUI 10.2.5 stock China ROM?
coolman7 said:
Are there any TWRP that can decrypt storage of MIUI 10.2.5 stock China ROM?
Click to expand...
Click to collapse
Format data on twrp
Alvian_P said:
Format data on twrp
Click to expand...
Click to collapse
I tried but did not help. When I reboot system, MIUI 10 formats storage with encryption again. I tried following scenarios:
1) Opened TWRP and format data. Reboot system
2) Opened TWRP and format data. Reboot to TWRP again. Reboot to system
3) Opened TWRP and format data. Reboot to TWRP again. Flash magisk. Reboot to system
All has same affect. and TWRP asks password again and again.
coolman7 said:
I tried but did not help. When I reboot system, MIUI 10 formats storage with encryption again. I tried following scenarios:
1) Opened TWRP and format data. Reboot system
2) Opened TWRP and format data. Reboot to TWRP again. Reboot to system
3) Opened TWRP and format data. Reboot to TWRP again. Flash magisk. Reboot to system
All has same affect. and TWRP asks password again and again.
Click to expand...
Click to collapse
Your Data partition can mount in TWRP?
if TWRP ask password, probably because install TWRP with active password lockscreen in system. When install recovery make sure deactive lockscreen pasword first
Try this recovery: https://sourceforge.net/projects/pitchblack-twrp/files/wayne/
Alvian_P said:
Your Data partition can mount in TWRP?
if TWRP ask password, probably because install TWRP with active password lockscreen in system. When install recovery make sure deactive lockscreen pasword first
Try this recovery: https://sourceforge.net/projects/pitchblack-twrp/files/wayne/
Click to expand...
Click to collapse
I can't mount data partition in TWRP. TWRP asks for password. I did not flash TWRP. I just boot TWRP from fastboot when I need with fastboot boot twrp.img command. I tried pitchblack recovery but the result is same.

Impossible to boot AOSP/Lineage ROMs on global

Hi,
I have the Mi 9T Pro global (not EU, China or India), and the only ROMs I have been able to boot are Xiaomi.eu. I've tried flashing HAVOC, Syberia Project, Evolution X and C-Droid following their instructions, the results are always the same: black screen, and TWRP becomes unaccessible, even if I try reflashing TWRP from Fastboot, it won't let me. Then I have to boot into Fastboot and flash stock ROM using Mi Flashing Tool, and flash TWRP from Fastboot again. What am I missing?
kevinyohh said:
Hi,
I have the Mi 9T Pro global (not EU, China or India), and the only ROMs I have been able to boot are Xiaomi.eu. I've tried flashing HAVOC, Syberia Project, Evolution X and C-Droid following their instructions, the results are always the same: black screen, and TWRP becomes unaccessible, even if I try reflashing TWRP from Fastboot, it won't let me. Then I have to boot into Fastboot and flash stock ROM using Mi Flashing Tool, and flash TWRP from Fastboot again. What am I missing?
Click to expand...
Click to collapse
At the point where you normally wipe data, dalvik and cache, before installing the ROM, try formatting data instead and wipe the other 2.
Robbo.5000 said:
At the point where you normally wipe data, dalvik and cache, before installing the ROM, try formatting data instead and wipe the other 2.
Click to expand...
Click to collapse
I tried formatting data, as it is part of the instructions of one of the ROMs I tried to flash, no success.
kevinyohh said:
I tried formatting data, as it is part of the instructions of one of the ROMs I tried to flash, no success.
Click to expand...
Click to collapse
What version of TWRP are you using? If you're using something different then try 3.3.1-15 from here. https://forum.xda-developers.com/k2...icial-twrp-xiaomi-redmi-t3944363/post79823568
Robbo.5000 said:
What version of TWRP are you using? If you're using something different then try 3.3.1-15 from here. https://forum.xda-developers.com/k2...icial-twrp-xiaomi-redmi-t3944363/post79823568
Click to expand...
Click to collapse
Exactly the latest one from mauronofrio, no other, as I even tried flashing Orange Fox and it never got into it, forcing me to reflash stock again to flash mauronofrio's TWRP.
I followed instructions from the ROMs I tried, none of them seem to work.
kevinyohh said:
I followed instructions from the ROMs I tried, none of them seem to work.
Click to expand...
Click to collapse
What stock ROM are you flashing?
Are you flashing on top of an Android P or 10 ROM?
Robbo.5000 said:
What stock ROM are you flashing?
Are you flashing on top of an Android P or 10 ROM?
Click to expand...
Click to collapse
I tried Android 9 Havoc, Syberia, C-Doid and Evolution X, on top of stock Miui Pie and Q.
im in the same boat buuuut, i only got TWRP to load once and cant do it again. i only have access to fastboot. anyone got the stock recovery img
AURMEND said:
im in the same boat buuuut, i only got TWRP to load once and cant do it again. i only have access to fastboot. anyone got the stock recovery img
Click to expand...
Click to collapse
Are you using Mi 9T Pro global too?
kevinyohh said:
Are you using Mi 9T Pro global too?
Click to expand...
Click to collapse
you are the same with me..im on mi 9T pro running global 10.3.1.0 PFKMIXM..no luck flashing custom rom..now my 10.3.1.0 rooted + quax kernel..even cant flash quax custom kernel on 10.3.2.0..always goes to fastboot mode after done flashing and click reboot into system via twrp..now im stuck on 10.3.1.0...also im using the latest twrp too..
Same here. I can install eu miui roms but cannot install any aosp based roms. Goes straight back to fast boot. Went back to using eu miui roms as of now.
Can anyone suggest what is going wrong. Seems like once you install an EU rom you cannot go back to any aosp roms.
I'm thinking about the vendor. I remember a post saying that our firmware or vendor are weird and try to revert to stock, and need to be patched. But I can't find that post anywhere. I've tried all suggestions: format /data, flashing Magisk, flash ROM and GAPPS and wait for boot to complete to flash Magisk (never got that far).
kevinyohh said:
I'm thinking about the vendor. I remember a post saying that our firmware or vendor are weird and try to revert to stock, and need to be patched. But I can't find that post anywhere. I've tried all suggestions: format /data, flashing Magisk, flash ROM and GAPPS and wait for boot to complete to flash Magisk (never got that far).
Click to expand...
Click to collapse
I've downloaded fastboot roms. But which vendor version?
I will try a few which i have and let u know if it works. Thanks a lot for reply
afaque_hassan said:
I've downloaded fastboot roms. But which vendor version?
I will try a few which i have and let u know if it works. Thanks a lot for reply
Click to expand...
Click to collapse
Solved. The issue is with the vendor files. I've flashed fastboot chinese rom and then installed aosp rom and it worked.
afaque_hassan said:
Solved. The issue is with the vendor files. I've flashed fastboot chinese rom and then installed aosp rom and it worked.
Click to expand...
Click to collapse
This sounds very promising - could you please link which files you used? Would be much appreciated!
Edit: Wasn't needed for me, thanks - all sorted
afaque_hassan said:
Solved. The issue is with the vendor files. I've flashed fastboot chinese rom and then installed aosp rom and it worked.
Click to expand...
Click to collapse
1. Do you have global Mi 9T Pro?
2. Could you please share the files you used and the steps, so we can all try?
Thanks in advance
Sent from my Redmi K20 Pro using Tapatalk
Also, is there any risk to brick or lose bands if flashing a Chinese vendor on a global phone? I don't want to lose the only LTE band in my country (700 b28)
Sent from my Redmi K20 Pro using Tapatalk
kevinyohh said:
Also, is there any risk to brick or lose bands if flashing a Chinese vendor on a global phone? I don't want to lose the only LTE band in my country (700 b28)
Click to expand...
Click to collapse
No you won't lose any bands. Same as you don't gain bands when flashing a global ROM on a Chinese/Indian phone

Flashing Mi 9t Pro global to K20 Pro india - missmatching error

Hello,
I unlocked the bootloader and I am trying to flash the india k20 pro rom with miflash but I am getting missmatching image and device error .
I am sure I am using the correct indian rom fast boot tgz file. What I am doing wrong?
Which rom are you trying to flash?
Sent from my Redmi K20 Pro using Tapatalk
K20 Pro india stable MIUI
raphaelin_in_global_images_V11.0.1.0.QFKINXM_20191022.0000.00_10.0_in_a5e104919b.tgz
Currently on mi9t pro global miui 11
I request u can you send me your boot.img
Sent from my Redmi K20 Pro using Tapatalk
The rom I am trying to flash
http://bigota.d.miui.com/V11.0.1.0....KINXM_20191022.0000.00_10.0_in_a5e104919b.tgz
few days back i ran into similar problem
my device is raphalein (K20 PRO INDIAN)
and i flashed miui 11.0.2 China FASTBOOT Rom.
later when i tried to install Indian FASTBOOT ROM
it said device and vendor missmatch in MI flash.
i fixed this problem by firstly flashing RECOVERY orangefox( its an entire process so...do it carefully)
than wiped everything , DATA ,CACH, SYSTEM, DALVIK CACHE, VENDOR
and then flash this https://downloads.akhilnarang.me/MI...al-V11.0.1.0.QFKINXM-10.0-vendor-firmware.zip
and now u can flash FASTBOOT LATEST INDIAN ROM.
hope it will fix it.
leosinfinity said:
few days back i ran into similar problem
my device is raphalein (K20 PRO INDIAN)
and i flashed miui 11.0.2 China FASTBOOT Rom.
later when i tried to install Indian FASTBOOT ROM
it said device and vendor missmatch in MI flash.
i fixed this problem by firstly flashing RECOVERY orangefox
than wiped everything , DATA ,CACH, SYSTEM, DALVIK CACHE, VENDOR
and then flash this https://downloads.akhilnarang.me/MI...al-V11.0.1.0.QFKINXM-10.0-vendor-firmware.zip
and now u can flash FASTBOOT LATEST INDIAN ROM.
hope it will fix it.
Click to expand...
Click to collapse
So no other way to do it with miflash without flashing the orangefox recovery?
bissa said:
So no other way to do it with miflash without flashing the orangefox recovery?
Click to expand...
Click to collapse
i dont think so BROther...
Can u provide me with backup file of boot&recovery from orange fox plssss
Sent from my Redmi K20 Pro using Tapatalk
so I flashed orangefox recovery and wiped everything and now trying to flash the indian rom and I have error
now the device has bricked and it will just open on the fastboot screen.
even the recovery opens the fastboot screen
bissa said:
now the device has bricked and it will just open on the fastboot screen.
even the recovery opens the fastboot screen
Click to expand...
Click to collapse
did u flashed the firmware vendor file? which i mentioned
leosinfinity said:
did u flashed the firmware vendor file? which i mentioned
Click to expand...
Click to collapse
it didn't flash, show the same error
BRO,
i only told wht i did when faced this problem?
and went well.
kindly tell me steps wht u did?
leosinfinity said:
BRO,
i only told wht i did when faced this problem?
and went well.
kindly tell me steps wht u did?
Click to expand...
Click to collapse
I did exactly the same steps like you said, installed orangefox, wiped the data. then I tried to flash the vendor it shows the error, and tried full rom flash and same error.
now the device is stuck on fastboot
bissa said:
I did exactly the same steps like you said, installed orangefox, wiped the data. then I tried to flash the vendor it shows the error, and tried full rom flash and same error.
now the device is stuck on fastboot
Click to expand...
Click to collapse
did u wiped vendor , cache ,system and dalvik cache?
leosinfinity said:
did u wiped vendor , cache ,system and dalvik cache?
Click to expand...
Click to collapse
yes
but how it is even possible it should have gone right as i did.
if u want bring back back ur device either u have to flash FASTBOOT china. or the ROM u were already on.
i know it is a pain.
and Trust me...i havent missguided you.
https://forum.xda-developers.com/k2...on-redmi-k20-pro-indian-t3953854/post80978377
here u can see my post.
and answer by acervenky
---------- Post added at 01:30 PM ---------- Previous post was at 01:12 PM ----------
and here is one more method...u can try
https://drive.google.com/open?id=1XCKexzvDCqR0rPhM13TXQo0xYJFAA5Nj
I am trying to boot the device with global rom now but it is just stuck in miflash for 30min, how long it should take?
There was an easy solution to this. All you had to do is change a couple of lines in the installation script and flash it with Mi flashtool. I also got the error and did a simple Google search and figured it out.

9T Pro Global booting to Fastboot after Viper4Android Uninstall...Please Help!!!

Hey all.
Currently running 11.0.1.0 Global Official on my phone. Installed via OrangeFox Incremental update method.
I had some Magusk modules installed before the update. All of them worked after except Viper4Android. So I decided to uninstall.
I selected reboot via Magisk and now the phone constantly goes to Fastboot!!
I manually booted into recovery and decided to wipe Dalvik and Cache. During this process it shows 'NO ROM' under 'Device: Raphael'
I don't know how on earth this happened and can't seem to re-install the rom as it gives me following error:
Detected MIUI Update Package
Support MIUI Incremental Package Status: Enabled
E3003: Can't install this package over newer build.
Update process ended with ERROR: 7
Are you installing onto the correct device?
Guys please help. I really don't want to do a clean install as I have lots os important sms that I haven't backed up.
Please help
Error 7 is because you're probably flashing another region ROM. Unzip the rom and find the Update script file, edit with notepad and rename all lines reading "Raphael" to "Raphaelin" or bice versa. Rezip and flash.
Sent from my Redmi K20 Pro using Tapatalk
ishaqtkr said:
Error 7 is because you're probably flashing another region ROM. Unzip the rom and find the Update script file, edit with notepad and rename all lines reading "Raphael" to "Raphaelin" or bice versa. Rezip and flash.
Sent from my Redmi K20 Pro using Tapatalk
Click to expand...
Click to collapse
Hey. Thanks for the reply. However this is the same file I used to upgrade from 10 to 11 in the first place.
Also this is the full ROM I believe as I do not see any update script inside the zip.
This is the one I downloaded: https://bigota.d.miui.com/V11.0.1.0.QFKMIXM/miui_RAPHAELGlobal_V11.0.1.0.QFKMIXM_7b25321468_10.0.zip
There should be update script file. Otherwise you'll have to flash a fastboot ROM with miflash and in there maybe try to KEEP DATA and see if it boots
Sent from my Redmi K20 Pro using Tapatalk
ishaqtkr said:
There should be update script file. Otherwise you'll have to flash a fastboot ROM with miflash and in there maybe try to KEEP DATA and see if it boots
Sent from my Redmi K20 Pro using Tapatalk
Click to expand...
Click to collapse
Hey again. So I decided to go the fastboot ROM route with keep data option. My data partition was left intact (THANK YOU!) however my sms and call logs were only restored from the latest cloud backup available (not latest unfortunately).
Thanks again for your help.
Just wanted to check with you. Can I install OrangeFox directly onto this phone now? I recall having issues the first time I tried. Ended up having to install a specific version of TWRP made for the 9T Pro Global version and then install OrangeFox via that.
You'll have to format data i think. Otherwise try, this is the latest for raphael https://files.orangefox.tech/OrangeFox-Stable/raphael/OrangeFox-R10.0_8-Stable-raphael.zip
Unzip the file, then take the recovery.img file from it and FASTBOOT FLASH RECOVERY *RECOVERYNAME*. Once target is sent, press and hold volume up and power button together, once it vibrates release the power button and keep holding volume up, it will reboot to orangefox. Once it boots, copy the orangefox zip file and flash it again, now it will be permanent, then go to manage storage and format data (that where you type YES).
What I'm not sure is if it will boot without wiping data. Otherwise try skipping the data wipe and just flash orangefox twice like above
Sent from my Redmi K20 Pro using Tapatalk
ishaqtkr said:
You'll have to format data i think. Otherwise try, this is the latest for raphael https://files.orangefox.tech/OrangeFox-Stable/raphael/OrangeFox-R10.0_8-Stable-raphael.zip
Unzip the file, then take the recovery.img file from it and FASTBOOT FLASH RECOVERY *RECOVERYNAME*. Once target is sent, press and hold volume up and power button together, once it vibrates release the power button and keep holding volume up, it will reboot to orangefox. Once it boots, copy the orangefox zip file and flash it again, now it will be permanent, then go to manage storage and format data (that where you type YES).
What I'm not sure is if it will boot without wiping data. Otherwise try skipping the data wipe and just flash orangefox twice like above
Sent from my Redmi K20 Pro using Tapatalk
Click to expand...
Click to collapse
Ok this is really weird. I sent across the latest OrangeFox via Fastboot. Booted into it. Installed again via Zip. It rebooted back into Orangefox. Wiped data. Then re-started phone and set everything up (second time today :crying.
I then downloaded magisk and booted into recovery to install it only to find out it's back to stock!!???
I really don't want to wipe my data again so any idea as to which TWRP works on this phone? I just tried the mauronofrio one but it boots to a black screen :crying:
Flash magisk before you setup your stuff, magisk will stop it from restoring back to stock recovery.
Sent from my Redmi K20 Pro using Tapatalk
ishaqtkr said:
Flash magisk before you setup your stuff, magisk will stop it from restoring back to stock recovery.
Sent from my Redmi K20 Pro using Tapatalk
Click to expand...
Click to collapse
Ok thanks. But are you aware of any TWRP that works on the Global 9t Pro with Android Q?
Yes that of Maurofanio or something like that is his name, it's in here.
Sent from my Redmi K20 Pro using Tapatalk
ishaqtkr said:
Yes that of Maurofanio or something like that is his name, it's in here.
Sent from my Redmi K20 Pro using Tapatalk
Click to expand...
Click to collapse
Got it! Thanks.

Categories

Resources