yashsingh1/xdaforums huggingface dataset:
[P8lite General] SantiStark:
I donwgrading the phone, I will try with kingo root

---------- Post added at 11:47 PM ---------- Previous post was at 11:19 PM ----------

I can´t root the device, I used framaroot, kingroot and kingoroot, apk an pc apps, But the phone not root
[P8lite General] tralph3:
Don't know what to tell you, do some research please.
[P8lite General] SantiStark:
I believe this my problem; The phone is in EMUI 3.1.1, I tried to do The first step to this guide, I don´t know why, but when I try flash "UPDATE.APP" file from "HW_Stock_Android_5.zip", EMUI said that "Software Install failed"
[P8lite General] tralph3:
How did you get to EMUI 3.1.1 then? You were already there? If so, then you should see an official Android 6 update through the settings or something like that. I'd recommend you officially upgrade to Android 6, and then try to downgrade to Android 5 with the package provided. My phone came with Android 5 and an Android 6 update out of the box.
[P8lite General] ferramenta:
Greetings Tralph3.

Thank you very much for your efforts.

I am following this guide for about 10 hours. I have installed Lineagos14.1 successfully but I am having troubles because the b895 and b896 updates are not being flashed properly. I did the process twice and on both of those updates I had the same error, which shows in the twrp install log as. Unkown command [errno]. This results as you point out that the sim is not recognized on lineageos.

If you have any idea how to work around this I would appreciate it very much.

Like a previous user said before I also have this problem . I had to detach the cable from the phone for the three button reboot mode where you install the updates/downgrades of android 5 and 6 to run the install sucessfully.

I had to install the transition android 5 and then stock android 5 for the downgrade to work.

Getting root was weird. One click root apps seemed to be working intermittently.

Using a usb dock might cause problems.

Getting in to LineageOs 14.1 for the first times was strange. The DarkJoker360 one. It asked me a password for me to start the initial setup process, when you get on the OS for the first time. After some reboots the phone finally entered the normal mode by itself...

On Windows 10 the shell is not cmd, i'ts windows powershell and you have to use .\ in the beggining of the commands you have on the guide.

Now that I am more comfortable with how things work, I think you just have to take your time with learning and installing things and follow your guide to the letter.

Best regards. f
[P8lite General] tralph3:
I'm glad I could help! Hope you're enjoying your phone. I still got (and use) mine.
[P8lite General] SuwalTheGreat:
Wow wtf thank you so much for this guide, it worked like a charm. KingRoot didn't work for me however, but KingoRoot did, despite showing root failed (root checker showed the device was root already so idk what happened there). I never saw this day coming, using a custom rom in this phone.
[P8lite General] MDSOPAN:
Will the bootloader unlock method work on the p9 lite if it is already rooted?
[P8lite General] tralph3:
Not sure if the P9 lite has the same chip. If it does, it may work, but this only officially support P8 lite 2015.
[P8lite General] MDSOPAN:
IT has a different chip the kirin 650 but what happens when I run this command

su -c "grep -m1 -aoE 'WVLOCK.{14}[0-9]{16}' /dev/block/mmcblk0p7 |grep -aoE '[0-9]{16}'"
[P8lite General] tralph3:
su uses the root user, -c is a flag that tells su to execute a command, the command is what follows. grep is a utility to search for patterns in files, you don't really need to understand all that, it's basically searching for the code, nothing is being modified. So, yes, you can try it and nothing bad will happen as a result. At worst, you don't get the code, or you get something invalid.
[P8lite General] MDSOPAN:
Thank you for your first replies. I have emailed huawei. If that does not work out will try this.
[P8lite General] tralph3:
Huawei stopped providing unlock codes a looong time ago, that's why this guide exists. You may want to skip the wait and just do it because you won't get a response, or you won't get a satisfactory response either way.
[P8lite General] robytrade08:
Thanks for the guide, it worked. I went from ale-l21c432b633 (android 6, emui 4.01) to lineageos 14.1.
[P8lite General] jeu_bm:
I have an ALE-L02 device, it comes with 5.0 and EMUI 3.1 pre-installed, from the factory.

Would the method work for me and what things would I have to do differently?

I have been looking for a while and the truth is that this is the best I have found in terms of unlocking the bootloader for Huawei P8 Lite devices, I do not want to make any mistakes.
[P8lite General] tralph3:
I think it should work, as long as your chipset is the Kirin 620, then you should be good to go. But as always, at your own risk.
[P8lite General] jeu_bm:
OK, I'll give it a try.

Regarding the method itself, the device already comes with Android 5.0 and so on. Do you think that in order to unlock the bootloader it is enough for me to simply skip the startup steps (install 5.0, etc) and then continue with the method as normal?

Sorry for so many questions, this kind of thing is a bit difficult for me.
[P8lite General] tralph3:
Yes you can skip the step in which you downgrade, but you MUST upgrade to Android 6, and you MUST install the update.
[P8lite General] jeu_bm:
Okay, then I'll make the attempt.

Thanks for the help, anything I'll report!
[P8lite General] meubeukeu:
Hi all

My phone is ALE-L21C150B564

Impossible to flash anything with SDCARD. i tried many official ROM, even those used specialy to rollback from 6.0 to 5.0 ... The only way to unlock bootloader for me is with PotatoNV.

now i am working on root it because i am blocked with this C150B564 version ...

Important ; PotatoNV give original unlock code and defaults options are changing it, if unlock code is not the original one, it is impossible to flash recovery

fastboot.exe flash recovery recovery.img

Sending 'recovery' (25152 KB) OKAY [ 0.810s]

Writing 'recovery' FAILED (remote: 'image verification error')

fastboot: error: Command failed

after restoring original unlock code with PotatoNV again ... flashing recovery is working

fastboot.exe flash recovery recovery.img

Sending 'recovery' (25152 KB) OKAY [ 0.810s]

Writing 'recovery' OKAY [ 1.030s]

Finished. Total time: 1.940s

Thanks !!
[P8lite General] masemoel:
Which is that recovery2.img? TWRP??
[P8lite General] meubeukeu:
just a typo when a copy/paste ... yes it is TWRP
[P8lite General] bobcov:
Long story short, Kingroot PC never worked. I couldn't use the apk, because the WiFi and Bluetooth are dead. And because of that, I decided to turn the phone into a biking GPS. Tried using a reverse tether for connectivity. That worked for webpages and partially for kingo and king, but both failed with network unreachable errors eventually. The whole point of this was to be able to move GPS map files to the right location in an offline mapping program and I couldn't do that without root. Finally just did the DC-unlock.com option (quite an ordeal with drivers), got the bootloader code, unlocked, loaded SuperSU into 5.0.1 with twrp 3.1.1 and got my downloaded maps into the program. And that's when I found out that GPS doesn't work either.
[P8lite General] bobcov:
Would running Android 6 and the update bring back functioning GPS? I just went through a lot of hoops with 5.0.1 on a phone that doesn't have WiFi or Bluetooth in order to use it as a biking GPS unit. After all the work to get root so that I could place the map files where they needed to be, I found out that the GPS is not working either.
[P8lite General] shanii95:
There isn't need anymore to downgrade from 6.0 to 5.0, you can unlock bootloader via test point(find points on net) and PotatoNV(software). You can find tutorial on youtube, i'm not sure may i leave links from external sites here.
[P8lite General] amageek:
this guide does remind me of the other Mega Thread that was created by LordBanakafallata (I'm sure I have spelt his name wrong)... Glad to see people are still working on this ... Cheers and all the best to everyone
[P8lite General] Benjamintbm:
Hi all, I am struggling with my P8 Lite 2017, with ROM PRA-LX2. I want to root it, but need to unlock bootloader. I saw the guide for the ALE-L21, but needed a guide for PRA-LX2.

Can someone assist me please?
[P8lite General] PedriterX:
Hi, I already did all the steps described in the post but when I want to go to TWRP to flash a new custom rom, it won't let me, it says:

"Failed to mount '/data' (Invalid argument)

"Unable to recreate /data/media folder.

Updating partition details...

Unable to mount '/data' (Invalid argument)

...done

Unable to mount '/data' (Invalid argument)

Full SELinux support is present.

Unable to mount 'data/media/TWRP/.twrps

MTP Enabled

Formatting Cache using make_ext4fs...

Failed to mount '/data' (Invalid argument)

Updating partition details...

Failed to mount '/data' (Invalid argument)

...done

Failed to mount storage

I would appreciate any response. Greetings.

*ALE-L123*, with EMUI 4.1.

EDIT: fixed. Wipe data and internal storage.
[P8lite General] Jim39999:
2017 ALE-L21.

Neither does the Transition package work, Neither does the other one do.
[P8lite General] hkdoublecat:
my kingroot is tuck at 1%.

still doesn't work even with "playstore security unticked", and "mock location on" (no mocked location app to choose though)

any idea on how to let that work? or could you provide the version of your working combination? i am on android 5.0.1 (ALE-L21C636B170) and kingroot 5.4.0
[P8lite General] nemesis1304:
by mee the same
[P8lite General] hkdoublecat:
finally i unlock by nvpotato way
[P8lite General] nemesis1304:
have you a link?
[P8lite General] hkdoublecat:
how to:

How to use PotatoNV · Issue #20 · mashed-potatoes/PotatoNV

How to use PotatoNV Unlocking the boot loader DISCLAIMER: You will void your device warranty. I have successfully done this guide but I am not responsible for any malfunctions or any damage to the ...

github.com

ALE L21 specific:

Huawei P8lite ALE-L21 (2015) · Issue #39 · mashed-potatoes/PotatoNV

Hi, any chance for this one to work? I just tried but got stuck: PotatoNV v2.0.1 User manual: https://kutt.it/pnv-en --> Flashing bootloader Verifying images... Verification passed! Uploading hi...

github.com

youtube demo:

it is free but it isn't easy.
[P8lite General] konfigurare:
does this work on ale-l21?
[P8lite General] bricked.:
I have the following problem. Maybe someone can help:

If I put dload/UPDATE.APP on the sd card and boot with both volume buttons pressed: unable to find /sdcard/dload/update.zip

If I write HW_Android_5_Transition.zip or HW_Stock_Android_5.zip on sd card (as dload/update.zip), it trys to use it but says: Singature verification failed.

I don't understand why that works for you...

EDIT: I noticed that I already have Android 5.1 (EMUI 3.1) installed. Now the problem is, that none of the rooting APKs work for me (KingoRoot, rootmaster, kingroot, framaroot). Is there anything else that works or is PotatoNV the only whay that works right now (I'm a little bit scared of this method...)?

# Reference

[Huawei] How to flash stock firmware UPDATE.APP

www.facebook.com/droidth Download update.zip Example L29C636B170 ตัวอย่างจะลง Firmware L29C636B170 1. Official : http://update.hicloud.com:8180/TDS/data/files/p3/s15/G1076/g104/v43716/f1/full/update.zip 2. Mirror link google drive : https://goo.gl/dHk8r8

yewtu.be

Update Huawei P8 Lite ALE L21 to Android 5.0 Lollipop B130

Huawei P8 Lite user are getting some updates, follow this guide to Update Huawei P8 Lite ALE L21 to Android 5.0 Lollipop B130 Stock Firmware

www.guidebeats.com

https://www.getdroidtips.com/full-guide-install-stock-firmware-huawei-smartphone/
[P8lite General] ULyimatj0j0:
Hi. Thanks for all. I need a link for EMUI 4.1 B895 or B896, not wortking now
[P8lite General] bjou:
Finaly it worked for me after downgrading to Android 5. Thank you for this very hrlpfull guide. Good job!
[P8lite General] MadMax90:
Hello!

I've troubles to flash Android 5. Any stock rom I tried stopped with installation failed very fast. I guess validation failed. It is a T-Mobile branded smartphone. Can anyone help me find a stock rom this smartphone would accept to go back to android 5.

Currently the following build is installed:

model number: ALE-L21

build number: ALE-L21C150B595

custom version CUSTAUTC150D010

Thank you!!
[P8lite General] MadMax90:
Found a solution, that worked for me (without disassembling device, or paying for any unlocking code):

https://xdaforums.com/t/rom-8-1-stable-lineageos-15-1-for-p8-lite.3928723/post-87222599
[P8lite General] facundopucha:
Hi! I'm new in the forum and everything related to upgrading with customs roms. Yesterday I could unlock the bootloader (after many tries) using KingRoot 5.3.6. First I remove the SIM Card and SD Cars, then wipe to factory and install KingRoot but I still working at the rest of upgrading.

Sorry for my bad english
[P8lite General] facundopucha:
Hi! I am new to the forum and to everything related to the installation of custom ROMs. Yesterday I was able to unlock the Bootloader using KingRoot (after many attempts). For that I removed the SIM and SD, Wipe to Factory and installed the KingRoot. I hope you can unlock it too
[P8lite General] Łukasz1983:
Hello, where is 1.zip located? I cant find it...
[P8lite General] tralph3:
It's in the Android 6 root file. BTW... android file host seems to be down? Hope it's temporary.
[P8lite General] Łukasz1983:
tralph3 its actuallly working great tutorial. Ive done im on android 7.1.2 right. That's amazing, Thanks!
[P8lite General] al3x97:
hi how come you give me this error? with several zip files this is an example
[P8lite General] VFlame13:
Hello i just have one question. If my Huawei p8 lite ale l21 has already Android 5 (because it's a bit old for ex) do i need to install the Huawei stock android 5 anyway?
[P8lite General] VFlame13:
Just one question. What if my phone already is Android 5?
[P8lite General] tralph3:
You don't need to downgrade if you have Android 5 already. The whole point is to be able to root the phone via methods that don't require flashing. That's only possible on Android 5. If you can root it and get the unlock code, you're good to go.
[P8lite General] WinAndr3s:
NOT WORKING!!!!!!!!!!!!!!!!!!!!!111
[P8lite General] Łukasz1983:
Hello,

im tired of this customized rom's. Camera not working even on b896, nfc not working. More over I can't remove anything from sd card. I would like to go back to stock android 6.0. Is there any easy way to do so?
[P8lite General] tralph3:
You should be able to flash the stock android 6 firmware by dropping the update file in the dload folder and following the steps described in the guide.
[P8lite General] Łukasz1983:
I cant do that, because I cant delete anything from sd card including dload folder and its content. Does it mean that the sd card is broken?
[P8lite General] tralph3:
Do it from an external device, or transfer it to the internal phone storage.
[P8lite General] Łukasz1983:
Thank for your help so far. One more question, because i'm unable to remove or even format my sd card. What that means. What can I do about it?
[P8lite General] tralph3:
I don't know why you can't remove it. You mean physically? If what you mean is that you can't eject it through software, then just remove it, doesn't matter.

If you mean physically, well I don't know. Open it up or something.
[P8lite General] Łukasz1983:
Hello,

After installing several of customized ROM's Ive noticed that I can not remove anything from my sd card (I cant delete any single file). Mover, I cant even format it. I tried everything including to put a sd card into adapter and tried to format it under windows. Still, nothing heave helped.
[P8lite General] Firebreach:
Hey guys, i have a Huawei P8 Lite ALE L21 (C900B500), emui version 4.0.3. I downloaded the transition file and the stock file to downgrade to android 5, and the STOCK failed at 5%, and the thansition file did update but when my phone starts up and check my android version, it's still android version 5 and the emui is still 4.0.3. Is there something i do wrong? Now i got my phone downgraded to android 5, but immediately the next problem. i cant root my device. not with one click(Kingroot, Kingoroot). and with both pc versions either. Any help appreciated.
[P8lite General] GamerNameHere:
Anyone got any working links to a working one click root app? Kingroot app doesn't support my device (ale-l21), following the guide I got it to android version 5.0.1 and EMUI 3.1, just don't know any one click root apps, I don't plan on pay for any also. (in case this information is of any use, I got an Octa-core 1.2 GHz CPU)
[P8lite General] seeyaomi:
Hey don't know if anybody will need this, but this is the step I was having the biggest trouble with. I'm replying just because I'm so mad that nobody is providing any links for the one-click-root, or sharing their experience. So here's the link. It's the first on Google results, but you never know with all the ****e you have to wade through to find non-virusy programs.

Thank You for Downloading Latest KingRoot APK for Android. | KingRoot Official

You’re just a few steps away from installing the best free KingRoot APK.

kingrootapp.net

That's the one that ALMOST worked for me. But not immediately. First it gave me some error message, so I tried KingOroot, didn't work either, tried Framaroot, didn't work either.

Tried all of em several times, KingRoot would give DIFFERENT error messages every time, sometimes Network error, sometimes "your phone is on the Wish List". Rebooted several times here and there, nothing.

Then I tried it (KingRoot) again, and suddenly it shows me a progress bar! It goes up to some percentage, then quits working again! FAAACK. Then I reboot and try again and it goes a bit further than last time. Like wtf. This app is so unbelievably ASSSS.

Just close it whenever it decides to refuse working. Restart. Try again. At some point with some luck you might get it to root, although I didn't achieve that.

Horrendous software. I think it's their backend or their servers. Just doesn't work reliably at all.

Which means this way of rooting will soon be not working alltogether, when they decide to pull the plug. And then this entire guide is for nothing. Until someone finds a better rooting method.

**** now it says the Wish list thing again and doesn't root, only goes up to about 75%. How did the others do it??? I can't be the only one with this problem.
[P8lite General] tralph3:
Well all things expire eventually. But it won't obsolete the entire guide, that step is for getting the unlock code, if you already have it, the rest of the guide may be useful. Although this phone is so old now the number of people who daily drive it must be in single digits at this point, I'm included tho :P

I agree that it's pretty ****ty that the one click apps aren't working anymore, I don't really know of an alternative sadly.
[P8lite General] seeyaomi:
Man, two unbeliavable things just happened. First, you replied, which was like a snowballs chance in hell happening in my expectation, and the second thing, it says "Rooting Successful"!!!!

But not with KingRoot, with KingOOOroot.

In case that guy is still looking for a link:

KingoRoot APK Download | KingoRoot for Android

Download and install KingoRoot.apk to root your Android device without connecting to PC.

root-apk.kingoapp.com

I tried Kingoroot around 10 times as well, it always said rooting unsuccessful, and now all of a sudden I get the green lock and Root Available!!!

WTFFFFFFFFFFFF

What about Einstein and trying the same thing over and over and expecting a different result?? Well, this time it worked. It makes no sense.

Thanks for the excellent guide man. I just had to try it out, when I got this phone given to me today. Yeah you're right almost nobody uses it anymore. I'm just glad the time wasn't wasted altogether.

I got the bootloader code. Thanks again.
[P8lite General] tralph3:
No problem. I still get messages in my email for any notifcations, and I check my email daily, so of course I'd see it haha.
[P8lite General] seeyaomi:
One thing I don't understand is why we (ok not me I know jack ****), why the XDA community leaves this One click rooting business in the hands of these Chinese guys. Is it really that hard? Why is there no clean official rooting app. If I understand correctly it only works up to Android 5.1, anyway? If that's the case then that would explain why nobody cares, it's a dying issue anyway.
[P8lite General] tralph3:
I think Framaroot isn't Chinese, but yeah, this isn't possible on newer Android versions, so it just faded away. Nobody cares for old phones, and honestly, unless the phone was special in some way, nobody shouldn't.
[P8lite General] GamerNameHere:
This app worked, thank you so much!
[P8lite General] GamerNameHere:
I got another issue now also. Neither fastboot nor adb can find my huawai phone while it's in the fastboot mode, when I try to unlock it anyways, it says this: < waiting for any device >

EDIT: I figured out the problem, so I found a video to solve it:
[P8lite General] seeyaomi:
Thanks for the reply and glad to hear it worked! Had the same exact problem once, even saved the androidwinusb.inf to my hard drive in case I needed it again.
[P8lite General] Sausmaster:
Hi all, some help would be greatly appreciated!

I cannot get my ALE-L21 to downgrade to Android 5. I followed all the steps dutifully, but no luck.

The device is on EMUI 4.1.3 / B896. But will not accept either full 5 update.app or the transition, or other packages I found online. It goes to 5% and then says "not compatible with this version".

Any tricks/tips.
[P8lite General] Azriel_7589:
Here in 2023 I have a Huawei ALE-L21 device I cost a lot to get the apk to root the device I leave it here for anyone who wants to unlock their device in my case I will use it to play retro games.
[P8lite General] marmota92:
first of all thanks for this guide bro, I´ve got an ale-l23 still in android 5, followed the steps and unlocked bootloader succesfully, but I´m not able to install the android 6 update it says error any time I try, any advice?
[P8lite General] Sausmaster:
Can you help me, how did you unlock the bootloader? I am stuck at trying to flash back from emui 4.1.3 / android 6 to 5. It says not right for this version when trying to flash out of recovery.
[P8lite General] marmota92:
I followed the steps on the guide, but when I bought the phone (like a week ago) it was already in emui 3 / android 5, didn't have the need of downgrading, but I have a similar problem as yours but instead of downgrade I can´t update; you might need to use another firmware updater until success, is what I'm doing right now, looking for firmware packs to try; since I'm trying to update to emui 4.x / android 6, I cannot help you any further.
[P8lite General] Azriel_7589:
You have to put the stock android 5 rom to remove and then you have to give it superuser permissions with kingroot.

After that follow the steps in the guide.
[P8lite General] Azriel_7589:
Did you try to update with the stock rom?

Have you already unlocked the bootloader?

Don't forget that you must follow the steps in the guide to update correctly, don't use the Android 6 B895 and B896 updates without having the stock android 6 rom first.
[P8lite General] Pier-Dub:
Thank you for the tutorial (on page 1) which is very detailed!

Thus, I managed to rooter for free and release LineageOS 14.1.

Great job.
[P8lite General] breversa:
How did you manage to (temporarily) root the phone?

All the tools I’ve tried so far (Kingroot, Kingo Root, even Towel Root) don’t work, as they are apparently somehow unable to access their root exploits "repository". :-/

EDIT:

SOLVED! I was actually on a network that apparently blocked the traffic to the website used by the rooting app(s). Once I changed to a less-secure network, @Azriel_7589 's version (https://xdaforums.com/t/guide-unloc...-rom-ale-l23-21.3977067/page-13#post-88362807) worked on the first try!