yashsingh1/xdaforums huggingface dataset:
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] lafester:
If you have a question about the op then ask it. People were trying to unlock without flashing the unlock package which is clearly stated in the op. I and others have also expanded on the op within the thread so it is helpful to read it.

You flashed twrp but didn't unlock so of course you can't flash anything. Unsigned twrp on locked bl causes black screen.

You said you had fastboot working so that is the time to unlock, then update twrp and flash whatever you want. So at this point you would flash unlock package, go to fastboot and unlock, reboot to twrp and update to latest, flash b15 stack, flash rr, flash su.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] HonestOtter:
I have read the whole thread multiple times. I did say that

"if anyone has a suggestion of what I should do next I am all ears.

In the end I would like to have the latest possible TWRP, with Root, and Resurrection Remix."

Sorry I didn't phrase it in the form of a question.

if anyone has a suggestion of what I should do next I am all ears.

I would like to have the latest possible TWRP, with Root, and Resurrection Remix, What can I try next?

I did notice that you spend a lot of time telling people the information is in the OP then you add information and multiple people add or correct information. I appreciate you taking the time to replying to post, just wish you read the post and answered them instead of repeating the answer is there.

Of course I am going to keep reading through other threads and keep trying things but would love if anyone has an idea what I could try next to get Root, A TWRP later then 3.0.2 and Resurrection Remix. Again the Tenfar and MiFlash tools work fine. I can get to Fast boot and TWRP 3.0.2.

**** Update, I found a solution on a different website, the OP has some steps missing. I will try to avoid using XDA for help in the future. If you are having an issue feel free to PM me. If I check back i will try to help. Good luck to all, the MiFlash tool is great glad someone made it.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] tb417:
thank you so much for this post. I have been looking for weeks how to fix my mistake trying to restore the phone to stock. I somehow lost the recovery and had no way of completing any adb controls past seeing the phone. You save my a$$ on this one
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] lafester:
I just told you what to do... did that not work? Sounds like you are not unlocking which is mandatory.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] MacLaughlin:
Hi I'm not quite sure if I'm in the correct spot. I recently have gone back to stock nougat for 2017G. My bootloader was unlocked of course. After the last update my TWRP has been overwritten or some kind of that. I'm not able flash twrp via edl mode again. Allways get the same error notification: C:\Program Files (x86)\Minimal ADB and Fastboot>axon7tool -r gpt boot recovery

Connecting to device...

S: failed to read command

S: Failed to receive hello

terminate called after throwing an instance of 'std::runtime_error'

what(): error: Unknown error

This application has requested the Runtime to terminate it in an unusual way.

Please contact the application's support team for more information.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] jawz101:
drove me nuts but if you get an error in the MiFlash tool about unable to read hello packet I eventually gave up on the Qualcomm drivers on 2 Windows 7 x64 computers and eventually simply tried the ZTE drivers that come with the stock ROM (ie when you plug in your phone and select to install the drivers from your device. If you do the QDLoader driver will say RELINK QDLoader 9008 or whatever but suddenly the MiFlash tool would finally flash files successfully
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] yosef019:
where i can find chinise EDL image ? or MM U image

and what error messege give miflash coudnt find script
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] sunrise3500:
Bricked my phone (a2017g) to no recovery, boot.. it would turn off after logo. Did this by relocking bootloader but while it still had 3rd party boot for LOS. I was able to hold vol +, vol - and power button to get it into an off screen mode where i could use axon7tool to rewrite boot and recovery (that i backed up before unlock).. this allowed me to get to the stock recovery on phone, then use recovery to flash stock image from sdcard. Hope this helps any bricked G users
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Wuchko:
I already asked on another thread, but maybe is better to ask here because it's related. So, I followed instructions in 1st post and successfully installed B15_FULL_ROM on A2017 with chinese modem. Now I can't update to 7.1.1. because I'm getting error in recovery during update related with modem followed by "error in [MENTION=688605]cache[/MENTION]/recovery/block.map (Status 8)". After reboot, I'm getting error that "The system package did not match the phone". So, obviously the problem is with modem which I replaced with original one. My question is: is possible somehow to install this update and avoid this check in bootloader? Or install B15 again with US modem, update to 7.1.1. and then flash chinese modem? I hope you understand what I'm asking.. Many thanks!
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] lipe123:
Thanks for all this man, i had an axon 7 that lost its audio drivers.

your bootloader and guide fixed her right up :D
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Vurio:
Are you on stock recovery or on TWRP? I am guessing TWRP?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Wuchko:
No, I'm on stock recovery. I installed B15_FULL. Didn't wanted to isntall B15_TWRP because of updates. But now I can't update because of modem which I changed with chinese...
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Vurio:
The modem change shouldn't matter. As long as the recovery and boot is stock, the system should receive OTA updates.

An option for you is to flash TWRP using fastboot and update to 7.1.1 using the latest zip posted by drakenfx.

BTW after flashing the chinese modem did call and data work and also which site did you pick up the modem from?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Wuchko:
Recovery is stock, but I have unlocked bootloader. In recovery during update I'm getting error "modem something" so I guess that update scans system before update, is that possible? After flashing modem, call and data works great (at least for me). I downloaded Chinese N modem from here. So if I flash TWRP and after that this 7.1.1., I'm not sure what will happen with modem? Will the update replace modem driver? Because with US modem I'll not have network service.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Vurio:
If the update package has radio in it then it will overwrite your existing radio and that will cause you to not have signal. The modem package from lineage OS page may not work with the recent update because the new 7.1.1 update bumps up security as well. You can wait or try your luck with the drakenfx update.

If your modem stops working you can always flash the edl package again
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Wuchko:
I'll try to flash DrakenFx's system then, as already suggested here and in another thread. Thanks!
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Vurio:
Do inform us of what happens! Hopefully it will work.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Wuchko:
So, first I flashed TWRP and then just flashed drakenfx system. And everything works like a charm (at least in my case)! :D:good: I have signal on both SIM's, 4G is also working, dualsim settings also works. So, it's possible to have B19 on A2017 :cool:
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] J0nhy:
I don't know what i did wrong but miflash shows me an error everytime i want to flash nougat

I tried flashing twpr and it flashes successfully but when i try to access to my recovery it wont let me and it keeps sending me back to edl mode :crying:

Edit: now it shows this :C

any advice? thanks
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Vurio:
Which device do you have (Chinese/European/American)?

What Rom are you on currently?

Is your bootloader unlocked?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] J0nhy:
I was on 7.1.1 stock American variant and yes my bootloader was unlocked :C

Miflash was workig just fine yestarday and today i wanted to install nougat using this method and i clicked the clean all little circle anfter few seconds it showed me with the error then i restarted the app and it showed the hello pocket thingy
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] lafester:
Unlock your bootloader, then you can access twrp.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] bkores:
Can you please do me a favor? Since you're reporting success with the ZTE drivers for MiFlash, can you please find where the setup exe got put on your PC and send it to me? I really need it for my toolkit and I don't have my Axon right now.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] J0nhy:
It was unlocked but now i cannot access anywhere but dl mode and miflash does not work on my pc tried it on two pc's with no luck
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] jawz101:
Actually, I don't have mine right now either. I'm currently stuck in RMA Hell with ZTE right now.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] bkores:
Oops, sorry about that! Never mind, don't worry about it :)
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] lytich:
hello everyone,

i have follow above instruction to restore fastboot function, my phone is running android 7.1.1 now, i want to root and install TWRP to restore my backup, but i can'y access fastboot.

i have tried every method, but i Miflash can't comunicate to my phone ( but in Devices Manager i can see qualcom 9008 port ), i don't know why, please tell me how.

thanks in advance.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] thohac:
Has anyone attempted the 7.1.1 OTA running "B15-NEW_FULL (Nougat)" EDL ?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] xDaDeevellopar:
If you still want to keep your data once you're in B19, follow this. Go to TWRP and wipe cache, dalvik, system. After that, go to EDL mode. Use MiFlash and JUST flash signed B15 and also don't flash TWRP yet. After it's flashed, you should still have everything like nothing happened (except that root is lost for now). Next is to do OTA in settings and update your phone to B19 (file size is around 400mb). After that, flash TWRP and get your root back if you want. It's not too hard.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] tal221:
i have chinese model

you said i can convert to A2017U, how?!

i have install this

B15-NEW_FULL (Nougat)

i dont have signal
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Cyrus D.:
Yeah, it won't work regardless of what recovery you have. With TWRP it won't do anything and with the stock recovery it'll say there's a mismatch of files and not install.

After updating to Nougat B15 using this EDL method I used the file in DrakenFX's second post in this thread: https://xdaforums.com/axon-7/development/rom-guide-updates-to-stock-files-via-t3469484

Make sure you follow his instructions, and make sure you have your Google account synced and other files backed up since your phone will be reset (I don't remember if things such as photos would remain safe).
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] lafester:
Worked fine for me, but I did it before draken released the twrp version.

I would use that now.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Choobilsky:
Check driver status in Windows device manager and switch to latest version. Then MiFlash should see your device. Had same issue here.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] bkores:
The OP should be updated as this works for the A2017G as well.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Test_subj:
After beating my head against miflash not working properly, I used an older version http://xiaomiflashtool.com/download/xiaomi-flash-tool-20160401 and it worked fine.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] syde1020:
Is there a twrp flashible zip for the latest update (US variant) im on the b15 update and really don't want to go through the process of flashing stock recovery just to get it.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Vurio:
https://xdaforums.com/axon-7/development/rom-guide-updates-to-stock-files-via-t3469484
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Mr.Sack:
How? Doesn't seem to work for me, all I get is can't read hello package errors...

---------- Post added at 08:50 PM ---------- Previous post was at 08:46 PM ----------

The axon7tool just crashes for me whenever I try to do it, could I maybe get your backed up files to try with?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] SantiHurtado:
Hey guys I was trying this out but every time I tried to flash it would display an error saying cannot recieve hellow package trying to reset status. Then it would just fail. I'm on 2017U B19. Thanks in advance!
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] sunrise3500:
It worked for me, I just had to do 1 file at a time. Trying to do more than 1 at a time would throw an error. ie write 1 file, restart the phone into the mode again

I originally backed up using axon7tool. How did you do your backup?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] warofhero:
Cool New Update B15. Thank you so much!!

---------- Post added at 04:21 PM ---------- Previous post was at 04:12 PM ----------

It's kinder hard to tell if your phone is in EDL or not. I have to try more than 10 times to make it work. If you know how to do it once, it will be easy to get into EDL.

Boot phone into EDL mode. (hold Volume Up + Volume Down + Power until you're stuck on a black screen)
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] SantiHurtado:
Yeah I'm pretty sure it's in EDL it's just Miflash that doesn't work

Edit: Guys I'm sorry, I was trying to flash the package folder not the one inside it. Sorry and thank you!
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] jcadduono:
Sorry I've been away for some time - addicted to World of Warcraft!

I just did it myself successfully without issues and am uploading B19-NOUGAT FULL EDL package now.

Unfortunately there is an issue with verification even though the data is fine, this is because MiFlash is not erasing empty block ranges to zero when flashing the sparse system image, so byte remnants of old filesystem remain (no harm). The solution is to run from TWRP before flashing the full EDL:

dd if=/dev/zero of=/dev/block/bootdevice/by-name/system bs=272144

This will clear all system blocks to zero, and the next time you flash the EDL it will be an exact bit match of what official OTA is expecting.

In other thoughts...

Holy crap, ZTE finally enabled user selected password based FDE encryption! Even more impressive is that it actually works on TWRP 3.0.4-1!

I still think they need to hire a native English speaker to fix their translations though... :)

Update: B19-NOUGAT FULL and TWRP EDL packages should be uploaded by sometime tomorrow morning (ex. ~10 hrs from this post)

Eat my Canadian 70 KB/s upload speed ;)

Update: ALL DONE!
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Fazedyrus:
Hi guys I'm on a relocked boot loader trying to flash B15 with MiFlash. The flash is successful but I get stuck in the zte screen. Any ideas?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Fazedyrus:
Retried with B19, same problem
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Simonis:
Hi guys a bought by mistake an Axon A2017 running after it's update ZTE a2017 v1.1.0 B13., May I ask 2 questions please (sorry but I searched an couldn't find information);

1. Can I use this method also for a 128gbyte phone?

2.How I do a backup{especially modem efs} to be able to go back?

Thanks
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Vurio:
What are you trying to achieve?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Simonis:
Oh I am sorry,

I am using this Chinese model in Europe, where I encounter 2 problems:

1. 4G connection is poor

2. Google play is not implemented very well in this phone, so Google contacts and calenders sync. Is not working.

So if I could get rid of these problems AND have root would be great

Thanks
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] cc_569:
Can I unlock bootloader with this method on my chinese version A2017v.2.1.1B07 ?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] cc_569:
I tried to unlock the bootloader of my chinese version A2017v2.1.1B07 but unsuccessful.

When doing with miflash, it is ok but then not possible to execute the next step. The phone don't have twpr.

should I select flash all in miflash? I only let the default option: flash all except storage.

Many thanks for your help!
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Felipe723:
My a2017 (cn) is in EDL mode, the following error appears in MIFlash:

(wait port ready to use 9)

what can I do?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] sToRm1nG:
I would like to create a full EDL for A2017G devices. Is there a way to get all information from my device to put something together? If so, could you give me a hand? We can PM if you wish to.

My device is already bootloader unlocked (currently on V1.2.0B02 but I could also downgrade if necessary).

Thanks anyway :)
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] XN Logos:
use Deep flash cable, you can't Flash whole Rom if You Have a dead Device but you can use This To Recover your Dead Devices, i have tried it many time on my Dead Redmi note 3 and it work perfect for me,

How-

First make a Deep flash cable, http://www.stupdroid.com/2016/10/make-xiaomi-deep-flash-cable-and.html

Download official Firmware replace bootloader [appsboot.mbn] using unlockable Bootloader File [available for Rn3 not Now for Other Devices,

Connect phone via Deep flash cable[Phone must Switched of and not in charging mod]

Let's flash it via MI flash 1-2.-3Some Second error--- helo pocket not Receive, But Don't Worry Bootloader is now flashed, Press Volume down and power, Device Booted into fastboot,

type-

fastboot oem unlock-go

and then flash all images one by one or use S-Droid toolkit

https://xdaforums.com/elephone-s7/development/s-droid-toolkit-driver-write-unlock-t3587234

Code-

fastboot flash' partition name' file name with type'
ex- fastboot flash system system.img
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] reign226:
miflash not working

I am on stock A2017 (Chinese version) and having problems with Miflash.

I reboot to EDL mode via abd reboot edl mode. For some reason, the power + volume button combinations put the phone into DFU mode instead of EDL mode.

once in EDL mode (Device Manager show QD Loader), put in MiFlash and detected. I unzipped the A2017U_FASTBOOT_UNLOCK_EDL.zip file and directed MiFlash to the newly created folder.

However the problem appears, sending Hello packet, then no reply. Below the log:

[0.01 COM15]:[COM15]:start flash.

[2.02 COM15]:cannot receive hello packet,MiFlash is trying to reset status!

[4.52 COM15]:cannot receive hello packet,MiFlash is trying to reset status!

[7.02 COM15]:try to reset status.

[8.03 COM15]:write time out try agian 96

[9.53 COM15]:write time out try agian 97

[11.03 COM15]:write time out try agian 98

[12.54 COM15]:write time out try agian 99

[14.04 COM15]:write time out try agian 100

[14.55 COM15]:error:The write timed out.

[14.56 COM15]:error:The write timed out.

Been happening like this every single time. I tested 4 different USB ports on my computer and the same. I saw some guy posted to use an earlier version of MiFlash, but i got a different error message when trying to use that as well.

Any help is appreciated!
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] lafester:
Direct miflash to the file inside the folder.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] reign226:
Sorry I don't understand? Miflash can only choose folder, not file.

If you are referring to the earlier version of Miflash where you can choose the files...that's even more confusing.

I am trying to unlock the bootloader first. Already set to OEM unlock.

---------- Post added at 11:27 AM ---------- Previous post was at 10:50 AM ----------

So just an update, I saw a previous reply stating that the problem went away after he installed the drivers that came with the phone. I followed the steps and rebooted into EDL but I still get the Qualcomm QDLoader instead of RELINK. However, this time Miflash seems to work, but I may have chose the wrong folder (I chose the "\A2017U_FASTBOOT_UNLOCK_EDL\A2017U_FASTBOOT_UNLOCK_EDL" instead of the root \A2017U_FASTBOOT_UNLOCK_EDL folder). However after flash successful, I issued command to reboot into fastboot from ADB but the phone just restarted and put me back into normal Android.

I saw on other forums that there is no current way to unlock bootloader on Axon Nougat yet...need to downgrade to MM to unlock.

After that I tried going back to EDL but the problem with Miflash (cannot receive Hello packet, etc) came back.

Very frustrating...
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] reign226:
just an update, today MiFlash appears to be working. Rebooted into EDL, flashed the bootloader unlock EDL package and immediately go into fastboot mode (vol up + power button).

Successfully entered fastboot mode but unable to communicate with the phone, no devices show up when invoking fastboot device command. The fastboot was stuck on searching for devices.

When I choose the option to reboot to recovery, the phone rebooted instead.

Likewise, issuing command adb reboot fastboot simply reboots the phone instead.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] achillesphazd:
I just removed TWRP and had unlocked BL using the zip. I need to send the device back to ZTE for a camera repair. Is there any way for me to lock BL?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] blessingme:
Deep Flash Cable its the Solution

Miflash is not the problem by EDL unbrick. The cable EDL is the problem. Buy a deep flash cable and Miflash will surely work! http://www.fonefunshop.co.uk/cable_picker/99673_Xiaomi_Deep_Flash_Cable.html
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] achillesphazd:
Was that directed at me? If so, could you elaborate? Where could I get such a cable?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] blessingme:
http://www.fonefunshop.co.uk/cable_picker/99673_Xiaomi_Deep_Flash_Cable.html
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Choose an username...:
Uhh does that work for 4th categ bricks?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] achillesphazd:
My phone is not bricked, I just need to lock the bootloader, everything else works fine.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] blessingme:
Yes of course!

---------- Post added at 09:14 AM ---------- Previous post was at 09:12 AM ----------

Still worth it to buy. You are on the right and safe side with this Cable!
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] djkuz:
This cable will not work. If you can not boot into Fastboot, FTM, Recovery and only get into DFU this cable will not help!
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Choose an username...:
that's just what i was thinking about... Fortunately I can't test it anyways
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] JeromeLeung:
Ran the B19 package in MiFlash. Everything works fine except I can't seem to boot into fastboot. It just restarts back to system. Anyone have any ideas about this?

Update: Ran MiFlash a second time and it solved the problem. Seems the B25 update doesn't let me boot into fastboot.