Want to flash Stock firmware in custom recovery - Redmi Note 8 Questions & Answers

i have a Redmi Note 8 and currently it's running on Android Pie. i Unlocked the Bootloader and rooted it more then 6 months ago. and i created a Mi Account that time for Unlocking Bootloader but now i didn't remember the Password that i used for Mi Account and i also didn't recharge the Mobile Number that i used in it. so that number deactivate and company issue that number to someone else.
now i Downloaded Android 10 Stock firmware recovery flashable zip and i want to flash it.
but first i want to remove that Mi Account before flashing it because if something goes wrong i can still use my phone

ranjodhricky said:
i Downloaded Android 10 Stock firmware recovery flashable zip and i want to flash it.
Click to expand...
Click to collapse
since you have unlocked BL ,worst case senario is using custom rom (this is actually best )
before flashing it flash orangeFox recovery and go to setting/OTA and select "Aggresive stock recovery deactivation"
ranjodhricky said:
but first i want to remove that Mi Account before flashing it because if something goes wrong i can still use my phone
Click to expand...
Click to collapse
editing the rom may cause problems if you don't know what you doing
i suggest you :
-flash the rom (don't boot to system yet)
-in recovery go to mount and choose system
-use the recovery file manager go to system/app
-delete both cloudservice and xiaomi account and any other related app (see also under system/priv-app)
i think you should also Format data (not wipe) (this will also delete everything on internal storage)
-reboot to system
-after data is created you can reboot to recovery and flash magisk ...

Related

Possible to restore recovery and re-lock bootloader without data lost

So I brought oneplus 3t for my father from china so it running hydrogen OS but now we moved back to Australia it would more sensible to change to google services for apps download and updates so i flashed Oxygen OS something stable but I was wondering how should re lock boot loader and maybe flash to stock recovery (Optional) to have boot up message and maybe encryption enabled.
DrUnknownEMC said:
So I brought oneplus 3t for my father from china so it running hydrogen OS but now we moved back to Australia it would more sensible to change to google services for apps download and updates so i flashed Oxygen OS something stable but I was wondering how should re lock boot loader and maybe flash to stock recovery (Optional) to have boot up message and maybe encryption enabled.
Click to expand...
Click to collapse
You need to have usb debugging enabled in your phone and adb tools installed in your pc before you do this.
For locking bootloader :
Connect the phone to computer,
Restart the phone in bootloader mode
Open command prompt window
Check connection by typing fastboot devices . You should see your device listed
Type fastboot oem lock
Reboot once the process completes. Be aware this will wipe your phone and ALL data will be lost.
It is advisable to keep boot loader unlocked.
For stock recovery :
Download stock recovery image from the forum
Save it in the same folder where your adb is installed in windows. The file name should be recovery.img
Reboot into bootloader mode
Open command prompt and
Type fastboot flash recovery recovery.img
Stock recovery to be installed before you lock bootloader
DrUnknownEMC said:
So I brought oneplus 3t for my father from china so it running hydrogen OS but now we moved back to Australia it would more sensible to change to google services for apps download and updates so i flashed Oxygen OS something stable but I was wondering how should re lock boot loader and maybe flash to stock recovery (Optional) to have boot up message and maybe encryption enabled.
Click to expand...
Click to collapse
a cautionary warning regarding the above reply to you, don't' relock the bootloader while you're on a custom recovery and/or kernel, and also while you have changes to the system (installed any mods or deleted any files form system folder)
so in theory it's possible,
1- you need to sideload a full stock rom (download from oneplus website) it's better to be stable not beta (you should have adb drivers installed and stock recovery, sideload will insure you have stock everything)
2- after you successfully sideloaded a full stock rom and make a full boot to system, you can follow the above re-lock instructions.
theduke7 said:
a cautionary warning regarding the above reply to you, don't' relock the bootloader while you're on a custom recovery and/or kernel, and also while you have changes to the system (installed any mods or deleted any files form system folder)
so in theory it's possible,
1- you need to sideload a full stock rom (download from oneplus website) it's better to be stable not beta (you should have adb drivers installed and stock recovery, sideload will insure you have stock everything)
2- after you successfully sideloaded a full stock rom and make a full boot to system, you can follow the above re-lock instructions.
Click to expand...
Click to collapse
Currently it running oxygen OS from their website like full rom.zip, i know when you flash new recovery you will factory wipe the phone which i don't really wants. Are they like patch to remove boot up warning? because last time i check there wasn't one.
DrUnknownEMC said:
Currently it running oxygen OS from their website like full rom.zip, i know when you flash new recovery you will factory wipe the phone which i don't really wants. Are they like patch to remove boot up warning? because last time i check there wasn't one.
Click to expand...
Click to collapse
A new recovery does not wipe your phone.
There is no patch to remove the boot warning. The only way is to lock boot loader <- this will wipe your phone and data.
If your phone runs well, it is better you keep it as it is. Why fix something that's not broken ?

[GUIDE] Reflash LEX727 With Stock ROM After LEX720 Update

I flashed the latest 20s Chinese ROM to unlock my bootloader and had trouble getting back to LEX727 19s ROM with a working SIM card, this what I did to fix it.
Goal: Get LEX727 back to 727 ROM from any Chineese Variant (LEX720) with a working sim card.
Logic: We need to get the phone back to as stock as possible so that we can flash dr4stic's ROM That will update from CN5.8.018s to US5.8.019s. First we need to install CN5.8.018s, but we need to do it from stock recovery, to get stock recovery back we use a TWRP backup made by suhridkhan, then copy the CN5.8.018s zip, rename it to update.zip and allow the phone to do it's thing It will take quite awhile to flash the stock CN5.8.018s ROM, but when its done we can then install dr4stic's ROM, but first we need custom recovery again, since we flashed stock recovery when we used the TWRP backup. So we reflash custom recovery (I recommend GrossoShop's TWRP as that is what worked for me, however others may work). Reboot into fastboot, fastboot flash recovery the GrossoShop TWRP, then we go back to recovery. Now we can install the upgrade ROM. Once the upgrade ROM is installed, we can reboot and we'll have a completely stock version of the LEX727 ROM with Stock Recovery. (oobe state)
STEP 1 INSTALL WORKING ROM
1. You will need a working ROM to copy the TWRP unzipped files to the phone (figure this out on your own, but you should already have something that works)
STEP 2 STOCK RECOVERY
1. Restore this TWRP backup
1. Send the unzipped files to your phone in TWRP/BACKUP/<Device_ID>/TWRP. (You need a working ROM to do this with USB, you can try adb pushing the .zip and adb shell unzipping but I had permisison errors. and found it easier to just move the files unzipped)
2. Reboot into recovery, Advanced Wipe everything except Internal Storage (where your backup is)
3. Restore from the TWRP backup, before restarting, do a factory reset wipe and dalivik.
4. Reboot, and you SHOULD be in the LEX727 Rom, however your sim card will not be recognized depending on the modem firmware you came from.
STEP 3 GETTING DOWN TO CN5.8.018s
1. Since we have stock recovery, we can now use it to flash down to the right Chineese ROM version for dr4astic's ROM update to work.
2. Setup the phone, and copy LE_ZL1_LEX720_CN_5.8.018S.zip, then rename it to update.zip
3. Install the update through the phone settings or browser. (It will take quite a while 15ish minutes)
4. The phone may reboot into an endless boot loop where it just keeps redoing the same startup flash, To get past this reboot into recovery and perform a "Clear data" wipe.
5. You should now be in the stock version of LEX 720 5.8.018s
STEP 4 USING THE UPDATE ROM
1. We need to flash a custom recovery again (I recommend GrossoShop's as that is what worked for me, however others may work)
2. Reboot into fastboot and flash your recovery software
3. Wipe everything, data included and reboot back into recovery.
4. adb push the update ROM and install it, wipe dalvik and do a factory reset wipe before restarting.
5. When you tap restart system from TWRP the phone will vibrate for about 7ish seconds, dont do anything, just let it do its thing. It will reboot and go to a black screen, then finish rebooting.
(this is perhaps the most risky step as we are returning to a stock ROM with stock recovery and might loose our unlocked bootloader)
6. You should get everything back to stock ROM with working SIM card and an unlocked bootloader.
note: I will be saving local copies of all the files required indefinitely, so if any of the above links break, I will re-upload.
Post
Reserved
Links down! Plz fix. Thank you.
:crying:
Links down! .
Thanks for the information.
You seem to be using the links generated by the file hosting websites for you which expires very quickly. Please use the original links.
e.g.
CN5.8.018s (https://www.mediafire.com/folder/gntdgfr67054v/Le_Pro_3_X720)
CN5.8.018s-to-US5.8.019s.zip (https://androidfilehost.com/?fid=601275311581036717)
TWRP_x720_r4-V3_OK_FINAL (https://dev.androidfilehost.com/?fid=385035244224398544)
This is exactly what i need, however i have no idea how to do this. Sad.
Link down
Hi,
Your link to CN5.8.018s-to-US5.8.019s.zip is down. Is it possible that you provide this file again?
Thank you!

Xiaomi Redmi Note 8T - Official MIUI 11 update not available via OTA yet, how flash?

Hi,
I'm using the following version of the Xiaomi Redmi Note 8T (willow):
- Model number: Redmi Note 8T
- Android version: 9 PKQ1.190616.001
- MIUI version: MIUI Global 10.3.1 | Stable 10.3.1.0(PCXEUVF)
- Model name: M1908C3XG
So it's still the official MIUI 10 stock ROM,
the only thing I've changed is that I switched from stock to custom recovery TWRP (https://twrp.me/xiaomi/xiaomiredminote8.html) and installed a GCam mod (https://forum.xda-developers.com/redmi-note-8/themes/best-gcam-mod-redmi-note-8-t3970675).
If I press the button to check for OTA updates within MIUI it still says no updates available.
However, according to this thread it's possible to download and flash the update to MIUI 11 manually:
https://www.xda-developers.com/download-miui-11-xiaomi-redmi-note-7-pro-poco-f1/
1.) Is my understanding correct that based on my current MIUI 10 ROM,
I have to download and flash the "V11.0.1.0.PCXMIXM (Global)" one from those versions mentioned below?:
43. Redmi Note 8T (willow):
- V11.0.2.0.PCXEUXM (Europe) Download Recovery ROM Download Fastboot ROM
- V11.0.3.0.PCXEUXM (Europe) Download Recovery ROM Download Fastboot ROM
- V11.0.1.0.PCXMIXM (Global) Download Recovery ROM Download Fastboot ROM
- V11.0.1.0.PCXRUXM (Russia) Download Recovery ROM Download Fastboot ROM
2.) Is my understanding correct that this MIUI 11 ROM could be flashed without loosing the existing data (apps, pictures,...)?
If yes, what would whould be the best approach (via "Recovery ROM" or "Fastboot ROM" method),
and what do I have to select in TWRP for example so that my data doesn't get wiped during the flash?
3.) Once I've flashed this MIUI 11 ROM will it get regular updates via OTA,
or is it a kind of beta version?
Thanks and best regards
XYZ0815 said:
Hi,
I'm using the following version of the Xiaomi Redmi Note 8T (willow):
- Model number: Redmi Note 8T
- Android version: 9 PKQ1.190616.001
- MIUI version: MIUI Global 10.3.1 | Stable 10.3.1.0(PCXEUVF)
- Model name: M1908C3XG
So it's still the official MIUI 10 stock ROM,
the only thing I've changed is that I switched from stock to custom recovery TWRP (https://twrp.me/xiaomi/xiaomiredminote8.html) and installed a GCam mod (https://forum.xda-developers.com/redmi-note-8/themes/best-gcam-mod-redmi-note-8-t3970675).
If I press the button to check for OTA updates within MIUI it still says no updates available.
However, according to this thread it's possible to download and flash the update to MIUI 11 manually:
https://www.xda-developers.com/download-miui-11-xiaomi-redmi-note-7-pro-poco-f1/
1.) Is my understanding correct that based on my current MIUI 10 ROM,
I have to download and flash the "V11.0.1.0.PCXMIXM (Global)" one from those versions mentioned below?:
43. Redmi Note 8T (willow):
- V11.0.2.0.PCXEUXM (Europe) Download Recovery ROM Download Fastboot ROM
- V11.0.3.0.PCXEUXM (Europe) Download Recovery ROM Download Fastboot ROM
- V11.0.1.0.PCXMIXM (Global) Download Recovery ROM Download Fastboot ROM
- V11.0.1.0.PCXRUXM (Russia) Download Recovery ROM Download Fastboot ROM
2.) Is my understanding correct that this MIUI 11 ROM could be flashed without loosing the existing data (apps, pictures,...)?
If yes, what would whould be the best approach (via "Recovery ROM" or "Fastboot ROM" method),
and what do I have to select in TWRP for example so that my data doesn't get wiped during the flash?
3.) Once I've flashed this MIUI 11 ROM will it get regular updates via OTA,
or is it a kind of beta version?
Thanks and best regards
Click to expand...
Click to collapse
judging by the present miui version in your device it's PCXEUVF so you have a european version. You can download the latest recovery rom from here. MIUI 11 EU version will be PCXEUXM. You can flash this rom from twrp. But looking at your post seems like you haven't flashed disable dm-verity zip(a zip which prevents stock recovery from coming back after every reboot), you might end up with stock recovery which is a good thing. If you end up with stock recovery then you can just put this recovery rom in a folder named "downloaded_rom" (without quotes) in internal storage and update with updater app and your data won't be lost.
In case you want to flash some other version rom like global(PCXMIXM) or russian(PCXRUXM) then you have to download fastboot rom and mi flash from here and flash it with mi flash which will erase your data so make sure you backup your data before flashing.
Hi,
thank you very much for your reply!
Okay, so as it seems like I'm having a EU version,
based on my understanding I have to select the following MIUI 11 ROM, right?:
V11.0.3.0.PCXEUXM (Europe) Download Recovery ROM Download Fastboot ROM
Most likely I've already flashed something like "dm-verity" zip ("flashed disable dm-verity zip(a zip which prevents stock recovery from coming back after every reboot'),
because I've restarted the Redmi Note 8T several times and TWRP recovery is still available.
So what do I have to select within TWRP to flash this MIUI 11 ROM without loosing the existing data (apps, pictures,...)?
Thanks and best regards
XYZ0815 said:
Hi,
thank you very much for your reply!
Okay, so as it seems like I'm having a EU version,
based on my understanding I have to select the following MIUI 11 ROM, right?:
V11.0.3.0.PCXEUXM (Europe) Download Recovery ROM Download Fastboot ROM
Most likely I've already flashed something like "dm-verity" zip ("flashed disable dm-verity zip(a zip which prevents stock recovery from coming back after every reboot'),
because I've restarted the Redmi Note 8T several times and TWRP recovery is still available.
So what do I have to select within TWRP to flash this MIUI 11 ROM without loosing the existing data (apps, pictures,...)?
Thanks and best regards
Click to expand...
Click to collapse
Yes you have to select the miui 11 rom PCEUXM recovery rom if yo want to flash with twrp.
Now comes the part where you have to consider a few things.
So dm-verity and forceencrypt are different things. Sometimes both features are included in a single zip file. So if your device is decrypted you'll have to go through a lot of troubles. Search for encryption in Phone settings search bar and check if your device is encrypted or not. If your device is encrypted just flash the rom through twrp and everything will work just fine.
However if your device is decrypted then you'll face bootloop into twrp every time you dirty flash/update miui stock. To solve this do any of the following :
1. Flash stock rom though twrp as you do but after that you need to format data or else your phone won't boot.[but all your data will be lost so back it up first]
2. Flash stock mi recovery and then update through updater app.
3. Flash another recovery like orangefox which provides ability to flash miui OTA without any issues. Here's a guide for you how to flash miui using orangefox.
Hope it helps.
the_weird_aquarian said:
Yes you have to select the miui 11 rom PCEUXM recovery rom if yo want to flash with twrp.
Now comes the part where you have to consider a few things.
So dm-verity and forceencrypt are different things. Sometimes both features are included in a single zip file. So if your device is decrypted you'll have to go through a lot of troubles. Search for encryption in Phone settings search bar and check if your device is encrypted or not. If your device is encrypted just flash the rom through twrp and everything will work just fine.
However if your device is decrypted then you'll face bootloop into twrp every time you dirty flash/update miui stock. To solve this do any of the following :
1. Flash stock rom though twrp as you do but after that you need to format data or else your phone won't boot.[but all your data will be lost so back it up first]
2. Flash stock mi recovery and then update through updater app.
3. Flash another recovery like orangefox which provides ability to flash miui OTA without any issues. Here's a guide for you how to flash miui using orangefox.
Hope it helps.
Click to expand...
Click to collapse
Hi,
thank you very much for your reply!
Okay, I've ensured that my Redmi Note 8T shows the status encrypted within the settings first.
Then I've downloaded the "V11.0.3.0.PCXEUXM" ROM from the link mentioned below (http://c.mi.com/in/miuidownload/detail?device=1900375).
I then tried to boot into TWRP recovery, but Redmi-Recovery 3.0 appeared instead.
So it seems like I haven't installed the fix which avoids TWRP recovery to be replaced by the default recovery after a reboot.
So I've just rebooted into MIUI and flashed the downloaded ZIP file of the "V11.0.3.0.PCXEUXM" ROM like decribed below:
"But looking at your post seems like you haven't flashed disable dm-verity zip(a zip which prevents stock recovery from coming back after every reboot), you might end up with stock recovery which is a good thing. If you end up with stock recovery then you can just put this recovery rom in a folder named "downloaded_rom" (without quotes) in internal storage and update with updater app and your data won't be lost."
However, initially this was not working so I had to do the following additional steps (https://www.gizchina.com/2019/10/23/how-to-download-and-install-miui-11-if-it-has-not-yet-arrived/):
"Then, we go again to the ‘About this phone’ section.
And in ‘System update’ we press a few times on the logo until a small temporary warning appears.
Then, click on the three-point menu and choose ‘Select update package’.
We look for the ‘Downloaded_rom’ folder and select the ROM that we have previously downloaded."
(Note: I had to re-install the app Mi File Manager first in order for this to work!).
However, I'm getting the following error message:
"Couldn't verify.
Looks like current ROM's network carrier type is different from that in the Recovery package.
Please download the correct ROM from MIUI forum."
I did a quick research and it seems like my Redmi Note 8T device contains a strange Vodafone branded ROM ("VF" = Vodafone ):
- Anyone with the Vodafone Custom ROM still getting updates ? (REDMI NOTE 8T) [10.3.0.1/PCXEUVF] - Xiaomi:
https://www.reddit.com/r/Xiaomi/com...one_custom_rom_still_getting/?sort=confidence
- Redmi Note 8T w NFC - Redmi Note 8/Pro/8T - Mi Community - Xiaomi:
https://c.mi.com/forum.php?mod=viewthread&tid=2576031&aid=4944161&from=album&page=1
If I remember correctly I was also wondering why it contains a pre-installed Vodafone app when uninstalling apps/de-bloating the ROM.
Thanks and best regards
XYZ0815 said:
Hi,
thank you very much for your reply!
Okay, I've ensured that my Redmi Note 8T shows the status encrypted within the settings first.
Then I've downloaded the "V11.0.3.0.PCXEUXM" ROM from the link mentioned below (http://c.mi.com/in/miuidownload/detail?device=1900375).
I then tried to boot into TWRP recovery, but Redmi-Recovery 3.0 appeared instead.
So it seems like I haven't installed the fix which avoids TWRP recovery to be replaced by the default recovery after a reboot.
So I've just rebooted into MIUI and flashed the downloaded ZIP file of the "V11.0.3.0.PCXEUXM" ROM like decribed below:
"But looking at your post seems like you haven't flashed disable dm-verity zip(a zip which prevents stock recovery from coming back after every reboot), you might end up with stock recovery which is a good thing. If you end up with stock recovery then you can just put this recovery rom in a folder named "downloaded_rom" (without quotes) in internal storage and update with updater app and your data won't be lost."
However, initially this was not working so I had to do the following additional steps (https://www.gizchina.com/2019/10/23/how-to-download-and-install-miui-11-if-it-has-not-yet-arrived/):
"Then, we go again to the ‘About this phone’ section.
And in ‘System update’ we press a few times on the logo until a small temporary warning appears.
Then, click on the three-point menu and choose ‘Select update package’.
We look for the ‘Downloaded_rom’ folder and select the ROM that we have previously downloaded."
(Note: I had to re-install the app Mi File Manager first in order for this to work!).
However, I'm getting the following error message:
"Couldn't verify.
Looks like current ROM's network carrier type is different from that in the Recovery package.
Please download the correct ROM from MIUI forum."
So it seems like it's the wrong ROM
But which one do I have to selected instead...?
Thanks and best regards
Click to expand...
Click to collapse
Did some searching and found out that you have a vodafone rom that's why there's VF in the end and not XM. I suggest you to switch to XM one using fastboot method via mi flash. After that you'll receive updates as soon as they're released by xiaomi.
the_weird_aquarian said:
Did some searching and found out that you have a vodafone rom that's why there's VF in the end and not XM. I suggest you to switch to XM one using fastboot method via mi flash. After that you'll receive updates as soon as they're released by xiaomi.
Click to expand...
Click to collapse
Okay, will try to do this.
But this means I will loose the existing data (apps, pictures,...), right?
I hope it will still support B28 after changing from the PCXEUVF to the PCXEUXM ROM?
Thanks and best regards
XYZ0815 said:
Okay, will try to do this.
But this means I will loose the existing data (apps, pictures,...), right?
I hope it will still support B28 after changing from the PCXEUVF to the PCXEUXM ROM?
Thanks and best regards
Click to expand...
Click to collapse
Yes unfortunately you will lose existing data. Backup all your data before flashing fastboot rom via mi flash. After flashing everything will work just fine

How to update with twrp and root access installed?

Hello,
i have version 11.0.2.0 Global on the device with twrp, magisk and edXposed.
Now I have seen that there is already a global version 11.0.6.0.
In my case, how can I update to a new version without losing the data and settings?
And one more question in general. Version 11.0.6.0 is not shown to me via OTA. Here it says, latest stable version 11.0.2.0. Is it not rolled out via OTA?
And if there was a newer version available via OTA, could I install the update despite TWRP?
hmarder said:
Hello,
i have version 11.0.2.0 Global on the device with twrp, magisk and edXposed.
Now I have seen that there is already a global version 11.0.6.0.
In my case, how can I update to a new version without losing the data and settings?
And one more question in general. Version 11.0.6.0 is not shown to me via OTA. Here it says, latest stable version 11.0.2.0. Is it not rolled out via OTA?
And if there was a newer version available via OTA, could I install the update despite TWRP?
Click to expand...
Click to collapse
I (without root) flashed the OTA on 11.0.2.0 global PGGMIXM to 11.0.6.0, but, to flash with root... Maybe (I dont know if it will brick) but you can try flash a recovery version of 11.0.6.0
hmarder said:
Hello,
i have version 11.0.2.0 Global on the device with twrp, magisk and edXposed.
Now I have seen that there is already a global version 11.0.6.0.
In my case, how can I update to a new version without losing the data and settings?
And one more question in general. Version 11.0.6.0 is not shown to me via OTA. Here it says, latest stable version 11.0.2.0. Is it not rolled out via OTA?
And if there was a newer version available via OTA, could I install the update despite TWRP?
Click to expand...
Click to collapse
I had exactly the same setup as you - here's what I did: 1 - Downloaded full rom from official Mi website (MIUI Global 11.0.6.0(PGGMIXM) 2 - Moved rom to root storage 3 - Flashed rom with TWRP, and voila! Updated to latest stable rom. Just remember to flash TWRP recovery again through Fastboot, because you will have stock recovery after update. I am using LTWRP- 3.3.1 -0924 and rooted and installed Magisk, without issues
hmarder said:
Hello,
i have version 11.0.2.0 Global on the device with twrp, magisk and edXposed.
Now I have seen that there is already a global version 11.0.6.0.
In my case, how can I update to a new version without losing the data and settings?
And one more question in general. Version 11.0.6.0 is not shown to me via OTA. Here it says, latest stable version 11.0.2.0. Is it not rolled out via OTA?
And if there was a newer version available via OTA, could I install the update despite TWRP?
Click to expand...
Click to collapse
One thing you forgot to mention is what region is your phone (not your Rom). If Chinese you may have to be extra cautious and steps above might not work for you.
Good luck!
KonahZave said:
I (without root) flashed the OTA on 11.0.2.0 global PGGMIXM to 11.0.6.0, but, to flash with root... Maybe (I dont know if it will brick) but you can try flash a recovery version of 11.0.6.0
Click to expand...
Click to collapse
Interesting. I'm still on rooted miui 10 4.5.0 PGGEUXM rooted magisk and twrp recovery-红米Note8Pro-3.3.1-9.0.img
I didn't update yet as bricking started to happen and I can't miss my phone as a daily driver.
Normally I would flash the full ROM, flash magisk, wipe cache and reboot.
So flashing full ROM doesn't break root?
Can't we flash recovery by twrp after flashing ROM instead by flashing by fastboot?
Isnt secure flash twrp after the ROM.
donkyshot said:
So flashing full ROM doesn't break root?
Can't we flash recovery by twrp after flashing ROM instead by flashing by fastboot?
Click to expand...
Click to collapse
Flashing a full rom will break root, and install stock recovery...
It is too risky to flash another recovery with twrp (possible brick)
so where to put official update on sd card?
download recovery rom?
unoturbo1 said:
I had exactly the same setup as you - here's what I did: 1 - Downloaded full rom from official Mi website (MIUI Global 11.0.6.0(PGGMIXM) 2 - Moved rom to root storage 3 - Flashed rom with TWRP, and voila! Updated to latest stable rom. Just remember to flash TWRP recovery again through Fastboot, because you will have stock recovery after update. I am using LTWRP- 3.3.1 -0924 and rooted and installed Magisk, without issues
Click to expand...
Click to collapse
I just brought rmn8p with miui 11.0.6.0 ,so it is ok to use LRTWRP-3.3.1 -0924. I came across a new version -1104, I'll try it after unlock the bootloader. After that flash preloader then trwp.
Use LR.TWRP, it got an option to make the TWRP persist on every OTA.
Also LR.TWRP = less headache on Xiaomi devices.
Here's the latest build: https://mega.nz/folder/cMAT3Q4b#7CbPV7sbEuSEdP7cehXJ-w
tze_vitamin said:
so where to put official update on sd card?
download recovery rom?
Click to expand...
Click to collapse
??
Put on external sd card dude
unoturbo1 said:
I had exactly the same setup as you - here's what I did: 1 - Downloaded full rom from official Mi website (MIUI Global 11.0.6.0(PGGMIXM) 2 - Moved rom to root storage 3 - Flashed rom with TWRP, and voila! Updated to latest stable rom. Just remember to flash TWRP recovery again through Fastboot, because you will have stock recovery after update. I am using LTWRP- 3.3.1 -0924 and rooted and installed Magisk, without issues
Click to expand...
Click to collapse
For chinese, this will brick the phone. See this instead.
Guys I Just see This video and in it shows the update process, with ltwrp, when the recovery capture the process and update even without losing data, its This True?, somebody has tried?
Link.
This will brick every phone. I brick my EU ROM, with this method of update rooted phone.
What is correct solution to update rooted phone?
Redmi Note 8 Pro, 11.0.2 QGGEUXM, TWRP 3.3.1 1210, Magisk 20.3 -> 12.0.1 QGGEUXM
System say there exists update, i choose download, select reboot, but after reboot i end up in TWRP but nothing happened. After exit i boot to old 11.0.2 system with message that update fail.
Edit 1: after 2. download/update/reboot TWRP start installing image ...
Edit 2: after automatic update system say 12.0.1, just loosing root (all apps stay)
Edit 3: installed TWRP again, Magisk (there was little problem because Magisk Manager say "not installed", but after some googlig i fix that. So i update system without reinstalling apps or loosing data.
Clear solution is probably download full rom from official Mi website and flash selected rom with TWRP (flash TWRP recovery again, repeat root process, to get root back). See next post.
RedMu said:
So what is correct solution to update rooted phone?
Redmi Note 8 Pro, 11.0.2 QGGEUXM, TWRP 1210, Magicks 20.3 -> 12.0.1 QGGEUXM
Now system say there exists update, i choose download, select reboot, but after reboot i end up in TWRP. After exit i boot to old 11.0.2 system with message that update fail.
So solution is probably downloaded full rom from official Mi website and flash selected rom with TWRP (flash TWRP recovery again, repeat root process, to get root back).
So what is correct way for update in this case?
Click to expand...
Click to collapse
This is how I upgraded, try at your own risk.
Download full recovery zip of MIUI 12 and latest magisk
Create twrp Backup just in case
In LR TWRP 10 mount & format system, cache, dalvik, vendor.
Flash full rom (not ota!)
Press home to return to the main screen Choose Advanced-File Manager item >system_root / system / folder at the bottom if there is a recovery_fromboot.p file delete it.
Go back to Advanced and select Close AVB2.0 and confirm with a swipe to the right.
flash Magisk
boot to system
First boot takes a while, relax and grab a drink
Remember to backup and close AVB!
Thank you so much for sharing these steps. I have questions for a couple of steps below:
donkyshot said:
This is how I upgraded, try at your own risk.
Download full recovery zip of MIUI 12 and latest magisk
Create twrp Backup just in case
In LR TWRP 10 mount & format system, cache, dalvik, vendor.
Click to expand...
Click to collapse
What is TWRP 10? Do I format first and then mount? I usually wipe system, cache, dalvik and then "install" the full rom (your next step), but i never try "mount" here. What does mount do here? what is wiping vender and mounting vender?
donkyshot said:
[*]Flash full rom (not ota!)
[*]Press home to return to the main screen Choose Advanced-File Manager item >system_root / system / folder at the bottom if there is a recovery_fromboot.p file delete it.
[*]Go back to Advanced and select Close AVB2.0 and confirm with a swipe to the right.
Click to expand...
Click to collapse
There are two check box here. one is "close the boot verification of avb2.0" the other is "close the DMVerity of avb2.0". Do O check one of both?
Thank you!
po1 said:
Thank you so much for sharing these steps. I have questions for a couple of steps below:
What is TWRP 10? Do I format first and then mount? I usually wipe system, cache, dalvik and then "install" the full rom (your next step), but i never try "mount" here. What does mount do here? what is wiping vender and mounting vender?
There are two check box here. one is "close the boot verification of avb2.0" the other is "close the DMVerity of avb2.0". Do O check one of both?
Thank you!
Click to expand...
Click to collapse
Recovery LR TWRP for Android 10
https://androidfilehost.com/?fid=8889791610682889486
First mount system, cache, dalvik, vendor
Than format system, cache, dalvik, vendor
Without mounting folders they won't be mounted
►go back to your main screen: ADVANCED- close AVB 2.0 then swipe to confirm, just tick only 1st box, ignore the second box

Question Help: Can't flash twrp recovery from PC to my Phone (F3)

I successfully unlocked my bootloader, then I tried flashing the twrp by following munchy's tutorial from YouTube (as someone recommended here). I also used the twrp recovery file he provided in the description, by using the latest platform tools from the official website. It was going pretty good. I even got the TeamWin logo, and also loaded up the twrp interface, and was able to navigate through it. But the problem was my internal storage wasn't showing up. So I booted back to my system normally to see If I can find a solution. Then I think I tried again after restarting to see if it fixes itself, but the same problem was persisting. The next time when I tried again, I used the latest twrp version which I downloaded from the official twrp website.
But since my 3rd attempt, I am not able to see any TeamWin recovery come up on my phone, when I connect I do the "fastboot boot (twrp filename)" command in cmd. When I do the command, nothing shows up. The device remains in the Fastboot mode, or just turns off. When I switch it back on, It turns on normally and boots into the phone without any issues, and I can use it. I've tried switching back to the original twrp version munchy used in the above linked video, but same result.
What did I do wrong here? How do I make my phone get into the twrp recovery when I enter the fastboot boot (twrp filename) command thru my PC? How do I make my Internal Storage available to view int he TWRP recovery so I can install it from my Downloads folder? I am on MIUI 14.0.4 If that helps. My end goal is to install Magisk.
Any tips/guides/suggestions are appreciated.
Installing TWRP and root does not erase your data.
Remove security from the lock screen. (decryption).Normally the latest TWRP decrypts the data.
Install Platform tools ,put the TWRP in the folder and run the commands from the folder.
TWRP SKK, Use A12 if your system is in A12/A13 if system A13.
Rename it to twrp.img
CMD
fastboot boot twrp.img
Powershell
./fastboot boot twrp.img
Once booted, go to Advanced -> Press "Flash current TWRP"
If offered, both slots.
NOSS8 said:
Installing TWRP and root does not erase your data.
Remove security from the lock screen. (decryption).Normally the latest TWRP decrypts the data.
Install Platform tools ,put the TWRP in the folder and run the commands from the folder.
TWRP SKK, Use A12 if your system is in A12/A13 if system A13.
Rename it to twrp.img
CMD
fastboot boot twrp.img
Powershell
./fastboot boot twrp.img
Once booted, go to Advanced -> Press "Flash current TWRP"
If offered, both slots.
Click to expand...
Click to collapse
Thank you. I had put backed the screen lock after the first 2 attempts because someone said to to that on a YT video after they faced the same problem. Now I tried again by removing the screen lock and the latest twrp for my device also boots up just fine. Now the problem Is I still can't access my internal storage .
Still having removed the screen security?
Which rom(fullname)?
Which TWRP?
Try to mount storage.
NOSS8 said:
Still having removed the screen security?
Which rom(fullname)?
Which TWRP?
Click to expand...
Click to collapse
Yes, I removed the screen security, though I can enter TWRP, I can't read the internal storage. MIUI 14.0.4.
I just watched a YT video where the dude does the following:
-TWRP Recovery
- Wipe
- Format Data
- Types 'yes'
then
-TWRP Recovery
- Reboot
- Recovery
- Do not Install
After coming back to recovery after rebooting, he gets a pop up, which at the swipe says "Swipe to allow for modifications" which he swipes, then now after checking the Internal Storage, It's readable now. Is this a possible solution?
Twrp A13, obviously if you don't want to keep the data.
Twrp/wipe format data type yes/reboot TWRP.
If error red lines, reboot TWRP and repeat the operation.
Sideload roms or use OTG.
NOSS8 said:
Twrp A13, obviously if you don't want to keep the data.
Twrp/wipe format data type yes/reboot TWRP.
If error red lines, reboot TWRP and repeat the operation.
Sideload roms or use OTG.
Click to expand...
Click to collapse
what's twrp A13? Also, I just unlocked my bootloader a few hours ago, so my phone has already done a factory reset and i don't have anything to lose except the Magisk APK and .img file in my phone.
But I have a question, will doing the format data just do a factory reset, or will I lose my ROM? Because I'm not trying to install a custom ROM, I just want to Install Magisk as the end goal with my current ROM.
MIUI 14 Android 13 so use this TWRP
plugged the phone into the PC when it is on the TWRP, you will have access to the internal storage. (works on my 12 pro aves twrp A13 Skk).
twrp-3.7.0_12-v7.5_A13-alioth-skkk.img
I'm using the latest one I could find on the TWRP website for my device. Not aware If it supports Android 13 though as it isn't mentioned on the website. Just asking my prev question, will doing the format data from TWRP just do a factory reset, or do I lose the ROM and will have to install a custom ROM?
second question I forgot to ask in my prev post, after i do the format data and put the Magisk APK and twrp img file again on my device, will my device stay decrypted as I formatted the data, or will the problem persist?
sorry If i sound dumb
zoinksy said:
I'm using the latest one I could find on the TWRP website for my device. Not aware If it supports Android 13 though as it isn't mentioned on the website. Just asking my prev question, will doing the format data from TWRP just do a factory reset, or do I lose the ROM and will have to install a custom ROM?
second question I forgot to ask in my prev post, after i do the format data and put the Magisk APK and twrp img file again on my device, will my device stay decrypted as I formatted the data, or will the problem persist?
sorry If i sound dumb
Click to expand...
Click to collapse
Use this TWRP(officiel).
twrp-3.7.0_12-v7.5_A13-alioth-skkk.img
thank you, this is the one I was looking for. Sorry to bother you again, now I installed the Magisk V26.1 apk from TWRP. And when I boot back to system and try opening the magisk manager, this happens. It says downloading, forever. I think I shouldn't have directly downloaded the latest version. So probably have to downgrade it a bit. For that, what will I have to do?
Can I just hold the Magisk icon, and uninstall it simply like any other app? Or do I have to do it from the TWRP? Also, Is it necessary for me to uninstall it before downgrading, or can I just download the apk of older magisk version and flash it from twrp just like I did previously?
It was on my first post.
Installation
The Magic Mask for Android
topjohnwu.github.io
TWRP + Root
Hi all. Hope you are good and safe from Covid-19. If you like TWRP as your recovery and want to keep root access as well, I am going to show you how to do that. Because if you take the stock boot.img and patch it via magisk, you will lose TWRP...
forum.xda-developers.com
Try OrangeFox. I never had problems with it. Been using it for half a year and constantly flash new ROM builds as a tester
Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40 (alioth) build releases | OrangeFox Recovery Downloads
Orangefox recovery for Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40 (alioth)
orangefox.download
cyanGalaxy said:
Try OrangeFox. I never had problems with it. Been using it for half a year and constantly flash new ROM builds as a tester
Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40 (alioth) build releases | OrangeFox Recovery Downloads
Orangefox recovery for Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40 (alioth)
orangefox.download
Click to expand...
Click to collapse
Sure, but currently only in A12.
NOSS8 said:
Sure, but currently only in A12.
Click to expand...
Click to collapse
I use ArrowOS 13
cyanGalaxy said:
I use ArrowOS 13
Click to expand...
Click to collapse
I don't doubt it, the Twrp A12 also works for certain operations on an A13 system but for certain Miui roms some bootloop.
NOSS8 said:
I don't doubt it, the Twrp A12 also works for certain operations on an A13 system but for certain Miui roms some bootloop.
Click to expand...
Click to collapse
Hm ok.
Welp for me on AOSP, it works nicely. I flash a new build (or two) every week. Backup/Restore works as should. UI is nice and modern, imo better than TWRP. That's why I'm recommending it.
Haven't heard anyone saying that they can't view Phone storage on OrangeFox.
Hi,
@NOSS8 , I'd like to ask : I've only some hours to wait to unlock the BL. But one question, as it's yet the stock rom (FW V13.0.11.0, A12), wich twrp should I use ? I want to install a A13 rom (that supposes FW V 14.xxx !)
So :
- fastboot boot twrp (but wich one ?? A12 or 13 ?? ; skkk ? Or ?) (+ "flash current twrp" OR "install it in ramdisk"?)
- reboot recovery
- flash FW V14.xxx
- flash rom
- format data
- reboot system
- flash magisk (last version ? Seems to be 'big' changes ?)
- flash what I need (V4A, DFE (??), ....)
What do you think ?
Thanks a lot ! Main question is about what version of twrp.. Help will be very appreciated !
néonaloj said:
Hi,
@NOSS8 , I'd like to ask : I've only some hours to wait to unlock the BL. But one question, as it's yet the stock rom (FW V13.0.11.0, A12), wich twrp should I use ? I want to install a A13 rom (that supposes FW V 14.xxx !)
So :
- fastboot boot twrp (but wich one ?? A12 or 13 ?? ; skkk ? Or ?) (+ "flash current twrp" OR "install it in ramdisk"?)
- reboot recovery
- flash FW V14.xxx
- flash rom
- format data
- reboot system
- flash magisk (last version ? Seems to be 'big' changes ?)
- flash what I need (V4A, DFE (??), ....)
What do you think ?
Thanks a lot ! Main question is about what version of twrp.. Help will be very appreciated !
Click to expand...
Click to collapse
Instead, use Miflash with a Fastboot rom, you can extract the boot img for root.(don't re lock the bootloader).
You can root without TWRP, but according to this thread, if you root you lose the TWRP and vice versa, I don't know if this is still relevant.(I don't have this device).
If you need ,install the TWRP A13 after flashing the A13.
See this thread for instructions
[Recovery] [13] [12] TWRP & OrangeFox
Since recoveries play a crucial role in flashing firmwares, custom ROMs and offline updates, it is of importance to have access to them. This post is about sources and instructions to working versions of recoveries for Alioth. Platform Tools (aka...
forum.xda-developers.com
***Note:
Use the TWRP SKKK.
Advantage with Miflash, the Fastboot roms contain all the imgs.
EDIT:
omitted link
TWRP + Root
Hi all. Hope you are good and safe from Covid-19. If you like TWRP as your recovery and want to keep root access as well, I am going to show you how to do that. Because if you take the stock boot.img and patch it via magisk, you will lose TWRP...
forum.xda-developers.com
NOSS8 said:
Instead, use Miflash with a Fastboot rom, you can extract the boot img for root.(don't re lock the bootloader).
You can root without TWRP, but according to this thread, if you root you lose the TWRP and vice versa, I don't know if this is still relevant.(I don't have this device).
If you need install the TWRP A13 after flashing the A13.
See this thread for instructions
[Recovery] [13] [12] TWRP & OrangeFox
Since recoveries play a crucial role in flashing firmwares, custom ROMs and offline updates, it is of importance to have access to them. This post is about sources and instructions to working versions of recoveries for Alioth. Platform Tools (aka...
forum.xda-developers.com
***Note:
Use the TWRP SKKK.
Advantage with Miflash, the Fastboot roms contain all the imgs.
Click to expand...
Click to collapse
I'm very greatfull for your quick reply ! Thanks
The device is too a Poco f3, sorry.. This doesn't need to flash magisk for twrp to stick (I had another one I've broken)
But I don't understand what's the advantage to first flash a fastboot rom..? As you say to flash twrp would loose root and vice versa... (I've read the thread you're talking about ofox)
So I wanted to go trough +- the way I mentionned, as A13 as well as ofox 'seems' to work (but I'm carefull with that twrp on stock MIUI A12, and I never used ofox..)
So you do think it's a bad idea ?? The rom I want to flash is crdroid.
I'm more lost now ...
Thanks again !

Categories

Resources