Has anyone successfully relocked the bootloader on a A2017G? I've tried flashing various versions of Nougat and now with the new official Oreo and every time I try booting to bootloader (fastboot) the phone just boots into system. I'm on full stock system with stock recovery. I flashed a B12 EDL from LOS 15.1 to then update to the new Oreo.
Everything else works fine, the drivers are correct I simply just cannot access the bootloader, no matter which rom I flash.
Hi, on A2017G I succeeded with Axon 7 toolkit, option "bootloader lock"
pudil said:
Hi, on A2017G I succeeded with Axon 7 toolkit, option "bootloader lock"
Click to expand...
Click to collapse
Hi. I tried that but no luck. It just reboots the phone back to system
Problem solved, I've managed to lock the bootloader.
Victor13f said:
Problem solved, I've managed to lock the bootloader.
Click to expand...
Click to collapse
Can You tell us how? I am on Stock Nougat , but I unlocked propabaly on Marshmallow and then updated for Nougat. I cannnot boot to fastboot mode, my phone just reboots to system, as your before.
Filozof71 said:
Can You tell us how? I am on Stock Nougat , but I unlocked propabaly on Marshmallow and then updated for Nougat. I cannnot boot to fastboot mode, my phone just reboots to system, as your before.
Click to expand...
Click to collapse
I flashed a fastboot EDL unlock that I found here on XDA and then I managed to lock the bootloader with OEM lock. However, I bricked my phone and couldn't boot into OS but it wasn't a big issue since I just flashed a B12 EDL afterwards and from there got an OTA update to Oreo with the bootloader locked.
Related
Hi guyz, i've a little problem here.
I've to Lock my bootloader. Now i did it several times, with different tools too. Now:
If i use correct droidboot version (lollipop one) and flash it, the bootloader is not (secure), so not locked.
But if i try with a tool and it flashes the KK fastboot, it works, it's relocked.
Can you tell me why? Thanks!
steakhutzeee said:
Hi guyz, i've a little problem here.
I've to Lock my bootloader. Now i did it several times, with different tools too. Now:
If i use correct droidboot version (lollipop one) and flash it, the bootloader is not (secure), so not locked.
But if i try with a tool and it flashes the KK fastboot, it works, it's relocked.
Can you tell me why? Thanks!
Click to expand...
Click to collapse
Seems the Lollipop fastboot doesn't have the signature check that kitkat fastboot has.
But, even you can flash custom files with locked bootloader and lollipop fastboot, the system don't boot, stucks at USB logo, so it means the bootloader is locked.
leonardohenrique10 said:
Seems the Lollipop fastboot doesn't have the signature check that kitkat fastboot has.
But, even you can flash custom files with locked bootloader and lollipop fastboot, the system don't boot, stucks at USB logo, so it means the bootloader is locked.
Click to expand...
Click to collapse
Thanks! You sure about this? I've to return the phone to amazon, and i would to be sure of this :silly:
steakhutzeee said:
Thanks! You sure about this? I've to return the phone to amazon, and i would to be sure of this :silly:
Click to expand...
Click to collapse
Yes, I tested in my phone, flashed custom kernel with locked bootloader and fastboot from Lollipop .87, flash sucessfully, but when I try to boot... USB logo.
Only KitKat fastboot has signature check.
leonardohenrique10 said:
Yes, I tested in my phone, flashed custom kernel with locked bootloader and fastboot from Lollipop .87, flash sucessfully, but when I try to boot... USB logo.
Only KitKat fastboot has signature check.
Click to expand...
Click to collapse
Ok, thank you
In fastboot (lollipop) i've an (?) next to signature and other values i don't remeber. You too?
steakhutzeee said:
Ok, thank you
In fastboot (lollipop) i've an (?) next to signature and other values i don't remeber. You too?
Click to expand...
Click to collapse
Yes, same on my device. I think it's normal.
Yes, fastboot mode of lollipop firmware on ZenFone 5 / 6 is able to flash custom kernel / recovery, but it won't boot until bootloader unlocked.
Long story short. I had an Axon 7 A2017 B11 which I updated to B13. I was able to unlock the bootloader, root the phone then flash a custom rom Z.A.D.Mix7_v0.3. I was having fun with the phone but I did something very stupid when I realised I could not use Android pay due to unlocked boot loader. Without doing enough research, I went to fastboot and did a fastboot oem lock. The command was successful but I could no longer boot into the system or recovery or fastboot. I tried MiFlash with B07 which was posted in this forum, but it did not work, came back an error of bad format. Then I used axon7tool to flash TWRP 3.0.2 and the boot.img which I extracted from B13. I am now able to boot into TWRP and fastboot. But I still do not have a working system. I tried fastboot oem unlock, it does not let me do it. I flash ZAD Mix7 again but once I flash that it does not boot anymore. I am now really stuck. What should I do to go back to stock then start everything again. Thanks a lot for the help.
I understand your device doesn't boot into system anymore, but can adb on your pc detect it at all? If so, you can try following all steps after "B)" in my tutorial. I think your aboot img and fbop partition are messed up. If you can use adb to replace the files in aboot and fbop with files that allow the fastboot oem unlock command to be executed, it should be unlockable again. After that, custom ROMs should boot.
Stock bootloader
Controllerboy said:
If you can use adb to replace the files in aboot and fbop with files that allow the fastboot oem unlock command to be executed, it should be unlockable again. After that, custom ROMs should boot.
Click to expand...
Click to collapse
I'm having a similar issue. Although my phone boots to stock rom I seem to have messed up my bootloader. I had TWRP and unlocked bootloader. I, similarly, locked the bootloader and things seemed to be fine. After attempting to install Nougat received from OTA I realized my bootloader is corrupted. When I hold the power and volume up the phone seems to just turn off (or go to EDL mode? I'm not sure) I can always just hold power and it'll boot up normally. Is there a way to get the stock bootloader to work and keep it locked?
I also bricked my A7 after relocking my bootloader. I used tenfar's tool to make TWRP my boot.img, then flashed ZTE's stock B20 image. Here's the thread where I found the file links.
From there I updated all the way up to the OTA Nougat, but I suppose you can decide where you want to go after it's unbricked. Hope this helps.
Why are so many people relocking bl? Regardless, always take an ota before locking to ensure you are completely shock.
Stock bootloader
lafester said:
Why are so many people relocking bl? Regardless, always take an ota before locking to ensure you are completely shock.
Click to expand...
Click to collapse
Don't you have to be running a locked bootloader in order to be able to install OTAs?
aabnamak said:
Don't you have to be running a locked bootloader in order to be able to install OTAs?
Click to expand...
Click to collapse
Of course not.
aabnamak said:
Don't you have to be running a locked bootloader in order to be able to install OTAs?
Click to expand...
Click to collapse
No, you do not. I thought that was the case at first as well, but I was mistaken. You do, however, need the stock recovery and an untouched system partition.
My problem is that I don't seem to have a recovery at all. I realized once the ZTE logo pops up I can hold down both volume keys and get to the bootloader. The bootloader is locked but does not display a bootloader version or basedband version. I tried the tenfar tool (axon7root.exe) and now my phone doesn't boot into the system either. I really need help...
Just an update to everyone that helped.
I finally managed to fix it.
I used axon7tool to flash a signed TWRP, so that i can boot into TWRP. The signed TWRP is the only way to make it work. Then I downloaded the A2017 B11 from this thread
https://forum.xda-developers.com/axon-7/development/rom-guide-updates-to-stock-files-via-t3469484
There are two zip files. The boot stack and the rom. Because it is a stock rom, I can boot into the system. The next thing I did was to enable the developer option and turn back on the option to allow OEM unlock.
I went back to TWRP. boot into the fastboot screen. Then I simply typed in 'fastboot oem unlock'.
I went back to TWRP, which says can't read encrypted device. I formated everything. mount the USB then flash the custom rom again.
Hola, phone fixed. Made me sweat for the whole day.
deleted...forgot I had a micro sd card. Flashed stock update from the card and it worked. Phew!
Hi
I unlocked a a2017g and installed los. Now i want to relock it and reinstall stock.
I used the axon7toolkit to reintall the stock via miflash app. B10 was flashed.
The bootloader is still unlocked. How can i relock it?
Thanks!
Thesnable said:
Hi
I unlocked a a2017g and installed los. Now i want to relock it and reinstall stock.
I used the axon7toolkit to reintall the stock via miflash app. B10 was flashed.
The bootloader is still unlocked. How can i relock it?
Thanks!
Click to expand...
Click to collapse
answer to me:
i forgot to flash the fastboot unlock img when i was unlocking thr bootloader.
i did this now flashing twrp before
reflashed stock via edl recovery axon 7
then the newest full update via recovery stock
everything fine now
I came back from LOS 16.0. Flashed A2017G_B10_NOUGAT_FULL_EDL in EDL but there's a warning that my bootloader is locked. I wanted to relock it but the warning prevents me from entering bootloader or fastboot (or maybe they are not even present....). Next I flashed A2017U_FASTBOOT_UNLOCK_EDL in MiFlash but it did not do anything. It flashed OK but I still cannot access fastboot. Should I flash some marshmallow rom? Thanks in advance.
I have the same problem. Cannot enter fastboot mode on Nougat ROM.
Ok I found the way usin Axon 7 Toolkit
1. Set the Android version to 7 using option 13
2. Perform unlock bootloader
Following instruction Axon & Tookit gives you EDL image of the proper fastboot partition giving the possibility to enter fastboot mode
then fasboot oem lock
I wanted to say thanks that works, but apparently my phone is bricked now - it hangs on green ZTE logo. PC recognizes it as DFU. Cannot enter EDL either. I guess I look for some guide how to recover from this situation
Managed to fix that. Somehow I was able to enter fastboot. It said my bootloader was locked so i flashed TWRP and from TWRP using ADB installed stock Nougat rom
ma_ko said:
I wanted to say thanks that works, but apparently my phone is bricked now - it hangs on green ZTE logo. PC recognizes it as DFU. Cannot enter EDL either. I guess I look for some guide how to recover from this situation
Managed to fix that. Somehow I was able to enter fastboot. It said my bootloader was locked so i flashed TWRP and from TWRP using ADB installed stock Nougat rom
Click to expand...
Click to collapse
If you was able flash twrp mens your boolaeder was unlocked?
No there's a TWRP that works on locked bootloader.
ma_ko said:
No there's a TWRP that works on locked bootloader.
Click to expand...
Click to collapse
Seems that TWRP was inatlled before the bootloder was locked again.
I updated to Pie today using OTA. This resulted in a bootloop. Since my bootloader was already unlocked, I booted TWRP (not flashed) and swapped slots. This resulted in booting to the recovery "no command" prompt instead. So I downloaded the only ROM Xiaomi has on their site - 8.1 - and flashed this with the "flash_all_except_storage" script. Still bootloops, only now the bootloader is relocked.
So, anyone know how to unlock the bootloader on a non-booting Android One device? Is there an EDL mode on these?
tin2001 said:
I updated to Pie today using OTA. This resulted in a bootloop. Since my bootloader was already unlocked, I booted TWRP (not flashed) and swapped slots. This resulted in booting to the recovery "no command" prompt instead. So I downloaded the only ROM Xiaomi has on their site - 8.1 - and flashed this with the "flash_all_except_storage" script. Still bootloops, only now the bootloader is relocked.
So, anyone know how to unlock the bootloader on a non-booting Android One device? Is there an EDL mode on these?
Click to expand...
Click to collapse
Seriously? No one reads thread online?! I quote to NEVER, EVER, FLASH OREO/NOUGAT ROMS AFTER UPDATING TO PIE!!!
I downloaded the latest OFFICIAL ROM when it was already bootlooping.... Seriously? I'm supposed to go searching online for 3rd party information rather than the official?
Now how about people with useful information instead of arrogance?
If I'm not wrong you just need to boot into bootloader and fastboot oem unlock. With unlocked bootloader, go fastboot mode and flash official stock pie fastboot rom