How to (Re)Lock Bootloader? - Huawei P9 Lite Questions & Answers

Okay so I want to Lock the bootloader and go back to the normal, root free and bootlader locked rom, because I am having some issues with this one... Ex: Snapchat not wanting to login :/

Weird... Snapchat usually lock the connection when Xposed is installed, not if the bootloader is unlocked. By the way, if you want to relock your bootloader you'll have to flash the stock ROM for your version of the P9 lite. It will erase the custom recovery and relock the bootloader. I've deleted the whole OS before when i did it, so I don't know if it will works without erasing all in the internal storage...

Why to flash the rom again? He can try with "fastboot oem relock *******(unlock code)"

lost3 said:
Why to flash the rom again? He can try with "fastboot oem relock *******(unlock code)"
Click to expand...
Click to collapse
And how do I do that sir?

Acoca said:
And how do I do that sir?
Click to expand...
Click to collapse
connect your phone to pc , open cmd, type "adb reboot-bootloader", when phone reboots to bootloader you type , "fastboot oem relock *******" (stars (*) are the unlock code that you have) and reboot , the unroot prosses can be removed from inside supersu ->settings-> cleanup ->full unroot

lost3 said:
connect your phone to pc , open cmd, type "adb reboot-bootloader", when phone reboots to bootloader you type , "fastboot oem relock *******" (stars (*) are the unlock code that you have) and reboot , the unroot prosses can be removed from inside supersu ->settings-> cleanup ->full unroot
Click to expand...
Click to collapse
Hello, it doesn't work i tried this méthode !
The only methode to relock bootloader is to flash the stock rom

I think the right syntax is fastboot oem lock

simo255 said:
Hello, it doesn't work i tried this méthode !
The only methode to relock bootloader is to flash the stock rom
Click to expand...
Click to collapse
I dont think this works, because only system is flashed if you install stock rom not bootloader. You can only lose root.
---------- Post added at 08:37 PM ---------- Previous post was at 08:36 PM ----------
For Snapchat to make it work. You need to be logged in before rooting, xposed... If not, you cant login even if you unistall xposed, i think just flashing rom again helps.
I was Xperia Z3 user, so i know a lot of things about that.

I flash to stock rom B150 full 1.8 GB update .
But its still unlock ..

To relock your bootloader just use this program: https://forum.xda-developers.com/mate-8/development/tool-srk-tool-huawei-t3369797
Tested by me

after big problem with googleaccount (cant creat new after factory reset...always the "conneting"-screen comes for 1second, than close without any hint) i will go back to normal clean official stock ...
please what must i do?
where find a guide?....
flash stock recovery, how?
download official latest firmware, where?
flash this than, how?
thx

diddsen said:
after big problem with googleaccount (cant creat new after factory reset...always the "conneting"-screen comes for 1second, than close without any hint) i will go back to normal clean official stock ...
please what must i do?
where find a guide?....
flash stock recovery, how?
download official latest firmware, where?
flash this than, how?
thx
Click to expand...
Click to collapse
download this file
http://consumer.huawei.com/lk/support/products/downloads/detail/huawei-p9-lite-lk.htm?id=91476
the guide for flashing is inside the zip.

lost3 said:
connect your phone to pc , open cmd, type "adb reboot-bootloader", when phone reboots to bootloader you type , "fastboot oem relock *******" (stars (*) are the unlock code that you have) and reboot , the unroot prosses can be removed from inside supersu ->settings-> cleanup ->full unroot
Click to expand...
Click to collapse
can we follow the same process for honor 6x

The only way to relock properly bootloader is using 3 button method (dload), but!! If you already updated to Nougat YOU WILL FACE that even downgrading to MM and using 3 button method will not relock bootloader. Then, what to do? EASY:
1) Go back to MM with 3 button method (if you're on nougat). Phone will reset user data once rebooted.
2) Unlock bootloader again in MM
3) Use 3 button method again with the same MM rom or different, and you will see that this time phone will not reset user data.
Voilá, bootloader locked again. Not needed twrp flash, change oeminfo, and use adb commands, which is useless.

Works!!
simo255 said:
Hello, it doesn't work i tried this méthode !
The only methode to relock bootloader is to flash the stock rom
Click to expand...
Click to collapse
Hey, Um, This works for me and Im on Huawei P9

WORKED on P9 lite. Thank you!

sreekantt said:
can we follow the same process for honor 6x
Click to expand...
Click to collapse
Yes, this process is valid for almost all android phones, it not working is primarily a result of the incompetence of the user

simo255 said:
Hello, it doesn't work i tried this méthode !
The only methode to relock bootloader is to flash the stock rom
Click to expand...
Click to collapse
it will for sure!!!

ScanX said:
I think the right syntax is fastboot oem lock
Click to expand...
Click to collapse
no its fastboot oem relock
otherwise --->FAILED (remote: Command not allowed)

@All
Will post here my experience.
Starting from AOSP Oreo 8.1, just downloaded my latest stock rom ( the one i used before install a custom rom )
( VNS-L31C432B381 FULL OTA MF ( three files ))
and used HuRU ( Huawei Update Recovery ) to bring it back to stock ( following correctly the guide ).
Unlocked again bootloader to avoid RED LINES at boot.
Rebooted e-recovery and done a factory reset + wipe cache.
Once booted, after basic settings ( not registered accounts ), downloaded Firmware Finder from other source than GPlay ( because of no account )
and updated via vpn that gave me latest VNS-L31C432B415 firmware and relocked bootloader correctly.
( all infos how to update are inside the app, but you must know what firmware you're planning to install ).
( wrong firmware = missed apps, not working or brick, so pay attention )
I sold my L31 in perfect conditions and with latest firmware to my friend.
Feel free to ask.
Regards

Related

Revert back to locked state after unofficial unlock (Redmi note 3 pro/SD)

Hi All, I have unlocked the bootloader the unnofical way and i am on global 7.1.7.0(LHOMICL) with twrp and root.
I now have recieved the official sms to unlock from xiaomi.
Already i had to open the phone 3 times to get into edl mode. I really dont wont to open the phone agian.
When i try to unlock the tool answers no need to unlock. I think this is because i flashed the adapted emmc_appsboot.mbn and boot.img thru fastboot.
Do i have to change te rom to another version before i try thru edl or fastboot? What is the best procedure to official unlock now because i read a lot of bricks if they try to revert back to original state.
Can some one give me a detailed guide? Thanx in advance.
You need to flash a fully stock edl ROM on top of your current setup.
This will wipe out your hacked bootloader and throw the original (still locked) one back onto your device.
Then just unlock as usual. I did the procedure myself today already as I got my unlock notification today as well.
Ok thnx for the info. I have changed this global rom 7.1.7.0 in great extend and dont wont to lose this setup.
So can I backup my current setup with twrp with the hacked bootloader.
Flash the complete global 7.1.7.0 in edl mode. Unlock with the unlock tool.
Root the rom and install twrp.
After this can i restore the backup with the hacked bootloader with twrp?
I dont know how the unlock tool of xiaomi works, so i could leave the official bootloader in place when i do the restore with twrp and only replace system and data partition or can i flash all the parts back with twrp to keep the unlock?
Wich procedure will keep the official unlock in place or will this unlock stick always?
davegrond said:
Hi All, I have unlocked the bootloader the unnofical way and i am on global 7.1.7.0(LHOMICL) with twrp and root.
I now have recieved the official sms to unlock from xiaomi.
Already i had to open the phone 3 times to get into edl mode. I really dont wont to open the phone agian.
When i try to unlock the tool answers no need to unlock. I think this is because i flashed the adapted emmc_appsboot.mbn and boot.img thru fastboot.
Do i have to change te rom to another version before i try thru edl or fastboot? What is the best procedure to official unlock now because i read a lot of bricks if they try to revert back to original state.
Can some one give me a detailed guide? Thanx in advance.
Click to expand...
Click to collapse
Plz could you help me and tell me where you got the hacked unlocked bootloader cause I bricked my redmi note 3 pro snap dragon and only only fastboot is available and when I try to flash it I get the message device locked boot locked can not flash and plz hobe me a detaild link and downloads and how to flash also I did not get the unlock code and how to get the locked one back z original plz help best regards
Plz indeed to know how to hack the bootloader cause I bricked my phone and I need to make it life
MrColdbird said:
You need to flash a fully stock edl ROM on top of your current setup.
This will wipe out your hacked bootloader and throw the original (still locked) one back onto your device.
Then just unlock as usual. I did the procedure myself today already as I got my unlock notification today as well.
Click to expand...
Click to collapse
please give a detailed tutorial how to do it. I am now in AOSP with unofficially unlocked bootloader. How to relock it again to unlock officially?
Relock Bootloader
I see many asking how to Relock Bootloader, especially those who had unlocked unofficially.
The steps to be followed are following:
(1) Turn on USB debugging for your phone;
Go to Settings -- About Phone --> Touch 7 times on "MIUI version" to Enable Developer Options.
Now go to Settings - Additional Settings - Developer Options --> USB debugging.
Enable USB Debugging and Connect to PC.
(2) Download Fastboot ROM (file extension .tgz or .tar) from
Code:
http://en.miui.com/a-234.html
(3) Boot into EDL
adb devices (to check it's connected)
adb reboot edl
(4) Use MI Flash Tool to Flash the Fastboot ROM
PS: It is assumed that person knows how to get drivers installed for phone if not already, use ADB command as well as know MI Flash Tool basics.
@BRoy_98 @ioosis @davegrond : hope this helps.
@MrColdbird Thanks for the tip
BRoy_98 said:
please give a detailed tutorial how to do it. I am now in AOSP with unofficially unlocked bootloader. How to relock it again to unlock officially?
Click to expand...
Click to collapse
Thx
Sent from my Redmi Note 3 using XDA-Developers mobile app
Unable to relock
Someone please let me know how to relock the bootloader.
I tried flashing the global rom using flash tool but still it says unlocked when i check it from fastboot mode.
anwar08 said:
Someone please let me know how to relock the bootloader.
I tried flashing the global rom using flash tool but still it says unlocked when i check it from fastboot mode.
Click to expand...
Click to collapse
On MiFlash, select folder of Fastboot ROM, then click on Advanced, and in fastboot script select flash_all_lock.bat. After it, close MiFlash then open it again and check in advanced if flash_all_lock.bat comes selected. If yes, close advanced box and flash ROM. Don't forget to close and open MiFlash after choose flash_all_lock.bat script, it's important step. And you can do it in Fastboot mode, don't need to go to EDL mode to flash the ROM.
andersonaragao said:
On MiFlash, select folder of Fastboot ROM, then click on Advanced, and in fastboot script select flash_all_lock.bat. After it, close MiFlash then open it again and check in advanced if flash_all_lock.bat comes selected. If yes, close advanced box and flash ROM. Don't forget to close and open MiFlash after choose flash_all_lock.bat script, it's important step. And you can do it in Fastboot mode, don't need to go to EDL mode to flash the ROM.
View attachment 3854529 View attachment 3854530 View attachment 3854531 View attachment 3854532
Click to expand...
Click to collapse
Am using the 32 bit beta version and there is no Advanced option
anwar08 said:
Am using the 32 bit beta version and there is no Advanced option
Click to expand...
Click to collapse
see if it's in Configuration.
warranty
does rooting redmi note 3 void warranty bcuz it has a locked bootloader and cannot root without unlocking it ????
and can we lock bootloader again for warranty claims ????
plzz help ???
ty.
Why can't we directly update the device..
Like after flashing miui ROM (7.1)then installing (8.1)....will the bootloader get locked....
?....somebody have any idea place help out
Q. Can the device be rooted without voiding warranty?
A. Yes, by unlocking the BL unofficially.
Q. Once rooted and on MiUI, can I update using Updater?
A. No! You'll lock your BL and end up in a bootloop. Instead, use the updater to download the zip file, reboot into recovery (TWRP or ZCX) flash the zip first and then the universal boot.img patched/lazy flasher and reboot to system.
I followed the method mentioned in the replies to relock the bootloader, i.e, flashed the fastboot rom in edl mode
But for some strange reason, when I entered the fastboot mode and checked whether the bootloader is locked or not by "fastboot oem device-info", it said "Device Unlocked: True"
The main problem came when I booted into the ROM; It broke all kinds of wireless connections. The wifi malfunctioned, the phone wouldn't read the SIM cards etc.
Is there a solution? Please help
Thanks

i flashed the wrong rom on my VNS-L21(now model no. is generic a-15)

hey
i flashed emui 5 on my VNS-L21
i did a mistake though
i flashed VNS-L31 firmware on my VNS-L21
now the phone model is changed to generic-a15
now i cant flash any roms using dload to this device..
i flashed twrp using fastboot but i cant boot into twrp....the bootloader unlocked screen says 'phone is booting" forever when i try to get into twrp
what do i do
please help
the rom is working fine on my VNS-L21 except for the camera...i need it a lot
please help me
edit:1
i tried to revert back to mm
it still says firmware incompatible
now my bootloader got locked...in the boot i got a msg that data partition is damaged and i need to format it....so i formatted it
now my phone is only booting to erecovery and bootloader
i cant flash twrp or revolution recovery because the bootloader is locked
i cant unlock bootloader now because i cant boot up my phone
Guys help us about the camera. I am in the same exact situation. @BadWolfYe and your product_V3 doesnt fix the camera for me, VNS-L21.
And for the recovery - http://forum.xda-developers.com/hua...ecovery-twrp-3-0-2-android-nougat-03-t3511937 - use adb flash it.
dancress said:
You'll have to go the hard route. You'll find all the required files in the ROM section.
Download any Nougat.zip (329 worked for me, 336 did not). Unzip. You'll get the update.app.
Download the second file with all the missing apps. Do not unzip. Maybe rename to something shorter like data.zip.
Download Revolution Recovery for Nougat. Unzip. You get the recovery.img. RENAME to something like revolution.img.
Open update.app in Huawei Update Extracor. Extract recovery.img, boot.img and system.img to wherever your fastboot.exe is. It's practical to put it all in one directory so you don't have to type long paths.
Now, careful...
Go into Fastboot. If Vol- + Power doesn't work, let it boot into eRecovery, press Vol- and tap Reboot. There you are.
Open a command window in the dir with fastboot.exe and the .img files (right click, Open Command Window)
fastboot flash boot boot.img
.... OK
fastboot flash system system.img
.... sparse 1/5 or something, this takes a bit of time.
fastboot flash revolution.img
.... OK
Now DO NOT REBOOT into System. Hold Vol+ + Power while still in Fastboot. It'll boot into Revolution eventually. Tap Advanced, ADB Sideload. Swipe.
Back in your command window, type:
adb sideload second_file.zip
... working... this'll take a bit. There might be an error message like 'could not mount /data'. Doesn't matter at this point.
When done, type
fastboot flash recovery recovery.img (this is the stock recovery you extracted from update.app)
... OK
Reboot to recovery from Revolution.
Do factory reset. Note: If you don't do this last step, there will be a bootloop.
Reboot. The system should now boot up normally. At least it did for me... good luck.
Click to expand...
Click to collapse
But maybe you installes twrp for mm
Laurisss said:
Guys help us about the camera. I am in the same exact situation. @BadWolfYe and your product_V3 doesnt fix the camera for me, VNS-L21.
And for the recovery - http://forum.xda-developers.com/hua...ecovery-twrp-3-0-2-android-nougat-03-t3511937 - use adb flash it.
Click to expand...
Click to collapse
I did this too. Only way to fix it is to downgrade to MM (instructions are in the N install thread). I then unlocked the bootloader, booted to fastboot, flashed Meticulus recovery. Once you're here, the important thing is to flash the update.zip and appropriate .Zip file for your device. Took me a while to find it but Meticulus has a post in Spanish with all of them for each type of P9 lite - there's one for the VNS-L23 there. Flash the update.zip and then device zip (in that order) and reboot. It'll work.
This phone is harder to flash Roms than others I've had in the past... It's important to do things in the right order.
Here's the link I was referring to: http://www.htcmania.com/showthread.php?t=1265029
ALAN JO K said:
hey
i flashed emui 5 on my VNS-L21
i did a mistake though
i flashed VNS-L31 firmware on my VNS-L21
now the phone model is changed to generic-a15
now i cant flash any roms using dload to this device..
i flashed twrp using fastboot but i cant boot into twrp....the bootloader unlocked screen says 'phone is booting" forever when i try to get into twrp
what do i do
please help
the rom is working fine on my VNS-L21 except for the camera...i need it a lot
please help me
Click to expand...
Click to collapse
Like me today.. I´ve installed Emui 5 on my VNS-L21, but after installation bootloader seems to be locked and TWRP won´t load.. What can I do now? I´ve tried flash some recovery, or MM but with locked bootloader it´s hard Is here somebody who know how to repair it ??
DiXiDeR said:
Like me today.. I´ve installed Emui 5 on my VNS-L21, but after installation bootloader seems to be locked and TWRP won´t load.. What can I do now? I´ve tried flash some recovery, or MM but with locked bootloader it´s hard Is here somebody who know how to repair it ??
Click to expand...
Click to collapse
First thing when you want to do something (TWRP, root, custom ROM etc.) with your phone is: UNLOCK BOOTLOADER!
Without unlocked bootloader is not hard to do, you not even try, because it is impossible...
gtdaniel said:
First thing when you want to do something (TWRP, root, custom ROM etc.) with your phone is: UNLOCK BOOTLOADER!
Without unlocked bootloader is not hard to do, you not even try, because it is impossible...
Click to expand...
Click to collapse
You didn't understand me.. I've unlocked it. Installed TWRP, EMUI 5 and after reboot unlocked bootloader gone.. How is this possible ?
DiXiDeR said:
You didn't understand me.. I've unlocked it. Installed TWRP, EMUI 5 and after reboot unlocked bootloader gone.. How is this possible ?
Click to expand...
Click to collapse
Simply! At any install of stock firmware you loose: unlocked bootloader, twrp and root.
gtdaniel said:
Simply! At any install of stock firmware you loose: unlocked bootloader, twrp and root.
Click to expand...
Click to collapse
Oh okey. So.. Maybe this will be retarded question, but how can I unlock bootloader now, when my phone model is generic_a15? When I'm trying to put it on Huawei website it is wrong..
DiXiDeR said:
Oh okey. So.. Maybe this will be retarded question, but how can I unlock bootloader now, when my phone model is generic_a15? When I'm trying to put it on Huawei website it is wrong..
Click to expand...
Click to collapse
With same procedure that you unlocked before.
You must have the unlock code.
gtdaniel said:
With same procedure that you unlocked before.
You must have the unlock code.
Click to expand...
Click to collapse
Okey, second retarded question.. I didn't save my first code.. is here some way to reach it again ? Or can I somehow use generic_a15 phone model?
If you do not have the initial unlock code you have a big problem...
gtdaniel said:
If you do not have the initial unlock code you are a big problem...
Click to expand...
Click to collapse
Oh god, I'm so retarded, but thank you for your patience
Now, when you dial code for Device ID you will get a differend ID and when you make procedure for another unlock code on Huawei site you get ERROR...
gtdaniel said:
Now, when you dial code for Device ID you will get a differend ID and when you make procedure for another unlock code on Huawei site you get ERROR...
Click to expand...
Click to collapse
Yes..
diorenzo said:
But maybe you installes twrp for mm
Click to expand...
Click to collapse
i tried to revert back to mm
it still says firmware incompatible
now my bootloader got locked...in the boot i got a msg that data partition is damaged and i need to format it....so i formatted it
now my phone is only booting to erecovery and bootloader
i cant flash twrp or revolution recovery because the bootloader is locked
i cant unlock bootloader now because i cant boot up my phone
ALAN JO K said:
i tried to revert back to mm
it still says firmware incompatible
now my bootloader got locked...in the boot i got a msg that data partition is damaged and i need to format it....so i formatted it
now my phone is only booting to erecovery and bootloader
i cant flash twrp or revolution recovery because the bootloader is locked
i cant unlock bootloader now because i cant boot up my phone
Click to expand...
Click to collapse
For unlock bootloader you only need you phone to boot into bootloader...
You say "now my phone is only booting to erecovery and bootloader"
So?
gtdaniel said:
For unlock bootloader you only need you phone to boot into bootloader...
You say "now my phone is only booting to erecovery and bootloader"
So?
Click to expand...
Click to collapse
how do i get the ids required for unlocking bootloader if i cant look it up in settings
ALAN JO K said:
how do i get the ids required for unlocking bootloader if i cant look it up in settings
Click to expand...
Click to collapse
You have to saved anywhere first time you have'it!
That is the first rule!
Once you debranded your phone that Device ID is change,
so even your phone boot ok and you obtain a Device ID is not the same
with the one saved in the Huawei databases...
So, procedure to obtain the bootloader unlock code is ended in error...

Can't unlock bootloader, can't finish OS setup

So I upgraded to Nougat on my P9 Lite, unlocked boot loader, used twrp, flashed roms and everything went smooth. Saw a more up-to-date version with no bugs, so I had to downgrade to MM first.
I followed a guide, but I messed up somewhere and ended up having my bootloader locked, and I can't access the OS to enable developer options and oem unlock from settings. The reason why I can't access the OS is that I am stuck in the setup. I am stuck at the part where I have to sign in to my google account. It doesn't show a keyboard, only a microphone, and I can't use that for my password (it won't let me).
Any ideas?
TL;DR messed up during downgrading from Nougat to MM, now TWLR is gone, bootloader is locked and my main issue is that when I get to the google account sign in part during OS setup, there is no keyboard (I can only use dictation) so I can't sign in... So I'm stuck
Also, can I unlock bootloader without access to OS, without being able to navigate to settings, enable developer options and then oem unlock?
1. Stuck in OS setup? Signing in to Google? Hey, it's not obligatory, can't you just skip it?
2. Flashing ROMS locked your bootloader, it's normal, but I'm sure it didn't change the "oem unlock" setting you had surely enabled before. Go to fastboot mode and check Bootloader and FRP status on the bottom of the screen. If FRP is unlocked, you will be able to unlock bootloader again.
3. If you have your TWRP gone (flashed by stock ROM), flash the recovery partition manually - fastboot flash recovery TWRP.img (download from Meticulus Project site).
Jagiel88 said:
1. Stuck in OS setup? Signing in to Google? Hey, it's not obligatory, can't you just skip it?
2. Flashing ROMS locked your bootloader, it's normal, but I'm sure it didn't change the "oem unlock" setting you had surely enabled before. Go to fastboot mode and check Bootloader and FRP status on the bottom of the screen. If FRP is unlocked, you will be able to unlock bootloader again.
3. If you have your TWRP gone (flashed by stock ROM), flash the recovery partition manually - fastboot flash recovery TWRP.img (download from Meticulus Project site).
Click to expand...
Click to collapse
It is obligatory, I couldn't skip it. I tried to use other methods of signing in, but then it asked me to reset password at the end.
Both Phone and FRP are locked
I think I have missed this, but I can't do it via fastboot because I keep getting "Command not allowed" whenever I try to unlock bootloader or do anything via fast boot.
Also, thank you so much for your time and input. It is much appreciated.
That's weird, I flashed my phone several times with different ROMS (not Nougat) and this setting (oem unlock / FRP unlocked) stayed enabled. Don't know where it sits then and how to change it without getting inside OS. But - what about TWRP? Oh right, you won't be able to flash it without unlocked bootloader... Oh, crap. I would try SRK Tool for Huawei to play with bootloader, it uses fastboot so shouldn't help, but maybe, just maybe? Maybe try flashing whole ROMs through dload folder on SD? Stock 120, 161, Nougat, I would try these. I hope there is some way to unlock FRP, probably it's possible in DC-unlocker (it's a paid software).
Jagiel88 said:
That's weird, I flashed my phone several times with different ROMS (not Nougat) and this setting (oem unlock / FRP unlocked) stayed enabled. Don't know where it sits then and how to change it without getting inside OS. But - what about TWRP? Oh right, you won't be able to flash it without unlocked bootloader... Oh, crap. I would try SRK Tool for Huawei to play with bootloader, it uses fastboot so shouldn't help, but maybe, just maybe? Maybe try flashing whole ROMs through dload folder on SD? Stock 120, 161, Nougat, I would try these. I hope there is some way to unlock FRP, probably it's possible in DC-unlocker (it's a paid software).
Click to expand...
Click to collapse
Yes, it's very weird. I haven't done the process a lot. But I've flashed a couple of phones I had before, went smooth. Nothing major like this happened before.
I will consider the SRK Tool and I did not know about the DC-Unlocker tool, thank you for telling me about it.
Flashing whole roms through dload folder only works with Nougat for some reason, and I keep getting stuck in the signing in problem because of no keyboard, someone told me that's incomplete software, I'm hoping that's the case, any ideas where can I get it from?
Again thank you Jagiel88 for your time and advice xD
No problem, unfortunately I haven't tried Nougat yet, so search for help on down/upgrade Nougat beta <-> Marshmallow threads .
youssefSamir said:
Yes, it's very weird. I haven't done the process a lot. But I've flashed a couple of phones I had before, went smooth. Nothing major like this happened before.
I will consider the SRK Tool and I did not know about the DC-Unlocker tool, thank you for telling me about it.
Flashing whole roms through dload folder only works with Nougat for some reason, and I keep getting stuck in the signing in problem because of no keyboard, someone told me that's incomplete software, I'm hoping that's the case, any ideas where can I get it from?
Again thank you Jagiel88 for your time and advice xD
Click to expand...
Click to collapse
Hi, have you found how to solve this? I can't access recovery because I messed up, cant flash recovery because bootloader locked. Cant unlock bootloader because says command not allowed... I did 3 times so the code is working... Any clue?
islandman75 said:
Hi, have you found how to solve this? I can't access recovery because I messed up, cant flash recovery because bootloader locked. Cant unlock bootloader because says command not allowed... I did 3 times so the code is working... Any clue?
Click to expand...
Click to collapse
There is 1 thing to unlock in settings . U have OEM lock
youssefSamir said:
Yes, it's very weird. I haven't done the process a lot. But I've flashed a couple of phones I had before, went smooth. Nothing major like this happened before.
I will consider the SRK Tool and I did not know about the DC-Unlocker tool, thank you for telling me about it.
Flashing whole roms through dload folder only works with Nougat for some reason, and I keep getting stuck in the signing in problem because of no keyboard, someone told me that's incomplete software, I'm hoping that's the case, any ideas where can I get it from?
Again thank you Jagiel88 for your time and advice xD
Click to expand...
Click to collapse
Hi, have you found how to solve this? I can't access recovery because I messed up, cant flash recovery because bootloader locked. Cant unlock bootloader because says command not allowed... I did 3 times so the code is working... Any clue?
---------- Post added at 04:19 PM ---------- Previous post was at 04:16 PM ----------
ScaleneVirus288 said:
There is 1 thing to unlock in settings . U have OEM lock
Click to expand...
Click to collapse
Can't access to any OS. I definetly know i had OEM unlocked, then after unlocking via fastboot, I wasn't able anymore to access the system.
islandman75 said:
Hi, have you found how to solve this? I can't access recovery because I messed up, cant flash recovery because bootloader locked. Cant unlock bootloader because says command not allowed... I did 3 times so the code is working... Any clue?
---------- Post added at 04:19 PM ---------- Previous post was at 04:16 PM ----------
Can't access to any OS. I definetly know i had OEM unlocked, then after unlocking via fastboot, I wasn't able anymore to access the system.
Click to expand...
Click to collapse
Unlock bootloader, after that you able to flash rom.
You use this command?
fastboot oem unlock YOUR_OEM_CODE
If you tip:
fastboot devices
What's you see?

P9 Lite Bricked. Help me!!!

Hello,
I was always a Samsung fanboy, but than I decided to buy the P9 lite (VNS-L21 single sim)
I wanted to flash the android 7 update for my phone, but I was such a noob in Huawei, that I didn't understand a word. But i tried to do what the instructions said. Now my phone is bricked. I can go to recovery, erecovery (which can't download anyithing) and download mode. I heard of this fastboot stuff as well, but I don't know how to do this. I tried to flash as many roms as I could with dload and it didn't work, after 5%, it said it failed... Now I don't know what to do. I think somebody (expert) should make a clear tutorial for noobs. Oh and I almost forgot that i don't have root, custom recovery, and things like that. I just bought the phone, I didn't want to make big changes, just new android. Is it possible that after this Huawei would fix my phone, if I couldn't? Or warranty is void? And sadly I don't know more of my phone because I'm not ina rom, and the phone and papers don't say more.
If you could help me, I would appreciate it:
Raul
Turn off your phone, connect to the pc while holding the volume down button, you will end up in fastboot mode.
I assume you have ADB and drivers installed (if not, install ADB and device drivers).
Optional: unlock your bootloader if it's locked.
Download the latest offical rom zip for your phone version (the marshmallow one), extract the update.app.
Use Huawei extractor to ectract the following files (google is your friend in this one, but its not difficult):
boot.img
recovery.img
cust.img
system.img
After you've done this, connect your phone to the PC in fastboot mode .
Open a command promt from the folder where the extracted files are (shift+right click, Open Command window here), enter the following commands
fastboot devices (you will see the list of attached devices with a lot of random number + fastboot)
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash cust cust.img
fastboot flash system system.img
fastboot reboot
After all this, you should be good to go, just be sure you are using the correct rom for you version.
Or you can just serach on the forum and find this.
https://forum.xda-developers.com/huawei-p9lite/help/unbricking-vns-l21-vns-l31-tutorial-t3583400
(Sorry for my english.)
Fastboot says that it has failed command not alllowed, after I want to installl the files. And I couldn't unlock bootloader without phones information...
rr999999 said:
I would happily unlock my bootloader, but I don't know anyithing about my phone (except model...) without the os...
Click to expand...
Click to collapse
Post here IMEI and SN from the box of phone and i can try get your bootloader unlock code...
If I would unlock it, would fastboot work? Because fastboot pc app recognizes my phone, but my phone says in fastboot mode, that I should connect itself to pc and open hisuite. WTF?
rr999999 said:
If I would unlock it, would fastboot work? Because fastboot pc app recognizes my phone, but my phone says in fastboot mode, that I should connect itself to pc and open hisuite. WTF?
Click to expand...
Click to collapse
Until you have bootloader unlock you can not run any fastboot flash command...
rr999999 said:
If I would unlock it, would fastboot work? Because fastboot pc app recognizes my phone, but my phone says in fastboot mode, that I should connect itself to pc and open hisuite. WTF?
Click to expand...
Click to collapse
Heyho,
normally yes, after bootloader unlock u are able to flash via fastboot. But...
I tried to flash as many roms as I could with dload and it didn't work, after 5%, it said it failed...
Click to expand...
Click to collapse
What is the error? - Have u disconnected the device from the PC during the update?
If not, try to update again and just disconnect the device from any USB connection...
Regards,
Sebastian
k1ll3r8e said:
Heyho,
normally yes, after bootloader unlock u are able to flash via fastboot. But...
What is the error? - Have u disconnected the device from the PC during the update?
If not, try to update again and just disconnect the device from any USB connection...
Regards,
Sebastian
Click to expand...
Click to collapse
Hello. I disconnected it from everything (for example USB)When I tried to install it said something like incompatibility version, but it couldn't be because I tried many roms for my phone. And I tried some dual sim roms as well because, I thought that it might work... But then I will do that unlock if it will do good. Thanks for the help Without bootloader I can't flash from dload as well?
rr999999 said:
Hello. I disconnected it from everything (for example USB)When I tried to install it said something like incompatibility version, but it couldn't be because I tried many roms for my phone. And I tried some dual sim roms as well because, I thought that it might work... But then I will do that unlock if it will do good. Thanks for the help Without bootloader I can't flash from dload as well?
Click to expand...
Click to collapse
Heyho,
the dload method works always without unlock bootloader. But, u can't flash for example an B161 over an B3xx (what nougat is) if the update u installed modified already the oeminfo u are not able to flash any rom below B3xx (nougat) via dload.
-
In that case u might use the official rollback package (never tested it myself) or, u unlock ur bootloader, flash a TWRP recovery matching to ur current FW. Flash from there a oeminfo + custom.bin (lower than B3xx) and flash the FW matching to the new oeminfo via dload and stock recovery.
Regards,
Sebastian
If you have custom recovery, wipe everything. Data, system, boot. extract update app (which is your stock rom) with huawei update extractor. go to custom recovery, flash stock boot IMG and stock recovery IMG. Power off, use three button dload method, reboot, when booting press vol up for three second, now you are in e-recovery. Press shutdown. Press and hold power and vol up for stock recovery. Do factory reset. If need do the factory reset 2/3 times. Now you are with locked bootloader.
Sent from my NEM-L21 using Tapatalk[/QUOTE]
Sent from my NEM-L21 using Tapatalk

[X01BD] Can't install TWRP after unlocking with Official UnlockTool

Hi guys,
I am using Zenfone Max Pro M2. I wanted to install a custom rom and I tried to unlock bootloader but I unlocked it through official unlocktool. Now I can't flash anything or send any command through fastboot, whenever I do then it restarts the device.
When I try to keep the fastboot command running and then connect phone - it throws errors like "Fail - Too many links", "Fail - Write to device fail (No such file or directory)" or "Fail- Unknown command".
I tried unlocking bootloader with the unofficial way provided in https://forum.xda-developers.com/max-pro-m2/how-to/unlook-bootloader-root-asus-zenfone-max-t3885457
but it isn't working either, any fastboot command is rebooting the device although bootloader is unlocked.
How do I fix this?
EDIT: Things I have tried:
- Changing USB Cable and Port
- Reinstalling ADB and device driver
- Reunlocking bootloader from UnlockTool (don't know why I did that again)
- Unofficial way to unlock bootloader
None of it helped.
Thanks
Mr147 said:
Hi guys,
I am using Zenfone Max Pro M2. I wanted to install a custom rom and I tried to unlock bootloader but I unlocked it through official unlocktool. Now I can't flash anything or send any command through fastboot, whenever I do then it restarts the device.
When I try to keep the fastboot command running and then connect phone - it throws errors like "Fail - Too many links", "Fail - Write to device fail (No such file or directory)" or "Fail- Unknown command".
I tried unlocking bootloader with the unofficial way provided in https://forum.xda-developers.com/max-pro-m2/how-to/unlook-bootloader-root-asus-zenfone-max-t3885457
but it isn't working either, any fastboot command is rebooting the device although bootloader is unlocked.
How do I fix this?
EDIT: Things I have tried:
- Changing USB Cable and Port
- Reinstalling ADB and device driver
- Reunlocking bootloader from UnlockTool (don't know why I did that again)
- Unofficial way to unlock bootloader
None of it helped.
Thanks
Click to expand...
Click to collapse
Guys, no one to help or assist?
Mr147 said:
Guys, no one to help or assist?
Click to expand...
Click to collapse
Did u try running the command at the adb folder?shift+right click in adb folder?
Is Usb debugging enabled in developer options?
X10MINISTER said:
Did u try running the command at the adb folder?shift+right click in adb folder?
Is Usb debugging enabled in developer options?
Click to expand...
Click to collapse
Yes, everything done.
Still no success.
Mr147 said:
Yes, everything done.
Still no success.
Click to expand...
Click to collapse
Did ur unlocking bootloader succeed?
Did you try relocking the bootloader ?
1) Try relocking the bootloader using the methods described here :
https://forum.xda-developers.com/max-pro-m2/how-to/unroot-relock-bootloader-max-pro-m2-t3885870
See if it successfully relocks...
If it does, then next time unlock using the unofficial method only...
2) If not then maybe try contacting ASUS... Tweet them on Twitter... Companies usually respond very fast on Twitter, since their reputations are at stake...
3) All else fails then try rooting it using something like Kingroot... Once rooted, flash TWRP Recovery using Flashify... then flash any custom ROM u want...
I hope your problem gets solved... Next time be a little more cautious when taking such a risky step... See what are all the options you have before jumping into something...
X10MINISTER said:
Did ur unlocking bootloader succeed?
Click to expand...
Click to collapse
I guess it did because when I reboot it I get that bootloader unlocked splash screen.
Tyakrish said:
Did you try relocking the bootloader ?
1) Try relocking the bootloader using the methods described here :
https://forum.xda-developers.com/max-pro-m2/how-to/unroot-relock-bootloader-max-pro-m2-t3885870
See if it successfully relocks...
If it does, then next time unlock using the unofficial method only...
2) If not then maybe try contacting ASUS... Tweet them on Twitter... Companies usually respond very fast on Twitter, since their reputations are at stake...
3) All else fails then try rooting it using something like Kingroot... Once rooted, flash TWRP Recovery using Flashify... then flash any custom ROM u want...
I hope your problem gets solved... Next time be a little more cautious when taking such a risky step... See what are all the options you have before jumping into something...
Click to expand...
Click to collapse
Tried everything except 2, none worked. I'll drop them a query over twitter like you say, let's see what their reply is.
I am on stock recovery, non working bootloader but unlocked, and stock rom unrooted.
I think Pie update may give some insight on fixing this.
Mr147 said:
I guess it did because when I reboot it I get that bootloader unlocked splash screen.
Click to expand...
Click to collapse
I see.. did u've try using another laptop/pc? Sometimes antivirus blocking the tools that are needed for unlocking bootloader..
X10MINISTER said:
I see.. did u've try using another laptop/pc? Sometimes antivirus blocking the tools that are needed for unlocking bootloader..
Click to expand...
Click to collapse
I unlocked using official bootloader apk provided by asus. Now I have encrypted phone which isn't decrypting and can't flash twrp.
Mr147 said:
I unlocked using official bootloader apk provided by asus. Now I have encrypted phone which isn't decrypting and can't flash twrp.
Click to expand...
Click to collapse
Hey you said phone is encrypted ? Maybe this might work :
1) Download and install the latest Magisk Manager apk
2) Extract boot.img from stock firmware
3) Put boot.img in your internal storage and open magisk app.
4) Click on install and select patch boot Image.
5) Select stock boot.img file placed in phone memory.
6) Magisk will automatically patch the stock Image and this patched image can be installed using fastboot using this command:
fastboot flash boot patched_boot.img
This will root your phone. After that you can install Flashify to flash TWRP or PBRP
Note:
- This method is highly experimental... There are 50% chances of bootloop. I would not have recommended this method, but situation seems to demand it.
- Your data will most probably be formatted, so keep a backup.
- If it falls in a bootloop, then you need to flash original stock firmware to restore your phone.
Credits: @#ArtFuL
Who came up with this method, but removed it from the main guide, because of being experimental... (I guess)
Mr147 said:
I unlocked using official bootloader apk provided by asus. Now I have encrypted phone which isn't decrypting and can't flash twrp.
Click to expand...
Click to collapse
After going through the errors, I strongly believe that the problem is with your drivers. If reinstalling doesn't works, try a different pc. If your pc detects your device on MTP or your are able to perform adb operations without any hassle, it's not the problem with your phone.
You can decrypt the device only after flashing custom recovery.
---------- Post added at 09:35 PM ---------- Previous post was at 09:31 PM ----------
Tyakrish said:
Hey you said phone is encrypted ? Maybe this might work :
1) Download and install the latest Magisk Manager apk
2) Extract boot.img from stock firmware
3) Put boot.img in your internal storage and open magisk app.
4) Click on install and select patch boot Image.
5) Select stock boot.img file placed in phone memory.
6) Magisk will automatically patch the stock Image and this patched image can be installed using fastboot using this command:
fastboot flash boot patched_boot.img
This will root your phone. After that you can install Flashify to flash TWRP or PBRP
Note:
- This method is highly experimental... There are 50% chances of bootloop. I would not have recommended this method, but situation seems to demand it.
- Your data will most probably be formatted, so keep a backup.
- If it falls in a bootloop, then you need to flash original stock firmware to restore your phone.
Credits: @#ArtFuL
Who came up with this method, but removed it from the main guide, because of being experimental... (I guess)
Click to expand...
Click to collapse
Yes this method is highly experimental. Also in this situation, he cannot use any fastboot commands. So this method won't work
#ArtFuL said:
After going through the errors, I strongly believe that the problem is with your drivers. If reinstalling doesn't works, try a different pc. If your pc detects your device on MTP or your are able to perform adb operations without any hassle, it's not the problem with your phone.
You can decrypt the device only after flashing custom recovery.
---------- Post added at 09:35 PM ---------- Previous post was at 09:31 PM ----------
Yes this method is highly experimental. Also in this situation, he cannot use any fastboot commands. So this method won't work
Click to expand...
Click to collapse
This method didn't work, as fastboot isn't accepting any command. I tried giving command before connecting phone and then connecting, it gives me error of "File size is more than max allowed".
So is it done?
Mr147 said:
This method didn't work, as fastboot isn't accepting any command. I tried giving command before connecting phone and then connecting, it gives me error of "File size is more than max allowed".
Click to expand...
Click to collapse
See I recommend please use Linux (Manjaro or Ubuntu) , Windows will have driver issues forever and ever
had same issue after fota update UL-ASUS_X01BD-WW-15.2016
Tyakrish said:
Hey you said phone is encrypted ? Maybe this might work :
1) Download and install the latest Magisk Manager apk
2) Extract boot.img from stock firmware
3) Put boot.img in your internal storage and open magisk app.
4) Click on install and select patch boot Image.
5) Select stock boot.img file placed in phone memory.
6) Magisk will automatically patch the stock Image and this patched image can be installed using fastboot using this command:
fastboot flash boot patched_boot.img
This will root your phone. After that you can install Flashify to flash TWRP or PBRP
Thanks , this method work me. had same issue after fota update UL-ASUS_X01BD-WW-15.2016.1902.192-user
Click to expand...
Click to collapse
I've the same problem too. Let me know if you've configure it out. Thanks.
Okay @Mr147, I've fix this. I checked Windows Update and there was a pending ASUS driver update. I downloaded it and now I can use the fastboot commands.
Anyone that can fix this problem? I also experience this.
Mr147 said:
Hi guys,
I am using Zenfone Max Pro M2. I wanted to install a custom rom and I tried to unlock bootloader but I unlocked it through official unlocktool. Now I can't flash anything or send any command through fastboot, whenever I do then it restarts the device.
When I try to keep the fastboot command running and then connect phone - it throws errors like "Fail - Too many links", "Fail - Write to device fail (No such file or directory)" or "Fail- Unknown command".
I tried unlocking bootloader with the unofficial way provided in https://forum.xda-developers.com/max-pro-m2/how-to/unlook-bootloader-root-asus-zenfone-max-t3885457
but it isn't working either, any fastboot command is rebooting the device although bootloader is unlocked.
How do I fix this?
EDIT: Things I have tried:
- Changing USB Cable and Port
- Reinstalling ADB and device driver
- Reunlocking bootloader from UnlockTool (don't know why I did that again)
- Unofficial way to unlock bootloader
None of it helped.
Thanks
Click to expand...
Click to collapse
I suggest to Unlock with unofficial step, or read the post https://www.blocknesia.com/2019/04/unlock-bootloader-dan-install-twrp-asus-zenfone-max-pro-m2.html

Categories

Resources