What am I doing wrong with flashing? - Huawei P9 Lite Questions & Answers

Hi folks. I have tried to upgrade the android release of a rooted P9 Lite phone.
(It had the 50%-to-1%-in-1-minute battery issue so I thought this would cure it)
Anyway, the working phone had vns-L22c636b120 installed.
So my faulty logic told me to go to update.highcloud.com site and download a full-ota image that started with the same letters, except with an image ending in something higher than 120. I downloaded the VNS-L22C636B384.
I did some fastboot flash operations on the phone, namely boot, system, cache and eventually recovery and recovery2, all flashes went fine, but the phone got stuck at "your phone is booting now". Only fastboot kept working. No recovery booted.
Eventually the phone accepted vns-L22c636b130 image and it now works.
My general question is: If I wanted to upgrade a Huawei phone's android version, what would I need to flash it with, and how? Obviously I am doing something wrong since the phone ends up stuck at the "Your phone is now booting" stage, if I pick anything with a higher number.
PS: During this flashing, I had no access to the recovery, therefore I was unable to 'wipe cache/dalvik' maybe that I was my problem. fastboot erase .... gave permission errors so I couldn't use that either.
Many thanks, -t

Related

XT1575 Reset Loop

After messing up a rom flash somehow (phone was stuck on a gray screen after logo), I used the stock recovery factory reset function, but after doing so my phone is stuck in an 'erase loop'. The phone alternates between the "Erasing..." screen (with the little droid) and the "Bootloader Unlocked" screen.
I can enter the main menu for recovery mode, but if I try to go into the actual recovery mode (where you can wipe and install from sd/adb) the loop starts up again. I haven't seen this issue mentioned many other places, but the one forum I did find (for a different phone) just said to wait it out (20+ hours).
I was wondering if anyone else had ever encountered this, or if anyone had any suggestions for me.
TCZaro said:
After messing up a rom flash somehow (phone was stuck on a gray screen after logo), I used the stock recovery factory reset function, but after doing so my phone is stuck in an 'erase loop'. The phone alternates between the "Erasing..." screen (with the little droid) and the "Bootloader Unlocked" screen.
I can enter the main menu for recovery mode, but if I try to go into the actual recovery mode (where you can wipe and install from sd/adb) the loop starts up again. I haven't seen this issue mentioned many other places, but the one forum I did find (for a different phone) just said to wait it out (20+ hours).
I was wondering if anyone else had ever encountered this, or if anyone had any suggestions for me.
Click to expand...
Click to collapse
Try flashing TWRP recovery image using fastboot. I presume you have bootloader unlock otherwise you wouldn't ended up in this mess in first place.
First reboot your phone into the bootloader (POWER+VOL-) from here you can connect your phone to PC and issue fastboot commands.
Code:
fastboot flash recovery /path/to/TWRP.img
After that don't reboot the phone , just select from the already present bootloader the Recovery option... And from there try to factory reset !
If that doesn't work, and the phone doesn't boot (bootloops), you might have the /system partition messed up. At this stage get your hand on the latest Stock Firmware for your phone and flash all the system chunks (no data will be lost, but might need to wipe cache after if you get too many Force Closed)
That is for sure if you want to have stock, you could also try and flash using TWRP a custom ROM, that by itself will restore your system partition ( wipe system before flashing to be sure, by going into wipe -> Advanced -> tick System and the two Cache options and Wipe)
Hope I was clear, ask if you need more step-through details!
Thank you very much, flashing TWRP worked!

Bootlooping on dead Android guy after failed installation, help!

I had my phone rooted on old Oreo version and wanted to reinstall the latest factory image. While I was doing this my laptop got a BSOD and the installation didn't fully finish. I redid the install but now my phone is in a bootloop. It will go past the Google logo but afterwards will loop on the dead Android guy with the ''No command'' message, same happens when I try to enter recovery mode. Is there something I can do?
I would flash TWRP and try wiping all including internal. Sounds like one of the partions is corrupted. You could do it with fastboot in bootloader mode but not sure of the commands.
teunnk said:
I had my phone rooted on old Oreo version and wanted to reinstall the latest factory image. While I was doing this my laptop got a BSOD and the installation didn't fully finish. I redid the install but now my phone is in a bootloop. It will go past the Google logo but afterwards will loop on the dead Android guy with the ''No command'' message, same happens when I try to enter recovery mode. Is there something I can do?
Click to expand...
Click to collapse
You're probably not used to the stock recovery. The no command droid is normal. Watch this video, and see if you can get to recovery or bootloader.

P8 Lite turns itself off while booting to TWRP/CWM recovery

LATE EDIT: solved, read bottom of this topic for solution
Hi, so I have a P8 Lite and after properly unlocking the bootloader, I flashed TWRP (versions/ports found on XDA for P8 lite).
After using fastboot fastboot flash recovery twrp.img properly, it outputs OK, indicating it successfully flashed.
Now, assuming all went fine, I tried booting into recovery with powerbutton and volume up, after a few seconds only it turned off, the whole device just shuts itself down.
I then noticed it'd go into Huawei eRecovery when you keep holding it, so I just briefly pressed both keys until it started up, immediately released, and it still failed to boot into recovery.
To make sure I made no mistakes with triggering the recovery boot, I used adb to perform ''adb reboot recovery'' and so it attempted to boot into it, resulting yet again in the same black screen shortly after the Huawei (powered by android) logo, where that black screen is actually the device shutting itself down.
So the conclusion I draw is that the recovery is broken after installing it, the question is how. I'm not a novice to this kind of stuff, as you might have noticed, but still I cannot think of what went wrong, as my bootloader is successfully unlocked through the EMUI method, and I made proper use of fastboot to flash recovery, after which it tells me it succeeded, using the proper recovery for this device.
To double check I also installed the CWM recovery released for the P8 Lite (https://forum.xda-developers.com/p8...overy-clockwork-mod-recovery-cm-12-1-t3342209), as TWRP's for it (multiple versions/releases..) failed thus far, and also with CWM the same happens.
I really want to proceed flashing recovery to then root the phone and install a custom ROM, so any help or ideas what the cause might be, will be appreciated, or anyone that encountered the same problem!
SOLVED (was too lazy to post on time, i fixed it shortly after posting this).
The problem was that I flashed a bad recovery, basically the ALE-L21 has different TWRP versions advertised in the P8 lite section, i happened to choose a not too good one, it may have even been one that didnt belong to my model (like P8 lite generation year), not sure as the section is co-shared between P8 lite model generations, this mistake is easily made.
If you have this issue, just keep trying additional (TWRP) recoveries, the subsequent 2 versions from different publishers that I tried were working fine and the issue stopped.

Bootloader locks itself, can't restore via fastboot

Hi,
recently my friend asked me wether I can look at her P8 Lite which wasn't working after beeing left unused for some time. Basically when she got a new phone this P8 was left in box for a few months and after turning it back on the screen included in attachment appeared. https://imgur.com/a/WcvNByN I'm not new when it comes to unlocking bootloaders and all that stuff as I was doing it many times on another devices so I tought it will be easy job. Well, was I wrong... What I tried so far to recover this phone:
1) I obtained all necesary data to get the bootloader unlock code from Huawei. When I want to unlock the bootloader it works but after I reboot the device it goes back to "Locked" state.
2) It does not boot to recovery with buttons combination.
3) It does boot to fastboot but as I said bootloader locks itself down after reboot.
4) I tried to place UPDATE.APP from various firmweares on SD card and update it that way, it takes extremly long but with this metod it boots to some kind of MIUI recovery in which I have 3 options: wipe cache, wipe data/factory reset, rebboot system. Depending on firmweare it allows me to wpie cache or/and wipe data but reboot system always fails taking me back to this rescue mode screen.
5) Finally I tried to flash stock rom by extracting files from UPDATE.APP via fastboot. It flashes everything except recovery and boot which gives me fastboot error: "FAILED (remote: flash write prim vrl failure)". Interestingly I can flash TWRP recovery without error but when i try to access it whit buttons combination it fails and goes to rescue mode.
Device was stock and unrooted before this. I'm kind of out of ideas, I searched a lot of topics without any conlusion on this, if anyone could help me I wolud really appreciate this. However I think there is no hope for this phone maybe someone here would be able to help.
DoggoGuy said:
Oh no... You should contact Huawei and don't tell them that you tried to unlock the bootloader. Your phone may have a thing named "Huawei eRecovery". Launch it, it will download and flash stock ROM.
Click to expand...
Click to collapse
That option works only in China . I guess
Robx34 said:
Hi,
recently my friend asked me wether I can look at her P8 Lite which wasn't working after beeing left unused for some time. Basically when she got a new phone this P8 was left in box for a few months and after turning it back on the screen included in attachment appeared. https://imgur.com/a/WcvNByN I'm not new when it comes to unlocking bootloaders and all that stuff as I was doing it many times on another devices so I tought it will be easy job. Well, was I wrong... What I tried so far to recover this phone:
1) I obtained all necesary data to get the bootloader unlock code from Huawei. When I want to unlock the bootloader it works but after I reboot the device it goes back to "Locked" state.
2) It does not boot to recovery with buttons combination.
3) It does boot to fastboot but as I said bootloader locks itself down after reboot.
4) I tried to place UPDATE.APP from various firmweares on SD card and update it that way, it takes extremly long but with this metod it boots to some kind of MIUI recovery in which I have 3 options: wipe cache, wipe data/factory reset, rebboot system. Depending on firmweare it allows me to wpie cache or/and wipe data but reboot system always fails taking me back to this rescue mode screen.
5) Finally I tried to flash stock rom by extracting files from UPDATE.APP via fastboot. It flashes everything except recovery and boot which gives me fastboot error: "FAILED (remote: flash write prim vrl failure)". Interestingly I can flash TWRP recovery without error but when i try to access it whit buttons combination it fails and goes to rescue mode.
Device was stock and unrooted before this. I'm kind of out of ideas, I searched a lot of topics without any conlusion on this, if anyone could help me I wolud really appreciate this. However I think there is no hope for this phone maybe someone here would be able to help.
Click to expand...
Click to collapse
I had the same error on my Huawei P8 Lite 2017 but I broke it myself.
The only way I was able to fix it by not taking it to a store was to use DC Phoenix,but it costs 20 euros for a 3 day license.
It was worth it though,since it did first of all lock the bootloader again,and it bootlooped at first but then I went to eRecovery and it installed the latest update and booted up.

Can flash ROMs but can't boot them

I have a Huawei P10 Lite WAS-LX1. I had its bootloader unlocked in a phone repair shop (by shorting testpoint).
Now it always greets me with the message "Your device has been unlocked and can't be trusted".
I can load the boot into the bootloader and I can flash TWRP (I tried 3.4.0 and 3.3.1 from DarkJoker360 and also the one from Pretoriano80).
I am also able to flash system images, for example LineageOS from DarkJoker360.
At first that seemed to work to some extent: the new system kept crashing but at least it was booting.
I tried again and again and at some point I wiped everything but the sdcard using TWRP (that is, including the vendor partition). I suspect that's what I did wrong, because presently I can no longer boot into the ROM I am flashing. Instead, the phone waits for a few seconds, then vibrates once and restarts. The second time, it boots into "Huawei eRecovery" (where I can "Download latest version and recovery", "Wipe data/factory reset", "Reboot" or "Shutdown"). I am afraid of attempting to go back to the stock ROM as I wouldn't want the bootloader to become locked again.
Since I can still boot into both the bootloader and the recovery, I have hope I can recover. But I don't know how.
Does anyone understand what happened (and could explain)?
Also, does anyone know how I could boot into the ROM again?
Never mind. I went back to stock. Also, the bootloader became locked again during the process, so I will not try again.

Categories

Resources