P20 lite unlocked bootloop - Huawei P20 Lite Questions & Answers

Hello guys I'm trying to save my bricked P20 Lite but I am running into some issues. I unlocked the bootloader using testpoint but twrp won't flash or boot. Flashing gives me a flash write failure, booting gives me a invalid command error and I can't wipe cache either. I could really use your help.

Advanced07 said:
flash write failure
Click to expand...
Click to collapse
"flash write failure" - it might be due to a locked bootloader or hardware issue, AFAIK.
Try explaining what exactly happened, step by step.

-Alf- said:
"flash write failure" - it might be due to a locked bootloader or hardware issue, AFAIK.
Try explaining what exactly happened, step by step.
Click to expand...
Click to collapse
I unlocked my bricked P20 lite bootloader with the test pin method, then I tried to flash TWRP in fastboot and I got those errors.

Advanced07 said:
I unlocked my bricked P20 lite bootloader with the test pin method, then I tried to flash TWRP in fastboot and I got those errors.
Click to expand...
Click to collapse
Are you sure that bootloader is unlocked? (With unlocked BL you will see that message each time when you reboot: "Your device has been unlocked and can't be trusted").
Have you enabled in Developer menu
"OEM unlock" ?
In fastboot mode run commands :
fastboot oem get-build-number
fastboot oem get-product-model
fastboot getvar vendorcountry
fastboot oem oeminforead-CUSTOM_VERSION
fastboot oem oeminforead-SYSTEM_VERSION
and post the results.

-Alf- said:
Are you sure that bootloader is unlocked? (With unlocked BL you will see that message each time when you reboot: "Your device has been unlocked and can't be trusted").
Have you enabled in Developer menu
"OEM unlock" ?
In fastboot mode run commands :
fastboot oem get-build-number
fastboot oem get-product-model
fastboot getvar vendorcountry
fastboot oem oeminforead-CUSTOM_VERSION
fastboot oem oeminforead-SYSTEM_VERSION
and post the results.
Click to expand...
Click to collapse
1. Yes I do get that message that it's unlocked.
2. My device is bricked so that's impossible to enable. I unlocked it after it started bootlooping.
3. Gonna do those commands and tell the results

(bootloader) :ANE-LX1 9.1.0.372(C432E7R1P7)
(bootloader) ANE-LX1
vendorcountry: hw/eu
(bootloader) :ANE-LX1-CUST 9.1.0.7(C432)
(bootloader) :ANE-LX1 9.1.0.132(C432E5R1P7)

What shows Fastboot screen, at the bottom, Phone unlocked and FRP unlock ?

-Alf- said:
What shows Fastboot screen, at the bottom, Phone unlocked and FRP unlock ?
Click to expand...
Click to collapse
Phone unlocked and FRP unlock.
I unlocked the phone and the frp went away but it still gave me errors. Rebooted and frp lock was back + bootloader unlock gives error

Advanced07 said:
Rebooted and frp lock was back + bootloader unlock gives error
Click to expand...
Click to collapse
as i mentioned a month ago :
-Alf- said:
IMO it might be the HW problem , dead memory or damaged motherboard
Click to expand...
Click to collapse
Probably your emmc memory is fried. Not being able to unlock BL & FRP permanently is a sure sign. But I'm just an amateur and an android fan, maybe I'm wrong.

-Alf- said:
as i mentioned a month ago :
Probably your emmc memory is fried. Not being able to unlock BL & FRP permanently is a sure sign. But I'm just an amateur and an android fan, maybe I'm wrong.
Click to expand...
Click to collapse
It does have water damage could it be because of that? That would be unfortunate.

Advanced07 said:
It does have water damage could it be because of that? That would be unfortunate.
Click to expand...
Click to collapse
- known failure due to water exposure , although the write failures are intermittent.
P.S.: since January are you trying unbrick a water damaged phone?

-Alf- said:
- known failure due to water exposure , although the write failures are intermittent.
P.S.: since January are you trying unbrick a water damaged phone?
Click to expand...
Click to collapse
Nope i already know it was dead (repairs say it was total loss) but when I saw the new unlock method I thought it might be saved. Guess I was wrong but oh well I tried anyways.

Advanced07 said:
Nope i already know it was dead (repairs say it was total loss) but when I saw the new unlock method I thought it might be saved. Guess I was wrong but oh well I tried anyways.
Click to expand...
Click to collapse
Hi i have a query, the phone that you unlocked was it running on emui 9.1? If yes did you use potato nv to unlock? I wanna try it myself

apexashwin said:
Hi i have a query, the phone that you unlocked was it running on emui 9.1? If yes did you use potato nv to unlock? I wanna try it myself
Click to expand...
Click to collapse
It was running on the latest version and yes I did use potato NV

Advanced07 said:
It was running on the latest version and yes I did use potato NV
Click to expand...
Click to collapse
Hello thanks for your quick reply,I finally managed to unlock my p20 lite using potato nv.

Related

Unlock the boot loader

Hello,
every Time i end this command
fastboot -i 0x0fce oem unlock IMEI-Number
i get this answer:
FAILED (remote: Command not allowed)
finished. total time: 0.006s
What do i wrong?
Can someone help me please?
cheers
Why don't you read official guide?
http://developer.sonymobile.com/unlockbootloader/
-i ?
check your USB-driver (if on Windows) and fastboot binary
on Windows 10?
-> http://forum.xda-developers.com/crossdevice-dev/sony/minitut-installing-adb-drivers-sony-t3185585
AndroPlus said:
Why don't you read official guide?
http://developer.sonymobile.com/unlockbootloader/
Click to expand...
Click to collapse
great help -.-
i followed these instructions before, but it didnt work
DHGE said:
-i ?
check your USB-driver (if on Windows) and fastboot binary
on Windows 10?
-> http://forum.xda-developers.com/crossdevice-dev/sony/minitut-installing-adb-drivers-sony-t3185585
Click to expand...
Click to collapse
yes -i .... its a command where sony says u must use it.
i am on windows 7
how can i check fastboot binary?
how can i check fastboot binary?
Click to expand...
Click to collapse
http://developer.sonymobile.com/downloads/drivers/
You really want to unlock the BL?
DHGE said:
http://developer.sonymobile.com/downloads/drivers/
You really want to unlock the BL?
Click to expand...
Click to collapse
yes?
i think u need it for rooting?
I don't even get to fastboot part - every time I reboot with adb reboot bootloader the tablet goes into some mode with a black screen, green led indicator and fastboot devices returning nothing.
At the same time the device is recognized by windows as something S1???? and unknown driver, and I totally failed to find a proper driver for that.
Any help will be appreciated. Btw, Windows 10 here
@XBOHDPuKC
READ this thread!
DHGE said:
@XBOHDPuKC
READ this thread!
Click to expand...
Click to collapse
Which one...
Some bootloaders are unlockable. Mine is the same way. I have to wait for a root method that does not unlock the bootloaders.
Sent from my Nexus 6
Some bootloaders are unlockable
Click to expand...
Click to collapse
= you can unlock them
to be expected with SGP712 and SGP771
Maybe with some provider branded Tablets in Japan they are "not unlockable".
interesting read (!) with a warning:
http://forum.xda-developers.com/xperia-z4/help/rooting-status-uknown-t3160932
DHGE said:
Maybe some Japanese provider branded.
But not SGP712 or SGP771. We are in the tablet forum.
Click to expand...
Click to collapse
my service menu shows bootloader as unlockable
Sent from my SGP771 using Tapatalk

Re-locking bootloader?

I need to do a warranty exchange and my bootloader is unlocked, how can i relock it?
How can i relock it without using a USB?
Cannot relock without USB. You would need to run
fastboot oem lock
Sent from my LG-H901 using Tapatalk
Did you end up successfully locking it? Does it still display the 'unlocked' message on the logo boot screen?
-LBT- said:
Did you end up successfully locking it? Does it still display the 'unlocked' message on the logo boot screen?
Click to expand...
Click to collapse
Necro to say: YES, you can run "fastboot oem lock" to RELOCK the bootloader. "fastboot getvar unlocked" returns "unlocked: no".
Just tried it on my (two hour old) phone here.
Code:
C:\Assorted Programs\LGV10 Toolkit>fastboot getvar unlocked
unlocked: no
finished. total time: 0.007s
C:\Assorted Programs\LGV10 Toolkit>fastboot oem unlock
...
OKAY [ 3.374s]
finished. total time: 3.374s
C:\Assorted Programs\LGV10 Toolkit>fastboot getvar unlocked
unlocked: yes
finished. total time: 0.008s
C:\Assorted Programs\LGV10 Toolkit>fastboot oem lock
...
OKAY [ 1.764s]
finished. total time: 1.765s
C:\Assorted Programs\LGV10 Toolkit>fastboot getvar unlocked
unlocked: no
finished. total time: 0.005s
hi guys
am not able to boot into bootloader to unlock it
I tried
adb reboot bootloader
and
adb reboot boot-loader
it's just making a restart
even I tired the manual way by pwr + - volume but didn't work
my model is LG-H960
any ideas!!
I'm going to be upgrading real soon and I'm stuck between the v10 and note 5. I must have root
Sent from my Nexus 6 using Tapatalk
How did you unlock the bootloader ?
melorib said:
How did you unlock the bootloader ?
Click to expand...
Click to collapse
It will factory reset your device so make sure you are sure that you actually want to do it
reboot to bootloader then use the following:
Code:
fastboot oem lock
Sent from my S7 Edge using XDA Labs
KAsp3rd said:
It will factory reset your device so make sure you are sure that you actually want to do it
reboot to bootloader then use the following:
Code:
fastboot oem lock
Sent from my S7 Edge using XDA Labs
Click to expand...
Click to collapse
Thanks, I will do it when/if I move to marshmallow
melorib said:
Thanks, I will do it when/if I move to marshmallow
Click to expand...
Click to collapse
Hi, Have you been able to Relcok it successfully? Does bootloader unlock still appears on your screen or it is gone?
Waxim1 said:
Hi, Have you been able to Relcok it successfully? Does bootloader unlock still appears on your screen or it is gone?
Click to expand...
Click to collapse
I dont think my phone bootloader was ever unlocked, at least I never noticed such message, but since I rooted in lolipop I get this funny screen everytime I reboot, even after upgrading to marshmallow
KAsp3rd said:
It will factory reset your device so make sure you are sure that you actually want to do it
reboot to bootloader then use the following:
Code:
fastboot oem lock
Sent from my S7 Edge using XDA Labs
Click to expand...
Click to collapse
Thanks, it worked
if we relock the bootloader after doing root and debloat the stock rom, when they factory reset everything the root stay or just be gone after do the relock? are we able to unlock it again if we need TWRP?
other thing, the "cant check software for corruption" message will still appear or be gone when re-locked?

Poco F1 Relock Bootloader

does anyone tried to relock bootloader?
engr.chachi said:
does anyone tried to relock bootloader?
Click to expand...
Click to collapse
flash lock bootloader command from fastboot rom
engr.chachi said:
does anyone tried to relock bootloader?
Click to expand...
Click to collapse
I did. With Mi Flash Tool.
AkkiV said:
I did. With Mi Flash Tool.
Click to expand...
Click to collapse
so relocking bootloader wont brick poco? in some forums that ive read before, relocking bootloader bricks their xiaomi device.
engr.chachi said:
so relocking bootloader wont brick poco? in some forums that ive read before, relocking bootloader bricks their xiaomi device.
Click to expand...
Click to collapse
No. I tried and tested. The bootloader was locked without any issue.
engr.chachi said:
does anyone tried to relock bootloader?
Click to expand...
Click to collapse
yes
with
fastboot oem relock
smokin901 said:
yes
with
fastboot oem relock
Click to expand...
Click to collapse
relock with MIUI 10 Global Beta installed?
@smokin901 @AkkiV
-When unlocking, does the hard reset occur? (factory reset, or reset data)
No, unlike unlocking HTC, Motorola ... unlocking occurs without loss of data but if the data on the phone is encrypted, you must first disable the encryption, otherwise the data will be lost. Then unblock and you can turn on encryption again. Exceptions are Mi6, Mi Note 3, Mi Mix 2, Mi Mix 2s. They have a complete discharge. And it looks like this trend applies to all fresh models.
Click to expand...
Click to collapse
Does this apply after relocking?
It is better to opt for encryption since in Mi devices unlock won't erase my personal data...?
engr.chachi said:
so relocking bootloader wont brick poco? in some forums that ive read before, relocking bootloader bricks their xiaomi device.
Click to expand...
Click to collapse
For example Mi 8 Chinese Ver. if you want to relocking bootloader from Chinese Vers. you have to flash Chinese ROM, if you flash Global ROM in Chinese Ver. device, you may brick your device.

			
				
smokin901 said:
yes
with
fastboot oem relock
Click to expand...
Click to collapse
fastboot oem lock
Warranty
AkkiV said:
I did. With Mi Flash Tool.
Click to expand...
Click to collapse
So does that mean we can claim warranty again after relocking bootloader?
Apparently we can with unlocked bootloader...
studhari98 said:
So does that mean we can claim warranty again after relocking bootloader?
Click to expand...
Click to collapse
You can claim warranty with bootloader unlocked, TWRP installed, rooted and with custom ROM. Water damage will result in no warranty.
studhari98 said:
So does that mean we can claim warranty again after relocking bootloader?
Click to expand...
Click to collapse
AFAIK, warranty for Xiaomi devices remains intact even if you unlock the bootloader.
Obviously you can lick your Bootloader if YOU'RE ON THE STOCK ROM.
You can flash the stock rom with fastboot and select
Clean flash and lock
And your Bootloader will be locked.
im on the latest miui stable, when i try to do fastboot oem lock heres what i get
...
FAILED (command write failed (Too many links))
finished. total time: 0.002s.
iv installed all the drivers any reason to why that may be?
Aybouzaglou said:
im on the latest miui stable, when i try to do fastboot oem lock heres what i get
...
FAILED (command write failed (Too many links))
finished. total time: 0.002s.
iv installed all the drivers any reason to why that may be?
Click to expand...
Click to collapse
Why do you want to lock? It is better to remain unlocked once you have unlocked. In the event of you deciding to flash a custom ROM, you have to unlock again and your data partition will be wiped.
tnsmani said:
Why do you want to lock? It is better to remain unlocked once you have unlocked. In the event of you deciding to flash a custom ROM, you have to unlock again and your data partition will be wiped.
Click to expand...
Click to collapse
I'm selling it and the buyer wants it locked
Aybouzaglou said:
I'm selling it and the buyer wants it locked
Click to expand...
Click to collapse
Dirty flash your stock ROM through the Mi Flash Tool. There is an option to lock the bootloader.

Cannot flash boot new XZ1

Hi, I'm having issues trying to root brand new XZ1 following this guide: https://forum.xda-developers.com/xperia-xz1/how-to/guide-how-to-persistant-root-xperia-xz1-t3718375 .
When I try to fastboot flash G8342 boot img I get "Flashing is not allowed in Lock State" error. I have made sure that OEM bootloader is unlocked in developer options...
I have tried updating drivers, using different boot img no luck. Anyone know what the solution is?
goldenboy23 said:
Hi, I'm having issues trying to root brand new XZ1 following this guide: https://forum.xda-developers.com/xperia-xz1/how-to/guide-how-to-persistant-root-xperia-xz1-t3718375 .
When I try to fastboot flash G8342 boot img I get "Flashing is not allowed in Lock State" error. I have made sure that OEM bootloader is unlocked in developer options...
I have tried updating drivers, using different boot img no luck. Anyone know what the solution is?
Click to expand...
Click to collapse
Sounds like your bootloader is still locked, just because you flipped the OEM switch doesn't mean it's unlocked... Go read over here before you do anything else.. ( https://developer.sony.com/develop/open-devices/get-started/unlock-bootloader/ )
lilbrat said:
Sounds like your bootloader is still locked, just because you flipped the OEM switch doesn't mean it's unlocked... Go read over here before you do anything else..
Click to expand...
Click to collapse
Thanks, that's a good guide. But when I try to run "fastboot -i 0x0fce oem unlock 0x<insert your unlock code>" it always returns that the command's syntax is incorrect. Is this because I don't have 26.0.2 platform tools?
goldenboy23 said:
Thanks, that's a good guide. But when I try to run "fastboot -i 0x0fce oem unlock 0x<insert your unlock code>" it always returns that the command's syntax is incorrect. Is this because I don't have 26.0.2 platform tools?
Click to expand...
Click to collapse
Did you get your unlock code?
lilbrat said:
Did you get your unlock code?
Click to expand...
Click to collapse
Actually I sorted that out, I was entering it with the brackets when I was meant to remove them. But when I enter it now, it doesn't tell me incorrect syntax, but tells me instead "unknown option: -- i" I wonder if this is an issue of using too new version of Platform tools? (I'm using 28.0.1)
Right I figured it out. Just omitted the -i option and it worked. So it looked like "fastboot oem unlock 0x<unlock code>"
no further issues cheers
I get same problem (bootloader unlocked, OEM unlocked .....But show I'm in lock state)
goldenboy23 said:
Hi, I'm having issues trying to root brand new XZ1 following this guide: https://forum.xda-developers.com/xperia-xz1/how-to/guide-how-to-persistant-root-xperia-xz1-t3718375 .
When I try to fastboot flash G8342 boot img I get "Flashing is not allowed in Lock State" error. I have made sure that OEM bootloader is unlocked in developer options...
I have tried updating drivers, using different boot img no luck. Anyone know what the solution is?
Click to expand...
Click to collapse
Google 'unlock xperia bootloader', and check the xz1 compact forum for the DRM backup method for your phone. (I know you said you have a xz1)
You need to unlock the bootloader using a code from sony, and enter it via a fastboot command before twrp can be booted/installed.

How to relock bootloader?

Ive tried all the normal ways fastboot oem lock ect ect
And it it safe for me? Are there any prequisite's?
Thanks
medseven said:
Ive tried all the normal ways fastboot oem lock ect ect
And it it safe for me? Are there any prequisite's?
Thanks
Click to expand...
Click to collapse
The "fastboot oem lock" command does not exist, it is certainly not a normal way
The best method to lock bootloader is searching for the Service rom on https://androidhost.ru/ and doing the dload method. Process will erase all the data from your device !
(Before you do anything, read carefully Software Upgrade Guidline in "ReleaseDoc" . With Service ROM you will get full stock with locked bootloader (warranty will not void any more).)
Hi thanks a lot for your reply, Unfortunately I cannot find such rom on the site for the life of me.
medseven said:
Hi thanks a lot for your reply, Unfortunately I cannot find such rom on the site for the life of me.
Click to expand...
Click to collapse
Hi, which build number do you run? (e.g. ANE-LX1 9.1.0.306 (C432))
bozka1 said:
The "fastboot oem lock" command does not exist, it is certainly not a normal way
The best method to lock bootloader is searching for the Service rom on https://androidhost.ru/ and doing the dload method. Process will erase all the data from your device !
(Before you do anything, read carefully Software Upgrade Guidline in "ReleaseDoc" . With Service ROM you will get full stock with locked bootloader (warranty will not void any more).)
Click to expand...
Click to collapse
bozka1 said:
Hi, which build number do you run? (e.g. ANE-LX1 9.1.0.306 (C432))
Click to expand...
Click to collapse
it is ane-lgprs-ovs 9.1.0.13 it does not show me the c variant.
I see your replying to my other thread aswell, no point having 2 so I will carry on here.
I have downloaded a rom called Huawei P20 Lite ANE-LX1 ANE-L01 hw eu HLRCF Anne-L01 8.0.0.167(C432) Firmware 8.0.0 r1 EMUI8.0 05015ACF [androidhost.ru] so I am going to try this with HuRUUpdater 0.4
medseven said:
it is ane-lgprs-ovs 9.1.0.13 it does not show me the c variant.
Click to expand...
Click to collapse
It can be found in System - About phone . It's very important.
all it gives me in build number is ANE-LGRPS-OVS 9.1.0.132
there really is no brackets or c variant
medseven said:
all it gives me in build number is ANE-LGRPS-OVS 9.1.0.132
there really is no brackets or c variant
Click to expand...
Click to collapse
Strange, maybe you tried to install some firmware manually before, hm?
Connect your phone in fastboot mode to PC , open 'Minimal ADB and fastboot' and use command
fastboot oem get-build-number
Unfortunately not even HuRUUpdater 0.4 is working with this particular rom it reports unknown error so I am at a complete loss really
bozka1 said:
The "fastboot oem lock" command does not exist, it is certainly not a normal way
The best method to lock bootloader is searching for the Service rom on https://androidhost.ru/ and doing the dload method. Process will erase all the data from your device !
(Before you do anything, read carefully Software Upgrade Guidline in "ReleaseDoc" . With Service ROM you will get full stock with locked bootloader (warranty will not void any more).)
Click to expand...
Click to collapse
bozka1 said:
Hi, which build number do you run? (e.g. ANE-LX1 9.1.0.306 (C432))
Click to expand...
Click to collapse
bozka1 said:
Strange, maybe you tried to install some firmware manually before, hm?
Connect your phone in fastboot mode to PC , open 'Minimal ADB and fastboot' and use command
fastboot oem get-build-number
Click to expand...
Click to collapse
even with fastboot its the same, no brackets or c variant!
on another not are the service roms called 'board software' ?
medseven said:
even with fastboot its the same, no brackets or c variant!
Click to expand...
Click to collapse
it should now be clear that you have installed the wrong version of firmware, IMO...
I can't you help anymore, sorry.
ok thanks for your time

Categories

Resources