yashsingh1/xdaforums huggingface dataset:
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] jordy787:
Can we still receive ota rooted with locked bootloader ? And can we still unroot?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] manu7irl:
The recovery image is based on TWRP 3.0.2-0, and it cannot read encrypted data from the phone.

I tried to flash the newer TWRP 3.0.2-2 with no luck I endded up with a black screen at recovery boot.

Is there any solution to that?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] chpimentelpr:
Axon 7 backup tools detected as virus?

:confused:

Does any one had problems download the zip file with the backup tools? My PC is detecting it as a virus..?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] peramikic:
False positive, in essence the tool has some trojan like behavior, but that's by design ;)

---------- Post added at 10:42 AM ---------- Previous post was at 10:38 AM ----------

The new TWRP image needs to be re-signed by [MENTION=540283]tenfar[/MENTION] so that it passes the locked BL, although i thought he used the 3.0.2-1 image from the other thread
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] manu7irl:
[MENTION=540283]tenfar[/MENTION] please signed them with the new TWRP this worthless without it.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] chpimentelpr:
Thanks for the fast response.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] manu7irl:
build a rawprogram0.xml

I think that I have found a valid Firehose for our device, could someone confirm??

I need now help building a rawprogram0.xml based on our partition table.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] ultramag69:
So, just to confirm, using the command " axon7root.exe -p " will root any version of rom?

I have a Chinese Axon 7 updated to B10. Will this work or will I have to reflash it and spend a few hours setting up again?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] stl-soldier:
I'm not sure if this works for B10, but me and several others on B20 had to format data after flashing the boot partition to avoid getting the password required screen. Be prepared to lose everything if you use this tool.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] manu7irl:
anybody to help?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] peramikic:
This looks like it's the QCOM testing firehose so i am almost sure that it will not work, the certificate is most likely not included in the production devices. You would need a ZTE signed one if they did their job right
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] manu7irl:
there are to files and they are not mbn, they are elf file.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] ultramag69:
I understand that, I was just confirming I needed the boot partition to flash.

I'm happy to spend time setting up for the reward of root, not because I just screwed up my phone and no longer have it working.

Sorry if this is basic stuff but shift work screws with you a bit and I'd rather ask these questions than find out after the fact. I sort of need a working phone and don't wish to have extra work that cuts into sleep time... :o

Cheers guys... :D
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] peramikic:
You will have a kernel /system mismatch which means most likely your wifi will not work. You would need a modded B10 boot.img to have this working right. Since we have no dump of original boot.img from B10, [MENTION=540283]tenfar[/MENTION] cannot make a modded one. What you can do is flash only the recovery and dump the original boot.img and post a link to it here and then tenfar could mod it for you
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] tenfar:
http://d-h.st/dgWW
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] (dylanger):
Yeah that's not the file.

Would you be able to disclose how you were able to obtain the elf?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] aPexalpha:
Wait, OP says there is a B10 for the Chinese model. That ROM isn't even on the ZTE site. Where did we find that one?

Want to upgrade my phone and re-root. Hopefully is fixes some issues with the phone. Wanted to go to B09 but now I see that B10 is already out!
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] tenfar:
B10 and B11 is beta test.

从我的 iPhone 发送，使用 Tapatalk
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] aPexalpha:
Oh okay! didn't realise. Where did you get them? I'll just upgrade to 9 later today. You're doing the lords work Tenfar

mhh can't get past the boot animation now after rooting b09 and flashing exposed and gapps. the gapps package did leave an error message. That might be it.

Wth, even restoring the standard boot and recovery don't fix it. Still stuck at the end of the boot anitmation with all the pictures. Help?

I flashed the regular B09 version and then used the tool to root it and flash Xposed. Not it doesn't boot. I wiped calvik and cache. Wiped data even and reflashed ...
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] peramikic:
Make sure you are following this HOWTO http://xdaforums.com/showpost.php?p=68206045&postcount=2 (this is with unlocked BL so YMMW)

Also, once your /system is modded, you can't flash back stock boot.img since it will fail sig verification and will not but until you restore full stock
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] aPexalpha:
I have the A2017. The Chinese version. I follow the tutorial from OP. I did it for B07 as well, just now with the same procedure on B09 I'm in a bootloop.

How do I do a full restore, or go back to B07?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] regenwurm16:
screwed my phone when trying to reflash backup

Hi all,

I'm having the EU A12017G B02 version.

When I tried to do the root with locked bootloader method the key combo didn't work for me because it always was recognised as Handset Diagnostic Interface(DFU) (COM3) by Windows 10 even though I installed the Qualcomm drivers.

Even after forcing the device to install with the Qualcomm driver tenfar's program always said "Image load failed with status:9"

The only way it worked for me was to use the adb command but this way I couldn't use TWRP because the data partition was encrypted.

So I tried to reflash my backup with the backup program but sadly it isn't programmed to flash the backup files created by it but flash only flash "recovery.img" files. So it flashed these non existent files and now my phones bricked because when booting the ZTE logo is only flashing for a second then the screen goes black and the red led is on.

Now when using the key combo it still won't be recognised properly and I can't recover my device now.

Can someone help me so my device get recognised properly and to recover it?

Kind regards
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] peramikic:
Well after all that there is no way to know what was messed up but make sure that you uninstall any DFU drivers already in there and to disable any AV siftware you might have running

Fully shutdown the phone by holding power button down for 10 seconds

Hold Vol + and - but do not press power button, instead just pop in the power cable. That should put the phone in the EDL mode (although it should be same as DFU)

If HS-USB device is not recognized, load the drives manually (you also might need to prevent W10 from looking for the drivers online just in case)

See this link for a how to on W10 http://xiaomitips.com/guide/how-to-manually-install-qualcomm-qdloader/

Once it shows up like that, unplug cable, turn off the phone fully and retry to see if the EDL gets loaded properly

If so, try tenfar's tool again to flash boot and recovery, although there might be a chance you messed up your partitions and would need a full reflash with QFIL and we do not have that for ZTE

If it works from there you can flash the rest
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] jogy2:
we have The firehose file and a full Factory image is this not enough?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] peramikic:
That's a generic firehouse signed with QCOM test certificate from what i can see with no partition layout file. And the B02 and China zips are not full factory images, they are full updates. They include only partitions that are changed in the update and cannot be flashed raw. Think of them as full size OTAs. So if you need a partition not included in B02, only way to get it is if it was dumped from the phone prior to it's corruption, especially if you full repart the phone
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] regenwurm16:
Hi peramikic,

I tried all of the above but I can't shutdown my phone because it will only reboot show the ZTE logo for a sec and go into EDL mode according to the device manager.

I tried to deinstall all drivers, reboot pc, do the key combo, press power button to reboot device. This way it went straight to EDL mode instead without the ZTE logo. It was then listed as "QUSB_BULK" instead of "QHSUSB_BULK" like stated in your linked website. When install the drivers it didn't bring up any compatible drivers even after installing the drivers from the first page here as the drivers linked at your post wouldn't dowload due to timeout. I then searched for the HS-USB loader 9008 driver under show all devices point and it installed. I then tried the above key combo power button plugin again but tenfar's program couldn't send files. This is just like with the inital setup where it wouldn't work with the key combo but only with the adb command from within android because then it installed as COM4 instead of COM3 and as far as I can remeber I didn't have to install the drivers manually here, and tenfer's program worked as expected. It seems as if the EDL mode is faulty in general on my device.

The only thing I can try is tomorrow evening on my Windows 7 laptop if it would work there (hopefully) otherwise I have a 450€ paperweight as I bought it in a Saturn store in Passau,Germany and I'm from Austria.

So do you have any further advice?

Kind regards
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] peramikic:
The EDL should be pretty much impossible to mess up. Also not sure what you mean by from adb command. Do you mean "adb reboot edl" If that was working and attaching to a different port, i think you are still not entering the EDL mode then. Maybe something with volume keys, or the device goes into the wrong mode (9006) instead of 9008. It would be best if you could power down the phone, maybe wait for battery to drain. On my Win 7 it shows up immediately as QCOM_HSUSB_QDLoader 9008 and it works even the way you do it by power cycling, so maybe something is up with your EDL mode. But maybe you Win10 drivers are all messed up now and phone goes to wrong mode so try it on that Win7 machine, just install QCOM drivers before hand
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] regenwurm16:
Thanks for your help again I will definitely try it on the Win7 machine. Did you use the driver installer provided by tenfar? And yes I meant the "adb reboot edl" command

Hopefully it's just a Win10 problem and it's solved easily tomorrow.?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] peramikic:
Yup, i used the one linked in OP. Good luck
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] aPexalpha:
I still can't get past the boot animation...

I tried restoring the original boot and recovery that I dumped using tenfar's tools. But even then I get bootloop. Tried to factory reste the phone using the stock (chinese) Rom to reset /data and /cache. Still... bootloop.

I did everything exactly the same way as with B07, but the fact that it can't even be restored using the original recovery and boot that I dumped suggests I did something wrong..

What is the easiest, if there is, way to just get my phone back to stock?

edit: putting the b09 update zip (from mega) on the SD only gives me: 'sorry, you can't sdcard upgrade' from stock recovery and TWRP says product name in build.prop is wrong and refuses.

edit: sideloading from original recovery says 'cannot read update.zip'.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] ultramag69:
Try re-downloading the stock rom(named update.zip) and try to install with stock recovery. Put the update.zip file on a small fat32 sd card if you have one as I find that sometimes the larger sd cards, usually formatted exfat , won't be read in stock recovery...
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] aPexalpha:
You think my 64gb sd card can't be read by the recovery?

I already tried downloading the official B09 update. Extracting the update.zip inside and placing that in the root of my SD card. It simply says 'can't start update'. I guess I could try finding another SD card, if I still have one.

But simply putting the update.zip in the root of the SD card and starting the 'SD' option in recovery should work, right? I was unpleasantly surprised when it kept saying 'can't start SD'.

Okay, took a 8GB SD card. Formatted it FAT32 and put the update.zip from the b09 zip file from mega in the root. Still says 'Sorry, you can't sdcard upgrade' in the official recovery.

I seem to be running out of options...

Would it be possible for me to flash someone else's clean TWRP back up of a Chinese model?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] strifej:
TWRP encrypted data

Hi, I'm using the newest TWRP tenfar uploaded a few days back but still getting the encrypted data during TWRP. I can boot into the phone perfectly fine though.

So, I originally followed the instructions at the bottom of post 1 and got the boot/recovery flashed. I saw the encrypted data problem that others had then read more and then flashed the updated twrp recovery, but still seeing the encrypted data prompt.

Does the newest TWRP fix that?

Thx

Oh, also, if we install Pierre's super user app, do we still need SuperSu or anything? I ran root checker and it says I have root, so I'm assuming I don't need to do anything further.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] DrakenFX:
Go to developers option and enable OEM unlocking that will let you do what you want.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] ultramag69:
Don't know if anyone else experienced this but rooting the B10 firmware of the A2017, it losses the ability to connect to wifi. Tried flashing a few times, could be because I've been up for over 20 hours but B09 root works.

Just checking if it's me or another problem...
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] magicdio:
me too ,b09 is perfect, b10 can not use wifi.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] ultramag69:
Thanks, thought it might be me but wanted to check. Glad to see that I'm still doing it right.:D

But thanks for tenfar for providing this tool.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] regenwurm16:
Hi peramikic,

I appreciate all your help but I just tried on my Win7 laptop to first install the Qualcomm drivers as administrator, then did the key combo, put in the cable to the USB port and it was only recognised as "QUSB__BULK" and when I say it should skip checking Windows Update for drivers it says it couldn't find any preinstalled drivers. So I restarted PC, tried it with force driver signature off option and install the Qualcomm drivers anew. Then restart again into this mode and try to connect device it again but same problem. After force installing the driver Qualcomm HS-USB QDLoader 9008, restarting device and PC into driver signature off mode and starting tenfar's tool it's still not able to communicate.

What do think would be the best way to handle this now? Write ZTE support, explain everthing to them and hope they can help (most probably only by sending in the device and charging me money I suppose) or go to my retailer and say I want to exchange the device because it's not working anymore and hope it will get refunded/accounted on the new device instead of get sent to ZTE to repair and wait a few weeks again.

I suppose there's no difference how I press the two buttons (e.g. first + then - or vice versa or both at the same time).

It's really driving me crazy that this device won't go to proper EDL mode, get recognized properly or anything.

Nevertheless thanks for your help and kind regards
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] awsomjgp:
Whenever I download the backup zip and try to unpack it, it says its corrupted. How do I fix it?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Timeey:
I'm a bit confused. Hope someone can help.

Whenever I try it I only get "Image load failed with status: 9" on my European device.

Doesn't matter if backup or root. I used the latest Qualcomm driver and forced to use the QDLoad driver.

Tried it on two different systems already. Win 10 and clean Win 7 wit AV turned off.

Any other idea what could cause this behavior?

Thanks a lot!
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] jim262:
Didnt work for me

I got the B20 version and followed this procedure. Everything appeared to go fine and it installed TWRP in the rceovery.img. But backups with TWRP would fail at 99%. Hence, the backups were no good and couldn't be restored and when I tried to run programs that required root, they would fail saying I didn't have root. I then tried to flash SuperSU. The flash failed and after that it would not boot. I installed stock recovery and did a system recovery from the stock recovery, but the device would still not boot past the ZTE logo. Apparently they have made some security changes to the current software.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] manu7irl:
try in twrp

adb shell
reboot disemmcwp

the phone will reboot

turn it off then go again in twrp

then try to backup

tell us what it says now...
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] jim262:
Can't, already returned the device and got a new one.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] aPexalpha:
I can't boot, lol. Stuck in bootloop. I'll have time to check it out again tomorrow. Just need to know how to get it booting or back to stock or whatever.

Can I flash one of those official ZIPs with TWRP? It kept saying the device name is not correct but I could remove that check from the updater-script file.

The official recovery won't do anything with the ZIPs on my SD.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] manu7irl:
The elf was from github for Android platform knife knife.

https://github.com/kiddlu/android-platform-knife/tree/android-L/vendor/qcom
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] strifej:
Tenfar, is this version supposed to fix the twrp encrypted data issue? What version should show up in TWRP? Thx
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] manu7irl:
I did try this twrp this is the new version, 3.0.2-2 but signed so you can use it on locked bootloader.

On my device I format the data twice once on stock recovery the on this twrp build before booting it up. Then after the first boot, I returned in the twrp recovery and still got the password prompt...
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] sipe1:
Hello all. I was able to root my ZTE Axon 7 A2017U Quartz Gray B20 bought from best buy. I followed this guide step by step and it worked from first time.

Remember to backup your boot and recovery, and when you get to TWRP first thing backup all partitions and copy to PC.

I got decyption failed with TWRP, so if someone has guide to fix it or bypass it would be perfect.

I tried with TWRP 3.0.2-0 and 3.0.2-2.

Xposed installed with FlashFire.

Thank you [MENTION=5193676]mmamedov[/MENTION] for perfect guide, and ofcourse [MENTION=540283]tenfar[/MENTION] for making perfect tool.

Here are screenshots.

https://imgur.com/a/zjFr5
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] aPexalpha:
Could someone upload a (clean) twrp nand back up from their A2017? I think the stock recovery just isn't going to cut it with restoring my phone and TWRP says the zips from Mega, B08, B09 etc are corrupt.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] MaxRink:
Hey [MENTION=540283]tenfar[/MENTION], any idea on how long u need for B03?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Timeey:
Finally figured it out. No idea what really made it but finally it worked.

This did the trick for me:

Install Google SDK for the ADB driver.

Use adb reboot edl to enter the edl mode

It feels like booting with Vol + & - booted to some "different" edl mode (port was different). There was always Status 9 when I entered that way.

Hope this helps someone
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Flaîm:
could someone briefly explain how this rooting process works?

i thought that if the bootloader is locked you can't flash anything.

on top of that after reading some of the posts in the axon7 subforum it seems that the partitions are encrypted and once you flash something you might brick your device and/or stop recieving ota updates.

and what happens when i decide to install an update? is the phone going to be unrooted?

all the questions, just because ZTE still hasn't unlocked the bootloader for the A2017G :(
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] KyJelly69:
I think he has the firehose. whatever that is.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] peramikic:
[MENTION=4061250]regenwurm16[/MENTION], see above seems exactly like your problem, not sure if you can still do the "adb reboot edl" though
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] regenwurm16:
Thanks peramikic.

That's exactly what I figured out myself before trying to restore the backup (that's how I managed to backup in the first place) but I'm not able to boot up anymore so I'm just returning it and aswell got the notification from Amazon that it's been sent (I ordered from two companies to get it as soon as possible) and should get to me tomorrow (I'm on vacation now so it's not important when it arrives) and it's 30€ cheaper and I don't have travel by train when there's something wrong which isn't that bad but time consuming.

So thanks for all your help but obviously the European version of this phone goes into a different mode with the key combo than the US version.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] aPexalpha:
Man. I just can't get this phone to boot @#%#@!!

I put my own boot and recovery back, that I backupped with the tool by OP.

In the stock recovery I figured I'd flash the official B09 update from the Mega mirror.

But ADB keeps saying: can not read zip file. This seems to be a problem that many people (still) have using adb, judging from the search results online. I updated adb to 1.35. Re-installed the drivers. renamed the Zip file. Didn't rename the zip file. Extracted the 'update.zip' inside the zip on Mega. Didn't extract it. All the same: Cannot read zip file.

I've tried putting the ZIPs on my SD card. Both the internal and the external one. Simply named 'update.zip' in the root. But in stock recovery I get 'Sorry,you can't sdcard upgrade' when I select that option.

When trying to flash the ZIP with TWRP it says 'ZIP file is corrupt'. Or it says the Name in build.prop is wrong.

Does anyone have something else that I could try?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] diablo900t:
I've been following this thread, but have been hesitant to go through the steps and root my A2017U. I mainly want to root so I can use Xposed and Amplify / Greenify. This phone is my daily driver, so I don't want to mess it up, are there fool proof steps anywhere?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] JohnnyHempseed:
I'm a bit confused... Is the zip posted in the OP for US phones working or not?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] tenfar:
no report yet。
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] djona12:
[MENTION=540283]tenfar[/MENTION]

Great work for those who don't want to / can't unlock the bootloader (Chinese and European version :().

I understand this changes the recovery to TWRP, right ? So does it permit to flash things like xposed frameworks or the locked bootloader still prevents that ?

Also, i read about someone asking for an European version of this root method, any news on that ? thanks !

EDIT : if an European version shows up, i'd be happy to try it out once i get my Axon 7 !