yashsingh1/xdaforums huggingface dataset:
[P8lite General] skiroko:
just succeed downgrade to android. but fail to connect my device via adb.. can you help? i use windows 10 pro
[P8lite General] tralph3:
What are you having problems with? Does the serial number not appear or do the adb commands not work at all? Remember you have to enable USB debugging and allow it in your phone when prompted. If the pop up doesn't appear, I stated multiple possible solutions on the OP.
[P8lite General] skiroko:
Done enabled USB debugging and allow it. But after type adb devices the serial number not appear. Does it have any driver to connect? Or the phone need to be in fastboot mode? Or any mode?
[P8lite General] tralph3:
If the pop up to allow usb debugging popped up, then it shoild be working just like that. Check in the device manager to see if there's an adb bridge or something like that, I didn't mention it in the OP because windows should install it automatically. You can look for adb drivers online if you want.
[P8lite General] 3janfer:
Ok so I already unlocked my bootloader years ago (when Huawei was still providing unlock codes) and flashed TWRP last week. Now, do I just flash a new ROM and then root or what?
[P8lite General] tralph3:
The guide is very clear, read it please.
[P8lite General] skiroko:
i have check in device manager,nothing wrong but when i type ade devices this message appear adb : The term 'adb' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the

spelling of the name, or if a path was included, verify that the path is correct and try again.

At line:1 char:1

+ adb devices

+ ~~~

+ CategoryInfo : ObjectNotFound: (adb:String) [], CommandNotFoundException

+ FullyQualifiedErrorId : CommandNotFoundException

any suggestion?
[P8lite General] tralph3:
Is the location of the command line inside the platform tools folder? If windows doesn't recognize the adb command, that's because adb.exe is not present in the working directory, you can navigate to the platform tools folder by using the cd command or by holding shift and right clicking inside the folder on windows exporer, then selecting open command prompt.
[P8lite General] const4ntin:
Error in the Guide!

There's a quite serious error in the guide. You NEED to install BOTH Android 5 files -- not just one or the other!

You should probably install from the SD-card to avoid running out of space during the installation.

First install the transitional package. If you boot in to it you have build number B500 installed. It's not meant to be used, it's just a patched version of your old system to make it compatible with the Android 5 downgrade. After that you can install the bigger file to get Android 5.

It is possible that some models or builds are already compatible with the bigger file, but this is the right way to do it.

1. Install patch

2. Install Android 5

It says so in the manual included in the smaller zip-file. Manual is in spanish and I don't really read that language, but I think it's pretty obvious if you just look at the pdf.

This should really be fixed in this guide!
[P8lite General] tralph3:
Thanks for pointing this out, however I could flash just the transition package and get away with it no issues. If you are booting into Android 5 and can root the device with one click root apps, why would you need anything else? After all, everything we need here is the bootloader unlock code, and that's it. By the way, the pdf included in the transition package is in italian if I recall correctly, I'm from Argentina so obviously I know spanish and I would have read it if it were in spanish. Nobody else has claimed that they could not do it because the root failed (apart from one dude couple of posts back that got solved by using another app). If you want to follow the pdf instruction, go ahead, nothing bad should happen anyway, if not, then the way I describe it works too, worked for me and many others. It's not an error or a mistake, it's simply a different approach.
[P8lite General] skiroko:
I just found the solution.. In windows 10,power shell is not same as cmd. There's another way to open cmd at the folder. Thanks guys. Now my phone rooted
[P8lite General] :
I need the stock android 6 emui 4 but it won't open or extract due to bad signature. My WiFi and Bluetooth won't turn on at all. But my sim card is still working. I need the stock android 6 or can I flash the b896 update from any custom ROM?
[P8lite General] tralph3:
If you need to repeat the process, you can download the stock android 6 zip and extract the "UPDATE.APP" file, then store it in your phone in a folder called "dload" on sd card or internal, then turn off the phone and press all 3 buttons when turning it on, it will flash the rom.
[P8lite General] :
But I can't extract it.

EDIT: it won't extract on my p10 lite but I extract it on my PC
[P8lite General] tralph3:
Well... You are supposed to do this on your pc...
[P8lite General] :
Well it seems the WiFi and Bluetooth hardware no longer works on my p8 lite.
[P8lite General] tralph3:
Bluethoot may stop working because its kinda fuzzy with this rom. As for wifi, I've been told this device's wifi antenna is quite fragile and can come loose with a good hit. It happened to me once, but I still had my warranty so I was given a new one. I don't know if you can do anything to fix it sadly.
[P8lite General] :
I'm running Resurrection remix OS (nougat), (this ROM doesn't have Bluetooth problems on my S3 mini). I wouldn't bother trying to fix it because there's basically no point. (battery drains just as fast in off mode, WiFi, BT have low signal, only 4 cores are useable, and other problems). My p10 lite is my daily driver and its stuck on emui 8 because Huawei support team said it's not powerful enough for android 9 (emui) or newer. (I suppose it has to be fast enough to hide the lags in emui :))
[P8lite General] tberma:
I failed to rollback to Android 5 on Huawei/ALE-L21/hwALE-H:6.0/HuaweiALE-L21/C40B515
[P8lite General] tralph3:
Did you have to quote the entire post? Please delete this for better readability.
[P8lite General] :
Use the transition (rollback) package in the first post. It worked for me.
[P8lite General] tberma:
It doesn't work for my variant I guess but I didn't try the other large package.
[P8lite General] android_beginn3r:
I don't know how to thank you. For an eternity I've been looking for a way to root my huawei and honor devices to root. I love you so much <3 THANKS THANKS AND AGAIN THANKS
[P8lite General] Yoshibboss_New:
Thank you for the guide! How can I downgrade to Android 5.0 if I have Android 8.0?
[P8lite General] tralph3:
How do you have Android 8? The only way to have Android 8 on this device is to follow this guide and install a custom rom wich runs on Android 8... and I don't recommend it since all of them have very nasty bugs. If you have Android 8 natively, then you most likely don't have the same phone, you may have the 2017 version of the P8 lite, which is equal to the 2015 P8 lite in name only. If that's the case, then don't follow this guide as it will break your device, go https://xdaforums.com/p8lite and look for the threads that specify "P8 lite (2017)"
[P8lite General] pauladx:
Yo guys wassup, so I got this p8 lite ALE-L21C109B581 (orange fr apparently) emui 4.0.3, I tried to downgrade to 5 with the stock rom and/or the rollback package from explanations and nothing works for me, install failed.... :/ :(((( I also tried (not necessarily in this order):

ALE-L21C02B140

ALE-L21C02B893

ALEL21C22B582

ALEL21C22B582 fullota

ALEL21C432B170 Firmware_Western Europe_Channel-Others_Android 5.0_EMUI 3.1_05012XFU

ALEL21C432B204

ALEL21C432B584

ALE-L21C674B589

ALEL21C900B500

And no result :(((((

Ofc, I unziped the upload.app, put it in dload folder, format first the small compatible sd card, after get it inside the phone and clear the cache and other option, then shut down, and finally start phone with power+vol up+vol down...... Every f**ing time.

The only thing that worked was this: ALEL21C109B582 small package and after the big full OTA, that just changed my build number to b582, but emui and android version stay the same.. Any solutions please ??? Thank you so much, this is very appreciated...

P.S.: Btw, the update I did with b582 full OTA did completely replaced the android on phone or not at all ? Just curious. Thank you.
[P8lite General] Kekko991:
Anyone have android 5 for C55 customization? (Carrier is TIM) ITALY

ALE-L21C55
[P8lite General] tralph3:
A good rule of thumb to know if the package you flashed is a full rom or just an upgrade/small change is to check the size. If it's quite big (900MB~1.3GB) it's most likely a full rom, if it's small (100MB~300MB) it's usually an upgrade.

As for the issues you're having, I'm sorry but I don't really have solutions for you. If you can't flash them, then it may have something to do with your carrier locking your device. Try to get an unlock code from them (not bootloader, but to free the device from them), maybe that'll help. But yeah, the only experience I have with this device is the one I have with mine, which is my daily driver, I'm typing to you through it right now. Sadly, the fact that it worked for me the first time meant I didn't learn how to overcome the cases where it doesn't.
[P8lite General] pauladx:
Yeah, ofc, I know this, I kept all files, I know which one was a full rom or an update.. but neither worked. I saw in other posts that sometimes it works to install a quick update that will permit to flash an android 5, then root, get code, twrp etc, but I couldn't do anything except install b582 update after b582 full rom. And I flashed before other samsungs or huawei so it's not my first time but is just annoying that now it doesn't want to let my anymore. :D I hate also the old android emojis on it =))))))

And.... the phone works with other networks too, I have a different sim from a different company/carrier now, you talk about unlocking in this way?

Yeah, but maybe for you it worked because you did it before, you had an earlier secuity patch/update etc, I guess they "fixed" that too ever since.....
[P8lite General] tralph3:
I did this basically at the same time I published the guide. I had the latest version my phone ever got, I don't think there was any patch added to prevent flashing other roms. Anyway, if you want to you can keep downloading and trying EMUI roms until one works, and if it works then try to flash the Android 5 one. Idk, you'll have to experiment.
[P8lite General] ilariaS:
issues downgrading from emui 8.0

Hi,

is there a way to downgrade from emui 8.0 to emui 3.1 ? I start from Android 8 and not Android 6, please can you help me?

Thanks
[P8lite General] tralph3:
It's the same issue some guy had a couple of days ago. There's no official Android 7 or 8 rom for this device, you must have the 2017 version of the phone which is completely different. This guide is for the 2015 version, following the steps here will brick your device, please look in your respective forum.
[P8lite General] Monch0:
Hola Tralph! mira, tuve un problema, no entiendo bien que pasó, pero el tema es el siguiente:

en una quise instalar una rom, la lineage os 17. Y resulta que había hecho el wipe a todo (menos a la sd( y pasó que no la pude instalar, tuve un problema que ya no lo recuerdo. Lo Empírico que me sucede ahora es que lo prendo y me manda directo al emui, me da opciones, creo que es el predeterminado, estas son:

-Download latest version and recovery

-REBOOT

-Shutdown

He intentado instalar la rom varias veces, también el android 6 que subiste y no hay manera de que pueda instalarlo, porque al apretar los botones me sale a twrp. y desde ahí no me deja instalar el sistema.

Asi que estoy realmente perdido, soy Tarzan del android
[P8lite General] tralph3:
First of all, let's try to speak in English to that other people can understand us. Second, you can't flash Lineage 17 on this device. Lineage doesn't work out of the box, it needs to be ported to each specific device, and it won't be ported to this one sadly. It's not even officially supported by them, the Lineage OS versions that currently exist for this device (14.1 and 15) were ported by DarkJoker, not the Lineage team. You can't flash any rom that is not made for this device specifically. You can't just download the Lineage 17 rom and flash it, even on a supported device, if you download the version for another phone IT WON'T WORK. You were really freaking lucky that you didn't isntantly brick your phone. The screen you are getting is some sort of recovery that Huawei gave us. If you can't flash the versions I'm providing in this post then I'm afraid your only option is to tap the "Download latest version and recovery" from that screen and hope for the best. It would not be rare if you have permanently ****ed up your phone, so try this and pray to god. If you have access to TWRP, then you may want to try to flash a suported Lineage version for this phone and see if you can then flash the stock huawei roms for a correct installation of the Lineage roms. I wish you luck, you'll need it.
[P8lite General] Monch0:
jajajaj!!!! ok i´ll try all i can. thanks for help , ill be romping the balls

---------- Post added at 02:53 AM ---------- Previous post was at 02:18 AM ----------

now i got no system operating in my phone. i cant istall the 15.1 lineage rom. maybe i can uninstall the twrp and then try to install the android 6.0 as the way you told us. what you think about it?:cowboy:
[P8lite General] tralph3:
TWRP doesn't interfere with the Huawei rom in any way, it would just overwrite it. As I said, you made a pretty big **** up by installing Lineage 17, you'll have to experiment. Try to download other stock roms, look on the internet and try to use the three button thing to flash them, can't really help you with anything else.
[P8lite General] Monch0:
would you do a last favour for me plz?? can you send me the custom rom or link me the thread , the rom version you updated here is build number: balongc52b311 and not the L23/L21.. thanks
[P8lite General] Shahrezan:
Application by step that we want..good..

how to know my emui huawei nova 3
[P8lite General] tralph3:
I don't understand.
[P8lite General] Porxu:
Many, many, many thanks.

It worked smoothly on my 2nd try.

On the 1st attempt I was not able to install your Android 5, so I tried with other ones (B188) but there I didn't achieve Root with any app or PC program.

Then I came back here and I found which step I was doing wrong: I needed to take out USB cable before pressing vol+,- and power buttons!

Perhaps somebody else would also find useful to place a note on this, just for people like me which limited knowledge on this... activities (lol).

Anyway, now I'm happy with my LineageOS so many thanks again!!!
[P8lite General] tralph3:
Glad it worked ;)

I didn't need to disconnect my USB cable to flash the official roms, but it's all good if that works for you.
[P8lite General] 3janfer:
Hello,

I am having an issue when flashing TWRP. I do everything like you said but I always get an error "(remote: command not allowed.")

Here is an image of said error in PowerShell: http://prntscr.com/sgjtva

Thanks,

3janfer
[P8lite General] tralph3:
That usually means that the bootloader is locked. Check if it got relocked for some reason.
[P8lite General] Tpt Dynamic:
I have Huawei Y6II CAM-L21 then use Huawei Finder(teammt) in CH play for downgrade to ALE-L21C02B589 actually worked then i use KingoRoot PC for su. When use KingoRoot you must be patient wait for root complete
[P8lite General] M.KhubaibAzam:
Bootloader

Hi!

I couldn't get any bootloader code.?

Command say no such file or directory.

Now what should I do.?
[P8lite General] tralph3:
Are you root? Do you have the correct phone model? Do you accepted the root prompt on your phone?
[P8lite General] Bonham:
6. INSTALLING THE B895/B896 UPDATE

So, you followed the power user path, the one we all really want deep down. That's cool, I respect you. We gotta use that custom recovery we just flashed, but first we need to transfer some files into our phone's memory. We need to install an update to the phone, for which you need Android 6 (that you should already have anyway). There's two different updates, B895 and B896. As you may guess, B896 is newer. However, any of these two will (or rather should) work without issues. I personally used B896, but some people claim B895 is more stable. I can't find a difference really, but the process is the same regardless of which you choose. Once you have made that decision, move "B895_update.zip" or "B896_update.zip" to your phone's internal storage or SD card AS IS (don't extract it). Then type into the terminal:

adb reboot recovery

You should be in TWRP now. Go to wipe and select the "Cache" and "Dalvik" partitions ONLY, then wipe them. Once that's done, go to install and flash your update of choice. Once finished, reboot the device. If TWRP prompts you to install it's app, DO NOT DO IT. The boot should take longer than usual because of the "Cache" and "Dalvik" wipe... and because of the update too. Once booted, you should be in EMUI 4.1. Go to settings and into "About Phone". In there, look for a field called "IMEI". If you see a number, that means you did everything properly, if you see "unkown" or nothing at all, then that means you lost your IMEI... which means you will have connectivity issues. To fix this, you will need to do a full wipe (so, boot into recovery (we lost TWRP due to the update) and then go to wipe, in there select everything except SD card) and follow the steps again starting from 3, this time flashing the other update (so if you flashed B895, flash B896 this time and vice versa)).

After installing the update as detailed in step 6 of the original post, I was not able to flash TWRP via fastboot anymore. I searched the forum for help and found another modified update file that included TWRP as recovery which I tried to install to no avail. Here's how I resolved the situation:

Flashing the B895/B896 Update + TWRP Recovery Image

Do everything as stated in the original post except for the following things:

If you have already lost TWRP by installing the B895/B896 update and rebooting afterwards: Reinstall the "HW_Stock_Android_6.zip" update and flash TWRP as in steps 3 and 4 of the original post.

In addition to your update of choice also move the "recovery.img" to your SD card.

Do NOT reboot the system after you flash the B895/B896 update via TWRP install.

Use TWRP's image flashing feature to flash the "recovery.img" to the recovery partition. Then wipe Dalvik and Cache and reboot without flashing the TWRP app

This worked for me. Hope it is useful in any way.

HUGE Thanks for the original post. Thanks for keeping this device alive.
[P8lite General] tralph3:
Thanks for detailing this exception [MENTION=7420560]Bonham[/MENTION] and honestly, I'm not the one keeping the device alive, DarkJoker is. He's still providing updates for Lineage OS 14.1 to this day. I just gathered a but of info and made an easy to follow guide, a guide that I would have liked to have myself when I did it.
[P8lite General] Ibrahim Tariq:
I have successfully rooted my honor 5x but your code doesn't do anything for my device ...

can u please help me with it?
[P8lite General] tralph3:
No, this guide is for the P8 lite, please search guides for your device.
[P8lite General] H2Oxide:
I was having issues downgrading the phone, getting fails on trying to flash firmwares. I found firmware that works on my phone on this site. I had to dig through a lot, but found the right packages. First I had to install a C900B500 transitional package (there was one for my country) after which I could flash an L package (generic Western Europe , in my case). Like I said, you'll have to follow the links to see the target area/country (I found no other way).
[P8lite General] Luis Gomes:
Hi guys can we Root without Huawei codes?
[P8lite General] tralph3:
I explain how you can get the code for free. There's no way without it. You can choose to pay for it if you want to skip the downgrade.
[P8lite General] Luis Gomes:
Thanks Tralf3. I wil read again your post.
[P8lite General] wirthiwirth:
Thank you very much!

Thanks to your guide and with the additional firmware-links provided by [MENTION=5226966]razorfancy[/MENTION] in post #31 (the transition pack was needed) I was able to unlock the boot loader and upgrade back to android 6 and b896. Installed twrp, then wiped everything. I wanted to install LOS 15.1 but got the error 7, so I updated twrp to a newer version without knowing what there is to consider, like checking for compatibility beforhand since I did not bother to do more research. After installing the new Version I got the lovely mesage

Error!

Func NO: 13 (recovery image)

Error NO: 2 (Boot failed in recoveryboot mode)

"adb devices" was listing nothing and when trying to flash the working twrp back with "fastboot flash recovery" it was "waiting for device". Then (after hours of reading up which I should have done before) I ran some fastboot diagnostic commands like "fastboot oem get-bootinfo" "fastboot oem get-build-number" which all gave back results corresponding to my phone. This encouraged me to try flashing the recovery again. Even though "adb devices" still did not list anything, flashing suddenly worked.

Just thought I share this here as a warning to NOT DEVIATE from this instruction if you don't know exactly what you are doing, which I sure did not, when I started this and I consider myself having had more luck than sense and will definetly do more research before tying anything on my primary phone.

So in the end I was able to flash the twrp version provided here back onto my phone. Now I'm running LOS 14.1

Thanks again, and also thanks to the other active members sharing knowledge :)
[P8lite General] troyer1234:
Honor 4c

hi, i want "update.app" of b895/b896 to flash on my Honor 4C

can someone plz give me a link to this?

i don't want flashable zip cuz i don't have TWRP installed
[P8lite General] zechsmerquise:
hi, i would like to say thank you for this wonderful guide and im able to install custom firmware to this phone.. anyway may i ask what modules is the best to install in xposed framework? thanks
[P8lite General] tralph3:
The main one I use is GravityBox for customization.
[P8lite General] Brancaleone:
Thanks a lot, worked nearly perfectly ... only thing was, that i had to use stock rom instead of transition, but after nearly ten years of flashing smarthones and tablets .... never had such a smooth procedure. Incredible - it all worked in 90 minutes....
[P8lite General] Lenin123:
Problem

hi I have a problem entering this command su -c "grep -m1 -aoE 'WVLOCK. {14} [0-9] {16}' / dev / block / mmcblk0p7 | grep -aoE '[0-9] {16 } '"when entering this command nothing happens I copied it exactly the same but I don't know if it will be without spaces or without brackets, please help
[P8lite General] tralph3:
Please, copy and paste the command. You have spaces where they should not be.
[P8lite General] JohnMes:
Thank you for the article, I have long wanted to install Android 6.:)
[P8lite General] ci00rix:
Hey, i followed the manual and all went fine, however, now when i do

> adb shell

>su

nothing happens. Like there was no echo, nor any response from a phone.

Thats exactly how it looks:

>C:\ADB>adb shell

>shell@hi6210sft:/ $ su

>ls

>exit

>aaaaabcdef

<nothing happens, i can write anything and nothing>

Any ideas why?
[P8lite General] tralph3:
Try to see if the phone is being detected. Does adb devices show it? Do you have root access?