Step by Step guide to unlock bootloader and root Huawei P8 lite ALE-21 - P8lite General

After seeing lot of scams on rooting of this phone i wrote this little guide which can be used to unlock and root P8 lite ALE-21 without much effort successfully. Whenever i found something about rooting this device it took me to some survey scam or ad-wares. I used this method personally and it worked for me very well.
Below is step by step guide to root huawei p8 lite ALE-21.
A- Method for obtaining bootloader code is changed by huawei. Now you can get it online immediately by filling out their form. All you need is a huawei ID.
Request unlock code from huawei, to do so send email to [email protected] containing following lines.
In subject write bootloader unlock code request
body of email should contain
> IMEI-1: __________________________
> IMEI-2:__________________________
> S/No. _____________ (Can be found in settings/About phone/Status/Serial number)
Once you sent this email you need to wait from few hours to 48 hours.
B- Unlock boot loader on your device.
1- Download this zip file, unzip it and install in your PC (See attached pdf file).
2- Connect your phone via data cable to PC.
3- Switch it off and then by pressing volume down and power together make it in fastboot mode (in this mode you will see "Phone locked" in red color at bottom of screen)
4- Click icon on desktop for "Minimal ADB and Fastboot"
5- (A command terminal will open indicating directory where adb is installed)
6- Type in command without quotes "fastboot devices"
7- If you can see serial number of your phone you are going right.
8- In the command prompt, enter “fastboot oem unlock ****************”, where * refers to the 16 digit unlock password, e.g. fastboot oem unlock 1234567812345678”
9- Now you have unlocked bootloader, and you can see it on fastboot mode screen at bottom.
C- How to root P8 lite ALE-21
1- Download this zip file on your desktop and unzip it (see attached pdf file).
2- Open folder ROOT/data and install "UniversalAdb Driver Setup6"
3- Remove all passwords from phone and simple a swipe could unlock phone.
4- Now open folder named ROOT on your desktop and double click INSTALAR-ROOT-P8-LITE and follow instructions shown by batch file.
5- Once process is finished you will get a unlocked rooted huawei p8 lite phone.
I checked this procedure on my P8 lite ALE-21 and translated to English, also added more instructions to make it easier for a newbie.
UPDATE-1 : Root by using command line manually.
The root process is simple and achieved by adb and fastboot commands. See the attached screen shot for commands if you intend to do it manually. Make sure you have installed UniversalAdbDriverSetup6.msi from Root/data and unlocked bootloader before following steps below.
Instructions:
1- Connect phone with PC.
2- Open folder Root/data
3- Press Shift + Right click
4- Click “Open command window here”
5- Then execute commands in a sequence you can see in attached file "commandline.jpg"
UPDATE-2: Error Fix "Stuck on Installing SuperSu"
Very few users experienced that process get stuck on terminal displaying “Installing SuperSU” or copying SuperSU
Fix in my opinion: Restore stock recovery, boot in recovery and wipe cache partition and start the process again.
1- Remove data cable of phone and press power button (a bit longer) to restart it.
2- Connect phone with PC when you see home screen.
3- Open folder Root/data
4- Press Shift + Right click
5- Click “Open command window here”
6- Type in terminal “adb.exe reboot-bootloader”
7- Type or paste this command to restore stock recovery “fastboot.exe flash recovery stockrecovery.img”
8- Type “fastboot.exe reboot”
9- When your phone is completely started execute command “adb.exe reboot recovery”
10- Wipe cache partition only and reboot device.
11- Install UniversalAdbDriverSetup6.msi from Root/data folder.
12- Restart PC and Plug in Phone and restart batch file or follow UPDATE-1 above.

thanks
thanks

A thank you and some notes for future users
The original Spanish version uses the same files and works for my Dutch P8 Lite ( v100r001c432b046 )
You can find the link to the zip file in the pdf file from smchohan.
UNLOCKING
Huawei answered quite quickly (7 hours) (I also mentioned my Product ID) and I used my own Android SDK executables to unlock the bootloader.
Contrary to what I found online I didn't lose any user data while unlocking.
ROOTING
The bat file wouldn't run for me, so I manually executed the commands to see what was going on.
I used my own executables (Android SDK) and decided not to install the Google drivers (UniversalAdb Driver Setup6) (stupid me).
So when Windows start looking for Nexus drivers it couldn't find them. Solved it by installing them, unplugging my phone and re-executing adb.exe reboot recovery
After this I got an error while transferring the SuperSU binary. Solved it by using the executables delivered in the zip file instead of my own adb.exe
I created an account just to share my experiences and to thank the original author and OP for translating.

Not sure if all root apps will work currently on this phone
Thankyou pietjpuk92 for sharing your experiences.
Surely this is translated and recompiled from huawei website and a spanish forum.
After rooting my device i installed key to supersu free to make it supersu pro, all root apps work fine, tested root explorer and flashify but titanium backup latest and few old version does not work with full functionality, especially when i tired to convert a user app to system or a system app to user it just stuck in processing. Its not problem with root but few apps needs to updated for this device.

Hi Guys
Newb here. I got hold of the bootloader unlock code from Huawei Mobile and am trying to root my P8 Lite.
Having difficulties with step B. When I execute "fastboot devices" nothing happens. Phone is connected and "phone locked" is displayed.
Any ideas?
Cheers

maxpowers410 said:
Hi Guys
Newb here. I got hold of the bootloader unlock code from Huawei Mobile and am trying to root my P8 Lite.
Having difficulties with step B. When I execute "fastboot devices" nothing happens. Phone is connected and "phone locked" is displayed.
Any ideas?
Cheers
Click to expand...
Click to collapse
These are the steps I followed to unlocked the bootloader:
1. Make sure USB debugging is enabled / HiSuite is able to make a connection
2. Check if you see your device with "adb devices"
3. Reboot into fastboot mode with "adb reboot bootloader". If you see "phone locked" than the bootloader is still locked.
4. Unlock the bootloader with "fastboot oem unlock ****************"
5. Wait. If the phone doesn't reboot by itself execute "fastboot reboot"
The "devices" command is used to see if your computer has a connection to your device.

maxpowers410 said:
Hi Guys
Newb here. I got hold of the bootloader unlock code from Huawei Mobile and am trying to root my P8 Lite.
Having difficulties with step B. When I execute "fastboot devices" nothing happens. Phone is connected and "phone locked" is displayed.
Any ideas?
Cheers
Click to expand...
Click to collapse
First switch on usb debugging in developer options. you will be able to access developer option in this phone by going in settings/about phone and then tapping build number several times. after enabling developers mode connect your phone to PC. once you connect your phone to PC switch it off, and then switch it on by pressing volume down and power key together for few seconds, a white screen should appear at bottom of which phone lckoed is written.
now write in command fastboot devices and press enter you should see serial number of your phone in terminal. If still not working message here again i will write down more detail on it.

PietjePuk92 said:
These are the steps I followed to unlocked the bootloader:
1. Make sure USB debugging is enabled / HiSuite is able to make a connection
2. Check if you see your device with "adb devices"
3. Reboot into fastboot mode with "adb reboot bootloader". If you see "phone locked" than the bootloader is still locked.
4. Unlock the bootloader with "fastboot oem unlock ****************"
5. Wait. If the phone doesn't reboot by itself execute "fastboot reboot"
The "devices" command is used to see if your computer has a connection to your device.
Click to expand...
Click to collapse
Thanks for the headsup, working now.
Started the process, runs through, install the drivers and gets stuck.
At this point the phone screen is black and the bat says "Installing SuperSU...."
Hangs here for some time and nothing happens. Restart the phone manually and nothing has changed. The bat file continues after the manual restart, it restarts the phone into the fastboot "phone unlocked". Restarts again, starts up normally, bat file finishes and phone is not rooted.
Can anyone push me in the right direction?
Thanks

maxpowers410 said:
Thanks for the headsup, working now.
Started the process, runs through, install the drivers and gets stuck.
At this point the phone screen is black and the bat says "Installing SuperSU...."
Hangs here for some time and nothing happens. Restart the phone manually and nothing has changed. The bat file continues after the manual restart, it restarts the phone into the fastboot "phone unlocked". Restarts again, starts up normally, bat file finishes and phone is not rooted.
Can anyone push me in the right direction?
Thanks
Click to expand...
Click to collapse
You may have the same problem as me with the bat file not working correctly.
Open the bat file with a text editor and look for the commands that are executed (TASKKILL, adb.exe & fastboot.exe). In Notepad++ these will be light blue instead of dark blue.
Open a commandline window in the same folder as the bat file and manually execute the commands. The comments in the file (echo's) will be your guidance.
If you still have a problem, please mention at which command the error occurs.

maxpowers410 said:
Thanks for the headsup, working now.
Started the process, runs through, install the drivers and gets stuck.
At this point the phone screen is black and the bat says "Installing SuperSU...."
Hangs here for some time and nothing happens. Restart the phone manually and nothing has changed. The bat file continues after the manual restart, it restarts the phone into the fastboot "phone unlocked". Restarts again, starts up normally, bat file finishes and phone is not rooted.
Can anyone push me in the right direction?
Thanks
Click to expand...
Click to collapse
Make it sure that you installed UniversalAdbDriverSetup6.msi file present in ROOT/data folder before starting step C. First install and then begin. when it shows black screen first time, on PC you will see installation of some drivers let it complete, then continue.

News for working twrp for this model?
Thanks in advance

Hi! I wrote an e-mail to Huawei but they didn't reply after 4 days. Is there another solution please?

YuYu_Man:P said:
Hi! I wrote an e-mail to Huawei but they didn't reply after 4 days. Is there another solution please?
Click to expand...
Click to collapse
Could not say any thing about it, as it depends on huawei they have to provide unlock code, in my case it came after a day, but due to weekend they might have delayed. Wait for a day more, hopefully you will get code, or mail them again.

GABRIPOSI said:
News for working twrp for this model?
Thanks in advance
Click to expand...
Click to collapse
Still no news but have to wait for a while, it will be there soon.

Thanks, everything went perfectly.
Sent from my ALE-L21 using XDA Free mobile app

Thank you!
Edit: But will they ever reply me even it will take a long time?
(Sorry for my bad English)
---------- Post added at 09:32 AM ---------- Previous post was at 09:24 AM ----------
And I have a question but it is NOT related to this thread but I'm writing here cuz I couldn't find any other general Q&A thread. So can I use a theme on my Huawei P8 Lite EMUI 3.1 with lollipop 5.0 a theme that is only for Huawei P8 EMUI 3.0 ? Will it work? Here is the link: http://www.huaweithemes.cf/2015/05/newborn-theme-p8-built-in-for-emui-30.html

YuYu_Man:P said:
Thank you!
Edit: But will they ever reply me even it will take a long time?
(Sorry for my bad English)
---------- Post added at 09:32 AM ---------- Previous post was at 09:24 AM ----------
And I have a question but it is NOT related to this thread but I'm writing here cuz I couldn't find any other general Q&A thread. So can I use a theme on my Huawei P8 Lite EMUI 3.1 with lollipop 5.0 a theme that is only for Huawei P8 EMUI 3.0 ? Will it work? Here is the link: http://www.huaweithemes.cf/2015/05/newborn-theme-p8-built-in-for-emui-30.html
Click to expand...
Click to collapse
Hopefully you will get code or send them email again with correct serial number.
About your question answer is yes you can use any hwt theme, for that;
First download this theme, it will be downloaded in /download folder of internal storage, copy it from downloads to /HWThemes folder. Now open themes app and you will see it there, apply it.

So it doesn't matter if I use that theme even it's for Huawei P8 EMUI 3.0 ? Will it brick my phone?
Sent from my ALE-L21 using XDA Free mobile app

YuYu_Man:P said:
So it doesn't matter if I use that theme even it's for Huawei P8 EMUI 3.0 ? Will it brick my phone?
Sent from my ALE-L21 using XDA Free mobile app
Click to expand...
Click to collapse
I am using all p8 themes on p8 lite, no problem at all.

Ok THanks
Sent from my ALE-L21 using XDA Free mobile app

Related

rooting galaxy tab 10.1v (working)

hi, this is how i managed to get root working on my tab, everything went fine for me till it came to booting into recovery then nothing use to happen so i combined two separate guides to get it working. thanks (bcmobile and 411tecknology)
the command in "(getting root 5) )" worked for me as i was getting stuck with "fastboot flash recovery skitzandroid-recovery.img"
i unlocked the bootloader by firmware upgrade the the following
for all those people like me with no experience in dos commands or linux, hope this works for you​
PREPARE:
1) With your Tab in fastboot mode (step 1 of “GETTING ROOT” below), make sure you have a working fastboot implementation:
working dir\\fastboot devices
If all is well, you should see your device serial number. If there is a problem, you won’t get any response.
2) Downlad the two files attached to this thread
3) create a folder in drive c naming it "root"
This will be referred to as the working directory throughout the rest of this guide
4) Copy skitzandroid-10-1v-root.zip to your working directory (DO NOT UNZIP!) c: root
5) Extract the skitzandroid-recovery.img file from skitzandroid-stock-recovery.zip to your working folder. Your working folder( c: root) should now have 1 IMG file and one ZIP file.
6) copy fastboot files to the the folder that you are going to use as working dir ( c:root)
7) Copy the skitzandroid-10-1v-root.zip file to the root of your sdcard. You can eithe drag/drop, or run:
working dir or c:\root>adb push skitzandroid-10-1v-root.zip /sdcard
GETTING ROOT:
1) Power off your Tab and power it back on, while holding the VOLUME DOWN button.
2) When the DOWNLOAD / FASTBOOT icons appear, press VOLUME DOWN again to select FASTBOOT icon (the one with the USB logo) and press VOLUME UP to confirm selection.
3) Confirm you are now in fastboot mode and do a:
fastboot devices
If all is well, you should see your device serial number.
4) Open a terminal / CMD prompt and CD to your working folder
keep doing cd.. until you get to "c:>" then
cd/root
5) Run the following command:
c:\root> fastboot boot skitzandroid-recovery.img
..and wait. It might not look like anything is happening but it is.
6) You should now have a recovery menu. Use the volume rocker (up/down navigates menu options)
to select “Install zip from SDCARD” (or something like that)
7) Navigate to the root of your internal storage (/sdcard), select the skitzandroid-10-1v-root.zip file and press (tap!) the POWER button to confirm selection.
Once complete, use the Volume rocker to select “REBOOT” from the menu and press (tap!!!) the POWER button to confirm selection.
9) YOUR’RE DONE. Press the thanks button on this thread to continue
TESTING:
Check your apps menu to confirm the existence of SuperUser app.
whats wrong with this?
http://forum.xda-developers.com/showthread.php?t=1079781
Nothing!
I used it on UNLOCKED 10.1v (not from Vodafone) and had no data loss!
Great, Thanks
Frank
I do not understand: 3) Confirm you are now in fastboot mode and do a:
fastboot devices
If all is well, you should see your device serial number.
Where do I enter this data?
I mean - fastboot deviсes
TNTCOSMOS said:
I do not understand: 3) Confirm you are now in fastboot mode and do a:
fastboot devices
If all is well, you should see your device serial number.
Where do I enter this data?
I mean - fastboot deviсes
Click to expand...
Click to collapse
once you start your device in fastboot mode and connect it with the computer to make sure your device is recognized by the computer you open command prompt take it to your working dir.. (ie. c:>root) in our case type fastboot devices and hit enter, if your computer recognized your device you will the serial number under it.
im sorry> can you help me?
When i write in the command line "fastboot.exe devices" nothing happens....
TNTCOSMOS said:
im sorry> can you help me?
When i write in the command line "fastboot.exe devices" nothing happens....
Click to expand...
Click to collapse
assuming you have installed sdk if not please do so, then staying in sdk go to
(C:\android\android-sdk-windows\platform-tools ) by clicking your mouse in desktop
(not cmd prompt). above eg.. is how i installed sdk on my desktop yours may be different, now in platform-tools you will see two files called fastboot copy them both to to your folder called ..root.. and you are set to go.
bottom line is if you want to start fastboot from any folder in cmd you have to have these two files in the folder.
also if you know that your device is detected by your computer dont worry about step 3. all it does is tell you that your device is connected.
I have all turned out, the problem was the drivers. I copied the driver from pdanet and it worked!
TNTCOSMOS said:
I have all turned out, the problem was the drivers. I copied the driver from pdanet and it worked!
Click to expand...
Click to collapse
Glad to hear that you finally got the root.
same problem
TNTCOSMOS said:
im sorry> can you help me?
When i write in the command line "fastboot.exe devices" nothing happens....
Click to expand...
Click to collapse
i've tried with pdanet too but it's not working....like the computer can't see the device...any ideea ???
and when i write "fastboot boot ......etc......" it says <waiting for the device>
please help
You need the drivers installed for fastboot, have you installed them? Please have a look at the [Guide] Unlock your bootloader thread. it contains all the details to get fastboot working.
thank you...finally did it
another noob question...how do i enter in cwm for installing another ROM ???
zbuggy said:
thank you...finally did it
another noob question...how do i enter in cwm for installing another ROM ???
Click to expand...
Click to collapse
The easiest way if you are rooted is to install rom manager from the market. It has an option to reboot to recovery if you have CWM installed. It also allows you to update to the latest CWM recovery if there is one.
i've tried putting the TB Galaxy 1.0.9: Honeycomb 3.1 + TouchWiz UX and i made a mistake... in cwm i've uploaded the zip file only with the update and not the rom itself.since then the tab won't start...it stop's in the beggining at the "samsung galaxy tab 10.1v"...any ideea...what can i do ?
Download latest rom and instructions from samfirmware.com using odin Get ur tab into fastboot mode with 3 button recovery and start from scratch.
It should work out
Sent from my GT-P7500 using Tapatalk
zbuggy said:
i've tried putting the TB Galaxy 1.0.9: Honeycomb 3.1 + TouchWiz UX and i made a mistake... in cwm i've uploaded the zip file only with the update and not the rom itself.since then the tab won't start...it stop's in the beggining at the "samsung galaxy tab 10.1v"...any ideea...what can i do ?
Click to expand...
Click to collapse
Do the following. If you have not yet odin.
Download the full rom.
Follow instructions in how to get into fasboot in sticky thread.
Once in fastboot you can load recovery via it, to do that download the recovery from droidbasement.com/blog, search on pershoot's website for recovery 4.0.4 if i remember correctly then type
fastboot boot recovery.img
where recovery.img is the name of the file you downloaded from droidbasement.com
Recovery will then load give it a minute or so.
Once loaded you can push the downloaded full rom via adb. That is part of the android sdk.
Like this: adb push romfile.zip /data/media/ (this will take a few minutes)
Then in cwm instal rom.
I hope it helps. Btw, remember you need to flash the wipe script of the rom before you install the rom if you are comming from stock.
Send from my GT-P7100
10x everybody it worked!!!!!!!!
Still me, posting in yet another thread. Still can't get the proper drivers. Pda method is not working. Which version of PDanet should I use ? The latest ? This is ****ing irritating...
I'm used to have to struggle to get things work at the beginning, but with my Magic and Hd2 it was a matter of hours...not weeks ! I'm sure it's something stupid but everybody deserted these guides topics...
I'm actually considering posting in the Dev section just to get attention...
Also, pershoot blog's advices are a joke : with no tags, a not working search field, no categories, try to find an info ! Knowing that the word "Recovery" will pop about 3 times per subject, I'm good to spend the week-end searching...
DannyBiker said:
Still me, posting in yet another thread. Still can't get the proper drivers. Pda method is not working. Which version of PDanet should I use ? The latest ? This is ****ing irritating...
I'm used to have to struggle to get things work at the beginning, but with my Magic and Hd2 it was a matter of hours...not weeks ! I'm sure it's something stupid but everybody deserted these guides topics...
I'm actually considering posting in the Dev section just to get attention...
Also, pershoot blog's advices are a joke : with no tags, a not working search field, no categories, try to find an info ! Knowing that the word "Recovery" will pop about 3 times per subject, I'm good to spend the week-end searching...
Click to expand...
Click to collapse
Hello,
I have been successful with rooting on win7. With win xp - after a few day struggling - fastboot did not give a go. Hope this helps
I just can't get the "Adb Original" signature from Pdanet. I always get standard Adb. I add the galaxy tab lines in the .inf file but still...
Do you guys edit the inf file with Wordpad or another tool ?

[GUIDE]Huawei P8 Lite Downgrade/Unlock Bootloader/Root(5.0 and 6.0)/ Enable Gyroscope

Disclaimer:
I am not responsible for what you do to your device, I tested these things for myself and posted it from my own experience, if you point the finger at me for whatever happens to your device, I will laugh at you.
HOWEVER, I am willing to help as long as it is asked kindly, and provided me with enough information.
Requirements:
Huawei P8 Lite ALE-L21 (DUAL-SIM)
5.0 Firmware of choice
Unlocked bootloader
Patience
Correct drivers
SD card of atleast 8 GB
Drivers: Install these before even starting!
Minimal ADB Fastboot drivers
Huawei HiSuite
Kingoroot Windows
TWRP 3.0.2.0 Kirin variant
Preparing environment: Making sure no admin priveledge is necessary
Install all drivers mentioned above in their standard directories, don't change anything.
Go to the following path:
Code:
For x64 OS:
C:\Program Files (x86)\Minimal ADB and Fastboot
For x86_32 OS:
C:\Program Files\Minimal ADB and Fastboot
Copy these files:
Code:
adb.exe
AdbWinApi.dll
AdbWinUsbApi.dll
fastboot.exe
And paste them on the desktop, in a folder called "rootingtools" so you're easily able to find it.
Then, go to your phone and enable USB debugging mode by going to
settings - about phone - press Build number 7 times
settings - developer options - USB debugging
Copy the content of "TWRP-3.0.0-2_P8-lite_KIRIN_variant.zip" and paste it into the "rootingtools" folder.
Backing up: Even though the unlocking process is not going to wipe your data, atleast it didn't for me, make SURE you have everything that you need backed up from the phone's internal memory.
Backing up your SD card wouldn't hurt neither.
First things first, unlock your bootloader!
I used this: https://emui.huawei.com/en/plugin.php?id=unlock&mod=detail
What you do is: fill in everything correctly and get the number at the end. It should be something in the words of:
Code:
Your unlocking password is: XXXX XXXX XXXX XXXX
(X resembles numbers, 16 numbers in total)
Copy the 16 numbers and go to the "rootingtools" folder on your desktop.
Hold the SHIFT key and right click inside the folder, then press "open command window here"
Now take your phone, power it off and power it on by holding volume DOWN and POWER.
You will get a white screen that says something like fastboot, and an android logo.
Plug your phone into the PC via USB cable.
In the command window write:
Code:
fastboot.exe oem unlock UNLOCKKEY
Where UNLOCKKEY represents the key you just copied, right clicking pastes the key in the command window.
It should return finished, so now your phone should be unlocked!
If you look at the screen, there will be text beneath the green Android logo saying "unlocked".
In this case, the operation has succeeded and you can go to the next step, else you can try again or post a reply.
Now write:
Code:
fastboot.exe reboot
Now the phone will boot up like normal.
Close the command window.
Android 5.0:
If your android version right now is Android 5.0, and you actually WANT to root 5.0 or anything below 6.0 you can proceed with this step, if you have 6.0 or want to root 6.0, skip this step.
Since your android version is 5.0 you're blessed!
You can easily root, but before proceeding you might want to make a backup
Make sure you have about 8GB of free storage either on an SD card or internal memory first.
Connect your phone to your PC in the booted-up state where you can see the homescreen, making sure that USB debugging is enabled.
Shift + right click inside the rootingtools folder to open a command window and write:
Code:
adb.exe reboot-bootloader
Your phone will reboot into the bootloader, a white screen with a green Android logo that says "unlocked" beneath it.
Now on the command window write:
Code:
fastboot.exe flash recovery recovery.img
Wait for it to finish and pull out the USB cable so it is NOT attached.
Power off the device by holding the power button, and power up by pressing volume UP + POWER.
Keep holding volume up until you see the Team Win logo.
Just slide the slider to the right.
Now go to "backup" and check every partition available.
In "name" you write:
Code:
MainBackupURTD
Then, go to the "options" tab and enable compression.
Go back to the "backup" tab and press "select storage".
From here you can choose where to back your data up, whether it be the internal storage or external SD card.
Press OK and swipe the slider to the right to start backing up.
Plug your phone in to make sure it doesn't power off during backing up, this process takes a while and you should let it do its thing.
When done, press "reboot system", your phone will reboot.
Let it fully start up.
Then, run Kingoroot on your PC.
Meanwhile, download the "SuperSU" app from the Play store.
Press the big "ROOT" button in Kingoroot and press "cancel" on every app your phone tries to install.
That way you will not install Kingoroot but SuperSU.
It will say "succeeded".
Now you can go on your phone and open the SuperSU app.
It will ask for an upgrade, press OK and go further with the normal installation (not the TWRP/CWM installation).
Let it do its thing and restart your phone.
Install any root checker and see if you're rooted!
Android 6.0:
Firmware version B188 or higher, below B524/B535 (excluding B524/B535):Upgrade firmware to this one: LINK (Link fixed)
Installation instructions: place file to the "dload" folder in your SD card or internal storage, then go to settings - updates - menu - local update and press the update.zip.
Then, follow the guide reported here: http://rootmygalaxy.net/root-huawei-p8-lite-android-marshmallow-6-0-update/
Enabling Gyro sensor (rooted android 6.0, B524/B535 firmware only! ( sorry :[ ) ):
Download attached file.
Put attached file to SD card.
Open ES file explorer, swipe to the right, enable root browser and click the R/W tab, then set /system as RW.
Then copy the attached file.
Paste the attached file in /system/etc/permissions
Press the search button and search for "gyro" without quotation marks.
Long press the only file that's there - menu and press properties.
Then change the permissions to 644, it should look like this O represents off, X represents on;
X X O
X O O
X O O
Set UID is off, Set GID is off, Sticky bit is off.
Reboot phone and download "Sensor box for Android" on the Play store and enjoy your gyroscope!
Now you can use Google Cardboard, though you have to install the APK...
You can watch 360 videos on youtube too.
Credits, sources and links:
http://forum.xda-developers.com/p8lite/general/twrp-3-0-0-0-p8-lite-kirin-t3343320
http://huaweifirmware.com/huawei-p8-lite
http://www.androidsage.com/2016/02/...-6-0-marshmallow-beta-firmware/#axzz48veWSvTk
http://forum.xda-developers.com/p8lite/general/root-huawei-p8-lite-ale-l21-android-6-0-t3307686
https://www.kingoapp.com/
Subject to change
Hiya, will the gyro hack work on a L02 B130 Android 5.0 as i can't get an update to 6.0 here in New Zealand?
unable to get unlock code
The Huawei ID used to apply for the unlock code has not been used on the device for more than 14 days.
@sevenaudio
As far as I know, the hack is for android 6.0 but there should be no problem in trying it out
It's just that it only worked for me on these FW
@DrLittle
I think Huawei has this policy of using your Huawei ID for 2 weeks (2 weeks online time) before you can unlock it
You could try sending them an email!
always i get the error failed status malformed 1 bytes
finished total 0.005s
eriuzz said:
always i get the error failed status malformed 1 bytes
finished total 0.005s
Click to expand...
Click to collapse
Hi, can you pinpoint what you were trying to do when it got stuck?
As in, what were you trying to flash.
And what is your phone model?
oziboy said:
Hi, can you pinpoint what you were trying to do when it got stuck?
As in, what were you trying to flash.
And what is your phone model?
Click to expand...
Click to collapse
just trying to unlock the bootloader i have my code from huawei and when i try to use it through adb appear that error i said
eriuzz said:
just trying to unlock the bootloader i have my code from huawei and when i try to use it through adb appear that error i said
Click to expand...
Click to collapse
Are the dorrect drivers installed, are you sure you copied the whole key?
Use an other usb porta.
oziboy said:
Disclaimer:
I am not responsible for what you do to your device, I tested these things for myself and posted it from my own experience, if you point the finger at me for whatever happens to your device, I will laugh at you.
HOWEVER, I am willing to help as long as it is asked kindly, and provided me with enough information.
Requirements:
Huawei P8 Lite ALE-L21 (DUAL-SIM)
5.0 Firmware of choice
Unlocked bootloader
Patience
Correct drivers
SD card of atleast 8 GB
Drivers: Install these before even starting!
Minimal ADB Fastboot drivers
Huawei HiSuite
Kingoroot Windows
TWRP 3.0.2.0 Kirin variant
Preparing environment: Making sure no admin priveledge is necessary
Install all drivers mentioned above in their standard directories, don't change anything.
Go to the following path:
Code:
For x64 OS:
C:\Program Files (x86)\Minimal ADB and Fastboot
For x86_32 OS:
C:\Program Files\Minimal ADB and Fastboot
Copy these files:
Code:
adb.exe
AdbWinApi.dll
AdbWinUsbApi.dll
fastboot.exe
And paste them on the desktop, in a folder called "rootingtools" so you're easily able to find it.
Then, go to your phone and enable USB debugging mode by going to
settings - about phone - press Build number 7 times
settings - developer options - USB debugging
Copy the content of "TWRP-3.0.0-2_P8-lite_KIRIN_variant.zip" and paste it into the "rootingtools" folder.
Backing up: Even though the unlocking process is not going to wipe your data, atleast it didn't for me, make SURE you have everything that you need backed up from the phone's internal memory.
Backing up your SD card wouldn't hurt neither.
First things first, unlock your bootloader!
I used this: https://emui.huawei.com/en/plugin.php?id=unlock&mod=detail
What you do is: fill in everything correctly and get the number at the end. It should be something in the words of:
Code:
Your unlocking password is: XXXX XXXX XXXX XXXX
(X resembles numbers, 16 numbers in total)
Copy the 16 numbers and go to the "rootingtools" folder on your desktop.
Hold the SHIFT key and right click inside the folder, then press "open command window here"
Now take your phone, power it off and power it on by holding volume DOWN and POWER.
You will get a white screen that says something like fastboot, and an android logo.
Plug your phone into the PC via USB cable.
In the command window write:
Code:
fastboot.exe oem unlock UNLOCKKEY
Where UNLOCKKEY represents the key you just copied, right clicking pastes the key in the command window.
It should return finished, so now your phone should be unlocked!
If you look at the screen, there will be text beneath the green Android logo saying "unlocked".
In this case, the operation has succeeded and you can go to the next step, else you can try again or post a reply.
Now write:
Code:
fastboot.exe reboot
Now the phone will boot up like normal.
Close the command window.
Android 5.0:
If your android version right now is Android 5.0, and you actually WANT to root 5.0 or anything below 6.0 you can proceed with this step, if you have 6.0 or want to root 6.0, skip this step.
Since your android version is 5.0 you're blessed!
You can easily root, but before proceeding you might want to make a backup
Make sure you have about 8GB of free storage either on an SD card or internal memory first.
Connect your phone to your PC in the booted-up state where you can see the homescreen, making sure that USB debugging is enabled.
Shift + right click inside the rootingtools folder to open a command window and write:
Code:
adb.exe reboot-bootloader
Your phone will reboot into the bootloader, a white screen with a green Android logo that says "unlocked" beneath it.
Now on the command window write:
Code:
fastboot.exe flash recovery recovery.img
Wait for it to finish and pull out the USB cable so it is NOT attached.
Power off the device by holding the power button, and power up by pressing volume UP + POWER.
Keep holding volume up until you see the Team Win logo.
Just slide the slider to the right.
Now go to "backup" and check every partition available.
In "name" you write:
Code:
MainBackupURTD
Then, go to the "options" tab and enable compression.
Go back to the "backup" tab and press "select storage".
From here you can choose where to back your data up, whether it be the internal storage or external SD card.
Press OK and swipe the slider to the right to start backing up.
Plug your phone in to make sure it doesn't power off during backing up, this process takes a while and you should let it do its thing.
When done, press "reboot system", your phone will reboot.
Let it fully start up.
Then, run Kingoroot on your PC.
Meanwhile, download the "SuperSU" app from the Play store.
Press the big "ROOT" button in Kingoroot and press "cancel" on every app your phone tries to install.
That way you will not install Kingoroot but SuperSU.
It will say "succeeded".
Now you can go on your phone and open the SuperSU app.
It will ask for an upgrade, press OK and go further with the normal installation (not the TWRP/CWM installation).
Let it do its thing and restart your phone.
Install any root checker and see if you're rooted!
Android 6.0:
Firmware version B188 or higher, below B524/B535 (excluding B524/B535):Upgrade firmware to this one: mega:///#!OBVU3RyT!gSDNFMVtWVqA1HyneCuofhFmVVJ6lUDonzfKzjucbFs
Installation instructions: place file to the "dload" folder in your SD card or internal storage, then go to settings - updates - menu - local update and press the update.zip.
Then, follow the guide reported here: http://rootmygalaxy.net/root-huawei-p8-lite-android-marshmallow-6-0-update/
Enabling Gyro sensor (rooted android 6.0, B524/B535 firmware only! ( sorry :[ ) ):
Download attached file.
Put attached file to SD card.
Open ES file explorer, swipe to the right, enable root browser and click the R/W tab, then set /system as RW.
Then copy the attached file.
Paste the attached file in /system/etc/permissions
Press the search button and search for "gyro" without quotation marks.
Long press the only file that's there - menu and press properties.
Then change the permissions to 644, it should look like this O represents off, X represents on;
X X O
X O O
X O O
Set UID is off, Set GID is off, Sticky bit is off.
Reboot phone and download "Sensor box for Android" on the Play store and enjoy your gyroscope!
Now you can use Google Cardboard, though you have to install the APK...
You can watch 360 videos on youtube too.
Click to expand...
Click to collapse
Android B560 will update from b170
---------- Post added at 09:50 AM ---------- Previous post was at 09:40 AM ----------
eriuzz said:
just trying to unlock the bootloader i have my code from huawei and when i try to use it through adb appear that error i said
Click to expand...
Click to collapse
you got to test everything. from changing usb port to changing usb cable. htc is a brand that has this problem alot. and until now there's no right answer.
search around a little.
I'm stupid. I posted on the wrong thread, sorry.
Edit: delete
I have android 6.0 firmware B311 and it doesn't show up the option local update, what should I do?
Attach pictures please
Its in portuguese, I had the option on the stock ROM but i don't have it now.
Should I downgrade to the firmware B300 and then install the new firmware?
do you think this works with ALE-L21 single sim too?
Teixaz said:
I have android 6.0 firmware B311 and it doesn't show up the option local update, what should I do?
Click to expand...
Click to collapse
Local update option has been removed from Marshmallow, you must use *#*#2846579#*#* and go to sd card upgrade to further upgrade it
amageek said:
Local update option has been removed from Marshmallow, you must use *#*#2846579#*#* and go to sd card upgrade to further upgrade it
Click to expand...
Click to collapse
Does not work when its inside the zip and if I extract it when it start to install it fails
anyone?
Please help. I have 5.0.1 Android
So When you say " we are blessed", do we only do that 5th step or all the steps before that and then 5th step?
I am asking because im havin trouble unlocking bootloader. Nobody from Huawei is answering my email where I sent them all neccecary data, and when I go to this link It says there is a server problem. Either that or Im redirected to some site filled with japanese signs http://www.vmall.com/ and I dont know what to press
How do I unlock my bootloader?? What e-mail do I use to contact huawei about this matter?
Thanks

[GUIDE] How to revert back to Android Wear 1.5

How to revert back to Android Wear 1.5
Flashing stock AW1.5 build:
- Unlock your bootloader
- Reboot into FASTBOOT MODE
- Download STOCK ROM MWG68 images
- via adb type commands:
Code:
fastboot flash system system.img
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot erase userdata
fastboot reboot
How to block OTA to AW 2.0
- adb shell
- pm disable com.google.android.gms/.update.SystemUpdateService
- pm disable com.google.android.gsf/.update.SystemUpdateService
- exit
ingbrzy said:
How to block OTA to AW 2.0
- adb reboot bootloader
- adb shell
- pm disable com.google.android.gms/.update.SystemUpdateService
- pm disable com.google.android.gsf/.update.SystemUpdateService
- exit
Click to expand...
Click to collapse
This probably won't work, you don't have adb shell available in bootloader, and while booted up you can't use the pm disable command without root..
Maxr1998 said:
This probably won't work, you don't have adb shell available in bootloader, and while booted up you can't use the pm disable command without root..
Click to expand...
Click to collapse
true.. it will be more easier to boot TWRP, disable dm-verify and edit build.prop line
Code:
ro.build.id=MWG68
to
Code:
ro.build.id=MWG68_something
Thanks, i had to revert because i started getting random reboots since 2.0... Now I'mm gonna wait and see if it continues.
BTW, i think you forgot "fastboot oem lock" after downgrading.
after following the guide and flashing aw 1.5 I get an error saying zenwatch manager has stopped and then the reboots, and so on.
any ideas what went wrong and how can I fix this?
asafgolan said:
after following the guide and flashing aw 1.5 I get an error saying zenwatch manager has stopped and then the reboots, and so on.
any ideas what went wrong and how can I fix this?
Click to expand...
Click to collapse
make factory reset.. unpair and reset in the settings..
ingbrzy said:
make factory reset.. unpair and reset in the settings..
Click to expand...
Click to collapse
Thanks, that did the trick!
I'm having to much issues with 2.0 and overall I hate the update, so this guide is very appreciated, yet my watch is brand new and I don't want to mess things up, can you please do a complete guide with links to all the software needed and stuff? This seems to be for those who are already in the "knowing how to flash the FW", I believe I need to unlock the bootloader to in order to revert to AW 1.5 right? Or isn't that needed?
Thanks for the help @ingbrzy
Any chance one of you can help with this issue?
https://forum.xda-developers.com/zenwatch-3/how-to/fastboot-recovery-getting-g-co-abh-t3637403
Ok, I've been doing some reading and I'm almost ready to flash the watch back to 1.5, but just in case I'll make here the full list of what I've done/about to do, please check if all is correct:
1 - Download and place the Platform-tools folder from here on a easy access place to access on your PC
1.b - Edith Path Variable as shown here just be make things easier
2 - Enable USB debugging on watch by going to the watch Settings/System/About and pressing a few times on the Build Number
2.B - To check if the connection is well done between watch and PC open a command line on Windows and write "adb devices", it should show the watch SN listed
3 - Unlock the bootloader!
3.1 - Reboot to fastload (via *adb command* (You do this by opening a command prompt window from within windows itself) "adb reboot bootloader")
3.2 - type command "fastboot oem unlock"
4 - Download STOCK ROM MWG68 images
From here is where I have doubts, DON'T FOLLOW THESE INSTRUCTIONS until someone more experienced confirms if it's correct or not
5 - Place the files unziped: system.img / boot.img and recovery.img downloaded on point 4 inside the platform-tools folder in point 1
6 - Open a command prompt window and past the following code ***DOUBT*** Full code at once as shown bellow or line by line followed by enter??
Code:
fastboot flash system system.img
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot erase userdata
fastboot reboot
7 - make factory reset on watch by... "unpair and reset" in the watch settings...
7.1 - Re-lock bootloader is advised? How and why to do it?
8 - Don't install AW 2.0 again?
@ingbrzy is this correct or am I missing something?
Thank you for this thread :good:
I'm back on 1.5 it's better for me in this moment...
My watch understand me again :laugh::laugh::laugh:
Edit:
I have two questions:
How I lock bootloader?
How to block Ota? Easiest way?
Thank you very much
Android Wear Updates
Does anyone know if leaving the bootloader unlocked prevents android wear 2.0 OTA
updates or any other updates?
Thanks, have a great day!
Misterjunky said:
Does anyone know if leaving the bootloader unlocked prevents android wear 2.0 OTA
updates or any other updates?
Thanks, have a great day!
Click to expand...
Click to collapse
No, I have unlocked bootloader and after night my watch download AW2.0 update
TWRP Recovery
I wonder if installing TWRP recovery might prevent Android Wear 2.0 OTA update?
I am on Android Wear 1.5 and do not want to update or get notifications to update.
Thanks,
---------- Post added at 01:02 AM ---------- Previous post was at 12:47 AM ----------
Hoffmanns said:
No, I have unlocked bootloader and after night my watch download AW2.0 update
Click to expand...
Click to collapse
Have you or anyone found a way to delete the AW2.0 update file from the watch?
Thanks!
Misterjunky said:
Have you or anyone found a way to delete the AW2.0 update file from the watch?
Thanks!
Click to expand...
Click to collapse
In this moment NO
Factory reset in recovery may help...
But I need block OTA update first
re: Build Prop file
ingbrzy said:
true.. it will be more easier to boot TWRP, disable dm-verify and edit build.prop line
Code:
ro.build.id=MWG68
to
Code:
ro.build.id=MWG68_something
Click to expand...
Click to collapse
@ingbrzy
Is it possible to use adb to pull and push the build-prop
file from /system to /sdcard or some other place where it would be
accessible making it easy to edit without rooting the watch?
(preferably someplace in Windows 10 or in my S7 Edge phone?)
If it's possible, could you please post the adb commands to pull and push the file?
Thanks in advance, have a great day!
I may go back as well. Aw 2.0 hasn't been a totally smooth experience even after wiping data and clearing cache. Sometimes it'll stutter and I will end up clearing all notifications instead of going one by one
Someone, please explain how to block OTA update to 2.0.... Please
re: Block OTA notifications
avchd said:
Someone, please explain how to block OTA update to 2.0.... Please
Click to expand...
Click to collapse
The only way I found to block updates and notifications for updates
is to ROOT the watch.
I rooted my watch 3 days ago after really trying to like this AW 2.0
but after all was said and done I just could not see any reason to
keep the new AW 2.0.
The only two things which we good and nice in AW 2.0 was the
really good looking and smooth/fast scrolling of the app drawer
and the nicer notifications which AW 2.0 has.
But everything else in AW 2.0 is really crappy way too crappy for me.
If you are interested in rooting and twrping your watch here is the link
with step by step instructions and download links for the rom.
Android Wear v1.5 pre-rooted and twrp'ed custom rom:
https://forum.xda-developers.com/zenwatch-3/development/rom-asus-zenwatch-3-swift-t3537340
The main problem with keeping AW 1.5 without flashing
a custom rom is all those OTA notifications you get over
and over again without a way to disable the notifications.
Come on guys, do we really need a Google Play store in our watch... LOL
Also the only way a watch can be called "stand-alone" is if it has a sim card.
Good luck, have a great day!
Even though I knew what I was doing, I was on a new computer so I "followed" your instructions because I've never seen anyone write it out so thoroughly from no ADB at all, and glad to say you pretty much nailed it through that. Except step 2, it's more like a whole bunch of times. Don't know why you've gone un-thanked and un-replied!
Step 5 is unnecessary because of the method of setting up ADB with the path variable described in 1b (if you don't do step 1b, then the files need to be in the platform-tools folder). You just need to get to the same folder in the command prompt as the files. The command prompt by default opens to C:\Users\pyroguysf (or whatever your own name is), which is where your downloads folder is located by default, so if you unzip the files to your downloads folder, type "cd Downloads" to navigate into your downloads folder. Once you're in the same folder as the img files you unzipped, then run the commands listed in step 6, each line, one at a time. After each one, it should show the progress, and make sure it says completed not failed (I forget the exact words used) before going to the next. If it fails that's a separate topic, but it shouldn't. I always advise a factory reset after any significant software changes. Re-locking the bootloader is for security's sake, and while not 100% necessary, is highly recommended, unless you plan to be changing the software again anytime soon (I see a modified version in this thread that supposedly has OTA's disabled I might try, but this is slightly more advanced). Re-locking is basically the reverse of step 3 - reboot into bootloader with "adb reboot bootloader" and then once it's there "fastboot oem lock" instead of unlock.
Edit: That's right, you get the message upon boot for a while that your device can't be checked for corruption when it's unlocked. Also, my watch won't boot now, so I'm going to try a few more things... That's why I waited until the weekend.
Edit2: Re-unzipped the files (md5 was fine), did boot, recovery, then system, and did "fastboot format userdata" instead of "fastboot erase userdata" in step 6.
Edit3: Edited the quote from MK2ever below with what worked for me.
MK24ever said:
Ok, I've been doing some reading and I'm almost ready to flash the watch back to 1.5, but just in case I'll make here the full list of what I've done/about to do, please check if all is correct:
1 - Download and place the Platform-tools folder from here on a easy access place to access on your PC
1.b - Edit Path Variable as shown here just be make things easier
2 - Enable USB debugging on watch by going to the watch Settings/System/About and pressing repeatedly on the Build Number until it says "you are a developer!"
2A. Go to Settings>Developer Options and turn on "ADB Debugging" and plug your watch cradle into your computer and wait until windows installs drivers (Win 7 found them automatically for me)
2.B - To check if the connection is well done between watch and PC open a command line on Windows and write "adb devices", it should show the watch SN listed
2.C - when your watch asks to allow connections, tap "always allow from this computer"
3 - Unlock the bootloader!
3.1 - Reboot to fastboot (via *adb command* (You do this by opening a command prompt window from within windows itself) "adb reboot bootloader")
3.2 - wait until the watch says "fastboot mode" then type command "fastboot oem unlock"
4 - Download STOCK ROM MWG68 images
5 - Place the unzipped files system.img boot.img and recovery.img into your downloads folder.
6 - Open a command prompt window and type "cd Downloads" to get to navigate into your downloads folder (Windows 7 default, 8 and 10 too I think) and then enter the following commands one at a time waiting for it to give a "completed" message before moving on
Code:
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot format userdata
fastboot reboot
7 - make factory reset on watch by... "unpair and reset" in the watch settings...
7.1 - Re-lock bootloader is advised. Repeat steps 2 through 3.1 and then "fastboot oem lock"
8 - Don't install AW 2.0 again?
Click to expand...
Click to collapse

[Guide] How to Unlock and Magisk Root on Stock OOS 9.0.7 (For Beginners)

NOTE: Since I am a semi-amateur at unlocking/rooting, this is not independent development. Instead, I noticed these forums don't seem to have a single one-stop guide that lays out the process for safely rooting the latest (9.0.7) Oxygen OS 9.0.7. This process may seem obvious to experts, but for people who are rusty or new to this, I wanted a process that didn't require lots of extra cross-referencing and research. I hope this is ok.
Big thanks to Dameon87 who supplied the patched boot rom, and deserves all the credit for the actual hard work with the patched boot image.
STEP 1: PREPARATION
Check that your phone is on 9.0.7.
On PC: Download patched_boot-9.0.7.img and MagiskManager-v6.0.1.apk from Dameon87's thread ( https://forum.xda-developers.com/oneplus-6t/how-to/9-0-7-patched-magisk-boot-img-t3875498 ) . Download ADB Tools if you don't have them ( https://developer.android.com/studio/releases/platform-tools#download ) and extract to a folder. Copy patched_boot-9.0.7.img to your PC’s ADB root directory (the directory with fastboot.exe and adb.exe).
On phone: Boot into OOS. Navigate to Setup->About Phone. Tap Build Number until you turn on Developer Options.
On phone: Navigate to System->Developer Options. Enable OEM Unlocking and USB Debugging.
STEP 2: UNLOCKING
Connect your phone to your PC. Click ok on the OEM Debugging prompt on your phone.
On PC: Open a command prompt [Windows: Start->type "cmd.exe"], and navigate to the ADB tools directory. Run this command in the command prompt:
Code:
adb reboot bootloader
The phone should reboot to the bootloader.
On PC: When phone finishes rebooting to the bootloader, run this command in the command prompt:
Code:
fastboot oem unlock
IMPORTANT: ALL DATA WILL BE ERASED WHEN YOU DO THIS, INCLUDING ANY PERSONAL DATA, TEXTS, PHOTOS, MUSIC, ETC. If the phone has been used, please move your files off your device first! The phone will take some time to factory reset.
On Phone: Repeat Preparation Steps 3-4 to turn back on OEM Debugging in OOS.
STEP 3: INSTALLING MAGISK
On PC: Copy MagiskManager-v6.0.1.apk to the phone.
On PC: In the command prompt window, run this command (note this .img file should be in the adb.exe and fastboot.exe directory):
Code:
fastboot boot patched_boot-9.0.7.img
Phone will reboot.
On Phone: Use a file manager app to install MagiskManager-v6.0.1.apk (I use Astro or ES, but admittedly there are probably better ones out there).
On Phone: Open the Magisk Manager App, agree to the setup popup, and click install. When prompted, choose Direct Install.
On Phone: Reboot.
On Phone: In the OS, open Magisk Manager again and add MagiskHide exceptions.
This enabled all apps that I typically need SafetyNet for, including Pokemon Go, Netflix and Google Pay, as well as of course all root apps like TItanium Backup.
Again, apologies if this seems basic, but I hope this is useful for some who don't know all of the inner workings of android unlocking and rooting by heart. If you have any improvements, feel free to suggest them.
You need to change adb oem unlock to fastboot oem unlock. Otherwise good job!
Dameon87 said:
You need to change adb oem unlock to fastboot oem unlock. Otherwise good job!
Click to expand...
Click to collapse
Ah, thanks! Fixed.
Does OTA update lock bootloader?
BesoC said:
Does OTA update lock bootloader?
Click to expand...
Click to collapse
No it doesn't, the root will be lost though.
geminium said:
No it doesn't, the root will be lost though.
Click to expand...
Click to collapse
I'm also a semi amateur at unlocking/rooting so I'm the target audience of the OP.
Ready to get my hands dirty and try it out. Last time I rooted it was on my old phone before Magisk was a thing.
I ended up not updating out of laziness.
Does magisk make OTA updates / keeping the phone up to date easier?
What's the best method for doing so if you want to keep your phone rooted?
spudsrus said:
I'm also a semi amateur at unlocking/rooting so I'm the target audience of the OP.
Ready to get my hands dirty and try it out. Last time I rooted it was on my old phone before Magisk was a thing.
I ended up not updating out of laziness.
Does magisk make OTA updates / keeping the phone up to date easier?
What's the best method for doing so if you want to keep your phone rooted?
Click to expand...
Click to collapse
Well there's quite detailed procedure explained on the forum. You'll find easily...
In general, you have to restore images in magisk, then install OOS OTA update, then install magisk to inactive slot... It's one of the easiest steps for keeping root and be up to date .
I've been rooting for almost a decade and I am grateful for this. I don't know why some of these devs always assume you know when their talking about using a PC or running shell commands. Lol. Everyone started as a noob.
Sent from my OnePlus6TSingle using XDA Labs
ScaryBugThing said:
NOTE: Since I am a semi-amateur at unlocking/rooting, this is not independent development. Instead, I noticed these forums don't seem to have a single one-stop guide that lays out the process for safely rooting the latest (9.0.7) Oxygen OS 9.0.7. This process may seem obvious to experts, but for people who are rusty or new to this, I wanted a process that didn't require lots of extra cross-referencing and research. I hope this is ok.
Big thanks to Dameon87 who supplied the patched boot rom, and deserves all the credit for the actual hard work with the patched boot image.
STEP 1: PREPARATION
Check that your phone is on 9.0.7.
On PC: Download patched_boot-9.0.7.img and MagiskManager-v6.0.1.apk from Dameon87's thread ( https://forum.xda-developers.com/oneplus-6t/how-to/9-0-7-patched-magisk-boot-img-t3875498 ) . Download ADB Tools if you don't have them ( https://developer.android.com/studio/releases/platform-tools#download ) and extract to a folder. Copy patched_boot-9.0.7.img to your PC’s ADB root directory (the directory with fastboot.exe and adb.exe).
On phone: Boot into OOS. Navigate to Setup->About Phone. Tap Build Number until you turn on Developer Options.
On phone: Navigate to System->Developer Options. Enable OEM Unlocking and USB Debugging.
STEP 2: UNLOCKING
Connect your phone to your PC. Click ok on the OEM Debugging prompt on your phone.
On PC: Open a command prompt [Windows: Start->type "cmd.exe"], and navigate to the ADB tools directory. Run this command in the command prompt:
Code:
adb reboot bootloader
The phone should reboot to the bootloader.
On PC: When phone finishes rebooting to the bootloader, run this command in the command prompt:
Code:
fastboot oem unlock
IMPORTANT: ALL DATA WILL BE ERASED WHEN YOU DO THIS, INCLUDING ANY PERSONAL DATA, TEXTS, PHOTOS, MUSIC, ETC. If the phone has been used, please move your files off your device first! The phone will take some time to factory reset.
On Phone: Repeat Preparation Steps 3-4 to turn back on OEM Debugging in OOS.
STEP 3: INSTALLING MAGISK
On PC: Copy MagiskManager-v6.0.1.apk to the phone.
On PC: In the command prompt window, run this command (note this .img file should be in the adb.exe and fastboot.exe directory):
Code:
fastboot boot patched_boot-9.0.7.img
Phone will reboot.
On Phone: Use a file manager app to install MagiskManager-v6.0.1.apk (I use Astro or ES, but admittedly there are probably better ones out there).
On Phone: Open the Magisk Manager App, agree to the setup popup, and click install. When prompted, choose Direct Install.
On Phone: Reboot.
On Phone: In the OS, open Magisk Manager again and add MagiskHide exceptions.
This enabled all apps that I typically need SafetyNet for, including Pokemon Go, Netflix and Google Pay, as well as of course all root apps like TItanium Backup.
Again, apologies if this seems basic, but I hope this is useful for some who don't know all of the inner workings of android unlocking and rooting by heart. If you have any improvements, feel free to suggest them.
Click to expand...
Click to collapse
Can you elaborate a bit more on how you got Pokemon Go working.
OS. 9.0.2 Magisk v18. Successfully rooted.
I'm selecting Pokemon Go under Magisk hide. But it still detects it. PoKe will sometimes run for about 30 secs then it gives me the error incompatible os.
Sent from my [device_name] using XDA-Developers Legacy app
Ok I'm new to this as well..I'm trying to understand the patched boot img part...so do u need the patched boot img for whichever oos ur currently running so to install magisk cleanly is that it...also I can't find the tutorial on how to install the ota's after ur rooted to where everything doesn't get erased etc..I need sumone to point me in the right area to look..I found a lil bit on it once but now I can't seem to find it..thx to everyone in this great community for all the time and effort all put into this. It's so easy to overlook all the hard work that gets done behind the scenes..so I just thank u personally for what u do for us...

Rooting Black Shark 3 / 3 Pro the Correct & Easy Way - BL Unlocking, TWRP & OTA Fix

Rooting Black Shark 3 / 3 Pro the Correct & Easy Way - BL Unlocking, TWRP & OTA Fix
Greetings fellow Black Shark users!
This guide is made for Black Shark 3 Pro Global version, but in theory it should work with any version if the bootloader is unlocked.
Warning: Before you start, backup your phone data as this would wipe your phone!
Do this at your own risk, I'm not responsible if you break your phone!
Prerequisites:
- Update your phone to the latest version possible.
- Download ADB, BOOTLOADER UNLOCK TOOL & TWRP Installer for Black Shark 3 Pro Global or Black Shark 3 Global.
On Phone:
1- Enable Developer Options. (Go to Settings, then About Phone, then Tap on Build number 7 times, then enter your password if needed)
2- Enable OEM unlocking. (Go to Settings, then Additional Settings, then Developer Options, then enable OEM unlocking option, then enter your password if needed)
3- Enable USB Debugging. (Go to Settings, then Additional Settings, then Developer Options, then enable USB Debugging option)
On PC:
4- Run BS3Pro_by_KM Installer. (Use the right version for your device. Right click and choose run as administrator. On driver installation popup click Next, then Install and Finish. Also Install dotNet3.5 if it ask for it. You must reboot your PC after the installation.)
5- Connect your Phone to PC using USB cable.
On Phone:
6- When Allow USB debugging popup appear, tap OK. (Tick Always allow from this computer)
On PC:
7- Make sure google drivers installed correctly and that your PC can see your Phone. (Android ADB Interface)
8- Open Command Prompt as administrator. (Type CMD in Windows search bar, then right click on Command Prompt ‘cmd’ and click on Run as administrator)
9- In CMD type:
Code:
cd c:\adb
Then press Enter key.
10- In CMD type:
Code:
adb devices
Then press Enter key. (If you can see a Device ID with ‘device’ written on its right, then continue to next step, if not then recheck your drivers. If you see a Device ID with ‘unauthorized’ written on its right, then go back to step 6)
11- In CMD type:
Code:
adb reboot edl
Then press Enter key. (To enter EDL mode)
On Phone:
12- You will only see a black screen on your phone. (This is normal, but your phone will be connected to your PC)
On PC:
13- Disconnect and reconnect your Phone to PC using USB cable then make sure the drivers are installed correctly and that your PC can see your Phone. (Qualcomm HS-USB QDLoader 9008)
14- Go to C:\adb and run MiFlash application, then click “refresh”. (You should see your device in the table now)
15- Click “select” and choose “C:\adb\Unlock” folder, then click “OK”, then click “flash”. (When it says done go to next step)
On Phone:
16- Disconnect the USB cable from your Phone, then hold power button and volume down button for 15 seconds until the phone reboots into Fastboot mode.
17- Make sure you see Fastboot mode on your phone screen. (With big green START on top)
On PC:
18- Reconnect your Phone to PC using USB cable then make sure google drivers installed correctly and that your PC can see your Phone. (Android Bootloader Interface)
19- In CMD type:
Code:
fastboot devices
Then press Enter key. (If you can see a Device ID, then continue to next step, if not then recheck your driver setup)
20- In CMD type:
Code:
fastboot flashing unlock
Then press Enter key. (This will unlock the bootloader, if you see an error make sure that your model is supported)
21- In CMD type:
Code:
fastboot erase userdata
Then press Enter key. (This will wipe userdata “Factory Reset”)
22- In CMD type:
Code:
fastboot getvar current-slot
Then press Enter key. (This will show you which slot you’re currently using, note it down)
23- In CMD type:
Code:
fastboot boot twrp.img
Then press Enter key. (This will boot TWRP, if it doesn’t work the first time, then force reboot your phone and repeat steps 16-21, you can skip step 20-22 if you already performed them)
On Phone:
24- Make sure TWRP is booted on your phone.
On PC:
25- In CMD type:
Code:
adb pull /dev/block/bootdevice/by-name/boot_a stock_boot_a.img
Then press Enter key. (This will copy the stock boot_a.img into your current directory)
26- In CMD type:
Code:
adb pull /dev/block/bootdevice/by-name/boot_b stock_boot_b.img
Then press Enter key. (This will copy the stock boot_b.img into your current directory)
On Phone:
27- In TWRP, go to Reboot, then system.
28- Download and install Magisk Manager from here. (Once the phone is booted correctly)
On PC:
29- In CMD type:
Code:
adb push stock_boot_X.img /sdcard/Download
Then press Enter key. Change ‘X’ to your current slot from step 22, mine was ‘stock_boot_a.img’. (This will copy your stock boot.img to your phone’s Downloads directory)
On Phone:
30- Run Magisk Manager, tap on the first INSTALL button on the top right, when it asks you to Install Magisk tap INSTALL, then tap on Select and Patch a File, and choose your stock_boot_X.img from ‘Download’ directory. When it’s done it will create a new file in your ‘Download’ directory named magisk_patch.img. (Don’t tap Reboot, just tap back and close the App)
On PC:
31- In CMD type:
Code:
adb pull /sdcard/Download/magisk_patched.img
Then press Enter key. (This will copy the patched boot.img to your current ‘adb’ directory)
32- In CMD type:
Code:
adb reboot bootloader
Then press Enter key. (To enter Fastboot mode)
33- In CMD type:
Code:
fastboot flash boot_x magisk_patched.img
Then press Enter key. Change ‘X’ to your current slot from step 22, mine was ‘boot_a’. (This will flash Magisk to your boot)
34- In CMD type:
Code:
fastboot reboot
Then press Enter key. (This will reboot your phone)
On Phone:
35- Run Magisk Manager, check if Magisk is installed and you have two green ticks on the left.
Congratulations! Now you have successfully rooted your Black Shark 3 Pro !
Fingerprint Calibration Tutorial (This is needed if the fingerprint sensor is stopped working)
1- Dial this from your phone
Code:
*#*#466349#*#*
This will take you to the fingerprint calibration page.
2- Tap on 售后校准, then you will be ask you to add the FLASH FLA.
3- Now tap START, and then immediately press your thumb on the fingerprint scanner area, keep you finger pressed until the step is completed.
4- Now it will ask you to add the black FLAT. (This means you have to wear a 'black' cloth on your thumb or a black glove before pressing your thumb on the fingerprint scanner, then hold your thumb on the fingerprint scanner area until the calibration is complete.)
5- When done successfully, reboot your device then try to add your fingerprints.
Full OTA Factory Image for Black Shark 3 Pro Global “MBU-H0" - Fix most phone's issues and restore it to factory state. This also fixes OTA updating issues.
1- Download this zip file MOBS2005121OS00MP1.
2- Rename km_update.zip to update.zip and move it to “ota” directory in your phone.
3- Dial this from your phone
Code:
*#*#1027#*#*
Then press "LOCAL UPDATE" and start updating your device. (You might need to do this twice)
4- Update your device to the latest version from the settings.
Special thanks to:
@John Eveline for the Bootloader Unlocking Tools.
@wzsx150 for Black Shark 3 Pro TWRP.
@topjohnwu for Magisk.
@Snoop05 for ADB Installer Code.
PS: I put a lot of time and effort in making this guide, if you want to copy it to somewhere else, then at least give credit!
miflash keep says no fastboot
cant recognize my phone
rowihel2012 said:
miflash keep says no fastboot
cant recognize my phone
Click to expand...
Click to collapse
Please redownload it, it should work fine now.
KM7 said:
Please redownload it, it should work fine now.
Click to expand...
Click to collapse
Ok thanks my friend
KM7 said:
Please redownload it, it should work fine now.
Click to expand...
Click to collapse
same problem
no fastboot
all drivers installed
rowihel2012 said:
same problem
no fastboot
all drivers installed
Click to expand...
Click to collapse
Try downloading it again, sorry for this a file was misplaced. Fixed now.
KM7 said:
Try downloading it again, sorry for this a file was misplaced. Fixed now.
Click to expand...
Click to collapse
sorry bro
no fastboot
it cant detect my phone
same problem
when i try to unlock the bootloader
i got an error : the write timed out
rowihel2012 said:
sorry bro
no fastboot
it cant detect my phone
same problem
Click to expand...
Click to collapse
Make sure the drivers are installed correctly and reboot your PC. I've just tried it and everything work just fine on my PC.
stark7i said:
when i try to unlock the bootloader
i got an error : the write timed out
Click to expand...
Click to collapse
You mean in MiFlash or Fastboot? please specify which step # you are stuck in.
KM7 said:
You mean in MiFlash or Fastboot? please specify which step # you are stuck in.
Click to expand...
Click to collapse
i am stuck at step 13. the miflash cant find my phone. i have re-downloaded everything and still doesnt work. any suggestions?
appless said:
i am stuck at step 13. the miflash cant find my phone. i have re-downloaded everything and still doesnt work. any suggestions?
Click to expand...
Click to collapse
Make sure your drivers are installed correctly as shown above. When in edl mode the drivers are different than fastboot. Try reinstall the application with right click and ‘run as administrator’.
Do you know how to relock the bootloader?
KM7 said:
You mean in MiFlash or Fastboot? please specify which step # you are stuck in.
Click to expand...
Click to collapse
its was in the miflash but it works fine now i have changed my usb cable to an original one and it works fine , i have successfully rooted my BS3 with TWRP thanks alot
KM7 said:
Make sure your drivers are installed correctly as shown above. When in edl mode the drivers are different than fastboot. Try reinstall the application with right click and ‘run as administrator’.
Click to expand...
Click to collapse
still a no go for me. i have reinstalled every driver and still doesnt work. nothing is showing up on miflash. the pc made the sound when i connected but still nothing. my pc sees the device but the miflash cant. any suggestions?
appless said:
still a no go for me. i have reinstalled every driver and still doesnt work. nothing is showing up on miflash. the pc made the sound when i connected but still nothing. my pc sees the device but the miflash cant. any suggestions?
Click to expand...
Click to collapse
Use your original usb cable from blackshark. Mine works and use other cable wont work..
chaict said:
Use your original usb cable from blackshark. Mine works and use other cable wont work..
Click to expand...
Click to collapse
using the original cable still doesnt work. now its just saying no fastboot.
stark7i said:
its was in the miflash but it works fine now i have changed my usb cable to an original one and it works fine , i have successfully rooted my BS3 with TWRP thanks alot
Click to expand...
Click to collapse
Glad that it worked for you, enjoy.
appless said:
using the original cable still doesnt work. now its just saying no fastboot.
Click to expand...
Click to collapse
It seems that there is something wrong with the drivers, or maybe the adb installation. Try to find other fastboot.exe and adb.exe then delete all duplicates except for "C:\adb", and don't forget to restart your PC.
jekz_07 said:
Do you know how to relock the bootloader?
Click to expand...
Click to collapse
This should do it but, I'm not sure if this is going to work on a rooted device.
Code:
fastboot flashing lock_critical
fastboot flashing lock

Categories

Resources