[Guide] How to install custom rom on android 11 and how to get TWRP + root on android 11 - OnePlus 7 Pro Guides, News, & Discussion

Foolproof method to install roms, twrp + root.
Read through the directions first before you start anything and your phone wont get bricked. Even if it does, you can use the msm tool guide that I linked below to restore it and get it prepped up for custom rom install again.
Pre-requisites:
1) Update to latest android 11 through software update.
2)Have oneplus drivers and adb/fastboot drivers installed
[TOOL]Minimal ADB and Fastboot [2-9-18]
Introduction ADB and Fastboot are arguably two of the most indispensable tools used when working with Android devices. If you really want to modify, debug, and tweak along with their countless uses in rooting, and other procedures ADB and...
forum.xda-developers.com
Download TWRP unofficial for oneplus 7 pro android 11 here and move it into minimal adb and fastboot folder
[RECOVERY] [12] [OFFICIAL] TeamWin Recovery Project
Introduction: Team Win Recovery Project or TWRP for short, is a custom recovery built with ease of use and customization in mind. We started from the ground up by taking AOSP recovery and loading it with the standard recovery options, then added...
forum.xda-developers.com
3a)Download Magisk v23.0 if you want root
Releases · topjohnwu/Magisk
The Magic Mask for Android. Contribute to topjohnwu/Magisk development by creating an account on GitHub.
github.com
3b) Move custom rom into internal storage like download folder for custom rom install
if you have issues with fastboot not recognizing device or other driver issues, click this link https://www.droidwin.com/fix-android-device-not-showing-in-fastboot-mode/
*****Extra Steps Required for T-mobile variant for installing custom roms****
-I tried everything and couldnt get havoc os to install on my t-mobile variant. It would always end up in a bricked state. To get around this, you first need to convert it to international following this guide then follow steps below after you have kept updating it in system until there are no more updates available. https://forum.xda-developers.com/t/guide-how-to-convert-tmobile-op7-to-international.3935947/
Guide for installing custom rom over android 11
-unlock bootloader and enable usb debugging then connect phone- use this video on how to unlock bootloader but dont follow his other steps yet
-open up cmd in minimal adb and fastboot folder and type in adb devices and make sure phone shows up
-in cmd, type in "adb reboot bootloader"
-in cmd, type in "fastboot devices" and make sure phone shows up
-in cmd, type in fastboot boot "name of your twrp file"
It should boot into twrp. at this point, you should have your rom zip file in the internal storage
-install the custom rom.zip. In my case, i installed havoc 4.8. After thats done, go back to wipe and format data. For extra measures, go to wipe and advanced wipe and wipe dalvik cache, data and vendor then reboot.
-to get root, set up the phone and enable usb debugging again. Transfer magisk v23.0 to download. adb reboot bootloader and go into recovery if your rom has one(havoc has its own) or fastboot into twrp again and install magisk. At this point, you can also install twrp if you want. Follow the guide above to install the unofficial twrp.
Guide for installing TWRP and root on official android 11
-unlock bootloader and enable usb debugging then connect phone- use the video above on how to unlock bootloader but dont follow his other steps for twrp yet
-open up cmd in minimal adb and fastboot folder and type in adb devices and make sure phone shows up
-in cmd, type in "adb reboot bootloader"
-in cmd, type in "fastboot devices" and make sure phone shows up
-in cmd, type in fastboot boot "name of your twrp file"
It should boot into twrp. at this point, you should have magisk v23.0zip in your internal storage like in download folder if you want root
-go to advanced then flash current twrp
-then install magisk v23.0 and you're done

Related

TWRP 3.0.2 for Acer Predator 8 ported by Ruben.

IMPORTANT NOTE ABOUT ROOTING:
After flashing TWRP 3.0.2, use the SuperSU 2.46 flashable zip, do NOT use latest version or will result in a bootloop. Good Luck and have fun with rooting.
REQUIREMENTS
1- Unlocked Bootloader (search on google if you dont know how to unlock)
2- Drivers and Adb/Fastboot commands knowledge
--------------------------------------------------------------------------------------------------------------------------------
New TWRP bugfix update! Now you can flash stock rom on TWRP without bricking! Download Page updated!
Bugs:
1- adb shell command needs to be sent before system partition is mounted or it will give an error, after doing adb shell you can mount system and do all the modifications you need.
2- You cant flash any img on twrp it gives an error, im trying to fix.
3- Backups do work, but everytime twrp restarts, the serial number folder seems to change (which means that on /TWRP/BACKUPS/serialnumber/backupsinside/ changes every reboot so you have to go get the backup inside the old serialnumber folder and put on the new serialnumber folder).
Im leaving an unsecured boot image because system does not boot android if anything seems changed. So please if system does not boot after flashing twrp/rooting, flash the unsecured boot img on fastboot
Steps to Install TWRP and root
1. Download and extrct the files: https : // drive. google . com/file/d/0BxzG5iupOOSKNTdlRC1Wd0VmTlk/view
2. Power off the tablet.
3. Enter fastboot mode by pressing the power button while holding down Vol -
4. Open up command prompt and navigate to the directory where fastboot.exe is located.
5. Pass the following commands:
fastboot flash boot unsecuredboot.img
fastboot flash recovery TWRP.img
6. Reboot into recovery (TWRP) and install SuperSU v2.46.zip ---
Continuation 6. Step by Step of Step 6 since people seem to have been running into issues with it:
After rebooting to TWRP and having SuperSU.zip in the tablet storage. Go on Install tab and press the supersu file and install/flash it then reboot the device.

[RECOVERY][TB-X606F/TB-X606FA][UNOFFICIAL] TWRP 3.7.x for Lenovo Tab M10 FHD Plus

This version of TWRP works on the Lenovo TB-X606FA, TB-X606F and TB-X606X.
Warning: this TWRP will not work for any of the Tab M10 variants with Qualcomm SOCs. For the TB-X505F, see this thread. For the TB-X605F/L, see this thread.
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.
*/
Encryption
This device was released with Android 9 using full disk encryption (FDE). But we now have Android 13 GSIs for this tablet - and Android 13 does not support FDE. Android 13 only supports file-based encryption (FBE).
If you are using a ROM/GSI that uses FBE, you must use the twrp with -fbe in the name. If you use the wrong one, twrp will not be able to decrypt the data partition.
If you don't know if you're using FBE or FDE, then run this command while Android is running: adb shell getprop ro.crypto.type. If it returns "block", then your device is FDE. If it returns "file", it's FBE.
Installation
With a stock ROM, it is recommended that you also install Magisk. This will ensure TWRP remains your default recovery.
If Windows 10/11 does not recognise your tablet in fastboot mode, then see post #2.
Step-by-step guide
download TWRP to your PC (see the Download section below)
download the latest magisk.apk to your SDcard or OTG device. Change the filetype from "apk" to "zip".
get a copy of the vbmeta.img file from the stock ROM. It should be located in one of the subdirectories of LMSA's c:\ProgramData\LMSA\Download\RomFiles directory (after you download it using the LMSA rescue (power-off mode). This is only required the first time you flash TWRP, or the first time after you re-flash the whole stock ROM.
if your bootloader is already unlocked, go to step 5. 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 flashing unlock
follow the instructions on the tablet, then reboot to Android.
note: if fastboot reports <waiting for device>, then you need to install the Mediatek USB drivers. Go to developer.android.com/studio/run/oem-usb, then find the link to Mediatek (MTK) and follow the installation instructions.
note: after unlocking, tablet will take a while to come back up - because it has to do a factory reset and encrypt data again.
flash the TWRP image:
Code:
adb reboot bootloader
fastboot flash recovery twrp_X606FA_11.img
fastboot --disable-verification flash vbmeta vbmeta.img
fastboot reboot recovery
backup the stock boot, system and vendor partitions in TWRP, if you don't have backups already
load 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:
2023-03-27 - add TWRP 3.7.0 for FBE ROMs/GSIs (Android 13+) only
2022-02-06 - added separate download for TB-X606F
2021-12-16 - TWRP 3.6.0 updates
- support for Android 12 decryption (keymaster)
2021-07-05 - TWRP 3.5.2 updates
- corrected display of Cyrillic (and other non-ASCII characters) in file names on external drives (utf8)
2021-03-10 - TWRP 3.5.1 updates
- cherrypicked update 1995 to force splash screen to display on boot
- orientation is now landscape (for tablets)
- updated install instructions to reflect new Magisk apk (v22).
2021-02-02 - fix blank screen on boot - don't need to press power button anymore to wake screen up
2021-01-24 - TWRP 3.5.0_10-0: initial release
Downloads (FDE)
This will work with stock ROMs and most pre-A13 ROMs/GSIs.
TWRP 3.6.0_11-0 for X606FA: twrp-X606FA_11.img
TWRP 3.6.0_11-0 for X606F: twrp-X606F_11.img
Downloads (FBE)
This will not work with stock ROMs or most pre-A13 ROMs/GSIs. This is for ROMs/GSIs that use FBE to encrypt. Android 13+ only supports FBE.
TWRP 3.7.0_12-1 for X606FA with FBE encryption: twrp-X606F_12.1.fbe.img
Source code
https://github.com/minimal-manifest-twrp/platform_manifest_twrp_aosp/tree/twrp-12.1
https://github.com/Yahoo-Mike/recovery_device_lenovo_X606FA/tree/android-12.1-fbe
Credits
The guys at TeamWin Recovery Project.
Everyone whose device trees I plagiarised from GitHub.
Contributors
Yahoo Mike
Created 2021-01-24
Last Updated 2023-03-27 (FBE support)
Windows 10/11 does not recognise tablet in fastboot mode
If your tablet is recognised by ADB but not by fastboot in Windows, you might need to get the latest versions of fastboot and the Mediatek usb drivers.
1. use the latest fastboot version
Make sure you are using the latest version of fastboot. There were major changes to fastboot for Android 10.
If you are using PowerShell, make sure it's picking up the fastboot you expect: fastboot --version. If not, use ./fastboot from the directory with the executable.
2. update device drivers
Try the latest Mediatek (MTK) drivers from Install OEM USB drivers. When they are loaded, they appear in Device Manager as "Kedacom USB Device/Android ADB Interface".
If Windows complains that the drivers are unsigned and refuses to load them, then do this as Administrator in Windows:
bcdedit /set testsigning on
reboot Windows
install the drivers
bcdedit /set testsigning off
In Windows 11, you might also need to turn off Secure Boot in your PC's BIOS to get the bcdedit command to work.
So I have the ZA5W0097US, would you suggest this wouldn't work?
ldeveraux said:
So I have the ZA5W0097US, would you suggest this wouldn't work?
Click to expand...
Click to collapse
That looks like a TB_X606F. This TWRP might work. We won't know for sure until someone tries.
Remember, the screen will be blank when TWRP boots up. You'll just have to click the power button twice to wake it up. I'll try and fix that over the next few days.
If you decide to try this TWRP and it doesn't work, please let me know what happens. And when you're booted into Android, can you tell me what the results of these ADB commands are?
Code:
adb shell getprop ro.hardware
adb shell getprop ro.boot.hardware
New version is now available in the first post.
The blank screen issue is mostly fixed...mostly. The screen is still blank on boot when decrypting data, but then it wakes up. No need to press the power button anymore.
I just got my TB-X606F (it's actually finishing setup right now) and I'm going to try flashing this TWRP onto it. I *think* the only difference between the "F" and "FA" version is that the "FA" comes with some sort of Alexa capability.
Both adb commands output "mt8768".
TB-X606F/ZA5T0300US (the manual also says TB-X606X) confirmed TWRP and Magisk are working. Had a hell of a time with getting fastboot to work on my main machine so I used a virtual machine to do everything with fastboot.
sirp0p0 said:
TB-X606F/ZA5T0300US (the manual also says TB-X606X) confirmed TWRP and Magisk are working. Had a hell of a time with getting fastboot to work on my main machine so I used a virtual machine to do everything with fastboot.
Click to expand...
Click to collapse
Cool. I'll update the OP.
Maybe check you have the latest version of fastboot on your main machine. There were some major changes for Android 10.
Good call. My adb and fastboot were both way out of date.
I also have the TB-X606F and was able to get this working 100%. I thought it was going to wipe my system so I backed everything up beforehand, but no wipe. Just replaced recovery with TWRP and here I am. Thanks a ton, great to have another TWRP recovery device!
ldeveraux said:
... I thought it was going to wipe my system so I backed everything up beforehand, but no wipe.
Click to expand...
Click to collapse
It will only wipe if you are unlocking the bootloader for the first time.
Thanks for the feedback.
Tried this process and ran into an issue. Flashed TWRP Okay, flash vbmeta ok, rebooted to twrp, but could not find magisk on sdcard for some reason. Not tablet won't take fastboot commands. Says waiting for device
adb device shows the tablet
snickle said:
Tried this process and ran into an issue. Flashed TWRP Okay, flash vbmeta ok, rebooted to twrp, but could not find magisk on sdcard for some reason. Not tablet won't take fastboot commands. Says waiting for device
adb device shows the tablet
Click to expand...
Click to collapse
Rebooteed to bootloader flashed twrp and vbmenta. REbooted to recovery and twrp came up. Installed magisk zip and rebooted. No root and stock recovery comes up instaead of TWRP.
THoughts?
Also still no fastboot commands available when tablet booted, just from bootloader.
Tried completely reflashing stock image, still no change.
snickle said:
...rebooted to twrp, but could not find magisk on sdcard for some reason.
Click to expand...
Click to collapse
You have to download Magisk-v21.4.zip and push it to /external_sd/.
If you did that, can you see your other files in /external_sd/ ?
snickle said:
...tablet won't take fastboot commands. Says waiting for device
adb device shows the tablet
Click to expand...
Click to collapse
Make sure you have the latest adb and fastboot from Google. There were some major changes to fastboot for Android 10.
Also make sure you have the latest USB drivers from Lenovo.
I have the latest adb and drivers. fastboot commands used to work.
I rebooted to bootloader and flashed thre patched boot image made with the canary version of magisk and got root.
I then reflashed twrp and vbmeta and things seem to be working. Except for fastboot commands whlle booted.
snickle said:
I have the latest adb and drivers. fastboot commands used to work.
Click to expand...
Click to collapse
For Windows, the latest fastboot --version is 31.0.0-7110759
snickle said:
...things seem to be working. Except for fastboot commands whlle booted.
Click to expand...
Click to collapse
If you are using Windows 10, check that the "Android Bootloader Interface" driver is loaded in Device Manager when the tablet is in fastboot mode. See this post.
And when you say "except for fastboot commands while booted", do you mean "while the tablet is booted in fastboot mode" or "while the tablet is booted in twrp recovery or Android system"?
Yahoo Mike said:
For Windows, the latest fastboot --version is 31.0.0-7110759
If you are using Windows 10, check that the "Android Bootloader Interface" driver is loaded in Device Manager when the tablet is in fastboot mode. See this post.
And when you say "except for fastboot commands while booted", do you mean "while the tablet is booted in fastboot mode" or "while the tablet is booted in twrp recovery or Android system"?
Click to expand...
Click to collapse
Latest ADB and drivers loaded.
Fastboot commands work while in fastboot mode, but do not work when booted to system any more.
snickle said:
Fastboot commands work while in fastboot mode, but do not work when booted to system any more.
Click to expand...
Click to collapse
That's ok. That's how it's supposed to work.
ADB only works when your device is in recovery or system. It won't work when you're in fastboot or EDL mode.
Fastboot only works when your device is in fastboot mode. It won't work when you're in EDL, recovery or system.
The fastboot utility is an interface to the Android bootloader. When your device is in fastboot mode, you can use this utility to configure (some of) the bootloader and partition images. That's about it. I'm oversimplifying again, but...once the bootloader has passed on execution to EDL or a kernel (recovery or system), the fastboot utility can't work because the bootloader process is no longer running.
Unhelpfully fastboot just displays the "waiting for device" message, rather than something like "waiting for device to enter fastboot mode".
I hope that helps explain what's going on.
Twrp is working as expected no issues I have found, except for the need to press the power button s few times after booting into recovery to get twrp screen.
Hello! I need a bit of help... I have a TB-606F, 4GB/64GB version
I'm stuck on step 5. I've unlocked the bootloader, flashing TWRP and vbmeta seems successful, but then I cannot reboot into recovery. Using the fastboot reboot command I get "fastboot: usage: unknown reboot target recovery". If I try to reboot using volume up + volume down + power it eventually boots to Android.
Any thoughts are much appreciated!

[OFFICIAL] Motorola Edge 5G Racer TWRP

The developers have a lot going on at the moment, i know many have been asking for it, now that it is Official, i think it's safe enough for Public Use. I'm sure the DEVs will post a "more Official" Thread in the right spot. I did not post under Recovery because that is for DEV Use ONLY.
Official TWRP img and Installer zip : https://twrp.me/motorola/motorolamotoedge.html
***Dont forget to flash copy-partitions.zip if you are flashing a Custom ROM. The main device trees now include this, meaning it comes with MOST, NOT ALL, Custom ROMs. YOU WILL NOT BREAK ANYTHING, if the Custom ROM you are flashing already includes this and you flash the copy-partitions.zip. Better to be safe then sorry. This is required anytime you fastboot flash back to STOCK Firmware.INSTALL "Copy Partitions Zip" FROM POST #2
Installation:
NOTE: Your bootloader MUST be UNLOCKED before booting or installing TWRP If you already have TWRP installed: Download the latest zip and install the zip using TWRP, or flash directly the image directly to recovery in fastboot. If you do not already have TWRP installed: Download both the img and the zip. Copy the zip to your device. You will need to have the latest fastboot binaries and the correct drivers installed. Power off your device completely. Hold volume down and turn on the device. Your device should now be in the bootloader menu. Connect the device to your PC. Open a command window and run the following command from the proper location:
Zip method: fastboot boot path/to/twrp.img
This will temporarily boot TWRP on your device. Use ADB or MTP to push the zip onto your device:
adb push path/to/twrp.zip /sdcard
Go to install and browse to the zip and install the zip. The zip will install TWRP on recovery partition of both slots.
Image Method: fastboot flash recovery_ path/to/twrp.img
Moto_Fan said:
The developers have a lot going on at the moment, i know many have been asking for it, now that it is Official, i think it's safe enough for Public Use. I'm sure the DEVs will post a "more Official" Thread in the right spot. I did not post under Recovery because that is for DEV Use ONLY.
Official TWRP img and Installer zip : https://twrp.me/motorola/motorolamotoedge.html
***Dont forget to flash copy-partitions.zip if you are flashing a Custom ROM. The main device trees now include this, meaning it comes with MOST, NOT ALL, Custom ROMs. YOU WILL NOT BREAK ANYTHING, if the Custom ROM you are flashing already includes this and you flash the copy-partitions.zip. Better to be safe then sorry. This is required anytime you fastboot flash back to STOCK Firmware.INSTALL "Copy Partitions Zip" FROM POST #2
Installation:
NOTE: Your bootloader MUST be UNLOCKED before booting or installing TWRP If you already have TWRP installed: Download the latest zip and install the zip using TWRP, or flash directly the image directly to recovery in fastboot. If you do not already have TWRP installed: Download both the img and the zip. Copy the zip to your device. You will need to have the latest fastboot binaries and the correct drivers installed. Power off your device completely. Hold volume down and turn on the device. Your device should now be in the bootloader menu. Connect the device to your PC. Open a command window and run the following command from the proper location:
Zip method: fastboot boot path/to/twrp.img
This will temporarily boot TWRP on your device. Use ADB or MTP to push the zip onto your device:
adb push path/to/twrp.zip /sdcard
Go to install and browse to the zip and install the zip. The zip will install TWRP on recovery partition of both slots.
Image Method: fastboot flash recovery_ path/to/twrp.img
Click to expand...
Click to collapse
Having a problem, even unlocking the bootloader. Unlock my device, doesn't show a blue button, and msg, says"it can't be unlocked" . In any case, I downloaded all the software that was on page, when I can figure this out.
reggjoo said:
Having a problem, even unlocking the bootloader. Unlock my device, doesn't show a blue button, and msg, says"it can't be unlocked" . In any case, I downloaded all the software that was on page, when I can figure this out.
Click to expand...
Click to collapse
If you can't go passed #1, don't go any further, but I can only recommend.

How To Guide Xiaomi Mi 11 Ultra Root Guide (No firmware download needed)

Welcome to my thread. Today I am going to teach you how to install a custom recovery on the device and how to recover the original boot files on the phone to modify them. After modifying those files you will have root on the device. A lot of time and effort has been put into getting this to work. The custom recovery that we will be using is TWRP Recovery.
Note: Modifying your device will void the manufacturer's warranty.
All modifications made to your device are done at your own risk and you claim full
responsibility if the device is damaged or if data is lost.​
First, we are going to enable OEM Unlock and USB Debugging. To do so, you will follow the steps below.
1. Sign in to your Mi Cloud Account on your phone.
2. Tap the “Settings” menu on your Mi 11 Ultra, then tap the “About Phone” option.
3. Tap the “MIUI Version” option several times until you see the “You are now a developer” message.
4. Tap the “Additional Settings” Menu, then tap the “Developer options” on your phone.
5. Activate the “OEM Unlock” option, then activate the “USB Debugging” option on your phone.
6. Tap the “Mi Unlock Status” option.
7. Tap “Agree” and then tap the “Add account and device” option on your phone.
8. Turn off your phone, then press the volume down button and the power button simultaneously to put your phone into fastboot mode.
9. Connect your phone to your PC via a USB cable.
10. Download the miflash ZIP file.
11. Extract the miflash unlock tool ZIP file. You will find the Mi USB Driver.exe file and the miflashunlock.exe file after extracting it.
12. Install the Mi USB driver on your PC.
13. Run the miflashunlock.exe file on your PC.
14. Tap the Agree button and then Sign in with your Mi Account after running the miflash_unlock.exe.
15. Click the “Unlock” button, then click the “Unlock anyway” button within the miflash tool to start the process.
16. Click the “Reboot phone” button after you see the “Unlocked successfully” message.
Downloads:
Unlock tool: https://en.miui.com/unlock/download_en.html
Additionally, we will need to have TWRP flashed to the recovery of the phone.
1. We will need to have ADB installed on the computer so download the 15 Second ADB Installer.
2. Run the ADB-Setup.exe.
3. Open a CMD terminal as an Administrator.
4. Type in the command: CD C:/ADB.
5. Type in the command: ADB Devices, make sure that there is a device showing up.
6. Download the TWRP.img to the ADB folder located on C:/ADB.
7. Make sure that you do not have a password or code lock on the device. There can not be any lock on the lock screen.
8. Type the command ADB Reboot Bootloader.
9. Type the command Fastboot Boot TWRP.img.
10. Navigate to the Advanced menu of TWRP and tap on “Install Recovery Ramdisk”.
11. Navigate back to the main menu then tap on Reboot and tap on Recovery.
Downloads:
15 Second ADB Installer: https://forum.xda-developers.com/t/...vers-15-seconds-adb-installer-v1-4-3.2588979/
TWRP image: https://drive.google.com/drive/folders/1ztP266XjxteVk8pxcD7-sD-IxihmODPV?usp=sharing
Now we will copy the three boot files on the phone and make backups.
1. Navigate to Mount on the root menu or TWRP.
2. Select the System Partition and Data partition then go back to the menu.
3. Navigate to Advanced then Terminal.
4. Type the command dd if=/dev/block/bootdevice/by-name/boot of=/sdcard/boot.img.
5. Type the command dd if=/dev/block/bootdevice/by-name/boot_a of=/sdcard/boot_a.img.
6. Type the command dd if=/dev/block/bootdevice/by-name/boot_b of=/sdcard/boot_b.img.
7. After all the commands have been entered you can now exit back to the system by rebooting to the system in the Reboot menu.
8. Next, we will install Magisk on the phone to modify the boot files, download the Magisk.apk file on your phone.
9. Open the apk and install the Magisk.apk on the device. You will have to enable Unknown Sources if you have not already.
10. Open Magisk and select install on the Magisk tab.
11. Under Method tap the Select and Patch a File and select the boot.img file.
12. Press the LET'S GO button after you have selected the file. (Make sure to note down the name of the Output file for each file).
13. Repeat steps 11 and 12 for boot file boot_a.img and boot file boot_b.img.
Downloads:
Magisk: https://github.com/topjohnwu/Magisk/releases
Now we will flash the boot files to the phone and we will be rooted!
1. Copy the files you just made from the storage of the phone under /Internal shared storage/Download/(Filenames) to the ADB folder located on C:/ADB
2. Restart the phone and once the phone screen turns off hold the Volume Down button to boot into fastboot.
3. Now this is where it is very crucial to ensure you know what each file corresponds to for the boot files. Type in the command Fastboot flash boot (Modified file name for boot.img).
4. Type in the command Fastboot Flash Boot_a (Modified file name for boot_a.img).
5. Type in the command Fastboot Flash Boot_b (Modified file name for boot_b.img).
6. Then type the command Fastboot reboot
7. Load Magisk and verify that it is indeed installed.
8. Boom rooted!
I don't get this I rooted much easier by simply flashing magisk.
I downloaded magisk zip
I then booted into fastboot connecting my ohone to the pc
I booted into twrp from fastboot with the command "fastboot boot twrp.img"
From twrp I simply flashed magisk.zip wiped dalvik and ART cache and rebooted the phone
Root done!
My question is now how can I update without loosing data.
I was thinking of installing the new rom via miflashtool without wiping data and then reflash magisk. It should work right?
xNAPx said:
I don't get this I rooted much easier by simply flashing magisk.
I downloaded magisk zip
I then booted into fastboot connecting my ohone to the pc
I booted into twrp from fastboot with the command "fastboot boot twrp.img"
From twrp I simply flashed magisk.zip wiped dalvik and ART cache and rebooted the phone
Root done!
My question is now how can I update without loosing data.
I was thinking of installing the new rom via miflashtool without wiping data and then reflash magisk. It should work right?
Click to expand...
Click to collapse
In my testing I couldn't get my phone to root with Magisk. I haven't tested that but it sounds like it should work.
Look it is super simple, it can be done on every rom with an unlocked bootloader (this must be obvious)
Download the latest magisk.zip file on your phone
Download the compatible TWRP for your device on your computer and put it into your ADB and fastboot folder and rename it "twrp.img" (make sure you replace the file extension with the ".img")
Reboot your phone into fastboot
Connect the phone to the PC
Run the check command "fastboot devices" to check if your device is listed
Then run the command "fastboot boot twrp.img"
Your phone will now boot into twrp recovery and there is no need to flash it and overwrite the original recovery
Now give twrp the permissions to look into your folder by unlocking it at boot (password of pattern depends on what you use normally for your phone)
Now since the twrp is chinese you must change your language into english (3rd button on the right then click on the globe on the up right and select the language you want)
Now go into wipe and wipe manually cache and dalvik
Now go into your system and search for magisk.zip, flash it and wipe again dalvik and cache.
Reboot your phone
Now when you boot you must have magisk through your apps, boot magisk and complete the installation process.
Reboot again and enjoy!
xNAPx said:
Look it is super simple, it can be done on every rom with an unlocked bootloader (this must be obvious)
Download the latest magisk.zip file on your phone
Download the compatible TWRP for your device on your computer and put it into your ADB and fastboot folder and rename it "twrp.img" (make sure you replace the file extension with the ".img")
Reboot your phone into fastboot
Connect the phone to the PC
Run the check command "fastboot devices" to check if your device is listed
Then run the command "fastboot boot twrp.img"
Your phone will now boot into twrp recovery and there is no need to flash it and overwrite the original recovery
Now give twrp the permissions to look into your folder by unlocking it at boot (password of pattern depends on what you use normally for your phone)
Now since the twrp is chinese you must change your language into english (3rd button on the right then click on the globe on the up right and select the language you want)
Now go into wipe and wipe manually cache and dalvik
Now go into your system and search for magisk.zip, flash it and wipe again dalvik and cache.
Reboot your phone
Now when you boot you must have magisk through your apps, boot magisk and complete the installation process.
Reboot again and enjoy!
Click to expand...
Click to collapse
is this working with EU ROM?
penyapu79 said:
is this working with EU ROM?
Click to expand...
Click to collapse
On Xiaomi EU is simpler because it inject twrp itself so you don't need to push start via adb
xNAPx said:
On Xiaomi EU is simpler because it inject twrp itself so you don't need to push start via adb
Click to expand...
Click to collapse
Ok thanks. I will try it later
On Xiaomi EU you can straight flash the update, wipe dalvik and cache and flash straight away magisk zip on top, rewipe dalvik and cache and reboot to system
xNAPx said:
On Xiaomi EU you can straight flash the update, wipe dalvik and cache and flash straight away magisk zip on top, rewipe dalvik and cache and reboot to system
Click to expand...
Click to collapse
any problem with bank apps after root?
I'm on official global ROM and I am using revolut with no issues
xNAPx said:
I'm on official global ROM and I am using revolut with no issues
Click to expand...
Click to collapse
I have the Chinese ultra with global rom but if I decide to sale how do I factory reset to do so? thanks ahead and wasn't sure where to post this.
If you want to sell it you must reinstall the original Chinese ROM and relock the bootloader
xNAPx said:
Now give twrp the permissions to look into your folder by unlocking it at boot (password of pattern depends on what you use normally for your phone)
Click to expand...
Click to collapse
Hi, xNAPx !
Thank you for this tuto, but i have a problem :/
At this step, twrp is booting straight on the menu, no password asked, and so, no access to data :/
Do you have an idea please ?
(i'm using xiaomi.eu_multi_MI11Pro_MI11Ultra_21.12.8_v12-12-fastboot)
I believe this is a known issue, there is a problem on some versions of twrp with encryption, to me never happened. What kind of screen security do you have on your phone?
xNAPx said:
I believe this is a known issue, there is a problem on some versions of twrp with encryption, to me never happened. What kind of screen security do you have on your phone?
Click to expand...
Click to collapse
A password
You can try 2 things, remove the screen lock protection or inject a different version of twrp, I never had this problem as I boot twrp via adb
xNAPx said:
You can try 2 things, remove the screen lock protection or inject a different version of twrp, I never had this problem as I boot twrp via adb
Click to expand...
Click to collapse
Thank you
Removal of the screen lock resulted as a failure too (same problem than with the screen lock)
I don't know and can't seem to find another twrp for the mi11 Ultra than this one :
Mi11Ultra(Pro)-twrp3.5.1-recovery-21.5.9-decrypted.img | by Orjon for Generic Device/Other
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
androidfilehost.com
Sorry :/
Push it via adb then, in the shell type:
Fastboot boot twrp.img
xNAPx said:
Push it via adb then, in the shell type:
Fastboot boot twrp.img
Click to expand...
Click to collapse
That's what i'm doing from the beginning, but it doesn't work
What does not work in specific? It's a bit too generic

How To Guide [GUIDE] Install TWRP (unofficial) for Mi 11/Pro/Ultra

This guide is written by Hoangsang and you can find it here https://xiaomi.eu/community/threads/guide-install-twrp-for-mi-11-pro-ultra.61239/
Before starting the process, the bootloader must be unlocked and Install Xiaomi USB drivers
New update:
Instructions to install Xiaomi.EU rom for Mi11/Pro/Ultra via TWRP
1. Download minimal_adb_fastboot_v1.4.3_setup and install. Note to install it straight into the C drive. At this time, there will be a Minimal ADB and Fastboot folder in the C drive
Download link: https://drive.google.com/file/d/1qMeXu_DLkF1WlvRo__qy8ZNmm2WAmR3v/view?usp=drivesdk
Or shortened link: https://bit.ly/3oIeg1p
2. Download the TWRP file for Mi11/Pro/Ultra.
TWRP for MI11 venus
TWRP for MI11Pro/Ultra mars/star
(Or check here: https://androidfilehost.com/?w=files&flid=318170 )
3. Rename the downloaded file to twrp.img, copy the TWRP file to the Minimal ADB and Fastboot folder in drive C.
4. Download the Xiaomi.EU rom for your phone ( https://xiaomirom.com/en/rom/mi-11-pro-ultra-11-ultra-star-europe-fastboot-recovery-rom/ ) After downloading, copy the rom to the phone (should be in the root directory for easy finding later).
5. Put the phone into Fastboot mode (Power key + volume down key).
Run the file: "C:\Minimal ADB and Fastboot\cmd-here.exe"
Type the command: fastboot boot twrp.img
Tip => Use the TAB key to complete filenames in command prompt windows
Wait for the installation, the phone will automatically run into TWRP
6. On TWRP, Change the language of TWRP to English, by clicking the right button on TWRP and select English.. then OK.
7. Enter the device (phone) password and press Enter for TWRP to have access to the file.
(Note: You definitely need to format data once you change ROMs - i.e. when changing ROM versions like going from stable to weekly, from official to Xiaomi.EU.... For updating within the same ROM you don't need to do that.... Do the formatting right at this step )
Run the following command after formatting to copy the rom.
Code:
adb push rom.zip /sdcard
Note: Rom is copied to Minimal ADB and Fastboot folder in the C
8. Install TWRP recovery to phone by: Select "Advanced" and select "Onekey inject TWRP". (wait for the device to install). Next time you want to enter TWRP, just press the power key + volume up (volume up). [Option]
9. Install the rom by on TWRP, select Install -> find the rom file mentioned in section 4.
10. After the installation is complete, wait for the device to restart (it takes about 5 minutes).
Update: TWRP currently does not support the "update-package" command. So after updating you still have to manually select the downloaded zip file to install. So having TWRP saves the need for a computer, but it's not available for OTA yet
(The device will not lose data if you are using XiaomiEU rom with the same version (stable -> stable, dev->dev))
Why aren't you first install ROM from internal and then format data ... Then you have installed the (custom) ROM without pushing or other things and can find it easily. After flashing you still can format right?
newer version support A12: https://mega.nz/folder/TgZwBByA#HFjBkXeJhCfuuyGnpAeVEw
Source: https://tradingshenzhen.com
New TWRP 3.7.0 released
TWRP 3.7.0 Released
TWRP 3.7.0 is out now for most currently supported devices.
twrp.me
For Xiaomi Mi 11 Utra there is this new version: https://eu.dl.twrp.me/star/
Does anyone have experience in this? Can I use this for xioami.eu 13.0.13?
The official TWRP recovery 3.7.0 for mi 11 pro/ultra is for Android 11

Categories

Resources