First of all i have to say im really glad i got this phone over samsung galaxy J5.
Secondly...for the people who does not know how to root Marshmallow latest version im gonna use some resources i found over the internet.
Step by step if you dont have marshmallow install all the firmwares till you you get B170. Remember you have to be on stock recovery all the time
Then download the B550 from [Official huawei P8 lite marshmallow firmware]
and update your firmware.
Now its time for root...
1. Download this archive <MOD EDIT - Warez Link Removed> and unrar
2. Connect your phone to PC(make sure USB Debugging is checked in developer options) run Install.bat file and follow the instructions. This will install TWRP Recovery for 6.0
3. Copy files zip 1 and zip 2 to internal memory or SD Card
4. Reboot into TWRP (volume+ and volume- and power on button at the same time until TWRP appears.
5. Install zip 1 and reboot.
6. Open once SuperSU then close SuperSU and uninstall it!!(push supersu icon and move to recycle bin)
7. Boot again into TWRP and install zip 2 and then reboot
8. Install root browser from google play ( https://play.google.com/store/apps/details? id=com.jrummy.root.browserfree&hl=en )open and grant superuser rights.
9. Now open /device/data/app and locate folder eu.chainfire.supersu-1 cut and paste in folder /device/system/app with following rights rwx r-x r-x
Reboot your phone and ENJOY full root access
All credits to 4PDA forum members, XDA members for their annoying questions , dkonect, sokkoban PANDEMiC and his blogspot http://huaweip8lite.blogspot.gr/ (and ofc my patience of wasting all night long on updates,formats,wipes, degrades and workarounds with solutions )
PS: If someone feels i didnt gave regards i would be glad to add his name and make him famous
Hi vampirian,
TWRP couldn't be installed.
I got TWRP installation failure error. ( please see attached screenshot )
p8lite boot loader is unlocked with firmware is ALE-L21C185B524
( I use Window 10 with UniversalAdbDriverSetup6.msi installed )
Any suggestion please,
.
aab44 said:
Hi vampirian,
TWRP couldn't be installed.
I got TWRP installation failure error. ( please see attached screenshot )
p8lite boot loader is unlocked with firmware is ALE-L21C185B524
( I use Window 10 with UniversalAdbDriverSetup6.msi installed )
Any suggestion please,
.
Click to expand...
Click to collapse
I would suggest you to update on B550 before you start the procedure. It will still show B524 build but its updated anyway on the last version B550.
Please make sure you have Chipset HiSilicon Kirin 620
and use the ROOT.Android.6.0.P8.Lite to install the TWRP.
For me it seems like a driver problem or not unlocked bootloader.
Try by unlocking your bootloader again
Unlock boot loader on your device.
Type in command without quotes "fastboot devices"
If you can see serial number of your phone you are going the right way.
In the command prompt, enter fastboot oem unlock (bootloader unlocking code) , e.g. fastboot oem unlock 321321321321321”
if that didnt work then make sure your drivers are installed correctly
Re-Start windows with Driver signature off and re-apply your drivers. To do this on windows you have to go All settings--> update and recovery---->Recovery----->Advanced startup---->>restart now and after booting your windows in the blue screen, choose Driver signature OFF option. Then reinstall your drivers and restart your phone on fastboot mode (power on and volume - at the same time ) and run the script again.
I tried this a few mins ago on my brand new BL unlocked P8 Lite, i already installed TWRP and 6.0 Beta for Single Sim model, and
now it's also rooted
thx
fire3d said:
I tried this a few mins ago on my brand new BL unlocked P8 Lite, i already installed TWRP and 6.0 Beta for Single Sim model, and
now it's also rooted
thx
Click to expand...
Click to collapse
great news
im glad it works for you as well
The two variant , i mean ALE-L21 single or double sim have exactly the sames hardware.
The difference between the Two variant for single/double sim is only in the firmware you push in your devices.
(I have Two branded single variant and i use the firmware for single and double without any trouble.i only think the single sim firmware is more battery friendly but just a personal opinion)
Sent from my SM-G900M using XDA-Developers mobile app
dkonect said:
The two variant , i mean ALE-L21 single or double sim have exactly the sames hardware.
The difference between the Two variant for single/double sim is only in the firmware you push in your devices.
(I have Two branded single variant and i use the firmware for single and double without any trouble.i only think the single sim firmware is more battery friendly but just a personal opinion)
Sent from my SM-G900M using XDA-Developers mobile app
Click to expand...
Click to collapse
So far im satisfied for its battery. Ok everyone knows that Facebook and messenger are battery killers...but even with those running, MP3 all day long... my battery lasts for a day on dual sim with the smart battery mode. In any case i will try to update the official B550 spanish version to check the differences (and modify a bit our kernel) .
Marshmallow installed and rooted...
Sent from my ALE-L21 using XDA-Developers mobile app
vampirian said:
I would suggest you to update on B550 before you start the procedure. It will still show B524 build but its updated anyway on the last version B550.
Please make sure you have Chipset HiSilicon Kirin 620
and use the ROOT.Android.6.0.P8.Lite to install the TWRP.
For me it seems like a driver problem or not unlocked bootloader.
Try by unlocking your bootloader again
Unlock boot loader on your device.
Type in command without quotes "fastboot devices"
If you can see serial number of your phone you are going the right way.
In the command prompt, enter fastboot oem unlock (bootloader unlocking code) , e.g. fastboot oem unlock 321321321321321”
if that didnt work then make sure your drivers are installed correctly
Re-Start windows with Driver signature off and re-apply your drivers. To do this on windows you have to go All settings--> update and recovery---->Recovery----->Advanced startup---->>restart now and after booting your windows in the blue screen, choose Driver signature OFF option. Then reinstall your drivers and restart your phone on fastboot mode (power on and volume - at the same time ) and run the script again.
Click to expand...
Click to collapse
Thanks, its rooted now
aab44 said:
Thanks, its rooted now
Click to expand...
Click to collapse
im glad my friend that everything works fine
Had to unlock bootloader and root after that my B550 and almost all the files were on their places (only few files changed place on launcher). Glad i didn't lose anything while unlocking bootloader (watching on you Oneplus)
---------- Post added at 11:06 AM ---------- Previous post was at 10:56 AM ----------
Hmm... One little question. If i understand right. Balong bug should be shown on "Build Number". On me it shows that i have B550 as it should. But when i go to TWRP and backup. The backup pre-generated name says Balongxxxxx
Apparently that's normal its the build reference of the device nothing to worry about
This method patches boot image, so if i get OTA, do I need reflash my boot image before update?
Bazilli said:
This method patches boot image, so if i get OTA, do I need reflash my boot image before update?
Click to expand...
Click to collapse
dude ofc you will have to be fully unrooted and with retail recovery in order to get OTA installation.
vampirian said:
dude ofc you will have to be fully unrooted and with retail recovery in order to get OTA installation.
Click to expand...
Click to collapse
Sorry but i was asking about boot.img, not recovery.img. Sure i know that i must be unrooted.
Bazilli said:
Sorry but i was asking about boot.img, not recovery.img. Sure i know that i must be unrooted.
Click to expand...
Click to collapse
well i managed to keep the original recovery last time and unroot my device and it worked just fine on updating through OTA. If something changed i dont know. All we have to do is to test it.
Rooted with xposed fully working B550 and B551 is good
How to unroot?
Hello
I install TWRP, and rooted B551. How I install the stock recovery?
Rerikh said:
How to unroot?
Click to expand...
Click to collapse
You can unroot inside SuperSU settings.
Related
Hi
I was looking for a way to unlock the phone for free and I found one over here
http://www.rimweb.in/forums/topic/37096-tutorial-how-to-unlock-htc-one-m8-sprint-for-gsm/
This tutorial is independent of Android version whether it may be 4.4.2 or 4.4.3. Works on both stock and sense based custom ROM's. (Not tested on AOKP ROM's.). Works on both s-off and s-on devices.
Requirements:
1. You need to be rooted and bootloader needs to be unlocked. Here are the links that would show you how to do it.
http://theunlockr.com/2014/04/19/root-htc-one-m8-all-in-one-toolkit-method-video/
Or
http://htconeroot.com/htc-one-root/how-to-root-htc-one-m8/
2. Install InsertCoin KitKat Rom
if you get stuck on handfree activation on startup then go back to twrp, mount system and then delete /system/app/HtcOMADM_SPCS.apk
3. Once you are rooted download the following zip file and copy it to the internal memory of your m8.
https://www.dropbox.com/s/74r6h5q6ft50z6j/SIM_UNLOCK.zip?dl=0
4. Download and install Terminal Emulator from play store.
5. Switch off the handset and boot to fastboot . (By holding volume down and power button together ).
6. Once you are on fastboot screen navigate to recovery using volume buttons and press power button to boot to recovery.
7. One you are in recovery click on install (I'm presuming you installed twrp recovery, if not then do it according to that recovery). Now locate SIM_UNLOCK. zip and flash it. Reboot system after successful flash.
8. On Rebootpen the Terminal Emulator from the app drawer
9. Type - su
10. Hit enter on your keyboard
11. After you see the # type this- am start com.redbend.vdmc/com.htc.omadm.test.TestMainActivity
12. Hit the enter key
13. Next you should see a menu listing 3 options as follows:
GUI
API
ROAMING OPTIONS
14. Select API
15. Once the API menu comes up, scroll down until you see - sim lock
16. Tap- sim lock. Wait until the gray highlight goes away and turns black again
17. Reboot and you are done.
18. If you see you that you have no network then dial *#*#4636#*#*. A menu will pop up. Select phone information then scroll down until you see 'select preferred network type'.
Change it to WCDMA preferred and that is. Now your network should pop-up.
This is permanent unlock and you can update your Android version in future.
So many views but no replies
This method saves 25$ required to s-off
Great thread bro
i managed to unlock my htc m8 with this method but i have one more m8 sprint sunning lollipop and this method failed to work any solution for already shipped with lollipop OS...
Take a nandroid backup
Install any android 4.x custom Rom( preferably insertcoin)
Unlock using the above steps
Restore your nandroid backup
arjunking said:
Take a nandroid backup
Install any android 4.x custom Rom( preferably insertcoin)
Unlock using the above steps
Restore your nandroid backup
Click to expand...
Click to collapse
So I'm running lollipop right now but once we flash to let's say a 4.4.4 Rom like insertcoin (Good Choice btw we can do the SIM unlock then flash or restore our phone back to lollipop with the SIM unlock still working? I only ask because their are now three threads and it's a bit confusing finding the correct guide..
To confirm, this method works 100% and it's the easiest. If you're on Lollipop 5.0 or higher, make sure to backup your current ROM with TWRP recovery before flashing Kitkat custom rom for this method. After unlock, you can restore your current rom and everything will work as before and with SIM unlock.
Thanks for sharing.
---------- Post added at 08:17 AM ---------- Previous post was at 08:12 AM ----------
dincdoes.me said:
So I'm running lollipop right now but once we flash to let's say a 4.4.4 Rom like insertcoin (Good Choice btw we can do the SIM unlock then flash or restore our phone back to lollipop with the SIM unlock still working? I only ask because their are now three threads and it's a bit confusing finding the correct guide..
Click to expand...
Click to collapse
Yes, you can restore back to Lollipop after unlock and everything will be back the way it was except with sim unlock. This method is permanent sim unlock evern after update or re-flash. I've already tried and worked. Also, just to remind everyone, unlock bootloader will factory reset your phone so make sure to back up your data before starting the unlock.
citifone said:
To confirm, this method works 100% and it's the easiest. If you're on Lollipop 5.0 or higher, make sure to backup your current ROM with TWRP recovery before flashing Kitkat custom rom for this method. After unlock, you can restore your current rom and everything will work as before and with SIM unlock.
Thanks for sharing.
---------- Post added at 08:17 AM ---------- Previous post was at 08:12 AM ----------
Yes, you can restore back to Lollipop after unlock and everything will be back the way it was except with sim unlock. This method is permanent sim unlock evern after update or re-flash. I've already tried and worked. Also, just to remind everyone, unlock bootloader will factory reset your phone so make sure to back up your data before starting the unlock.
Click to expand...
Click to collapse
Thanks for the quick response!
hi, I currently relock bootloader and RUU 5.0.2
now the phone always ask for activation (Hands Free activation) and could not activated since I;m not Sprint user.. (I Have an unactivated M8 harman kardon).
I'm willing to gsm-unlock the phone, the phone status now is stock 5.0.2 bootloader unloked, twrp installed, rooted, and already done nandroid backup.
I can skip the HFA but everytime I flashed KK rom, the HFA always there and whenever I do the unlocking method always gave me an error vDM client stopped.
any suggestion please..
arjunking said:
Take a nandroid backup
Install any android 4.x custom Rom( preferably insertcoin)
Unlock using the above steps
Restore your nandroid backup
Click to expand...
Click to collapse
Bhai i managed to unlock using sim_unlocker.zip on 4.4.4 and it gave "Sim unlock successful" message too but my phone is restarting automatically and i cannot change to GSM through *#*#4636#*#* . It always go back to "evdo/cdma/lte" automatically no matter how many time i switch it ! I think the restart must be happening because of this only ?
invalid phone card
i still get invalid phon card
already install insertcoin and still vDM client has stopped
I am trying to unlock an htc m8 sprint device, but after days and days I can't manage to do it. any help about thie VDM client message will be highly appreciate it
VDM erro
I've managed to unlock the HTC One E8 and M8 sprint version without being s-off
The steps are very easy and I've tried this method on 4 different devices.
1.- First you need to unlock the bootloader
2.- Install custom recovery
3.- Install superuser
4.- Flash with recovery a file named SIM_Unlock.zip for the M8 and Bad_Boyz_Sprint_ONE_E8_SIM_unlock.zip for the E8 (sorry I cant attach these files)
5.- Install root browser and terminal emulator on your device (grant superuser on both)
6.- copy HtcOMADM_SPCS.apk to your internal memory, this is the modified apk that allows the sim unlock
5.- Open root browser, go to system>app , rename the original HtcOMADM_SPCS.apk to something like this HtcOMADM_SPCS1.apk. Basically I just added 1 to the name. Do Not remove the original apk nor rename it, otherwise you will get vdm error.
6.- Copy the modified apk to this location. system>app
7.- Open terminal emulator and type "su" hit enter
8.- Now type this: am start com.redbend.vdmc/com.htc.omadm.test.TestMainActivity
9.- You should see a menu with 3 different options, select "API"
10.- Scroll down until you see "sim lock" press it and wait until the gray highlight goes away.
11.- Reboot your phone and you are done
arturgig said:
I've managed to unlock the HTC One E8 and M8 sprint version without being s-off
The steps are very easy and I've tried this method on 4 different devices.
1.- First you need to unlock the bootloader
2.- Install custom recovery
3.- Install superuser
4.- Flash with recovery a file named SIM_Unlock.zip for the M8 and Bad_Boyz_Sprint_ONE_E8_SIM_unlock.zip for the E8 (sorry I cant attach these files)
5.- Install root browser and terminal emulator on your device (grant superuser on both)
6.- copy HtcOMADM_SPCS.apk to your internal memory, this is the modified apk that allows the sim unlock
5.- Open root browser, go to system>app , rename the original HtcOMADM_SPCS.apk to something like this HtcOMADM_SPCS1.apk. Basically I just added 1 to the name. Do Not remove the original apk nor rename it, otherwise you will get vdm error.
6.- Copy the modified apk to this location. system>app
7.- Open terminal emulator and type "su" hit enter
8.- Now type this: am start com.redbend.vdmc/com.htc.omadm.test.TestMainActivity
9.- You should see a menu with 3 different options, select "API"
10.- Scroll down until you see "sim lock" press it and wait until the gray highlight goes away.
11.- Reboot your phone and you are done
Click to expand...
Click to collapse
Do you think there could be a possibility that this method may work on the new Sprint HTC One M9?
#slapdash said:
Do you think there could be a possibility that this method may work on the new Sprint HTC One M9?
Click to expand...
Click to collapse
Well I don't own an m9 so I can't try it. If you have one go ahead and give it a try maybe it works.
It says invalid card
Greenarcher707 said:
It says invalid card
Click to expand...
Click to collapse
Double check all the steps, remember you must be on kit Kat and have a sense Rom
I'm on 4.4.4
arturgig said:
Well I don't own an m9 so I can't try it. If you have one go ahead and give it a try maybe it works.
Click to expand...
Click to collapse
I was hoping someone would succeed in unlocking it so I could buy one myself as I live in India. I guess I'll have to wait till someone manages to do so. Thank you anyway.
Greenarcher707 said:
I'm on 4.4.4
Click to expand...
Click to collapse
Sorry I don't know what else could be wrong, I've tried this on several devices and it always works
arturgig said:
Sorry I don't know what else could be wrong, I've tried this on several devices and it always works
Click to expand...
Click to collapse
Maybe it doesn't work with the harman kardon edition?
Here is a preliminary build of TWRP for P10 Plus.
https://drive.google.com/open?id=0B6ox6M5Lb2JYZklQSnZZbHA0ZUk
Pretty sure all the normal functions work, with the exception of decrypting data partition. So if you need to read or write files, have an SD card.
duraaraa said:
Here is a preliminary build of TWRP for P10 Plus.
https://drive.google.com/open?id=0B6ox6M5Lb2JYZklQSnZZbHA0ZUk
Pretty sure all the normal functions work, with the exception of decrypting data partition. So if you need to read or write files, have an SD card.
Click to expand...
Click to collapse
Already! Awesome, have you tested this ?
duraaraa said:
Here is a preliminary build of TWRP for P10 Plus.
https://drive.google.com/open?id=0B6ox6M5Lb2JYZklQSnZZbHA0ZUk
Pretty sure all the normal functions work, with the exception of decrypting data partition. So if you need to read or write files, have an SD card.
Click to expand...
Click to collapse
can you backup you oeminfo? i need the VKY-L29C636 oeminfo!
duraaraa said:
Here is a preliminary build of TWRP for P10 Plus.
https://drive.google.com/open?id=0B6ox6M5Lb2JYZklQSnZZbHA0ZUk
Pretty sure all the normal functions work, with the exception of decrypting data partition. So if you need to read or write files, have an SD card.
Click to expand...
Click to collapse
Any chance were able to install root using this twrp?
XtraArrow said:
Any chance were able to install root using this twrp?
Click to expand...
Click to collapse
You can root with phh superuser.
duraaraa said:
You can root with phh superuser.
Click to expand...
Click to collapse
Can you kindly tell me the steps? I've got my bootloader unlocked and the twrp installed ATM.
XtraArrow said:
Can you kindly tell me the steps? I've got my bootloader unlocked and the twrp installed ATM.
Click to expand...
Click to collapse
Follow the steps here:
https://forum.xda-developers.com/mate-9/development/recovery-unofficial-twrp-huawei-mate-9-t3515617
duraaraa said:
Follow the steps here:
https://forum.xda-developers.com/mate-9/development/recovery-unofficial-twrp-huawei-mate-9-t3515617
Click to expand...
Click to collapse
Appreciate it. I guess I'm going to be needing an SD card.
@duraaraa Wait wait wait....So, with the phone JUST being released, we have a valid and FULLY functional TWRP, *ALONG WITH* a workable ROOT method too? Really?
That's awesome if so! Are there only certain models / ROMs which we can do this on? According to the linked thread for Mate 9 it says its tested and working great on International Dual Sim MHA-L29 phones, is that the only 1 or type at this stage?
RoOSTA
roosta said:
@duraaraa Wait wait wait....So, with the phone JUST being released, we have a valid and FULLY functional TWRP, *ALONG WITH* a workable ROOT method too? Really?
That's awesome if so! Are there only certain models / ROMs which we can do this on, or virtually any? Like single and dual SIM etc
RoOSTA
Click to expand...
Click to collapse
Not only that, but you can switch between versions, once I stop being so lazy and start releasing the OEMINFO for various brandings.
The root and the TWRP will work for ALL P10 and P10 Plus versions, as well as the Honor 8 Pro. They are all the same, more or less.
My full-time job is running a service which deals with only Huawei firmware updates, so I deal with it every day, and have no trouble with these things Mostly the phones are the same. Even to the extent where things like this are possible:
https://forum.xda-developers.com/mate-9/how-to/mate-9-rebranded-to-p10-t3587697
duraaraa said:
Not only that, but you can switch between versions, once I stop being so lazy and start releasing the OEMINFO for various brandings.
The root and the TWRP will work for ALL P10 and P10 Plus versions, as well as the Honor 8 Pro. They are all the same, more or less.
My full-time job is running a service which deals with only Huawei firmware updates, so I deal with it every day, and have no trouble with these things Mostly the phones are the same. Even to the extent where things like this are possible:
https://forum.xda-developers.com/mate-9/how-to/mate-9-rebranded-to-p10-t3587697
Click to expand...
Click to collapse
Finally got root, appreciate all the help you gave. Just wondering. Are we able to flash the standard SuperSU? Also I'm unable to uninstall system apps via the apps. How come?
Edit: can't mount system at all and unable to install busybox. Tried multiple methods to mount system. Just won't have it.
XtraArrow said:
Finally got root, appreciate all the help you gave. Just wondering. Are we able to flash the standard SuperSU? Also I'm unable to uninstall system apps via the apps. How come?
Edit: can't mount system at all and unable to install busybox. Tried multiple methods to mount system. Just won't have it.
Click to expand...
Click to collapse
With that method, you can't mount system.
If you want to mount system, it will be a bit more work. I think the process will look something like this:
https://forum.xda-developers.com/mate-9/how-to/guide-how-to-root-mate-9-decrypt-data-t3569986
duraaraa said:
Not only that, but you can switch between versions, once I stop being so lazy and start releasing the OEMINFO for various brandings.
The root and the TWRP will work for ALL P10 and P10 Plus versions, as well as the Honor 8 Pro. They are all the same, more or less.
My full-time job is running a service which deals with only Huawei firmware updates, so I deal with it every day, and have no trouble with these things Mostly the phones are the same. Even to the extent where things like this are possible:
https://forum.xda-developers.com/mate-9/how-to/mate-9-rebranded-to-p10-t3587697
Click to expand...
Click to collapse
Now you are one person to keep around in case we brick our P series device
Thanks for the info
* Join Huawei P10/P10+ WhatsApp Group *
duraaraa said:
With that method, you can't mount system.
If you want to mount system, it will be a bit more work. I think the process will look something like this:
https://forum.xda-developers.com/mate-9/how-to/guide-how-to-root-mate-9-decrypt-data-t3569986
Click to expand...
Click to collapse
OK..
There's a lot of scattered posts from Mate 9 and now a P10+ thread for TWRP and again, separate post again for a more universal root method. So let's try and consolidate them into the one place and focus on the one device - that way we help those who get easily confused (yes, people like me) making sure all resources are in the 1 spot. I may end up creating a separate thread to POOL all resources together. But for now, i'll use this post:
So how do we go about ROOTING P10 Plus - assuming its **MY** VKY-L29 international DUAL SIM model 128GB / 6GB?
duraaraa said:
... You'd use the same PHH root zip [linked here]:
[ https://superuser.phh.me/superuser.zip ]
But with the TWRP from the P10+ thread [linked here]:
[ https://drive.google.com/open?id=0B6ox6M5Lb2JYZklQSnZZbHA0ZUk ]
Click to expand...
Click to collapse
Pre-root and TWRP step: OEM unlock code - The guide below mentions calling and then getting an email. How can you get it off their website??
The following is courtesy of @Tkkg1994 for the guide and @phhusson for the SuperUser root method:
HOW-TO INSTALL
0. Make sure you enabled OEM unlock in settings, if you haven't please do that now by tipping 10 times on build number (to activate developer options), than open developer options and go to OEM unlock, enable it
1. Having an unlocked bootloader IS a requirement! ***
2. Download the TWRP recovery (file is in his post, page 1, post 1 - OP)
3. Make sure you got fastboot drivers installed (I will describe this below in how to unlock your bootloader)
4. Open the adb/fastboot application on your PC and copy the IMG file from step 3 into the same root folder of ADB/fastboot
5. Boot your phone into download mode
(First method: fastboot reboot-bootloader while connected to pc.
Second method: power off your phone, hit power on and volume down until it boots to download mode)
6. On this screen, your phone should say "Phone Unlocked". If not - don't proceed.
7. If it IS unlocked, type now into your adb/fastboot terminal: fastboot flash recovery FILENAME.IMG where FILENAME is the name of the file you've download in step 3 with the extension (.img)
8. Type: fastboot reboot
9. Now boot into recovery by pressing: power+volume up at the same time
10. Enjoy TWRP!
HOW-TO UNLOCK BOOTLOADER
1. Call Huawei in the HiCare app, request the bootloader unlock code there (I had to give my email, IMEI, serial number etc)
2. You will receive an email maybe a few days or hours later with the unlock code, when you got it you can go on here
3. Install minimal adb and fastboot drivers from here: http://forum.xda-developers.com/showthread.php?t=2317790
4. Plug in your phone and make sure all huawei drivers installed properly!
5. Enable developer options in settings as described above.
6. Enable OEM unlock, enable USB debugging (both in developer options)
7. Open the adb tool you installed recently
8. Type fastboot devices (now a device number should show up)
9. Type fastboot reboot-bootloader (your phone will now boot into bootloader, if not, you haven't set up drivers or adb/fastboot correctly)
10. This step will wipe all your data! Type: fastboot oem unlock xxx (Where 'xxx' represents your unique unlock code)
11. Ones it's done type: fastboot reboot. Your phone will reboot and you have an unlocked bootloader!
12. You can now go on installing TWRP on your device
HOW-TO ROOT YOUR HUAWEI P10 PLUS:
0. Create a backup, just in case
1. Have an unlocked bootloader and TWRP installed from above
2. We will use this root method LINKED HERE: https://forum.xda-developers.com/android/software-hacking/wip-selinux-capable-superuser-t3216394
3. Download latest official phh superuser zip (At time of copying over this guide, it is 'r275 version') http://phhusson.free.fr/superuser-r275.zip
4. Put the zip on your external SD card of your phone (since we can't access /data in twrp)
5. Boot into TWRP and flash the downloaded file
6. Install latest Material phh apk: http://forum.xda-developers.com/showpost.php?p=69224582&postcount=1896
7. Now you should be rooted, congrats!
SUPPORTED DEVICES
MHA-L29 devices (Is this the same as a VKY-L29 phones????)
MHA-L09 devices
MHA-AL00 devices
MHA-TL01 devices
Am I missing anything? Can I add to or delete info from any steps? This should work without a hitch? I'll keep updated this. Thanks to all those who have helped write or create methods for successfully achieving root/TWRP on other Huawei devices. I want this to focus on the P10+ Plus
RoOSTA
roosta said:
OK..
There's a lot of scattered posts from Mate 9 and now a P10+ thread for TWRP and again, separate post again for a more universal root method. So let's try and consolidate them into the one place and focus on the one device - that way we help those who get easily confused (yes, people like me) making sure all resources are in the 1 spot. I may end up creating a separate thread to POOL all resources together. But for now, i'll use this post:
So how do we go about ROOTING P10 Plus - assuming its **MY** VKY-L29 international DUAL SIM model 128GB / 6GB?
Pre-root and TWRP step: OEM unlock code - The guide below mentions calling and then getting an email. How can you get it off their website??
The following is courtesy of @Tkkg1994 for the guide and @phhusson for the SuperUser root method:
HOW-TO INSTALL
0. Make sure you enabled OEM unlock in settings, if you haven't please do that now by tipping 10 times on build number (to activate developer options), than open developer options and go to OEM unlock, enable it
1. Have an unlocked bootloader is required! ***
2. Download the TWRP recovery (FROM ABOVE)
3. Make sure you got fastboot drivers installed (I will describe this below in how to unlock your bootloader)
4. Open the adb/fastboot application on your pc and go to the directory where your TWRP img file is downloaded
5. Boot your phone into download mode
(First method: fastboot reboot-bootloader while connected to pc.
Second method: power off your phone, hit power on and volume down until it boots to download mode)
6. Check again if there is written: unlocked phone!
7. If YES, type now into your adb/fastboot terminal: fastboot flash recovery twrp-3.0.2-0-hi3660.img
8. Type: fastboot reboot
9. Now boot into recovery by pressing: power+volume up+volume down at the same time
10. Enjoy TWRP!
HOW-TO UNLOCK BOOTLOADER
1. Call Huawei in the HiCare app, request the bootloader unlock code there (I had to give my email, IMEI, serial number etc)
2. You will receive an email maybe a few days or hours later with the unlock code, when you got it you can go on here
3. Install minimal adb and fastboot drivers from here: http://forum.xda-developers.com/showthread.php?t=2317790
4. Plug in your phone and make sure all huawei drivers installed properly!
5. Enable developer options in settings as described above.
6. Enable OEM unlock, enable USB debugging (both in developer options)
7. Open the adb tool you installed recently
8. Type fastboot devices (now a device number should show up)
9. Type fastboot reboot-bootloader (your phone will now boot into bootloader, if not, you haven't set up drivers or adb/fastboot correctly)
10. This step will wipe all your data! Type: fastboot oem unlock xxx (Where 'xxx' represents your unique unlock code)
11. Ones it's done type: fastboot reboot. Your phone will reboot and you have an unlocked bootloader!
12. You can now go on installing TWRP on your device
HOW-TO ROOT YOUR HUAWEI P10 PLUS:
0. Create a backup, just in case
1. Have an unlocked bootloader and TWRP installed from above
2. We will use this root method LINKED HERE: https://forum.xda-developers.com/android/software-hacking/wip-selinux-capable-superuser-t3216394
3. Download latest official phh superuser zip (At time of copying over this guide, it is 'r275 version') http://phhusson.free.fr/superuser-r275.zip
4. Put the zip on your external SD card of your phone (since we can't access /data in twrp)
5. Boot into TWRP and flash the downloaded file
6. Install latest Material phh apk: http://forum.xda-developers.com/showpost.php?p=69224582&postcount=1896
7. Now you should be rooted, congrats!
SUPPORTED DEVICES
MHA-L29 devices (Is this the same as a VKY-L29 phones????)
MHA-L09 devices
MHA-AL00 devices
MHA-TL01 devices
Am I missing anything? Can I add to or delete info from any steps? This should work without a hitch? I'll keep updated this. Thanks to all those who have helped write or create methods for successfully achieving root/TWRP on other Huawei devices. I want this to focus on the P10+ Plus
RoOSTA
Click to expand...
Click to collapse
While you can certainly focus on the P10+, the P10+, the P10 and the Honor 8 Pro are exactly the same when it comes to rooting/software, so whatever applies to those phones applies to the P10+ as well.
The Mate 9 is also the same, but it needs a different TWRP because the kernel is incompatible.
Obviously, the ROMs for each are different.
I know about TWRP, and I know it's possible to root with PHH, but that you won't be able to modify the System partition. But I don't root, myself, so anything beyond that, check out guides for the Mate 9 and modify them to fit the P10+, and they should work.
duraaraa said:
While you can certainly focus on the P10+, the P10+, the P10 and the Honor 8 Pro are exactly the same.
I know about TWRP, and I know it's possible to root with PHH, but that you won't be able to modify the System partition. But I don't root, myself, so anything beyond that, check out guides for the Mate 9 and modify them to fit the P10+, and they should work.
Click to expand...
Click to collapse
So if we want to get rid of some bloatware from Huawei, we are not able to do that? If we chant to change system related items (such as start up animation/audio when powering on, etc), this cannot be done with this kind of root?
RoOSTA
roosta said:
So if we want to get rid of some bloatware from Huawei, we are not able to do that? If we chant to change system related items (such as start up animation/audio when powering on, etc), this cannot be done with this kind of root?
RoOSTA
Click to expand...
Click to collapse
You could use Titanium Backup to freeze them, but you can't change system related items with this root, no.
So we can just check the Mate 9, Honor 8 Pro threads (etc) for other root advantages? Is XPOSED is working on them? As that requires a change to system and also what I'm looking to achieve. Is there a way around that for these other phones?
RoOSTA
roosta said:
So we can just check the Mate 9, Honor 8 Pro threads (etc) for other root advantages? Is XPOSED is working on them? As that requires a change to system and also what I'm looking to achieve. Is there a way around that for these other phones?
RoOSTA
Click to expand...
Click to collapse
Nobody has xposed working on any of them.
If I unlock my bootloader using Huawei official method, will it void my warranty? The 3-year warranty was a big selling point for me but I'd also really like to root my phone...
Do you think it will be possible to root the phone (with Magisk or something) without unlocking the bootloader/voiding the warranty ?
Hello everyone. I am new at this site and i want your help to relock the bootloader of my p8 lite ALE-21.
I took the unlocking number from huawei site, i locked it but now i want to relock it because sometimes in apps like facebook it's a little bit slower (not much). Can not install any update package.
I tries to relock it by using this command " fastboot oem lock " or "fastboot oem relock" but i get the same message that is saying that is FAILED. So if anyone know what can i do to relock it just reply to thread.
ArgisL said:
Hello everyone. I am new at this site and i want your help to relock the bootloader of my p8 lite ALE-21.
I took the unlocking number from huawei site, i locked it but now i want to relock it because sometimes in apps like facebook it's a little bit slower (not much). Can not install any update package.
I tries to relock it by using this command " fastboot oem lock " or "fastboot oem relock" but i get the same message that is saying that is FAILED. So if anyone know what can i do to relock it just reply to thread.
Click to expand...
Click to collapse
I don't think bootloader is causing your phone to slow down also you can still update your by sdcard.
.
For relocking I think you need to type that code too. The code which was used to unlock the phone.
Suleiman01 said:
I don't think bootloader is causing your phone to slow down also you can still update your by sdcard.
.
For relocking I think you need to type that code too. The code which was used to unlock the phone.
Click to expand...
Click to collapse
I tried to update the device from the update package from software update of the device and also i am getting an installing error because the bootloader is unlocked. Please tell me how can i update it from the sdcard.
When i tried to relock it i used the same code that i used to unlock it.
ArgisL said:
I tried to update the device from the update package from software update of the device and also i am getting an installing error because the bootloader is unlocked. Please tell me how can i update it from the sdcard.
When i tried to relock it i used the same code that i used to unlock it.
Click to expand...
Click to collapse
It's easy. Download the firmware from Huawei's official website. There will be a pdf file and dload folder. The instructions to update the phone is in that pdf file (with pictures).
Suleiman01 said:
It's easy. Download the firmware from Huawei's official website. There will be a pdf file and dload folder. The instructions to update the phone is in that pdf file (with pictures).
Click to expand...
Click to collapse
I will try it..
Any suggestions to rlock the bootloader ?
ArgisL said:
I will try it..
Any suggestions to rlock the bootloader ?
Click to expand...
Click to collapse
Try typing fastboot oem relock (without code).
By the way it isn't worth relocking your phone. It won't just boost your device.
Suleiman01 said:
Try typing fastboot oem relock (without code).
By the way it isn't worth relocking your phone. It won't just boost your device.
Click to expand...
Click to collapse
I know that but i think it is better to get any factory settings ..
Thank you for your help..
I'll try to update it and if there is something else i am gonna tell you
Hi!
bootloader unlocked don´t have anything to do with rom performance!
Unlocked only allows to change rom images.
New updates came with better performance, like B600 ( dual sim ) or B601 ( single sim ).
To flash a Huawei ROM you need to have a Huawei recovery, not TWRP.
How to do a force update.
Use PC, download the rom, extract the update.app file from rom.
Create a folder in sd card with name dload.
Copy the update.app file to inside dload folder.
Turn OFF the phone.
Press vol +, vol - and power at same time and wait to installing finish it!
I let you here the default Huawei recovery. -> recovery.img
.
persona78 said:
Hi!
bootloader unlocked don´t have anything to do with rom performance!
Unlocked only allows to change rom images.
New updates came with better performance, like B600 ( dual sim ) or B601 ( single sim ).
To flash a Huawei ROM you need to have a Huawei recovery, not TWRP.
How to do a force update.
Use PC, download the rom, extract the update.app file from rom.
Create a folder in sd card with name dload.
Copy the update.app file to inside dload folder.
Turn OFF the phone.
Press vol +, vol - and power at same time and wait to installing finish it!
I let you here the default Huawei recovery. -> recovery.img
.
Click to expand...
Click to collapse
I tried to do that without sdcard. I just created the dload folder and i pasted the update.app file . I did that with the volume and the power keys but nothing happened. The sd card is neccassery?
ArgisL said:
I tried to do that without sdcard. I just created the dload folder and i pasted the update.app file . I did that with the volume and the power keys but nothing happened. The sd card is neccassery?
Click to expand...
Click to collapse
Hmmm!?
I think not...
dload was with out caps, right?
.
persona78 said:
Hmmm!?
I think not...
dload was with out caps, right?
.
Click to expand...
Click to collapse
"dload" just like i write it
persona78 said:
Hmmm!?
I think not...
dload was with out caps, right?
.
Click to expand...
Click to collapse
I am asking that because i patsed on the storage of the phone
ArgisL said:
I am asking that because i patsed on the storage of the phone
Click to expand...
Click to collapse
No. It doesn't matter. dload folder should be in root directory either in sdcard or internal storage.
Suleiman01 said:
No. It doesn't matter. dload folder should be in root directory either in sdcard or internal storage.
Click to expand...
Click to collapse
I am getting installatjiin error with both ways
ArgisL said:
I am getting installatjiin error with both ways
Click to expand...
Click to collapse
You can't just upgrade to latest version, it has to be done in steps...
My P8 Lite was on LP Build 130 (single sim), I had to upgrade it to B133 first then B170, before being able to upgrade to MM.
What version is your phone running?
p.s. you *do* require an SD Card to perform manual upgrades...
This is an excerpt from the B170 upgrade documentation
Version introduction
The following versions can be upgraded.
Versions can be upgraded ALE-L21C432B160 ALE-L21C432B150 ALE-L21C432B136 ALE-L21C432B134 ALE-L21C432B132 Upgrade package
Upgrade package Info
Main package Software\dload\UPDATE.APP Vendor package Test\TestSoftware\vendor\UPDATE.APP Upgrade tools Micro SD card Upgrade environment requirements
Check current upgrade environment
To make sure that the Micro SD card is available and can be read and write.
Notes: A Micro SD card of 4GB or more should be available. It is recommended that The Micro SD card is made by Sandisk, Kingstone, or Kingmax.
To make sure that the power of the battery is enough to run the upgrade process. It is recommended that the power of the battery is more than 40%.
Upgrade operations will erase all user data. So if there are some important information, you should backup them before upgrade.
To make sure the model of LCD is not BOE_NT35521S or your phone will be black after upgrading. Method: enter:*#*#2846579#*#* -> Veneer Informations ->Apparatus Info -> LCD Model
Click to expand...
Click to collapse
acolwill said:
You can't just upgrade to latest version, it has to be done in steps...
My P8 Lite was on LP Build 130 (single sim), I had to upgrade it to B133 first then B170, before being able to upgrade to MM.
What version is your phone running?
p.s. you *do* require an SD Card to perform manual upgrades...
This is an excerpt from the B170 upgrade documentation
Click to expand...
Click to collapse
That is the version i am running now.
It is a custom rom based on official
ArgisL said:
That is the version i am running now.
It is a custom rom based on official
Click to expand...
Click to collapse
To be perfectly honest, when I updated from LP to MM I noticed the phone was considerably slower... Try using the phone tools to limit apps running at start-up and/or do a full wipe.
One thing I did find useful on my LG G4 after several phone flashes was to do an SD trim (fstrim on Google play), this forces the phone to wipe and free up the partially written nand blocks
acolwill said:
To be perfectly honest, when I updated from LP to MM I noticed the phone was considerably slower... Try using the phone tools to limit apps running at start-up and/or do a full wipe.
One thing I did find useful on my LG G4 after several phone flashes was to do an SD trim (fstrim on Google play), this forces the phone to wipe and free up the partially written nand blocks
Click to expand...
Click to collapse
I'll try everything tthat you said to me and i will reply for any trouble
Is root available for this device yet? i see that the kernel sources are already released by Honor.
I tried a lot but wasn´t able to install root yet. I killed me recovery though...
iroot and one-click-root don´t work yet. There is no wroking twrp. One thing I didn´t try yet is Framaroot.
phh's treble rom has root. our phone is treble-ready since it came with 8.0 out of the box.
gonna give it a shot. dont like emui anyway. too iphone-like
Do we have any developer for honor 9 lite??
https://forum.xda-developers.com/pr...opment/experimental-phh-treble-t3709659/page1
here is your root and also phh shows some interest in the honor 9 lite.
as a bonus u get clean aosp android with substratum and everything.
every one-click root solution is a hacky mess relying on some exploit. nothing i would ever do to my devices
Root
4RK4N said:
https://forum.xda-developers.com/pr...opment/experimental-phh-treble-t3709659/page1
here is your root and also phh shows some interest in the honor 9 lite.
as a bonus u get clean aosp android with substratum and everything.
every one-click root solution is a hacky mess relying on some exploit. nothing i would ever do to my devices
Click to expand...
Click to collapse
Were you able to install the rom?It says that the boot loader needs to be unlocked . If yes, is your model Indian or Chinese?
adriansiv said:
Were you able to install the rom?It says that the boot loader needs to be unlocked . If yes, is your model Indian or Chinese?
Click to expand...
Click to collapse
im running the rom for 4 days now with no problem except bluetooth not working which i dont use anyway.
bootloader unlocking is no problem. just make a huawei id and fill the unlocking webform to get your unlocking code. go to developer settings, enable "oem unlock" and "usb debugging", get "minimal adb and fastboot" working on your pc, plug phone into pc, change to "transfer files" on the phone if you are on charging only mode, open minimal adb and fasstboot on your pc, in the cmd prompt do "adb reboot-bootloader", wait for the phone to go bootloader mode (grey screen with green android and some text), do "fastboot oem unlock unlock_password" on the command prompt and accept on the phone. all your data is lost now btw.
just google smth like "honor bootloader unlock" if u need more details.
about flashing: go into bootloader again, do
Code:
fastboot flash system "C:\path\to\downloaded\system.img"
after that do: "fastboot format userdata" and "fastboot format cache" and reboot. if something crashes during android setup: reboot into recovery (volume up + power) and factory reset. if it still crashes do it again and maybe reflash. took me about 5 attempts. glhf.
oh and i have the european model i think. LLD-L31 3gb ram 32 gb storage. purchased via german amazon website. next day prime delivery so i doubt its imported.
Sent from my Honor 9 Lite using XDA Labs
4RK4N said:
im running the rom for 4 days now with no problem except bluetooth not working which i dont use anyway.
bootloader unlocking is no problem. just make a huawei id and fill the unlocking webform to get your unlocking code. go to developer settings, enable "oem unlock" and "usb debugging", get "minimal adb and fastboot" working on your pc, plug phone into pc, change to "transfer files" on the phone if you are on charging only mode, open minimal adb and fasstboot on your pc, in the cmd prompt do "adb reboot-bootloader", wait for the phone to go bootloader mode (grey screen with green android and some text), do "fastboot oem unlock unlock_password" on the command prompt and accept on the phone. all your data is lost now btw.
just google smth like "honor bootloader unlock" if u need more details.
about flashing: go into bootloader again, do
Code:
fastboot flash system "C:\path\to\downloaded\system.img"
after that do: "fastboot format userdata" and "fastboot format cache" and reboot. if something crashes during android setup: reboot into recovery (volume up + power) and factory reset. if it still crashes do it again and maybe reflash. took me about 5 attempts. glhf.
oh and i have the european model i think. LLD-L31 3gb ram 32 gb storage. purchased via german amazon website. next day prime delivery so i doubt its imported.
Sent from my Honor 9 Lite using XDA Labs
Click to expand...
Click to collapse
Hi 4RK4N,
Thanks for your detailed how to for project treble, that will be a good plan b for me. For reasons like xposed and stuff, what I try to achieve is working twrp and root. Since I bought mine in german amazon too, I think we're talking about the same model (LLD-L31). All I could find except one click root crap is an article on theleaker. Since this is my first post here i'm not allowed to link it. Guy claims after unlocking bootloader, twrp and root both working fine.
unlock-bootloader-install-twrp-root-huawei-honor-9-lite/
After theleakerdotcom ;
Have u or has anyone else owning the european honor 9 lite tried that method, or is it just click bait?
RobertBart said:
im running the rom for 4 days now with no problem except bluetooth not working which i dont use anyway.
bootloader unlocking is no problem. just make a huawei id and fill the unlocking webform to get your unlocking code. go to developer settings, enable "oem unlock" and "usb debugging", get "minimal adb and fastboot" working on your pc, plug phone into pc, change to "transfer files" on the phone if you are on charging only mode, open minimal adb and fasstboot on your pc, in the cmd prompt do "adb reboot-bootloader", wait for the phone to go bootloader mode (grey screen with green android and some text), do "fastboot oem unlock unlock_password" on the command prompt and accept on the phone. all your data is lost now btw.
just google smth like "honor bootloader unlock" if u need more details.
about flashing: go into bootloader again, do
Hi 4RK4N,
Thanks for your detailed how to for project treble, that will be a good plan b for me. For reasons like xposed and stuff, what I try to achieve is working twrp and root. Since I bought mine in german amazon too, I think we're talking about the same model (LLD-L31). All I could find except one click root crap is an article on theleaker. Since this is my first post here i'm not allowed to link it. Guy claims after unlocking bootloader, twrp and root both working fine.
unlock-bootloader-install-twrp-root-huawei-honor-9-lite/
After theleakerdotcom ;
Have u or has anyone else owning the european honor 9 lite tried that method, or is it just click bait?
Click to expand...
Click to collapse
most likely clickbait. there is no twrp (yet) for our device. the one linked in that article is for huawei p9 lite. that one will most likely brick your phone. found other articles with the exact same text and another wrong recovery.
if that recovery would be the correct one for our device, the supersu.zip would work.
phh explicitely advises against using magisk with this rom btw.
currently your only real option for rooting this phone is phh's treble rom in the pre-rooted version (with phhsuperuser btw).
Sent from my Honor 9 Lite using XDA Labs
4RK4N said:
most likely clickbait. there is no twrp (yet) for our device. the one linked in that article is for huawei p9 lite. that one will most likely brick your phone. found other articles with the exact same text and another wrong recovery.
if that recovery would be the correct one for our device, the supersu.zip would work.
phh explicitely advises against using magisk with this rom btw.
currently your only real option for rooting this phone is phh's treble rom in the pre-rooted version (with phhsuperuser btw).
Sent from my Honor 9 Lite using XDA Labs
Click to expand...
Click to collapse
Thanks again, this time for bewaring me from bricking my device . That was too good to be true.
Since u mentioned bluetooth is not working in treble rom and as there's no twrp, meaning no chance for xposed, I guess waiting for the awesome xda community is my only option now.
But maybe I give it a shot in case that needs too long
Cheers
When there will be root and twrp for honor 9 lite
Mitch fulcher said:
When there will be root and twrp for honor 9 lite
Click to expand...
Click to collapse
Once we get the full Firmware release for our device then we will have TWRP and root... Till then wait
please try this method, it's easy and easy to recover if you got it brick.
https://forum.xda-developers.com/mate-10/development/kernel-mate-10-mate-10-pro-stock-t3744501
I read through quite a few post here to get everything sorted out and in order to save every one some time here is a summary of all the info I have gathered so far, and my way to thank the forum for offering me so many helpful tips. I'll try to keep this thread updated as information comes in.
All credit goes to their respective owners, I am only aggregating all the information here.
Current status on BL Unlock:
China version: OEM unlock not greyed out, direct BL unlock possible
EU/NA version (L09/L29/L0C): OEM unlock greyed out in developer options, BL unlock possible via FunkyHuawei method by upgrading to .170.
UPDATE 2019/01/02: Some users reported they have already received the .171 update from carrier (https://forum.xda-developers.com/showpost.php?p=78571337&postcount=6), if that is the case you can skip the FH Method part and go directly to unlock BL.
Note: Currently .170 is not GooglePay certified, so Google Pay won't work on this, if you must have Google pay please wait for your carrier to update to some version that support OEM unlock (tap build number 7x to get Developer Options in Settings -> System -> About Phone and then go to Settings -> System -> Developer Options and see if Enable OEM Unlock option is enabled).
Also current recovery install requires you to boot into recovery (Power and volume up with phone disconnected from USB) every single time if you want root, which is not perfect.
The only time you'd be required to wipe your phone is right after your BL is unlocked with fastboot OEM unlock, please make sure you have a backup before doing that step.
Where to get unlock code?
In order to get BL unlocked, you need both allow OEM unlock option NOT greyed out (i.e., you can enable it) AND a BL unlock code. BL unlock code can only be purchased either from FunkyHuawei (55 USD one time for BL unlock code only or if you buy an unlimited pass 132USD for unlimited flashing + BL unlock code (note that it is locked to your phone and can not be transferred)), or MinistryOfSolutions (30 Euro, https://ministryofsolutions.com/huawei-bootloader-unlock-service-all-new-models-new-firmwares, BL unlock code only).
FunkyHuawei Method (for non-China version)
1. Create an account in https://funkyhuawei.club/membersarea, buy 1 credit (if you just want to download .170 firmware, each credit cost 18USD).
2. Go to Select Firmware tab, use LYA-Global if you don't see the exact model. Then select .171 version.
3. Follow instructions here: https://pastebin.com/raw/Db5ZSyqu, you must download the specific HiSuite version (9.0.2.301)and the specific installer executable. Run the executable FHHiSuiteInstaller.exe as administrator (right-click and choose Run As Administrator) <- must run as admin since it will need to modify your host file. Make sure the script runs without error.
3.1 (Additional step for L0C): Edit the c:\users\YOURHOMEFOLDER\appdata\local\hisuite\userdata\updatedogdev\hisuiteconfig.xml file and change LYA-L29 to LYA-L0C everywhere it occurs and save the file. (Thanks to FunkyHuawei Support for pointing this one out).
4. Put the phone into fastboot mode (adb reboot-bootloader or with the phone off connect the usb cable while holding volume down, or boot the phone holding volume down with USB cable connected to PC).
5. Go to HiSuite on your PC and click on System Recovery (furthest to the right towards the bottom of the main screen), and let it do the magic. You will see some cmd windows pop up however it should get to the download progress with a percentage pretty fast, if you don't see that pop up then please check to make sure you have at least one credit in the FH Select Firmware tab and you have installed the specific versions of HiSuite and ran the installer as admin in Step 3.
6. Once everything is completed please verify to see if your firmware version is .171.
Unlock Bootloader
Again, get the BL code and go to Settings -> System -> Developer Options and make sure Enable OEM Unlock option is enabled. Also check to make sure you have everything backed up. Also enable USB Debugging in the same screen as well.
Rest is pretty standard:
Code:
adb devices (will bring up the authorization window on your phone, click on Always Trust)
adb reboot-bootloader
fastboot devices (make sure the device is in fastboot mode)
fastboot oem unlock *UNLOCK CODE*
at this point there will be a format operation performed on the phone, if it didn't complete successfully don't worry, your phone is wiped. During the boot you should see a black window with yellow text of warnings to tell you your phone is unlocked and not secured.
Go through all the steps to initialize the phone, turn on Developer options again, and enable USB Debugging again.
Root
1. Download and install Magisk Manager from this XDA post: https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
2. Switch channel, go to Magisk Manager -> Settings -> Update Channel , set it to Custom, and the URL is https://bit.ly/2N8UVlq (at the moment, per https://forum.xda-developers.com/apps/magisk/dev-magisk-canary-channel-bleeding-edge-t3839337). Go back to main screen and down swipe to refresh, it should say Latest Version > v18.0.
3. You will need to find the stock RECOVERY_RAMDIS.img file, I used HW Firmware Finder (https://forum.xda-developers.com/tools/general/huawei-firmware-finder-team-mt-t3469146) to help me with the task, however I couldn't find the L0C update file and ended up using L09 update file instead, which appear to work. I also couldn't find the update.zip for .171 so I ended up using the latest full update version that was available to me (http://update.hicloud.com:8180/TDS/...69/g1750/v181585/f1/full/update_full_base.zip).
4. Unzip the file, drag out UPDATE.APP file in the zip package, and opened it with Huawei Firmware Extractor (I used 0.9.9.5 in this thread: https://forum.xda-developers.com/showthread.php?t=2433454). Extract and open the UPDATE.APP in update file. If you get a checksum error make sure to uncheck both of the verify checksum in Settings -> Extract.
5. Now you should see a RECOVERY_RAMDIS.img file, right click and extract it.
6. Send the RECOVERY_RAMDIS.img file back to your phone (anywhere is fine), go back to Magisk Manager -> Install -> Patch boot, get the patched_boot.img file from the phone back to the PC.
UPDATE 2019/01/02: @pvillasuso was kind enough to post the ramdisk image (both original and Magisk modified) for Mate 20 Pro LYA-L09 (Firmware version .171):https://forum.xda-developers.com/showpost.php?p=78575496&postcount=13, obviously use it at your own risk.
7. Go to fastboot mode again:
Code:
adb devices
adb reboot-bootloader
fastboot devices
fastboot flash recovery_ramdisk "PATH_TO_patched_boot.img"
fastboot reboot
Now your phone should be back to normal with no root yet, turn off your phone and turn it back on by booting into recovery (Power and volume up with phone disconnected from USB)
Boot up and if you go to Magisk now you should be able to see Magisk installed with Installed Version same as Latest Version.
Congrats you are now rooted!
In future you will need to boot into recovery each time to maintain root (which requires you to turn phone off and power + vol up), if you prefer not to do so @ThatsJustLogic suggested you can use the app https://forum.xda-developers.com/showpost.php?p=78569733&postcount=2 to add a one-click reboot from your dropdown menu.
Credits:
@ThatsJustLogic - Figured out the installation steps to patch ramdisk: https://forum.xda-developers.com/showpost.php?p=78554707&postcount=125
@duraaraa - Guy behind FunkyHuawei for figuring out the .171 upgrade and make everything works smoothly https://forum.xda-developers.com/mate-20-pro/how-to/unlock-rebrand-unbrick-update-t3855065
@mutahharbashir - Guy behind MinistryOfSolutions for the unlock BL code.
And creators of Magisk, HWFirmwareFinder, HWUpdateExtractor.
zhuanyi said:
Now your phone should be back to normal with no root yet, turn off your phone and turn it back on by booting into recovery (Power and volume up with phone disconnected from USB)
Click to expand...
Click to collapse
To stop you needing to do this on every boot this app: https://play.google.com/store/apps/details?id=com.superthomaslab.rootessentials allows you to add a "Reboot Recovery" button to your notification tray so its just a one tap reboot instead of holding volume up when you want to reboot after applying a change or something its something small but it saves some hassle.
Awwsome, thank you so much. Now I can finally use Google pay on global firmware 9.0.0.171. It's working perfectly
This is amazing development
Hi, can someone post his oeminfo?
On firmware versions; I have an Australian L29 running an ota update v 168. Oem unlock is available, and Google pay works.
Thank you for the guide.
Can we re-brand from Chinese to international now?
thunderpossuem said:
On firmware versions; I have an Australian L29 running an ota update v 168. Oem unlock is available, and Google pay works.
Click to expand...
Click to collapse
How come? Can you post a screenshot with developer options on yhe screen?? Oh, you have. Can this mean that we will be able to unlock bootloader for free when v168 update arrives to other countries??
Sent from my LYA-L29 using XDA Labs
The 171 official firmware also allows OEM Unlock..
Maybe wait until you get the new update , save a few bucks
deepsrd said:
The 171 official firmware also allows OEM Unlock..
Maybe wait until you get the new update , save a few bucks
Click to expand...
Click to collapse
That's just what i thought
Sent from my LYA-L29 using XDA Labs
Thanks for the guide , Im rooted now !
One question , I have the patched_boot.img file , is it the same for everyone ?
I can share it and it will save some extra steps
Let me know
pvillasuso said:
Thanks for the guide , Im rooted now !
One question , I have the patched_boot.img file , is it the same for everyone ?
I can share it and it will save some extra steps
Let me know
Click to expand...
Click to collapse
The patched file will work for anyone who has the mate 20 pro and the same FW version as you. Theres no extra steps it just removes the finding the FW, extracting and patching the image yourself They will still need magisk and the canary channel.
If you are going to share I would specify Firmware version and attach a non patched one incase people have issues and want to revert.
My phone model : Mate 20 Pro LYA-L09 (Firmware version 9.0.0.211)
patched_boot.img > https://www.mediafire.com/file/fp3jk281d47bh6k/patched_boot.img/file
Apply on your own risk , worked for me !
Hi, glad to hear that even L0C model has to the chance to root. Just wondering after flash the global .171 version which should solve the OEM greyed-out problem, the next step is to purchase a BL unlock code? And is there a chance that after BL and FRP unlocked. My model (LYA-L0C) can be rebrand to another one?
deepsrd said:
The 171 official firmware also allows OEM Unlock..
Maybe wait until you get the new update , save a few bucks
Click to expand...
Click to collapse
Indeed it is 18 USD saved, also hopefully it is more compatible with your phone.
Can you give an example of your path to "PATH_TO_patched_boot.img"
I must be getting syntax incorrect for the file in internal storage download folder, and I have tried everything with and without / leaving out folders.
is this ota proof?
Some rooting questions....
Hi.
I will try to be brief and on topic. Feel free to remove post if not according to Xda forum rules.
Long story short. I am an heavy iOS user from the apple jailbreak scene. I am no developer (only user) and now I have taken the big step from IOS to Android.
Huawei mate 20 pro broke my curiosity. I have always "jailbroken" my iPhone since 2007 and now I am considering root of my HM20PRO.
I have some questions before I try this and brick my phone.
I have Norwegian model, LYA-L29 with 9.0.0.153 (c432) software. (BL unlock greyed out here as well)
How is the partitions setup on this device?
Easy explanation of RAM disk, main disk or whatever?
Do I always have the option to revert to stock setup no matter what? With simple erase/wipe/recover?
Is hisuite the recovery software to use if I want to go back?
Is it possible to unlock the boot loader and go back to 9.0.0.153??
Is the software builds so the highest number software has the latest fixes? (108,122,153,168,171 +++)
Do i loose the safety net like google pay, and other apps that can see that my phone is rooted?
Is there an app to run to trick the apps into believing that the phone is not rooted? (like on iOS)
Hope that someone can take the time to help me with my questions.
The boot via ramdisk/fastboot or what you call it to get rooted is only nesecary on each boot up right? You stay rooted until the next shutdown?
(Semi.tethered on iOS)
sorry for the noob questions, but I am new with this so thanks...
Regards,
Kenneth - Trondheim, Norway
PS:I have to say the switch from iOS to android and Huawei mate 20 pro have been great so far (except new replacement phone on the first day with green screen on BOE screen.) Now all is good.
Main reasons to root android?
I like to have different custom gestures through out the software. And also tweaked apps and notification tweaks, icons.
fromiOS2Android said:
Hi.
How is the partitions setup on this device?
Easy explanation of RAM disk, main disk or whatever?
Do I always have the option to revert to stock setup no matter what? With simple erase/wipe/recover?
Is hisuite the recovery software to use if I want to go back?
Is it possible to unlock the boot loader and go back to 9.0.0.153??
Is the software builds so the highest number software has the latest fixes? (108,122,153,168,171 +++)
Do i loose the safety net like google pay, and other apps that can see that my phone is rooted?
Is there an app to run to trick the apps into believing that the phone is not rooted? (like on iOS)
The boot via ramdisk/fastboot or what you call it to get rooted is only nesecary on each boot up right? You stay rooted until the next shutdown?
(Semi.tethered on iOS)
Main reasons to root android? I like to have different custom gestures through out the software. And also tweaked apps and notification tweaks, icons.
Click to expand...
Click to collapse
Hi, first of all, welcome to Android
My advice is to NOT root until you got an answer to all your questions
I'll let some pros answer the technical questions on the partitions) but here's what I can tell you:
- Main reason to root for me is adblockers and (not a must though) custom roms.
- There is a function within magisk to hide root from apps.
- On the fixes, yes, 171 is the one that allows root and that's also the latest one with all the fixes.
- Once you root you stay rooted, you don't have to repeat the whole process at every boot.
- From what I read in several threads, right now you can't revert to older firmwares. Also, the 171 seems to be market specific, what I will do is to wait until the update gets rolled out in my market by Huawei, I read that the unlock bootloader option is then available officially.
- I would also like to know about google pay (does it brake with root?) and are there other functions that break (camera functions,etc) like it does on other phones (sony for instance)
charliebigpot said:
- I would also like to know about google pay (does it brake with root?) and are there other functions that break (camera functions,etc) like it does on other phones (sony for instance)
Click to expand...
Click to collapse
Using Magisk Hide on Google Pay will prevent it from detecting root, however if SafetyNet fails then it probably still won't work.
There are a few Magisk modules that can (apparently) force SafetyNet to pass, however I haven't ever used any of them.