[Complete Tutorial] Root your Moto G9 Power with TWRP and Magisk: - Moto G9 Power Guides, News, & Discussion

mistersmee have made a post about how to root your device with Magisk, however this post is about how to root your device using a Magisk .Zip file and TWRP (You should know it as TeamWin Recovery Project..), this is an easier way to root your Moto G9 Power. But if you want you can also try the other method! ​How to root your Moto G9 Power (cebu)​Step 1 - Download needed files:
TWRP - Download TWRP for cebu;
Magisk .Apk file - Download only from Github;
ADB and FastBoot - I use ADB and FastBoot Minimal;
(Extremely recommended! But optional..) Device original rom - In case of bootloop.
Step 2 - Make a backup:
The following step will perform a factory data reset!
Step 3 - Unlock BootLoader:
Open ADB Window and type
Code:
fastboot oem get_unlock_data
(And hit enter)
You should get a code like this:
Code:
(bootloader) 0A40040192024205#4C4D3556313230
(bootloader) 30373731363031303332323239#BD00
(bootloader) 8A672BA4746C2CE02328A2AC0C39F95
(bootloader) 1A3E5#1F53280002000000000000000
(bootloader) 0000000
Open Notepad and remove anything but the code, the result should be like this
Code:
INFO0A40040192024205#4C4D3556313230INFO30373731363031303332323239#BD00INFO8A672BA4746C2CE02328A2AC0C39F95INFO1A3E5#1F53280002000000000000000INFO0000000
Proceed with login on Moto Care;
Go to Motorola Unlock page and paste the code;
Pick the unlock code provided by Motorola (Normally it should be emailed to you) and run
Code:
fastboot oem unlock {put the key here}
on ADB;
After this you phone should reset.
Step 4 - Flash TWRP:
Pick TWRP .Img file and put it in ADB folder;
Run the following commands:
Code:
fastboot flash recovery twrp.img
fastboot reboot
If you get any error try
Code:
fastboot boot twrp.img
;
Boot into TWRP.
Step 5 - Flash Magisk:
Change Magisk .Apk extension to .Zip;
On TWRP ignore any password screen, copy Magisk .Zip to phone;
Go to install and find the .Zip, flash it, and clean Dalvik Cache.
Done​

Related

[Q] Help: Unable to flash TWRP on unlocked bootloader after 4.4 update

I recently rolled back to the factory image to install the OTA 4.4 update (Sprint). I had an unlocked bootloader prior to the update and when I boot into recovery my device tells me I'm unlocked. I downloaded the TWRP image and used the following command from the boot loader:
Code:
mfastboot flash recovery twrp-2.6.3.1-ghost-4.4.img
When I run that command (I also tried "fastboot" in addition to mfastboot), it looks like everything worked OK but when I choose the "recovery" option from the bootloader my device boots into Android instead of into the recovery rom. When I try:
Code:
adb reboot recovery
My device displays the "No Command" recovery screen, as if it were booted using the stock Android recovery image instead of TWRP.
Am I missing a step somewhere to get TWRP on my device?
danherbert said:
I recently rolled back to the factory image to install the OTA 4.4 update (Sprint). I had an unlocked bootloader prior to the update and when I boot into recovery my device tells me I'm unlocked. I downloaded the TWRP image and used the following command from the boot loader:
Code:
mfastboot flash recovery twrp-2.6.3.1-ghost-4.4.img
When I run that command (I also tried "fastboot" in addition to mfastboot), it looks like everything worked OK but when I choose the "recovery" option from the bootloader my device boots into Android instead of into the recovery rom. When I try:
Code:
adb reboot recovery
My device displays the "No Command" recovery screen, as if it were booted using the stock Android recovery image instead of TWRP.
Am I missing a step somewhere to get TWRP on my device?
Click to expand...
Click to collapse
So after flashing recovery did you try to access twrp prior to rebooting to the system?
Sent on my Moto X
flashallthetime said:
So after flashing recovery did you try to access twrp prior to rebooting to the system?
Click to expand...
Click to collapse
Yes. I've tried accessing recovery directly from the fastboot menu immediately after flashing.
danherbert said:
Yes. I've tried accessing recovery directly from the fastboot menu immediately after flashing.
Click to expand...
Click to collapse
OK, you're going to hate this but you need to rsdlite your carriers kitkat sbf firmware, its happened to more than a few people including me, recovery just won't stick after taking an ota for some folks
Sent on my Moto X
flashallthetime said:
OK, you're going to hate this but you need to rsdlite your carriers kitkat sbf firmware, its happened to more than a few people including me, recovery just won't stick after taking an ota for some folks
Click to expand...
Click to collapse
Your suggestion worked. I didn't have easy access to a Windows machine so I couldn't use rsdlite. I had to manually reset to stock. For anyone who stumbles upon this thread, these are the steps I used which worked for me:
Make sure adb and fastboot from the Android SDK are already part of your PATH.
Download moto-fastboot for Mac OS X
Download the Kitkat 4.4 update for Sprint (Make sure to download the version that matches the build number from "Settings -> About Phone" in your device)
Download the Kitkat 4.4 version of TWRP
Extract the factory image .zip to a folder
Copy the moto-fastboot binary to the folder you extracted the factory image to and rename it to "mfastboot"
Copy the TWRP .img file to the folder with the factory image files
Create a file named "factoryreset.sh" and paste the following as its contents
Code:
#!/bin/sh
FASTBOOT=./mfastboot
$FASTBOOT getvar max-download-size
$FASTBOOT oem fb_mode_set
$FASTBOOT flash partition gpt.bin
$FASTBOOT flash motoboot motoboot.img
$FASTBOOT flash logo logo.bin
$FASTBOOT flash boot boot.img
$FASTBOOT flash recovery recovery.img
$FASTBOOT flash system system.img
$FASTBOOT flash modem NON-HLOS.bin
$FASTBOOT erase modemst1
$FASTBOOT erase modemst2
$FASTBOOT flash fsg fsg.mbn
$FASTBOOT erase cache
$FASTBOOT erase userdata
$FASTBOOT erase customize
$FASTBOOT erase clogo
$FASTBOOT oem config carrier sprint
$FASTBOOT oem fb_mode_clear
Open a terminal and navigate to the directory you created
On your device, navigate to "Settings -> About Phone" and tap on the build number 7 times to enable developer mode
Go back to the main "Settings" screen, open "Developer Options", and enable USB Debugging
Connect your device to your computer. Go back to your device, make sure you choose to trust your computer to use ADB in the dialog that pops up, then run the following command from your terminal
Code:
adb reboot-bootloader
Once your device is in fastboot mode, run the command
Code:
sh factoryreset.sh
From the device choose to boot normally and wait for it to finish booting completely.
Run the command
Code:
adb reboot-bootloader
Once the device is in fastboot mode again, run the command
Code:
fastboot flash recovery twrp-2.6.3.1-ghost-4.4.img
From your device, power up normally then reboot into the recovery. If everything went smoothly you'll boot into TWRP recovery.
Code:
adb reboot recovery

[Q] find a way to root my phone

Hello
Can anyone help me to root my m7 without unlocking my phone ( im in GPE kitkat s-on )
please
imadsaber said:
Hello
Can anyone help me to root my m7 without unlocking my phone ( im in GPE kitkat s-on )
please
Click to expand...
Click to collapse
Nope you have to do it like everyone else
unlock bootloader - flash custom recovery - root
clsA said:
Nope you have to do it like everyone else
unlock bootloader - flash custom recovery - root
Click to expand...
Click to collapse
the problem is im stock in gpe rom ! & in gpe rom you cant unlocking your bootloader that why i need a root whitout unlocking bootloader
imadsaber said:
the problem is im stock in gpe rom ! & in gpe rom you cant unlocking your bootloader that why i need a root whitout unlocking bootloader
Click to expand...
Click to collapse
Google is Amazing
https://www.google.com/search?q=Roo...la:en-US:official&client=firefox-a&channel=sb
clsA said:
Google is Amazing
https://www.google.com/search?q=Roo...la:en-US:official&client=firefox-a&channel=sb
Click to expand...
Click to collapse
But all the methods in google use unlocking bootloader ! & this my problem i cant use unlocking bootloader methode
imadsaber said:
But all the methods in google use unlocking bootloader ! & this my problem i cant use unlocking bootloader methode
Click to expand...
Click to collapse
Hint:
fastboot oem unlock
I. Before You Begin
1. This will void the warranty of your device. However, you can reinstate the warranty by unrooting your device if there’s any unrooting procedure available.
2. This should unlock your bootloader as well as flash a custom recovery on your device.
II. Downloading Required Files
1. Download Fastboot and save it to your Desktop.
Fastboot
2. Download TWRP Recovery and save it to your Desktop.
TWRP Recovery (Download the latest version available)
3. Download SuperSU and save it to your Desktop.
SuperSU
III. Unlocking the Bootloader of the HTC One Google Play Edition
1. Extract files from Fastboot archive by right-clicking on it and selecting Extract here.
2. Enable USB debugging on your device by heading to Menu > Settings > Developer options > USB debugging.
3. Plug in your device to your PC using the USB cable.
4. Launch a Command Prompt Window on your Desktop. To do that, simply hold down Shift and right-click on any blank area on your screen and select Open command window here.
5. Type in following command into the Command Prompt Window:
adb reboot bootloader
6. Your device should reboot into the bootloader mode.
7. Once in, issue the following command:
fastboot oem unlock
8. A prompt will appear on your device, hit Yes and you should be good to go.
9. You’re done!
Grea! Your bootloader is now unlocked and you’re all ready to flash a custom recovery on your device.
IV. Flash a Custom Recovery on the HTC One Google Play Edition:
1. Ensure that the USB debugging option is enabled on your device by going to Menu > Settings > Developer options > USB debugging.
2. Open a Command Prompt Window on your Desktop by holding down Shift and right-clicking on any blank area and selecting Open command window here.
3. Type in following command into the Command Prompt Window:
adb reboot bootloader
4. Your device should reboot into the bootloader mode.
5. Now type in following command into the Command Prompt Window. Make sure to replace recovery.img with the actual name of the Recovery Image you have downloaded:
fastboot flash recovery recovery.img
6. It should flash the TWRP Recovery on your device, shouldn’t take too long to finish.
7. Once the recovery’s been flashed, type in following command:
fastboot reboot
8. Your device should reboot.
9. You’re done!
Brilliant! You’ve successfully flashed a custom recovery on your device, let’s see how you can root it.
V. Rooting the HTC One Google Play Edition
1. Connect your device to your PC via USB cable.
2. Copy the SuperSU zip from your Desktop over to the root of your SD card.
3. Now open a Command Prompt Window on your Desktop. To do so, simply hold down Shift and right-click on any blank area on your screen and select Open command window here.
4. Type in following command into the Command Prompt Window:
adb reboot recovery
5. Your device should reboot into the TWRP Recovery.
6. Once in Recovery, select Install and choose the SuperSU zip to be installed on your device.
7. Once the zip has been installed, reboot your device.
8. You’re all done!
All set! Now, you can head to our How to Flash a Custom ROM procedure for the HTC One Google Play Edition to open up a whole new world of customizations for your Android device!
By the way, don’t be scared, you can always put your device back to stock by heading to our Rooting How To’s section, finding your device, and doing the How to Unroot listed for it there.
Click to expand...
Click to collapse
clsA said:
Hint:
fastboot oem unlock
Click to expand...
Click to collapse
this cmd dont work
...
(bootloader) [PG_ERROR] htc_pg_part_traverse(839):
(bootloader) invalid traverse range
(bootloader) [PG_ERROR] htc_pg_part_read(1029):
(bootloader) htc_pg_part_traverse failed
(bootloader) [DISPLAY_ERR] sp_custom partition: unlock_disp_buf.img_buf r
(bootloader) ead error!
(bootloader) [DISPLAY_ERR] Can not load custom splash!
(bootloader) Loading custom splash failed!
OKAY [ 0.530s]
finished. total time: 0.546s
any others solutions
imadsaber said:
this cmd dont work
...
(bootloader) [PG_ERROR] htc_pg_part_traverse(839):
(bootloader) invalid traverse range
(bootloader) [PG_ERROR] htc_pg_part_read(1029):
(bootloader) htc_pg_part_traverse failed
(bootloader) [DISPLAY_ERR] sp_custom partition: unlock_disp_buf.img_buf r
(bootloader) ead error!
(bootloader) [DISPLAY_ERR] Can not load custom splash!
(bootloader) Loading custom splash failed!
OKAY [ 0.530s]
finished. total time: 0.546s
any others solutions
Click to expand...
Click to collapse
yeah join the crowd here >> http://forum.xda-developers.com/showthread.php?t=2547894
or here >> http://forum.xda-developers.com/showthread.php?t=2664757
sunshine s-off

Unable to Root MRA58N

I have been going at it for a week straight and unable to find help. I am using Nexus Root Tool Kit 2.1.0. My Device is unlocked and OEM unlocked. However when i try to root the phone restarts into AP Fastboot Mode and nothing happens but the program seems like its trying but just unable to finish.
Log File:
Nexus Root Toolkit v2.1.0
Masterlists:
- LatestToolkitFiles.ini 3099
- AndroidDeviceListFull.ini 3099
- AndroidDeviceListFlash.ini 3099
SHAMU-SHAMU: Android 6.0.0 - Build: MRA58N
Live log initiated [2015-11-28]:
Checking ADB/FASTBOOT Connectivity
adb devices
fastboot devices
ZX1G225J9J fastboot
Connectivity Status: Fastboot Device Connected
+ Confirmed: Bootloader Unlocked.
Flashing Root Kernel to BOOT partition...
fastboot flash boot "C:\Program Files (x86)\WugFresh Development\Nexus Root Toolkit\data\Root_Files\root_kernel_shamu_mra58n.img"
Checking ADB/FASTBOOT Connectivity
adb devices
fastboot devices
ZX1G225J9J fastboot
Connectivity Status: Fastboot Device Connected
Rebooting your device...
Waiting for your device...
I have also tried to flash a custom boot.img but NRT stops at rebooting device.
Checking ADB/FASTBOOT Connectivity
adb devices
fastboot devices
ZX1G225J9J fastboot
Connectivity Status: Fastboot Device Connected
Flashing boot.img to BOOT partition...
fastboot flash boot "C:\Users\Dave\Desktop\volantis-mra58n-boot-system\boot.img"
Rebooting your device into bootloader mode...
fastboot reboot-bootloader
my screen just never does anything i remember last time i rooted on Android L it went with no problems.
just stays at
AP Fast boot Flash Mode (Secure)
BL: moto-apq8084-71.15 (sha-96f7faf, 2015-08-04 11:36:17)
Base Band : D4.01-9625-05.27+fsg-9625-02.104
just installed ADB and tried from command prompt to flash TWRP and i got failed (data transfer failure (unknown error) )
well, you are doing it wrong for a nexus owner, you dont need a root toolkit. to root m you need to flash any custom kernel for m as well as the latest supersu(as well as the latest twrp recovery so you can flash a custom kernel and supersu).
Don't use Root kits and follow these steps. Start from step 1 if you already have your bootloader unlocked and if you have SDK tools installed (adb and fastboot). And you should be fine...
yes wont let me install recovery TWRP
C:\Program Files (x86)\Android\android-sdk\platform-tools>adb devices
List of devices attached
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
C:\Program Files (x86)\Android\android-sdk\platform-tools>adb devices
List of devices attached
C:\Program Files (x86)\Android\android-sdk\platform-tools>fastboot flash recovery recovery.img
target reported max download size of 536870912 bytes
sending 'recovery' (11700 KB)...
FAILED (data transfer failure (Unknown error))
finished. total time: 5.012s
C:\Program Files (x86)\Android\android-sdk\platform-tools>
thats because you dont use adb for this. you have to use fastboot while you are in your recovery. read that again, FASTBOOT instead of ADB. you always use fastboot to flash the factory image or any part of it, or twrp recovery.
simms, the command he posted that failed WAS fastboot.
HOWEVER, if adb is reporting devices, you are likely either booted to android or recovery... reboot to the bootloader
(turn off device, then hold volume down and while holding vol down press and hold power until the device boots to the bootloader mode.
Make sure that you have twrp in the same folder, and that you have renamed it to recovery.img (not .img.img as a lot of people accidently do) That last part isn't completely necessary, as its really just "fastboot flash recovery <file name>", and you can replace <file name> with the name of the recovery image it doesn't HAVE to be recovey.img, and it doesn't have to be in the same folder if you include path... but people find it easier to just rename it to recovery.img, copy it to their platform tools folder and use the command you ran.
ahh.. yea @scryan i didnt see that fastboot was used(later in the post). now i see hes uding adb devices instead of fastboot devices.
As far as I can see, you are trying to flash recovery using fastboot flash recovery recovery.img while not in bootloader (or you didn't copy everything you did).
You should:
1. adb reboot bootloader (your phone will reboot into bootloader)
2. now you can write "fastboot devices" to see if your phone is recognized
2. then if it's there: "fastboot flash recovery recovery.img"
EDIT: If you still did everything correctly, quick google search said it could be problem with computer's USB port. Try another port...
I have tried every port on my pc some give unrecognized USB error while others work. If I am able to charge and transfer files along with send adb commands (restart phone,adb sees my phone) does that rule out the USB cable? I bought a pack of four on ebayhttp://m.ebay.com/itm/4x-6Ft-Micro-USB-Charger-Sync-Data-Cable-Nylon-Braided-for-Samsung-Galaxy-HTC-/221891441910?txnId=1650092351012
I no longer have the cable I used to flash marshmallow but I did use this to unlock the device.

Problem installing not incremental ROM

Well I have tried to install MIUI ROM 6.5.26 after not processing updates for months (since november).
So I downloaded latest ROM and put it to the top of the partitions and then I wiped everything and that's where i might have done a mistake: I wiped internal storage (inside TWRP 2.8.7 i found there http://forum.xda-developers.com/mi-...timizing-leo-miui-advanced-tweaks-to-t3286972) then I might have might done a second mistake: I have done the command fastboot 'flash boot boot.img' as I read on an old HTC forum.
Then I pushed the latest ROM to the phone (as it was not there after the wipes) and when I tried installing it, it gave E: unable to mount 'cache' .
Now it seems i cannot enter TWRP, only Fastboot or I am stuck with MI logo.
I just want to install latest ROM, as I have done Titanium Backup before all the mess.
I don't know where i should start.
I am on mac so cannot use Mi Flash
EMJI79 said:
Well I have tried to install MIUI ROM 6.5.26 after not processing updates for months (since november).
So I downloaded latest ROM and put it to the top of the partitions and then I wiped everything and that's where i might have done a mistake: I wiped internal storage (inside TWRP 2.8.7 i found there http://forum.xda-developers.com/mi-...timizing-leo-miui-advanced-tweaks-to-t3286972) then I might have might done a second mistake: I have done the command fastboot 'flash boot boot.img' as I read on an old HTC forum.
Then I pushed the latest ROM to the phone (as it was not there after the wipes) and when I tried installing it, it gave E: unable to mount 'cache' .
Now it seems i cannot enter TWRP, only Fastboot or I am stuck with MI logo.
I just want to install latest ROM, as I have done Titanium Backup before all the mess.
I don't know where i should start.
Click to expand...
Click to collapse
you wiped internal sd so you have nothing the only way to solve is
Download the fastboot ROM https://www.dropbox.com/s/dg198q49dctzfgr/leo_images_5.11.26_20151104.0000.4_5.1_cn.tar.gz?dl=0 (recomend this others from this year locked bootloader)
Extract it to the same directory you extracted ADB/Fastboot
Press "Windows key + X" -> "Command Prompt (administrator)
In command prompt, go to your folder where your ADB/Fastboot are, assuming they are in C:\Fastboot, you type
> cd C:\Fastboot
> C:
10. Once in the "C:\Fastboot" folder, you will need to issue a chain of commands to flash critical images, so type:
C:\Fastboot>fastboot devices
C:\Fastboot>fastboot flash tz tz.mbn
C:\Fastboot>fastboot flash dbi sdi.mbn
C:\Fastboot>fastboot flash sbl1 sbl1.mbn
C:\Fastboot>fastboot flash rpm rpm.mbn
C:\Fastboot>fastboot flash aboot emmc_appsboot.mbn
C:\Fastboot>fastboot erase boot
C:\Fastboot>fastboot flash misc misc.img
C:\Fastboot>fastboot flash modem NON-HLOS.bin
C:\Fastboot>fastboot flash system system.img
C:\Fastboot>fastboot flash cache cache.img
C:\Fastboot>fastboot flash userdata userdata.img
C:\Fastboot>fastboot flash recovery recovery.img
C:\Fastboot>fastboot flash boot boot.img
C:\Fastboot>fastboot reboot
Now you're all set and should be able to boot normally.
after you can install recovery
to install recoverytwrp https://www.dropbox.com/s/hkuwc6d881im2hy/TWRP_leo.zip?dl=0
Extract it to the same directory you extracted ADB/Fastboot
Press "Windows key + X" -> "Command Prompt (administrator)
In command prompt, go to your folder where your ADB/Fastboot are, assuming they are in C:\Fastboot, you type
> cd C:\Fastboot
> C:
Once in the "C:\Fastboot" folder, you will need to issue a chain of commands to flash critical images, so type:
C:\Fastboot>fastboot devices
C:\Fastboot>fastboot flash recovery TWRP.img
C:\Fastboot>fastboot reboot
done now you can install latest rom from xiaomi.eu Does not locked bootloader
helderfp said:
you wiped internal sd so you have nothing the only way to solve is
Download the fastboot ROM https://www.dropbox.com/s/dg198q49dctzfgr/leo_images_5.11.26_20151104.0000.4_5.1_cn.tar.gz?dl=0 (recomend this others from this year locked bootloader)
Extract it to the same directory you extracted ADB/Fastboot
Press "Windows key + X" -> "Command Prompt (administrator)
In command prompt, go to your folder where your ADB/Fastboot are, assuming they are in C:\Fastboot, you type
> cd C:\Fastboot
> C:
10. Once in the "C:\Fastboot" folder, you will need to issue a chain of commands to flash critical images, so type:
C:\Fastboot>fastboot devices
C:\Fastboot>fastboot flash tz tz.mbn
C:\Fastboot>fastboot flash dbi sdi.mbn
C:\Fastboot>fastboot flash sbl1 sbl1.mbn
C:\Fastboot>fastboot flash rpm rpm.mbn
C:\Fastboot>fastboot flash aboot emmc_appsboot.mbn
C:\Fastboot>fastboot erase boot
C:\Fastboot>fastboot flash misc misc.img
C:\Fastboot>fastboot flash modem NON-HLOS.bin
C:\Fastboot>fastboot flash system system.img
C:\Fastboot>fastboot flash cache cache.img
C:\Fastboot>fastboot flash userdata userdata.img
C:\Fastboot>fastboot flash recovery recovery.img
C:\Fastboot>fastboot flash boot boot.img
C:\Fastboot>fastboot reboot
Now you're all set and should be able to boot normally.
after you can install recovery
to install recoverytwrp https://www.dropbox.com/s/hkuwc6d881im2hy/TWRP_leo.zip?dl=0
Extract it to the same directory you extracted ADB/Fastboot
Press "Windows key + X" -> "Command Prompt (administrator)
In command prompt, go to your folder where your ADB/Fastboot are, assuming they are in C:\Fastboot, you type
> cd C:\Fastboot
> C:
Once in the "C:\Fastboot" folder, you will need to issue a chain of commands to flash critical images, so type:
C:\Fastboot>fastboot devices
C:\Fastboot>fastboot flash recovery TWRP.img
C:\Fastboot>fastboot reboot
done now you can install latest rom from xiaomi.eu Does not locked bootloader
Click to expand...
Click to collapse
OK thanks a lot. :good:
I will try that tonight or tomorrow (already downloading from your dropbox, thanks again).
I'll let you know.
Only i dont understand: (recomend this others from this year locked boot loader) ?
EMJI79 said:
Only i dont understand: (recomend this others from this year locked boot loader) ?
Click to expand...
Click to collapse
It broke halfway, so I am trying again. Thank you for your patience.
Well, I downloaded it entirely and tried "fastboot the tz", then I get -> "device is locked. Cannot flash images"...
So I guess I locked my bootloader already, somehow... :crying:
EMJI79 said:
Well, I downloaded it entirely and tried "fastboot the tz", then I get -> "device is locked. Cannot flash images"...
So I guess I locked my bootloader already, somehow... :crying:
Click to expand...
Click to collapse
ok
so you have to do this
Download Xiaomi MiFlash Tool and install it to your PC https://www.dropbox.com/s/1qntzckybxg3rr4/MiSetup3.2.1.3111_2717.zip?dl=0
Download Qualcomm Driver 32-bit https://www.dropbox.com/s/klnn6h9z7038u80/QDLoader HS-USB Driver_32bit_Setup.zip?dl=0 OR Qualcomm Driver 64-bit https://www.dropbox.com/s/gvizx1ja1vmihox/QDLoader HS-USB Driver_64bit_Setup.zip?dl=0 install it to your PC
Enter your phone in fastboot mode
in command promt wrtite:
cmd
cd C:\fastboot
fastboot devices
fastboot oem edl
After the last command Your Note pro detected as a new device
Launch MiFlash and flash Note pro not locked ROM if you get one error at the midle (not at the beginnig) of flashing dont worry, you have unlocked bootloader, and you can folow the previous steps you already tried
The latest roms from xiaomi (since January 2016) lockes bootloader that is why i recomend that on the link.
Thanks
But I am on Mac, no MiFlash, only ADB, fastboot...
EMJI79 said:
Thanks
But I am on Mac, no MiFlash, only ADB, fastboot...
Click to expand...
Click to collapse
to work on mac
Download the fastboot ROM for your Mi phone and place it on your desktop. Double-click on it and Archive Utility will extract the file on the desktop, so you'll get a folder,
now go to terminal an type
cd C:\fastboot
fastboot devices
fastboot oem edl
In order to use the fastboot scripts, you should go to the folder. For that purpose, execute the following command (the folder name may be different in your case, the example below is for cancro):
cd ~/Desktop/cancro_global_images_V7.0.5.0.KXDMICI_20151016.0000.3_4.4_global
Copy the Code
Quick tip: you don't need to write the whole folder name, just type cd ~/Desktop/cancro, then press the Tab key and Terminal will append the folder name automatically.
Once inside, you need to make the scripts (all the files with .sh extension) executable. Execute the following command:
chmod +x ./*.sh
Now, the scripts are ready to use. In order to start the process, issue one of the following commands:
./flash_all.sh
or
./flash_all_except_storage.sh
or
./flash_all_except_data_storage.sh
When you start any of the scripts, you'll see the fastboot messages, flowing through the Terminal window. Once the script has done its work, the phone will restart itself automatically.
When I change directory for the fastboot ROM directory, the fastboot screen on my phone disappears. I have done the steps after that but i see no message on the terminal or the phone screen. My phone screen is black.
Edit: In fact the fastboot screen on my phone disappears when I type fastboot oem edl in my terminal although i get the message OKAY in my terminal.
EMJI79 said:
When I change directory for the fastboot ROM directory, the fastboot screen on my phone disappears. I have done the steps after that but i see no message on the terminal or the phone screen. My phone screen is black.
Edit: In fact the fastboot screen on my phone disappears when I type fastboot oem edl in my terminal although i get the message OKAY in my terminal.
Click to expand...
Click to collapse
so don't change the directory put the rom in the fastboot folder and do the next step
if you are not able to flash in your mac try in another pc (windows)
Don't you think I just locked my bootloader and I need to do the apply stuff for getting my phone unlocked?
EMJI79 said:
Don't you think I just locked my bootloader and I need to do the apply stuff for getting my phone unlocked?
Click to expand...
Click to collapse
you dont need
just try
put rom in fastboot folder and
cd C:\fastboot
fastboot devices
fastboot oem edl
chmod +x ./*.sh
./flash_all.sh
to unlock bootloader the previous steps (not this) work fine on windows
http://en.miui.com/thread-237832-1-1.html
https://xiaomi.eu/community/threads/mi-note-pro-complete-beginners-guide.30817/
every time I type:
fastboot oem edl
the screen of the smartphone goes off
Maybe I will buy Windows to make it work in VM...
Only can you interpretate why fastboot oem edl makes the screen go off?
EMJI79 said:
Maybe I will buy Windows to make it work in VM...
Only can you interpretate why fastboot oem edl makes the screen go off?
Click to expand...
Click to collapse
do you have qualcom drivers instaled?
No
Will try tomorrow.
Thanks again.
The link to your dropbox for Qualcomm drivers is for Windows, i found that:https://developer.qualcomm.com/download/software
and Snapdragon SDK but I have to register.
Is Snapdragon SDK actually Qualcomm drivers?
helderfp said:
do you have qualcom drivers instaled?
Click to expand...
Click to collapse
Hello,
OK, no Qualcomm drivers for Mac it seems... I have searched thoroughly and haven't found. I have asked a en.miui dev and waiting for the response.. Don't have them?

Unbrick BL unlocked device (HSTool nor DLOAD method working)

Another method for unbricking EMUI 9 devices. For advanced users (not mentioning links to TWRP, to FullOTA factory images... there are other threads dedicated to that). Tested on Mate 20 Pro.
This method should help when:
1. Device has bootloader unlocked (unusable for locked bootloaders)
2. System fails to boot. HiSuite (HSTool) restore method does not work (fails in stage "Install recovery") nor does DLOAD method work (after VolUp+VolDn+Pwr action system continues booting or ends in 5% Installation and bootloops).
3. Fastboot mode is working
The reason might be wiped/corrupted eRecovery paritition.
Huge credits and thanks to @OldDroid for having educated me about eRecovery and about flashing it.
Steps:
1. Download FullOTA factory image
2. Extract UPDATE. APP file
3. Extract ERECOVERY_KERNE.img, ERECOVERY_RAMDI.img, ERECOVERY_VENDO.img, ERECOVERY_VBMET.img (guide:
OpenKirin - guide to extract partition images)
4. Boot into fastboot
5. Install and boot TWRP (
Code:
fastboot flash recovery_ramdisk twrp.img
)
6. Copy (e.g. via MTP, while connected to the computer) the 4 previously extracted images to internal storage or SD
7. Enter TWRP shell and execute:
Code:
ls -l /dev/block/bootdevice/by-name/
8. Check partition names, in case of Mate 20 Pro they are:
Code:
erecovery_kernel /dev/block/sdd37
erecovery_ramdisk /dev/block/sdd38
erecovery_vbmeta /dev/block/sdd53
erecovery_vendor /dev/block/sdd39
9. Copy the extracted files into corresponding partitions:
Code:
dd if=./ERECOVERY_KERNE.img of=/dev/blck/sdd37
dd if=./ERECOVERY_RAMDI.img of=/dev/blck/sdd38
dd if=./ERECOVERY_VENDO.img of=/dev/blck/sdd39
dd if=./ERECOVERY_VBMET.img of=/dev/blck/sdd53
10. Reboot to fastboot and flash stock recovery via
Code:
fastboot flash recovery_ramdisk stock_recovery.img
Now you should be good to go for DLOAD (recommended for soft-brick recovery) and HSTool methods.
Would this be for Error mode?
func no : 11 (recovery image)
error no : 2 (load failed!)
This error is what happens when I try Dload.
ReyneBow said:
Would this be for Error mode?
func no : 11 (recovery image)
error no : 2 (load failed!)
This error is what happens when I try Dload.
Click to expand...
Click to collapse
Depends on what is actually broken. If the error is caused by a broken eRecovery image, than this could help. I can't tell, the error codes displayed tell me nothing. One can also update eRecovery if it is extracted from a more recent firmware - e.g. EMUI 9.1.

Categories

Resources