yashsingh1/xdaforums huggingface dataset:
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] khaino:
SuperSu can not be installed

I trird installing the SuperSu zip in twrp, but it just turns off the pbone every time I tried to install it.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] omar300:
Locked bootloader means no custom kernels. But custom ROM with stock kernel should be fine.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] xpakage:
Yes, you can have a locked bootloader and get root. That is what I have now. There are no ROMs out that I want to deal with yet. Getting root allowed me to do most of the things I wanted to do to the stock ROM.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Milaann57:
I was wondering if the 2017G B3 package also works on B5.

Anyone has tried this yet? If not, is anyone working on a B5 package?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] razorsbk:
What if i only want root but without twrp recovery, is it possible ? I dont really want to wipe my phone and start over again because it's so time consuming.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] jawz101:
Downloaded zip file for my phone. About a 3rd of the anti-virus engines on VirusTotal flagged it as a Trojan. Why in the world does is this on xda? OP hasn't responded to anyone who has asked why... The only response I've seen is other accounts saying "don't worry about it..."
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] razorsbk:
They say it's a false positive due to its behavior.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] UnsecWifi:
Every time I try to download the files to root they fail. I've tried Firefox and Chrome and they both fail before they finish. Are the files located anywhere else?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Guti1977:
Ok, I feel like a noob here. I am trying the steps as decribed, I can boot to bootloader but after installing the Qualcomm drivers, I get not COM ports listed in Device Manager. I am running on Windows 10. Any guidance would be appreciated :P
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] tabletalker7:
If you installed the Qualcomm drivers, just turn on usb debugging and in a command prompt type "adb reboot edl". It will go to edl mode (which you need to be in for this whole process) and then device manager will show you your port (I made this mistake the first time too)
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] omar300:
fozen when backing up

i followed the instructions and at backup part.

everything has gone as instructed.

but here its frozen and wont go any further, waited 5 mins and restart the process but not progressing

check the attached picture and advise.

thanks
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Guti1977:
Thanks, but I nailed it. I believe this needs to be added or explained on the OP.

When you press Vol- and Vol+ and then plug the USB cable the led will flash red and screen will remain black, but if you have Device Manager opened you will notice that it does detect the Qualcomm USB device as a COM port (COM3 in my case) and then you can start the rooting process. So I am not sure if you should expect something on your screen, which is what happened to me. Anyway thanks for your help.

On another topic, I cannot seem to be able to makes any changes (copying or moving files) to the /system/app folder and also when running AdAway it cannot write to the hosts file on that same location.

Root is working cause I was able to install Titanium Backup and root access was granted and holding.

---------- Post added at 05:53 PM ---------- Previous post was at 05:51 PM ----------

Could it be an issue with the USB cable? I used the one that comes with the Axon 7 in the box.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] tabletalker7:
Mine did that too. After the backup I had to unplug the phone and start all over for root
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] khaino:
help, soft bricked.

I got my phone soft-bricked after doing the dump and flashing -b -r because it won't even go to twrp. If I pressed on volume up and power, it just shows ZTE and powered by android at the bottom, then disappeared. I can redo the flashings, but same results. Can someone please help. I am not an expert, but I really need help. Thank you.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] razorsbk:
Flash the boot image you have backed up previously.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] khaino:
I don't know where they went, please help.

I actually got it back to TWRP, but there it says no OS installed. Where do I get the B27 OS? Someone please help.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] razorsbk:
So you need also the system image. There is a thread with system images for all Axon variants and firmwares. I think it is at guides area.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] omar300:
I got it to work at the end.

had to do alot of weird stuff,

Firstly the holding volume up and down and plugging in usb does not work, only "adb reboot edl" method worked

Secondly, if anyone gets stuck at black screen with "To start Android, enter your password"

1) Flash original boot and original recovery

2) Flash downloaded boot.img for root

3) Reboot to stock recovery

4) Factory reset, then power off from here

5) Flash TWRP recovery, reboot into TWRP

6) Format Data, reboot into TWRP

and dont change sequence of steps.... lol
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] `SBR`:
Have you able to flash anything from Twrp after first boot....

When i boot twrp is asking for decrypt pwd.. If i cancel and go its reading the memory as zero mb

Cant backup or access the file...

Formatting data allows to access ext storage and booting again and come back to recovery again its ask for decrypt pwd..
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Guti1977:
So, for some reason I'm unable to copy or move to the /system/... Folder.

Root access is working for me so that appeared to go OK.

Is this related to the fact that I'm telling TWRP to keep as R/O?? :confused:

EDIT: And it happens to be that running a command in adb fixes this: adb shell reboot disemmcwp

This because of a system write protection from ZTE on certain models, such as our beloved Axon 7. Thanks goes to [MENTION=1340661]peramikic[/MENTION] :good:
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] khaino:
Can you please help find it?

I tried going to the guides area, but all I saw are for other variants such as B20, but mine is B27. Can you please help find the right one with a little instructions as to how to flash it because I am still kind of new to doing these, but I like doing them.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] razorsbk:
I don't know, I have the European version with B03. Find the thread with all system images, it's in this forum.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] omar300:
Yea the TWRP isnt allowing access to internal memory but i have sd card to store zip files and system access is still there.

I flashed xposed and adblock zip. they both worked fine as they are supposed to.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] razorsbk:
Guys, what do you think: If i disable disk write protection from adb and then remove some system apps from adb too, will my phone boot normally ? Or this should cause a bootloop.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Ruttix:
Trying to run axon7backup/root.exe gives me this error:

Sorry, this application cannot run under a Virtual Machine.

I do not use a VM, just Win7, 64bit.

Any ideas?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] `SBR`:
it depends on the system apps you remove, if remove the CORE apps needed for system to function it will cause issue.

try using Titanium Backup and remove items.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] razorsbk:
I don't have root, so that's why I'm asking. I would like to remove chrome, YouTube and a few more apps unrelated to core.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] `SBR`:
removing chrome, youtube, play movies won't cause any boot loops.

but why you want't to remove it, if you no longer use just disable it. during OTA update it will look for system verification if some files is missing it will fail.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] razorsbk:
I want to remove the and then install it as a regular app from play store, because as you may now after phone is locked for more than 5 minutes running apps are being close. For system apps there is not an option to disable this feature, only for regular apps.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] peramikic:
Possibility is that your AV software is sandboxing the process, in essence running it from a mini VM. Disable AV and then try.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] WesTD:
hi. i'm using A2017U. i've done but when reboot a screen appears and says "to start android enter your password" what is the password? i can't go on
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] rczrider:
​

Did you search? This had been addressed.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] WesTD:
i've searched but i couldn't. do you know solution?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] `SBR`:
you have to format DATA using stock recovery before installing TWRP..

go through the below steps, it will help you.

http://xdaforums.com/showpost.php?p=68302434&postcount=157
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] WesTD:
actually i was thinking yes i've formatted but i've wiped :angel: it's okey now. thanks all for your help
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] bossei:
Anyone know of a Mac tool for doing the same thing as this process?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] XblackdemonX:
No, buy a PC
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] bossei:
Lmao. I have a PC but for work not for this play stuff. ?. Thanks for the very helpful reply though. ?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] khaino:
This doesn't root ob B27

I followed all the instructions and when installing the supersu.zip, it didn't finish it but rather turns the phone off from there. What all these do to my device is that install twrp, nothing else. I am not an expert, that means I may have missed something, but I can't find what I am missing out of here. If someone knows something helpful about it, please share it. Thank you.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] DeJe63:
Just a question.

Is there a chance to get the images for a2017g B05 also?

Thanks,

DeJe63
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] psyfer5:
I had the same question. I will set up a dual boot this weekend, just for this.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] omar300:
you dont need to install superSU.zip of any kind.

you are supposed to flash that boot.img file. it includes superSU.

first flash boot.img then go to stock recovery, reset Data, then flash TWRP recovery.

---------- Post added at 01:38 AM ---------- Previous post was at 01:37 AM ----------

buy a cheap laptop for such hack purpose or go to friend's house
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] DeJe63:
I think you did not understand. The modified boot.img and recovery.img does not exist for B05, latest is B03. And those images will not work with B05. ;)
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] XblackdemonX:
NEVER, EVER, quote the OP
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] BlazingBullets:
Hello I'm using the chinese version with b07 and when I flash the recovery it just boots into the stock one.

Is there another twrp image you can give me?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Kevinkuensken:
Hello

i have boot into Flash Mode with adb.Then i want to make a Backup.My device is on Port8.If i wrote the comment into adb (axon7backup.exe -p 8 -d) every time he say to me data not found or wrote wrong.

Why??I Have Save the Folder on C:
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] `SBR`:
you should use the Command from cmd prompt

". Go to the folder where the backup tool is unpacked (from step 2), right click while holding shift, choose "Open command window here."

7. Type in "axon7backup.exe -p X -d" where X is the port number you're connected to (ex. axon7backup.exe -p 4 -d). This will create 2 backup files, save both of them in case of bootloop."

User the below link for step-by guide.

http://xdaforums.com/showpost.php?p=68302434&postcount=157
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Kevinkuensken:
If i make right click with Mouse on the exe and press shift i dont have Open command window here.

edit:Now it work i set the Right Permissions
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] razorsbk:
Right click in the folder but on empty space, on nothing. Or from File - New command prompt.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Kevinkuensken:
Ok,

now its work.But now no Wifi work.Cant make Wifi on.pls help,If i go to TWRP he Sayd Enter Password. Above Mount Decrypt Data.

edit:everytime i flash root wifi not work
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] KyJelly69:
Been covered already. Try searching.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Kevinkuensken:
sry cant find it pls give me link.I tryed so much but not working
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] razorsbk:
Read every single page in this thread. You are flashing a wrong version and you have an older firmware in your phone.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Kevinkuensken:
Im on B03 and what for wrong Version I flashed?I flashed a2017g B03 for EU Model from this Fred

http://xdaforums.com/axon-7/development/wip-axon-7-root-bootloader-unlokced-t3441204
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] dcscorpio76:
Help with Rooting

I'll make this quick. I've been trying to root my Axon 7 all day, the unlocked bootloader way, and the locked bootloader way and I am having no luck. I've read this thread upside down and I can barely get the phone into bootloader mode with the volume+, volume -, and the power key. I have OEM lock enabled, and I've downloaded all the necessary files. I hardly understand command prompts and the whole adb and fastboot. I have been unlocking and flashing custom roms on phones for years but they've all been Samsung models. This Axon 7 is giving me the fits. Can someone please help me and simplify this process and break this down for me so that I can get my phone rooted? I feel totally noob with this new phone. Thanks in advance.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Kevinkuensken:
for me now work root.But everytime if i boot to recovery my data size is 0.I must wipe Data everytime.How is it
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] `SBR`:
Use the below steps and see how it's going

http://xdaforums.com/showpost.php?p=68302434&postcount=157

that's common with locked bootloader. try flashing any file from SD card it will work.

if you have trouble flashing through TWRP and then try Flash fire from play store and try (you need to set Selinux to permissive to work)
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] raw2000j:
same here
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Loader009:
The A2017G owner have to do another step if the system does not boot into android.

Hold volume-DOWN and power up the phone. "Factory Test Mode" appears. Plug the phone with USB cable and use "adb reboot edl".

Note: Do not unplug the phone after rebooting to edl otherwise you have to do these steps again (it seems that this edl-mode freezes after unplugging).
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Znuf:
Thanks you save my life :)
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] ticotexas:
same here. A2017U B27. struggling all day. never able to obtain root. i have TWRP, but always get the enter password problem upon starting recovery, listed under the heading of Mount, Decrypt Data. it's the first screen you see when entering TWRP. i've hit cancel, wiped again, and booted straight into TWRP again as others have discussed. same problem, enter password in TWRP or no root when booting to the system. i've tried the 'adb reboot disemmcwp' also. i've tried formatting data, cache, and dalvik every which way. i've tried the steps where others give instructions for doing the boot.img and recovery.img separately. i've tried putting SuperSU 2.65 zip on an external sd card and flashing that (don't try it, it wouldn't boot up. i had an emulator running somehow and had to use 'adb kill-server' then start over with the boot.img instructions.) each different iteration doesn't give me root and TWRP stays with the same password problem and shows 0 MB storage. nothing is shown under any folders on the internal sdcard, so i cannot flash anything if i wanted to. TWRP is essentially worthless to me in this condition.

17 heart-attacks later, i'm at my wits end! i don't know what to do or where to go from here. i wonder if trying to unlock the bootloader would change anything. but at this point, i'm hesitant to even try something else that might not work for me. in fact, i don't think it would work because you are supposed to flash the zips from TWRP, which doesn't work.

so i have the stock_boot_backup.img and stock_recovery_backup.img from the very first time of following the instructions. (they are both exactly the same size, which seems weird. is it?) how do i use these to go back to the original stock condition--just in case i decide to return the phone? please remember, i can't flash anything from TWRP.

and if anyone can help or has any other suggestions, i'm willing to try and would be very grateful. detailed instructions would be appreciated.

love the phone, but really, really want root to be happy with it.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] omar300:
alright so flash that stock boot and recovery back.

and this time first flash modded boot,

then reset to factory from stock recovery ,

then at last flash TWRP recovery.

theres no point of flashing SU.zip from TWRP that hasnt worked for anyone. best if you follow steps above as they are the only working.

also flashing boot only adds binary for SU. you still need to install app from play store

https://play.google.com/store/apps/details?id=me.phh.superuser&hl=en
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Znuf:
I do like this:

1. backup

2. flash boot.

3.reboot to recovery and Wipe

4. flash TWRP and reboot in recovery

5. boot system

6. install phh supersu

7. Root work. Never boot system between this operations.

Now my root is ok. Titanium works,. but twrp always ask me a password if i boot into recovery. any idee to bypass that?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Kevinkuensken:
Have the Same Problem. The Internal Storage is Broken and Show ME 0mb and everytime i Need a Password to decrypt
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] ultramag69:
Factory reset - wipe data... The Axon 7 automatically encrypts the data partition at startup. As you don't enter the password you may never guess it so the ONLY way to get it working again is to factory reset in TWRP...
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Kevinkuensken:
I have make factory Reset and Wiped Data then i Boot to Android and then back to twrp to Make a Backup but the Same Mistake.i Need a password to decrypt Data and Internal Storage say ME 0mb
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Znuf:
Like said before your post. Your phone is encripted at the start of the os. And we don't have the PW.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] ticotexas:
thanks! that works, but only gave me root in the system. i still cannot use TWRP unfortunately to flash xposed framework or do a nandroid backup in recovery. still asking for a decrypt password and shows 0 MB. i feel half way there at least.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] tasar:
Anyone test this with B05 for the 2017G?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] ticotexas:
2017U B27: now in Dolby Atmos, i have lost the ability to edit the custom settings. anyone else?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] lordpipa:
Ok. This worked for me and installed TWRP but I forgot to enable unlocking the bootloader in settings, had already deleted data and found myself stuck on system asking for a password. Flashed stock boot image and got my system back. But now Im trying the whole process again but even if everything says successful, I'm still not getting TWRP flashed to recovery. Always goes back to stock recovery. Any ideas?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] tasar:
After flashing TWRP did you boot into the system or directly in TWRP? i have this phaenomen on another phone. After flash TWRP i must directly boot into TWRP and from there reboot the system. When i directly boot to system after TWRP flash, TWRP was overwritten with ori. recovery.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] rczrider:
Have y'all disabled system write protection (disemmcwp)?

Below is the exact process I just did on my A2017U with locked bootloader on the B27 firmware. I can't say that every step is required, but I literally just completed the process 5 minutes ago. My phone is working fine and I have root that persists with reboots. I have AdAway installed and it is successfully blocking ads (and again, it survives a reboot).

Using the tool in the OP, boot into EDL mode and make a backup of boot and recovery

Flash the OP's TWRP recovery image only

Boot into TWRP (kept system read-only, don't know that it mattered) and make a backup of system and data (just in case)

Get back into EDL mode, flash stock recovery and the OP's boot image

Boot into stock recovery and do a factory reset

Get back into EDL mode and flash the OP's TWRP recovery image (I suppose this is optional, but it's what I did)

Boot into TWRP and keep system read-only (have no idea if this is necessary and perhaps allowing system writing would simplify the process, I don't know)

Reboot phone and do the whole setup

Install phh's SuperUser from the Play Store (I went ahead and changed the default action to "Allow")

Reboot to TWRP*, go to Advanced > Terminal and type: reboot disemmcwp

* At this point, I also get the password / PIN for TWRP when I first enter recovery, but hitting "Cancel" gets me into TWRP just fine. It also asks me every time if I want to Allow Modifications. But neither of these things seem to affect the phone or root - and I don't use TWRP very often - so it's not a big deal.

---------- Post added at 12:58 ---------- Previous post was at 12:44 ----------

Ah, I see now what you're talking about. Mine's doing the same thing. Internal storage reads 0MB in TWRP (though it's fine once the phone is booted up).

I can still use the external SD card if I select storage, though, so there's that. I was able to successfully install Google Contacts and Phone from the Pixel via the flashable zip from this Moto X Play thread (in case anyone cares): http://xdaforums.com/moto-x-play/themes-apps/google-pixel-dialer-t3477633
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] lordpipa:
Fixed it. Extracted the files again and now everything is on point. Tnx for anyone that read and wanted to help.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] ticotexas:
2017U B27: another issue with this partial root/encryption issue is that if you make any modifications in the root or system folders via Root Explorer, it causes the phone to become completely unstable. i mounted the /system/media/audio/ringtone folder as rw, copied over a favorite ringtone, and after a reboot, it would not recognize my sim card, the screen would turn off intermittently, the phone ran hot with high battery drain, and all operations including settings were unbearably sluggish. so i had to start completely over again.

just a warning so that others don't try my foolishness and suffer the same consequences. this encryption problem basically allows no modifications to the system or system apps. stay with using only the bare minimum rooted functions for apps such as adaway and titanium backup.