A2017G going back: relocking Bootloader and Stock - ZTE Axon 7 Questions & Answers

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

Related

Stock recovery (from TWRP) for A2017

Hi guys,
I'm just finalising restoring an A2017 (China) to stock for warranty exchange.
I have gone back to stock OS, locked bootloader but I still have the TWRP recovery.
I believe all I need to do is flash a stock recovery.img though TWRP and voila I should be finished, but I can't find a download link that definitely points me to what I should use.
Could someone point me in the right direction?
Thanks!
EDIT - Actually wait a minute can I just install full A2017 factory OTA update through MiFavor stock OS which I believe contains recovery, does that mean that everything goes back to stock (including recovery)?
https://forum.xda-developers.com/axon-7/development/axon-7-chinese-stock-roms-t3436817
EDIT2 - When I try to install the A2017 B13 update.zip through MiFavor it says update failed. Should I install it through TWRP?
EDIT3 - Refused to update the whole image (update.zip) through MiFavor within the ZTE OS. I flashed the default recovery.img through fastboot, then I used the MiFavor recovery (not in OS) to manually flash the full image.
Anyway, got it to stock!
Where did you got the recovery.img?
MagicSeeker said:
Where did you got the recovery.img?
Click to expand...
Click to collapse
In the link from my post above. Download the original stock ROM you want, unzip, one of the files is the recovery.img. FYI I had A2017 B11, installed B13 recovery.img and it worked fine.
I tried to flash recovery.img but it says: FAILED (remote: Partition flashing is not allowed)
What do I do? I'm on B13 stock with locked bootloader. I want to get rid of TWRP and back to stock recovery so I can get OTA updates again.
FuzzyDunlop9 said:
I tried to flash recovery.img but it says: FAILED (remote: Partition flashing is not allowed)
What do I do? I'm on B13 stock with locked bootloader. I want to get rid of TWRP and back to stock recovery so I can get OTA updates again.
Click to expand...
Click to collapse
The first step in flashing anything is to unlock the bootloader, flash TWRP recovery, root, custom ROM etc. The inverse is the same. You are trying to flash an image to the recovery partition with a locked bootloader, which isn't going to work. I'd suspect you need to unlock your bootloader again, flash the stock recovery from the B13 stock image, and re-lock the bootloader. I am fairly new to the Axon 7 but I would consider yourself lucky if your bootloader is in fact locked. Typically locking the bootloader with anything but stock recovery is messy...
jdgesmlls said:
The first step in flashing anything is to unlock the bootloader, flash TWRP recovery, root, custom ROM etc. The inverse is the same. You are trying to flash an image to the recovery partition with a locked bootloader, which isn't going to work. I'd suspect you need to unlock your bootloader again, flash the stock recovery from the B13 stock image, and re-lock the bootloader. I am fairly new to the Axon 7 but I would consider yourself lucky if your bootloader is in fact locked. Typically locking the bootloader with anything but stock recovery is messy...
Click to expand...
Click to collapse
You usually end up with a DFU brick, sometimes only with fastboot. Very messy
There are flashable recovery zips for the A2017G, maybe @tron1 can make you one?

What happens...?

... if you flash from the SD the stock firmware (full) of the same version you have already installed in a bootloader unlocked axon 7?
Relocks?
Thank you in advance
No, the bootloader will not automatically relock after you flash a full rom. But you need to reflash aboot to skip the bootloader unlocked message at bootup.

relock bootloader

Hi,
Can I relock my bootloader while TWRP is installed? I want to get OTA updates back as I am not getting them because of the unlocked bootloader..
To relock the bootloader you have to flash the oeminfo.zip or use the dload method to install stock ROM
Potato997 said:
To relock the bootloader you have to flash the oeminfo.zip or use the dload method to install stock ROM
Click to expand...
Click to collapse
Thanks!

[SOLVED] A2017G bootloader relock.

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.

A2017G How to relock bootloader on Nougat B10

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.

Categories

Resources