yashsingh1/xdaforums huggingface dataset:
[ZTE Axon 7 Guides, News, & Discussion] hboa:
Connect failed no devices/emulators found

Hi,

After having successfully finished section A, I went on to section B, but here trouble begins:crying:

When phone is connected and startet, Device Manager shows "ADB Interface" under USB Devices. When booting to EDL it changes to QUSB_BULK. But when I try run the command "adb push aboot.img /sdcard/" I get an error in ADB, stating "error: connect failed: no devices/emulators found". Does anyone have any idea how to proceed from this?
[ZTE Axon 7 Guides, News, & Discussion] vizzze:
Try "adb devices" if your device is listed.

You can also do those steps from twrp
[ZTE Axon 7 Guides, News, & Discussion] hboa:
I've tried that and first time it finds a device. After trying to run "adb push aboot.img /sdcard/", I get this when running "adb devices": "List of devices attached" and nothing more:confused:

I've tried booting to TWRP and installing with TWRP open, but this gives me the same result.

I'm a bit lost in what to do in TWRP. Should i load ADB Sideload?

When in TWRP, the device is listed as ZTE A2017U. Is this correct?

UPDATE: I've resolved the problem. Found out it's not enough to just Install the model specific modem. You also have to install the Universal bootloader (https://www.androidfilehost.com/?w=files&flid=148464). The guide doesn't mention that, and it probably isn't necessary to achieve unlocked bootloader.
[ZTE Axon 7 Guides, News, & Discussion] gamer864443:
1 more Problem. I try to unlock my Bootloader but now i cant go into Twrp (Key verification fail)

My Kay isn't Wrong. I do type my right Key.
[ZTE Axon 7 Guides, News, & Discussion] Controllerboy:
You can just click "cancel" and you can use TWRP just fine. Choose "format data" if it persists. Remember to have the other files needed on your MicroSD since this will delete all data on your internal memory.
[ZTE Axon 7 Guides, News, & Discussion] gamer864443:
I try to install Lineage OS with Bootstack and everything eals. but i cant Reboot the System. Everytime i had the same Problem if i try to reboot thers 3 blinks of the LED and nothing more.

What i do wrong??? i have a a2017g Phone. Also i try RR Rom but nothing.
[ZTE Axon 7 Guides, News, & Discussion] gregou:
Hi,

I successfully installed Lineage OS on my Axon 7 (A2017G), but wish to go back to stock android Marshmallow.

Anyone know how to proceed ? Because i read somewhere on XDA that we can't downgrade for this model as the official Nougat update by ZTE isn't release yet.

Any ideas ?
[ZTE Axon 7 Guides, News, & Discussion] ileikpi:
Try going into TWRP, wipe, advanced wipe, select data, tap repair or change file system, choose change file system, then select ext4 and swipe to change. "Data" should be set to f2fs by default. You need to reformat it to ext4 as lineage and RR doesn't support f2fs at the moment.
[ZTE Axon 7 Guides, News, & Discussion] erarou:
You can downgrade to follow this thread. Worked fine for my device.

https://xdaforums.com/axon-7/help/axon-7-a2017g-to-stock-lock-bootloader-t3551615
[ZTE Axon 7 Guides, News, & Discussion] thebookman:
Install TWRP, Unlock BL , Flash Custom ROM Querstions

First, let me say thanks for the detailed guide, before finding it I was quite confused by the mass of information on this topic.

I have carefully followed each of the preliminary steps in the Guide.

When I get to "14) Type "adb reboot edl" and hit enter. Your device will reboot to EDL mode. It appears to be off, but it is in fact in EDL mode."

in the CMD window the following appears:-

Android Debug Bridge version 1.0.36

Revision 84e3321d5db3-android

Then follows list of options, eg. -r, -d, -e -s<specific device>, etc

When I do "15) Go to Device Manager on your pc and verify your Axon 7 is listed as "QUSB_BULK" I find that "Android Handset ADB Interface" has disappeared and no reference to "QUSB_BULK" can be found.

When I then jump to "NOTE: if you have problems connecting to your phone as QUSB_BULK, download Zadig and replace your drivers with WinUSB ones. If axon7tool doesn't recignise your device even when connected as QUSB_BULK, try killing adb.exe via task manager before retrying."

Zadig fails to install the WinUSB drivers.

If I return to CMD window and type "axon7tool", the following message appears:-

"axon7tool is not recognised as an internal or external command, operable program or batch file."

I am working on Axon 7 2017G (Australian Version) updated to B10, Android security patch level, 1 December 2016. Stock Android v 6.0.1

So my questions are:-

1. When connecting phone to PC it automatically connects as "Install Driver". Is this the right connection?

2. I cannot get the phone to appear in Device Manager as "QUSB_BULK" and Zadik fails to install the WinUSB drivers. How to fix?

3. At step 16 in the guide, should I type "axon7tool.exe -r gpt boot recovery" instead of "axon7tool -r gpt boot recovery" ?

I've spent the best part of a day trying to sort this out, so I hope a member can assist. Thanks.
[ZTE Axon 7 Guides, News, & Discussion] deluxxx:
Same here, Error 7 while trying to flash the ROM. I had an unlocked Cyanogenmod 13 before. I tried it with the tenfar TWRP and the newest one, both give the same Error. Any ideas?
[ZTE Axon 7 Guides, News, & Discussion] vizzze:
passing from CM13 you should first flash the experimental version of Lineage
[ZTE Axon 7 Guides, News, & Discussion] deluxxx:
Thank you, this was the answer. Also i did not have the Universal Bootloader. Tricky process.
[ZTE Axon 7 Guides, News, & Discussion] Shotgun4:
Axon7Tool Error

I get a axon7tool is not a valid win32 application error. In command promt it then states access is denied.... Any one have any ideas on this ??
[ZTE Axon 7 Guides, News, & Discussion] Controllerboy:
That's because it's an app developed for the 64bit version of windows. Borrow a friend's computer, you need a 64bit device for this.
[ZTE Axon 7 Guides, News, & Discussion] Shotgun4:
I was running it on the 64bit .. My mistake was that I tried to run it as a solo application and not a cmd command - stupid me :confused:
[ZTE Axon 7 Guides, News, & Discussion] Shotgun4:
Now after the flash of TWRP and the command port says successful, when i unplug my device power down and attempt to boot into recovery, i get a black screen. which tells me the recovery img did not flash properly.. any ideas ??
[ZTE Axon 7 Guides, News, & Discussion] johnlahm21:
Updater process ended with ERROR: 7

Hey everyone :)

First let me thank you for this great guide. successfully unlocked bootloader.

Just tried to install LineageOS, however, i get the error described above.

axon7.verify_trustzone("TZ.BF.4.0.1-00315") == "1"

Reading a little bit it seems that my bootstack is the cause for this.

The install of the Nougat bootstack from the first post worked just fine, but I cant install linageos afterwards.

its a 2017G on B10

Any help is much appreciated.

Thanks in advance.

Johnny

EDIT:

Is it possible that I have to use the universal bootloader from here??

EDIT2:

Okay, after installing the above mentionmed bootloader and then continued with A2017G Modem and GApps, i was able to successfully install LOS14.1.

Unfortunately one thing is strange:

When booting up i get the ""Your device software can't be checked for corruption. Please lock the bootloader." " message.

I Guess this is normal due to the unlocked bootloader, however, i thought with installing custom rom and bootloader this message would not be present?

EDIT3:

Actually, i am not quite satisfied with lineage ^^"

If I want to go back to stock, and keep (or reinstall root)

What should I do?

I can only find OTA and zip files for B09 ^^"

kind regards
[ZTE Axon 7 Guides, News, & Discussion] iNaruX:
easy. set twrp system to read only (checkbox in mount)

do a full wipe data cache system. format data.

flash bootstack and system from here

https://xdaforums.com/showpost.php?p=68873485&postcount=3

im currently running a2017u nougat b15 on my a2017g using this method :)
[ZTE Axon 7 Guides, News, & Discussion] Choose an username...:
Additions to the post

[MENTION=4464865]Controllerboy[/MENTION] I've just rooted my phone and (no offense to you or anyone) from all the small bits of info that i found lacking over every post, it feels like I just installed iOS on a Nokia 1100...

So, could you add these things to the main post? Every problem I had on the way had already been asked to every OP on the other posts, so it would be more helpful if you just condensed all the steps in your post. BTW i have (had, more like it) an A2017G with B10:

- If your phone doesn't pop up as QUSB__BULK over EDL mode, then it's probably likely that you had installed the driver that came with the phone (there was an option to install a driver that seemingly did only dev features whenever you connected the USB wire). The device will pop up below Ports (COM & LPT) on the Device Manager (win10 ofc) as Qualcomm something-something USB device. You only have to uninstall the driver if this happens (Programs and Features - ZTE driver). I was dumbfounded when this happened to me :p After this, Zadig was needed in my case, because the icon had a yellow sign

-axon7tool fails with a what() and STD-exception and whatnot - if you installed the Zadig driver, do this:

>go to Device Manager, right click QUSB__BULK and Uninstall

>adb reboot edl

>install Zadig winUSB driver

>reboot phone via power button (~10 secs)

>adb reboot edl

>axon7tool -r gpt boot recovery

That should do the trick.

-after unlocking BL, installing TWRP and all, when you want to install LOS14.1, LOS refuses to install with error axon7.verify_trustzone - to fix this you have to install the UNIVERSAL BOOTLOADER BEFORE THE N MODEM. I didn't find any mention of the A2017X_B15_UniversalBootloader file in this post. So:

After you get access to TWRP you have to:

>Install univ. BL (A2017X_B15_... .zip)

>Install A2017G_N_modem.zip

>Install LOS14.1 zip

>Install optionally Gapps

>Flash TWRP img

I think that's all. Thank you for the really nice guide. I'm in no way criticizing your work or the devs' work here, but I want to help people who might have the same errors than me in the future. ;)
[ZTE Axon 7 Guides, News, & Discussion] joaste:
Thanks for these extra clarifications. They helped to get TWRP on my new A2017G.

As already mentioned, there is a lot of information scattered around on xda for the Axon 7, and much of it relates to the A2017U, not the G. It is quite difficult to get a clear picture so sorry for these perhaps basic and "already asked" questions.

I currently have twrp_rec_tenfar.img installed (after following the OP). I was about to flash the most recent recovery then read that this would fail since I

have not

unlocked my BL.

I just want to be able to root my A2017G (to get e.g. Adaway, viper, etc...). I would prefer not to unlock the bootloader for now.

1) Is this possible?

2) If not possible, is it correct that once BL unlocked, it is permanent (i.e it cannot be re-locked, at least on A2017G)?

Thanks for any help!

EDIT 1: by the way, if I want to restore the stock recovery, how do I go about that (I have the three backups made following the OP)?
[ZTE Axon 7 Guides, News, & Discussion] joaste:
Anyone?

And concerning restoring the stock recovery (my bootloader is still locked!), am I correct in assuming that I can use the "axon7tool -w recovery" command through adb, replacing "recovery" with the name of the recovery backup file made following this command: "axon7tool -r gpt boot recovery"? Or do I have to also flash the 2 other backup files made (i.e. gpt and boot)?

Any help would be appreciated!
[ZTE Axon 7 Guides, News, & Discussion] Keiler90:
Please open a new thread for your question. This guide is for bootloader unlocking and twrp.
[ZTE Axon 7 Guides, News, & Discussion] zroice:
thanks alot, managed to root a2017g with this and the axon7root (not the axon7tool) utility.

..but MAN these b*tches... how difficult and time consuming this process is.. compared to other phones. F*k ZTE
[ZTE Axon 7 Guides, News, & Discussion] joaste:
Out of curiosity, did you also have to unlock your bootloader or were you able to only root it?

Thanks!
[ZTE Axon 7 Guides, News, & Discussion] Xearin:
Can't get past TWRP

Hello all,

First off great work on the guide, and all the hard work put in to get this device unlocked, rooted, etc. Following the steps in the guide everything goes well, drivers are correct, phone is detected and all seems well, but....

I do all the steps up to flashing TWRP. But when I load the TWRP recovery my device just kicks into DFU mode, and TWRP is nowhere to be seen. The phone boots fine, flashing back the recovery backup gets me my stock recovery back, but it's not having any TWRP (tenfar 3.0.2-2, 3.0.3 ailsa_ii, 3.0.4 and 3.0.4-1 ailsa_ii). It all results in recovery becoming DFU mode.

Any one any ideas? My device is an A2017G on the B10 update.

Cheers,

Xearin.
[ZTE Axon 7 Guides, News, & Discussion] joaste:
You tried the twrp_rec_tenfar.zip available through the link in item 6) of the OP, right?
[ZTE Axon 7 Guides, News, & Discussion] Xearin:
Yes I have, that is the Tenfar singed 3.0.2-2 one as far as I know.
[ZTE Axon 7 Guides, News, & Discussion] joaste:
Well, the one from the link does not mention 3.0.2-2.

I would try again, making sure that debugging is on and oem unlock is on in dev settings.

I would also re-download the signed recovery from the link on the OP under item 6), extract it and rename it to recovery.bin.

I'm not a dev and just got started with this phone so can't heko you further. If that doesn't work, you'll have to wait for more experienced help.

Good luck!
[ZTE Axon 7 Guides, News, & Discussion] Xearin:
Joaste, thank you a lot for your help :). Managed to get the sucker working. I found out while doing as you suggested that I wasn't properly changing the .bin file extension (I opened in notepad, and switched the name to .bin as it would save as a .bin, but apparently broke the package).

Cheers!

Xearin.
[ZTE Axon 7 Guides, News, & Discussion] aLexzkter:
I want to stick with B10 for now on my A2017G device, but I want the latest TWRP.

I just unlocked the bootloader but that thing I quoted is confusing. Can I just go ahead and flash the latest TWRP and keep using the stock rom or that's only possible on nougat based roms?

Thanks in advance..
[ZTE Axon 7 Guides, News, & Discussion] lafester:
Yes but I would read the twrp thread first.
[ZTE Axon 7 Guides, News, & Discussion] aLexzkter:
And what thread would that be?
[ZTE Axon 7 Guides, News, & Discussion] lafester:
Official twrp thread in dev.
[ZTE Axon 7 Guides, News, & Discussion] zroice:
had to unlock or it wouldnt boot
[ZTE Axon 7 Guides, News, & Discussion] joaste:
Thanks for the confirmation.
[ZTE Axon 7 Guides, News, & Discussion] aivilon:
I stuck at part 7... Keep getting an Error: 7 while trying to install over TWRP -> Install :crying:

any suggestions how i can install LOS 14.1?

I will trying to install aokp now...

#EDIT 1:

I installed the A2017X_B15_Universal_Bootloader from here

Then i installed LOS as in the guide

Then i installed A2017G_N_Modem

Now i getting an Error while booting: "Your device software can't be checked for corruption. Please lock the bootloader."

Anyway, the phone will boot, but the Error is not nice (*trumpvoce*)

#EDIT 2:

Backed up LOS

Wiped System, Dalvik, Cache and tried to install aokp...Error: 7

Restoring and staying @ LOS for a Moment lol...
[ZTE Axon 7 Guides, News, & Discussion] h3ndrik:
what about flashing "universal bootloader"? i had some "Error 7 [...]" when installing the latest LineageOS which went away after i flashed the "universal bootloader" and then repeated the steps starting with flashing the modem again.
[ZTE Axon 7 Guides, News, & Discussion] aivilon:
I did exactly this. Flashed universal, flashed N Nougat, flashed ROM. No Error 7 Anymore. But the Error, that the device canno't check the bootloader for corruption, i should lock it again

After i made a backup, i did exactly the same again for AOKP. Flashed universal, flashed N Nougat, flashed AOKP -> Error: 7
[ZTE Axon 7 Guides, News, & Discussion] h3ndrik:
yes. i think an unlocked bootloader is supposed to display some kind of warning. mine does that, too.

i wonder if it's possible to relock the bootloader and still have it boot Lineage. (is there something like `fastboot oem lock`? <- might wipe all your data)
[ZTE Axon 7 Guides, News, & Discussion] bluestudy:
Definitely don't try to relock. Locked bootloader will check for stock software, and you'll fall to boot.
[ZTE Axon 7 Guides, News, & Discussion] aivilon:
Yep... I think too. Not nice but acceptable
[ZTE Axon 7 Guides, News, & Discussion] lafester:
Noticing a lot of people relocking while not stock and getting into trouble.

Don't do it.
[ZTE Axon 7 Guides, News, & Discussion] yop39:
stucked with stock recovery

Hi guys,

I red carefully this and many other tutorials, but after the "axon7tool -w recovery" command where the a2017g should reboot to TWRP, it reboots to stock recovery (tried with B05/08/10, with different USB ports on linux and win10). I rooted a lot of devices before, but this phone is driving me crazy. Did someone got the same problem ?
[ZTE Axon 7 Guides, News, & Discussion] silverovercrash:
Hi All,

the first time I really need help on TWRP.

I used the instruction on first page. But Flasehed "G" modem file in addition. Finally I'm on TWRP 3.0.N1-1.

Waht I have to backup to restore the same point when is an problem with the system.

At this point, like to image to SD card. What to choose? Cache,Datat (excl.storage),Recovery,System,System Image.

If I choose all, Backing up Recovery, Backing up System, Backing up System Image ...and then result is...Backup Failed. Cleaning Backup Folder.

If I install TWRP "twrp-3.0.3-1-ailsa_ii.img" or "twrp-3.0.4-1-ailsa_ii.img" I loose control. Drive "E" is not monted...something about wrong arguments. The only help is to install over it the "[ROM][OFFICIAL] Resurrection Remix v5.8.2 [Axon 7][NOUGAT]" because I'm on Ressurection rom. This repairs the mont problem and I can boot. BUT sitll I hve non backup.

It was always simple. But this time I lost. I hope someone can help. Thanks in advance.
[ZTE Axon 7 Guides, News, & Discussion] aivilon:
Did you take the TWRP from the Guide?

Anything worked fine for me, no such mistically behavior...
[ZTE Axon 7 Guides, News, & Discussion] silverovercrash:
Hi together,

is there a way to go back to pure stock version? How please? I think after testing the best option is to work at the moment with stock rom. But I like to root it. No custom rom for first. The possibility to switch On / off by time is missing in custom roms and in my opinion the sound is much better on stock. So I like to go back to stock B10 is the last version, I have seen, have TWRP for image backups and root for titanium. Would be great to get a wokable instruction. Thanks in advance.
[ZTE Axon 7 Guides, News, & Discussion] dschafar87:
I have the "Failed to connect" error in adb, my device shows up just fine, even as QUSB_BULK when changed into edl mode, but the the axon7tool can't find my phone. Adb can't either.

Drivers have been changed by Zadig. I have an a2017g with B10 version on it.

Thanks everyone
[ZTE Axon 7 Guides, News, & Discussion] dschafar87:
Does nobody have any idea?
[ZTE Axon 7 Guides, News, & Discussion] Keiler90:
Try on another PC? Disable your anti virus protection?
[ZTE Axon 7 Guides, News, & Discussion] joaste:
And you are sure oem unlocking and USB debugging are on in developer settings?
[ZTE Axon 7 Guides, News, & Discussion] dschafar87:
It did work now, changed the pc, thank you!
[ZTE Axon 7 Guides, News, & Discussion] The Great B:
Are there any md5 hashes available or something like that for the files used by this guide? Isn't checking the integrity of the files important before flashing them onto your phone?
[ZTE Axon 7 Guides, News, & Discussion] VoidrayX:
Could you include the steps for updating to Nougat and still remaining rooted after unlocking bootloader and TWRP pls since it the nougat update for A2017G has been released. Thx!
[ZTE Axon 7 Guides, News, & Discussion] Keiler90:
I don't think there is a method to root nougat already..
[ZTE Axon 7 Guides, News, & Discussion] keessonnema:
Why not? Just flash latest supersu does root nougat roms!?

There's a stock image in the updates thread.
[ZTE Axon 7 Guides, News, & Discussion] WesTD:
is this guide working on A2017G Nougat? Anyone tried?
[ZTE Axon 7 Guides, News, & Discussion] keessonnema:
Can't flash twrp after I ****ed up with stocksystem

Hi guys,

I accidentily flash stocksystem without rooting afterwards, so the stock recovery came back overriding TWRP.

I'm trying to flash TWRP now via axon7tool.exe, but it's not working.

It's writing and the tool says it succesfully flashed, but the stockrecovery is still there.

How can I fix this?
[ZTE Axon 7 Guides, News, & Discussion] Fs_z_m:
I tried it your method to install the twrp, when i tried to start the recovery mode i got a complete black screen and i wait for ages! any solution cuz now i lost even my original recovery mode

[MENTION=8117543]Fs_z_m[/MENTION] Moderator Edit;

Please don't quote the entire OP when you post.

It is unnecessary and can cause page load issues for members on limited bandwidth or when mobile.
[ZTE Axon 7 Guides, News, & Discussion] The Great B:
Replacing LOS with its official version?

Since the OP is now older than a month and there are hundreds of posts in this forum, which is impossible to oversee, I am wondering which of the files in the OP can be replaced by their newer/official equivalents.

From what I've read, it is not possible to directly flash the official LOS. Can someone please explain why? Is there any guide to updating from the inofficial LOS to the official one?

I have never flashed my phone before so please foregive my lack of knownledge.

Any help is appreciated, thanks a lot!
[ZTE Axon 7 Guides, News, & Discussion] S0wL:
Hey guys,

I updated my axon to official nougat ( before nougat i had b10 rooted with twrp and I applyed the nougat official update through twrp, unfortunately I cannot live without my xposed modules so I decided to go back to b10.

I have the bootloader unlocked, but after I flashed nougat my twrp recovery got replaced with the factory one. For some reason I cannot boot the phone into fastboot to flash twrp again so I can revert back to b10.

PS: I tried to downgrade with applying the update.zip b10 package from stock recovery and for some reason it doesnt work.

I tired this method as well with no luck:

"

* Enable USB Debugging

* 'adb reboot edl' (I thing this only applies to european models)

* Put twrp image next to axon7tool and rename it to "recovery.bin"

* Use axon7tool to flash the recovery image: 'axon7tool -w recovery' ( Remember to use zadig if you run into problems communicating with your device )"

This is how my developer options looks like
[ZTE Axon 7 Guides, News, & Discussion] The Great B:
Connecting via winUSB fails

I am having trouble connecting my device via winUSB to my Windows 7 Computer. Having installed the winUSB driver (and uninstalled the ZTE driver), the device can't connect to the computer at all and thus not to adb. If I use the ZTE driver, the devices name ins not QUSB. I have tried every possible driver multiple times but I does not work.

Assuming I reset my device and uninstalled all drivers: Which drivers do I have to have install and which not? Which connection mode (to PC software or just charging or MTP?) do I have choose when prompted by the phone?

Thank you for any help you can provide!!
[ZTE Axon 7 Guides, News, & Discussion] iNaruX:
There is no need to install drivers, they should be installed automatically. MTP / charging does not matter for QUSB.

QUSB_Bulk is the EDL driver so you should definitely first boot to EDL mode. The QUSB_Bulk ones should be replaced by Zadig.