I wanted to install twrp in my redmi 9 with this tuto :
unofficial twrp 3.4.2 Root Xiaomi Redmi 9 (Lancelot) - unofficial twrp
Download unofficial twrp 3.4.2 root Xiaomi Redmi 9, user who own Xiaomi Redmi 9 can root it by following the below instructions
unofficialtwrp.com
but at the end i have this :
Booting FAILED (Status read failed (Too many links))
fastboot: error: Command failed
i have already try other computer and cable.
help me please
(sorry for the english i am french)
Hello you from France ?!
Please read first to end - do not do anything at first- there are two possibilities !
I cannot promise - if this helps ? - But this is only solution for Linux Desktops ! :
1.)
Do you have proper TWRP.img ? - then rename it simply into boot.img
You then could try this (in Linux it works this way) with
installed android-tools and your redmi 9 plugged via usb-cable to your Desktop :
Stay there in Linux in directory Downloads (boot.img is saved in Downloads) :
> adb devices
> adb reboot bootloader
(wait until (blue) LED is lightening ? )
then :
> sudo fastboot flash boot boot.img
(this should work) and then :
> fastboot reboot
2.)
But maybe final solution suiting to your RedMi 9 is to find here as video :
Cheers.
thank you for the answer but i have windows and redmi 9 not mi 9
my command :
fastboot flash recovery recovery.img
fastboot flash vbmeta vbmeta.img
fastboot boot recovery.img
go for SHRP recovery
imon_09 said:
go for SHRP recovery
Click to expand...
Click to collapse
Can i flash custom rom with it ?
Tutorival_XIX said:
Can i flash custom rom with it ?
Click to expand...
Click to collapse
yes,as far as i know.
SHRP is the most stable recovery out there for this device.
imon_09 said:
yes,as far as i know.
SHRP is the most stable recovery out there for this device.
Click to expand...
Click to collapse
But i have the same error at the end : to many link.
Related
Hi,
I've installed the Global Stable 10.0.2.0 via Mi Flash Tool on my Mi 8 and wanted to install TWRP the usual way, but it won't boot into TWRP.
Steps so far:
Code:
adb reboot bootloader
fastboot flash recovery twrp.img
--> all fine, it says writing ok
Code:
fastboot boot twrp.img
---> TWRP star screen but nothing else happens
or
Code:
fastboot reboot recovery
---> normal boot
or
Code:
adb reboot recovery
---> error occurs
I'm using a Windows 10 PC. Maybe you can help and tell where the mistake is.
Thanks
Follow these easy steps
Makes sure you have the GSI image on your sdcard before starting this, if your coming from lineage OS backup your data!
1.Unlock Bootloader
2. Boot into bootloader, check your slot if on B switch to A and vice versa.(fastboot set_active a/b) or you can stay in your current active slot up to you.
3.Download twrp and flash it (fastboot flash boot boot.img)
4.Boot back into boot loader and run "fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img" link with b11 vbeta.img
5.Boot into twrp,Format data or in bootloader run this command "fastboot format userdata" to get rid if encryption else gsi wont boot then, go to "install" navigate to your sdcard where you place the gsi , look for 'select image" then flash your gsi.
6.To flash gapps(skip if the gsi includes them) if your using a aosp gsi go to twrp then go into /wipe/advanced wipe/ select system on the options then "repair or change file system" then press on "resize file system" this will resize your system partiton back to 3.X gigs and allow you to flash gapps.
7.Then reboot to system
8. Your gsi "should" boot
Downloads:
http://www.mediafire.com/folder/ha8j5crsdmbmx/ZTE_Axon_10_pro_stuff
https://forum.xda-developers.com/pr...bled-device-development/gsi-havoc-os-t3930030 Havoc OS the gsi ive been using for some weeks.
Fixes and WorkArounds
Volte Fix for GSi
Install the volt-ims.apk as you would normally install an apk, download here http://www.mediafire.com/file/l0x88jx5zxyknhh/volte-ims.apk/file
For root( magisk) and twrp flash http://www.mediafire.com/file/de8tccz7gr93831/twrp-magisked-los-boot.img/file
To pass SafetyNet flash this http://www.mediafire.com/file/867xncq865vvtct/Universal-safetynet-fix-v3.zip/file
Also I created a template for what works on phhusson Treble experiments wiki:
https://github.com/phhusson/treble_experimentations/wiki/ZTE-Axon-10-Pro
CREDITS:
Unjustifieddev for his work on lineage, and the boot.img im using.
All the gsi creators
Screenshots of Havoc OS gsi running on my zte axon 10:
Android Q Gsi works too
you can also use the zte android 9 stock kernel and vendor
That all is great news.....bravooo
Any issues with the havoc gsi?
blcistheking said:
Any issues with the havoc gsi?
Click to expand...
Click to collapse
Only the Fingerprint is broken
noobstyle1337 said:
Only the Fingerprint is broken
Click to expand...
Click to collapse
its only broken if you have a a2020g, works fine if you have a a2020u, current los kernel is missing a2020g fingerprint firmware from what i can gather.
Bliss 12.7 Android 10 gsi on a2020u.
rafyvitto said:
Follow these easy steps
4.Boot back into boot loader and run "fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img" link with b11 vbeta.img
==
Click to expand...
Click to collapse
whenever i try this i just get
"fastboot: unknown option -- disable-verity"
Mr. DR. Professor Electro said:
whenever i try this i just get
"fastboot: unknown option -- disable-verity"
Click to expand...
Click to collapse
Skip that step not needed, just flahs the disable encryption zip file in twrp to disable encryption.
i have bootloader unlocked ive wiped everything even flashed disable encryption but whenever i try to install the zip for lineage 17 i get an "error installing zip file' am i doing something wrong?
honestly i cant even flash any rom zip i have i just get error 1s , i even wipe data/format before flashing am i doing something wrong am i supposed to be on a or b while doing this or what
Futility's Forgotten Soldier said:
i have bootloader unlocked ive wiped everything even flashed disable encryption but whenever i try to install the zip for lineage 17 i get an "error installing zip file' am i doing something wrong?
Click to expand...
Click to collapse
Lineage 17 is very broken right now, i would suggest flashing bliss 2.7 gsi, check my telegram channel for more info.
cant escape bootloop hell and error 255
rafyvitto said:
Follow these easy steps
Makes sure you have the GSI image on your sdcard before starting this, if your coming from lineage OS backup your data!
1.Unlock Bootloader
2. Boot into bootloader, check your slot if on B switch to A and vice versa.(fastboot set_active a/b) or you can stay in your current active slot up to you.
3.Download twrp and flash it (fastboot flash boot boot.img)
4.Boot back into boot loader and run "fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img" link with b11 vbeta.img
5.Boot into twrp,Format data or in bootloader run this command "fastboot format userdata" to get rid if encryption else gsi wont boot then, go to "install" navigate to your sdcard where you place the gsi , look for 'select image" then flash your gsi.
6.To flash gapps(skip if the gsi includes them) if your using a aosp gsi go to twrp then go into /wipe/advanced wipe/ select system on the options then "repair or change file system" then press on "resize file system" this will resize your system partiton back to 3.X gigs and allow you to flash gapps.
7.Then reboot to system
8. Your gsi "should" boot
Downloads:
http://www.mediafire.com/folder/ha8j5crsdmbmx/ZTE_Axon_10_pro_stuff
https://forum.xda-developers.com/pr...bled-device-development/gsi-havoc-os-t3930030 Havoc OS the gsi ive been using for some weeks.
Fixes and WorkArounds
Volte Fix for GSi
Install the volt-ims.apk as you would normally install an apk, download here http://www.mediafire.com/file/l0x88jx5zxyknhh/volte-ims.apk/file
For root( magisk) and twrp flash http://www.mediafire.com/file/de8tccz7gr93831/twrp-magisked-los-boot.img/file
To pass SafetyNet flash this http://www.mediafire.com/file/867xncq865vvtct/Universal-safetynet-fix-v3.zip/file
Also I created a template for what works on phhusson Treble experiments wiki:
https://github.com/phhusson/treble_experimentations/wiki/ZTE-Axon-10-Pro
CREDITS:
Unjustifieddev for his work on lineage, and the boot.img im using.
All the gsi creators
Click to expand...
Click to collapse
rafyvitto said:
Lineage 17 is very broken right now, i would suggest flashing bliss 2.7 gsi, check my telegram channel for more info.
Click to expand...
Click to collapse
having trouble
Steps I followed:
(bootloader been unlocked but double checked to be sure)
Started from LineageOS 16 clean flashed based
booted rom made sure Debug was enable in settings did nothing else
booted to bootloader
>fastboot set_active a
>fastboot boot "D:\Android\Flash\Recovery.img"
In Recovery:
Installed Twrp zip
install zip DisableForcedEncryption.zip
-reboot bootloader
>fastboot flash vbmeta "C:\Users\chris\Downloads\ZTE_Flash\vbmeta.img"
>fastboot format userdata
boot to recovery:
Installed GSI Image of Havoc OS to System image
Flashing system image......
simg2ing '/sdcard1/Havoc-OS-v2.9-20190914-phhgsi_arm64_ab-offical.img' 'dev/block/bootdevice/by-name/system_a'process
ended with ERROR: 255
got creative because nothing i was doing was fixing the problem so i went into fast boot and
>fastboot flash system "location/of/Havoc.img"
now no longer can acess the recovery not even but fastboot boot img command and back in a bootloop hell
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot boot "D:\Android\Flash\Recovery.img"
downloading 'boot.img'...
OKAY [ 0.605s]
booting...
FAILED (remote: Failed to load/authenticate boot image: Load Error)
finished. total time: 0.640s
also i have no way to return to the original 10 pro rom whenever i flash it via the EDL tool with one of the US edl
Zips you provided i have boot loop but it gives me enough so i can have bootloader mode accessible but i have to rerun
the bootloader unlock. but flashing Lineage 16 seems to be the only thing to make my phone functional without giving it boot loop hell
ill try do it with bliss later but if there's anywhere i went wrong or how to solve the 255 let me know i really want to try out one of those GSIs
but im running on the US rom and using the TWRP for my pro from the fourms so i just really confused here idk if i could possibly give you anymore details
ok update i got it working
1. the 255 i fixed by
"
Reboot into recovery, TWRP
Go to the terminal in "Advanced"
Type cd /system to change the path to the system folder
Type rm addon.d to remove the addon file
Type exit to quit from the terminal
Now back to TWRP home, try backup/restore again, it should works.
Further adjustment: do check the use rm -f to format disk settings of TWRP, to make sure TWRP won't mess up the filesystem."
secondly what was ruining me was a big dumb mistake on my part you HAVE to do " --disable-verity --disable-verification flash vbmeta vbmeta.img" with the latest ADB tool kit I was using minimal adb and fastboot then got it to work
In step 5,i can not boot into TWRP and phone displays ZTE crashdump mode.
Please help.
Thanks.
Edit: I fixed it and can flashed this rom but it has some bugs.
Decryption works
Otg work
Flash
Mtp/adb
F2FS support
Fastbootd
Adb sideload
Changelog:
Fixed boot on MiUi when encrypted with pin (Tested on MiUi CN nightly 21.7.27 ) it means Tested on MiUi 12.5.3 )
Flashing instructions:
( Linux users )
boot to fastboot
navigate to downloaded file folder
open terminal and type: "fastboot flash recovery twrp-3.5.2.0-yarpiin-umi-A11.img"
reboot and enjoy
( Windows users )
You will need the platform-tools from the Android SDK on your computer. Download the platform-tools as per your operating system.
Windows users will need proper drivers installed on their computer. You can try the simple FWUL adb/fastboot ISO or the Naked ADB drivers or the Universal ADB drivers if you don't already have a working driver installed.
On your device, go into Settings -> About and find the Build Number and tap on it 7 times to enable developer settings. Press back and go into Developer Options and enable USB debugging. From your computer, open a command prompt and type:
adb reboot bootloader
You should now be in fastboot mode.
Download the correct recovery file and copy the file into the same folder as your platform-tools. Rename the image to twrp.img and type:
fastboot flash recovery twrp-3.5.2.0-yarpiin-umi-A11_v2.img
fastboot reboot
Link:--
GitHub - yarpiin/twrp_device_xiaomi_umi: TWRP Source for Xiaomi Mi10
TWRP Source for Xiaomi Mi10 . Contribute to yarpiin/twrp_device_xiaomi_umi development by creating an account on GitHub.
github.com
Thank you very much, finally I've got full backup over OTG (ExFAT formatted)!
Slán!
works for me
hello can you please set the download link
bavaria Jo said:
hello can you please set the download link
Click to expand...
Click to collapse
https://github.com/yarpiin/twrp_device_xiaomi_umi/releases/download/v002/twrp-3.5.2.0-yarpiin-umi-A11_v2.img
works perfectly
Thanks for sharing
Any news about Twrp for A12?
Hi. What are the commands in cmd/fastboot for flashing Pitchblack Recovery on redmi 9t which is on stock android 10/11 recovery from these:
'fastboot boot recovery.img'
or
'fastboot flash recovery recovery.img'
then
'fastboot reboot recovery' and copy latestPitchblackRecovery.zip in sd card/internal and flash it then reboot.
I BOOT or FLASH that recovery.img extracted from latestPitchblackRecovery.zip ? And it will stick it after reboot or it will go back to stock if i have stock rom ? Thx.
fastboot flash recovery recovery.img
At your device hold "volume +" button(do not release the button until you see the custom recovery)
At cmd/adb type "fastboot reboot" press Enter.
ak0ztik said:
fastboot flash recovery recovery.img
At your device hold "volume +" button(do not release the button until you see the custom recovery)
At cmd/adb type "fastboot reboot" press Enter.
Click to expand...
Click to collapse
Ok so i use these commands:
'fastboot devices' - to see if device is connected at pc
'fastboot flash recovery recovery.img' - to flash recovery
'fastboot reboot' - to reboot recovery
Then i must copy in sd card/internal latestPitchBlackRecovery.zip and flash it or this step is not required ? Because i see on ytbe some guys who installed PitchBlackRecovery.zip after they flashed with adb, saiing PitchBlackRecovery need some files to be written from the zip file to function correctly. Thx.
I use this version from here: https://pitchblackrecovery.com/juice/) - PBRP VERSION 3.1.0 for Xiaomi Pocophone M3/Redmi 9T/Redmi 9 Power/Redmi note 9 4G | juice.
I'm asking this because i have that NVT-touchscreen Redmi 9T phone (recognized as lemon not lime) and PitchBlack Recovery is the only one who works in this model and i can't mess around too much.
And one last thing: i need to install a type of 'vbmeta' like i saw in some TWRP/OrangeFoxRecovery ? Thanx again.
Not sure about nvt, because i have an fts screen. I just flash recovery.img in fastboot and I'm good to go.
nikobadboy said:
Ok so i use these commands:
'fastboot devices' - to see if device is connected at pc
'fastboot flash recovery recovery.img' - to flash recovery
'fastboot reboot' - to reboot recovery
Then i must copy in sd card/internal latestPitchBlackRecovery.zip and flash it or this step is not required ? Because i see on ytbe some guys who installed PitchBlackRecovery.zip after they flashed with adb, saiing PitchBlackRecovery need some files to be written from the zip file to function correctly. Thx.
I use this version from here: https://pitchblackrecovery.com/juice/) - PBRP VERSION 3.1.0 for Xiaomi Pocophone M3/Redmi 9T/Redmi 9 Power/Redmi note 9 4G | juice.
I'm asking this because i have that NVT-touchscreen Redmi 9T phone (recognized as lemon not lime) and PitchBlack Recovery is the only one who works in this model and i can't mess around too much.
And one last thing: i need to install a type of 'vbmeta' like i saw in some TWRP/OrangeFoxRecovery ? Thanx again.
Click to expand...
Click to collapse
some infomation https://4pda.to/forum/index.php?showtopic=1019190&st=2600#entry110160650
hello,
I have a redmi 9 with miui 13. I don't find custome recovery who work. I have already try to flash patched boot of magisk. I just want to root my devices.
help me please
Tutorival_XIX said:
hello,
I have a redmi 9 with miui 13. I don't find custome recovery who work. I have already try to flash patched boot of magisk. I just want to root my devices.
help me please
Click to expand...
Click to collapse
No need TWRP or O.F for rooting.
Root***:
1. Find or redownload the TGZ file for your current ROM or other rom.
2. Browse inside the zip file and find boot.img under the images folder
3. Copy this file to a temporary location in your PC first, and then transfer it to your phone
4. Install the desired version of Magisk app
5. Run the app and choose Install under Magisk
6. Choose Select and Patch a File, then select the boot.img that was transferred earlier
7. A process will run and create a new .img file in the same folder where the original one was
8. Transfer the new file to your PC in the same directory where fastboot.exe is located
9. Open a command prompt window in that same directory
10. Reboot your phone to fastboot mode and connect to PC, USB2.0 port. Check for connection by running command fastboot devices.
11. Run the command fastboot flash boot_ab magiskXXXX.img
Once it's completed, run command fastboot reboot and the phone should boot and be rooted.
***
This is the most common current method.
On some devices, vbmeta,disable-verity are required.
NOSS8 said:
No need TWRP or O.F for rooting.
Root:
1. Find or redownload the TGZ file for your current ROM or other rom.
2. Browse inside the zip file and find boot.img under the images folder
3. Copy this file to a temporary location in your PC first, and then transfer it to your phone
4. Install the desired version of Magisk app
5. Run the app and choose Install under Magisk
6. Choose Select and Patch a File, then select the boot.img that was transferred earlier
7. A process will run and create a new .img file in the same folder where the original one was
8. Transfer the new file to your PC in the same directory where fastboot.exe is located
9. Open a command prompt window in that same directory
10. Reboot your phone to fastboot mode and connect to PC, USB2.0 port. Check for connection by running command fastboot devices.
11. Run the command fastboot flash boot_ab magiskXXXX.img
Once it's completed, run command fastboot reboot and the phone should boot and be rooted.
Click to expand...
Click to collapse
Will this work on Mui 12.5 Android 11? the original rooting guide in the Guides Forum didn't work for me
Snows2w said:
Will this work on Mui 12.5 Android 11? the original rooting guide in the Guides Forum didn't work for me
Click to expand...
Click to collapse
What original rooting guide?
Yep, normally but you may have to use another version of Magisk.
NOSS8 said:
What original rooting guide?
Yep, normally but you may have to use another version of Magisk.
Click to expand...
Click to collapse
[GUIDE] How to unlock and root Xiaomi Redmi 9 (Galahad/Lancelot)
There are some posts on how to root the Xiaomi Redmi 9 (Galahad/Lancelot) phone, but since they have lots of "don't know" phrases (or files of unknown origin), I've managed to do the whole process from scratch. Lancelot or Galahad Basically...
forum.xda-developers.com
This guide
Snows2w said:
This guide
Click to expand...
Click to collapse
What is the code name of your device?
And what version of rom do you want to root (full name, letters + numbers)?
NOSS8 said:
What is the code name of your device?
And what version of rom do you want to root (full name, letters + numbers)?
Click to expand...
Click to collapse
I apologize for the late reply as I have gotten into a car accident.
Anyways here are the phone's info:
Model: Redmi 9 M2004J19C
Miui Version: 12.5.6.0 (RJCMIXM)
Codename: Lancelot
Are you ok?
You can follow the guide indicated and here the necessary imgs.
https://xiaomirom.com/en/download/redmi-9-9-prime-lancelot-stable-V12.5.6.0.RJCMIXM/#global-fastboot
May be more simple
https://unofficialtwrp.com/xiaomi-redmi-9-root-twrp-3-4-1/
Other than a few cuts and bruises I'm fine thank you. And thank you so much for your help I really appreciate it.
NOSS8 said:
No need TWRP or O.F for rooting.
Root***:
1. Find or redownload the TGZ file for your current ROM or other rom.
2. Browse inside the zip file and find boot.img under the images folder
3. Copy this file to a temporary location in your PC first, and then transfer it to your phone
4. Install the desired version of Magisk app
5. Run the app and choose Install under Magisk
6. Choose Select and Patch a File, then select the boot.img that was transferred earlier
7. A process will run and create a new .img file in the same folder where the original one was
8. Transfer the new file to your PC in the same directory where fastboot.exe is located
9. Open a command prompt window in that same directory
10. Reboot your phone to fastboot mode and connect to PC, USB2.0 port. Check for connection by running command fastboot devices.
11. Run the command fastboot flash boot_ab magiskXXXX.img
Once it's completed, run command fastboot reboot and the phone should boot and be rooted.
***
This is the most common current method.
On some devices, vbmeta,disable-verity are required.
Click to expand...
Click to collapse
I am also having issues like OP
My phone Redmi 9 M2003J15SS Miui 13.0.2 (Stable)
Already patched via magisk and copy that image to pc and run fastboot with exact command..
But after sending some files, it says
Sending 'boot_ab' (65536 KB) OKAY [ 1.538s]
Writing 'boot_ab' FAILED (remote: 'This partition doesn't exist')
fastboot: error: Command failed
Can you help with that?
Do I have to open a new thread? I am new here. I just see your valuable post and seems the same scenario as OP except for the model number.
Also can you help me to provide these On some devices, vbmeta,disable-verity are required. if needed.
This is my first time and i am a noob
Use this command but it looks like you have to use vbmeta,disable-verity.
fastboot flash boot magiskXXXX.img
[GUIDE][MAGISK] Root Access for Redmi 9 Mediatek Helio G80 without TWRP
Since our device still no TWRP Support, i will give you a simple guide how to root redmi 9 using magisk. Original guide is here Big Thanks to N3OMOD :good::good::good: EDIT: NO FORMAT DATA REQUIRED BUT BACKUP ALWAYS RECOMMENDED REQUIREMENT : -...
forum.xda-developers.com
[GUIDE] How to unlock and root Xiaomi Redmi 9 (Galahad/Lancelot)
There are some posts on how to root the Xiaomi Redmi 9 (Galahad/Lancelot) phone, but since they have lots of "don't know" phrases (or files of unknown origin), I've managed to do the whole process from scratch. Lancelot or Galahad Basically...
forum.xda-developers.com
NOSS8 said:
Use this command but it looks like you have to use vbmeta,disable-verity.
fastboot flash boot magiskXXXX.img
[GUIDE][MAGISK] Root Access for Redmi 9 Mediatek Helio G80 without TWRP
Since our device still no TWRP Support, i will give you a simple guide how to root redmi 9 using magisk. Original guide is here Big Thanks to N3OMOD :good::good::good: EDIT: NO FORMAT DATA REQUIRED BUT BACKUP ALWAYS RECOMMENDED REQUIREMENT : -...
forum.xda-developers.com
[GUIDE] How to unlock and root Xiaomi Redmi 9 (Galahad/Lancelot)
There are some posts on how to root the Xiaomi Redmi 9 (Galahad/Lancelot) phone, but since they have lots of "don't know" phrases (or files of unknown origin), I've managed to do the whole process from scratch. Lancelot or Galahad Basically...
forum.xda-developers.com
Click to expand...
Click to collapse
Wow you made my day! Thank you my friend. I am a traveller and i wanted to proxify apps. So proxydroid asks for root and now seems everythings fine.
Should i still have to vbmeta,disable verity ?
rocca798 said:
Wow you made my day! Thank you my friend. I am a traveller and i wanted to proxify apps. So proxydroid asks for root and now seems everythings fine.
Should i still have to vbmeta,disable verity ?
Click to expand...
Click to collapse
Nope, if your device is rooted, now.