yashsingh1/xdaforums huggingface dataset:
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] shirakani:
That's weird... It really should not do that if you've done disemmcwp before doing anything to the phone. Once the write protect is removed it should be have like a normal rooted phone.

Did you properly format the data partition after root+TWRP and then run disemmcwp immediately after booting into the phone?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] ticotexas:
If by properly, you mean booting to TWRP, then hitting the Wipe button, then choosing Format Data, and swiping at the bottom, then yes, I did. I booted back into TWRP as mentioned in some posts (not asked for password this second time). Then booted to the system. And yes I ran the disemmcwp command immediately after booting to the system that first time. It restarted and the root is still encrypted from TWRP and r/o read-only from inside Mifavor. Any subsequent time i boot to TWRP, it asks for the password and doesn't give access. It's like any boot to the system sets the encryption. disemmcwp doesn't remove that encryption. and PHH superuser only gives me a 'partial root' inside Mifavor. better than nothing, but still disappointing.

Do you have 2017U B27 with full root access in both TWRP and after booting to the operating system? And TWRP doesn't ask you for the encryption password? If so, I'd love to know how you accomplished that, if you did anything different from these instructions.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] omar300:
yea i have same problem atm.

my solution is to keep zip files in sd card. i guess you can make nandroid files of system and boot into sd card.

but yes anything to do with internal storage in recovery is locked. sorry cant help you there. i need solution myself.

---------- Post added at 11:42 PM ---------- Previous post was at 11:26 PM ----------

firstly thanks for instruction.

can you explain what exactly disemmcwp does?

i tried it twice. phone restarted right away. didnt prompt any request for password

and when i rebooted into recovery, same drama of locked internal storage because of encryption.

im doing same thing as you through sd card but would be nice to have internal storage available.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] xtermmin:
disemmcwp = disable emmc (on-board storage) write protection

Correct, the phone reboots when you type in the command.

Even if you are rooted, you cannot make changes to /system because it has write protection enabled by default. If you type in that command, it turns write protection off, letting you make changes to /system. This is useful for some root apps like AdAway (apply host-based ad blocking), AFWall+ (iptables-based firewall) and Titanium Backup (install/uninstall/freeze system apps).

I'm not sure if that command fixes these issues with encrypted internal storage in TWRP though.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Kevinkuensken:
No the twrp is Not fix With this comment
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Znuf:
No it not fix but we can flash from the SD card with no problem.

We need to deactivate the encryption at the boot or best a way to extract the password.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] rczrider:
It doesn't. I was posting that for the folks who were having trouble getting root in general (or, rather, getting changes made by apps with root permission - like AdAway and Titanium Backup) to stick.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] ticotexas:
2017U B27: this method of 'partial root' also does not allow disabling of autostart apps. if you disable apps from starting at boot using a start manager, the next time you boot, they are all back running again. this affects battery life when you don't want most of your apps autostarting and running continuously. the battery life is still pretty good. i can't imagine how great it would be if you could disable autostart apps.

how do i go back to the stock_boot_backup.img and stock_recovery_backup.img saved initially? can i rename these backups to boot.img and recovery.img and run the axon7root.exe again to put the phone back to factory stock?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] le_cactus:
How long should axon7backup take? I've tried twice, both times I ended the program after 10 minutes since it didn't seem to do anything anymore. In both cases it only backupped the stock_boot_backup.img, when I compared the files from the two tries they were totaly different.

Anyone recognises this? What could be wrong?

axon7root -d didn't work ;(

Cheers,

/Cacti

Ow, and btw, I have a A2017G with B05 (yeah, I know..... :crying: )
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] ticotexas:
on 2017U B27: mine took a couple minutes. did you use the port switch? axon7backup.exe -p 4 -d or whatever your port number used is. did you get the lines mentioning the 'horse'?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] rczrider:
Yep.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] ticotexas:
are both files supposed to be exactly the same size? (i noticed in the picture in the instructions, his are exactly the same size too) i figured they should be different
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] rczrider:
They're padded to be...64MB? I forget. But yeah, the stock files should be the same size.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] le_cactus:
Yes it did.

TIA,

Cheers,

/Cacti
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Roger.T:
No.

This does not work with axon7root.exe.

The backup images do not match the images in the zip.

Slide your backup images onto the SD card and flash them with TWRP. It is working.

Then you can use the stock recovery to flash the stock firmware with the update.zip (you can reboot directly from TWRP to stock recovery).

Make a reboot to the recovery and make a factory reset and you are back on original stock.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] ticotexas:
Thanks for clarifying. Someone else said that it would work. Good to know it won't.

I can't flash them with TWRP because I can't get to the files because the file system is encrypted. I am prompted for a password in TWRP and have to hit cancel. Then no files are shown and there's no way for me to select one to flash.

Is there a way to flash these with adb from the computer instead? If you know how, could you share the commands and steps?

What is update.zip and where do I get that? All I have are stock_boot_backup.img and stock_recovery_backup.img
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Scandiacus:
Just got my hands on my new axon 7

Anyone got the links/mirror to these files?

http://d-h.st/r3Z4

http://d-h.st/Ienb

Mirror doesn't load for me and I can't download these two files. Thanks!

Edit: Nevermind, got it working!
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Roger.T:
You must give all the files I mentioned before on an external SD card. Then execute all steps in TWRP. This is the only way that works at the time.

Excuse me if it was not quite understandable before.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] ticotexas:
where do i find update.zip?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Scandiacus:
Will appreciate any help with this.

Installed the qualcomm driver and used the adb reboot edl command.

Device manager states that I'm connected to port 3, but axon7backup.exe cannot detect the device

OS: Windows 7 64-bit

Phone: A2017G with B03
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Roger.T:
Sorry, i see you're on 2017U, right?

There is no update.zip for your version.

Here is a small guide i found with download links. Is even easier.

Hope this helps you [emoji6]

https://goo.gl/AdMyAT
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] rczrider:
You asked if you could restore stock boot and recovery by renaming the ones you the pulled from your phone using the OP's tool.

I'm the one who told you it would and I'm still right: it works just fine.

All this "update.zip" mess is completely unnecessary for simply restoring your stock boot and recovery :rolleyes:
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] ticotexas:
Okay, great! Because that sounds much easier and I can do it from adb on the computer rather than TWRP. Thanks
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] rczrider:
I think the other user was trying to tell you how to restore your ROM back to stock, not just recovery and boot. In which case, yeah, you'd need TWRP to do it.

But yeah, just boot and recovery can be done with the OP's tool (you don't even need adb, though you should be able to use it).
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Ratedzelaya:
hello so i did the steps and after i reboot from twrp it asks for a password, what do I do?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] xpakage:
Cancel request and proceed to TWRP.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Ratedzelaya:
Thanks for the reply but my problem was that when I went into the system it asked me for a password because the phone got encrypted somehow, i managed to fix it with one of DrakenFX guides. I am now unlocked and rooted.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] crubbish:
B05 update for 2017g

Hi Tenfar. Could you please modify the boot image (attached) for B05 update for European version? I pulled it out of update.zip. Thanks for your work.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Scandiacus:
Am i looking correctly? 53GB for data for clean device? :eek:
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Antistar:
Hi guys. Im just a new boy, stranger in this (axon 7) town ...:) I d like to inform that root and twrp works very well on a2017g with b03. No problems at all , also xposed and gravity workin.

Does anyone know how to disable vibrate signal during start and finish call .?? its very irritating.

ok its done. used app Vibration Tuner and disable global vibrating .

---------- Post added at 11:21 AM ---------- Previous post was at 11:13 AM ----------

i thinks it a internal memory ... i didnt check this when i made my system recovery
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] razorsbk:
So the B05 update is live for A2017G. Anyone has tried to root ?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Grazsrootz:
Yeah I am wondering if the b29 updated killed root too. Hopefully someone can let us know if the we will still be able to root after the new updates are applied.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] haerwu:
A2017G B03

Borrowed Windows 10 laptop from a friend. Fetched axon7root zip for B03. Installed ADB.

Connected phone, authorized for ADB use. Then started "adb reboot edl", phone went black. Installed Qualcomm drivers from 1st post. Device manager says "unknown USB device (something about descriptor)" and refuses to tell more. No COM listed. Same if connected via USB 2.0 hub (laptop has one usb3 port).

Rebooted laptop, rebooted phone and nothing helped.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] razorsbk:
I think that with a windows 7 would work better.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Scandiacus:
I have the same set as you (A2017G, B03)

My phone wouldn't be detected properly if I installed the Qualcomm drivers provided by OP.

I uninstalled the drivers and I did it in these steps:

Booted into FTM (vol down + power button)

Connected phone to PC (Windows 7)

Used "adb devices" to verify connection, and then entering "adb reboot edl"

Qualcomm drivers are installed automatically (via phone)

Continue with the backup steps provided by OP
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] haerwu:
Like few people mentioned in their posts 'adb reboot edl' is mandatory if you have DFU. Rooted, TWRP installed, now restoring everything.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] crubbish:
I've rooted while being on b05 and lost wifi completely. Rolled back to b03 with the help of this guide http://xdaforums.com/axon-7/development/rom-guide-updates-to-stock-files-via-t3469484 and everything seems to be fine for now. Would be nice to be on b05 and rooted though.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] razorsbk:
Yeah, that's because [MENTION=540283]tenfar[/MENTION] needs some files from the B05 update for his tool. Hopefully he will deliver a tool for B05 with our help.

I think the files needed are boot.img and recovery.img from the new B05.

If you can dump them ( -d) and post them here it would be great.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] DeJe63:
Unfortunately there is no sign of tenfar since a long time in this thread. :(
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Pointro:
Here is what should be the stock boot image, creating using the backup tool. I updated to B29, but retained TWRP in the process.

http://www92.zippyshare.com/v/YF4z5lo3/file.html
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] razorsbk:
Stock boot.img for B05, right ?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] rczrider:
To be fair, B29 and B05 were just released. What would [MENTION=540283]tenfar[/MENTION] need to do between the release of B27 / B03 until now?

Not that he needs to do anything; like most devs, he puts in whatever time he can and we appreciate whatever help he can provide.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] DeJe63:
I was never about to blame him. ;)

And yes, the updates are just out. So patiently waiting. :D
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Guti1977:
Patiently waiting for that moment :fingers-crossed:
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] rczrider:
FWIW, you don't actually need anything updated from [MENTION=540283]tenfar[/MENTION] for the B29 update (U variant). You can use his tool and images for B29. No idea about B05 (G variant), though.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] DeJe63:
Yes, tool is fine. But there is no B29 or B05 image for boot (ramfs and rootfs) including root.

Or let me ask that way: I can update to B05, flash recovery image (B03) from tenfar and then flash root with twrp? Will this work?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] razorsbk:
Well, you can try that and come back with results.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Pointro:
No, it's from B29, the update that was released yesterday for the NA variant.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] mothmanex:
Doesn't work. I flashed the image for B27 and TWRP with my Axon B29. It works, but Wi-fi isn't working.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] `SBR`:
yes i tried the same WiFi issue, only thing you need to Unlock the BL to have B29 rooted at this time.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] DeJe63:
So let me clearify. Just flash the recovery image breaks WiFi? Thats funny.

Did you try to root and just reflash original recovery image?

btw. I hate that "fastboot boot image" is broken/disabled on the Axon. So you can't realy test some things. :(
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] `SBR`:
flashing the b29 boot.img through this method breaks wifi on B29 rom. recovery is working fine
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] peramikic:
That's to be expected, since you have a kernel mismatch with drivers in /system.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] razorsbk:
So if you flash just the recovery, then boot to twrp and flash supersu.zip ( 2.65 if i remember right ) and reboot (with write protection disabled from adb) will it work ?

[MENTION=540283]tenfar[/MENTION] : here are the boot.img and recovery.img from latest B05 update.zip. So if you have time and want to help us with root we will be thankful.

download link: http://www1.zippyshare.com/v/mFe4vBDh/file.html
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] `SBR`:
if you're using Unlocked Boot loader flashing the SuperSU would work as you mentioned. if you have locked BL and flashing the tenfar files, then disable the write protection and install the Phh Super user it would work for all rooted Apps.

if you don't have Tenfar Boot image, then it won't work with locked Bootloader. either unlock the bootloader or wait for [MENTION=540283]tenfar[/MENTION] to share the updated boot image.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] thefiqs:
Is a chance to only flash twrp for unlocking the BL but I don't want root? Unfortunately my banking app does not working rooted and I need to use this phone for work and personal use as well.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] razorsbk:
I think you may be able to hide root from the banking app :)
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] thefiqs:
Tried root cloak few years back with my nexus5 without luck. Will give a shoot with my OPO ?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] abdi7451:
Does this work if I'm already on B29?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] joeanca:
delete wrong thread
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] v.m.quang:
Can we copy the camera apk from a2017u to a2017 to have 1080p at 60fps recorder camera. Sr for my bad english
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] razorsbk:
Only with unlocked bootloader.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] thefiqs:
maybe it is just me and already asked but with win defender axon7backup flagged as a trojan?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] DrakenFX:
is flagged as trojan cuz the purpose of the software and of course will be flag as trojan cuz is a Hack tool,
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Guti1977:
What would be the method for reverting this root process to stock? Is there a detailed description somewhere? :confused:
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] clementinox:
To revert the process:

- create a folder named "BackToStock" or whatever you want

- go to the folder where you created the backup of your recovery and boot using this command "axon7backup.exe -p 4 -d"

- rename the images to boot.img and recovery.img then copy the two images to the "BackToStock" folder you created above.

- go to the folder where you used the command " axon7root.exe -p 4 X"

- copy the file "axon7root.exe" to the "BackToStock" folder you created above

- go the the "BackToStock" folder you created above, using command line just like before, flash the stock images using:

"axon7root.exe -p 4 -r" to flash stock recovery

"axon7root.exe -p 4 -b" to flash stock boot
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] NewHeights:
[MENTION=540283]tenfar[/MENTION] can you add the file for the a2017g B04 or is the one for the B03 compatible? Thank you
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] tasar:
B4? We G owner have no B04 update, you mean B05 ;)
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] razorsbk:
I've sent [MENTION=540283]tenfar[/MENTION] a private message but last time he was online on xda was on 1st of November. We'll just have to wait. I'm thinking about downgrading to B03.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] StoneTrapper:
There's a surprise he's been cooking up for those of us forever stuck in DFU mode.:p

I joke, we take it all into our own hands of course.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] mygoldkenn:
Is it possible to ROOT without twrp installed?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Znuf:
Yes just install the boot.img and phh root manager.

But you will not able to install any MOD with the stock recovery.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Guti1977:
Awesome [MENTION=4705550]clementinox[/MENTION], I will give it a try tonight when I come back from work :good:
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] malditos:
Good day everyone. I'm one of the lucky ones that got the encryption in twrp after rooting the phone. I flashed twrp and boot image at the same time and only later found out you had to erase/format with original recovery before installing twrp. I've set up the phone to where I like it but wondered if I should try and get the encryption off? The main advantage to this, I would think, is being able to make backups through twrp correct or can I still make a backup of the phone with encryption on?

Is there anything else that I would benefit at the moment with having no encryption on twrp?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] ticotexas:
Sadly I never was able to get the encryption turned off, so I returned the phone. If I could have, I would have loved to keep it. The main things for me was I couldn't get xposed working or full root due to the encryption issue.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] liuyiji:
Hi Guti1977, glad to hear you made your axon came back. For me, it is still a problem. And unfortunately, I didn't keep the backup files when i tried to root. Do you know if these files belong to the phone only, or anyone else could use them for recovery? Thank you.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Guti1977:
Actually I was not able to [MENTION=7827601]liuyiji[/MENTION]. I did not back up the files either.

I am wondering if there is another way, else I think we are stuck :(
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] razorsbk:
I just downgraded from B05 to B03 torpor my phone.

I used a windows 10 laptop and followed the tutorial. Worked like a charm, but remember in twrp to click cancel when password is requested and format data and factory reset. Also check the option to keep system read only.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] omar300:
can someone send their backed up boot and recovery for a2017u B27 . i seem to have deleted mine. .... so yes need help

please and thank you :)
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] rczrider:
http://xdaforums.com/axon-7/development/untouched-b20-boot-recovery-files-t3443818
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] omar300:
Thanks ?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] TopWargamer:
I was kind of able to. So, while in TWRP, you can still access your *external* SD card to install zips and whatnot. Under the "Install" screen, instead of navigating to the external SD, *select* external SD at the bottom where it says "select storage." As of right now, the official way to unlock bootloader is still down, so you'll have to use the unofficial version: http://xdaforums.com/axon-7/how-to/guide-how-to-unlock-bootloader-stay-t3461165

Basically, download that zip, move it to your *external* SD card, boot into TWRP, flash the zip, boot into bootloader, and then fastboot oem unlock. Doing that allowed me to use TWRP like normal, which I was not expecting. But since it worked for me, I won't question it!
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] razorsbk:
Yes that's how I flash zip files, I place them on the external SD card.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] vinicioh23:
Is there a way to install twrp and root on version B29? I was reading that ZTE got rid of the form to unlock bootloader.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] XblackdemonX:
A little bit of search never hurts...
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] tasar:
I know this guide but i read there only about B27, is it safe to use that for B29? Sorry but i want brick my new phone ;) What is with encryption? Format Data before use this guide? Iam a little bit confused, there are so many threads about root/bootloader and password issue after root/unlock.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] jawz101:
It says it requires TWRP already installed.