EVERYTHING YOU NEED TO RESTORE/UPGRADE THE HUAWEI P8 LITE
So i'm making this thread because i noticed many of you had some trouble with your devices. Here you're gonna learn what you can do with your device. Every chapter is something that you can do without the need of the previous chapters (unless told otherwise). I'm also gonna explain what happens to your device (in a simple way so you don't get confused).WARNING: THIS THREAD IS TOWARDS ALE-L21, ALE-L23, ALE-L02 USERS. IF YOUR MODELNUMBER IS ALE-L04 YOU CAN'T USE ANY OF THE FILES IN HERE.
ALSO I'M NOT RESPONSIBLE FOR SCREWING UP YOUR PHONE, Kevin is.
Note: It will work on the Ale-L02 and the Ale-L23 but you have to settle with some functions that don't work.
Comparison for the modelnumbers ALE-L21, ALE-L23 and ALE-L02
ALSO I'M NOT RESPONSIBLE FOR SCREWING UP YOUR PHONE, Kevin is.
Note: It will work on the Ale-L02 and the Ale-L23 but you have to settle with some functions that don't work.
Comparison for the modelnumbers ALE-L21, ALE-L23 and ALE-L02
The Chapters:
1. Tools and prepping.
2. Unlock Bootloader.
3. Bootloop/Softbrick.
4. Unbricking.
5. Dual and single sim converting.
6. Upgrading to Marshmallow.
7. Installing TWRP.
8. Getting root.
9. Install Xposed framework.
10. Multiuser account.
11. After word.
Now take your kids and lock them in your basement and put your wife in the kitchen because you're going to learn some stuff and you will get hungry.
Note: If you're a woman take your neighbours wife to make you sandwiches.
Chapter 1: Tools and prepping.
What you need:
- Drivers for our phone (Hisuite).
- Minimal ADB and Fastboot.
- Usb debugging enabled on your phone.
- Download and install Hisuite on your pc
- Connect your device to your pc and let hisuite detect it.
- Close Hisuite.
- Download and install Minimal ADB and Fastboot on you pc.
- Go to "Settings -> About phone" .
- Tap several times on "Buildnumber" until a toast shows where it says "you're now a developer".
- Go to settings -> developer options.
- And there you will see usb-debugging.
- Turn it on.
Chapter 2: Unlock Bootloader.
WARNING THIS WILL VOID YOUR WARRANTY.
But it doesn't matter. if your phone boots and all the hardware works, everything is fine. The software is something we can fix.
But it doesn't matter. if your phone boots and all the hardware works, everything is fine. The software is something we can fix.
What you need:
- This site.
- Unlock code(you will get it on the site).
- Minimal ADB and Fastboot (see chapter 1).
- Just go to the site.
- Make a profile.
- Wait 14 days.
- Fill in their form .
- Get a 16 digits code.
- Save that code.
- Connect your device to your pc.
- Open a cmd.
Code:
adb devices
After that you should see something like this on your computer
Code:
List of devices attached
WXXXXXXXXXXXXX device
If it doesn't you're doing it wrong. "STOP KEVIN!!! THAT'S WRONG KEVIN!!! DAMMIT KEVIN!!!"
After that type this
Code:
adb reboot bootloader
Wait until Windows installs the drivers.
Remember the 16 digits you got from Huawei?
Yeah whe're gonna need them here.
Next you enter this
Code:
[COLOR="Magenta"]PINK FLUFFY UNICORNS DANCING ON[/COLOR] [COLOR="Red"]R[/COLOR][COLOR="Orange"]A[/COLOR][COLOR="Yellow"]I[/COLOR][COLOR="Green"]N[/COLOR][COLOR="Blue"]B[/COLOR][COLOR="Indigo"]O[/COLOR][COLOR="Violet"]W[/COLOR][COLOR="Red"]S[/COLOR]
This
Code:
fastboot oem unlock xxxxxxxxxxxxx
Now your bootloader screen should say "PHONE unlocked" in red.To be sure you can run this command.
Code:
fastboot oem get-bootinfo
Code:
...
(bootloader) unlocked
OKAY [ -0.000s]
finished. total time: -0.000s
Now just reboot with this command.
Code:
fastboot reboot
Chapter 3: Bootloop/Softbrick.
Imagine a world where everything went perfect... that would suck, would'nt it? Sometimes our device wont start. This is what we call a "Bricked" Phone. We have 2 kind of bricks. If you encounter them you will sh!t bricks.
No serious... you will!!!
If your phone is bricked we check if we can still charge it and/or try to get something on the screen. If you can't then you have what we called a hard brick and there's nothing we can do about it. "GET OVER IT KEVIN!!!"
The chances are you brokes something.
If we can then HOORA!!! The chance is great whe can restore it. This is what we call a soft brick or a bootloop (for all you smartypants out there. yeah, a bootloop is when you get stuck on your bootlogo/animation).
Chapter 4: Unbricking.
It's very simple we try to push a new image into your phone trough an unlocked bootloader with fastboot (some other devices use special methods, we don't). So make sure your bootloader is unlocked.
Here is an example
Code:
fastboot flash boot boot.img
- The fastboot calls the fastboot program.
- The flash says fastboot i want you to do this.
- The boot says on that location on the device that is connected.
- The boot.img says with that file.
"Hey fastboot you have to flash the recovery partition with the recovery.img".
Becomes:
Code:
fastboot flash recovery recovery.img
Most of the times we flash 4 images and in this order.
- boot.img
- recovery.img
- cust.img
- system.img
And then type this.
Code:
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash cust cust.img
fastboot flash system system.img
What you need:
How:
- Connect your device in fastboot and press the "flash all" file.
- Let the script run.
Note: For the people with an Ale-L04. Just replace the .img files in the folder with the files from your stock recovery.
Chapter 5: Dual and single sim converting.
So you want to convert to a single/dual sim? Well good for you.
What you need:
- Unlocked bootloader (see chapter 2).
- Unbrick files for Dual sim or Single sim (see chapter 4).
- Vendor files for Dual sim or Single sim.
How:
- If you want to go to dual sim just download the files for dual sim unbricking otherwise download the single sim unbricking software.
- Extract them.
- Run them.
After doing this you will notice a few things:
- You will notice that none of your sim's is detected.
- You will notice you can't upgrade.
- And You will notice that it didn't change anything (you don't see the the appereance/dissapreance of the dual sim settings).
Ok, so what the F happend to your phone?
1. Your sim detection.
This occurs when you downgrade from Android Marshmallow to Android Lollipop.
It's nothing to worry about. You just lost your Imei and that's the reason your phone won't detect your sim.
It will solve itself once you update.
2. You can't update.
This is a part of the Famous Balong bug.
what happend is, the phone got confused and just spit out some random build (there's a lot more to that but this sums it up). You can detect this bug by going into "settings -> about phone" and check the build number. If you see the word "Balong" in there, congrats, you are a proud owner of the Balong bug.
How to take care of the Balong bug?
- Make sure that you walk it 3 times a day.
- It also does sleep a lot so don't worry about that.
- Please don't be like other people wo just dump it in the woods somewhere.
- Be a responsible Balong bug owner.
- Extract the file.
- You will get a folder named "dload" that contains an "UPDATE.APP" file.
- Put the folder with the file in it on your sd card or internal memory.
- Go to "Settings -> Update".
- Press the menu (at the bottom you will see 3 lines, that's the menu).
- Choose "Local update".
- Select "UPDATE.APP".
- Press "Install".
Same procedure, extract -> put in "dload" folder and manually update. Make sure you delete the vendor file first.
Now you're converted and can update your phone to the latest build from Lollipop trough Updater (OTA). You will also notice that your Imei has returnd and you wil notice the appereance/dissapreance of the dual sim settings.
Chapter 6: Upgrading to Marshmallow.
The upgrade to Android 6.0 doesn't go trough OTA.
You will have to do it manually.
But first... Let your wife make you a sandwich. You should be hungry by now.
It's done? You ate well? Ok then, let's do this.
What you need:
How:
First check that you're build is B170 or higher (dual sim) or B171 or higher (single sim).
If not upgrade first trough OTA or local update.
- Extract the file.
- You will get a folder named "dload" that contains an "UPDATE.APP" file.
- Put the folder with the file in it on your sd card or internal memory.
- Go to "Settings -> Update".
- Press the menu (at the bottom you will see 3 lines, that's the menu).
- Choose "Local update".
- Select "UPDATE.APP".
- Press "Install".
Just follow the Unbricking chapter and start from there.
After this you can get the next update trough OTA.
Note:Whenever you update trough OTA or local (flashing is'nt updating.) Make sure you don't have root, TWRP or another custom recovery installed. Everything should be stock.
Chapter 7: Installing TWRP.
Congratz you've made it this far. At this point whe're gonna install TWRP.
Now? you ask, What does TWRP do and what does it stand for?
TWRP stand short for Team Win Recovery Project. It's an open-source software custom recovery image for Android devices. It provides a touchscreen interface which allows users to install third-party firmware and backup the current system, which are often unsupported by stock recovery images.
Soooooooowwwww... can you just install TWRP on any device?
NO. TWRP has to be modified to your current chipset in order to work on your device. The provided image we gonna install is TWRP 3.0.2 wich is specially build for our device. Ale-L04, NOT FOR YOU GUYS!!!
What you need:
- TWRP 3.0.2 with script.
- Unlocked bootloader (see chapter 2).
- Usb-debugging enabled (see chapter 1).
- Extract the folder from TWRP.
- Connect your device.
If you installed TWRP you can't update trough local or OTA anymore. You first have to flash back the original recovery. You can get them by running Huawei update extractor on your current build UPDATE.APP that you download from the Huawai site and flash them trough fastboot
Code:
fastboot flash recovery recovery.img
Note:It doesn't matter wich build you're on.
Chapter 8: Getting root.
So it has come to this. The most famous feature on Android. The almighty ROOT.
Device manufacturers don't want us to get root because the most of us would screw up the device. So if we gain root acces our warranty is void. But we can restore our warranty with unrooting. Altough if your bootloader is unlocked it's unlikely.
Not that you have anything on your warranty... like, remember that time that you took your phone out of your pocket when it rained? Yeeeeaaaaah, if you send it back they will say it's waterdamage. For warranty on your software it's simple. With root acces, TWRP and the knowledge of XDA we can probarly fix the software issue before they even realize there's an issue.
"Throw your phone against a wall, exactly at 50 M/ph that will solve the problem. Be carefull, because 49 M/ph is not fast enough and 51 M/ph will break your phone." -XDA
Please don't try this, this is not a real solution!
So go for the root and f*ck the warranty.
Just be sure that your device boots up and all buttons work before doing anything to it.
DON'T (and i can't stress this enough!!!) ROOT YOUR PHONE WITH KINGROOT!!!
You will get root but it also screws up a lot.
For Android 5.0/5.1 Lollipop based
What you need:
- Unlocked bootloader (see chapter 2).
- Usb debugging active (see chapter 1).
- Root file.
- Connect you phone to your pc.
- Extract the "root P8 file".
- Open the "root P8 file".
- Follow the instruction on your computer screen.
Note: Unroot first with the SuperSu app before trying to upgrade to a newer build.
For Android 6.0 Marshmallow based
What you need:
How:
- Put 1.zip and 2.zip into your sd card/internal storage.
- Boot into TWRP.
- Ignore the message from TWRP.
- Choose the "install" button.
- Locate 1.zip (if on sd card go "up a level" and then "external sdcard" there you should find it).
- Install it.
- Reboot your phone.
- Boot into TWRP again.
- Locate 2.zip .
- Install it.
- Reboot
If you want to make it into a system app here's how to do it.
What you need:
How:
- Go to /data/app folder.
- Locate the eu.chainfire.supersu-1 folder and cut it.
- Go to the /system/app folder.
- Paste it.
- Give it these permissions rwx r-x r-x.
- Reboot your phone.
Chapter 9: Install Xposed framework.
Xposed installer is awesome. it's like a google play store for tweaks than can make your android device just right like you wanted it to.
Note:this version won't need an build.prop edit.
What you need:
- Android 6.0 installed (see chapter 6).
- TWRP installed (see chapter 7).
- Root (see chapter 8).
- Install from unknown sources enabled.
- Xposed installer.apk.
- Xposed installer framework zip.
How:
- Enable unkown sources "Settings -> Advanced Settings -> Security -> Unknown sources".
- Put the Xposed installer.apk on to your device.
- Install the Xposed installer.apk onto your device.
- Put the Xposed installer framework zip and the Xposed uninstaller zip into your sd card/internal memory.
- Reboot into TWRP.
- Install Xposed installer framework zip.
- Reboot.
If it's bricked just boot into TWRP again and install the Xposed uninstaller zip. It should work. Otherwise -> unbrick it (see chapter unbrick).
If you have succesfully installed it go to the Xposed installer app and click on "Framework". If it says "Xposed framework version 85.10 is active" in green everything is a gogo.
Chapter 10: Multiuser account.
As you know Huawei did a heavy job theming Android with it's Emui overlay. As so we don't have all the stock features that Android gave us. Here's how to get one back.
What you need:
- Root (see chapter 8).
- Build prop editor.
- Open your build.prop editor.
- Locate it to /system/build.prop.
- Search for these lines.
Code:
fw.show_multiuserui=0
fw.max_users=1
- Change their value into this
Code:
fw.show_multiuserui=1
fw.max_users=3
- Save your build.prop (grant your editor root acces).
- Reboot your phone.
- Then go to "Settings".
- There you will see "Users".
Chapter 11: Afterword.
If you're new on XDA remember that the people here do anything in their free time. Be it helping, developing or just testing. Be nice to them and don't spam those people. they may now alot but everything they know is already explained somewhere on XDA and explaining the same thing 1000 times a day is frustrating.
So do a search before asking anything AND READ THE WHOLE THREAD!!! We lost the only 2 developers we had in the P8 lite section this way.
Also if someone helped you press the ":good: Thanks!" button on the right bottom of his/her post. to show your appreciation. The files i enclosed are files that i gatherd over the time at the P8 lite thread or from the Huawei website. I don't remember who made them all but it wasn't me.
Give this guy a thanks @sokkoban for his awesome development on the p8-lite and his site. It learned me a lot about my device. i think most of the files are his. don't know for sure (check out his multitool here). And give this guy @shimp208 a thanks for his awesome work on the Minimal ADB and Fastboot installler and his awesome thread.
Note:for the more advanced people in here who know what they're doing. I know that there are easier ways to do some stuff but i want the people to learn. If you have suggestions, let me know.
Last edited: