Alexenferman
Member
Warning: This unlocking method might not work on newer ZTE devices with Oreo+ and flagship devices. You have nothing to lose, but it might not do anything.
This tutorial is only for Qualcomm ZTE Devices.
Unlocking the Bootloader:
Warning: This bootloader unlocking method is not for beginners. It requires at least some knowleage on how to flash ROMS or partitions via QFIL and ADB commands. If you do not understand something here, than the tutorial might not be suitable for you. You can still try it, but at your own risk of course.
Confirmed Working on:
ZTE Imperial Max (Z963U)
ZTE Tempo X (N9317)
ZTE Avid 4 (Z855)
ZTE Grand X View 2 (K81)
ZTE Avid Plus (Z828)
You will need:
Tutorial:
Open QFIL, You should see Qualcomm HS-USB QD-Loader 9008 (COM****)
Edit this:
41 4E 44 52 4F 49 44 2D 42 4F 4F 54 21 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
to this:
41 4E 44 52 4F 49 44 2D 42 4F 4F 54 21 00 00 00
01 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00
It looks like ZTE did put another ANDROID-BOOT! at this section, they thought I would not see the second one Make sure you edit that second one, otherwise the BL won't be unlocked.
___________________________________________________________________________
What will this do?! The two 01s we put in this file will show to the bootloader that it was unlocked before via fastboot. Of course, we are editing it now and it was never unlocked via fastboot. This is enough to fool it
For people who don't know, on all android devices, there is the /devinfo partition that stores the information of the bootloader such as is_unlocked (aboot), is_tampered, is_verified, charger_screen_enabled, display_panel, bootloader_version, radio_version etc.
We have to modify it into saying is_unlocked and is_Critiacal_unlocked
____________________________________________________________________________________
IT IS WORKING!!
TWRP is booting!
Credit to aleph security in the Unlocking the bootloader section at the bottom of the page for the values to change: https://alephsecurity.com/2018/01/22/qualcomm-edl-2/
This tutorial is only for Qualcomm ZTE Devices.
Unlocking the Bootloader:
Warning: This bootloader unlocking method is not for beginners. It requires at least some knowleage on how to flash ROMS or partitions via QFIL and ADB commands. If you do not understand something here, than the tutorial might not be suitable for you. You can still try it, but at your own risk of course.
Confirmed Working on:
ZTE Imperial Max (Z963U)
ZTE Tempo X (N9317)
ZTE Avid 4 (Z855)
ZTE Grand X View 2 (K81)
ZTE Avid Plus (Z828)
You will need:
- A Qualcomm ZTE device (I am using a ZTE Avid Plus Z828)
- A PC
- Adb Commands installed
- QFIL 2.0.1.9
- Your QFIL firehose (emmc_firehose_8***.mbn)
- A Hex editor (Like HxD)
Tutorial:
- Hold power and volume down to boot to FTM mode
- Using ADB commands, type: adb reboot EDL
Open QFIL, You should see Qualcomm HS-USB QD-Loader 9008 (COM****)
- Select "Flat build"
- Select your firehose (emmc_firehose_8***.mbn)
- Select tools, partition manager
- Click ok
- Right click devinfo only and click on "Manage Partition data"
- Click on "Read Data"
- Check the logs on the main window, it will show you where it will be saved (Most frequently in the Appdata/Roaming/Qualcomm folder) and the file will be named something like this: ReadData_emmc_Lun0_0x1c000_Len16384_DT_**_**_****_**_**_**.bin
- Copy the file we read to somewhere like the desktop and make a backup in case it does not work.
- Click File>Open and select the file we copied to the desktop
Edit this:
41 4E 44 52 4F 49 44 2D 42 4F 4F 54 21 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
to this:
41 4E 44 52 4F 49 44 2D 42 4F 4F 54 21 00 00 00
01 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00
- Go to offset 007FFE00 and repeat the same steps:
It looks like ZTE did put another ANDROID-BOOT! at this section, they thought I would not see the second one Make sure you edit that second one, otherwise the BL won't be unlocked.
___________________________________________________________________________
What will this do?! The two 01s we put in this file will show to the bootloader that it was unlocked before via fastboot. Of course, we are editing it now and it was never unlocked via fastboot. This is enough to fool it
For people who don't know, on all android devices, there is the /devinfo partition that stores the information of the bootloader such as is_unlocked (aboot), is_tampered, is_verified, charger_screen_enabled, display_panel, bootloader_version, radio_version etc.
We have to modify it into saying is_unlocked and is_Critiacal_unlocked
____________________________________________________________________________________
- Do not touch anything else and click File>Save
- Boot your phone int EDL again.
- Back to the partitions, right-click /devinfo again and click "Manage partition Data" again
- Click "Load image"
- Select the file we modified (Should be a .bin)
- Wait a few seconds and restart your phone and IT SHOULD BOOT SURELY!!
IT IS WORKING!!
TWRP is booting!
Credit to aleph security in the Unlocking the bootloader section at the bottom of the page for the values to change: https://alephsecurity.com/2018/01/22/qualcomm-edl-2/
Last edited: