yashsingh1/xdaforums huggingface dataset:
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] xtermmin:
Check Step 5. The code box has the flags for backing up original recovery and boot.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] StoneTrapper:
The issue with this is while it enables the tool to run it doesn't flash a TWRP that can be booted into, though it does erase the original. See the earlier discussion that there are some variants of the G model that may use a different partition table/offset for partitions. Because of this difference despite making backups with the tool they can not be successfully recovered, hence the phone is stuck in DFU mode.

You can not enter EDL mode from DFU mode.

Currently there is nothing that can be done from DFU mode and the phone is too thin to be an effective doorstop.

In regards to your earlier post, even if everything direction is followed exactly from tenfars directions it is very possible for some G models to be bricked permanently.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] shirakani:
Yeah, unfortunately I cannot speak for the G model as I don't have one.... In a way it would make sense the G model is slightly different as it seems that the China and USA model are basically identical (as they cater for the same bands). But since the G model has to cater for more LTE bands, its different ENOUGH to have a few monkey wrenches in.

We probably need an official bootloader unlock for the G model that isn't based on the U model, and further work can be done from there.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] xtermmin:
Think you have the letters mixed up. The Chinese and G models are the similar ones, as they have similar bands (1/3/7/38/39/40/41 & 1/2/3/4/5/7/8/19/20/28/38/40/41, respectively), and are using similar MiFavor builds (have ~6 MiFavor themes), while the U model has a bunch of bands that are only used in North America (1/2/3/4/5/7/12/13/17/20/29/30/25/26/41) and only has one MiFavor theme plus a "Stock Android" theme (not in C/G models).
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] DrakenFX:
Well if you are talking about themes , i have the U and i have All themes working with my device.....and been honest i don't know WHY the U doesn't have all the themes as the G and Chinese, really doesn't need any mayor tweak or any thing out of this world to get them to work,

Is just Grab Themes and Move to Themes folder > Set permission > Done , there is no need to reboot.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] shirakani:
No, I didn't have them mixed up. Look again or check using willmyphonework.net

The Chinese and U models are the same while G is the one that supports Band 28 here in Australia. I know I'm right because the phone I have DOESN'T support Band 28 and LTE doesn't work at all in some areas.

Additionally the Chinese variant can use the U model's unlocks without any issue while the G variant requires a bit of foolery. One of the things I did shortly after unlocking my C ver bootloader was flash the U System ROM for that specific 'stock android' theme as I DESPISE MiFavor4.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] xtermmin:
The U model isn't even on willmyphonework.net :x
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] shirakani:
I'm going by the fact that the model I have in my hand does not support Band 28. That plus the fact that of all the flashing toys available on this forum the U ver kit has worked flawlessly w/ the china variant while the G version is the one with the compatibility issues is more than enough to tell me the china and U vers are pretty damn close to identical if not identical.

The real proof is in the bootloader unlock flash, it 'just works' on the china variant despite the fact its made for the U variant. I can also take a U ver system (not boot or recovery) flash and dirty flash it, and it will still boot and give no issues. Try the same w/ the G system and I can't get it to boot at all.

Either way, proof is in the pudding... The china and U variants are most likely identical or very damn close while the G variant stands unique so far.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] xtermmin:
EDIT: nvm, not going to bother with this anymore. The G model is unique in terms of the whole EDL thing, but besides that the three model have their own differences. None are identical.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Jocutz1987:
Hey guys I really need your help my phone is not bricked because I can still go to bootlaoder . So I failed to do a boot and recovery back up and I flashed boot.img and recovery.img but it just keeps doing a boot loop on the black screen when holding down the volume up and volume down any thing help please...

I'm on a2017u us model b27
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] StoneTrapper:
I'm not sure how much help I can be but what do you mean by bootloader? Fastboot or something different? What model phone and which version are you coming from?

What is the phone showing as in device manager when connected?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Jocutz1987:
I can still get in the fastboot mode yes my boot.img and recovery.img is not working my phone is stuck on the mode were you hold down volume up and volume down I try to reboot ... Then it shows the zte boot logo then it shuts off I have the a2017u b27 model
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] tenfar:
It's simple,if you want to backup stock recovery,you just flash twrp to boot partition,just a simple rename files .my tool will flash boot.img to boot partition with-b option.and flash recovery.img to recovery partition with-r option.

It will not check what the real file is,just base on file name
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] r3xx3r:
I can't find the stock boot image. Can you link me to it and instructions on how to flash it please?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] tenfar:
What's your model? You can read through the thread,you will find the firmware for both eu model and us model.replace the boot.img with the stock boot.img.and run my program with -b option again.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] r3xx3r:
My model number is 2017U and I don't see the firmware for this model anywhere.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] tenfar:
https://idlekernel.com/flash-tools/firmware/ailsa_ii_A2017U/
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] tdgillihan:
I have also seen this on other devices where if you have a fingerprint lock it looks for the backup password or pattern etc. Does zte not require any backup password in case the fp scan doesn't work?

[MENTION=540283]tenfar[/MENTION], perhaps recommending disabling all locks before doing this would be a good thing if it's going to look for it as it appears to?

EDIT: make that *delete* all stored lockscreen password, scans etc.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] r3xx3r:
They have an option for a backup pin which is what I use but that entering that pin doesn't work. I just flashed the stock boot.img and wiped cache, dalvik, and data in twrp and now my phone seems to be fine. Luckily I didn't have anything important stored on it lol
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] tdgillihan:
Ouch! Remember the first 3 rules of flashing:

1. Make a backup first.

2. Make a backup first.

3. Make a backup first.

?

Try deleting all stored locks (fp scans, pins patterns etc) and please try this again (after making a backup of at least system and boot img on your card). Would be nice to know if this works for us in US. Thanks.

Oh! It's always best to use a password for the backup to fp scan if you can. It's the most secure and it's what it looks for in these situations instead of a pin etc I'm thinking.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] r3xx3r:
nope. Unfortunately it doesn't seem to work. I was able to get back into my phone, I turned off all lock settings and tried this again and it gave me the exact same problem. This time I am sure there is no password, yet it keeps asking for one.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] tdgillihan:
I think you have to delete all the saved fp scans.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] r3xx3r:
no, I checked that there were no stored fingerprints or passwords or anything. I just tried setting a lock screen password and it still doesnt work. Also, my WiFi wont turn on now. Any ideas? Anyone have the stock recovery they can send me that may help?

Is there a way to unlock the bootloader using TWRP? The only method I found requires the stock recovery.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] KyJelly69:
I'm still confused. Your app can put twrp on the boot partition or the recovery partition?

Instead of going into that detail just do it like this:

IF YOU HAVE NOT DONE ANYTHING YET START WITH STEP 1 IF YOU HAVE ALREADY CREATED YOUR BACKUP START WITH STEP 3

STEP 1. do this...

STEP 2. do this...

STEP 3. now that we have backed up the system image do this...

...

Edit:My phone has just been delivered and I want to make sure I have a stock backup before I try anything else.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] KyJelly69:
Will this root stay working after an OTA?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] peramikic:
This is most likley since /data is encrypted on phone setup. Flashing that boot.img most likely breaks the crypto-chain. You would probably have to format the /data (factory-reset) after putting on new image so that the default password is re-encrypted with the new key when the phone reinitialized. And purge all the FP you might have saved.

---------- Post added at 01:11 PM ---------- Previous post was at 01:02 PM ----------

The app can flash TWRP to both partitions. . So you can run TWRP as boot in order to backup stock recovery first. Then you can flash modified boot to see if it works. If you change stock recovery to TWRP aftre that and if you have that stock recovery backup, you can always flash it back in order to flash the full STOCK firmware (only CN and EU for now). You would just load TWRP as boot again, flash stock recovery and then reboot to it, flash full stock formware

I might write this up later if i find time but this should pretty much explain why TWRP can be flashe as both /boot and /recovery. Best would be if we get to fastboot to reboot to TWRP withouht flashing it. Then we can dump the whole phone in stock. But if you have stock boot.img already, that pretty much should do it. We just need the image from B20, not B20_boot to really be able to go to stock.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] tdgillihan:
I think stock recovery is the only thing we didn't have yet. But let me look around for it. Didn't you do a full backup including recovery in twrp? If so you should be able to restore it in twrp. Not sure that you have to use stock recovery to unlock bl. Have you tried the method in the guide that [MENTION=3044858]DrakenFX[/MENTION] made?

Always thank those who are helpful...and just ignore those who aren't.

---------- Post added at 01:37 PM ---------- Previous post was at 01:29 PM ----------

Here's a link to the files that have been pulled: https://idlekernel.com/flash-tools/firmware/ailsa_ii_A2017U/B20/

No recovery though.

Always thank those who are helpful...and just ignore those who aren't.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] KyJelly69:
What is the best way to backup the entire stock ROM?

if I flash twrp to boot so I can backup stock recovery how do I backup stock boot if twrp was written there?

If I flash twrp to recovery first I could backup stock boot but not stock recovery.

---------- Post added at 04:40 PM ---------- Previous post was at 04:39 PM ----------

That system.img is B20 right?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] peramikic:
As of right now you can't backup both with only one phone. The system is probably dump from the B20_Boot aftre BL unlock if those are jkuczera's dumps, as is boot.img and the rest of the files
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] tdgillihan:
Ok, so now I'm confused. Based on your previous post, why couldn't you run twrp as boot and do a full backup of everything, then start over and flash twrp as recovery?

Always thank those who are helpful...and just ignore those who aren't.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] peramikic:
You have to flash TWRP in either /boot or /recovery. We can't boot in TWRP as of yet, fastboot boot is missing i believe
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] tdgillihan:
That's different than what you said before:

"The app can flash TWRP to both partitions. . So you can run TWRP as boot in order to backup stock recovery first. Then you can flash modified boot to see if it works. If you change stock recovery to TWRP aftre that and if you have that stock recovery backup, you can always flash it back in order to flash the full STOCK firmware". I must be misunderstanding something.

Always thank those who are helpful...and just ignore those who aren't.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] *mj13*:
Turn off the phone completely...plug into USB.. Then press both up and down together and keep pressed. Light should blink a moment. That's it. Then run the commands as outlined in tenfars instructions or the shorter version he linked to written by another user.

You will be able to get twrp back. Just make sure you find what your phone comes up in device manager as.. Example Qualcomm com3 would be a 3 in place of the X in the command examples.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Jocutz1987:
I've done that numerous times and nothing. It doesn't boot up to stock recovery or boot do we have a stock boot.img and if yes is there any other way to put it with adb
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] *mj13*:
It's not supposed to boot into any recovery until after you follow the procedure. You are running the commands in a terminal where you placed the axon7root.exe and other files.. Correct? It should say, sending the horse in the dialog...

If you are doing all that then I'm not sure
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Jocutz1987:
I guess I mess up my phone then because it says success and device is rooted but when I hold volume up +power it just goes back to black screen and it plugs back in to the computer

---------- Post added at 09:19 PM ---------- Previous post was at 08:57 PM ----------

All I need is someone's a2017u b27 back up files that's all I didn't get to do a back up that's why I'm in the bootloop

---------- Post added at 09:44 PM ---------- Previous post was at 09:19 PM ----------

I need b27 boot and recovery dump files please

---------- Post added at 10:22 PM ---------- Previous post was at 09:44 PM ----------

Can some one help please I need my phone
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] StoneTrapper:
There's not many threads here, but this one has what you're looking for. [A2017U][B20][B27] stock files and TWRP system backup

Hope it works for ya, I've been without my Axon 7 for 2 weeks now (after having it for 2 days) and I "need" my phone too. Unfortunately zte are a nightmare to deal with directly.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] luke90:
Ive got a problem with my A2017G B03, ive installed everything as described here and it does work. Ive got root rights. But the TWRP makes some problems. The Internal Memory/System Partition cant be mounted because its encrypted and needs a password, which i do not know cause i didnt set any...

I cant install any zip file thru the recovery, because the TWRP doesnt see eny files/zip´s.

What can i do?

I installed the recovery again, but still same problem.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] nickcaper:
This is the worse explanation to root I have seen.

Ill bet many have ruined a new phone.

I have been a computer tech for years and have no clue what the hell this even means. Can ANYBODY create a new, better set of instructions with step by step method to root this phone?

Come on guys.... Seriously.. This is a 400$ item.. People cant gamble by typing in things and guessing what the OP might be trying to explain.

Thank you
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] peramikic:
Wow.... where to start.

The instructions are not bad, especially since the OP is non-native english speaker. The steps are direct, in order and assume basic knowledge of dos command prompt and windows driver install. The nature of root in this case is as such that these steps are necessary. And quite a few users have performed it. There is a question of compatibility given we have 3 distinct models, but it is a hack and without official images from ZTE, there is an inherit risk for the user here. And since bootlocker can be unlocked on all 3 now, in part using this tool, it is preferable to run root in such a way, this was a way to do it before BL unlock existed. You could have nicely asked if something was not clear Mr. Computer Tech, but the way you approached it, my guess is you are better of asking the magic 8 ball now
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] nickcaper:
Seriously? I know everything you just stated. The problem I have and what many others also have, and I know Im not the only one cause I have read everything, is that the steps are not very descriptive. For example,

What is the exact method to get the exe to run? I know how to use dos and open a command line. All I gotta do is type cmd in the search bar in Win7. After that, I try to type what ever this dude says it it does NOTHING So I need to know MORE info... Cause as it is written now, it makes almost no sense.

Im not hating Im asking a decent question. I really do not want to brick this new phone.

---------- Post added at 06:24 PM ---------- Previous post was at 05:36 PM ----------

Ive done this.. On step 7 the program seems to start but doesnt get anywhere. It just sits there and the last thing it shows is the version 1.10

---------- Post added at 07:06 PM ---------- Previous post was at 06:24 PM ----------

ok... so, i got it to back up.. i have the b27 installed.. im about to root.. crossing fingers.....

---------- Post added at 07:17 PM ---------- Previous post was at 07:06 PM ----------

ok, i have progress.. apparently the exe file that op offers to root and backup comes up as an infected file by Avast. i turned it off. i am not rooted and have twrp.. in the midst of testing to see what it can do..

---------- Post added at 07:24 PM ---------- Previous post was at 07:17 PM ----------

i connected a OTG cable to the phone with a nice Sandisk Extreme 3.0 thumbdrive. I am backing up the phone right now. Factory. Nothing touched. Hopefully, after I alter things and find I did something wrong, I can reinstall this backup I am making.

---------- Post added at 07:49 PM ---------- Previous post was at 07:24 PM ----------

Backup went well but I forgot to install phhSU so I had to do another backup... This time TWRP is asking for a password. I hit cancel it it looks like TWRP is not backup everything. Let me look back in the forum to see what I missed

---------- Post added at 08:08 PM ---------- Previous post was at 07:49 PM ----------

ok so I can see the password thing somewhat of an issue.

A work around from what I have read is that you have to choose the option in TWRP to format data, then reboot from TWRP back into TWRP. Try to make the backup again and the password will not prompt. But, this issue is,,, if I have to format data, all my settings, apps, will all be gone... what now?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] tabletalker7:
You want rid of TWRP password without formatting data - hummm ......................... - oh yeah! UNLOCK THE BOOTLOADER! And if the directions are too complicated to follow ask for help nicely. These guys have dedicated ENTIRELY TOO MUCH TIME to first root, then unlock, and now CM13.

Oh, by the way, I don't pretend to be the brightest bulb on the christmas tree, and these instructions were quite straight forward to me.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] nickcaper:
Ok so if they were straighforward why are there 50+ pages of people asking questions?

Look seriously,

I got an issue

Im trying to remove the factory browser which seems to be **** browser.

I installed several uninstallers which none of them work..

RU root uninstaller pro says "Rooted but can not grant rw permission on system folder"

Any ideas?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] xtermmin:
http://xdaforums.com/axon-7/help/command-to-root-changes-to-persist-t3440276
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] nickcaper:
But Ill try your method.

---------- Post added 11th October 2016 at 12:10 AM ---------- Previous post was 10th October 2016 at 11:48 PM ----------

No go.. I used terminal emulator, typed in "reboot disemmcwp" and it said Permission denied

---------- Post added at 12:35 AM ---------- Previous post was at 12:10 AM ----------

tried adb shell, still not working... if I cant do what I want with this phone.. its going back to the store... Im seriously tired of dealing with these companies and there gotdam lockdowns
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] xtermmin:
I don't think I was able to get it to work via terminal emulator either, but worked for me via ADB.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] *mj13*:
Did you first type su in terminal to get into root permission? Do that then do the reboot disemmcwp
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] xpakage:
Open TWRP on your phone, plug in phone, open a command window in your adb/fastboot folder, type in command and hit enter.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] nickcaper:
Why would I turn the phone on and go into TWRP? ADB doesnt even recognize the phone when its in TWRP.. It does recognize it when the phone is on and in in normal use. WHen i turn it on and plug in into the laptop, the phone asks me what mode I want to use it in? I choose either for PC software mode or MTP mode. These 2 modes alllow ADB to recognize the phone. But, it just will not release the permission. It will make it reboot. though. Any other ideas?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] xpakage:
I was only stating how I did it. You are the one who cannot get it done. Keep asking questions instead of trying what worked for others..............:eek:

Maybe you can follow this guide, except replace the adb command with the one in the op. Or not, up to you :silly:

http://xdaforums.com/axon-7/how-to/guide-how-to-unlock-bootloader-stay-t3461165
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] xpakage:
TWRP

@ nickcaper - I guess it worked since you have not been on this thread asking questions.

PS - I did not know I could use ADB commands from TWRP either, and I was having issues getting this to work. Once I saw the other thread, I tried what I needed from it to make this work vs unlocking a bootloader. Like magic, it worked. I just thought "slap my bottom and call me spanked"!
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] ThePublisher:
So let me get this straight, we can keep the bootloader locked (and therefore keep warranty) and still have root and ability to install custom roms?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] khaino:
Please help with root

I followed all the instructions and went fine with a few struggles only because I am not an expert. I have twrp, but root checker says not rooted. All I want to get done right now is the ability to use a font other than the system fonts. My phone is a2017u B27. I believe I followed all the instructions and went fine, but at the end I only had twrp, but no root access. Supersu doesn't help either. Please help, I am not an expert and I would appreciate it if a more detailed instruction is given. Thank you.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Jocutz1987:
Before installing anything else go in tarp and do a back up first then fine superuser.zip file and install it in tarp then you have root