Extracting media from a locked Huawei P8 Lite with lost passphrase - P8lite Q&A, Help & Troubleshooting

Hello all,
I'm in possession of a Huawei P8 Lite of which the owner lost the passphrase. The question is whether the photos on the device can still be recoved. The bootloader of the device is currently locked. Debug mode is not enabled (nor is my computer authorized).
I was hoping that it would be possible to unlock the bootloader (which supposedly does not trigger a factory reset on this model?) - and then install a custom recovery from where I could backup the pictures. In order to unlock the bootloader, I would need IMEI-1 + IMEI-2 and the S/N. I was able to obtain one of the IMEIs by typing *#06# on the emergency call screen. Is there a way to obtain the other codes somehow (perhaps via fastboot)? Once I obtain the necessary information, my assumption is that I would be able to get an unlock code from Huawei after which I can unlock from fastboot. (Or does OEM unlock still need to be enabled from the developer options in Android?)
Edit: seems like the S/N is shown when connecting in fastboot mode and listing "fastboot devices".
Edit2: seems like obtaining the IMEI through the emergency call functionaltiy combined with the S/N is enough: I modified the "Product ID Generator" tool to include the "ALE-L21" model, and now it generates valid Product IDs that can be used on the Huawei website to obtain an unlock code.
Alternatively, I've noticed that there's an "emergency data backup" mode on this model, which I accidentally entered. I was hoping anyone knows more about this mode (note that this is different from the fastboot & rescue mode). I got booted into this mode because somehow the ext4 partition failed to mount during one of the many times I rebooted the phone. This mode also allowed me ADB access - however, this was a rescue OS which did not actually contain the user data. I would like to attempt to boot into this mode again, gain root access via a kernel exploit, and either read out the unlock code from /dev/block/mmcblk0p** or directly copy the media onto an SD card. Does anyone know how to "trigger" booting into this mode? The kernel code for the p8 lite seems to have a flag "CONFIG_FEATURE_HUAWEI_EMERGENCY_DATA" which enables this feature.
Pointers welcome
Note, I'm not desperate to recover the data - but this has become more of a "challenge" I'd like to solve.
Edit: I was able to unlock the bootloader with details obtained from the device. Unlocking the device did not initiate a wipe. Now it comes down to installing a recovery image and pulling the data

ce3c said:
Hello all,
I'm in possession of a Huawei P8 Lite of which the owner lost the passphrase. The question is whether the photos on the device can still be recoved. The bootloader of the device is currently locked. Debug mode is not enabled (nor is my computer authorized).
I was hoping that it would be possible to unlock the bootloader (which supposedly does not trigger a factory reset on this model?) - and then install a custom recovery from where I could backup the pictures. In order to unlock the bootloader, I would need IMEI-1 + IMEI-2 and the S/N. I was able to obtain one of the IMEIs by typing *#06# on the emergency call screen. Is there a way to obtain the other codes somehow (perhaps via fastboot)? Once I obtain the necessary information, my assumption is that I would be able to get an unlock code from Huawei after which I can unlock from fastboot. (Or does OEM unlock still need to be enabled from the developer options in Android?)
Edit: seems like the S/N is shown when connecting in fastboot mode and listing "fastboot devices".
Edit2: seems like obtaining the IMEI through the emergency call functionaltiy combined with the S/N is enough: I modified the "Product ID Generator" tool to include the "ALE-L21" model, and now it generates valid Product IDs that can be used on the Huawei website to obtain an unlock code.
Alternatively, I've noticed that there's an "emergency data backup" mode on this model, which I accidentally entered. I was hoping anyone knows more about this mode (note that this is different from the fastboot & rescue mode). I got booted into this mode because somehow the ext4 partition failed to mount during one of the many times I rebooted the phone. This mode also allowed me ADB access - however, this was a rescue OS which did not actually contain the user data. I would like to attempt to boot into this mode again, gain root access via a kernel exploit, and either read out the unlock code from /dev/block/mmcblk0p** or directly copy the media onto an SD card. Does anyone know how to "trigger" booting into this mode? The kernel code for the p8 lite seems to have a flag "CONFIG_FEATURE_HUAWEI_EMERGENCY_DATA" which enables this feature.
Pointers welcome
Note, I'm not desperate to recover the data - but this has become more of a "challenge" I'd like to solve.
Edit: I was able to unlock the bootloader with details obtained from the device. Unlocking the device did not initiate a wipe. Now it comes down to installing a recovery image and pulling the data
Click to expand...
Click to collapse
Now simply install twrp, connect to PC and you will be able to see all the files in Explorer

faby GT said:
Now simply install twrp, connect to PC and you will be able to see all the files in Explorer
Click to expand...
Click to collapse
With twrp you can delete lockscreen specific files to remove lock

Audriuskins said:
With twrp you can delete lockscreen specific files to remove lock
Click to expand...
Click to collapse
If you think about this, you can see how easy it is to unlock a phone (also for bad purposes...)

Agreed, I'm surprised that Huawei didn't force a device wipe before allowing OEM unlock. Especially because you can obtain all the details you need from the phone to obtain an unlock code on the Huawei website.
I indeed ended up installing TWRP and remove the password.key file to remove the lock

Related

UNABLE to roll back from N to MM

Hi all.
I made a huge mistake, upgraded to Android 7 from here, but i'm stuck on version B328.
I unlocked my phone when i was on MM, but i've lost my unlocking code. I'm unable to unlock my phone on Nougat, as my product ID is 12323123 (a fake one), which means i get this error when trying to activate it on Huawei's website:
Code:
Please fill in the correct identification code; Please check whether the product model is entered correctly, if it is multiple IMEI / MEID mobile phone, please use other IMEI or MEID retry
My phone is a VNS-L31 Europe, with Dual Sim
Any idea how to recover the unlocking code, or generate a valid product ID?
Thanks.
It is tutorial here, arround!
< -Used @k1ll3r8e 's toolkit, in dual-sim section, downloaded the L21C432B130.zip firmware, unpacked it to SD Card (dload/update.app).
-Had the phone bootloader unlocked, rooted and on stock MM (L31xxxxb201)
-enabled usb debugging and had the pc authorized
-in Dual-Sim section, Upgrade tab I ticked that I understand warnings, selected VNS-L21, clicked upgrade to Dual-Sim, let it run and do its stuff (watch display as su access needs to be granted there). You know it worked as the warning text about unlocked bootloader is not orange but red.
-once it was complete, phone rebooted, it asked for decryption key, so I let it re-format the storage, but the phone didn't boot afterwards
-Used the vol up/down power to get the eRecovery started updating to L21C432B130 from the SD card. It had failed once on me (but got past 5%), so I restarted the phone and tried again and the flashing completed successfuly
-Done another factory reset
-Phone booted, it shows Model Number as HUAWEI VNS-L21 and build number VNS-L21C432B130
-OTA update got downloaded automatically and installing OK>
Use the SEARCH before open a new topic!
For unlocking code contact Huawei! Information you need is on the package of phone (serial number etc.)
Instal B336
It has no bugs and you just have to put the update.app in the dload folder

Damaged Huawei Y3 II with lock bootloader

I have Damaged Huawei Y3 II with lock bootloader (no turn on - only recovery and fastboot). I tried to flash stock rom, but nowhere I could find him. I wrote to Huawei, they wrote back that at this time there is no such anywhere. I tried to unlock the bootloader using fastboot, but do not have a code that enables and I can not get it because the phone does not turn on, previously had no developer options. The only thing I know is the phone's IMEI number, serial number and a detailed model (Lua-L21) and the name of the software Lua-L21C576B105. I tried to generate the id of the product in HuaweiIdGenerator, but there is no such model, and I only need this to unlock the bootloader. Is anyone able to help me? Maybe someone can generate my ID od my Huawei phone? Thanks for the answers.
nowakkarol00 said:
I have Damaged Huawei Y3 II with lock bootloader (no turn on - only recovery and fastboot). I tried to flash stock rom, but nowhere I could find him. I wrote to Huawei, they wrote back that at this time there is no such anywhere. I tried to unlock the bootloader using fastboot, but do not have a code that enables and I can not get it because the phone does not turn on, previously had no developer options. The only thing I know is the phone's IMEI number, serial number and a detailed model (Lua-L21) and the name of the software Lua-L21C576B105. I tried to generate the id of the product in HuaweiIdGenerator, but there is no such model, and I only need this to unlock the bootloader. Is anyone able to help me? Maybe someone can generate my ID od my Huawei phone? Thanks for the answers.
Click to expand...
Click to collapse
your id > 80237370
hi all ;me i'm facing another issue with that ghost of phones with secure boot
some other unlockers bring it to me with only logo and restarting : fastboot ok,recovery also
he said he bricked it with nckdongle after making unlock frp
the phone is secure boot
i had tried unlock frp succefully with chimera
but still in the same health
flashed it with sdcard ok many times
but.... never succeded with flashtool always error 2004
any help please
Hi What kind of phone

HIFI Image Security Verify Error

Hello,
I have a Huawei P8 Lite (ALE-L21) phone with this error: FUNC 8 : HIFI Image, Error 1 Security Verify failed. I think I have tried everything to fix it but had no success, hence why I have decided to create this thread.
As you can figure out, the phone does not turn on, it only shows the huawei logo and shuts down. When pressing VOLUME UP + DOWN and POWER button, it used to show the HIFI image error screen, however when I press the key combination now, it only shows a red screen and turns off. I am able to enter fastboot and rescue mode by holding down the VOLUME DOWN button and plugging in a USB cable to the phone from a computer. Apart from that, I can't do anything else with the phone. (I do not have any software related to the phone installed (HiSuite), no backups, no nothing because the phone actually isn't mine and I have never actually played with it and androids in general.)
There are some similar threads and videos here:
https://forum.xda-developers.com/p8lite/help/stuck-rescue-mode-fastbootrescue-mode-t3648105
https://forum.xda-developers.com/p8lite/help/stuck-rescue-mode-screen-please-help-t3244872
https://forum.xda-developers.com/mate-10/how-to/how-to-huawei-mate-10-pro-standard-t3709535
https://forum.xda-developers.com/honor-5c/help/writing-recovery-failed-remote-command-t3584208
https://forum.xda-developers.com/p8lite/help/huawei-p8-blinks-red-green-green-red-t3546038
https://youtu.be/UYmDBD7t1iM
I have tried a lot of things to make the phone work again but nothing worked.
Recovery mode using HiSuite - "Your device is not supported for system recovery"
I have tried flashing different ROM's using fastboot - when I try flashing it says "FAILED - command not allowed", which I assume is beacuse the bootloader is locked?
installing a ROM using a SD card (Force update or something) - the red screen shows and the phone shuts down
Huawei Update Extractor - updating specific files e.g. boot.img, still not allowed to flash
TWRP - the same error ( not allowed )
Rollback to the previous versions using fastboot - not allowed
At some point I was able to wipe the cache on the phone, not sure if that matters anyhow.
When I am in the fastboot & rescue mode, there is a text in green saying "Phone LOCKED", which I assume means that the bootloader is locked? So, I was trying to get the bootloader unlocked, however found no success. I have also tried emailing Huawei support to get the bootloader code, however as you may know, they did not want to provide the code.
I was able to extract some information from the phone though, using these commands: https://forum.xda-developers.com/showpost.php?p=70483520&postcount=2
To get the bootloader code I have tried:
dc-unlocker - I think you need a working phone and have usb drivers installed for this to work and also I think you have to pay for this service
Kingroot + fastboot - https://forum.xda-developers.com/p8lite/general/alternative-method-unlocking-bootloader-t3799294
Emailing Huawei support for the code - they don't want to provide one
https://forum.xda-developers.com/huawei-p8/help/bootloader-unlock-unlock-code-huawei-t3792987
Does anyone have any suggestions on how to resolve the problem, or is it unsolvable? I would prefer to do it myself and not send the phone to Huawei or whoever as I would like to spend the least money possible. Also the warranty is long gone, since the phone has been bought in 2015.
Cheers
I have same issue, please anybody help
Exact same problem here, any help would be great.

HIFI Image Security Verify Error

Hello,
I have a Huawei P8 Lite (ALE-L21) phone with this error: FUNC 8 : HIFI Image, Error 1 Security Verify failed. I think I have tried everything to fix it but had no success, hence why I have decided to create this thread.
As you can figure out, the phone does not turn on, it only shows the huawei logo and shuts down. When pressing VOLUME UP + DOWN and POWER button, it used to show the HIFI image error screen, however when I press the key combination now, it only shows a red screen and turns off. I am able to enter fastboot and rescue mode by holding down the VOLUME DOWN button and plugging in a USB cable to the phone from a computer. Apart from that, I can't do anything else with the phone. (I do not have any software related to the phone installed (HiSuite), no backups, no nothing because the phone actually isn't mine and I have never actually played with it and androids in general.)
There are some similar threads and videos here:
https://forum.xda-developers.com/p8lite/help/stuck-rescue-mode-fastbootrescue-mode-t3648105
https://forum.xda-developers.com/p8lite/help/stuck-rescue-mode-screen-please-help-t3244872
https://forum.xda-developers.com/mate-10/how-to/how-to-huawei-mate-10-pro-standard-t3709535
https://forum.xda-developers.com/honor-5c/help/writing-recovery-failed-remote-command-t3584208
https://forum.xda-developers.com/p8lite/help/huawei-p8-blinks-red-green-green-red-t3546038
https://youtu.be/UYmDBD7t1iM
I have tried a lot of things to make the phone work again but nothing worked.
Recovery mode using HiSuite - "Your device is not supported for system recovery"
I have tried flashing different ROM's using fastboot - when I try flashing it says "FAILED - command not allowed", which I assume is beacuse the bootloader is locked?
installing a ROM using a SD card (Force update or something) - the red screen shows and the phone shuts down
Huawei Update Extractor - updating specific files e.g. boot.img, still not allowed to flash
TWRP - the same error ( not allowed )
Rollback to the previous versions using fastboot - not allowed
At some point I was able to wipe the cache on the phone, not sure if that matters anyhow.
When I am in the fastboot & rescue mode, there is a text in green saying "Phone LOCKED", which I assume means that the bootloader is locked? So, I was trying to get the bootloader unlocked, however found no success. I have also tried emailing Huawei support to get the bootloader code, however as you may know, they did not want to provide the code.
I was able to extract some information from the phone though, using these commands: https://forum.xda-developers.com/showpost.php?p=70483520&postcount=2
To get the bootloader code I have tried:
dc-unlocker - I think you need a working phone and have usb drivers installed for this to work and also I think you have to pay for this service
Kingroot + fastboot - https://forum.xda-developers.com/p8lite/general/alternative-method-unlocking-bootloader-t3799294
Emailing Huawei support for the code - they don't want to provide one
https://forum.xda-developers.com/huawei-p8/help/bootloader-unlock-unlock-code-huawei-t3792987
Does anyone have any suggestions on how to resolve the problem, or is it unsolvable? I would prefer to do it myself and not send the phone to Huawei or whoever as I would like to spend the least money possible. Also the warranty is long gone, since the phone has been bought in 2015.
Cheers
have you found any solution, i have same problem
Most likely the phone showning this kinds of errors is broken and can not be fixed by simple flashing operations.

Bricked by locking the bootloader?

So, the thing is - in the morning I have locked my device's bootloader, I did not install anything or else, just in minimal adb fastboot typed "fastboot oem lock", because I needed my bl to be locked to run some apps properly. Little did I know, it was a global rom on a chinese phone, and it also locked my device from booting the system, because it landed in state "this miui version cannot be installed on this device". As many people may know, it made my xiaomi able to run only fastboot or recovery menu, it just cannot boot the system. For the last 6 hours straight I have been looking for any resonable solutions, doable on the spot, but all I can see is EDL. Before anyone asks - I have already tried MiFlash (it won't run because device is locked), also minimal adb fastboot gives error "token verify failed", so I know i have to use something to unlock my phones bootloader. Of course, there is another BUT - I did not turn on usb debugging and mi boot unlock in settings, so using Mi Unlock on pc with fastboot turned on gives result in "Please add your account in "MIUI's Settings > Developer optionss > Mi unlock status", which, as I said, I cannot do.
So we come to my question - is there any reasonable way to turn on this "Mi unlock status" and USB Debug without turning on whole system, or any other way to unlock bootloader/turn on it properly?
Greetings from Poland and thank you for your help
Which recovery do you have? Maybe you could try to restore system and data if it is twrp/fox.
If it's stock recovery give the mi assisant a try, never used it myself though, but worth a try.
Also look here https://c.mi.com/thread-2224746-1-0.html
and here https://c.mi.com/thread-2312140-1-0.html

Categories

Resources