How To Guide [GUIDE] LATEST/UNIVERSAL FLASHING GUIDE FOR TWRP,OTHER RECOVERY AND ALL ROMS [Spes/Spesn] Redmi Note 11 - Redmi Note 11 (spes/spesn)

<Moderator Edit>: Combined four How To Guide threads into one.
Post #2 - LATEST FLASHING GUIDE FOR TWRP AND OTHER RECOVERY [Spes/Spesn] Redmi Note 11[WINDOWS-Only]
Post #3 - LATEST FLASHING GUIDE FOR TWRP AND OTHER RECOVERY [Spes/Spesn] Redmi Note 11[LINUX-Only]
Post #4 - UNIVERSAL ROM FLASHING GUIDE FOR ALL ROMS [Windows-Only]
Post #5 - UNIVERSAL ROM FLASHING GUIDE FOR ALL ROMS [Linux-Only]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Before following this guide, make sure you have followed the rom flashing guide below the post below or xiaomi.eu rom flashing guide.
If you have followed the flashing guide then you may continue.
Hello Amigos,
You can use this guide to install other recovery than TWRP also.(Other recoveries are listed in the guide itself)
Steps to install
First of all unlock bootloader of your device . Search net for more info.
After this install adb drivers from here: https://forum.xda-developers.com/t/...reborn-v2-0-adb-fastboot-and-drivers.3854109/
Choose skip install for adb and install google drivers.
Connect your device in fastboot mode to your pc.
Go into device manager , right click on unrecognized android device , choose update drivers , let me pick from a list of drivers , select adb drivers , android bootloader interface and click install.
Then go to your custom rom download thread and check the date of rom file(In this case derpfest).
Download the latest platform-tools from the Android developer site and extract the zip in an easily accessible folder
Download the recovery image file
Restart your device to fastboot mode
Method 1:
Using this adb command if you have USB debugging active on your device:
adb reboot bootloader
Method 2:
- Turn off your device
- After it has completely turned off, press and hold Vol - and the Power button at the same time until the word "FASTBOOT" with orange letters comes out
Method 3:
- Turn off yout device
- Press and hold Vol - button
- Connect the USB cable (previously connected to the PC) to the device and press and hold the button until the word "FASTBOOT" with orange letters comes out
Connect your device to the PC
Open a cmd window in the folder where you extracted the binaries from the zip from step 1
Easy method: Open the folder, and without leaving it, type "cmd" in the address bar of the file explorer and press enter. Command promt will open a window directly in the folder location
Verify that your device is recognized by fastboot using this command:
fastboot devices
If your device has been detected (a serial number followed by the word fastboot), you can continue. Otherwise, check if the drivers are installed correctly, although if you used Mi Unlock and were able to unlock the device correctly on the PC you are using, you should not have problems with that.
- Because this device uses A/B partitions, there is no recovery partition as such, but it is integrated into the "boot" partition. So, first we must boot using the TWRP image.
Type this command in the cmd window, but don't press Enter yet, just type it and leave a space at the end:
fastboot boot_
Don't write the "_". This only indicates the space you should leave at the end.
This is how it should look when you write it:
Now, drag the image file (yourrecoveryhere.img) to the command window and drop it above the window. This will make you copy your exact location for convenience.
- The result should be this:
Code:
fastboot boot "C:\location\to\your\file\yourrecoveryhere.img"
Quotation marks are only added if the entire location has spaces.
Otherwise, it is displayed without quotation marks.
Press Enter and wait a few seconds. The MI logo will come out, and then the TWRP logo.
DONE! You've started perfectly in recovery
From the device
NOTE: Only use these steps if you want to have TWRP installed semi-permanently
I said "semi-permanent" because when flashing any ROM, and knowing that the "recovery" is integrated into the "boot" partition, it will be lost after leaving TWRP, so you can follow these steps if you want to avoid loss of TWRP.
If you have easy access to a PC, you can be fine with the boot method. If you don't have easy access to a PC, you can follow these steps.
Method 1(For TWRP)
While in the TWRP menu, tap the Advanced button
Copy the TWRP image file to the internal memory or SD card from the PC. MTP mode is enabled by default
You can use a USB OTG too
Now tap on the option "Install recovery ramdisk"
Now locate the file and tap on it.
You can use the "Select storage" button to switch between different storages
"Swipe to confirm" and the TWRP installation process will begin
Method 2(For TWRP)
While in the TWRP menu, tap the Install button
Copy the TWRP image file to the internal memory or SD card from the PC. MTP mode is enabled by default.
You can use a USB OTG too
Tap on the option "Install image"
Now locate the file and tap on it.
You can use the "Select storage" button to switch between different storage
In the new menu, select "Install recovery ramdisk" and then "Swipe to confirm Flash"
Method 3(For SHRP)
1. While booted in SHRP,under essentials section, tap advanced button.
2. Then click on flash current shrp button and click on tick button to flash shrp.
Method 4(For SHRP)
While booted in SHRP menu , tap flash button under the essentials section.
Copy the shrp image or zip file to the internal memory or SD card from the PC. MTP mode is enabled by default.
You can use a USB OTG too.
Now locate the file and tap on it.
You can use the "Select storage" button to switch between different storage
In the new menu, select "Install recovery ramdisk" and then "Swipe to confirm Flash" if its img file or click on zip file of shrp , then click on tick button to flash.
Method 5(For OrangeFox)
1. While booted in Ofox, click on menu at the bottom right of the screen.
2. There you will see manage partitions, reboot , mount as such . The last thing in menu column you will
see will be more. Click on more, then below fix contents you will see flash current orange fox. Swipe to confirm flash.
Method 6(For OrangeFox)
While booted in ofox , tap files button at the bottom left of the screen.
Copy the ofox image file to the internal memory or SD card from the PC. MTP mode is enabled by default.
You can use a USB OTG too.
Now locate the file and tap on it.
You can use the "Select storage" button to switch between different storage
In the new menu, select "Install recovery ramdisk" and then "Swipe to confirm Flash"
Remember that with the three methods mentioned above you will lose root access (Magisk), so do not forget to flash it again. These steps are also valid to update TWRP or other recovery if you already had it previously installed.
Credits: NeoSDAP (Original Post)
Jabieff,dblenk9(TWRP)
I have just reposted here to circulate the great work.
TWRP Download:
A11/A12:
[SHARED][RECOVERY] TWRP 3.6.2 UNOFFICIAL STABLE [A11/A12] [Spes/Spesn] Redmi Note 11
Hello Amigos, TWRP v3.6.2 - UNOFFICIAL | Android 11. Updated: 30/03/'22 Download Link Changelog: • Shipping with prebuilt kernel • Sync with latest source • MTP fixed • NOTE: Flashing Guide: GUIDE If mtp not working or device not...
forum.xda-developers.com
[RECOVERY]TWRP 3.6.1 Spes Android 11 only STABLE [SHARED]
TWRP v3.6.1 - UNOFFICIAL | Android 11. Updated: 30/03/'22 ▪️Download Changelog: • Shipping with prebuilt kernel • Sync with latest source • Decrypted(Does not support encryption,so format data is necessary to use recovery for A12) Notes: •...
forum.xda-developers.com
[RECOVERY] Shrp Android 11 only STABLE Spes [SHARED]
SHRP - UNOFFICIAL | Android 11. Updated: 06/03/'22 ▪️Download zip ▪️Download img Known Bugs: • /Data Can't Be Mounted On MIUI • MTP Notes: • Flash .Zip As Normal Zip In Other Recovery • Use .Img Through Fastboot Like Other Recovery Credits...
forum.xda-developers.com
A12/A13:
[SHARED] - [RECOVERY] TWRP 3.7.0 UNOFFICIAL STABLE [A12-Only/Supports Flashing A13] Spes/Spesn Redmi Note 11
Hello Amigos, TWRP 3.7.0 | Android 12.1 Updated: 06/11/'22 Download Link Changelog: • Synced latest TWRP 12.1 source • Fixed Android 13 ROM flashing issue (source side) , supports a12/a13 decryption. NOTE: Flashing Guide: GUIDE If mtp...
forum.xda-developers.com
[RECOVERY] Shrp 3.1 Android 12/13 Only STABLE [SHARED]
SKYHAWK Recovery - UNOFFICIAL 3.1 Device: Spes/Spesn (Redmi Note 11/11 NFC) Released : 03/01/23' ▪️DOWNLOAD (Changelog : • Initial Unofficial Build • Sync Latest Source • Based on TWRP 3.7.0-12.1 • MTP Fix • Supports Android 13 decryption...
forum.xda-developers.com
[RECOVERY] Orange Fox Recovery Android 12/13 Only Stable Spes [SHARED]
OrangeFox Recovery R11.1_A12 - UNOFFICIAL | Android 12 Updated: 08/10/'22 ▪️Download • Synced latest OrangeFox sources • Supports Android 11/12/13 decryption • MTP working NOTE: Flashing Guide: GUIDE If mtp not working or device not getting...
forum.xda-developers.com
NOTE:
If mtp not working or device not getting detected as a portable device in any recovery then watch this guide here: GUIDE
Do not replace the recovery or try to update recovery that comes with roms. This can brick your device
If your rom mentions to use a specific recovery then use that instead
Enjoy !

Before following this guide, make sure you have followed the rom flashing guide below or xiaomi.eu rom flashing guide.
If you have followed the guide then you may continue.
Hello Amigos,
You can use this guide to install other recovery than TWRP also.(Other recoveries are listed in the guide itself)
Prerequisites:
Ubuntu/Debian/Ubuntu-Based Distros:
Open terminal
Type sudo apt install adb
Once that is installed.
Type sudo apt install fastboot.
Done.
Fedora:
Open terminal.
Type sudo dnf install android-tools.
Let it install and done.
OpenSUSE:
Download this official package from here according to your version :
https://software.opensuse.org/download.html?project=hardware&package=android-tools
(Use either one the add repository and install manually or grab binary packages directly options.)
Steps to install
Make sure you have the bootloader unlocked before you start. There are many guides on the internet for that.
From PC:
Download the latest platform-tools for linux from the Android developer site and extract the zip in an easily accessible folder
Download the recovery image file
Restart your device to fastboot mode
Method 1:
Using this adb command if you have USB debugging active on your device:
adb reboot bootloader
Method 2:
- Turn off your device
- After it has completely turned off, press and hold Vol - and the Power button at the same time until the word "FASTBOOT" with orange letters comes out
Method 3:
- Turn off yout device
- Press and hold Vol - button
- Connect the USB cable (previously connected to the PC) to the device and press and hold the button until the word "FASTBOOT" with orange letters comes out
Connect your device to the PC
Open a terminal window in the folder where you extracted the binaries from the archive from step 1
Easy method: Open the folder, and open a terminal in the folder itself. Terminal will open a window directly in the folder location
Verify that your device is recognized by fastboot using this command: fastboot devices If your device has been detected (a serial number followed by the word fastboot), you can continue. Otherwise, check if the device is connected properly, although if you used Mi Unlock and were able to unlock the device correctly on the PC you are using, you should not have problems with that.
- Because this device uses A/B partitions, there is no recovery partition as such, but it is integrated into the "boot" partition. So, first we must boot using the TWRP image.
Type this command in the terminal window, but don't press Enter yet, just type it and leave a space at the end:
fastboot boot_
Don't write the "_". This only indicates the space you should leave at the end.
Now, drag the image file (yourrecoveryhere.img) to the terminal window and drop it above the window. This will make you copy your exact location for convenience.
- The result should be this:
fastboot boot "home/user/location/to/your/file/yourrecoveryhere.img"
Quotation marks are only added if the entire location has spaces.
Otherwise, it is displayed without quotation marks.
Press Enter and wait a few seconds. The MI logo will come out, and then the TWRP logo.
DONE! You've started perfectly in TWRP
From the device
NOTE: Only use these steps if you want to have TWRP installed semi-permanently
I said "semi-permanent" because when flashing any ROM, and knowing that the "recovery" is integrated into the "boot" partition, it will be lost after leaving TWRP, so you can follow these steps if you want to avoid loss of TWRP.
If you have easy access to a PC, you can be fine with the boot method. If you don't have easy access to a PC, you can follow these steps.
Method 1(For TWRP)
While in the TWRP menu, tap the Advanced button
Copy the TWRP image file to the internal memory or SD card from the PC. MTP mode is enabled by default
You can use a USB OTG too
Now tap on the option "Install recovery ramdisk"
Now locate the file and tap on it.
You can use the "Select storage" button to switch between different storages
"Swipe to confirm" and the TWRP installation process will begin
Method 2(For TWRP)
While in the TWRP menu, tap the Install button
Copy the TWRP image file to the internal memory or SD card from the PC. MTP mode is enabled by default.
You can use a USB OTG too
Tap on the option "Install image"
Now locate the file and tap on it.
You can use the "Select storage" button to switch between different storage
In the new menu, select "Install recovery ramdisk" and then "Swipe to confirm Flash"
Method 3(For SHRP)
1. While booted in SHRP,under essentials section, tap advanced button.
2. Then click on flash current shrp button and click on tick button to flash shrp.
Method 4(For SHRP)
While booted in SHRP menu , tap flash button under the essentials section.
Copy the shrp image or zip file to the internal memory or SD card from the PC. MTP mode is enabled by default.
You can use a USB OTG too.
Now locate the file and tap on it.
You can use the "Select storage" button to switch between different storage
In the new menu, select "Install recovery ramdisk" and then "Swipe to confirm Flash" if its img file or click on zip file of shrp , then click on tick button to flash.
Method 5(For OrangeFox)
1. While booted in Ofox, click on menu at the bottom right of the screen.
2. There you will see manage partitions, reboot , mount as such . The last thing in menu column you will
see will be more. Click on more, then below fix contents you will see flash current orange fox. Swipe to confirm flash.
Method 6(For OrangeFox)
While booted in ofox , tap files button at the bottom left of the screen.
Copy the ofox image file to the internal memory or SD card from the PC. MTP mode is enabled by default.
You can use a USB OTG too.
Now locate the file and tap on it.
You can use the "Select storage" button to switch between different storage
In the new menu, select "Install recovery ramdisk" and then "Swipe to confirm Flash"
Remember that with the three methods mentioned above you will lose root access (Magisk), so do not forget to flash it again. These steps are also valid to update TWRP if you already had it previously installed.
Credits: NeoSDAP (Original Post)
Jabieff,dblenk9(TWRP)
TWRP Download:
A12/A11:
[RECOVERY] TWRP 3.6.2 UNOFFICIAL STABLE [A12/A11] [Spes/Spesn] Redmi Note 11​Hello Amigos, TWRP v3.6.1 - UNOFFICIAL | Android 11. Updated: 30/03/'22 Download Link Changelog: • Shipping with prebuilt kernel • Sync with latest source • Decrypted Notes: • Flash stock boot.img before flash twrp.img • Reinstall twrp...
forum.xda-developers.com
[RECOVERY]TWRP 3.6.1 Spes Android 11 only STABLE [SHARED]
TWRP v3.6.1 - UNOFFICIAL | Android 11. Updated: 30/03/'22 ▪️Download Changelog: • Shipping with prebuilt kernel • Sync with latest source • Decrypted(Does not support encryption,so format data is necessary to use recovery for A12) Notes: •...
forum.xda-developers.com
[RECOVERY] Shrp Android 11 only STABLE Spes [SHARED]
SHRP - UNOFFICIAL | Android 11. Updated: 06/03/'22 ▪️Download zip ▪️Download img Known Bugs: • /Data Can't Be Mounted On MIUI • MTP Notes: • Flash .Zip As Normal Zip In Other Recovery • Use .Img Through Fastboot Like Other Recovery Credits...
forum.xda-developers.com
A12/A13:
[RECOVERY] TWRP 3.7.0 UNOFFICIAL STABLE [A12/A13] Spes/Spesn Redmi Note 11​Hello Amigos, TWRP 3.7.0 | Android 12.1 Updated: 06/11/'22 Download Link Changelog: • Synced latest TWRP 12.1 source • Fixed Android 13 ROM flashing issue (source side) , supports a12/a13 decryption. Flash instructions: • Download and...
forum.xda-developers.com
[RECOVERY] Shrp 3.1 Android 12/13 Only STABLE [SHARED]
SKYHAWK Recovery - UNOFFICIAL 3.1 Device: Spes/Spesn (Redmi Note 11/11 NFC) Released : 03/01/23' ▪️DOWNLOAD (Changelog : • Initial Unofficial Build • Sync Latest Source • Based on TWRP 3.7.0-12.1 • MTP Fix • Supports Android 13 decryption...
forum.xda-developers.com
[RECOVERY] Orange Fox Recovery Android 12/13 Only Stable Spes [SHARED]
OrangeFox Recovery R11.1_A12 - UNOFFICIAL | Android 12 Updated: 08/10/'22 ▪️Download • Synced latest OrangeFox sources • Supports Android 11/12/13 decryption • MTP working NOTE: Flashing Guide: GUIDE If mtp not working or device not getting...
forum.xda-developers.com
NOTE:
If mtp not working or device not getting detected as a portable device in any recovery then watch this guide here: GUIDE
Do not replace the recovery or try to update recovery that comes with roms. This can brick your device.
If your rom mentions to use a specific recovery then use that instead
Enjoy !

First of all unlock bootloader of your device . Search net for more info.
After this install adb drivers from here: https://forum.xda-developers.com/t/...reborn-v2-0-adb-fastboot-and-drivers.3854109/
Choose skip install for adb and install google drivers.
Connect your device in fastboot mode to your pc.
Go into device manager , right click on unrecognized android device , choose update drivers , let me pick from a list of drivers , select adb drivers and click install.
Then go to your custom rom download thread and check the date of rom file(In this case derpfest).
Check the date of file.
Then go to xiaomifirmwareupdater.com and select rom archive and select your device.
Then MIUI downloads page will appear. type fastboot in search and look for a MIUI global version released
as the same or very close to the Custom ROM date (in this case it is this)
Download the fastboot version according to the date.
Go into the stock rom folder and double click on flash_all.bat(all data will be lost) .
Or open cmd in the folder and type flash_all.bat in cmd and hit enter.(This method allows to look for errors)
A cmd window will popup with fastboot commands automatically and after complete flashing of rom will close automatically. (approx. 20-25 mins)
Let the device boot into MIUI.
Once it boots power it off . Then press the vol down + power button until fastboot in orange letters appear.
Then follow the twrp flashing guide from here
Then flash the ROM according to the instructions.
NOTE:
Make sure to always extract and move the stock rom folder in root of C: drive (this helps avoid flashing errors)The path should look something like this:
C:\spes_global_images_YourVersionhere
Then flash the stock rom.
Clean Flashing a ROM:
I hope you have followed the entire guide above before doing this step.
Reboot to recovery.
Format data.
Flash ROM file.
Wipe Dalvik Cache.
Reboot and enjoy.
Everytime you do a clean flash, you must redo all the steps above.
If a rom does not include flashing instructions, it requires a clean flash.
If rom mentions clean flash and not wiping of anything else then dont be smart to wipe anything unecessary.
If you get a error like this: assert failed _dynamic partitions package_extract_file(dynamic_partitions_op_list) ERROR 1
Then re do this guide from start and re do all the steps in the guide and when it comes to flashing twrp, then use twrp 3.6.1 to flash rom(if your rom mentions to use a specific recovery then use that instead)
Always flash magisk after the first boot of your rom
If mtp not working or device not getting detected as a portable device in any recovery then watch this guide here: GUIDE
Do not replace the recovery or try to update recovery that comes with roms. This can brick your device
Enjoy!

Prerequisites:
Ubuntu/Debian/Ubuntu-Based Distros:
Open terminal
Type sudo apt install adb
Once that is installed.
Type sudo apt install fastboot.
Done.
Fedora:
Open terminal.
Type sudo dnf install android-tools.
Let it install and done.
OpenSUSE:
Download this official package from here according to your version :
https://software.opensuse.org/download.html?project=hardware&package=android-tools
(Use either one the add repository and install manually or grab binary packages directly options.)
First of all unlock bootloader of your device . Search net for more info.
Then go to your custom rom download thread and check the date of rom file(In this case derpfest).
Check the date of file.
Then go to xiaomifirmwareupdater.com and select rom archive and select your device.
Then MIUI downloads page will appear. type fastboot in search and look for a MIUI global version released
as the same or very close to the Custom ROM date (in this case it is this)
Download the fastboot version according to the date.
Go into the stock rom folder and right click in empty area then select open terminal here then type this command:
./flash_all.sh
A terminal window will popup with fastboot commands automatically and after complete flashing of rom will close automatically. (approx. 20-25 mins)
Let the device boot into MIUI.
Once it boots power it off . Then press the vol down + power button until fastboot in orange letters appear.
Then follow the twrp flashing guide from here
Then flash the ROM according to the instructions.
NOTE:
Make sure to always extract and move the stock rom folder in root of home directory (this helps avoid flashing errors)The path should look something like this:
home\spes_global_images_YourVersionhere
Then flash the stock rom.
Clean Flashing a ROM:
I hope you have followed the entire guide above before doing this step.
Reboot to recovery.
Format data.
Flash ROM file.
Wipe Dalvik Cache.
Reboot and enjoy.
Everytime you do a clean flash, you must redo all the steps above.
If a rom does not include flashing instructions, it requires a clean flash.
If rom mentions clean flash and not wiping of anything else then dont be smart to wipe anything unecessary.
If you get a error like this: assert failed _dynamic partitions package_extract_file(dynamic_partitions_op_list) ERROR 1
Then re do this guide from start and re do all the steps in the guide and when it comes to flashing twrp, then use twrp 3.6.1 to flash rom(if your rom mentions to use a specific recovery then use that instead)
If mtp not working or device not getting detected as a portable device in any recovery then watch this guide here: GUIDE
Always flash magisk after the first boot of your rom
Do not replace the recovery or try to update recovery that comes with roms. This can brick your device.
Enjoy!

Title: Windows-only
Prerequisites: Linux-based OS
What?

NeoSDAP said:
Title: Windows-only
Prerequisites: Linux-based OS
What?
Click to expand...
Click to collapse
edited thanks!

@LolFlasherNoob Please see the PM I just sent you and let me know your response.
@notBradPitt Please help us in the future by using the "Report" button near the bottom right corner of a post.
Thank you,
@roirraW "edor" ehT

after i just flash TWRP. can i just install the magisk there?

xiasanx said:
after i just flash TWRP. can i just install the magisk there?
Click to expand...
Click to collapse
What do you mean ?

Does this work on Android 11?
My last phone became a brick.

Waltuh said:
Does this work on Android 11?
My last phone became a brick.
Click to expand...
Click to collapse
what twrp ? yes

Twrp no mtp no detect SD card intall conecting pendrive with USB c yo USB adapter

luistro said:
Twrp no mtp no detect SD card intall conecting pendrive with USB c yo USB adapter
Click to expand...
Click to collapse
which twrp , sd card must be formatted as fat32. yeah mtp works check mtp fix link in twrp.sd detect work on my spes.

Hi, I have a remdi note 11 unlocked bootloader, flashed MIUI13 (android 12) and then fastbooted to twrp . From there I tried to flash TWRP 3.7 (for android 12) using Method 2 , it flashed ok but now phone only boots to fastboot , and when I do again fastboot boot twrp.img it goes to TWRP but says no OS installed.
Could you guide me on what I have ****ed up??

wasteoinc said:
Hi, I have a remdi note 11 unlocked bootloader, flashed MIUI13 (android 12) and then fastbooted to twrp . From there I tried to flash TWRP 3.7 (for android 12) using Method 2 , it flashed ok but now phone only boots to fastboot , and when I do again fastboot boot twrp.img it goes to TWRP but says no OS installed.
Could you guide me on what I have ****ed up??
Click to expand...
Click to collapse
AFAIK, this phone doesn't have a Recovery partition and TWRP has to be booted from Fastboot. Maybe that's what's causing the problem?

notBradPitt said:
AFAIK, this phone doesn't have a Recovery partition and TWRP has to be booted from Fastboot. Maybe that's what's causing the problem?
Click to expand...
Click to collapse
But in the guide which is for this phone it clearly states you can "semi-permanently¨ install TWRP. Booting from bootloader is no deal breaker for me, but know Im getting concerned about magisk and other stuff I want to install

wasteoinc said:
But in the guide which is for this phone it clearly states you can "semi-permanently¨ install TWRP. Booting from bootloader is no deal breaker for me, but know Im getting concerned about magisk and other stuff I want to install
Click to expand...
Click to collapse
Sorry for inconvenience! I suggest that you boot twrp 3.6.2 from fastboot and then flash 3.6.2 instead from method 2 as some MIUI roms and custom roms have problems with 3.7.0 which can brick your device. Hope that resolves your issue !
Regards,
LolFlasherNoob

LolFlasherNoob said:
View attachment 5812057
Before following this guide, make sure you have followed the rom flashing guide below the post below or xiaomi.eu rom flashing guide.
If you have followed the flashing guide then you may continue.
Hello Amigos,
You can use this guide to install other recovery than TWRP also.(Other recoveries are listed in the guide itself)
Steps to install
First of all unlock bootloader of your device . Search net for more info.
After this install adb drivers from here: https://forum.xda-developers.com/t/...reborn-v2-0-adb-fastboot-and-drivers.3854109/
Choose skip install for adb and install google drivers.
Connect your device in fastboot mode to your pc.
Go into device manager , right click on unrecognized android device , choose update drivers , let me pick from a list of drivers , select adb drivers , android bootloader interface and click install.
Then go to your custom rom download thread and check the date of rom file(In this case derpfest).
Download the latest platform-tools from the Android developer site and extract the zip in an easily accessible folder
Download the recovery image file
Restart your device to fastboot mode
Method 1:
Using this adb command if you have USB debugging active on your device:
adb reboot bootloader
Method 2:
- Turn off your device
- After it has completely turned off, press and hold Vol - and the Power button at the same time until the word "FASTBOOT" with orange letters comes out
Method 3:
- Turn off yout device
- Press and hold Vol - button
- Connect the USB cable (previously connected to the PC) to the device and press and hold the button until the word "FASTBOOT" with orange letters comes out
Connect your device to the PC
Open a cmd window in the folder where you extracted the binaries from the zip from step 1
Easy method: Open the folder, and without leaving it, type "cmd" in the address bar of the file explorer and press enter. Command promt will open a window directly in the folder location
Verify that your device is recognized by fastboot using this command:
fastboot devices
If your device has been detected (a serial number followed by the word fastboot), you can continue. Otherwise, check if the drivers are installed correctly, although if you used Mi Unlock and were able to unlock the device correctly on the PC you are using, you should not have problems with that.
- Because this device uses A/B partitions, there is no recovery partition as such, but it is integrated into the "boot" partition. So, first we must boot using the TWRP image.
Type this command in the cmd window, but don't press Enter yet, just type it and leave a space at the end:
fastboot boot_
Don't write the "_". This only indicates the space you should leave at the end.
This is how it should look when you write it:
Now, drag the image file (yourrecoveryhere.img) to the command window and drop it above the window. This will make you copy your exact location for convenience.
- The result should be this:
Code:
fastboot boot "C:\location\to\your\file\yourrecoveryhere.img"
Quotation marks are only added if the entire location has spaces.
Otherwise, it is displayed without quotation marks.
Press Enter and wait a few seconds. The MI logo will come out, and then the TWRP logo.
DONE! You've started perfectly in recovery
From the device
NOTE: Only use these steps if you want to have TWRP installed semi-permanently
I said "semi-permanent" because when flashing any ROM, and knowing that the "recovery" is integrated into the "boot" partition, it will be lost after leaving TWRP, so you can follow these steps if you want to avoid loss of TWRP.
If you have easy access to a PC, you can be fine with the boot method. If you don't have easy access to a PC, you can follow these steps.
Method 1(For TWRP)
While in the TWRP menu, tap the Advanced button
Copy the TWRP image file to the internal memory or SD card from the PC. MTP mode is enabled by default
You can use a USB OTG too
Now tap on the option "Install recovery ramdisk"
Now locate the file and tap on it.
You can use the "Select storage" button to switch between different storages
"Swipe to confirm" and the TWRP installation process will begin
Method 2(For TWRP)
While in the TWRP menu, tap the Install button
Copy the TWRP image file to the internal memory or SD card from the PC. MTP mode is enabled by default.
You can use a USB OTG too
Tap on the option "Install image"
Now locate the file and tap on it.
You can use the "Select storage" button to switch between different storage
In the new menu, select "Install recovery ramdisk" and then "Swipe to confirm Flash"
Method 3(For SHRP)
1. While booted in SHRP,under essentials section, tap advanced button.
2. Then click on flash current shrp button and click on tick button to flash shrp.
Method 4(For SHRP)
While booted in SHRP menu , tap flash button under the essentials section.
Copy the shrp image or zip file to the internal memory or SD card from the PC. MTP mode is enabled by default.
You can use a USB OTG too.
Now locate the file and tap on it.
You can use the "Select storage" button to switch between different storage
In the new menu, select "Install recovery ramdisk" and then "Swipe to confirm Flash" if its img file or click on zip file of shrp , then click on tick button to flash.
Method 5(For OrangeFox)
1. While booted in Ofox, click on menu at the bottom right of the screen.
2. There you will see manage partitions, reboot , mount as such . The last thing in menu column you will
see will be more. Click on more, then below fix contents you will see flash current orange fox. Swipe to confirm flash.
Method 6(For OrangeFox)
While booted in ofox , tap files button at the bottom left of the screen.
Copy the ofox image file to the internal memory or SD card from the PC. MTP mode is enabled by default.
You can use a USB OTG too.
Now locate the file and tap on it.
You can use the "Select storage" button to switch between different storage
In the new menu, select "Install recovery ramdisk" and then "Swipe to confirm Flash"
Remember that with the three methods mentioned above you will lose root access (Magisk), so do not forget to flash it again. These steps are also valid to update TWRP or other recovery if you already had it previously installed.
Credits: NeoSDAP (Original Post)
Jabieff,dblenk9(TWRP)
I have just reposted here to circulate the great work.
TWRP Download:
A11/A12:
[SHARED][RECOVERY] TWRP 3.6.2 UNOFFICIAL STABLE [A11/A12] [Spes/Spesn] Redmi Note 11
Hello Amigos, TWRP v3.6.2 - UNOFFICIAL | Android 11. Updated: 30/03/'22 Download Link Changelog: • Shipping with prebuilt kernel • Sync with latest source • MTP fixed • NOTE: Flashing Guide: GUIDE If mtp not working or device not...
forum.xda-developers.com
[RECOVERY]TWRP 3.6.1 Spes Android 11 only STABLE [SHARED]
TWRP v3.6.1 - UNOFFICIAL | Android 11. Updated: 30/03/'22 ▪️Download Changelog: • Shipping with prebuilt kernel • Sync with latest source • Decrypted(Does not support encryption,so format data is necessary to use recovery for A12) Notes: •...
forum.xda-developers.com
[RECOVERY] Shrp Android 11 only STABLE Spes [SHARED]
SHRP - UNOFFICIAL | Android 11. Updated: 06/03/'22 ▪️Download zip ▪️Download img Known Bugs: • /Data Can't Be Mounted On MIUI • MTP Notes: • Flash .Zip As Normal Zip In Other Recovery • Use .Img Through Fastboot Like Other Recovery Credits...
forum.xda-developers.com
A12/A13:
[SHARED] - [RECOVERY] TWRP 3.7.0 UNOFFICIAL STABLE [A12-Only/Supports Flashing A13] Spes/Spesn Redmi Note 11
Hello Amigos, TWRP 3.7.0 | Android 12.1 Updated: 06/11/'22 Download Link Changelog: • Synced latest TWRP 12.1 source • Fixed Android 13 ROM flashing issue (source side) , supports a12/a13 decryption. NOTE: Flashing Guide: GUIDE If mtp...
forum.xda-developers.com
[RECOVERY] Shrp 3.1 Android 12/13 Only STABLE [SHARED]
SKYHAWK Recovery - UNOFFICIAL 3.1 Device: Spes/Spesn (Redmi Note 11/11 NFC) Released : 03/01/23' ▪️DOWNLOAD (Changelog : • Initial Unofficial Build • Sync Latest Source • Based on TWRP 3.7.0-12.1 • MTP Fix • Supports Android 13 decryption...
forum.xda-developers.com
[RECOVERY] Orange Fox Recovery Android 12/13 Only Stable Spes [SHARED]
OrangeFox Recovery R11.1_A12 - UNOFFICIAL | Android 12 Updated: 08/10/'22 ▪️Download • Synced latest OrangeFox sources • Supports Android 11/12/13 decryption • MTP working NOTE: Flashing Guide: GUIDE If mtp not working or device not getting...
forum.xda-developers.com
NOTE:
If mtp not working or device not getting detected as a portable device in any recovery then watch this guide here: GUIDE
Do not replace the recovery or try to update recovery that comes with roms. This can cause problems such as reboots, apps crashing,etc as recovery is integrated into boot partition in which kernel
Click to expand...
Click to collapse
LolFlasherNoob said:
<Moderator Edit>: Combined four How To Guide threads into one.
Post #2 - LATEST FLASHING GUIDE FOR TWRP AND OTHER RECOVERY [Spes/Spesn] Redmi Note 11[WINDOWS-Only]
Post #3 - LATEST FLASHING GUIDE FOR TWRP AND OTHER RECOVERY [Spes/Spesn] Redmi Note 11[LINUX-Only]
Post #4 - UNIVERSAL ROM FLASHING GUIDE FOR ALL ROMS [Windows-Only]
Post #5 - UNIVERSAL ROM FLASHING GUIDE FOR ALL ROMS [Linux-Only]
Click to expand...
Click to collapse
I seem to be having issues with the bootloader unlocking, I am not receiving verification SMS to my number to associate my device and number with xiaomi account before using the unlock tool. I have tried the official help checklist, and have asked support, however even though my issue is about verification SMS for adding my number to my xiaomi account, they said that because I am trying to unlock the device, that basically they refuse to give me support at all, even with association of my number to mi account. Quite the FU from xiaomi! Any advice about how to receive the verification SMS so i can continue with unlocking the bootloader, or any additional methods for bootloader unlocking would be appreciated.

LolFlasherNoob said:
View attachment 5798031
Before following this guide, make sure you have followed the rom flashing guide below or xiaomi.eu rom flashing guide.
If you have followed the guide then you may continue.
Hello Amigos,
You can use this guide to install other recovery than TWRP also.(Other recoveries are listed in the guide itself)
Prerequisites:
Ubuntu/Debian/Ubuntu-Based Distros:
Open terminal
Type sudo apt install adb
Once that is installed.
Type sudo apt install fastboot.
Done.
Fedora:
Open terminal.
Type sudo dnf install android-tools.
Let it install and done.
OpenSUSE:
Download this official package from here according to your version :
https://software.opensuse.org/download.html?project=hardware&package=android-tools
(Use either one the add repository and install manually or grab binary packages directly options.)
Steps to install
Make sure you have the bootloader unlocked before you start. There are many guides on the internet for that.
From PC:
Download the latest platform-tools for linux from the Android developer site and extract the zip in an easily accessible folder
Download the recovery image file
Restart your device to fastboot mode
Method 1:
Using this adb command if you have USB debugging active on your device:
adb reboot bootloader
Method 2:
- Turn off your device
- After it has completely turned off, press and hold Vol - and the Power button at the same time until the word "FASTBOOT" with orange letters comes out
Method 3:
- Turn off yout device
- Press and hold Vol - button
- Connect the USB cable (previously connected to the PC) to the device and press and hold the button until the word "FASTBOOT" with orange letters comes out
Connect your device to the PC
Open a terminal window in the folder where you extracted the binaries from the archive from step 1
Easy method: Open the folder, and open a terminal in the folder itself. Terminal will open a window directly in the folder location
Verify that your device is recognized by fastboot using this command:
fastboot devices
If your device has been detected (a serial number followed by the word fastboot), you can continue. Otherwise, check if the device is connected properly, although if you used Mi Unlock and were able to unlock the device correctly on the PC you are using, you should not have problems with that.
- Because this device uses A/B partitions, there is no recovery partition as such, but it is integrated into the "boot" partition. So, first we must boot using the TWRP image.
Type this command in the cmd window, but don't press Enter yet, just type it and leave a space at the end:
fastboot boot_
Don't write the "_". This only indicates the space you should leave at the end.
This is how it should look when you write it:
Now, drag the image file (yourrecoveryhere.img) to the command window and drop it above the window. This will make you copy your exact location for convenience.
- The result should be this:
Code:
fastboot boot "home/user/location/to/your/file/yourrecoveryhere.img"
Quotation marks are only added if the entire location has spaces.
Otherwise, it is displayed without quotation marks.
Press Enter and wait a few seconds. The MI logo will come out, and then the TWRP logo.
DONE! You've started perfectly in TWRP
From the device
NOTE: Only use these steps if you want to have TWRP installed semi-permanently
I said "semi-permanent" because when flashing any ROM, and knowing that the "recovery" is integrated into the "boot" partition, it will be lost after leaving TWRP, so you can follow these steps if you want to avoid loss of TWRP.
If you have easy access to a PC, you can be fine with the boot method. If you don't have easy access to a PC, you can follow these steps.
Method 1(For TWRP)
While in the TWRP menu, tap the Advanced button
Copy the TWRP image file to the internal memory or SD card from the PC. MTP mode is enabled by default
You can use a USB OTG too
Now tap on the option "Install recovery ramdisk"
Now locate the file and tap on it.
You can use the "Select storage" button to switch between different storages
"Swipe to confirm" and the TWRP installation process will begin
Method 2(For TWRP)
While in the TWRP menu, tap the Install button
Copy the TWRP image file to the internal memory or SD card from the PC. MTP mode is enabled by default.
You can use a USB OTG too
Tap on the option "Install image"
Now locate the file and tap on it.
You can use the "Select storage" button to switch between different storage
In the new menu, select "Install recovery ramdisk" and then "Swipe to confirm Flash"
Method 3(For SHRP)
1. While booted in SHRP,under essentials section, tap advanced button.
2. Then click on flash current shrp button and click on tick button to flash shrp.
Method 4(For SHRP)
While booted in SHRP menu , tap flash button under the essentials section.
Copy the shrp image or zip file to the internal memory or SD card from the PC. MTP mode is enabled by default.
You can use a USB OTG too.
Now locate the file and tap on it.
You can use the "Select storage" button to switch between different storage
In the new menu, select "Install recovery ramdisk" and then "Swipe to confirm Flash" if its img file or click on zip file of shrp , then click on tick button to flash.
Method 5(For OrangeFox)
1. While booted in Ofox, click on menu at the bottom right of the screen.
2. There you will see manage partitions, reboot , mount as such . The last thing in menu column you will
see will be more. Click on more, then below fix contents you will see flash current orange fox. Swipe to confirm flash.
Method 6(For OrangeFox)
While booted in ofox , tap files button at the bottom left of the screen.
Copy the ofox image file to the internal memory or SD card from the PC. MTP mode is enabled by default.
You can use a USB OTG too.
Now locate the file and tap on it.
You can use the "Select storage" button to switch between different storage
In the new menu, select "Install recovery ramdisk" and then "Swipe to confirm Flash"
Remember that with the three methods mentioned above you will lose root access (Magisk), so do not forget to flash it again. These steps are also valid to update TWRP if you already had it previously installed.
Credits: NeoSDAP (Original Post)
Jabieff,dblenk9(TWRP)
TWRP Download:
A12/A11:
[RECOVERY] TWRP 3.6.2 UNOFFICIAL STABLE [A12/A11] [Spes/Spesn] Redmi Note 11​Hello Amigos, TWRP v3.6.1 - UNOFFICIAL | Android 11. Updated: 30/03/'22 Download Link Changelog: • Shipping with prebuilt kernel • Sync with latest source • Decrypted Notes: • Flash stock boot.img before flash twrp.img • Reinstall twrp...
forum.xda-developers.com
[RECOVERY]TWRP 3.6.1 Spes Android 11 only STABLE [SHARED]
TWRP v3.6.1 - UNOFFICIAL | Android 11. Updated: 30/03/'22 ▪️Download Changelog: • Shipping with prebuilt kernel • Sync with latest source • Decrypted(Does not support encryption,so format data is necessary to use recovery for A12) Notes: •...
forum.xda-developers.com
[RECOVERY] Shrp Android 11 only STABLE Spes [SHARED]
SHRP - UNOFFICIAL | Android 11. Updated: 06/03/'22 ▪️Download zip ▪️Download img Known Bugs: • /Data Can't Be Mounted On MIUI • MTP Notes: • Flash .Zip As Normal Zip In Other Recovery • Use .Img Through Fastboot Like Other Recovery Credits...
forum.xda-developers.com
A12/A13:
[RECOVERY] TWRP 3.7.0 UNOFFICIAL STABLE [A12/A13] Spes/Spesn Redmi Note 11​Hello Amigos, TWRP 3.7.0 | Android 12.1 Updated: 06/11/'22 Download Link Changelog: • Synced latest TWRP 12.1 source • Fixed Android 13 ROM flashing issue (source side) , supports a12/a13 decryption. Flash instructions: • Download and...
forum.xda-developers.com
[RECOVERY] Shrp 3.1 Android 12/13 Only STABLE [SHARED]
SKYHAWK Recovery - UNOFFICIAL 3.1 Device: Spes/Spesn (Redmi Note 11/11 NFC) Released : 03/01/23' ▪️DOWNLOAD (Changelog : • Initial Unofficial Build • Sync Latest Source • Based on TWRP 3.7.0-12.1 • MTP Fix • Supports Android 13 decryption...
forum.xda-developers.com
[RECOVERY] Orange Fox Recovery Android 12/13 Only Stable Spes [SHARED]
OrangeFox Recovery R11.1_A12 - UNOFFICIAL | Android 12 Updated: 08/10/'22 ▪️Download • Synced latest OrangeFox sources • Supports Android 11/12/13 decryption • MTP working NOTE: Flashing Guide: GUIDE If mtp not working or device not getting...
forum.xda-developers.com
NOTE:
If mtp not working or device not getting detected as a portable device in any recovery then watch this guide here: GUIDE
Do not replace the recovery or try to update recovery that comes with roms. This can cause problems such as reboots, apps crashing,etc as recovery is integrated into boot partition in which kernel is also integrated.
Enjoy !
Click to expand...
Click to collapse
I seem to be having issues with the bootloader unlocking, I am not receiving verification SMS to my number to associate my device and number with xiaomi account before using the unlock tool. I have tried the official help checklist, and have asked support, however even though my issue is about verification SMS for adding my number to my xiaomi account, they said that because I am trying to unlock the device, that basically they refuse to give me support at all, even with association of my number to mi account. Quite the FU from xiaomi! Any advice about how to receive the verification SMS so i can continue with unlocking the bootloader, or any additional methods for bootloader unlocking would be appreciated.

Related

Resurrection Remix(8.1) GSI Treble Project

Resurrection Remix
Code:
Your warranty is now void.
I am not responsible for bricked devices, dead SD cards,
thermonuclear war, or you getting fired because the alarm app failed. Please
do some research if you have any concerns about features included in this ROM
before flashing it! YOU are choosing to make these modifications, and if
you point the finger at me for messing up your device, I will laugh at you.
A lot.
Requirements:
Honor 9i (RNE- L22)
I don't know if this will work on the other variants like RNE-L21, L23.
[/LIST]
[*]Your device MUST have an unlockable bootloader.
[*] Your device MUST be Project Treble compatible. That means your device meets one of the following criteria:
[*] Your device LAUNCHED with Android 8.0 Oreo or a newer version (eg. Android 8.1 Oreo) AND is Google Play certified. (If you rooted your device/flashed another custom ROM and somehow ended up with your device being listed as uncertified in Google Play, then don’t worry. We’re only concerned about the status of the device as it was shipped.)
[*] Your device UPGRADED to Android 8.0 Oreo or a newer version AND was made Project Treble compatible by the manufacturer. See this article for a list of such devices.
[*] For honor 9i(RNE-L22) u need to be in EMUI 8.0 otherwise u wont be able to flash this rom.
[*]
[/LIST]
ROM link - https://mega.nz/#!BDJCBC4Y!doc877HCYLDeZD_xF2Rx0xKxH69YbTcOOBW6FytvCGo
Recovery for EMUI 8.0 - https://mega.nz/#!lGYwFSpZ!5otUYH4q8Vgwm7dmVImHmJmLY9CkPzCWJnjzpggxOi8
Guide How to flash recovery -
Boot into fastboot( Power off> connect to pc> Hold volume down+Power button)
Now extract the recovery zip in desktop
Go to the extracted folder there u will find a folder named data enter the data folder now once you are in that folder press and hold the shift key and right-click in the blank area , now select open camand window here.
Now u r in CMD enter the following code.
(Don't change any thing)
type - fastboot devices
(check if it shows any device if shows then process further or else install adb system wide properly)
type - fastboot flash recovery_ramdisk recovery.img
(this will flash the twrp in ur system)
type - fastboot reboot.
How to flash GSI system image? -
copy the downloaded rom image file to the extracted recovery folder
now once you are in that folder press and hold the shift key and right-click in the blank area , now select open camand window here.
Now u r in CMD enter the following code.
(Don't change any thing)
type - fastboot devices
(check if it shows any device if shows then process further or else install adb system wide properly)
type - fastboot -w
(this will wipe everything from your phone so before doing this take backup)
type - fastboot flash system RROS.img
(this will flash the rom)
when flash is finished
type - fastboot reboot.
now press & hold power button + volume up to go to recovery
once u r in twrp select wipe> do normal factory reset(no advance)
then go back twrp home select mount de-select mount partitions read-only and tick every partition
now go back to twrp home select Install> select gapps zip file> swipe to install
after installing gapps do a normal factory reset and reboot
HERE IS THE TRICKY PART
AFTER REBOOTING SYSTEM HUWAIE eRECOVERY WILL ASK TO FORMAT THE DATA PARTITION , DO THAT, AFTER THAT IT MAY AGAIN TAKE YOU TO TWRP DO A SIMPLE FACTORY RESET AND REBOOT SYSTEM
NOW GIVE IT SOME TIME TO BOOT UP
To gain root access in this rom follow this process-
Download the Magisk flashable zip from here- https://mega.nz/#!VTIk2KYb!1GiyvrJsaovscKH2j3Jb2ySPowcxzSy3h--4MaJJv60
Flash this via TWRP and reboot
Then install this magisk manager apk - https://mega.nz/#!ZDQgQAJa!fzi8TjfAxsLTSQYD_zRqdxhUKNSy6ylhX_ZF5tyyGQ8
Open magisk manager
there click on install > select direct install(recomended)
Voila u r rooted now.
Note: all the credit goes to the GSI image developer @phh
A big thanks to @KingofMezi for the recovery.
Please hit the thanks button for me.
XDA:DevDB Information
Resurrection Remix(8.1) GSI Treble Project, ROM for the Honor 9i
Contributors
sknoman1, phh
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 4.x
ROM Firmware Required: EMUI 8.0
Based On: AOSP
Version Information
Status: Stable
Created 2018-06-21
Last Updated 2018-06-21
sknoman1 said:
Resurrection Remix
Code:
Your warranty is now void.
I am not responsible for bricked devices, dead SD cards,
thermonuclear war, or you getting fired because the alarm app failed. Please
do some research if you have any concerns about features included in this ROM
before flashing it! YOU are choosing to make these modifications, and if
you point the finger at me for messing up your device, I will laugh at you.
A lot.
Requirements:
Honor 9i (RNE- L22)
I don't know if this will work on the other variants like RNE-L21, L23.
[/LIST]
[*]Your device MUST have an unlockable bootloader.
[*] Your device MUST be Project Treble compatible. That means your device meets one of the following criteria:
[*] Your device LAUNCHED with Android 8.0 Oreo or a newer version (eg. Android 8.1 Oreo) AND is Google Play certified. (If you rooted your device/flashed another custom ROM and somehow ended up with your device being listed as uncertified in Google Play, then don’t worry. We’re only concerned about the status of the device as it was shipped.)
[*] Your device UPGRADED to Android 8.0 Oreo or a newer version AND was made Project Treble compatible by the manufacturer. See this article for a list of such devices.
[*] For honor 9i(RNE-L22) u need to be in EMUI 8.0 otherwise u wont be able to flash this rom.
[*]
[/LIST]
ROM link - https://mega.nz/#!BDJCBC4Y!doc877HCYLDeZD_xF2Rx0xKxH69YbTcOOBW6FytvCGo
Recovery for EMUI 8.0 - https://mega.nz/#!lGYwFSpZ!5otUYH4q8Vgwm7dmVImHmJmLY9CkPzCWJnjzpggxOi8
Guide How to flash recovery -
Boot into fastboot( Power off> connect to pc> Hold volume down+Power button)
Now extract the recovery zip in desktop
Go to the extracted folder there u will find a folder named data enter the data folder now once you are in that folder press and hold the shift key and right-click in the blank area , now select open camand window here.
Now u r in CMD enter the following code.
(Don't change any thing)
type - fastboot devices
(check if it shows any device if shows then process further or else install adb system wide properly)
type - fastboot flash recovery_ramdisk recovery.img
(this will flash the twrp in ur system)
type - fastboot reboot.
How to flash GSI system image? -
copy the downloaded rom image file to the extracted recovery folder
now once you are in that folder press and hold the shift key and right-click in the blank area , now select open camand window here.
Now u r in CMD enter the following code.
(Don't change any thing)
type - fastboot devices
(check if it shows any device if shows then process further or else install adb system wide properly)
type - fastboot -w
(this will wipe everything from your phone so before doing this take backup)
type - fastboot flash system RROS.img
(this will flash the rom)
when flash is finished
type - fastboot reboot.
now press & hold power button + volume up to go to recovery
once u r in twrp select wipe> do normal factory reset(no advance)
then go back twrp home select mount de-select mount partitions read-only and tick every partition
now go back to twrp home select Install> select gapps zip file> swipe to install
after installing gapps do a normal factory reset and reboot
HERE IS THE TRICKY PART
AFTER REBOOTING SYSTEM HUWAIE eRECOVERY WILL ASK TO FORMAT THE DATA PARTITION , DO THAT, AFTER THAT IT MAY AGAIN TAKE YOU TO TWRP DO A SIMPLE FACTORY RESET AND REBOOT SYSTEM
NOW GIVE IT SOME TIME TO BOOT UP
To gain root access in this rom follow this process-
Download the Magisk flashable zip from here- https://mega.nz/#!VTIk2KYb!1GiyvrJsaovscKH2j3Jb2ySPowcxzSy3h--4MaJJv60
Flash this via TWRP and reboot
Then install this magisk manager apk - https://mega.nz/#!ZDQgQAJa!fzi8TjfAxsLTSQYD_zRqdxhUKNSy6ylhX_ZF5tyyGQ8
Open magisk manager
there click on install > select direct install(recomended)
Voila u r rooted now.
Note: all the credit goes to the GSI image developer @phh
A big thanks to @KingofMezi for the recovery.
Please hit the thanks button for me.
XDA:DevDB Information
Resurrection Remix(8.1) GSI Treble Project, ROM for the Honor 9i
Contributors
sknoman1, phh
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 4.x
ROM Firmware Required: EMUI 8.0
Based On: AOSP
Version Information
Status: Stable
Created 2018-06-21
Last Updated 2018-06-21
Click to expand...
Click to collapse
Your download link is not working. There is an error:
The file you are trying to download is no longer available.
This could be due to the following reasons:
The file has been removed because of a ToS/AUP violation.
Invalid URL - the link you are trying to access does not exist
The file has been deleted by the user.
Hey guys could you help me with any Android pie gsi ROMs with VOLTE support for my Honor 9i RNE L22? I have been searching a lot but didn't come across any suitable one.

[GUIDE][TWRP][ROOT][FLASH] Xiaomi MI MIX3 5G Android 9 root, diagnostic port, codes

UNLOCK BOOTLOADER & ROOT DEVICE
1. Unlock Bootloader (Xiaomi procedure, 7 days via MI Unlock tool)
https://fossbytes.com/how-to-unlock-bootloader-on-xiaomi-devices-using-mi-unlock-tool/
2. Fastboot flash recovery TWRP and root the android 9 rom
(based on https://www.cyanogenmods.org/forums/topic/twrp-download-for-mi-mix-3-5g-and-rooting-guide/)
2.1 Install ADB for Windows and Xiaomi Drivers
2.2 Download TWRP for MI MIX3 5G Android 9 PIE - twrp-3.3.1-0-andromeda.img
https://androidfilehost.com/?fid=6006931924117900528
(based on https://forum.xda-developers.com/showthread.php?t=3941867)
2.3 Rename file to recovery.img and put it into ADB folder on Windows
2.4 Turn off the phone, Reboot to Fastboot (Volume Down + Power)
2.5 Plug the phone into computer
2.6 Open Windows CMD
2.7 Go to your ADB directory
2.8 Type the commands in cmd
cd C:/adb
fastboot devices
fastboot flash recovery recovery.img
2.9 Download Disable Force Encryption and Magisk Zip
https://www.cyanogenmods.org/downloads/disable-force-encryption-twrp-flashable-zip-treble/
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
2.10 Copy the files to USB memory stick formatted to FAT32, you should have two files:
Magisk-v20.3.zip
DisableForceEncryption_Treble.zip
2.10 Turn on phone to recovery (Volume Up + Power)
2.11 Go to Menu > Wipe > Format Data > "yes" (this will format the data)
2.12 Go to Menu > Advanced > Fix Contents
2.13 Plug in your USB stick with files via OTG USB C connector
2.14 Go to Menu > Install > Select Storage > OTG
2.15 Select Magisk-v20.3.zip
2.16 Add more zips and select DisableForceEncryption_Treble.zip
2.17 Flash the zips and reboot device
UPDATE FOR TWRP
To gain root you may now only boot the recovery instead of flashing and proceed with flashing Magisk and Disable Force Encryption.
# fastboot boot recovery.img
TWRP 3.3.1-1 Xiaomi Mi Mix 3 5G (andromeda) by mauronofrio:
- Added Android 10 Support;
- Fixed compatibility.zip errors;
- Make the TWRP able to boot directly from fastboot;
- Removed TWRP app;
- Added dtbo and persist target to flash image menu;
- Fixed some problems with Stock ROMs flashing.
Download TWRP: https://androidfilehost.com/?fid=4349826312261701065
Thanks to @mauronofrio
## QUALCOMM DIAGNOSTIC PORT AND TOOLS
(based on https://forum.xda-developers.com/oneplus-7-pro/help/force-enable-volte-vowifi-t3934227)
1.1 Download
https://androidfilehost.com/?fid=11410963190603864074
https://androidfilehost.com/?fid=11410963190603912872
QPST_2.7.474.zip
QUD.WIN.1.1 Installer-10037.3 Setup.zip
Just use the standard settings and click on OK, next,
1.2 OPEN DIAGNOSTIC PORT FOR THE SESSION FOR QPST (WINDOWS CMD ADB)
cd C:/adb
adb devices
adb shell
su (you need to add root permisions on android screen)
setprop sys.usb.config diag,serial_cdev,rmnet,adb
1.3 Once The Port is up you can use your Qualcomm Tools.
1.4 For example you can change the VOLTE/VOWIFI settings with PDC Tool
Select your device, right click on "Commercial" and deactivate Sub0 and Sub1
Click on Oversea-Commercial_DS again and click on remove -- DO NOT CLICK REMOVE, JUST DE-ACTIVATE IT - your settings stick after a reboot, so no longer need to remove the profile (at least on my device my profiles stick, also makes it easier to go back to default)
## FORCE ENABLE VOLTE AND VOWIFI BUTTONS IN ANDROID
cd C:/adb
adb devices
adb shell
su (you need to add root permisions on android screen)
setprop persist.dbg.ims_volte_enable 1; setprop persist.dbg.volte_avail_ovr 1; setprop persist.dbg.vt_avail_ovr 1; setprop persist.dbg.wfc_avail_ovr 1
######################## CODES FOR THE DIALER #####################
1. Diagnostic codes:
*#*#6484#*#*
2. Testing
*#*#4636#*#*
3. Calendar
*#*#225#*#*
4. Google Play services
*#*#426#*#*
5. Rlz Debug Ul.
*#*#759#*#*
6. Imei Information
*#06#
Enter these codes into the Dialer to enable the options in Settings. (Settings < SIM Cards & mobile networks < Sim Card Settings < VoLTE Enabled/Make Calls using WLAN) . THEY ARE ENABLED BY DEFAULT
VoLTE *#*#86583#*#*
VoWIFI *#*#869434#*#*
##### FLASH ROM AGAIN IF ANYTHING FAILS VIA FASTBOOT ###
01. You need to have unlocked bootloader
02. Download latest ROM based on your model (mine is 5G EEA n78)
Mi MIX 3 5G EEA Stable Fastboot V10.3.21.0.PEMEUXM 9.0 Download 2.5 GB
https://xiaomifirmwareupdater.com/miui/andromeda/
03. Download Mi Flash Tool
https://www.xiaomiflash.com/
04. Open the Mi Flash Tool, install drivers (if the install fails go to Mi Flash directory and create folder logs and log; open app again and install drivers)
05. Unpack the rom fastboot tgz
06. Select the Folder where the rom is unpacked (it should containg numerous of flash files)
07. Tick the Clear Data at the bottom (don't choose the clear data and lock cause it will lock your bootloader again)
08. Turn off the phone, Reboot to Fastboot (Volume Down + Power)
09. Plug the phone into computer
10. Click refresh, phone should be visible
11. Click flash
12. After successfull flash there could be an error fastboot lock (don't bother since you want to be unlocked)
13. If you want root flash twrp and magisk again
Thank you so much for this guide! Can I flash gsi rom with this? Sorry for the noob question
Jktfong said:
Thank you so much for this guide! Can I flash gsi rom with this? Sorry for the noob question
Click to expand...
Click to collapse
I have not tried to load the GSI ROM on that model. I guess there was some other topic under ROM development opened for that
https://t.me/mimix3_5G feel free to join this telegram group chat if you need any help we are all running a custom gsi with aosp 9 and 10 (pixel experience) @mxtuu222
Since last 20.1.9 update lost ecryption in twrp. Installed the latest 3.3.1.1.perseus. since then got loops to twrp. But if i try to launch
fastboot boot C:\mimix\twrp-3.3.1-1-perseus.img it boots to the system.
How to fix it?
dont want to use my PC to start the system every time.
Regards
Most probably you get bootloop, because after the update the partition was encrypted, you need to either flash DisableForceEncryption_Treble.zip or make a backup and install fresh OS with the guide from scratch,
Hey. help me with my problem inversion of the axes of the accelerometer https://forum.xda-developers.com/android/help/inversion-rotated-x-y-axes-accelerometer-t4059277
flash persist did not help me
Root Mix 3 5G
Hello,
i have some problems at point of rooting. my phone accept twrp recovery it's fully working and stays as recovery but when i try to istall magisk 20.4, 19.3 or whatever it will stuck at Mi screen and won't boot. when i reflash original boot img it will boot again but no root. can someone help me?
thank you
Thank you so much for this guide Without it I would have gone a little crazy trying to do a simple reset and update of my phone Saved for reference and I always come back.

[GUIDE]-[ROM][8.1][LineageOS 15.1 - Huawei Mediapad M3 8.4][BTV-W09, BTV-DL09]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Special Thanks to: Surdu_Petru for developing this ROM and the new TWRP recovery. Visit his original threads below..
[ROM][8.1][WIP][ LineageOS 8.1 For Huawei MediaPad M3 8.4 ]
LineageOS / AOSP For M3 8.4, Kirin 950 !​
You need to have ADB and Fastboot installed on your PC.
Your device must have the Bootloader Unlocked and have TWRP installed! If you haven't done this already please visit my other post.
[GUIDE]-[Unlock Bootloader+TWRP+Root] Huawei MediaPad M3 8.4 [BTV-W09, BTV-DL09]
This will WIPE ALL DATA from your device!!! Please make a backup via TWRP BEFORE you continue., Make sure to include BOOT, SYSTEM, DATA and VENDOR partitions. Save the backup to an external SDcard or your PC... and as always: Don't blame me for Bricks & FOLLOW THIS GUIDE AT YOUR OWN RISK!!​
Make your original backup using the Greatslon TWRP 3.0.3 because it supports encryption.
You will also need to use the Greatslon TWRP to restore the backup if you decide to go back to Stock.
-Backup to External SDcard-
0. Boot your device into TWRP. Pwr+VolUP.
1. Backup Your Data. | Backup -> Check Boot, Data, System, Vendor -> Select Storage: Micro SD Card -> OK -> Swipe to Backup
2. Wait for backup to finish
3. Reboot device.​ OR
-Backup to PC-
0. Boot your device into TWRP. Pwr+VolUP.
1. Select Partitions. | Backup -> Check Boot, Data, System, Vendor.
2. Plug your device into your PC.
3. Open a cmd prompt in the folder you want to save your backup in.
4. Type the following commands. (Lines with // are comments only)
Code:
adb devices
//Make sure your device is listed
adb backup --twrp
//swipe to unlock TWRP if screen is off
5. Wait for Backup to finish.
6. Check PC folder to make sure it copied the data.​
Now your ready to start!
-Flash TWRP 3.3.1-
0. Download TWRP 3.3.1-0
1. Plug you device into your PC.
2. Open a cmd prompt in the same folder as twrp image.
3. Type the following commands. (Lines with // are comments only)
Code:
adb devices
//make sure your device is listed.
adb reboot bootloader
//wait for device to reboot.
fastboot devices
//make sure your device is listed.
fastboot flash recovery twrp-3.3.1-0.img
//wait for flash to complete.
4. Shut down device
5. Boot into recovery (Pwr+VolUP) to confirm install.
Congrats You've updated to TWRP 3.3.1​-Flash LineageOS + Optional Root-
0. Download LineageOS 15.1 zip file
1. Download OpenGapps ARM64 8.1 Pico
2. Download W09 Boot Image (For BTV-W09 ONLY!)
3. Download the Latest Magisk Release (Optional for Root)
4. Download Magisk Manager APK (Optional for Root)
5. Boot into recovery (Pwr+VolUP).
6. Format DATA. | 'Wipe' -> 'Format Data' -> Type: YES -> Touch Enter...
7. Reboot TWRP. | 'Reboot' -> 'Recovery'...
8. Wipe Vendor + System. | 'Wipe' -> 'Advanced Wipe' -> Select: System + Vendor -> Swipe to wipe...
9. Factory Reset. | 'Wipe' -> Swipe to Factory Reset...
10. Plug device into your PC
11. Open a cmd prompt in the folder where you downloaded files.
12. Type the following commands. (Lines with // are comments only)
Code:
adb devices
//make sure your device is listed.
adb push lineage-15.1.0-btv_v1.zip sdcard/
//wait for file to copy
adb push open_gapps-arm64-8.1-pico-20200418.zip sdcard/
//change if your file is named different
adb push boot_btv-w09_v1.img sdcard/
//Only for BTV-W09!
adb push Magisk-v20.4.zip sdcard/
// (Optional for Root)
adb push MagiskManager-v7.5.1.apk sdcard/
// (Optional for Root)
11. Install LineageOS + Gapps. | 'Install' -> Select: lineage zip -> 'Add More Zips' -> Select: Gapps zip -> Swipe to confirm Flash...
12. (Only for BTV-W09) Install Boot Image. | 'Install' -> 'Install Image' -> Select: w09 Image -> Select: Boot Partition -> Swipe to Flash...
13. (Optional Root) Install Magisk. | 'Install' -> Select: Magisk zip -> Swipe to confirm flash...
14. Wipe Cache/Dalvik.
15. Reboot System...
16. (Optional Root) Install Magisk Manager to confirm root...
Congrats! Your device should now be Unlocked and Rooted, running TWRP 3.3.1 and LineageOS 15.1​
LOS 15.1 on M3
Hi. First I want to thank @surdu_petru for his amazing work. Now my Mediapad M3 (BTV-DL09) is powered by LineageOS 15.1 with Magisk. Works very well. Smooth and responsible. Using it couple hours and haven't notice any reboots or freezes.
I miss only bluetooth. Without it I cannot use Denon Heos App for my speaker.
Lack of camera is not an issue for me.
After adding BT full support this ROM may be the best for this (forgotten by Huawei) device. THX
tajniakos said:
Hi. First I want to thank @surdu_petru for his amazing work. Now my Mediapad M3 (BTV-DL09) is powered by LineageOS 15.1 with Magisk. Works very well. Smooth and responsible. Using it couple hours and haven't notice any reboots or freezes.
I miss only bluetooth. Without it I cannot use Denon Heos App for my speaker.
Lack of camera is not an issue for me.
After adding BT full support this ROM may be the best for this (forgotten by Huawei) device. THX
Click to expand...
Click to collapse
surdu_petru just got camera working on the ROM and is continuing to make progress in other areas as well., Subscribe to his original threads to stay up to date., I believe he is also planning to make a PIE ROM for the device as well Thanks for the reply...
ericzollman said:
Special Thanks to: Surdu_Petru for developing this ROM and the new TWRP recovery. Visit his original threads below..
[ROM][8.1][WIP][ LineageOS 8.1 For Huawei MediaPad M3 8.4 ]
LineageOS / AOSP For M3 8.4, Kirin 950 !​
You need to have ADB and Fastboot installed on your PC.
Your device must have the Bootloader Unlocked and have TWRP installed! If you haven't done this already please visit my other post.
[GUIDE]-[Unlock Bootloader+TWRP+Root] Huawei MediaPad M3 8.4 [BTV-W09, BTV-DL09]
This will WIPE ALL DATA from your device!!! Please make a backup via TWRP BEFORE you continue., Make sure to include BOOT, SYSTEM, DATA and VENDOR partitions. Save the backup to an external SDcard or your PC... and as always: Don't blame me for Bricks & FOLLOW THIS GUIDE AT YOUR OWN RISK!!​
Make your original backup using the Greatslon TWRP 3.0.3 because it supports encryption.
You will also need to use the Greatslon TWRP to restore the backup if you decide to go back to Stock.
-Backup to External SDcard-
0. Boot your device into TWRP. Pwr+VolUP.
1. Backup Your Data. | Backup -> Check Boot, Data, System, Vendor -> Select Storage: Micro SD Card -> OK -> Swipe to Backup
2. Wait for backup to finish
3. Reboot device.​ OR
-Backup to PC-
0. Boot your device into TWRP. Pwr+VolUP.
1. Select Partitions. | Backup -> Check Boot, Data, System, Vendor.
2. Plug your device into your PC.
3. Open a cmd prompt in the folder you want to save your backup in.
4. Type the following commands. (Lines with // are comments only)
Code:
adb devices
//Make sure your device is listed
adb backup --twrp
//swipe to unlock TWRP if screen is off
5. Wait for Backup to finish.
6. Check PC folder to make sure it copied the data.​
Now your ready to start!
-Flash TWRP 3.3.1-
0. Download TWRP 3.3.1-0
1. Plug you device into your PC.
2. Open a cmd prompt in the same folder as twrp image.
3. Type the following commands. (Lines with // are comments only)
Code:
adb devices
//make sure your device is listed.
adb reboot bootloader
//wait for device to reboot.
fastboot devices
//make sure your device is listed.
fastboot flash recovery twrp-3.3.1-0.img
//wait for flash to complete.
4. Shut down device
5. Boot into recovery (Pwr+VolUP) to confirm install.
Congrats You've updated to TWRP 3.3.1​-Flash LineageOS + Optional Root-
0. Download LineageOS 15.1 zip file
1. Download OpenGapps ARM64 8.1 Pico
2. Download W09 Boot Image (For BTV-W09 ONLY!)
3. Download the Latest Magisk Release (Optional for Root)
4. Download Magisk Manager APK (Optional for Root)
5. Boot into recovery (Pwr+VolUP).
6. Format DATA. | 'Wipe' -> 'Format Data' -> Type: YES -> Touch Enter...
7. Reboot TWRP. | 'Reboot' -> 'Recovery'...
8. Wipe Vendor + System. | 'Wipe' -> 'Advanced Wipe' -> Select: System + Vendor -> Swipe to wipe...
9. Factory Reset. | 'Wipe' -> Swipe to Factory Reset...
10. Plug device into your PC
11. Open a cmd prompt in the folder where you downloaded files.
12. Type the following commands. (Lines with // are comments only)
Code:
adb devices
//make sure your device is listed.
adb push lineage-15.1.0-btv_v1.zip sdcard/
//wait for file to copy
adb push open_gapps-arm64-8.1-pico-20200418.zip sdcard/
//change if your file is named different
adb push boot_btv-w09_v1.img sdcard/
//Only for BTV-W09!
adb push Magisk-v20.4.zip sdcard/
// (Optional for Root)
adb push MagiskManager-v7.5.1.apk sdcard/
// (Optional for Root)
11. Install LineageOS + Gapps. | 'Install' -> Select: lineage zip -> 'Add More Zips' -> Select: Gapps zip -> Swipe to confirm Flash...
12. (Only for BTV-W09) Install Boot Image. | 'Install' -> 'Install Image' -> Select: w09 Image -> Select: Boot Partition -> Swipe to Flash...
13. (Optional Root) Install Magisk. | 'Install' -> Select: Magisk zip -> Swipe to confirm flash...
14. Wipe Cache/Dalvik.
15. Reboot System...
16. (Optional Root) Install Magisk Manager to confirm root...
Congrats! Your device should now be Unlocked and Rooted, running TWRP 3.3.1 and LineageOS 15.1​
Click to expand...
Click to collapse
Hi! could you check the links??? MEGA says the file is not found
Thank you for all
regards
pakoo19 said:
Special Thanks to: Surdu_Petru for developing this ROM and the new TWRP recovery. Visit his original threads below..
[ROM][8.1][WIP][ LineageOS 8.1 For Huawei MediaPad M3 8.4 ]
LineageOS / AOSP For M3 8.4, Kirin 950 !
You need to have ADB and Fastboot installed on your PC.
Your device must have the Bootloader Unlocked and have TWRP installed! If you haven't done this already please visit my other post.
[GUIDE]-[Unlock Bootloader+TWRP+Root] Huawei MediaPad M3 8.4 [BTV-W09, BTV-DL09]
This will WIPE ALL DATA from your device!!! Please make a backup via TWRP BEFORE you continue., Make sure to include BOOT, SYSTEM, DATA and VENDOR partitions. Save the backup to an external SDcard or your PC... and as always: Don't blame me for Bricks & FOLLOW THIS GUIDE AT YOUR OWN RISK!!
Make your original backup using the Greatslon TWRP 3.0.3 because it supports encryption.
You will also need to use the Greatslon TWRP to restore the backup if you decide to go back to Stock.
-Backup to External SDcard-
0. Boot your device into TWRP. Pwr+VolUP.
1. Backup Your Data. | Backup -> Check Boot, Data, System, Vendor -> Select Storage: Micro SD Card -> OK -> Swipe to Backup
2. Wait for backup to finish
3. Reboot device.
OR
-Backup to PC-
0. Boot your device into TWRP. Pwr+VolUP.
1. Select Partitions. | Backup -> Check Boot, Data, System, Vendor.
2. Plug your device into your PC.
3. Open a cmd prompt in the folder you want to save your backup in.
4. Type the following commands. (Lines with // are comments only)
5. Wait for Backup to finish.
6. Check PC folder to make sure it copied the data.
Now your ready to start!
-Flash TWRP 3.3.1-
0. Download TWRP 3.3.1-0
1. Plug you device into your PC.
2. Open a cmd prompt in the same folder as twrp image.
3. Type the following commands. (Lines with // are comments only)
4. Shut down device
5. Boot into recovery (Pwr+VolUP) to confirm install.
Congrats You've updated to TWRP 3.3.1
-Flash LineageOS + Optional Root-
0. Download LineageOS 15.1 zip file
1. Download OpenGapps ARM64 8.1 Pico
2. Download W09 Boot Image (For BTV-W09 ONLY!)
3. Download the Latest Magisk Release (Optional for Root)
4. Download Magisk Manager APK (Optional for Root)
5. Boot into recovery (Pwr+VolUP).
6. Format DATA. | 'Wipe' -> 'Format Data' -> Type: YES -> Touch Enter...
7. Reboot TWRP. | 'Reboot' -> 'Recovery'...
8. Wipe Vendor + System. | 'Wipe' -> 'Advanced Wipe' -> Select: System + Vendor -> Swipe to wipe...
9. Factory Reset. | 'Wipe' -> Swipe to Factory Reset...
10. Plug device into your PC
11. Open a cmd prompt in the folder where you downloaded files.
12. Type the following commands. (Lines with // are comments only)
Hi! could you check the links??? MEGA says the file is not found
Thank you for all
regards
Click to expand...
Click to collapse
Hello First of all thank you for making this custom rom! I have installed it on my BTV-W09 model and beside the Bluetooth it is just working fine..... But I have an issue with permissions. File managers, galleries etc are denied when trying to access internal storage. Did I miss a step in installing or is this a known issue ? Thanks
pakoo19 said:
Hi! could you check the links??? MEGA says the file is not found
Thank you for all
regards
Click to expand...
Click to collapse
CARIGNAN72 said:
Hello First of all thank you for making this custom rom! I have installed it on my BTV-W09 model and beside the Bluetooth it is just working fine..... But I have an issue with permissions. File managers, galleries etc are denied when trying to access internal storage. Did I miss a step in installing or is this a known issue ? Thanks
Click to expand...
Click to collapse
Please, check the official thread of LOS 15.1, this thread it's here only for INFO ... and the OP it's not the developer of this custom ROM ! Thanks !
Wow, it worked!! Glad that I got the rom installed (almost) flawlessly ! If you checked my other posts on the other guide it didn't go really flawlessly when I was attempting to unlock the device
Now I'll play around a little bit to get used to this new lineage territory
Thanks to surdu_petru who really worked hard on this... can't believe I'm giving a new life to my Beethoven which was getting completely abandoned from Huawei (last security patch over a year ago if I remember right!)
I can boot fine and all seems to be good, however I just noticed a thing when installing GApps: At the end of the install process, after stating "installation complete", it kinda freezes for half a minute or so and then gives me the error "Updater process ended with signal: 9" (see attached image). I looked it up and it should mean "Killed by the application". Maybe TWRP is seeing that the update process does not terminate and it kills it? I tried both with the last "pico" and "nano" versions (20. August 2020) which I downloaded from https://opengapps.org/.
Anyways, so far so good, can't wait for the update which seems to be coming very soon (no pressure surdu_petru)
EDIT:
I just flashed the latest OS update from surdu_petru and with that one, I didn't give me the "signal 9" error at the end of the Open GApps install as I had for the previous version. Great!
Hi, after install twrp recovery, press (Pwr+VolUP) goto Emui recovery instead of twrp, anything I am missing ?
Thanks

[RECOVERY][TB-X505F][UNOFFICIAL] TWRP 3.6.x for Lenovo Tab M10 HD

This version of TWRP works on the Lenovo TB-X505F (wifi).
For the TB-X505X, see this thread. For the TB-X605F/L, see this thread.
For the TB-X606F/L, see this thread. The X606F/L is the second gen M10 and it uses a Mediatek SOC.
Code:
#include <std_disclaimer.h>
/*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*/
Working:
AFAIK, everything is working including:
data decryption
MTP
Known issues:
time not adjusting for Daylight Saving
OTA (for a workaround see this post)
Before installing TWRP
Before you install TWRP, upgrade your tablet to the Android 9 (Pie) or Android 10 (Q) stock ROM.
This tablet shipped with Android 8 (Oreo), in which the bootloader did not allow unlocking. When you tried to unlock the bootloader, it gave this error message:
Code:
fastboot oem unlock-go
FAILED (remote: 'unknown command')
fastboot: error: Command failed
Installation
It is recommended that you also install Magisk. This will ensure TWRP remains your default recovery.
Step-by-step guide
download TWRP to your PC (see the Download section below)
download magisk.apk to your MicroSD or OTG device. Get the latest Magisk apk file here. Rename the filetype from apk to zip (for example Magisk-v22.0.zip)
if your bootloader is already unlocked, go to step 4. To unlock bootloader:
on tablet: go to Settings->System->About and press "Build number" 7 times to enable Developer Options.
on tablet: go to Settings->System->DeveloperOptions. Turn on: "OEM unlocking" and "USB debugging".
connect tablet to your computer. Tablet will ask for permission to "Allow USB debugging". Tick "always allow" and select "OK".
backup any files you want to keep to an external device (MicroSD/OTG/computer), because the next step will wipe all your photos, files, google account etc on the tablet.
Now unlock the bootloader:
Code:
adb reboot bootloader
fastboot oem unlock-go
fastboot reboot
flash the twrp image:
Code:
adb reboot bootloader
fastboot flash recovery twrp.img
if you haven't loaded Magisk yet, go to step 6. If you have already loaded Magisk, you can just reboot and you're finished:
Code:
fastboot reboot
adb reboot recovery
load Magisk (step one): reboot to recovery. Do not reboot into the system, because it will over-write TWRP with stock recovery. If that happens, go back to step 4 and start again. When you issue the reboot command (below), you have to immediately press the button combination to reboot to recovery (TWRP). Here are the steps:
issue the reboot command:
Code:
fastboot reboot
immediately press and hold all three buttons (Pwr+VolUp+VolDown). The tablet might reboot twice. Release all the buttons when you see the TWRP screen, or hear your PC acknowledge that ADB is connected.
load Magisk (step two): flash Magisk. In TWRP:
select "Install"
use "select storage" to locate device you stored magisk.zip on.
press the OK button
select the Magisk zip file
swipe to confirm Flash
when Magisk is finished, hit the "Reboot System" button
finished!
If you prefer to use button combos, rather than fastboot/ADB commands:
Vol Down + Power = fastboot mode
Vol Up + Vol Down + Power = recovery mode
Changelog
Code:
01/03/2023 - bug fix: data partition again backs up and restores correctly
20/01/2023 - add TW_EXTRA_LANGUAGES and TB_X505F_S001149_221115_ROW kernel (credit to @Tonyha7 )
30/12/2022 - add system partition to AdvancedWipe (TB_X505F_S001147_220830_ROW firmware only)
15/11/2022 - TWRP 3.7.0-0 update
- support for TB_X505F_S001147_220830_ROW
18/12/2021 - TWRP 3.6.0-0 update
- support for A12 decryption (keymaster)
27/03/2021 - TWRP 3.5.1-0 update
- change to landscape mode for tablets
01/01/2021 - TWRP 3.5.0-0: initial release
Downloads
TWRP 3.7.0-0 for X505F: twrp-X505F_11.img (for TB_X505F_S001147_220830_ROW and above)
TWRP 3.6.0-0 for X505F: twrp-X505F_11_2021.img (for earlier stock ROMs)
Source code
https://github.com/minimal-manifest-twrp/platform_manifest_twrp_aosp/tree/twrp-11
https://github.com/Yahoo-Mike/recovery_device_lenovo_X505F/tree/android-11.0
Credits
The guys at TeamWin Recovery Project.
Everyone whose device trees I plagiarised from GitHub.
Contributors
Yahoo Mike
Tonyha7
Last Updated 2023-03-01 (fix /data backup/restore)
Created 2021-01-01
reserved
Thanks for useful post,
Possible to reboot into recovery from fastboot?
zubair1836 said:
Thanks for useful post,
Possible to reboot into recovery from fastboot?
Click to expand...
Click to collapse
Not that I know of. The bootloader accepts the command fastboot reboot recovery, but boots to system anyway.
Hello there, I've been looking how to install this on my slow tablet for almost like an hour. Could there be some tutorial or extended explanation to the process and installation, I'm such a noob, sorry.
This worked for me. Thank you for your effort and the TWRP!
Worked for me too - many thanks!
Can't wait for a custom ROM!
TWRP Recovery Installation Steps
1. Download android platform tools
2. Unlock developer mode on the M10
3. Enable USB debugging on the M10
3. OEM unlock enable on the M10
4. XDA download TWRP copy to sd
5. Download Magisk app (from Github!!! johnwu), change extension to .zip
6. Adb to fastboot
7. fastboot flash recovery [filename.img]
8. Turn off device
9. Turn on device holding all 3 buttons, release when see Lenovo splash screen
10. In TWRP find Magisk zip
11. Install Magisk
Stock ROM Recovery
1. Download qualcomm drivers 64 bit install
2. Download Lenovo recovery and image tool windows app from Lenovo support website
3. Fastboot oem edl
4. Turn off M10
5. Start recovery windows app, wait till instructions
6. Hold volume up (up is the side of the button closest to the front camera) and insert cable
7. Release button after windows app detects device
8. Troubleshoot by checking windows device manager for the M10 appears as a Qualcomm device
I'm thinking about getting one of these tablets, but before I do so I'd like to know that the screen lock still works after installing TWRP.
This might sound like a crazy question, but my Samsung Tab A won't set a screen lock - pattern, PIN or password - once TWRP has been installed, and I'd rather not run into the same issue again.
Heeni said:
I'm thinking about getting one of these tablets, but before I do so I'd like to know that the screen lock still works after installing TWRP.
This might sound like a crazy question, but my Samsung Tab A won't set a screen lock - pattern, PIN or password - once TWRP has been installed, and I'd rather not run into the same issue again.
Click to expand...
Click to collapse
Confirmed working normally.
zubair1836 said:
Confirmed working normally.
Click to expand...
Click to collapse
Many thanks.
Thank you! TWRP is working fine!
Stupid me flashed before I installed the Android 10 OTA, so I had to temporarily go back to stock recovery. Unfortunately beamingbadger's method didn't work for me.
This is how it worked for me:
Download the OTA via Lenovo's "Rescue And Smart Assistant"
The stock recovery image will be in the Download folder (default path: C:\ProgramData\LMSA\Download\RomFiles) called "recovery.img"
Flash the recovery.img the same way as you would with the twrp img (adb reboot bootloader -> fastboot flash recovery recovery.img)
fastboot reboot
Install OTA
Flash TWRP recovery + Magisk again (follow the steps from the first post, skip bootloader unlock)
The method I use to install OTAs is:
open Magisk App
select "Uninstall Magisk", then the "Restore Images" option
reboot to Android (you will have no root access and stock recovery is restored)
apply OTA
re-flash twrp and install Magisk
NOTE 1: if you've unencrypted your data partition, it will be re-encrypted by this process.
NOTE 2: the new Magisk App (v22) can be installed in TWRP by renaming the *.apk to *.zip. See the new install instructions.
What's involved with running gsi ROMs on this device? It's got the same SoC as my Samsung Tab, which runs them well, so I'm assuming that this tab will also, but I'd like to know if there are any traps that I need to be aware of.
I can partly answer my own question. It all went more smoothly than I expected: installing TWRP, Magisk and then LineageOS R Mod //LiR, followed by Disable_Dm-Verity_enfec.zip.
If I want to try other GSI ROMs, do I need to flash stock before trying another one? I've had some trouble doing that (won't boot) and it's possibly to do with encryption.
Heeni said:
I can partly answer my own question. It all went more smoothly than I expected: installing TWRP, Magisk and then LineageOS R Mod //LiR, followed by Disable_Dm-Verity_enfec.zip.
Click to expand...
Click to collapse
That's great news. Well done.
Heeni said:
If I want to try other GSI ROMs, do I need to flash stock before trying another one? I've had some trouble doing that (won't boot) and it's possibly to do with encryption.
Click to expand...
Click to collapse
On my X605F I do this in twrp for a new GSI install:
format (not wipe) data partition. This is the option where you have to confirm by swiping.
factory reset. This clears the caches.
restore the stock boot and vendor partitions (from a backup I made). This is because Magisk can touch these partitions.
install the GSI system image
install anything else I need like disable_Dm-Verity, Magisk, gapps etc
I don't know what LOS R Mod //LiR does to your system. If it touches any other partitions, you should restore those to stock too.
Thanks for that. It gives me something to go on with. I've downloaded the stock ROM from lolinet, so I can grab the boot and vendor images from that.
I was able to try a couple of other GSI ROMs and I've settled on AndyYan's LineageOS 17.1 for now. The only serious installation issue I had - which I can laugh about in hindsight - was thinking I'd got myself into a very bad bootloop, when all I needed to do was let go of the power button after the Lenovo logo appeared.
On this tablet, there is no navigation capability at all (no navbar, no gestures, no setting to configure them) on installation, and I have to set it using adb. I suspect it goes back to PHH basic ROMs, but I don't feel like doing yet another install and testing right at this moment. Is this happening on the other tablets that you're testing, or is it unique to this one?
I just posted the v3.5.1 update to twrp.
It's also changed to landscape mode, as many of you requested.
Quick question, how do i apply new system updates with twrp installed? Should i not bother? Also, i forgot how to block check for updates!
will this allow flashing of stock roms download from lenovo recovery? ive been stuck on an ancient android 9 version because the ota updater fails.

How To Guide [Android13] Custom GSI ROM Installation - Full Process

I'm going to explain the complete process for getting up and running on a custom GSI ROM as the guides so far seem to either have only parts of information or incorrect information.
Following this process will wipe your data and alter your phone. I am not responsible for any bricked or damaged devices.
For the purpose of this thread I'm going to assume the installation of an Android 13 GSI image which you can get from the GSI images site. I like to use crDroid.
Make sure you read and understand all instructions before beginning!
1 - Unlock the bootloader
Important things to note:
One Xiaomi account can unlock one device per month. If you need to unlock multiple devices create an account for each one.
Unlocking the bootloader requires a wait time of 1 week after adding your Xiaomi account to the device before it can be unlocked
Create a Xiaomi account to use during this process here: https://account.xiaomi.com
Download the MI Unlock tool from here: https://en.miui.com/unlock/download_en.html
Procedure:
Ensure a SIM card is in with mobile data working and disable Wifi (required when associating your device with your Xiaomi account)
Enable developer mode by going into "About Phone" and tapping on the MIUI Version until it unlocks the setting
In Settings go to Additional Settings > Developer Options
Enable "OEM Unlocking" option
Select the "Add Account" option and enter your Xiaomi account details to link your device to your account
Open the Mi Unlock tool on your PC and log in with your Xiaomi account
If you get asked for a phone number when you log in the tool may get stuck as it doesn't allow you to click on the country code drop down correctly.
To avoid this, use the QR code icon on the first sign in page and from your phone go into the Xiaomi Account settings and click the scan icon on the top right
Log your account in with your phone to set the phone number there and you should be able to log in through the Mi Unlock tool next time without a problem.
Boot your phone into fastboot mode by holding Volume Down & Power buttons
Connect your phone to your PC with a USB cable
Click Unlock on the Mi Unlock tool and it should check your device and then give you a wait timer (generally 168 hours)
After that time is up (you can use your phone normally while waiting but don't mess with the Xiaomi Account settings) connect your phone in fastboot mode again and click Unlock in the Mi Unlock tool to unlock the bootloader.
2 - Install TWRP Recovery (or alternative)
Important things to note:
This phone does not have a dedicated recovery partition, the recovery is a ramdisk that resides within the boot partition
You cannot flash a recovery partition directly to the boot partition as it will then fail to boot
Make sure you use a current version of fastboot: https://provider.xiaomi.eu/tools/fastboot.zip
All commands written below are to be used without the apostrophes within a command prompt (powershell will require .\ placed in front of the command)
Download a TWRP image from here: https://sourceforge.net/projects/recovery-for-xiaomi-devices/files/vili/ Use the A13 image for Android 13 ROMs.
Procedure:
Boot your phone into fastboot mode by holding Volume Down & Power buttons
Connect your phone to your PC with a USB cable
Run command "fastboot boot twrp.img" to reboot phone into TWRP recovery
If this is the first time using TWRP it will likely be in Chinese language. Click the 2nd to last button on the right side of the menu, then the globe icon on the top right to change language.
Go to Advanced and choose Flash Current TWRP to install TWRP into the boot image
Choose Reboot to Recovery to test the image is installed
3 - Install Latest Xiaomi.eu ROM (optional)
Important things to note:
I like to use the xiaomi.eu ROM as a base before installing a GSI image as it seems to be more stable and functional afterwards
This step is optional as you can continue with the global ROM base instead
Additionally, you can stop after this step if you would prefer to use a MIUI based ROM instead of a custom GSI image
The Xiaomi.eu ROM can be downloaded from here: https://xiaomi.eu/community/threads/miui-14-stable-release.67685/
The bootloader must be unlocked and TWRP recovery installed
Procedure:
Boot your phone into TWRP recovery by holding Volume Up & Power buttons
Click the Wipe button and then Format Data. Enter yes to wipe the data partition. (This will erase all data as well as the internal storage)
Connect your phone to PC and copy the xiaomi.eu ROM onto the phone
Click the Install button on the main menu in TWRP and select the ROM zip file to install
Go to Advanced and choose Flash Current TWRP to install TWRP back into the boot image
4 - Install Custom GSI Image
Important things to note:
This phone has a Super partition which dynamically contains system, system_ext and vendor partitions
This means that you cannot flash a GSI image directly to the system partition from TWRP so it must be installed via fastbootd
fastbootd is an enhanced version of fastboot that works with the dynamic Super partition
fastbootd mode looks like TWRP but it will say "Entered fastboot mode..." on the screen
Make sure you use a current version of fastboot: https://provider.xiaomi.eu/tools/fastboot.zip
All commands written below are to be used without the apostrophes within a command prompt (powershell will require .\ placed in front of the command)
Extract vbmeta.img file from the Xiaomi.eu ROM (or global ROM if using that) and place it in same folder as fastboot
Download your custom GSI image of choice from here or other source: https://github.com/phhusson/treble_experimentations/wiki/Generic-System-Image-(GSI)-list
Extract the GSI image, rename it system.img and place it in the same folder as fastboot
Procedure:
Enter fastbootd mode on your phone using one of the following methods:
boot phone into fastboot mode and from your PC run command "fastboot reboot fastboot"
boot phone into TWRP and choose Reboot and then Fastboot
From your PC run the command "fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img" to disable the boot image hash checks to avoid boot loops
Run the command "fastboot erase system" to wipe the existing system image
Run the command "fastboot flash system system.img" to install your custom GSI image
NOTE: If you get an error saying "Not enough space to resize partition" run the command "fastboot delete-logical-partition product_a" and repeat the install again
5 - Install Magisk and Root
Important things to note:
Using the TWRP installation method by renaming the magisk apk to zip is not very reliable and the lastest versions require installation to be performed from within the OS
Download the lastest magisk from here: https://github.com/topjohnwu/Magisk/releases
We use a backup of the installed boot image rather than one from the xiaomi ROM as it has TWRP recovery installed in the ramdisk
Procedure:
Boot your phone into TWRP recovery
Enter the Backup menu, select the boot partition and run the backup
Copy the boot.emmc.win file out of the TWRP backup folder into the Download folder on your phone and rename it boot.img
Reboot your phone into System
Install the magisk apk file
Open magisk and click Install on the top right (in the Magisk section, not the App section)
For the Method choose Select and Patch a File then click Lets Go
Find the boot.img backup file copied to the Download folder and select it (after patching it will tell you the filename of the patched image)
Reboot your phone into TWRP recovery
Choose Install, then Install Image, select the file Magisk created above, select the Boot partition and then swipe to flash
Reboot to system and check in Magisk that it shows as installed (you may also want to reboot to recovery to ensure TWRP is still installed)
6 - Fixing Safetynet
Important things to Note:
The Shamiko magisk module is used to hide root status from apps that detect root/magisk. This can be used to make any app work that fails due to root status.
Shamiko uses the Denylist in Magisk settings to block root settings for those apps enabled but you should NOT have the denylist enforced in Magisk settings
You can find the Shamiko module here: https://github.com/LSPosed/LSPosed.github.io/releases
The default Universal Safetynet Fix can be found here however due to problems in a previous phone, I used the modded version from here (I'm not sure if that's still required for A13)
Procedure:
In Magisk settings choose to hide the magisk app to reinstall it with a different name and app id
In Magisk settings enable Zygisk and reboot phone
In Magisk settings choose Configure Denylist, show system apps from the top menu and enable Google Play Services, Google Play Store & Google Service Framework
In Magisk install the following modules: Shamiko, Universal Safetynet Fix
Install a Safetynet Checker from Google Play (SafetyNet Device Check) and verify safetynet tests pass successfully
7 - Post installation Fixes
Below are some fixes to common problems after installing a custom ROM.
Phh Settings Tweaks:
Qualcomm features - Use alternate audio policy -> fix audio in whatsapp
Qualcomm features - Disable soundvolume -> fix broken audio
Xiaomi features - Enable DT2W -> to enable double tap to wake
Misc features - Force alternative backlight scale -> fix auto brightness
IMS Features - Install IMS APK for Qualcomm -> allows SMS to work

Categories

Resources