[SHARED] [RECOVERY][UNOFFICIAL][TWRP] Samsung M51 TWRP 3.6.2_a11 (Stable) [SHARED} - Samsung Galaxy M51 Guides, News, & Discussion

**ATTENTION**
I'm not responsible for any bricked device.​How to Install
1. Unlock your bootloader
2. Boot to Odin mode
3. Check AP box and select TWRP tar file
4. Hit start
5. Reboot to TWRP and flash multi disabler if you want (check this before flashing it)
6. Have fun
CHANGELOG
-Upstream Twrp Version variant a11
-Updated Kernel from a12
-Fixed System,Vendor Mount Issue
BUGS
-MTP
DOWNLOAD
TWRP-3.6.2_M51
THANKS TO
OKADA - For building it

thanks for this twrp. Please confirm if DATA backup and restore works?

I tried flashing this TWRP file and it does not work. Had to reinstall and downgrade to A10 again.

Related

Xiaomi Mi MIX2 working encryption with latest Android 9 (Pie) ROM

(short) Tutorial in getting your Xiaomi Mi MIX2 encrypted with latest Android 9 (Pie) ROM released by xiaomi.eu (and propably also with the beta ROMs released by Xiaomi/miui.com)
Preparations:
- your phone is unlocked
- a custom recovery is installed on your phone already
- download OrangeFox recovery 9.0-1 or later (others may work too but had not tested for this tutorial / TWRP 3.3.0-0 may produce errors)
- download force-enryption script for Mi MIX2 Android Pie
- download NO enryption restore script for Mi MIX2 Android Pie (reverts fstab config to default - wipe of data needed)
- download latest Android 9 Pie based MIUI ROM (tested only with the modified ROM from xiaomi.eu - official beta ROM may work too)
- optional: download latest Magisk to receive root (may needed by your backup/recovery app to restore your apps within android)
CAUTION!
When folliging this procedure you will loose all current data on your device! DO A APP-BASED BACKUP IN ANDROID FIRST!!! (TWRP or OrangeFox recovery based backups won't work for this procedure!)
Have done your Backup? No? DO IT NOW! really!
Let the phone boot and encrypt itself after flashing the scipt linked in HowTo.
Up to now (bug has been reported) it is to be mentioned that encrypting Xiaomi.EU rom via setting/privacy/encrypt leads direct to PHONE RESET.
FORMAT DATA is required then to get it back to life. @lolo9393 thanks for that hint!
Exact proceedings:
1. you've done a backup eh? - good
2. ... did you save that backup on a other device than your phone? Remember you'll loose all data stored on the phone!!!
3. reboot your phone in your currently installed recovery
3.1 copy the OrangeFox recovery to your device
3.2 select "Install" and choose the OrangeFox recovery .zip file to install (replace your current recovery)
3.3 OrangeFox installer will reboot the recovery after its install
4. Select "Wipe"
4.1 Select "Advanced Wipe"
4.2 Select every Partition exept USB-OTG
4.3 Swipe to Wipe
5. reboot your recovery to recovery again
6. Select "Wipe"
6.1 Select "Advanced Wipe"
6.2 Select "Format Data"
6.3 type in "yes" and confirm that step
7. reboot your recovery to recovery again
8. copy the latest Android 9 Pie based MIUI ROM to your phone
9. copy the latest version of the force-enryption script to your phone
10. Select "Install" and select the Android ROM first then "Add to queue" and select the force-encryption script as second item to flash
10.1 Swipe to Install
11. reboot to system
11.1 go to "Settings"
11.2 scroll down to "SYSTEM SETTINGS" area
11.3 select "Additional settings"
11.4 select "Privacy"
11.5 scroll down to "ADVANCED" area
11.6 check the status of "Encryption & credentials" - it should state "Encrypted"
12. now continue in setting up your system (e.g. enable developer mode, enable advanced power menu, usb debugging if needed, ...)
13. DONE ...
... ok, maybe you're missing your apps and settings - here is a possible way to restore them ... (i personally prefer Titanium Backup)
Root & how to restore apps & app data
14. copy Magisk installer to your device
14.1 reboot your device to recovery
14.2 select "Install" and choose the Latest Magisk-vXX.X.zip file to install (in the log you should read something about "keep forced encryption" - this is good )
14.3 when done - reboot to system again
15. Install Titanium Backup (from a store or as APK from file)
15.1 copy your Titanium Backup or TWRP backup (that could be restored by Titanium Backup Pro) to insternal storage
15.2 restore apps & app data with Titanium Backup (for a detailed HowTo please visit official Titanium Backup Website: https://www.titaniumtrack.com/kb/titanium-backup-kb/titanium-backup-user-guide.html#restore)
15.3 Profit!
That guide may has helped you ...
... say thanks and/or donate for my massive Whiskey consumption -> https://forum.xda-developers.com/donatetome.php?u=496297 :fingers-crossed:
FAQ
Q: Is that procedure ROM update safe? / What if xiaomi.eu releases an ROM update or my ROM has to be reinstalled?
A: When Xiaomi.eu releases an update you have to flash that script right afterwards that update in your favorite recovery. - No further actions should be needed. This procedure has to be repeated for every ROM update or reinstall.
Procedure is verified as working with update 9.5.9 up to 9.6.27​Q: Does TWRP recovery work also?
A: There is feedback that TWRP 3.3.0-0 does not work as intended (THX @mguz on post 11 for the feedback)
Maybe TWRP 3.3.1-0 that was released short ago solves that problem ...​
How to update later?
cineq said:
How to update later?
Click to expand...
Click to collapse
... hmm sorry did not get what you like to do - could you please describe in detail what you mean/like to achieve?
When there will be next build of xiaomi.eu what is the procedure to update it? Just install new in recovery without any wipes? Is force-encryption script needed when updating?
cineq said:
When there will be next build of xiaomi.eu what is the procedure to update it? Just install new in recovery without any wipes? Is force-encryption script needed when updating?
Click to expand...
Click to collapse
When Xiaomi.eu releases an update you have to flash that script right afterwards that update in your favorite recovery.
No further actions should be needed.
Thanks for the hint - will update the guide with that question/answer
raupe said:
When Xiaomi.eu releases an update you have to flash that script right afterwards that update in your favorite recovery.
No further actions should be needed.
Thanks for the hint - will update the guide with that question/answer
Click to expand...
Click to collapse
Procedure is verified as working with update 9.5.9 -> 9.5.16
raupe said:
(short) Tutorial in getting your Xiaomi Mi MIX2 encrypted with latest Android 9 (Pie) ROM released by xiaomi.eu (and propably also with the beta ROMs released by Xiaomi/miui.com)
@raupe
VERY good work.
Very useful for people having security concern when using a TWRP.
My comments:
-This procedure is valid with any latest 3.3. TWRP version that can decrypt now. (?)
- This is applicable to all XIAOMI phone under PIE. (Fstab must be exchanged in the zip tool in order to fit with the phone model)
- NOTE :
Up to now (bug has been reported) it is to be mentioned that encrypting EU rom via setting/privacy/encrypt leads direct to PHONE RESET and FORMAT DATA required.
Regards
Click to expand...
Click to collapse
Hi,
- download force-enryption script for Mi MIX2 Android Pie
- download NO enryption restore script for Mi MIX2 Android Pie
both links are down, re-upload possible ?
EDIT: Links are working now
Help out a noob. Why would one need to have phone encrypted? Whats the purpose of encryption?
I'd like to update to 9.5.x Xiaomi.eu Pie but hear complaints of GCam, SuperSU, FindDevice, fingerprint, etc not working. Would encryption help these issues?
stoshie said:
Help out a noob. Why would one need to have phone encrypted? Whats the purpose of encryption?
I'd like to update to 9.5.x Xiaomi.eu Pie but hear complaints of GCam, SuperSU, FindDevice, fingerprint, etc not working. Would encryption help these issues?
Click to expand...
Click to collapse
Its not about encr. Problems.Pie uses vendor for most stuff now and for gcam is needed additional line in build prop to make it work.magisk 19 can root it without problems
Hi,
thank you for this helpful tutorial.
First time I tried with TWRP 3.3.1-0 and it did not work (Bootloop).
With OrangeFox Recovery it works as described.
Regards
On official TWRP-3.3.1-1 works as intended, thanks!

[GUIDE] [OTA] [TWRP] Android Pie - TWRP, Decrypt, Magisk and OTA

Post my other thread for Android Oreo with OTA with TWRP ( https://forum.xda-developers.com/as...to/rom-update-stock-firmware-keeping-t3808269 ), wanted to continue the same but found pretty good solutions to have the process more quick and seamless.
So to have rooted Pie with TWRP and to flash OTA please follow below procedure.
Files needed,
Latest Pie full OTA file from Asus website.
Latest TWRP from here.
Decrypt File for Pie (recommedned).
Magisk (optional).
Debloat File (optional).
Steps to be followed to update to latest OTA,
Flash the latest TWRP and boot into it.
Flash downloaded full OTA package (point-1 above) from Asus website then reboot to recovery from TWRP menu.
Mount /system & /vendor partitions and flash decrypt-pie.zip file (point-2 above).
Reboot to recovery again, mount /system & /vendor and flash Magisk. (point-3 above)
Reboot to recovery and mount /system & /vendor and flash Debloat zip (point-4).
Finally reboot to system and HIT THANKS if it worked for you. This helps me and also gives confidence/credibility to others to try.
Post issues if any below.
It's not working bro
This ROM package works very well but cam2api is getting disabled. Did the build.prop method after root and also the fastboot method. It works for a few days than gcam stops.
As pointed out in the guide, official Pie zip is to be DL and flashed through TWRP. However, since it is official zip, will it flash successfully through TWRP recovery instead of Stock Recovery ?
Also, can anybody confirm if the phone is now system-as-root after upgrade to Pie ? (I am on v340 Oreo and system-as-root is not mandatory for devices upgrading to Pie).
Edit: Ok, so took the plunge and successfully updated from stock rooted v340 (Oreo) to v56 (Pie). Did everything as per the guide except for 2 steps:
1) Used TWRP flashable ROM instead of stock ROM zip.
2) Did not reboot to TWRP recovery after flashing updated recovery. Instead, continued through updated recovery, flashed ROM and then rebooted to recovery.
Bugs in the update v056 (Pie):
1) Sometimes "Recent Apps" list goes blank / stops working. Workaround: Reboot to safe mode and check "Recent Apps" (it usually is working), reboot to normal mode and everything works fine again.
2) Cam2Api breaks, even if you enable <persist.camera.HAL3.enabled=1> it will not work.
Add these lines to build.prop, save and reboot:
persist.camera.HAL3.enabled=1
persist.vendor.camera.HAL3.enabled=1
persist.camera.stats.test=5
persist.vendor.camera.test=5
persist.camera.eis.enable=1
(DO NOT FORGET to backup your original build.prop !)

General [TWRP] [ORANGEFOX] [UNOFFICIAL] [ROSEMARY] [BETA] TWRP 3.5.2 and TWRP 3.6+ for Xiaomi Redmi Note 10s

WARNING: THIS IS EXPERIMENTAL BETA MEANT FOR DEVELOPERS AND TESTERS NOT AS DAILY DRIVER
Caution: Android 11 builds are incompatible with Android 12. Beware!
Credits:
@Woomymy
@J6idot
@mastersenpai05
@myst33d
https://github.com/notmyst33d
Developers WoomyMy, J6idot , mastersenpai05 and Myst33d have helped develop an unofficial TWRP for rosemary - xiaomi redmi note 10s
Installation Video:
Code:
https://www.mediafire.com/file/f4zcls9sgi3nkoj/352+redmi+note+10s.rar/file
http://www.mediafire.com/file/p3zhivru97bdlke/no-verity-opt-encrypt-6.1.zip/file
https://github.com/RedmiNote10S/recovery_device_xiaomi_rosemary
Since this is not yet official, only proceed if you are competent enough and brave.
(If you need instructions on how to flash, please do not flash this with fastboot method)
Feel free to discuss any bugs or issues and fixes so that everybody can benefit from our findings.
TWRP 3.6+ Development Build status, fixes, bugs and downloads: [here]​
TWRP -3.6.2_11-2
NameModifiedTWRP-3.6.2_11-208/03/2022
Changelog
Fix brightness when max brightness is 255
Render GUI at 60FPS
Reposition statusbar icons and remove top offset
A lot of code cleanup
Update TWRP sources
DONT INSTALL THIS ON MIUI 13
Install instructions
Without TWRP/OrangeFox
Note: You need a copy of your ROM boot.img
Click to expand...
Click to collapse
This device DOES NOT support fastboot boot twrp.img
Click to expand...
Click to collapse
Reboot your phone into fastboot mode
Download Blank VBmeta and flash it using fastboot flash vbmeta vbmeta.img
Next, download TWRP .IMG file and flash it using fastboot flash boot IMAGE_NAME.img
Reboot into recovery mode (fastboot reboot recovery)
When booted into recovery, reflash stock boot.img (Install -> Install Image -> Select stock boot.img -> “Flash to: Boot”)
Next, go in Advanced -> Flash current TWRP and swipe to flash TWRP.
Reboot and enjoy!
With custom recovery
Download TWRP .ZIP installer and flash it in recovery (you can also use adb sideload for recoveries like LineageOS recovery)
Compatibility
Android 11 Roms: YES
Android 12 Roms: NO
TWRP-3.6.2_12-rc1
NameModifiedTWRP-3.6.2_12-rc108/04/2022
Changelog
Sync TWRP sources
Add support for Android 12 decryption
Fix booting on MIUI13
DONT INSTALL THIS ON MIUI 12.5
Install instructions
Without TWRP/OrangeFox
Note: You need a copy of your ROM boot.img
Click to expand...
Click to collapse
This device DOES NOT support fastboot boot twrp.img
Click to expand...
Click to collapse
Reboot your phone into fastboot mode
Download Blank VBmeta and flash it using fastboot flash vbmeta vbmeta.img
Next, download TWRP .IMG file and flash it using fastboot flash boot IMAGE_NAME.img
Reboot into recovery mode (fastboot reboot recovery)
When booted into recovery, reflash stock boot.img (Install -> Install Image -> Select stock boot.img -> “Flash to: Boot”)
Next, go in Advanced -> Flash current TWRP and swipe to flash TWRP.
Reboot and enjoy!
With custom recovery
Download TWRP .ZIP installer and flash it in recovery (you can also use adb sideload for recoveries like LineageOS recovery)
Compatibility
MIUI 13 vendors: COMPATIBLE
MIUI 12 vendors:
A11 GSI / MIUI 12 system: FULLY INCOMPATIBLE
A12 GSI: COMPATIBLE, but you CAN NOT flash the boot.img, you need to flash the UPDATE ZIP using a custom recovery / Magisk
OrangeFox-R11.1_1-Unofficial
NameModifiedOrangeFox-R11.1_1-Unofficial07/01/2022
Changelog
Fix brightness when max brightness is 255
Render GUI at 60FPS
Reposition statusbar icons and remove top offset
A lot of code cleanup
Update OrangeFox sources
DONT INSTALL THIS ON MIUI 13
Update Magisk OrangeFox addon to v25.2
Install instructions
Without TWRP/OrangeFox
Note: You need a copy of your ROM boot.img
Click to expand...
Click to collapse
This device DOES NOT support fastboot boot twrp.img
Click to expand...
Click to collapse
Reboot your phone into fastboot mode
Download Blank VBmeta and flash it using fastboot flash vbmeta vbmeta.img
Next, download OrangeFox .IMG file and flash it using fastboot flash boot IMAGE_NAME.img
Reboot into recovery mode (fastboot reboot recovery)
When booted into recovery, reflash stock boot.img (Select stock boot.img -> “Flash to: Boot”)
Next, go in Menu -> Flash current OrangeFox and swipe to flash OrangeFox.
Reboot and enjoy!
To get Fox addons working, you need to reflash OrangeFox .zip file
With custom recovery
Download OrangeFox .ZIP installer and flash it in recovery (you can also use adb sideload for recoveries like LineageOS recovery)
Compatibility
Android 11 Roms: YES
Android 12 Roms: NO
Older versions:
NameModifiedBeta-07-11-30-202112/17/2021
🗞 Changelog
Sync TWRP sources (Version number updated to 3.6.0)
Symlink /dev/block/bootdevice -> /dev/block/platform/bootdevice (required by some scripts like OrangeFox installer)
Allow flashing VBMeta
Disable "Reflash TWRP after flashing ROM". (Causes AVB problem when installing MIUI, can still be done manually)
Build ZIP TWRP installer
Publish build logs for more transparency
Known bugs
Mounting Adopted storage
Vibrator
NameModifiedRC-01-01-09-20221/9/2022
🗞 Changelog
Fix Bootctrl
Fix vibrator
Known bugs
Mounting Adopted storage
TWRP Version 3.6.1_11-1​
NameModifiedTWRP-3.6.1_11-13/13/2022
🗞 Changelog
Fix BootCTRL
Update TWRP sources
Fix vibrator
Enable DT2W in recovery
Install instructions​Without TWRP/OrangeFox​
Note: You need a copy of your ROM boot.img
Click to expand...
Click to collapse
This device DOES NOT support fastboot boot twrp.img
Click to expand...
Click to collapse
Reboot your phone into fastboot mode
Download Blank VBmeta and flash it using fastboot flash vbmeta vbmeta.img
Next, download TWRP .IMG file and flash it using fastboot flash boot IMAGE_NAME.img
Reboot into recovery mode (fastboot reboot recovery)
When booted into recovery, reflash stock boot.img (Install -> Install Image -> Select stock boot.img -> “Flash to: Boot”)
Next, go in Advanced -> Flash current TWRP and swipe to flash TWRP.
Reboot and enjoy!
With TWRP/OrangeFox​
Download TWRP .ZIP installer and flash in recovery
TWRP Version 3.6.2_11-1​
NameModifiedTWRP-3.6.2_11-16/14/2022
🗞 Changelog
Sync TWRP sources
Orangefox Recovery Version R11.1_1-Beta​
NameModifiedOrangeFox-R11.1_1-Beta3/13/2022
🗞 Changelog
Fix BootCTRL
Update OrangeFox sources
Fix vibrator
Enable DT2W in recovery
Update Magisk OrangeFox addon to 24.2
Install instructions​Without TWRP/OrangeFox​
Note: You need a copy of your ROM boot.img
Click to expand...
Click to collapse
This device DOES NOT support fastboot boot twrp.img
Click to expand...
Click to collapse
Reboot your phone into fastboot mode
Download Blank VBmeta and flash it using fastboot flash vbmeta vbmeta.img
Next, download OrangeFox .IMG file and flash it using fastboot flash boot IMAGE_NAME.img
Reboot into recovery mode (fastboot reboot recovery)
When booted into recovery, reflash stock boot.img (Select stock boot.img -> “Flash to: Boot”)
Next, go in Menu -> Flash current OrangeFox and swipe to flash OrangeFox.
Reboot and enjoy!
To get Fox addons working, you need to reflash OrangeFox .zip file
With TWRP/OrangeFox​
Download OrangeFox .ZIP installer and flash in recovery
Nice, it's beta 2
to apply encrypt patch, you must decrypt first.
So
- you have to disable security password/fingerprint in your parameter first.
- then reboot in recovery
- format data
- reboot again to recovery and apply patch.
How to use redmi note 10s unofficial twrp recovery
test (beta 2) after disabling security (fingerprint and pin)
- flashing magisk.zip -> ok
- backup -> ok
- restore -> ok
- MTP internal SD -> ok
- MTP external SD -> nok, file manager stuck on it (win10 or linux mint)
Please full prosses explain and 1 question flash fastboot method
This the link of the Official Tutorial from the Unofficial TWRP Website:
unofficial twrp 3.6.1 Root Redmi Note 10s (rosemary) - unofficial twrp
Download unofficial twrp 3.6.1 root Redmi Note 10s, user who own Redmi Note 10s can root it by following the below instructions
unofficialtwrp.com
Great
miravision said:
Developer WoomyMy has released an unofficial TWRP for rosemary - xiaomi redmi note 10s
Installation Video:
Code:
https://www.mediafire.com/file/f4zcls9sgi3nkoj/352+redmi+note+10s.rar/file
http://www.mediafire.com/file/p3zhivru97bdlke/no-verity-opt-encrypt-6.1.zip/file
Since this is not yet official, only proceed if you are competent enough and brave.
(If you need instructions on how to flash, please do not flash this with fastboot method)
Feel free to discuss any bugs or issues and fixes so that everybody can benefit from our findings.
Click to expand...
Click to collapse
I'm sorry but, do you atleast have the permission to share this?
Also, WommyMy should be the guy to upload it, not you.
Edit: thanks for fixing the thread
Also you're missing the device tree.
Hello. As one of the developpers of this TWRP DT, I am not really OK with that.
Firstly, you linked the wrong device tree Real link here
Also, I didn't published this on XDA because this TWRP is still in BETA. And it contains major bugs, like flashing dynamic partitions in fastbootd. Even if bugs will me fixed, I was planning to wait a release candidate before publishing the release here (this will require even more testing, if people want to help us testing, this will be even better).
So please, can you delete this or add clear warnings about the beta state?
Regards, Woomy
@miravision I think we should also add credits to people like @J6idot , @mastersenpai05 and Myst33d who did a great job helping building twrp.
Woomymy said:
@miravision I think we should also add credits to people like @J6idot , @mastersenpai05 and Myst33d who did a great job helping building twrp.
Click to expand...
Click to collapse
Yes, I believe they should get their work credit.
Will be fix soon.. don't too hurry.
mastersenpai05 said:
Will be fix soon.. don't too hurry.
Click to expand...
Click to collapse
Thanks bro
Keeps restarting when i try to flash a custom ROM from xiaomi eu, any Fix please ?
Wow., Hoping for releasing custom roms for our handsets.,keep up the good work devs
Katho536 said:
Keeps restarting when i try to flash a custom ROM from xiaomi eu, any Fix please ?
Click to expand...
Click to collapse
Xiaomi eu has no support for 10s iirc
No support for Mediatek devices on Xiaomi.eu, Global.rom and other
@miravision can u provide the vbmeta.img file?
Original post updated with attached vbmeta.img
langithitam said:
@miravision can u provide the vbmeta.img file?
Click to expand...
Click to collapse
Hi and thanks for sharing
Is it possible just to boot from TWRP recovery via Fastboot without flashing it on the phone?
I have also a Poco X3 NFC with stock MIUI 12.5 with Magisk root, but with stock recovery (so I can do all OTA updates) where I'm doing the same.
When I need it, I just do
fastboot boot TWRP-file.img
Thanks

[GUIDE][Install Treble][Only 9.0] Coolpad-LeEco Cool1

Code:
Disclaimer
I am not responsible for any damage you made to your device
You have been warned
Instructions for installing Treble-firmware Android 9 based on the vendor from 11/12/2019 for EUI markup.​
1. Install Recovery specifying the vendor section.
1.1 Download: "TWRP_VENDOR1".
1.2 We go into our Recovery - Installation - Installing img - Select the downloaded file - Install as Recovery.
1.3 Reboot in Recovery.
2. Installing a patch that changes the markup and creates a Vendor section.
2.1 Downloading: "repart_vendor".
2.2 Install the patch through Recovery - Reboot in Recovery.
2.3 Go to Cleaning - Selective cleaning - everything is selected except Device memory and cleaning.
3. Restore Vendor and Boot.
3.1 Download the "boot_vendor".
3.2 In the archive from the folder BACKUPS\9ba6452 we take the Folder 2019-11-12--03-11-24_aosp_c106-userdebug_9_PQ3A190705003_0fd956d and put it in TWRP\BACKUP\Folder with tricky code\
3.3 Recovery - Select backup 2019-11-12--03-11-24_aosp_c106-userdebug_9_PQ3A190705003_0fd956d - restore - Boot and Vendor must be checked.
4. Select the desired firmware (type ARM64 A (or A only)) in any available place Link Link2
4.1 If the downloaded firmware is in the archive, unpack it to img.
4.2 Installing img - select the downloaded file and install it as System image.
4.3 Reboot in Recovery (May write that the system is not installed, do not pay attention).
4.4 Install the patch "fix_gsi_r1".
4.5 Install Gapps if needed.
4.6 Reboot into the system.
4.7 If there is no sound - put a patch "sound+treble+final".
4.8 If there is no network, reboot into recovery and repeat step 4.4 again.
4.9 If you don't like the color saturation in Gcam - put a patch "video_play6".
• This manual is designed for installation using a PC, if you do not have a computer, download all the files in advance.
• Format data is not necessary, all data will be saved.
• Not all gsi are equally useful and bug-free.
• This instruction is not suitable for installing ported GSIs such as Miui, Flyme, ColorOS, etc.
Patch for rollback, for the 6th markup "restore_6"
The new kernel is based on 11 sources, in an attempt to run 10-11 gsi: "image-new"
10-11 gsi hang on a bootlogo, maybe someone can fix it.
You do everything at your own peril and risk. I am not responsible for bricks.
Source code
Discussion
Big Thanks:
Ampir-nn

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

<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.

Categories

Resources