yashsingh1/xdaforums huggingface dataset:
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] misterz100:
This is not the case for me it, after downloading the file I cannot get past "Press any key to continue" it gives an error "no file was selected" not giving me a chance to select a file.

EDIT: Never mind, I tried it on a laptop and it lets me select a file don't know why it dose not on my desktop.

EDIT2: Now I am stuck at the MiFlash, trying to downgrade from B32 and I keep getting "Object reference not set to an instance of an object".
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] misterz100:
SO I figured it out, nothing was working while on update B32 after trying different MiFlashes and different PCs I went on the ZTE Axon 7 page and downloaded the official B19 update.zip and used "apply form SD card" to make my system B19, then I used the latest MiFlash with this toolkit to unlock my bootloader and everything worked perfectly!
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] marcus.linkenbach:
Congrats!! [emoji106]
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] sullivan00:
So when you flash zips with the toolkit, and affirm system wipe, how long should it take to complete make_ext4fs, and how should the device behave during the process? Currently I'm at about 15 minutes waiting with no apparent progress, and the device is flashing the TWRP logo on and off about every 10-15 seconds.

I'm trying to flash LOS, modem and universal bootloader packages per instructions (it's not the bootloader is it?) This is my third attempt, as it was late last night and I needed a break. I was able to break the connection, force the device to reboot, and it rebooted back into B19.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] bkores:
I have no idea why this is happening but it is definitely a TWRP and not a toolkit issue.

Would you able to do this for me:

1) Use the option again and input 'Y' when asked to wipe system and data.

2) Wait until the device is flashing the TWRP logo on and off.

3) Close the toolkit. Open a new command window in the toolkit directory and do 'adb pull /tmp/recovery.log'.

Post the recovery.log here.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] sullivan00:
Thanks for the reply! I can't post outside links yet. Can I PM you the dpaste?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] bkores:
Sure
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] bkores:
Ok so it looks like the problem is the system is mounted read only and therefore can't be wiped. This was obviously an oversight on my part.

Try this:

Use the Flash TWRP option. Once that's done boot into recovery, go to Mount > Check 'system' and uncheck 'mount system read-only'. Go back to the main menu, go to Advanced > Reboot > Bootloader. Then try the flash zips option again.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] sullivan00:
So I wanted to double check that I wasn't missing a step, so I tried again using your instructions in the previous post. I got the same results both times, seemingly the same behavior as I originally described.

With the phone at bootloader screen, running Flash zips option seems to restart TWRP. I checked Mount > System settings, and while unchecked "Keep read-only" was persistent, the check for System in the list was not. Multiple taps to check it did nothing.

And to confirm, within TWRP, to reboot to bootloader you mean from the main menu Reboot > Bootloader, yes? Or is there a different way to achieve it through Advanced that I couldn't find?

For good measure I also PM'd you an updated dpaste with recovery.log just in case.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] bkores:
Yeah I meant Reboot. I didn't get the updated dpaste though.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] sullivan00:
Having trouble getting it to commit - it's almost two meg! Something's fishy. Is there anything I can do to clear a cache, rerun the process and get the updated log?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] bkores:
It's ok I don't need it. The problem is obviously system not getting mounted. Unfortunately you'll have to flash the zips manually (putting them on your internal storage and the Install option). I'll fix this for the next version.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] sullivan00:
Sounds good. I was able to get a log up on dpaste in case it might help going forward? I might have let the device just sit for a while before grabbing the monstrous log, not sure.

In any case, I'll go ahead with your suggestion. Thanks again!
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] MadDevil1707:
Hi there,

I just tried to use your Toolkit to unlock my bootloader. but unfortuneately at the point where i use MiFlash, MiFlash says something like "the length must not be below 0 (null). Parametername: length"

here's the stacktrace from the log of MiFlash:

get AllUsbDevices
[12:28:40]:Die Länge darf nicht kleiner als 0 (null) sein.
Parametername: length
[12:28:40]: bei System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
bei System.String.Substring(Int32 startIndex, Int32 length)
bei MiUSB.USB.GetUsbNodeInformation(String DevicePath)
bei XiaoMiFlash.code.Utility.TreeViewUsbItem.AddHubNode(String HubPath, String HubNodeName) in D:\Workspace\MiFlash\Realse\20161216chn\XiaoMiFlash\XiaoMiFlash\code\Utility\TreeViewUsbItem.cs:Zeile 155.
bei XiaoMiFlash.code.Utility.TreeViewUsbItem.get_AllUsbDevices() in D:\Workspace\MiFlash\Realse\20161216chn\XiaoMiFlash\XiaoMiFlash\code\Utility\TreeViewUsbItem.cs:Zeile 135.
bei XiaoMiFlash.code.Utility.UsbDevice.GetDevice() in D:\Workspace\MiFlash\Realse\20161216chn\XiaoMiFlash\XiaoMiFlash\code\Utility\UsbDevice.cs:Zeile 48.
bei XiaoMiFlash.MainFrm.RefreshDevice() in D:\Workspace\MiFlash\Realse\20161216chn\XiaoMiFlash\XiaoMiFlash\MainFrm.cs:Zeile 527.

Because of this i think it's an issue with the USB Connection... in the hardware manager my phone pops up as COM4 as soon as its restarting into EDL mode. is that correct?

I use a A2017G with Android 7.1.1, but as I ran into Problems i first tried to downgrade to 6.0 but that didnt help...

I also tried using an older or newer version of MiFlash, restarting PC and Smartphone and so on.

so now I'm on a factory reset Axon with Android 6 and begging for help :(
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] bkores:
I'm not really sure but based on what you posted it may be because MiFlash is on the D drive so it may not have sufficient privileges. Try uninstalling and reinstalling on C drive.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] MadDevil1707:
funny thing is: its installed in the standard path: C:\XiaoMi\XiaoMiFlash

I also tried right away if anything changes if I start it as Administrator, but it doesnt :(
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] bkores:
Oh ok then try a different USB port
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] MadDevil1707:
I also tried that already... done it with 2 USB3.0 Ports and two USB 2.0 Ports, no change whatsoever.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] MadDevil1707:
Hi again,

unfortuneately i didnt manage to get it done using the Toolkit.

BUT this Guide to do it manually worked for me: https://xdaforums.com/axon-7/how-to/guide-install-twrp-unlock-bl-flash-t3517379

nevertheless thanks for the help.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Igorperrotta:
Can't go back to stock, miflash says '' programmer file not found'' and shows error

tried multiple versions and ports

i need some help
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] bkores:
What is the path at the top?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Igorperrotta:
C:\Axon7Development\Axon7Toolkit\miflash\B19\A2017U_B19-NOUGAT_FULL_EDL

It's the path to where the file is, but i'm going to try it one more time in a different way.

I'll post if i can get it working

---------- Post added at 12:39 AM ---------- Previous post was at 12:20 AM ----------

Now it says that it ''cannot read from port com3''

changed the path but still now working :/

---------- Post added at 01:04 AM ---------- Previous post was at 12:39 AM ----------

Now it is going even weirder '' trying to reset status''
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] sockstuff:
Hi all, I am trying to completely wipe my phone and flash the firmware due to suspected malware. I have gone through a lot of this thread but am unable to find clear instructions on how to just do exactly that. I'm not sure which parts of the Toolkit to use and in what order, and am nervous about bricking the phone. Also, do I start with the phone on and in what connection mode?

Any help is much appreciated.

Currently running 7.1.1 on A2017U.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] lafester:
Start the toolkit and tell it what you want to do.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] :
Does Axon7toolkit have malware? I always get a message from Windows defender and Chrome, if I download your toolkit through Microsoft Edge I get lots of messages from Windows defender. It also shows me a file it found.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] marcus.linkenbach:
As this has discussed many times you should read through this thread before asking.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] :
It had 'Trojan32' in its name.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] marcus.linkenbach:
Everyone with an antivirus software got a warning. Just deactivate your software temporarily and install it. Use it and reactivate your software. It won't harm your system.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] SuDGLaD:
Hello to all,

to have a rooted phone, with unlocked bootloader, with twrp installed and ready to use to flash any rom and kernel ... what steps (in sequence) should I make?

With this tool, to flash kernel and custom rom I must have the phone with bootloader unlocked or not?

Sorry, but I'm new ... thank you
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] lafester:
Unlock, flash twrp, flash rom.

If you don't know that then I suggest reading a bit more.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] atakan33:
hey bkores

İ saw some A2017G bricks in your thread before but İ cant seem now.

Did you fix that problem ?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] jnapier10:
I've been looking for a tool for my Axon 7 for ages. Good work on building this!

Can I just confirm that it's safe to use with the G variant of the phone running Android Version 7.1.1 with Mifavor?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] JamesKinds:
Yes
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Pruikki:
Thank you!

Amazing work!

Really impressive,well done!

I ordered this on sale from gearbest, in 30 days my device should arrive.

lets hope it will arrive,work and not be buggy.

i will firstly Root it and enable 4k in build.prop to see videos in YT in 4k... :D

also will add Viper4Android... if i wont be afraid of rooting.

Cheers!
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] jnapier10:
Hey people,

When launching the toolkit im encountering a "failed to connect to server!" error.

I've searched the thread however cant find the solution.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] jnapier10:
To give more context to the problem.

On device is Gapps, Lineage OS and also the appropriate modem for the device.

Im running Windows 10 on Mac via Parallels, i thought the Mac may have been the issue so I used a dedicated Windows 10 machine. I have tried muting the firewall and also running the bat file as administrator however its still dropping away after 5 seconds claiming it cannot connect to the server.

Thanks in advance for your help.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] jnapier10:
What a prime donut.

Problem solved.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] jnapier10:
All done! What a fantastic tool! You people are clever bods.

One issue is that I cannot use Android Pay as the bootloader is unlocked. If I re lock using the tool will it wipe the phone completely? I've just got all my apps set up haha.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Louisthefirst:
hey!

i just sucessfully flashed my device to unlock the bootloader but when i puss power button to exit out of edl its not working.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Igorperrotta:
Can i still get ota updates by going back to stock using this?

---------- Post added at 01:40 PM ---------- Previous post was at 01:06 PM ----------

Hi, i still can't flash using miflash, and i tried everything. from reinstalling drives to miflash verisons and etc.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] bkores:
Yes you can. As for MiFlash I don't know what to tell you other than try on someone else's computer.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Igorperrotta:
Alredy did. not fix, but i was able to flash an older oficial rom, so yay
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] vitaliis:
Awesome tool! Thank you very much!!! Donated to support you!

One thing I stumbled upon was activaiting fastboot on the device. I was using the second option to verify adb+fastboot. Fastboot check was always failing and I didn't know how to proceed. I found a good step by step guide at reddit and did it. But then when I had all set up and tests passing, I realized (7) bootloader unlock also includes flushing the image with activated fastboot using MiFlash. Correct me if I am wrong. If it is indeed included, I would propose in the failed fastboot check to say that "you can activate a fastboot using (7). Even better option would be to add a separate menu entry "activate fastboot" before you can actually unlock the bootloader.

Another thing. After using MiFlash to flush fastboot image and unlock the bootloader, "settings -> About Phone -> Device model" section of settings shows "ZTE A2017U", although I have A2017G. But that's ok if it doesn't affect anything.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Nibiru2012:
[MENTION=7658623]bkores[/MENTION]

I tried flashing with the ToolKit. Bootloader unlocked but no ROMs would flash install using the options listed. TWRP was very buggy.

I was able to flash a B19 Nougat build because my phone was very nearly getting bricked. I was able to update to Nougat B20 on the phone's software update feature.

I want to go back to complete pure stock... this has been way too difficult for me. Tried locking the bootloader again with the ToolKit over TEN TIMES and no luck.

Now the phone won't update to Nougat B22 from B20, says wrong phone. Even though phone build number is A2017U B20.

I REALLY NEED SOME HELP HERE PLEASE. I've flashed custom ROMS on other phones before with no issues, but this is all messed up.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] bkores:
There is a bug with the toolkit for the flash zips option where TWRP will loop if you choose to wipe system and data and system is mounted read-only. This is not a TWRP issue. As for the bootloader lock, what's the issue? If you used the toolkit's restore to stock function you should be able to lock the bootloader with no issues since the fastboot image remains unlock-capable.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Nibiru2012:
I was finally able to get the bootloader locked after 15 attempts. Used MiFlash to flash Nougat B19 ROM, then updated to B20.

However would not update any further from B20 to B22. Error stating: Phone does not match update package.

Called ZTE two times seeking assistance and they were very helpful. Since the phone is still under warranty and no more bootloader unlock they will re-flash Nougat B32 build and send it back to me no charge.

Should be good to go soon. I have another phone I keep just in case for these types of situations so I may still be in contact with various important folks I deal with in the Oxford Houses organization.

Thanks for the reply.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] youngz89:
Hello, I have unlocked the bootloader and install the TWRC using this toolkit. After that I tried to install a custom rom but the device return an error 7. I read some posts and I discover that I need a universal bootloader and a modem package. How can I install them if I already have unlocked the bootloader? I have an 2017G axon 7 and now I flashed an old stock rom.

In this rom, when I try to access at the developer area, the setting application crash.

Can you suggest a solution?

Thanks
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] marcus.linkenbach:
Both files you will find in this forum.

You just install both files within TWRP.

From now on it has nothing to do with your unlocked bootloader.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] dumyro:
2017G update 7.1 Nougat B08

Tnx for this great tool!

The european version of this phone 2017G got a new update, 7.1 Nougat B08. This fimware version is compatible with the Axon7Toolkit? Anyone tried to unlock the bootloader and install TWRP on the european B08 firmware?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] bkores:
As said in the OP, this will work for ALL builds.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Tex1967:
Not a Dev; just a frustrated Axon 7 owner

I found this site because an app says it can't force connect my cell when it drops signal, because it can't find ROOT.

As I was clueless enough to buy a phone that seems to get worse with staying connected, every time there's another ZTE update, I figure I might as well try this ROOT thing and hope for the best. Right now, it's basically a paperweight anyway.

I bought it for the memory, speed and camera because of work. Being in a rural area, where I previously had great cell reception with a Blu HD R1, I quickly realized I had issues with cell connection.

Now, there are issues with any connection.

Frustrating to spend money on a product that manages to go from worse to unusable during a six month period.

So Google brought me to your post and I'm going to hope that it's as easy as it seems.

I don't need to try any options... Just need to ROOT it, I reckon, for that recommended Signal Connector app to help improve my connection issues... Like the one where once it drops, it won't reconnect until I drive quite a ways down the road, even if I have 4 bars come back on the indicator at the house.

If there's anything else I should read or try to learn before trying this on my only means of communication, I'd gladly love the heads-up.

Definitely want to say thank you for taking the time to put this together and simplify what it takes to ROOT the ZTE Axon 7!!!!
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Black_Rose999:
I have one problem i can't unlock my bootloader, i go through steps and everything go fine, but when i boot my phone its still locked, anyone knows what i did wrong?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] SuDGLaD:
Hello to all,

first of all sorry for my English, i'm using google translate, I do not know if you can help me here.

I bought this jewel from Gearbest and arrived yesterday.

I would like to unlock the bootloader and root it following this wonderful guide , but I can not get into developer options, I get the error "the settings application crashed abnormally"

I wanted to do this via the toolkit, but in EDL mode the phone is not recognized, maybe because in developer options I have to select the OEM UNLOCK.

The only good thing is that it recognizes usb debugging mode (at least I think) because I see the debug notification icon.

I can not understand where it came from, I went into bootloader mode but did not release me information.

From the onscreen screen I can only provide these info:

model number zte a2017g

version android 6.0.1

kernel version 3.18.20

build number zte a2017gv1.0.0b11

baseband version th.2.0.c1.9-00050-m8996faaaanazm

The MiFlavor version is 4.0

The smartphone does not receive OTA updates. I downloaded the global version (b05) of Nougat, the update with Android started I did not find it (I renamed the rom file in update.zip and put in the root of the SD CARD). I tried through recovery mode but it does not do anything to me, it's as if the smartphone was locked in everything and for everything.

I'm doing well ? How do I update when I download the rom? Can you please help me? Is there any system to interact with this smartphone and unlock it? I do not want to keep a phone that I can not update and root it.

Thanks in advance to who will help.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] daandeg:
Hello all,

While using the tool to unlock the bootloader I ran into a state where the screen is black and only the LED is turned on. When holding the powerbutton the phone restarts to this same state. I can turn off the phone by holding the volume buttons and connecting it to the pc via USB. When the phone is turned on in this state and connected to the PC, it is recognized as QUSB-BULK, but adb won't find it. Can somebody tell me if there's a fix to this? I have an Axon 7 2017G.

Greetings
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] lafester:
Check your driver. Do you have recovery?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] daandeg:
How should I? I backed up my apps + data, but I don't have access to twrp.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] lafester:
Didn't ask about twrp.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] daandeg:
I checked and I don't seem to have recovery. I cannot get to it by any means anyway.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] a10l68yw:
unbrick

Please help me unbrick my phone. I used the toolkit, unlock the bootloader, and flash TWRP. Without ROM install I tried to root my phone, but dont boot more. Now i see the phone (folders) in my PC, TWRP and flashboot working, but dont boot. How can i unbrick it? A2017G ver. ANdroid 6.0.1. Thanks!
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Choose an username...:
Have you solved this? I don't believe that app will help; the problem is with the radio hardware. Wi-Fi works pretty nice though, to the point where I had good signal next to an OP3T with zero bars.

---------- Post added at 05:27 PM ---------- Previous post was at 05:23 PM ----------

Have you done a backup? [MENTION=7658623]bkores[/MENTION] does the toolkit do any backup before attempting to flash stuff?

To fix your device you can:

a) restore a system backup if you have one

b) get to TWRP (volume up + power) then flash the Universal Bootloader, the modem for your model, and LineageOS or any ROM, and use a custom ROM;

c) download a FULL_EDL file and use MiFlash in EDL mode to reinstall the whole system