Related
This is for Marshmallow B13. However, I can confirm that installing twrp using tenfars tool still works even on latest B17 nougat or B08 mifavor 5.
However, some users don't have luck with it.
I advise to check first on Axon Toolkit located here:
https://forum.xda-developers.com/axon-7/development/tool-axon7toolkit-t3573108
I made this guide for users who haven't unlocked and rooted their A2017 B13 chinese version.
After reading so many guides here from @tenfar, @DrakenFX, and many others, I finally unlocked bootloader, rooted, installed TWRP and Xposed.
I take no responsibility if anything happens to your phone while doing this process. Just follow every step stated here and hope you don't mess around. Please READ all the instructions here first before doing anything.
Backup all your important data before you do any steps below. This process will delete all contents of your phone except external sdcard.
Step 1: Download the zip file and extract all files to your local disk in one folder.
TWRP recovery 3.1.0-0
axon7root.zip
TWRP_UnlockBootloaderPackage_by_DrakenFX.zip do not extract this file.
Step 2: Enable USB debugging and OEM unlocking under Developer options. to show Developer options, go to Settings, About phone, tap Build Number 7x.
Step 3: Open Windows Explorer and browse to the folder where you extracted the files downloaded above. Press and hold SHIFT key then right click and choose Open Command Window here. type:
Code:
adb reboot edl
This will reboot the phone in edl mode where it's just black screen.
Step 4: Install the Qualcomm's driver .
Download Qualcomm driver to your local disk ,extract and install it
Qualcomm 9008 driver : http://d-h.st/35tx
in the install process choose WWAN, the first option.
Alternative: you could just also install the native drivers provided by the phone. If you have done step 2 already, just long press Power button for about 10seconds to reboot to its system. Once booted, connect your phone to your pc via usb and swipe down from the notification. Choose "install drivers" from the connect options. Open your Windows Explorer and find the new drive containing the driver. After installing, repeat step 3.
Step 5 : open your PC's device manager and find out the com port number which your phone is from COM ports & LPT tree.
Code:
Usage Example: axon7root.exe -p COM4 -b -r
Options:
-p Port number eg: COM8 or 8
-b write boot.img only
-r write recovery.img only
-d dump boot.img and recovery.img from phone(not impl yet)
Step 6: in the command window from step 3, type:
Code:
axon7backup.exe -p COM# -d
replace # with the number of your COM PORT.
This will save the backup files for you stock boot and recovery image.
Step 7: to install TWRP, type:
Code:
axon7root.exe -p COM# -r
Step 8: reboot to TWRP by holding POWER + UP buttons.
Optional:
Step 8a: Copy twrp-3.1.0-0-ailsa_ii.img to your sdcard/extsd. Update to latest TWRP. Install -> IMG (lower right button) -> choose twrp-3.1.0-0-ailsa_ii.img. (Don't reboot to system yet)
Step 8b: From the TWRP, find Reboot to recovery. verify that you have version 3.1.0-0 already.
Step 9: Copy TWRP_UnlockBootloaderPackage_by_DrakenFX.zip to your sdcard/extsd.
Step 10: Back-up and pull current fastboot image. Type:
Code:
adb shell dd if=/dev/block/bootdevice/by-name/fbop of=/sdcard/fbop_lock.img
adb pull /sdcard/fbop_lock.img
Step 11: Flash/Install TWRP_UnlockBootloaderPackage_by_DrakenFX.zip. (do not reboot yet)
Step 12: Type:
Code:
adb reboot bootloader
Step 13: Now let's Unlock the Bootloader. (THIS WILL WIPE DATA+INTERNAL STORAGE)
Type:
Code:
fastboot oem unlock
Confirm yes from your phone.
Step 14: You'll boot in TWRP. once there do the following:
Code:
* tap CANCEL
* tap WIPE
* tap FORMAT DATA and Follow the Instructions
Step 15: Once done, REBOOT system. Follow the setup wizard to gain access to your phone. enable USB debugging again.
Optional: To install root, Boot to recovery again and install/flash SUPERSU 2.79. download at UPDATE-SuperSU-v2.79-20161211114519.zip and copy to your sdcard.
To install Xposed (for MM only), flash xposed-v87-sdk23-arm64.zip and install the apk XposedInstaller_3.1.1.apk.
Do not REBOOT after installation of Supersu and Xposed. Instead, go to Terminal and type:
Code:
reboot disemmcwp
Credits to all the great minds here in xda for doing all their best.
UPDATE: TWRP flashable zips available. Credits to @parazite69 and the russians for these.
parazite69 said:
Hi just used from a russian website , Flashable b13 zip!
ZTE_A2017V1.0.0B13_BootStack_by_djkuz.zip https://mega.nz/#!AwpE3Lyb!vQuJlu6apdIrqdBqqgxEHsiKdy3Aje3vdqXJupa9A4s
CRC32: CEE662FD
MD5: 67635E2EEE51BFF0E3B6F73591BA88B8
SHA-1: DAC1646FD8B0349CF262C7FD4C15987D5F700304
ZTE_A2017V1.0.0B13_StockSystem_by_djkuz.zip https://mega.nz/#!gpJyGCiC!0CkXk0yj17HK-JTkvkM5JuKflqeeCugZQosmbGj9xPk
CRC32: 79D0419A
MD5: DDD785A98FD32144920970B6B6BE8089
SHA-1: C96EDFE8F414A0D6904DAB1ED8673591D8DE496B
I am using it and it works! I Have just updated the bootstack and then installed the ZAD rom, but if you like the stock just install them both!
Click to expand...
Click to collapse
I'm stuck at B11 A2017 chinese version, can you give me a link for B13 for twrp flash?
danromania said:
I'm stuck at B11 A2017 chinese version, can you give me a link for B13 for twrp flash?
Click to expand...
Click to collapse
I would like this as well.
danromania said:
I'm stuck at B11 A2017 chinese version, can you give me a link for B13 for twrp flash?
Click to expand...
Click to collapse
BlazingBullets said:
I would like this as well.
Click to expand...
Click to collapse
I suggest do a full update to b13 using sdcard update first..
the file can be found on this thread.
https://forum.xda-developers.com/axon-7/development/axon-7-chinese-stock-roms-t3436817
When I got my phone, it was also on B11 rooted. but I upgraded it to B13 without problems.
otaconremo said:
I suggest do a full update to b13 using sdcard update first..
the file can be found on this thread.
https://forum.xda-developers.com/axon-7/development/axon-7-chinese-stock-roms-t3436817
When I got my phone, it was also on B11 rooted. but I upgraded it to B13 without problems.
Click to expand...
Click to collapse
doesn't work if you are unlocked or not using the stock recovery
BlazingBullets said:
doesn't work if you are unlocked or not using the stock recovery
Click to expand...
Click to collapse
I can confirm it's not working, root, unlocked and TWRP.
If somebody can compile B13 for TWRP will really help us.
Thanks!
You're right. You'll need stock recovery to do a full update though. I haven't backed up my B11 stock recovery but I do have the B13 stock boot and recovery. Message me if you want those files.
Sadly no one else wants to make a twrp update for B13. And I don't know how. I already asked from draken a couple of months ago but i think he has never got a time for it.
Can you help me,
I try to step by step but step 8
Went i push POWER + UP volume, i have a black screen, not TWRP, i can not do any thing
I would love to try this since I want to try installing a2017U nougat ora2017 G software instead Chinese stock but the link for axon7backup: http://d-h.st/Ienb is timing out and dead. I can't seem to get any twrp recoveries working with the other axon7tool method https://forum.xda-developers.com/axon-7/development/axon7tool-flash-backup-boot-recovery-t3514254 and also the signed twrp is gone. I need a working recovery the files from here. Will try reinstalling b10 and then try find b11 for the current recoveries to see if any work instead of giving me a black recovery screen.
Hello was wondering about the terminal reboot portion. I've been rooted with SU for a few days now can I just flash Xposed and install the apk without the worry of using terminal? Thanks
Sent from my ZTE A2017U using XDA-Developers Legacy app
thanhtri87 said:
Can you help me,
I try to step by step but step 8
Went i push POWER + UP volume, i have a black screen, not TWRP, i can not do any thing
Click to expand...
Click to collapse
try pressing just the power and Up buttons until it reboots and release when you see the ZTE logo. that should enter you into recovery.
yvgamer94 said:
I would love to try this since I want to try installing a2017U nougat ora2017 G software instead Chinese stock but the link for axon7backup: http://d-h.st/Ienb is timing out and dead. I can't seem to get any twrp recoveries working with the other axon7tool method https://forum.xda-developers.com/axon-7/development/axon7tool-flash-backup-boot-recovery-t3514254 and also the signed twrp is gone. I need a working recovery the files from here. Will try reinstalling b10 and then try find b11 for the current recoveries to see if any work instead of giving me a black recovery screen.
Click to expand...
Click to collapse
the links were up okay as I opened them now. you may want to disable your antivirus too since this will trigger it false positive.
also, all the files I used were posted in the links i posted. credits to the owners btw.
HTC55555 said:
Hello was wondering about the terminal reboot portion. I've been rooted with SU for a few days now can I just flash Xposed and install the apk without the worry of using terminal? Thanks
Sent from my ZTE A2017U using XDA-Developers Legacy app
Click to expand...
Click to collapse
have you tried your method without the terminal command? personally, I don't know if that works without the command but I just used it since it won't harm anyway.
danromania said:
I'm stuck at B11 A2017 chinese version, can you give me a link for B13 for twrp flash?
Click to expand...
Click to collapse
Hi just used from a russian website , Flashable b13 zip!
ZTE_A2017V1.0.0B13_BootStack_by_djkuz.zip https://mega.nz/#!AwpE…siKdy3Aje3vdqXJupa9A4s
CRC32: CEE662FD
MD5: 67635E2EEE51BFF0E3B6F73591BA88B8
SHA-1: DAC1646FD8B0349CF262C7FD4C15987D5F700304
ZTE_A2017V1.0.0B13_StockSystem_by_djkuz.zip https://mega.nz/#!gpJy…uKflqeeCugZQosmbGj9xPk
CRC32: 79D0419A
MD5: DDD785A98FD32144920970B6B6BE8089
SHA-1: C96EDFE8F414A0D6904DAB1ED8673591D8DE496B
I am using it and it works! I Have just updated the bootstack and then installed the ZAD rom, but if you like the stock just install them both!
parazite69 said:
Hi just used from a russian website , Flashable b13 zip!
ZTE_A2017V1.0.0B13_BootStack_by_djkuz.zip https://mega.nz/#!AwpE…siKdy3Aje3vdqXJupa9A4s
CRC32: CEE662FD
MD5: 67635E2EEE51BFF0E3B6F73591BA88B8
SHA-1: DAC1646FD8B0349CF262C7FD4C15987D5F700304
ZTE_A2017V1.0.0B13_StockSystem_by_djkuz.zip https://mega.nz/#!gpJy…uKflqeeCugZQosmbGj9xPk
CRC32: 79D0419A
MD5: DDD785A98FD32144920970B6B6BE8089
SHA-1: C96EDFE8F414A0D6904DAB1ED8673591D8DE496B
I am using it and it works! I Have just updated the bootstack and then installed the ZAD rom, but if you like the stock just install them both!
Click to expand...
Click to collapse
Great find! Do you mind if I put this in my OP so that others can use it too? Seems like a lot of other users can't manage to get my method well.
otaconremo said:
the links were up okay as I opened them now. you may want to disable your antivirus too since this will trigger it false positive.
also, all the files I used were posted in the links i posted. credits to the owners btw.
Click to expand...
Click to collapse
Thanks for replying. The link works until you try to download it. When you get past the ads, you get to this http://fs1.d-h.st/download/00237/Ienb/axon7backup.zip Did you also try downloading it? Either I am doing something wrong? Thanks.
yvgamer94 said:
Thanks for replying. The link works until you try to download it. When you get past the ads, you get to this http://fs1.d-h.st/download/00237/Ienb/axon7backup.zip Did you also try downloading it? Either I am doing something wrong? Thanks.
Click to expand...
Click to collapse
Yes I did download my files using those links. Try installing adblock plus on your browser. Or try other browsers.
otaconremo said:
Great find! Do you mind if I put this in my OP so that others can use it too? Seems like a lot of other users can't manage to get my method well.
Click to expand...
Click to collapse
Sure go ahead.
otaconremo said:
Yes I did download my files using those links. Try installing adblock plus on your browser. Or try other browsers.
Click to expand...
Click to collapse
It's probably just my pc or browser. It's ok though since I managed bootloader unlock and flash twrp with this guide instead:
https://forum.xda-developers.com/axon-7/development/edl-emergency-dl-mode-twrp-unlock-t3553514/
Thanks for your help though
I have one (stupid) question for which I can't find answer: I stuck at step 2 when I need to enable OEM unlocking. Problem is that some PIN is required but I don't know it and don't know where to find it? Many thanks!
can anyone help me how to root my nubia z11 mini s NX549J ? and how to flash twrp in nubia ? and also i want to update to latest andoid version ? please give links to download if needed in this procedure.
ravisoni999 said:
can anyone help me how to root my nubia z11 mini s NX549J ? and how to flash twrp in nubia ? and also i want to update to latest andoid version ? please give links to download if needed in this procedure.
Click to expand...
Click to collapse
Look here:
https://cloud.mail.ru/public/9346/QZnnNkU2f
There is a link for TWRP and SuperSU inside, TWRP can be flashed using adb, i won't explain how to flash it with adb because there is plenty of guides that can help you (use google to search "how to flash TWRP with ADB ).
in TWRP flash SuperSU to have root.
For Custom ROMs and to upgrade to latest Android version:
Inside the link i gave you, there is a folder named CM, inside it, there is a file with the name (lineage-14.1-20170310 UNOFFICIAL-nx549j.zip) that is the latest LineageOS 14.1 rom with android 7.1.1, you can flash it in recovery with a compatible gapps of course.
The link i gave you has many other useful stuff, you can check it out.
And take a look at this thread, i found the links inside it and you may find more things there:
https://forum.xda-developers.com/general/rooting-roms/root-nubia-z11-mini-s-nx549j-t3506407/
If i helped you, please press "thanks" button
MigoMujahid said:
Look here:
https://cloud.mail.ru/public/9346/QZnnNkU2f
There is a link for TWRP and SuperSU inside, TWRP can be flashed using adb, i won't explain how to flash it with adb because there is plenty of guides that can help you (use google to search "how to flash TWRP with ADB ).
in TWRP flash SuperSU to have root.
For Custom ROMs and to upgrade to latest Android version:
Inside the link i gave you, there is a folder named CM, inside it, there is a file with the name (lineage-14.1-20170310 UNOFFICIAL-nx549j.zip) that is the latest LineageOS 14.1 rom with android 7.1.1, you can flash it in recovery with a compatible gapps of course.
The link i gave you has many other useful stuff, you can check it out.
And take a look at this thread, i found the links inside it and you may find more things there:
https://forum.xda-developers.com/general/rooting-roms/root-nubia-z11-mini-s-nx549j-t3506407/
If i helped you, please press "thanks" button
Click to expand...
Click to collapse
link you have given is redirect to me site having language other than english that i don't know so its not working for me please give any google link .
ravisoni999 said:
link you have given is redirect to me site having language other than english that i don't know so its not working for me please give any google link .
Click to expand...
Click to collapse
you can simply use google translate to translate a full page, and the files have English names, what file can't you download?
It's just a one click download, you choose the file and you press the big blue button that has a white arrow looking down
MigoMujahid said:
Look here:
https://cloud.mail.ru/public/9346/QZnnNkU2f
There is a link for TWRP and SuperSU inside, TWRP can be flashed using adb, i won't explain how to flash it with adb because there is plenty of guides that can help you (use google to search "how to flash TWRP with ADB ).
in TWRP flash SuperSU to have root.
For Custom ROMs and to upgrade to latest Android version:
Inside the link i gave you, there is a folder named CM, inside it, there is a file with the name (lineage-14.1-20170310 UNOFFICIAL-nx549j.zip) that is the latest LineageOS 14.1 rom with android 7.1.1, you can flash it in recovery with a compatible gapps of course.
The link i gave you has many other useful stuff, you can check it out.
And take a look at this thread, i found the links inside it and you may find more things there:
https://forum.xda-developers.com/general/rooting-roms/root-nubia-z11-mini-s-nx549j-t3506407/
If i helped you, please press "thanks" button
Click to expand...
Click to collapse
hi friend thanks for quick reply but i wanted to know is twrp , super su and lineage-14.1-20170310 will compatible to my nubia z11 mini s . are you sure it will not brick my phone as i follow your steps properly.:good::good:
ravisoni999 said:
hi friend thanks for quick reply but i wanted to know is twrp , super su and lineage-14.1-20170310 will compatible to my nubia z11 mini s . are you sure it will not brick my phone as i follow your steps properly.:good::good:
Click to expand...
Click to collapse
Yes I'm pretty sure because they're all for the same model number as yours and the title of that russian page and the files names' are all with the same model number which is NX549J.
And for more sure, the xda thread i linked in my first post is talking about your phone and it's where i got the links, Don't Worry
MigoMujahid said:
you can simply use google translate to translate a full page, and the files have English names, what file can't you download?
It's just a one click download, you choose the file and you press the big blue button that has a white arrow looking down
Click to expand...
Click to collapse
please reply my previous thread
ravisoni999 said:
please reply my previous thread
Click to expand...
Click to collapse
I already replied to you here:
https://forum.xda-developers.com/an...ash-twrp-update-android-t3580990/post71640400
MigoMujahid said:
Yes I'm pretty sure because they're all for the same model number as yours and the title of that russian page and the files names' are all with the same model number which is NX549J.
And for more sure, the xda thread i linked in my first post is talking about your phone and it's where i got the links, Don't Worry
Click to expand...
Click to collapse
well i have indian english version nubia with play store already installed. i am using twrp.zip file but there are also other two file twrp name .img what it is for? i found lot important files in your link can you give me quick review how and which file will i use to customize my phone without any bugs .
MigoMujahid said:
I already replied to you here:
https://forum.xda-developers.com/an...ash-twrp-update-android-t3580990/post71640400
Click to expand...
Click to collapse
please reply to my previous thread
ravisoni999 said:
well i have indian english version nubia with play store already installed. i am using twrp.zip file but there are also other two file twrp name .img what it is for? i found lot important files in your link can you give me quick review how and which file will i use to customize my phone without any bugs .
Click to expand...
Click to collapse
Use this TWRP:
https://cloud.mail.ru/public/9346/QZnnNkU2f/twrp_3.0.2-0_NX549J_20161125.img
When you flash TWRP, make a factory wipe (system, data, cache, dalvik cache) and install this LineageOS 14.1 i told you about if you want a pure rom without any customizations, and flash gapps from Opengapps.org (ARM>7.1>Pico), if you want a rom with customizations, use this Resurrection Remix Marshmallow rom and flash gapps that is (ARM>6.0>Pico).
ravisoni999 said:
please reply to my previous thread
Click to expand...
Click to collapse
i tried to flash twrp but got error while giving commmand " flashboot device " and " flash recovery twrp.img " as i do not get any response from phone and i got respone " waiting for device " . please upload indepth steps or video of twrp flashing . i already follow the steps said in xda developer forum method .
MigoMujahid said:
Use this TWRP:
https://cloud.mail.ru/public/9346/QZnnNkU2f/twrp_3.0.2-0_NX549J_20161125.img
When you flash TWRP, make a factory wipe (system, data, cache, dalvik cache) and install this LineageOS 14.1 i told you about if you want a pure rom without any customizations, and flash gapps from Opengapps.org (ARM>7.1>Pico), if you want a rom with customizations, use this Resurrection Remix Marshmallow rom and flash gapps that is (ARM>6.0>Pico).
Click to expand...
Click to collapse
]
i tried to flash twrp but got error while giving commmand " flashboot device " and " flash recovery twrp.img " as i do not get any response from phone and i got respone " waiting for device " in pc . please upload indepth steps or video of twrp flashing . i already follow the steps said in xda developer forum method
ravisoni999 said:
]
i tried to flash twrp but got error while giving commmand " flashboot device " and " flash recovery twrp.img " as i do not get any response from phone and i got respone " waiting for device " in pc . please upload indepth steps or video of twrp flashing . i already follow the steps said in xda developer forum method
Click to expand...
Click to collapse
You have to rename the TWRP to twrp.img and then enable usb debugging in your phone and connect it to pc, and proceed with the rest of the guide.
"Waiting for device" can be fixed by installing PDANet from Pdanet.co
Download it and install it then disconnect your phone and reconnect it to pc and start over.
Ps: there is no commands like the one said above, the right commands are "adb reboot bootloader" and "fastboot flash recovery twrp.img" there is a step by step guide here:
https://forum.xda-developers.com/showthread.php?p=32965365
Follow the instructions under Install Via ADB section.
These instructions are the easiest available and there is no way i can explain easier.
MigoMujahid said:
You have to rename the TWRP to twrp.img and then enable usb debugging in your phone and connect it to pc, and proceed with the rest of the guide.
"Waiting for device" can be fixed by installing PDANet from Pdanet.co
Download it and install it then disconnect your phone and reconnect it to pc and start over.
Ps: there is no commands like the one said above, the right commands are "adb reboot bootloader" and "fastboot flash recovery twrp.img" there is a step by step guide here:
https://forum.xda-developers.com/showthread.php?p=32965365
Follow the instructions under Install Via ADB section.
These instructions are the easiest available and there is no way i can explain easier.
Click to expand...
Click to collapse
i downloaded pdanet and also installed but both adb and pdanet are not working at same time see the the video that i follow procedure in my pc connect with nubia https://youtu.be/imbdDXMquJk . can you send me solution of this problem . make video and send it with youtube link.
ravisoni999 said:
i downloaded pdanet and also installed but both adb and pdanet are not working at same time see the the video that i follow procedure in my pc connect with nubia
. can you send me solution of this problem . make video and send it with youtube link.
Click to expand...
Click to collapse
I can't make a video and i can't use my pc because it's my las year in high school, so it's forbidden from me.
Try asking those guys in here:
https://forum.xda-developers.com/general/rooting-roms/root-nubia-z11-mini-s-nx549j-t3506407/
They might be able to help you.
Edit: i found something in the thread
Enable usb debbuging, enter fastboot via volume - and Power....probably volume down
Type: fastboot flash recovery twrp.img in cmd window that you opened in the twrp folder.
twrp.img file needs to be in the same folder as adb
Try it and let me know
MigoMujahid said:
Look here:
https://cloud.mail.ru/public/9346/QZnnNkU2f
There is a link for TWRP and SuperSU inside, TWRP can be flashed using adb, i won't explain how to flash it with adb because there is plenty of guides that can help you (use google to search "how to flash TWRP with ADB ).
in TWRP flash SuperSU to have root.
For Custom ROMs and to upgrade to latest Android version:
Inside the link i gave you, there is a folder named CM, inside it, there is a file with the name (lineage-14.1-20170310 UNOFFICIAL-nx549j.zip) that is the latest LineageOS 14.1 rom with android 7.1.1, you can flash it in recovery with a compatible gapps of course.
The link i gave you has many other useful stuff, you can check it out.
And take a look at this thread, i found the links inside it and you may find more things there:
https://forum.xda-developers.com/general/rooting-roms/root-nubia-z11-mini-s-nx549j-t3506407/
If i helped you, please press "thanks" button
Click to expand...
Click to collapse
can u pkaese help me with volte issue, i tried mokee and rr , both dont support volte, i have 64gb indian model... can u please confirm that volte not working or its only having this issue. any way to make it work
Mohan0004 said:
can u pkaese help me with volte issue, i tried mokee and rr , both dont support volte, i have 64gb indian model... can u please confirm that volte not working or its only having this issue. any way to make it work
Click to expand...
Click to collapse
I can't help you with that sorry, I don't have the phone.
Mohan0004 said:
can u pkaese help me with volte issue, i tried mokee and rr , both dont support volte, i have 64gb indian model... can u please confirm that volte not working or its only having this issue. any way to make it work
Click to expand...
Click to collapse
How did u install TWRP? My device is not being detected under fastboot.. adb drivers are installed.. I can see my device when I give adb devices.. But I can't find my device when I type fastboot devices. I tried installing universal Google drivers.. but I got error code 10 the device can't start..
Please help
Ravis_n said:
How did u install TWRP? My device is not being detected under fastboot.. adb drivers are installed.. I can see my device when I give adb devices.. But I can't find my device when I type fastboot devices. I tried installing universal Google drivers.. but I got error code 10 the device can't start..
Please help
Click to expand...
Click to collapse
1. put device in fastboot mode but dont connect
2. open device manager in pc(assuming u have windows 10)
3.now connect device , as soon as u connect device u will see unrecognised fastboot device
4. double click it and install fastboot drivers
(u should have universal adb and fastboot installed already)
This simple and effective procedure was first proposed by "Serbinhio" in beta version. I am only improving it slightly and adding my own additional procedure for updating a previously rooted system. I allow myself to redo a new post because the original one was not complete and there are no more answers to our requests.
I remind that this way makes it possible to change nothing to the recovery and thus to keep the original encrypted DATA partition. This brings a cleaner ROM than flashing TWRP but also easier and faster.
Note : As usual, you are solely responsible for attempting to root your smartphone. I am in no way responsible for a possible brick of your MI9.
Note : This tutorial is for Global version, i don't know if it work in Chinese version with same result.
Note : For a successful flashing, read the whole procedure before starting.
Note : A solution has been found for Chinese versions. See at the end of this post
Let's go there
The files to download:
Magisk manager: Link Here
Depending of you actual system :
- Full ROM 10.2.17 Link Here
- original Boot.img from 10.2.17 : Link 10.2.17.0
- Full ROM 10.2.22 Link Here
- You can use the download folder with all boot rom (actually up to 10.2.28) by Tramix32 : Link here
- Full ROM 10.2.30 Link Here
The procedure :
Install ADB into the PC (Search into xda how to do that)
Pass the MI 9 in developer mode
Enable USB Debugging
(Of course the MI9 must have the bootloader unlocked)
Download the current ROM of your MI9 (10.2.17 to 10.2.28)
Create a folder on the PC and unzip the rom in it
Connect the MI9 to the PC with the USB cable
In the folder where you put the ROM, copy the file named BOOT.IMG and transfer it to the root of the MI9
Install Magisk Manager in the MI9
Into Magisk manager, go to setting and choose the channel « Beta »
Into Magisk manager, go to « Install magisk » and choose « patch boot image »
In the next window Go to the root of the MI9 and point to boot.img. Validate.
In The PC, navigate to the MI9 in the folder « Download » and Copy the file « magisk_patched.img » into the folder « ADB » of the PC.
Delete the file into the MI9, we do not need it anymore
On the pc, open a CMD window. With command line, go to the adb folder (ex: cd /adb)
Type « Adb devices »
You must have in response the ID of the mi9 that appears. If this is not the case, validate the debugging mode on your MI9 screen by ticking the box "Always allow for this device"
Type « adb reboot bootloader »
(Mi9 restart in fastboot mode)
Type « fastboot flash boot magisk_patched.img »
After the flash, type « fastboot reboot » or press the on / off button for several seconds to restart
Wait the Mi9 to reboot and .. rooted !
Now Here is the tutorial to update an MI9 rooted by this method :
First, download the full ROM of the update concerned. For exemple, the 10.2.22 ROM is here or download the new boot.img of the new version of rom in the tramix32 directory.
Inthe MI9, Launch the update program and validate. The Mi9 reboot and an error is displayed announcing that the update has failed. The Mi9 reboot.
Restart the update utility. This time, utility launches a full update that will be done normally and without error.
Once the update is complete, go to the PC. In the folder where you put the ROM, copy the file named BOOT.IMG and transfer it to the root of the MI9
Into Magisk manager, go to setting and choose the channel « Beta »
Into Magisk manager, go to « Install magisk » and choose « patch boot image »
In the next window Go to the root of the MI9 and point to boot.img. Validate.
In The PC, navigate to the MI9 in the folder « Download » and Copy the file « magisk_patched.img » into the folder « ADB » of the PC.
On the pc, open a CMD window. With command line, go to the adb folder (ex: cd /adb)
Type « Adb devices »
Type « adb reboot bootloader »
(Mi9 restart in fastboot mode)
Type « fastboot flash boot magisk_patched.img »
After the flash, type « fastboot reboot » or press the on / off button for several seconds to restart
Wait the Mi9 to reboot and .. Update is rooted !
Enjoy !
--------------------------------
FOR CHINESES VERSIONS (edited the 2019-05-30)
--------------------------------
To avoid having a message request to install a Zip after installing Magisk, cutesniper22 found this solution:
1. install clean global rom as normal,
2. flash magisk boot img as previously mentioned on this post
3. U will be asked for click on "requires additional setup". Please ignore the pop-up & close magisk manager.
4. Install a root browser with root access. Look this file and edit it : /system/vendor/etc/fstab.qcom
5. look this string "fileencryption=ice" and remove & save it.
6. Reboot. (U will stuck again into recovery once u reboot, dont worry...)
7. Perform full wipe at mi recovery.
8. Reboot & Done. Start your setup & app installation as usual. Your phone & magisk is ready.
(a click on the thanks button is always a pleasure, so do not hesitate!)
NOTE : THIS TUTORIAL IS FOR GLOBAL VERSION AND LINK IS FOR GLOBAL ONLY.
IF YOU HAVE CHINESEA VERSION, PLEASE FOUND FULL CHINESE ROM BEFORE TO DO ANYTHING.
I don't know if Chinese rom have same results. Do it at your own risk.
Works perfectly !
The Magisk link is broken.
<3 Nice to see that you mention me
Serbinhio said:
<3 Nice to see that you mention me
Click to expand...
Click to collapse
It's normal ! You are the main inventor. I just put it more clean and add the update
SmallTarzan said:
The Magisk link is broken.
Click to expand...
Click to collapse
Fixed !
fanfan7110 said:
Fixed !
Click to expand...
Click to collapse
Don’t shorten links, please.
SmallTarzan said:
Don’t shorten links, please.
Click to expand...
Click to collapse
If i write full URL, the XDA's server don"t accept it. Have you a solution ?
fanfan7110 said:
If i write full URL, the XDA's server don"t accept it. Have you a solution ?
Click to expand...
Click to collapse
Don’t link it directly, then.
SmallTarzan said:
Don’t link it directly, then.
Click to expand...
Click to collapse
Fixed !
I will be able to unlock the bootloader tonight. Do we have to use the beta channel as you tell in your post or is the stable channel enough? Thanks!
NO, put on beta channel.. It's more sure.
This method works perfectly, but there is one little issue, offline charging stops working. Plugging the wall adapter makes the screen turn on, but it gets stuck at the "Mi" logo. It's not a huge issue, but it's a little annoying.
So I am a little unclear - this method keeps the device encrypted and allows custom ROMs? Or just stock? As the beta TWRP removes encryption. Thanks.
Can someone upload boot.img from 10.2.17.0? My internet is so sloow
mslezak said:
So I am a little unclear - this method keeps the device encrypted and allows custom ROMs? Or just stock? As the beta TWRP removes encryption. Thanks.
Click to expand...
Click to collapse
This is for Stock rom
Manu270891 said:
This method works perfectly, but there is one little issue, offline charging stops working. Plugging the wall adapter makes the screen turn on, but it gets stuck at the "Mi" logo. It's not a huge issue, but it's a little annoying.
Click to expand...
Click to collapse
I have not this issue.. Strange. .
tramix32 said:
Can someone upload boot.img from 10.2.17.0? My internet is so sloow
Click to expand...
Click to collapse
This is the link : Link 10.2.17.0
fanfan7110 said:
This is for Stock rom
I have not this issue.. Strange. .
This is the link : Link 10.2.17.0
Click to expand...
Click to collapse
Are you using global or EEA ROM? I'm using the 10.2.22.0 EEA .
Manu270891 said:
Are you using global or EEA ROM? I'm using the 10.2.22.0 EEA .
Click to expand...
Click to collapse
Global ROM
Edit : Now in EEA ROM
Manu270891 said:
This method works perfectly, but there is one little issue, offline charging stops working. Plugging the wall adapter makes the screen turn on, but it gets stuck at the "Mi" logo. It's not a huge issue, but it's a little annoying.
Click to expand...
Click to collapse
It doent work for me either, and yeah it stuck on mi logo. Im using 10.2.17.0 EEA.
I noticed a strange thing, in dev options my phone thinks it is locked 0.o but everything is fine.
WARNING:
You should only proceed if you are familiar with unlocking and rooting android cellphones in general or... if you dare. Instructions assume you have a working computer with adb installed.
1. Getting the cellphone ready
Enable Developer mode
Enable USB Debugging
Enable OEM Unlock
2. Download magisk apk
Downloading Magisk App... | Magisk Manager
The download will automatically start in 5 seconds, please click here to access the download URL directly. If you are confused and want to know how to install the Magisk Manager on your phone you can click here.
magiskmanager.com
3 Install the apk using adb
adb install MagiskManager-v8.0.5.apk
4. Download original firmware (check precise version at About phone > Compilation number)
lolinet mirrors - firmware, software, iso etc.
lolinet mirrors - powered by h5ai
mirrors.lolinet.com
.... YOU MUST BE ABSOLUTELY SURE THIS IS THE SAME VERSION !!!!!
5. Unzip and copy boot.img to /sdcard/Download
adb push boot.img /sdcard/Download
6. Patch the boot.img
Open magisk on the cellphone and click Install (upper right corner)
"Select and patch file"
7. Copy the patched file to your computer
adb pull /sdcard/Download/magisk_patched_XXXXX.img
(replace XXXXX with appropriate characters)
8. Unlock the bootloader
Standard process for all motorola phones. Go to the bootloader:
adb reboot bootloader
Get the unlock data
fastboot oem get_unlock_data
With this information complete the process at:
Unlocking the Bootloader | Motorola Support US
Visit the customer support page to view user guides, FAQs, bluetooth pairing, software downloads, drivers, tutorials and to get repair and contact us information.
motorola-global-portal.custhelp.com
When you have the KEY, unlock with:
fastboot oem unlock <KEY>
9. Flash the unlocked boot.img
fastboot flash boot magisk_patched_XXXXX.img
10. Reboot and you're done
fastboot reboot
Don't forget to disable and uninstall lots of the built-in rubbish
Happy hacking!
Does it work with Moto One fusion + ?
I know i'm a little bit late, but... Is there a way to disable the bootloader unlocked screen?
Skycr0nos said:
I know i'm a little bit late, but... Is there a way to disable the bootloader unlocked screen?
Click to expand...
Click to collapse
You mean disable the message saying "your bootloader is unlocked, don't store data on the phone" ?
I'm not sure, but i don't think it's easy...
Can I root my device motorola one power fusions plus.?
Root work on this device .?
If root is work why YouTube not making videos about this device.?
I want to root my device. Than I need custom recovery.IMG file and magisk stable version.
Can you help me guys
Thanks, it worked for me, XT2073-2 128GB
BruceWawe said:
Does it work with Moto One fusion + ?
Click to expand...
Click to collapse
It does but make sure to download different stock firmware (its called liber go back a few folders in the link OP gave)
This guide will show you how to root your Nokia 4.2. This has been tested on TA-1157 and is working fine.
**Important** - If fastboot does not recognise your device In step 5, You need to download a driver. Here is the link: Download Driver (by Beebom)
Search up how to install custom driver and install it to the “Android” device.
Requirements:
Nokia 4.2 with unlocked bootloader
USB Cable
ADB/Fastboot.
Python
Your current ROM file
Internet.
Downloads:
ADB Installer (by Snoop05 on xda) : Download
Python : Download
Payload Dumper (vm03 on github): Download ( Click on code and select "download ZIP")
Magisk APK (on your phone) : Download APK ( Scroll down and you will find the APK file)
Code:
** I have only tested this on TA-1157. Other models may not work, but technically they should work.**
** Your warranty is now Void**
Step 1
Enable USB debugging on your phone. If you do not know how to do this, Search it up. It is easy.
Once that's enabled, Connect your phone to your PC/Laptop and open the command prompt (cmd) and type adb devices. It should show your device in the list.
Step 2
Locate the Python folder. To do this, simply type "python" in the start menu and click open file location. Then, Right click on "python.exe" and open properties. Then click open file location.
Once the folder opens, make sure to not close it.
Download the payload dumper.py which I have linked in the downloads section. Extract it and place the contents of the file in the Python folder.
Step 3
Download the ROM file. If you are using lineage OS on your Nokia 4.2, Download that file. If you are using the Stock rom, Download that. It should be a .zip file.
Extract the stuff from that file and take payload.bin and move it to the python folder.
Now, Open cmd in that directory by right clicking and opening cmd. Then, Type the following commands,
Code:
python -m pip install -r requirements.txt
then type,
Code:
python payload_dumper.py payload.bin
Once it is done extracting, Open the "output" folder. There you will find the "boot.img" file
Step 4
Use your USB cable or Google drive to transfer the "boot.img" to your phone. Once you have done that, Download the Magisk APK on your phone and install the app. (APK link in downloads section)
Once you have installed Magisk, open it and click "Install". Select the file from your phone and wait a few minutes for magisk to patch the "boot.img" file.
Once Magisk is finished patching, there will be a new file which magisk has created. Transfer the patched file to your computer via the USB cable or Google drive and make sure to rename it as "magisk_patched.img"
Step 5
You are almost done! Open CMD in the folder where you saved the "magisk_patched.img" and type
Code:
adb reboot bootloader
then type
Code:
fastboot flash boot magisk_patched.img
Once done, Reboot your phone and Voila! Your phone is now rooted. Make sure to open the magisk app and check it.
If you need any help or you get any errors, post it down here below.
Also, If this helped you, consider liking the post!
I will try this in my Nokia 4.2 (TA-1149) I have unlocked bootloader and I have LineageOS 20
RZavala_2003 said:
I will try this in my Nokia 4.2 (TA-1149) I have unlocked bootloader and I have LineageOS 20
Click to expand...
Click to collapse
Cool!
If you have any problems, let me know.
Geoperson8 said:
Cool!
If you have any problems, let me know.
Click to expand...
Click to collapse
I'm typing this reply, in my 4.2 with LOS 20 and root with Magisk 25, this guide was too easy to understand, thanks a lot!
RZavala_2003 said:
I will try this in my Nokia 4.2 (TA-1149) I have unlocked bootloader and I have LineageOS 20
Click to expand...
Click to collapse
Bro i would be very thankful if you told me how you installed lineage os 20 i have the stock ROM rooted
Love from India
thecubernoober said:
Bro i would be very thankful if you told me how you installed lineage os 20 i have the stock ROM rooted
Love from India
Click to expand...
Click to collapse
I could help you with that
Geoperson8 said:
I could help you with that
Click to expand...
Click to collapse
Yes please i would be very thankful
Geoperson8 said:
I could help you with that
Click to expand...
Click to collapse
Please tell me how to install lineage os 20 in Nokia 4.2
King root not work connection problem
___za_x4_pan___ said:
King root not work connection problem
Click to expand...
Click to collapse
Personally, I do not recommend Kingroot as it is not very reliable and safe. Instead, you can follow this guide or follow other guides on youtube.
hello @Geoperson8 I have currently installed lineage os 20 on my nokia 4.2
But i am facing an issue with rooting my phone when I flash the patched boot.img it asks me for factory reset after factory reset one important part of flashing lineage os is flashing the vendor image but when I flash teh vendor image after flashing magisk my wifi does not work and that's what happens when you don't flash the vendor image but my wifi does not work even after flashing teh vendor image so please help me with rooting my nokia 4.2
RZavala_2003 said:
I'm typing this reply, in my 4.2 with LOS 20 and root with Magisk 25, this guide was too easy to understand, thanks a lot!
Click to expand...
Click to collapse
did you have to format you os
thecubernoober said:
did you have to format you os
Click to expand...
Click to collapse
No bro, i only read this guide and i rooted successfully!
thecubernoober said:
hello @Geoperson8 I have currently installed lineage os 20 on my nokia 4.2
But i am facing an issue with rooting my phone when I flash the patched boot.img it asks me for factory reset after factory reset one important part of flashing lineage os is flashing the vendor image but when I flash teh vendor image after flashing magisk my wifi does not work and that's what happens when you don't flash the vendor image but my wifi does not work even after flashing teh vendor image so please help me with rooting my nokia 4.2
Click to expand...
Click to collapse
I would recommed to flash the vendor image before doing any modifications on your phone. Hope this helps.
RZavala_2003 said:
I will try this in my Nokia 4.2 (TA-1149) I have unlocked bootloader and I have LineageOS 20
Click to expand...
Click to collapse
Can you tell me where did you find the vendor for that model? I have the same
imthetoadXD said:
Can you tell me where did you find the vendor for that model? I have the same
Click to expand...
Click to collapse
I can reply to that
So I found the firmware from the lineage os page section where it says switch back to stock and there is the firmware given for Android 11
Nokia 4.2 ROMs, Kernels, Recoveries, & Other Devel
Improve your Nokia 4.2's battery life, performance, and look by rooting it and installing a custom ROM, kernel, and more.
forum.xda-developers.com
Refer this page for the link of stock firmware
Just so you guys know, If you need any help. Feel free to ask me.
thecubernoober said:
I can reply to that
So I found the firmware from the lineage os page section where it says switch back to stock and there is the firmware given for Android 11
Nokia 4.2 ROMs, Kernels, Recoveries, & Other Devel
Improve your Nokia 4.2's battery life, performance, and look by rooting it and installing a custom ROM, kernel, and more.
forum.xda-developers.com
Refer this page for the link of stock firmware
Click to expand...
Click to collapse
Is your lineage OS and root working fine?