yashsingh1/xdaforums huggingface dataset:
[ZTE Axon 7 Guides, News, & Discussion] thefiqs:
Hi,

I have B02 Stock Nougat installed and BL unlocked. However, I can't access Fastboot to install TWRP. I tried to go fastboot from ADB and from stock recovery. It is loading me to the screen my device is untrusted and no fastboot. Any way without going back to stock MM?
[ZTE Axon 7 Guides, News, & Discussion] MaFi0s0:
Can someone please help me install LOS.

I have unlocked the bootloader, installed TWRP sucessfully, I *think* I installed the nougat modem (marshmellow can still boot) I did it via zip install in TWRP.

Now I am trying to install LOS using TWRP zip install and it says this:

Checking for TZ version TZ.BF.4.0.1-00315

Assert failed: Axon7.verify_trustzone("TZ.BF.4.0.1-00315") == "1"

Updater process ended with ERROR: 7

Erroring installing zip file

Updating partition details

done

Solved this by installing the B15 universal bootloader file
[ZTE Axon 7 Guides, News, & Discussion] raystef66:
Perhaps try this : https://xdaforums.com/axon-7/how-to/guide-a2017g-install-b02-root-fb-t3590852

Steps 10 to 17
[ZTE Axon 7 Guides, News, & Discussion] sToRm1nG:
You could have downgraded to V1.2.0B01. This version contains the needed TrustZone and a working Bootloader and Modem.
[ZTE Axon 7 Guides, News, & Discussion] thom168as:
My phone is A2017G. I followed this guide and installed the lastest official LOS successfully.

But now my device model is listed as ZTE A2017U. Although it doesn't seem to be a problem, is it normal?

I flashed the A2017G_N_Modem.zip and A2017X_B15_Universal_Bootloader.zip before LOS.
[ZTE Axon 7 Guides, News, & Discussion] Choose an username...:
Yes, it's normal. It changes a bunch of those things, for example your device name is "axon7" now as opposed to official "ailsa_ii"
[ZTE Axon 7 Guides, News, & Discussion] Prozart:
Hey, wondering if anyone here would be able to help me. I tried to follow Draken FX's guide over on the ZTE forums, as well as trying a number of methods here, to no avail. I'll post my response from those forums, going into more detail as to what I've tried and the problems I'm running into.

So I downloaded all the files and I was able to successfully flash B29 and then I rebooted to bootloader and then back into recovery. But when I tried to flash B20 it said it was unable to mount SD card. So I booted all the way back into the system and I checked "oem unlocking" again, rebooted to recovery, but it's still saying unable to mount sd card. Any ideas?

Edit: Just as an update, I've tried everything I can find online to no avail. I've tried formatting the card to Fat32, I've tried wiping the data, I've tried installing the update while booted into the ROM under "update".

I've also tried to adb sideload the file but it says "cannot read". So I've tried to troubleshoot that as well by reinstalling drivers, trying to sideload a different file, and editing the adb file to give it a largeaddressawareness flag. I feel like both these errors, not mounting sd card and being unable to sideload, are unrelated problems, but for some reason I can't fix either one. Any help or suggestions on either problem would be appreciated. Right now I'm doing the OTA update to B15 and then I'm going to try going to B29 again, if it'll read the sd card that is. Then hopefully from B29 to B20.

Edit 2: After updating to B15 again I was able to install B29 update from SD card. Rebooted to bootloader and then to recovery and once again I'm unable to mount sd card in order to install B20. This is going to be a long night.

Any help would be very greatly appreciated. All the methods to unlock seem to hinge on being able to install B20, but I can't sideload it and I can't install it from the SD card.
[ZTE Axon 7 Guides, News, & Discussion] gibawatts:
Hello guys,

I am almost giving up on unlocking mine. I updated to the last Nougat B02, have all the drivers installed. I can go up until you make it boot in EDL mode, and then axon7tool doesn't recognize my phone. It shows the QUSB_BULK in my device manager but it just don't work. Also tried the toolkit but nothing. Do I really need to downgrade it to MM?
[ZTE Axon 7 Guides, News, & Discussion] Gam3n:
Downgrade error

Got an Axon7 (2017G) off of ebay, intending to install LineageOS on it. Phone came with Android 7.1.1 build number A2017GV1.2.0B03. I am trying to downgrade to Marshmallow, since this is apparently required in order to unlock the bootloader. However, i get an error message, and the update fails. Tried with A2017GV1.0.0B11 from ZTEs website, and it fails with the an error in /sideload/package.zip. The line before has a warning :

This package is for "ailsa_ii" devices; this is a ""

it seems that the current device name is empty. I pulled the build.prop from the phone with ADB, and it says

ro.build.host=scl-xa243-233
ro.build.tags=release-keys
ro.build.flavor=P996A04_N-user
ro.product.model=ZTE A2017G
ro.product.brand=ZTE
ro.product.name=P996A04_N
ro.product.device=ailsa_ii
ro.product.board=ailsa_ii

Anyone have any idea why the downgrade fails? I tried it from recovery and from the Update menu in Setting, same result.

P.S. First time poster, but have used these forums for few years now, thanks for all the great work!

Edit: It worked with A2017GV1.0.0B10!
[ZTE Axon 7 Guides, News, & Discussion] deepasadish:
can someone tell me what is this easier process for A2017U?

is it this: https://xdaforums.com/axon-7/development/edl-emergency-dl-mode-twrp-unlock-t3553514

thanks.
[ZTE Axon 7 Guides, News, & Discussion] Lycidias:
Hello! Today i got my A2017G with all Stock on MM B09. I'm totally New to zte devices coming From a G5 and other Android devices.

I want to unlock my bootloader and Flash twrp and then Update to latest rooted Stock Nougat.

Can someone Please verify my steps?

1) Flash recovery

2) unlock bootloader

3) Flash Nougat universal bootstack

4) Flash a custom Stock rom or a rooted Stock

Ia this The right order? I read the OP but Zte devices are a bit confusing... And could someone give me a Link to the latest twrp flashable and rooted Stock Nougat?

Thank you Very much :)
[ZTE Axon 7 Guides, News, & Discussion] Nicz14:
When I get to this step

I get this error

Anyone who what to do?
[ZTE Axon 7 Guides, News, & Discussion] Controllerboy:
Did you try the fix proposed in the same post?

That is the right order.

The latedt TWRP can be found in this thread. You should however use the original signed TWRP version as stated in my guide. Upgrade versions after you unlocked BL and installed a custom ROM.
[ZTE Axon 7 Guides, News, & Discussion] MultiCulti:
Ahm ... guys ... i just unlocked my axon 7 and flashed twrp ... BUT now my A2017G is a A2017U ?!?!
[ZTE Axon 7 Guides, News, & Discussion] xilberflyx:
Hi guys, thanks for this amazing guide. I unlocked, rooted, flashed my A2017G successfully. But now my device will be listed as A2017U in the settings of Lineage.

Now my question:

For the future: Do I have to flash things from A2017U or A2017G (if necessarry in the future)? Is this only software depending or did I convert my device totally to the A2017U?

Thanks in Advance.
[ZTE Axon 7 Guides, News, & Discussion] kamisan:
I had that and had to EDL mifi flash twrp to get out of it. happened when I wiped everything but internal and external sd (I come from nexus devices) and flashing pure,, scared the heck out of me since a black screen was all I could get to. axontool never saw the device until i did that. then I was back in happy land.
[ZTE Axon 7 Guides, News, & Discussion] dnlilas:
Check my similar question and other findings here:

https://xdaforums.com/axon-7/help/unofficial-unofficial-lineage-os-thread-t3547651/page29

Your phone is still A2017G model, it is just LineageOS (software) that changes this. If you want to return back to stock, you must use bootstack/system corresponding to A2017G, and then it will display your model as ZTE A2017G.
[ZTE Axon 7 Guides, News, & Discussion] sunrise3500:
Is it possible to run LOS with a locked bootloader?
[ZTE Axon 7 Guides, News, & Discussion] dnlilas:
LOS is a custom ROM, and from the first post:

> Q: Why do I need to unlock the bootloader?

> A: With an unlocked bootloader, you can install custom ROMs.
[ZTE Axon 7 Guides, News, & Discussion] sunrise3500:
I didnt ask to install LOS, but to run it. ie can you go back to a locked bootloader/stock recovery after it's installed
[ZTE Axon 7 Guides, News, & Discussion] dnlilas:
As far as I know, if you want to run LOS, you must first install it.

Now you have another question to revert to stock bootloader and stock recovery. The answer is yes, by using AxonToolkit:

https://xdaforums.com/axon-7/development/tool-axon7toolkit-t3573108
[ZTE Axon 7 Guides, News, & Discussion] sunrise3500:
Are you trying to say I can revert to stock or that i can revert to stock AND still run LOS?
[ZTE Axon 7 Guides, News, & Discussion] JP_93:
Is there any way to root using a mac?
[ZTE Axon 7 Guides, News, & Discussion] Choose an username...:
bootcamp?

Nah don't even try that. Find another computer to do it, I'm not sure if flashing stuff while connecting a phone through bootcamp'd windows is a remotely good idea
[ZTE Axon 7 Guides, News, & Discussion] thebookman:
Hi Controllerboy

In your post of 11th December 2016 £3 you wrote "2017G devices, that seem to have an extra "DFU" mode, which the A2017 and A2017U devices don't seem to have. A2017G devices get stuck in that mode and there's no way to get them out again."

Is it still impossible to get out of DFU mode? I've been trying to get out but have had no success so far.
[ZTE Axon 7 Guides, News, & Discussion] cyberden:
Just a quick post to say that I followed this guide yesterday and everything worked fine. The only hiccup was the "code 7" error when flash LOS but the workaround was written just below.

Thanks for the guide! I really like this phone with LOS, everything seems to work really well.
[ZTE Axon 7 Guides, News, & Discussion] Spillunke:
hi, where i can download the twrp_rec_tenfar.zip/.img? Or can i use the latest recovery.img from twrp.me?

The axon7tool cant unlock the BL because the qcCoinstaller.dll is missing.

Unlock the BL with the steps from OP also not possible, because "permission denied" if i try the command "adb shell dd if=/dev/block/bootdevice/by-name/fbop of=/sdcard/fbop_lock.img".

Im on Android 6 (v1.0.0B11)

Any solutions to get root? BL unlock is still necessary to root, right?

P.S.: Are there stock based "custom" ROMs with nice tweaks and so on? Coming from a LG G4 with Imperium Rom.
[ZTE Axon 7 Guides, News, & Discussion] raystef66:
Here: https://xdaforums.com/axon-7/how-to/download-center-factory-images-ota-t3606547

Look for twrp 3.0.2.2 tenfar

Use this guide to root and unlock on MM
[ZTE Axon 7 Guides, News, & Discussion] Spillunke:
well, i installed tenfar-twrp, booted it up and updated to twrp 3.1.1.0. now my phone is bricked! :(

cant acces any other modes. zte logo shown for 2 sec and then the red led. dont know what to do now :/
[ZTE Axon 7 Guides, News, & Discussion] raystef66:
Don't panic. There's always a way around.

This thread is used a couple of hundred times so I think you did something wrong by accident.

Try to go into FTM mode. Vol-and power. When succeeded connect phone to pc and try to go into edl and do steps again and see what happens.

This thread is solid so try again:good:
[ZTE Axon 7 Guides, News, & Discussion] Choose an username...:
No, that's not even remotely it. All axon 7s have DFU mode. I have an A2017G and successfully fixed it in literally one day. This mode is like EDL, but with the difference that you can't flash things there. If your phone gets into DFU mode and you can't access the recovery, FTM, or fastboot by key combinations, there are two ways:

-1st one: Not sure if it works. Seems to be that if you discharge the phone completely and then do a key combination when connecting it, you can get to FTM mode. In here you can reboot to EDL by a command (I think you have ADB)

-2nd one: Search for "4th category brick repair" on Google. A guide from XDA for this phone will appear. The basics are:

You disassemble the device and short a test pad with the chassis, while at the same time connecting the phone to your PC. You should get to EDL mode, and if you hold the test pad shorted, you can flash a full system zip with MiFlash. Look at the last pages (I think it was on the 3rd page) where I ask for a full system zip, there djkuz sends me the link.

Hope you the best of luck on getting your device working again. If anything doesn't work, you can PM me, and I should answer fast (i might not be able to help you though)
[ZTE Axon 7 Guides, News, & Discussion] Spillunke:
u cant believe how nice it is to read that! i will drain the battery and try the first option. which key combination if the battery is drained?

- battery drained

- plug in USB

- hold Vol-down + PWR

?

edit: If i unplug the usb-cable the phone seems to be powerd off. led isnt lighting anymore and no sound in windows while plug it in again.

If the phones is powerd off and i try to enter the FTM mode, the logo+red LED loop arrives again :(

i wont disassemble the device. its brand now. i got 2 weeks to send it back without reasons or maybe get a new one, i hope. will ZTE repair the phone in this case (RMA)?
[ZTE Axon 7 Guides, News, & Discussion] Choose an username...:
You have to discharge the phone completely before attempting the FTM thing. no idea how you'll accomplish that with a bricked device though

ZTE might repair the phone if you tell them that it arrived like that, just say that you don't know why you can't turn it on, it does that all of a sudden, etc. If they don't want to replace it they'll send it to you again or you can pay a fee to get it fixed.
[ZTE Axon 7 Guides, News, & Discussion] Spillunke:
The phone is "on" now (black screen + red LED) and i hope it is discharged if i went home after work. My question is, how can i charge the phone if its empty and only the dfu mode is possible?
[ZTE Axon 7 Guides, News, & Discussion] rtwright68:
Trying to access this file: https://www.androidfilehost.com/?fid=529152257862665656 but now says no mirrors.

I'm trying to lock the phone (have restored B20) and the lock command is failing. Found another link that referenced that file along with another one to enable the fastbook oem lock command.

Does anyone have a copy of it?
[ZTE Axon 7 Guides, News, & Discussion] dnlilas:
Here you are:

TWRP_UnlockBootloader_by_DrakenFX.zip

https://www.mediafire.com/?fc1dvhzao1bqtpd

md5

7b1e18b77aeed07fa6ccfd87cdde1398
[ZTE Axon 7 Guides, News, & Discussion] h0LLe:
6) Download the TWRP .img file from here: http://penlane.me/fileserver/uploads...rec_tenfar.zip

that file seems to be offline to ... why not attaching it to xda?
[ZTE Axon 7 Guides, News, & Discussion] Choose an username...:
Go to the Download center thread by raysteff, it's pinned anyways so you can't miss it. Download 3.1.0.0 and do what you have to do
[ZTE Axon 7 Guides, News, & Discussion] dnlilas:
twrp_rec_tenfar.zip reuploaded:

https://www.mediafire.com/?bxhg5kg1lc4cucq

md5 for twrp_rec_tenfar.zip: 28492d1c805a168723f51410a831e326
[ZTE Axon 7 Guides, News, & Discussion] indeed:
Stuck with Mifavor

Thanks for these detailed instructions.

My A2017G is running 6.0.1 B08, after step 22 in section A (flash TWRP). It still rebooted (power + up button) into Mifavor as if TWRP never got flashed. Tried "axon7tool -w recovery " a few times, still no luck.

Has anyone come across this issue?
[ZTE Axon 7 Guides, News, & Discussion] dnlilas:
You have to shutdown (power-off) the phone, then use the combination Power + Volume Up to get into TWRP (step 23).

An easier way: once booted in Mifavor, from your PC, type the command "adb reboot recovery" when connected with USB cable with your phone.
[ZTE Axon 7 Guides, News, & Discussion] indeed:
Power + Volume Up will lead to Mifavor, so will "adb reboot recovery" as if the recovery is still mifavor?

Is there anything that I might have missed?
[ZTE Axon 7 Guides, News, & Discussion] dnlilas:
'adb reboot recovery" when booted in System (Android, MiFavor) is just another way to check whether recovery is OK or not.

If it still boots to System, then the recovery is bad somehow, you will need to flash TWRP (signed tenfar TWRP) again.
[ZTE Axon 7 Guides, News, & Discussion] alidavarzani:
i will really appreciate you if you can help me! please!

after i run 'axon7tool -w recovery' my phone restarted and when i hold volume up and power nothing have appeared to screen. it means nor TWRP or stock recovery mode exists. when i wanted to reset factory nothing will be done because of lack of recovery mode.

please help me. i should notice that my bootloader is locked and also i should mention that i already updated my phone to nougat and then i downgraded to marshmallow again(a2017g b10)
[ZTE Axon 7 Guides, News, & Discussion] dnlilas:
So you have tenfar signed TWRP 3.0.2-2 recovery installed.

You have to shutdown (power-off) the phone, then use the combination Power + Volume Up to get into TWRP. When the ZTE logo comes up, you can unleash the Power and Volume Up buttons.
[ZTE Axon 7 Guides, News, & Discussion] alidavarzani:
no i did not. i have downloaded twrp-3.1.1-0-ailsa_ii.img from this link ''https://dl.twrp.me/ailsa_ii/twrp-3.1.1-0-ailsa_ii.img.html"

i tried what you mentioned but did not work.

thanks for your response. also i should notice that my phone gets hot and the battery goes empty very fast.

please do not leave me alone.
[ZTE Axon 7 Guides, News, & Discussion] dnlilas:
At start, you should not use latest TWRP version. You need the tenfar signed version of TWRP.

- download tenfar signed TWRP: https://www.androidfilehost.com/?fid=529152257862720446 = file A2017G-TWRPrecovery3.0.2.2tenfar.img

- copy A2017G-TWRPrecovery3.0.2.2tenfar.img into the same directory where axon7tool.exe resides

- make a copy of it with the name recovery.bin: 'copy A2017G-TWRPrecovery3.0.2.2tenfar.img recovery.bin'

- boot phone into EDL mode: 'adb reboot edl'

- issue the command 'axon7tool -w recovery'

- shutdown (power-off) the phone, then use the combination Power + Volume Up to get into TWRP (= press both buttons):

when the ZTE logo comes up, you can unleash the Power and Volume Up buttons.

Important: Once in TWRP for the first time, do not allow system modifications, keep system read-only.

Then follow the rest of the guide (unlock bootloader, upgrade TWRP to 3.1.1-0 version etc...).
[ZTE Axon 7 Guides, News, & Discussion] alidavarzani:
how can i appreciate you? thanks a lot.
[ZTE Axon 7 Guides, News, & Discussion] alidavarzani:
i have two other issues remained. 1) i bought my axon from china by A2017 B07 version and variant. then i updated to A2017G B10(marshmallow).till here every thing was cool. then i upgraded it to nougat. after that my operator(carrier) have been locked! i live in iran(middle east) then i decided to flash my phone in order to be fixed. at last i could install TWRP and downgraded to A2017G B09(i followed this thread ''[ROM/GUIDE] Full Updates / Back to Stock Files via TWRP (A2017U, A2017G, A2017)'')(thanks dnlilas) but issue not fixed.

i have been really exhausted! what should i do?? actually my network have been locked.

please help me. unfortunately zte did not show any response and there is not any zte service center in iran.

please do not leave me alone.

i followed this thread ''[ROM/GUIDE] Full Updates / Back to Stock Files via TWRP (A2017U, A2017G, A2017)''
[ZTE Axon 7 Guides, News, & Discussion] NikiFue:
I can't unlock bootloader.

When i'm in system, on step B8, adb says permissoin denied. When i go to TWRP my phone isn't recognised by the computer (i tried everything, drivers, reinstall adb, different computers/windows versions) no way...
[ZTE Axon 7 Guides, News, & Discussion] RedWave31:
Careful, the bootstack (modem?) seems to be the wrong one. When doing *#*#-------, the only baseband available is United States, the phone LOVES going on TD-SCMDA networks (aka not UMTS and NOT Europe!), I'm getting a lot of disconnected calls or no one can hear me... Wait until this is verified.

And YES, I flashed the A2017G_N_Modem from Feb 11.
[ZTE Axon 7 Guides, News, & Discussion] Volumetrik:
Hi, first a big thanks for this useful guide and job performed :good:

I don't want to be boring, I read the guide entirely and followed each steps. However, I am stuck at this point, below.

running Win7 32bits, installed latest Axon7tool v1.1.1, latest Xiaomi Flash Tool and have correct drivers QUSB_BULK (Zadig).

Every axon7tool command (like in the quote) launches axon7tool out the command window with no process. In addition, Device doesn't do anything, and doesn't reboot. I am not sure, but is there a corresponding command directly in the axon7tool without using the command window ? I thought that the following command "axon7tool -w recovery" could be achieved in Axon7Tool/Advanced Utilities/7-Fastboot flash boot/bootloader/recovery/edl (choosing recovery), isn't it ? I prefer to ask before bricking my device...:confused:

Thank you for your attention.
[ZTE Axon 7 Guides, News, & Discussion] dnlilas:
[MENTION=5575358]Volumetrik[/MENTION]

axon7tool is a 64-bit executable, so it cannot be run on your Win7-32.

I suggest you to refer to this new guide:

https://xdaforums.com/axon-7/how-to/guide-unlock-twrp-flash-toolkit-t3613871
[ZTE Axon 7 Guides, News, & Discussion] Volumetrik:
Thank You dnlilas. AFAIK, this tool is perfectly compatible with 32 & 64 bits, here the entry post:

COMPATIBILITY

FULL SUPPORT FOR ALL VARIANTS!

***The restore to stock option technically supports the A2017G but there are no EDL packages for it yet.***

32-bit & 64-bit Windows XP-Windows 10

If you are on Linux or Mac any Windows emulator should work

here -> https://xdaforums.com/axon-7/development/tool-axon7toolkit-t3573108

I check your link right now :good:

Edit: You Were Right about compatibility, command line doesn't work... :)
[ZTE Axon 7 Guides, News, & Discussion] Controllerboy:
I just updated the link to the signed A2017G TWRP version. The old one seemed to be offline.

https://drive.google.com/open?id=0B4UVMBVpYdVwcnlaZU1NRldoRjA
[ZTE Axon 7 Guides, News, & Discussion] RedWave31:
Do you run cmd with administrator rights?

Else, try PowerShell.
[ZTE Axon 7 Guides, News, & Discussion] Volumetrik:
Yes of course. I paid attention at every step and did them again, and again before asking :o
[ZTE Axon 7 Guides, News, & Discussion] RedWave31:
Hmmm, how does the executable behaves when you just launch it by itself?

- Does your device appear listed when typing adb devices?

- Does your devices also appear listed in EDL mode (did forget the command)?

If it doesn't, you might want to change your usb drivers using Zadig until your device gets it right.

- I had problems too, had to change the USB driver (removing qualcomm's one) several times before Axon7Tool could communicate with the device (so the process was killed instantly which looks like your case)
[ZTE Axon 7 Guides, News, & Discussion] Volumetrik:
Thank you for your care RedWave31.

In fact, I think I experienced a stuck, on something like that. In Win32 environment, the axon7tool commandline opens axon7tool and its dependencies outside...:eek:

My device was seen perfectly via adb drivers, in normal mode and edl mode. Impossible to flash anything because MiFlash doesn't see device in edl mode, whatever the driver used, whatever Zadig or not. I deeply think that 32bits is not compatible with theses softwares, it creates a mess :D

I completed the conversion by reinstalling a fresh x64 bits environment, thank you !
[ZTE Axon 7 Guides, News, & Discussion] spacebug:
Have you enabled unlock for bootloader in development menu?
[ZTE Axon 7 Guides, News, & Discussion] Volumetrik:
Yes, I enabled both options to get them connected togtether: USB & OEM Unlock ;)
[ZTE Axon 7 Guides, News, & Discussion] WizeMan:
I just want to say that I just managed to unlock bl and flash lineage os on my a2017g (from mm b10) using vmware fusion on a windows 10 x64 virtual machine on my mac :) Thank you [MENTION=4464865]Controllerboy[/MENTION] for this awesome guide.