How To Guide Bricked device - POCO M3 Pro / Redmi Note 10 5G

If you have a bricked device from trying to install a custom ROM first try these. 1. If device isn't being detected by mi flash try a later version. You should use one from 2021 or higher. 2. Rename the stock FASTBOOT ROM folder to something else and put it inside the mi flash folder. 3. Select the stock FASTBOOT ROM folder in mi flash and plug in your phone and it should be able to flash. Now for the other step if you cannot boot into fastboot etc use the guide down below to install mtk tools. Get latest stock ROM folder too and extract the stock boot file and put it in mtk folder. Once you have it setup open mtkclient in cmd and use the command "mtk w boot boot.img" and then it will flash boot file then you should be able to flash stock in fastboot. If you need further assistance, you should first try to search it up. If that doesnt work open a thread on the redmi note 10 5g forums. If you need help installing a custom rom. I suggest wetito's guide: https://forum.xda-developers.com/t/...id-12-13-based-gsi-without-bootloops.4509833/

My suggestion: install an arch linux distro, set up android tools and download adbxiaomifastboot tool. You can install stock rom without problem
Also mtk client is available for download, and installation is automatic, easiest than window version
Also the installation of adb and fastbiot is easiest
Linux is the best for modding. garuda linux by default have a store where you can find all app you need and install like all app stores

Related

[Tutorial] How to install Android Loliipop+Root

Note:​I'm going to assume you have the Fastboot and ADB Drivers installed and the boot loader is unlocked! ​
Why is this here?
This thread is made to help new users install the developers preview through what I think is the fastest way and safest way too through the command prompt on Windows.
Responsibility!
If your device becomes bricked, makes toast for you, and anything else I did not mention its simply not my fault since you took it upon your self to do this method.​
Credits!​​Thanks Google for this lovely Operating System. Thank you Chain Fire for providing this method to root Android Lollipop and for your app and boot.img too! Thanks to LG for manufacturing this great device to use and enjoy stock Android. Finally, big thanks to TWRP for providing us with this recovery!​​​​​
The Steps!​​​​​Step 1: Download the Lollipop preview HERE, extract it and open the folder with all the image files along with the radio and bootloader image too.
Step 2: Drop all the images to your folder that contains the ADB and Fastboot files
Step 3: Open the folder that contains the ADB and Fastboot files
Step 4: Hold the shift key and right click and click "Open command window here"
Caution! Make sure you back up everything before you begin the process if not its not my fault you forgot to back up.
Step 5: Make sure your device is in fastboot and connected. We are going to replace the boot loader for a newer one. Please make sure the boot loader image name first before we began because i'm just going to use boot loader as a example the real file name will be different. Type the command shown below.
Code:
fastboot flash bootloader bootloader.img
Step 6: Now we are going to flash the Radio as also stated above be sure to check the image name before we flash.
Code:
fastboot flash radio radio.img
Step 7: Now we are going to flash userdata. This part you don't have to worry about the file name you can just copy and paste the command but, I would double check.
Code:
fastboot flash userdata userdata.img
Step 8: Now going to flash boot or the kernel just as step 8 and here from out I will let you know when you have to worry about the file name again.
Code:
fastboot flash boot boot.img
Step 9: Now were flashing the system files.
Code:
fastboot flash system system.img
Step 10: Now were flashing the a custom recovery (twrp for this example) so we can install the SuperSU files later. You can get the recovery image HERE and rename it "Trecovery" and place it to the same folder. After flashing it go to the recovery and from there reboot it.
Code:
fastboot flash recovery Trecovey.img
Yay! We got Android Lollipop now we have to root it.​​​​​Step 1: Let Andriod Lollipop boot up and go download SuperSu on your device by going to Chainfire SuperSU thread and click on his installable zip link and download SuperSU 2.14 or above. On your computer download his modified boot image HERE and rename it Rboot.img and move it your folder where the ADB and Fastboot files are.
Step 2: On your computer go to fastboot again on your phone and type the code in below.
Code:
fastboot flash boot Rboot.img
Step 3: Go to recovery and install the SuperSU zip as usual, reboot, and that's it. Enjoy!
reserved
Trecovery.img
Thanks for your work. Unfortunately, we already have a sticky thread on flashing images and rooting: http://forum.xda-developers.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701
The method to flash and root lollipop is no different than any other version.
Because we don't want multiple threads with the some information I will close this thread
Thanks.

razr i kitkat root method via twrp

hello xda people,i thought i might share this with you since i've tested and done it myself about rooting kitkat eu update.My bootloader was factory locked and proceeded unlocking it and i barely managed to install Hazou's unoficial twrp recovery(see this thread:http://forum.xda-developers.com/showthread.php?t=2278483) wich was done via fastboot,but mostly even after the custom recovery install i didn't managed to get root on kitkat,so i've tried ChainsDD superSU update pack witch seems to resolve the problem because the update package installs the propper package according to system specs,so if anyone there wishing to root or doesn't quite figure out,here's an simple how to:
1Make sure you have all the drivers installed.
2install or download android sdk
3 from the sdk,copy on your desktop platform-tools (for easier job)
4 download recovery image from Hazou thread,see: http://forum.xda-developers.com/showthread.php?t=2278483 extract and place it on platform-tools folder you copied on your desktop
5in platform-tools folder open cmd line and enter your phone in fastboot
6type "fastboot devices" without quotes
7 if your device is listed,type: fastboot flash recovery recovery.img
8now after cmd confirms if the flash was succesfull, either head to recovery from fastboot mode and see if twrp is installed,if it does keep your phone connected to pc
9 download chainsDD superSU update to external sd,link to download https://drive.google.com/file/d/0B8m4rdNFVU4_YjV4X2gtUjNhZVE/view?usp=sharing
10 install via twrp,wipe davik+cache, reboot and enjoy
You can get the latest CWM / TWRP / MobileODIN installable ZIP from here. It has x86 support and works on the Razr i.
drunk_ryder24 said:
hello xda people,i thought i might share this with you since i've tested and done it myself about rooting kitkat eu update.My bootloader was factory locked and proceeded unlocking it and i barely managed to install Hazou's unoficial twrp recovery(see this thread:http://forum.xda-developers.com/showthread.php?t=2278483) wich was done via fastboot,but mostly even after the custom recovery install i didn't managed to get root on kitkat,so i've tried ChainsDD superSU update pack witch seems to resolve the problem because the update package installs the propper package according to system specs,so if anyone there wishing to root or doesn't quite figure out,here's an simple how to:
1Make sure you have all the drivers installed.
2install or download android sdk
3 from the sdk,copy on your desktop platform-tools (for easier job)
4 download recovery image from Hazou thread,see: http://forum.xda-developers.com/showthread.php?t=2278483 extract and place it on platform-tools folder you copied on your desktop
5in platform-tools folder open cmd line and enter your phone in fastboot
6type "fastboot devices" without quotes
7 if your device is listed,type: fastboot flash recovery recovery.img
8now after cmd confirms if the flash was succesfull, either head to recovery from fastboot mode and see if twrp is installed,if it does keep your phone connected to pc
9 download chainsDD superSU update to external sd,link to download https://drive.google.com/file/d/0B8m4rdNFVU4_YjV4X2gtUjNhZVE/view?usp=sharing
10 install via twrp,wipe davik+cache, reboot and enjoy
Click to expand...
Click to collapse
I like this method, you're always left with a fallback or the option to the Rom flash again or use an alternate when using recovery, I've started to prefer TWRP over clockwork recently

How To Guide [UPDATED] [REALME 8i/NARZO 50] How to get fastboot access and root your device easily.

Hello everyone! In this guide, I Sidharth will tell you how to flash recovery, root and access bootloader on the Realme 8i and Narzo 50, you probably have seen another guide by Pritish, it's not wrong but it became kind of outdated .
So lets begin,
Requirements:
PC (with windows or linux installed)
Platform tools installed
First unlock the bootloader by following this guide: http://telegra.ph/HOW-TO-UNLOCK-BOOTLOADER-REALME-8INARZO-50-05-08
Or this guide: https://forum.xda-developers.com/t/...-flash-twrp-and-root-rmx3151-rmx3286.4369399/ (dont worry about the boot imgs, just unlock the bootloader normally and boot the phone, don't go on the second step)
So after doing that, you should have platform tools and adb drivers installed, I am not going to tell you how to do that exactly but you should find tons of tutorials on the internet for both linux and windows. (I am going to be using Linux in this case but everything is the same for both windows and linux in this case)
Download this file: https://drive.google.com/file/d/13J2zlrUz84ZDSPERdosgNO6xdhwah4hl/view?usp=sharing
and paste it in your mtkclient folder (you should have that by now if you already unlocked the bootloader.)
{
"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"
}
Open the terminal and then type: python mtk w lk lk.bin
Now, power off your phone, hold both volume buttons and until it is done
Check if the phone boots into fastboot by holding volume down and power.
If it shows something like this then congrats, you have fastboot access now.
Flashing recovery is very easy now.
Download TWRP image from the TWRP website: https://twrp.me/realme/realme8i.html
Just keep it in the platform tools folder for now.
Boot into your phone, and download the magisk apk from here: https://github.com/topjohnwu/Magisk/releases
After downloading it, download ZArchiver from the Play Store and replace .apk with .zip and save it.
Now power off the phone and boot into fastboot/bootloader.
Open the terminal inside platform tools and:
fastboot flash recovery recovery.img
fastboot reboot recovery
You will be in your custom recovery now .
Now goto install, and select your magisk zip, and flash it normally.
After that is done, reboot to system and rename the magisk zip to apk again and install the apk.
Boom you have also rooted your device .
Thanks to Pritish for bootloader unlock guide and patched lk
also guys please let me know if you have any problems
here is how you can setup mtkclient on linux:
git clone https://github.com/bkerler/mtkclient
cd mtkclient
pip3 install -r requirements.txt
then you should have a mtkclient folder where u can execute the commands
bootloop on logo no way to fix hard to find how i can unbrick
the only thimg im able to do is on adb reflash the recovery and acces the Recovery TWRP but no way to acces the system
suauvia said:
bootloop on logo no way to fix hard to find how i can unbrick
the only thimg im able to do is on adb reflash the recovery and acces the Recovery TWRP but no way to acces the system
Click to expand...
Click to collapse
Just like bootloader unlock method, in MTK Tools, give this command:
#
python mtk e metadata,userdata,md_udc
#
(Without #)
Then connect your phone in BROM mode, then restart. it will be fine
suauvia said:
bootloop on logo no way to fix hard to find how i can unbrick
the only thimg im able to do is on adb reflash the recovery and acces the Recovery TWRP but no way to acces the system
Click to expand...
Click to collapse
be specific, did the lk file cause this or are you tryintg to unbrick through fastboot
if the lk caused this then tell me if you are on realme ui 3.0 or you are a narzo 50 user.
Sidharth09 said:
be specific, did the lk file cause this or are you tryintg to unbrick through fastboot
if the lk caused this then tell me if you are on realme ui 3.0 or you are a narzo 50 user.
Click to expand...
Click to collapse
thanks for your help but after doing so
python mtk e metadata,userdata,md_udc
nothing ha changed stil on realme logo and orange state and 5 seconds message and reloop reboot again
i was on UI 2,0 and updated firmware RMX3151 11.A_46
no idea if Lk make this
i have reflashed the stock recovery and format data also with TWRP recovery format data and cache but always on any move its a reloop reboot on Realme logo
-------
if i relock the bootloader ist possible to recover this phone and then how i can do this
im 67 old and not very used to this kind of operations
heroksiddiqi said:
Just like bootloader unlock method, in MTK Tools, give this command:
#
python mtk e metadata,userdata,md_udc
#
(Without #)
Then connect your phone in BROM mode, then restart. it will be fine
Click to expand...
Click to collapse
python mtk e metadata,userdata,md_udc
doneand nothing has changed
Is there a way to do this on a Mac? I have Realme 8i RMX3151 but do not have access to a Windows computer. Thank you.
I tried the Deep Testing App and it gives the following error "Failed to submit application. This phone model does not support deep testing."
suauvia said:
thanks for your help but after doing so
python mtk e metadata,userdata,md_udc
nothing ha changed stil on realme logo and orange state and 5 seconds message and reloop reboot again
i was on UI 2,0 and updated firmware RMX3151 11.A_46
no idea if Lk make this
i have reflashed the stock recovery and format data also with TWRP recovery format data and cache but always on any move its a reloop reboot on Realme logo
-------
if i relock the bootloader ist possible to recover this phone and then how i can do this
im 67 old and not very used to this kind of operations
Click to expand...
Click to collapse
u can always flash your stock LK again if it somehow made a problem so here
paste it in mtkclient and then
python mtk w lk lk.img
check if it fixes it!
jack1192 said:
Is there a way to do this on a Mac? I have Realme 8i RMX3151 but do not have access to a Windows computer. Thank you.
I tried the Deep Testing App and it gives the following error "Failed to submit application. This phone model does not support deep testing."
Click to expand...
Click to collapse
with mac it is not possible since mtkclient does not work on a mac
Sidharth09 said:
u can always flash your stock LK again if it somehow made a problem so here
paste it in mtkclient and then
python mtk w lk lk.img
check if it fixes it!
Click to expand...
Click to collapse
not working even worst even on fastboot it blocks about nserie decrypt or something like not remember well now i remake the process and get back to locked reboot on logo --- i would ask if i am on TWRP recovery and i want to flash a 7z firmware on .ofp files or a decrypted zip file do you think it will work ??
anyway trying to copy the 6 giigas firmware zip to an SD card the pc say that is too big to copy so maybe thru fastboot i can copt to the phone but i dont know about the command if you know about please let me know about the procedure if is positive way
or ist it any other way to recover the phone ??
finally i would like to install a Lineage customrom
suauvia said:
not working even worst even on fastboot it blocks about nserie decrypt or something like not remember well now i remake the process and get back to locked reboot on logo --- i would ask if i am on TWRP recovery and i want to flash a 7z firmware on .ofp files or a decrypted zip file do you think it will work ??
anyway trying to copy the 6 giigas firmware zip to an SD card the pc say that is too big to copy so maybe thru fastboot i can copt to the phone but i dont know about the command if you know about please let me know about the procedure if is positive way
or ist it any other way to recover the phone ??
finally i would like to install a Lineage customrom
Click to expand...
Click to collapse
finally i follow instructions on this link
[GUIDE][UNBRICK] Realme 8i/Narzo 50 Unbrick Free without Auth [RMX3151][RMX3286]
Hello everyone! So after the new mediatek DAA and SLA protection bypasses you can find github repo of here , using the bypass we are able to use SPFlash Tool, here is a guide how you can do it! This guide is for RMX3151 (Realme 8i) and RMX3286...
forum.xda-developers.com
[GUIDE][UNBRICK] Realme 8i/Narzo 50 Unbrick Free without Auth [RMX3151][RMX3286]​all well now
thanks your guide to unlock the bootloader works a charm no success with other ones
Sidharth09 said:
Hello everyone! In this guide, I Sidharth will tell you how to flash recovery, root and access bootloader on the Realme 8i and Narzo 50, you probably have seen another guide by Pritish, it's not wrong but it became kind of outdated .
So lets begin,
Requirements:
PC (with windows or linux installed)
Platform tools installed
First unlock the bootloader by following this guide: http://telegra.ph/HOW-TO-UNLOCK-BOOTLOADER-REALME-8INARZO-50-05-08
Or this guide: https://forum.xda-developers.com/t/...-flash-twrp-and-root-rmx3151-rmx3286.4369399/ (dont worry about the boot imgs, just unlock the bootloader normally and boot the phone, don't go on the second step)
So after doing that, you should have platform tools and adb drivers installed, I am not going to tell you how to do that exactly but you should find tons of tutorials on the internet for both linux and windows. (I am going to be using Linux in this case but everything is the same for both windows and linux in this case)
Download this file: https://drive.google.com/file/d/13J2zlrUz84ZDSPERdosgNO6xdhwah4hl/view?usp=sharing
and paste it in your mtkclient folder (you should have that by now if you already unlocked the bootloader.)View attachment 5682939
Open the terminal and then type: python mtk w lk lk.bin
View attachment 5682941
Now, power off your phone, hold both volume buttons and until it is done
View attachment 5682943
Check if the phone boots into fastboot by holding volume down and power.
If it shows something like this then congrats, you have fastboot access now.View attachment 5682945
Flashing recovery is very easy now.
Download TWRP image from the TWRP website: https://twrp.me/realme/realme8i.html
Just keep it in the platform tools folder for now.
Boot into your phone, and download the magisk apk from here: https://github.com/topjohnwu/Magisk/releases
After downloading it, download ZArchiver from the Play Store and replace .apk with .zip and save it.
Now power off the phone and boot into fastboot/bootloader.
Open the terminal inside platform tools and:
fastboot flash recovery recovery.img
fastboot reboot recovery
You will be in your custom recovery now .
Now goto install, and select your magisk zip, and flash it normally.
After that is done, reboot to system and rename the magisk zip to apk again and install the apk.
Boom you have also rooted your device .
Thanks to Pritish for bootloader unlock guide and patched lk
Click to expand...
Click to collapse
now I cannot turn on my phone after try to access recovery :/
hoangnguyen320 said:
now I cannot turn on my phone after try to access recovery :/
Click to expand...
Click to collapse
i holded power button for 5 minutes...
hoangnguyen320 said:
i holded power button for 5 minutes..
Click to expand...
Click to collapse
volume up and power?
Sidharth09 said:
Hello everyone! In this guide, I Sidharth will tell you how to flash recovery, root and access bootloader on the Realme 8i and Narzo 50, you probably have seen another guide by Pritish, it's not wrong but it became kind of outdated .
So lets begin,
Requirements:
PC (with windows or linux installed)
Platform tools installed
First unlock the bootloader by following this guide: http://telegra.ph/HOW-TO-UNLOCK-BOOTLOADER-REALME-8INARZO-50-05-08
Or this guide: https://forum.xda-developers.com/t/...-flash-twrp-and-root-rmx3151-rmx3286.4369399/ (dont worry about the boot imgs, just unlock the bootloader normally and boot the phone, don't go on the second step)
So after doing that, you should have platform tools and adb drivers installed, I am not going to tell you how to do that exactly but you should find tons of tutorials on the internet for both linux and windows. (I am going to be using Linux in this case but everything is the same for both windows and linux in this case)
Download this file: https://drive.google.com/file/d/13J2zlrUz84ZDSPERdosgNO6xdhwah4hl/view?usp=sharing
and paste it in your mtkclient folder (you should have that by now if you already unlocked the bootloader.)View attachment 5682939
Open the terminal and then type: python mtk w lk lk.bin
View attachment 5682941
Now, power off your phone, hold both volume buttons and until it is done
View attachment 5682943
Check if the phone boots into fastboot by holding volume down and power.
If it shows something like this then congrats, you have fastboot access now.View attachment 5682945
Flashing recovery is very easy now.
Download TWRP image from the TWRP website: https://twrp.me/realme/realme8i.html
Just keep it in the platform tools folder for now.
Boot into your phone, and download the magisk apk from here: https://github.com/topjohnwu/Magisk/releases
After downloading it, download ZArchiver from the Play Store and replace .apk with .zip and save it.
Now power off the phone and boot into fastboot/bootloader.
Open the terminal inside platform tools and:
fastboot flash recovery recovery.img
fastboot reboot recovery
You will be in your custom recovery now .
Now goto install, and select your magisk zip, and flash it normally.
After that is done, reboot to system and rename the magisk zip to apk again and install the apk.
Boom you have also rooted your device .
Thanks to Pritish for bootloader unlock guide and patched lk
Click to expand...
Click to collapse
you can already do this using fastbootd
How to install usbdk in linux? I am using archlinux.
Sidharth09 said:
volume up and power?
Click to expand...
Click to collapse
just power , i tried all vl and pwer
and the battery was 90%
kawsarahmed369 said:
How to install usbdk in linux? I am using archlinux.
Click to expand...
Click to collapse
u dont need those for linux

Root MIUI 13

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.

Flash stock rom from miui eu with TWRP

Hello. I have my 9t pro with the miui eu 11.08 rom. I want to downgrade and put a stock rom.
Can I do it with TWRP? I don't have windows to use myflash.
If I can do it, will it close the bootloader?
What wipes do I have to do? all? I guess I'll lose TWRP.
Thank you
scrubsfader said:
Hello. I have my 9t pro with the miui eu 11.08 rom. I want to downgrade and put a stock rom.
Can I do it with TWRP? I don't have windows to use myflash.
If I can do it, will it close the bootloader?
What wipes do I have to do? all? I guess I'll lose TWRP.
Thank you
Click to expand...
Click to collapse
No, you have to do 'full' flash - you have to use fastboot type stock ROM that must be installed from fastboot
Instead of flashing by MiFlash, unpack the tgz, inside you will find few bat scripts. Take the one whose name indicates that Factory reset is included, but that re-locking Bootloader is not included (or open the scripts in Notepad and study their contents)
Edit that script and remove downgrade protection (first five or six lines or so, with minimal DOS and Fastbooot commands knowledge you will understand how the script works and which lines must be removed or commented out - besides, comments are provided in the script)
Then run that modified script in Fastboot
(If you simply use MiFlash it would run that downgrade protection, hence it would not allow you to downgrade. Even worse, MiFlash will by default relock BL that could brick your phone if anything went wrong)
Google for more details - many guides are available on the Net, for various Xiaomi phones (always the same/similar) that describe the above method: unpacking tgz/fastboot ROM, editing the bat script and running the script in Fastboot (instead of by default flashing the tgz/fastboot ROM package by MiFlash)
zgfg said:
No, you have to do 'full' flash - you have to use fastboot type stock ROM that must be installed from fastboot
Instead of flashing by MiFlash, unpack the tgz, inside you will find few bat scripts. Take the one whose name indicates that Factory reset is included, but that re-locking Bootloader is not included (or open the scripts in Notepad and study their contents)
Edit that script and remove downgrade protection (first five or six lines or so, with minimal DOS and Fastbooot commands knowledge you will understand how the script works and which lines must be removed or commented out - besides, comments are provided in the script)
Then run that modified script in Fastboot
(If you simply use MiFlash it would run that downgrade protection, hence it would not allow you to downgrade. Even worse, MiFlash will by default relock BL that could brick your phone if anything went wrong)
Google for more details - many guides are available on the Net, for various Xiaomi phones (always the same/similar) that describe the above method: unpacking tgz/fastboot ROM, editing the bat script and running the script in Fastboot (instead of by default flashing the tgz/fastboot ROM package by MiFlash)
Click to expand...
Click to collapse
Thanks, but I don't have a Windows computer. And my flash only works with windows
scrubsfader said:
Thanks, but I don't have a Windows computer. And my flash only works with windows
Click to expand...
Click to collapse
I told you NOT TO USE the MiFlash but manually the scripts in Fastboot
If you have PC with Linux, you can do the same - tgz contains also the same/corresponding sh scripts for Linux
you can do all in TWRP and you won't lose TWRP, but it's long manual process. if you have another rooted android device handy, you can use fastboot via OTG adapter.

Categories

Resources