[GUIDE] How To Unlock Bootloader and Stay Stock (A2017U - A2017)

Search This thread
YOU MUST HAVE ACCESS TO TWRP TO PROCEED
THIS WILL NOT WORK IF YOU DON'T HAVE TWRP

I'M NOT RESPONSABLE IF THIS PROCESS CREATED A THERMAL NUCLEAR DEVICE
AND / OR TURN YOU INTO FIRESTORM.
NOT RESPONSABLE IF SOMETHING HAPPEN DURING THIS INSTALLATION OR IF
YOU DO A MISTAKE DURING THIS PROCESS

READ, READ , READ , READ AND BE CAREFULL WITH THE COMMAND LINES

PROCEED ON YOUR OWN RISK


READ, READ, READ BEFORE PROCEEDING....

Hi A7 Users
--------------

Here we are with a new / excited finding ( thanks @Unjustified Dev )for ALL of us A2017U and A2017G (IS GETTING OFFICIAL UNLOCK AND THIS METHOD NOT TESTED YET,ANY VOLUNTEER?)
and is about UNLOCKING the Bootloader for those who are stock B20 or B27 + Lock Booloader.

Only IMPORTANT requirement is you need to have TWRP install, so if you don't have TWRP install here is the link
and you just NEED TO INSTALL TWRP and if you haven't back-up your STOCK boot.img is the right time to do so

Click Here on How to Flash TWRP with Lock Bootloader, Thank You @tennear

NOTE : THIS PROCEDURE WILL ERASE , I REPEAT WILL ERASE YOUR DATA + INTERNAL STORAGE.

SDCARD IS SAFE.


Steps :
---------

1- Download this File TWRP_UnlockBootloaderPackage_by_DrakenFX.zip and move to your SDCard.
2- Enable "OEM UNLOCKING" under Developer Options
3- Reboot to TWRP
Code:
 adb reboot recovery
4- Lets make sure your device is detected
Code:
 adb devices
Great let keep going.
5- Open Command and navigate to your adb location.
6- Type the following
* BACK-UP AND PULL CURRENT FASTBOOT IMAGE
Code:
adb shell dd if=/dev/block/bootdevice/by-name/fbop of=/sdcard/fbop_lock.img
adb pull /sdcard/fbop_lock.img

* FLASH TWRP_UnlockBootloaderPackage_by_DrakenFX.zip
Awesome you have backup and flash the bootloader unlock package file but wait we're done yet

7- Type the Following
Code:
adb reboot bootloader
8- Lets make sure device is present
Code:
fastboot devices
9- Now let's Unlock the Bootloader (THIS WILL WIPE DATA+INTERNAL STORAGE)
Code:
fastboot oem unlock
10- You'll boot in TWRP once there do the following :
Code:
 * tap [B]CANCEL[/B]
 * tap [B]WIPE [/B]
 * tap [B]FORMAT DATA[/B] and Follow the Instructions
11- Once done REBOOT
12- WHEN FULL BOOT GO BACK TO TWRP AND CREATE A BACK-UP AND KEEP IT SAFE
13- Have Fun you're now Bootloader Unlock With Stock B20 or B27 Software.

---------------------------------------------------------------------------------------

NOTE : A2017U.B27 Users Everytime you BOOT to System , Recovery, etc, etc you'll be getting a splash screen, JUST WAIT 5 SEC. and your device will boot to where you want to go.

---------------------------------------------------------------------------------------

If You Have the A2017G version and you are already on B03 you can follow step by @Starvirus
A2017G_B03 Unlock Bootloader Steps
---------------------------------------------------------------------------------------

CREDIT / Contributor
- @Unjustified Dev for testing in his Brand New just less than 3 hrs old A2017U :D and popping up in me the idea about this finding
- Thank you @regenwurm16 for Confirm New method working for A2017G
- Thank you @Starvirus for provide B03 steps

---------------------------------------------------------------------------------------
 
Last edited:

jpde

Senior Member
Mar 6, 2010
297
67
So.. this means unlocked bootloader for full flexibility but also OTA updates because it's still running stock?
 
Last edited:
  • Like
Reactions: tdgillihan
Feb 24, 2007
25
3
Is this reversible? Would ZTE somehow be able to tell if the bootloader was unlocked before when returning the device for a warranty?
 
Is this reversible? Would ZTE somehow be able to tell if the bootloader was unlocked before when returning the device for a warranty?

yes it is, just keep your fastboot img in a safe place backup is in OP part of the guide.
to revert back is very simple same step but instead using fastboot_unlock.img you use your fastboot backup and do the rest of the steps (wipe and so on)
 
  • Like
Reactions: blessingme

blessingme

Senior Member
Feb 3, 2010
242
40
Bremen
Can I do this procedure with Axon Zte 7 A2017? (China Model)

Moderator Edit: @blessingme - it is not necessary or desirable to quote the entire OP. It can cause page loading issues with those on limited bandwidth or when mobile.

Thanks
 
Last edited by a moderator:

Top Liked Posts

  • There are no posts matching your filters.
  • 40
    YOU MUST HAVE ACCESS TO TWRP TO PROCEED
    THIS WILL NOT WORK IF YOU DON'T HAVE TWRP

    I'M NOT RESPONSABLE IF THIS PROCESS CREATED A THERMAL NUCLEAR DEVICE
    AND / OR TURN YOU INTO FIRESTORM.
    NOT RESPONSABLE IF SOMETHING HAPPEN DURING THIS INSTALLATION OR IF
    YOU DO A MISTAKE DURING THIS PROCESS

    READ, READ , READ , READ AND BE CAREFULL WITH THE COMMAND LINES

    PROCEED ON YOUR OWN RISK


    READ, READ, READ BEFORE PROCEEDING....

    Hi A7 Users
    --------------

    Here we are with a new / excited finding ( thanks @Unjustified Dev )for ALL of us A2017U and A2017G (IS GETTING OFFICIAL UNLOCK AND THIS METHOD NOT TESTED YET,ANY VOLUNTEER?)
    and is about UNLOCKING the Bootloader for those who are stock B20 or B27 + Lock Booloader.

    Only IMPORTANT requirement is you need to have TWRP install, so if you don't have TWRP install here is the link
    and you just NEED TO INSTALL TWRP and if you haven't back-up your STOCK boot.img is the right time to do so

    Click Here on How to Flash TWRP with Lock Bootloader, Thank You @tennear

    NOTE : THIS PROCEDURE WILL ERASE , I REPEAT WILL ERASE YOUR DATA + INTERNAL STORAGE.

    SDCARD IS SAFE.


    Steps :
    ---------

    1- Download this File TWRP_UnlockBootloaderPackage_by_DrakenFX.zip and move to your SDCard.
    2- Enable "OEM UNLOCKING" under Developer Options
    3- Reboot to TWRP
    Code:
     adb reboot recovery
    4- Lets make sure your device is detected
    Code:
     adb devices
    Great let keep going.
    5- Open Command and navigate to your adb location.
    6- Type the following
    * BACK-UP AND PULL CURRENT FASTBOOT IMAGE
    Code:
    adb shell dd if=/dev/block/bootdevice/by-name/fbop of=/sdcard/fbop_lock.img
    adb pull /sdcard/fbop_lock.img

    * FLASH TWRP_UnlockBootloaderPackage_by_DrakenFX.zip
    Awesome you have backup and flash the bootloader unlock package file but wait we're done yet

    7- Type the Following
    Code:
    adb reboot bootloader
    8- Lets make sure device is present
    Code:
    fastboot devices
    9- Now let's Unlock the Bootloader (THIS WILL WIPE DATA+INTERNAL STORAGE)
    Code:
    fastboot oem unlock
    10- You'll boot in TWRP once there do the following :
    Code:
     * tap [B]CANCEL[/B]
     * tap [B]WIPE [/B]
     * tap [B]FORMAT DATA[/B] and Follow the Instructions
    11- Once done REBOOT
    12- WHEN FULL BOOT GO BACK TO TWRP AND CREATE A BACK-UP AND KEEP IT SAFE
    13- Have Fun you're now Bootloader Unlock With Stock B20 or B27 Software.

    ---------------------------------------------------------------------------------------

    NOTE : A2017U.B27 Users Everytime you BOOT to System , Recovery, etc, etc you'll be getting a splash screen, JUST WAIT 5 SEC. and your device will boot to where you want to go.

    ---------------------------------------------------------------------------------------

    If You Have the A2017G version and you are already on B03 you can follow step by @Starvirus
    A2017G_B03 Unlock Bootloader Steps
    ---------------------------------------------------------------------------------------

    CREDIT / Contributor
    - @Unjustified Dev for testing in his Brand New just less than 3 hrs old A2017U :D and popping up in me the idea about this finding
    - Thank you @regenwurm16 for Confirm New method working for A2017G
    - Thank you @Starvirus for provide B03 steps

    ---------------------------------------------------------------------------------------
    23
    Hi guys,

    finally i got my B03 A2017G bootloader unlocked. Here is how I did it:

    1. enable developer menu -> settings -> about phone tap 7 times on the build number
    2. go to developer options -> enable oem unlock
    3. backup your recovery and boot with axon7backup (axon7backup -d -p X) - get axon7backup from here: http://d-h.st/Ienb
    4. flash twrp-3.0.2-2 with axon7root (rename the file as recovery.img and put it in the same directory as the axon7root.exe and execute axon7root -p X -r) - get axon7root from here: http://d-h.st/aPiC get twrp-3.0.2-2 from here: http://d-h.st/dgWW
    5. boot into twrp, hold power and volume up until you are in twrp
    6. execute: - get the aboot.img from here: https://mega.nz/#F!rcFCQZ7C!vn457hU1zDwc0uVpvm5otw
    Code:
    #copy necessary files to internal sd card
    adb push aboot.img /sdcard/
    adb push fastboot_unlock.img /sdcard/
    
    #make a backup to your internal sd of the partitions we are going to modify
    adb shell dd if=/dev/block/bootdevice/by-name/fbop of=/sdcard/fbop_lock.img
    adb shell dd if=/dev/block/bootdevice/by-name/aboot of=/sdcard/aboot_lock.img
    
    #copy them to your pc
    adb pull /sdcard/fbop_lock.img
    adb pull /sdcard/aboot_lock.img
    
    #flash the proper fastboot and aboot file
    adb shell dd if=/sdcard/fastboot_unlock.img of=/dev/block/bootdevice/by-name/fbop
    adb shell dd if=/sdcard/aboot.img of=/dev/block/bootdevice/by-name/aboot
    
    #boot to fastboot
    adb reboot bootloader
    7.
    Code:
     fastboot oem unlock
    8. follow instructions on your phone
    9. boot into twrp -> vol up + power button
    10. wipe data
    11. enjoy the unlocked device

    Hope this helps a few guys
    7
    OH MY MOTHERF***ING GOD!!!
    I used tenfar's tool to flash the TWRP recovery and then I flashed the modified fastboot.img from this thread and after trying the unlock command in fastboot it didn't work of course. So I became adventurous (even though I already ****ed up one phone) and flashed the aboot.img from the B20 stock thread http://forum.xda-developers.com/axon-7/development/untouched-b20-boot-recovery-files-t3443818 to my phone and low and behold I could actually UNLOCK my B02 EU version without even touching the boot.img!!!
    And it still booted, Wi-Fi is still working and it's really saying "DEVICE STATE - unlocked"
    I'm so fu**ing happy!!!
    5
    I would like to add my voice and thank DrakenFX and Starvirus.

    My B03 A2017G Axon 7 is bootloader unlocked. No root installed, out of choice.
    My process .
    1) I was unable to place my device in EDL status using physical buttons. I had to do it via ADB: [adb reboot edl]
    2) Via axon7root, I only flahshed the recovery.img file. This resulted in TWRP being installed.
    3) From this point, I followed Starvirus' instructions (http://forum.xda-developers.com/showpost.php?p=68738854)
    4) Upon rebooting I was confronted with the "insert password" screen. No problem. Boot into TWRP. When prompted for password, hit cancel and proceed to a full wipe of the device.

    All done. Bootloader Unlocked.
    Now all I need is CM ;)

    Thank you all.