yashsingh1/xdaforums huggingface dataset:
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Catalana:
Thank you [MENTION=5672995]jcadduono[/MENTION] for the fast reply. I am fully updated to Nougat 7.0 (OTA), OEM locked,

with a Google account, SD card, single SIM, PIN and fingerprint enabled and no modifications/tinkering to date.

Any tips on avoiding encryption issues, should I go forward with unlocking my phone?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] eladmitz:
Flash twrp on nougat bootloader unlocked

Sorry for the noob question:

I'm on stock nougat with bootloader unlocked,

What are the steps to flash twrp and stay on nougat? (if you can, step by step :)

Eventually I want to flash LOS..

Thank u very much for hard work!
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] gpz1100:
@Catalana

The FASTBOOT_UNLOCK just replaces the stock (b20 or b29) fastboot with one that permits passing of the oem unlock (bootloader unlock command) and flash commands. I haven't tested it beyond flashing recovery and boot (kernel).

The original B20 fastboot did not accept these commands. The full firmware file for b29 came with an updated fastboot that also blocked these.

The first update to B20 (P996A01B20Fastboot_ssl.zip) made system, kernel and recovery changes. In addition, it also replaced the fastboot. This version as far as I know is the only one that accepts the commands above.

Version history for A2017U (oldest-- newest): B20, B20_fastboot, B25, B27, B29, B15. All but the B15 are marshmallow based. My phone which was purchased in Dec 2016 came with B27.

Multiple tools for the same job are a blessing and a curse. If you know what you're doing it's really helpful. For the new user, it complicates things. This device is already plenty convoluted.

@jcadduono can confirm this, but using FASTBOOT_UNLOCK package with the Xiaomi MiFlash Installer can simplify the unlocking process.

It's no longer necessary to flash the signed twrp using the axonroot tool, then flash the P996A01B20Fastboot_ssl.zip fastboot, then oem unlock, then flash the updated, but unsigned twrp.

After enabling oem unlock in the developer settings, you reboot the device in EDL mode, flash the FASTBOOT_UNLOCK package with MiFlash. Reboot the phone into fastboot mode*, perform the bootloader unlock, then flash* the updated unsigned twrp. This saves the step of having to flash twrp twice.

*Haven't used Miflash yet so unsure if it reboots the phone when done. If it does, and you're quick, you can intercept it from booting completely and boot into fastboot mode instead to flash the unsigned twrp.

To do so, press the power button for about 4 seconds (until blue zte logo appears), immediately release, then press and hold vol up. Keep holding until the white options menu appears. Use vol bottons to highlight fastboot, then power to accept. Note, this is on the updated b20 fastboot (the one that permits flash and oem unlock commands). I believe the behavior is similar on a stock b20 or b29 fastboot too. Someone please confirm.

Once in fastboot, flash twrp. Once in twrp, you can make backups, flash super so, etc.

So, is one method easier than the other¿? I'm not sure.

I don't think it's possible to flash both the fastboot_unlock image and twrp at the same time. The intermediary step of unlocking the bootloader is still required to flash anything unsigned.

----------

Edit:

Bootstack flash zip files: I think some people are confusing what these are. In essence, they're all the low level firmware components of the system other than the actual /system and kernel. I wasn't sure what a bootstack zip was either until I looked inside the zip to see what's there. I prefer to use the term firmware, but even that can be misleading as it may or may not include the system/kernel. Easy way to tell is by size. Archives larger than a gig will typically include everything. Few hundred MB or less, partial.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Catalana:
[MENTION=2179192]gpz1100[/MENTION] , Thank you so much! I know it is time consuming to write up detailed instructions,

but you also explained a lot about the evolutionary process of b20_fastboot in a way that is easy to understand.

Things are starting to make sense now, as after reading many of the other threads, the process and issues involved

fall into place.

So with care and fully understanding with what initial conditions a device starts out with, one should not have to much of a problem.

Setting up adb and correct drivers (as posted / linked to in this thread) should further mitigate any conflicts. This is the first thread that

gives me a sense of confidence that I should be able to achieve the unlocking and rooting process and easily revert back to stock,

should things go wrong. I have downloaded and secured all the necessary files, bookmarks and links. I'll do a little more reading and monitoring

of threads, just to see if there are any more issues, but this should be fine. Thank you again [MENTION=2179192]gpz1100[/MENTION] and [MENTION=5672995]jcadduono[/MENTION].
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] tenfar:
for newer qualcomm chip., the programmer must be signed by vendor. in your case .zte.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] zguy30:
Thanks!
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] messi2050:
Thanks for clarifying it to me, may i ask where did you get the signed axon 7 programmer xD
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] otaconremo:
Quick question:

If i flashed these files on a china version, will I still be able to use the second sim? Or the dual sim settings still not available?

Thanks devs.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] xDaDeevellopar:
Whenever I flash SuperSU, my phone freezes at the unlock screen and turns off. Anyone know why that happens?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Harmtan2:
So I have no idea what I'm doing wrong here.

1) Coming from B15 nougat, so I'm flashing the A2017U_B15-NEW_TWRP_EDL via MiFlash

2) Boot Into Recovery after to get into the bootloader and run 'fastboot oem unlock'

3) Once that is complete I get back into twrp Format System

4) Flash Lineage & Gapps

5) Format Data in the wipe menu

6) Boot up get the LineageOS load screen

7) Then get the message, To start Android, enter your password

8) I can pretty much enter Gibberish & then it pops up with 'Decryption unsuccessful' The password you entered is correct, but unfortunatley your data is corrupt. Blah blah blah suggests a factory reset.

9) I can't seem to get past this screen... Any suggestions?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] d.cortez:
[MENTION=5672995]jcadduono[/MENTION] - thanks to you (and others involved) for developiong and posting this process to root the Z7; i struggled a little bit with the instructions, but eventually found my way to get TWRP installed and backup my pre-rooted device.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] lafester:
keep getting hello packet error and object reference not set to an instance of an object. Device reads correctly in device manager and shows up in miflash.

must be missing something somewhere.

ok got it.

couple notes:

-must unzip or you cannot select package

-must select the folder inside the package

-must reboot edl after any failed attempt

--since you can't see anything on the screen, easy tip for rebooting edl is to watch device manager for connection
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] blackknightavalon:
I'm having the same issue, but after flashing the official Nougat firmware via the EDL flasher.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] JohnOrion:
I can't figure out what I am doing wrong .. the instructions seem so simple .. launch the MiFlash program .. hit select and select one of the edl.zip files you downloaded and hit flash ... but .. I launch MiFlash ... hit select and cant select any edl.zip files I downloaded .. they don't show in the folder where they located. If I point the Select to the directory and then type in the name "C:\XiaoMi\A2017U_B15-NEW_FULL_EDL.zip".. it still doesn't do anything
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] d.cortez:
Instructions say "folder package"; I extracted the A2017U_B15-NEW_FULL_EDL.zip contents into a folder named ZTE7 and then selected the folder C:\ZTE7 in the MiFlash app. Then I buy refresh followed by flash.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] JohnOrion:
Yeah I tried that too .. if it point it into the A2017U_B15-NEW_FULL_EDL directory with all the files extracted and hit flash... nothing happens... if I hit refresh it says "Specified cast is not valid."

I have tried this with the full one ... and with the A2017U_FASTBOOT_UNLOCK_EDL one ... I just don't know what I'm doing wrong .. everything seems ok .. I put the phone in EDL mode and in Device Manager I show Qualcomm HS-USB QDLoader 9008 (COM5) and its functioning properly .. I launch MiFlash 2016.08.30.0 and select the folder that I extracted the files in... nothing changes in the program but the path .. I press flash and nothing happens .. I press refresh and I get the above message.

The log file shows this after trying:

[12:06:10 PM]:Specified cast is not valid.

[12:06:10 PM]: at XiaoMiFlash.code.Utility.UsbDevice.GetAndroidDevices(TreeViewUsbItem item, List`1& outItems) in D:\Workspace\MiFlash\XiaoMiFlash\XiaoMiFlash\code\Utility\UsbDevice.cs:line 99

at XiaoMiFlash.code.Utility.UsbDevice.GetAndroidDevices(TreeViewUsbItem item, List`1& outItems) in D:\Workspace\MiFlash\XiaoMiFlash\XiaoMiFlash\code\Utility\UsbDevice.cs:line 101

at XiaoMiFlash.code.Utility.UsbDevice.GetScriptDevices(List`1 UsbItems) in D:\Workspace\MiFlash\XiaoMiFlash\XiaoMiFlash\code\Utility\UsbDevice.cs:line 89

at XiaoMiFlash.code.Utility.UsbDevice.GetDevice() in D:\Workspace\MiFlash\XiaoMiFlash\XiaoMiFlash\code\Utility\UsbDevice.cs:line 47

at XiaoMiFlash.MainFrm.RefreshDevice() in D:\Workspace\MiFlash\XiaoMiFlash\XiaoMiFlash\MainFrm.cs:line 298
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] TeutonJon78:
I think those other changes were mostly to update the build version to B20_BOOT so that it would mark in the rest of the system that you were on the special build line. Then it could more easily prevent any OTAs from coming down.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] os_man:
http://www.androidbrick.com/ultimat...s-are-unbrickable-qhsusb_dload_qpst_qfil_edl/ ,

No credits to me ?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] d.cortez:
does your folder with the extracted files have 2 folders like the picture below ? there should be 2 folders within that directory. (i used a different package than you did)

- A2017U_B15-NEW_FULL_EDL

- META-INF

also after installing the software and drivers did you reboot your pc? i had to reboot before MiFlash could communicate with the phone.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Harmtan2:
I figured out how to get it to boot with some amazing help from the LineageOS thread. I was told 'Format Data' does nothing in twrp? Idk but what he suggested was to go into advanced wipe, change the File system to Exf4. I'm in, also I disabled emmcwp, which you do with ADB run the command 'adb reboot disemmcwp'. Idk which one did the trick & I don't care. I'm in! Wahooo! Hopefully this helps.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] d.cortez:
props to you as well bro.... this was very helpful for me. :)
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] eladmitz:
Any help? Is this the right thread to ask it?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] JohnOrion:
yes to both of these questions :( ... I'm frustrated .. going to give it a break for a little then maybe try again with an old laptop with Windows 7 on it.. and if that doesn't work maybe I'll try my Windows 10 laptop .. maybe something has gotten messed up in my desktop.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] jcadduono:
what for
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] tokinger:
Has anybody tried this on A2017 Chinese model?

If the boot stack of both phones is the same... Why did [MENTION=3044858]DrakenFX[/MENTION] suggest that Chinese phone needed B10 Bootstack ? as per: https://xdaforums.com/axon-7/development/rom-guide-updates-to-stock-files-via-t3469484

Anyway I bricked mine by trying to flash

B29_TWRP (Marshmallow)

This will install TWRP 3.0.4-1 and unlock fastboot operations while restoring B29 boot stack.

The same happened with nougat's version.

Thankfully [MENTION=6330152]djkuz[/MENTION] helped me, by uploading a flashable recovery

Is this the only way to install nougat in A2017 Chinese model?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] JohnOrion:
I reinstalled everything ... now I get it to say Device 0 port COM3 ... but when I flash it says sending hello ... cant receive hello trying reset .. then it fails. So something is still not right ... but I'm still trying :D

It does this on two different PC's .. both giving the same errors and failures
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] blackknightavalon:
Slight modification to your suggestion, but you did give me the idea. I had to format /system as ext4 first, then flash Lineage/GApps/Magisk, then format /data as ext4. But I got it all working!
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Harmtan2:
Good! I'm glad you got it working. I was getting frustrated wondering what I did wrong. I've never had to do anything with reformatting like that so I just didn't know.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] KyJelly69:
when I extract the zip file i get a edl folder and a meta-data folder. Do I select the edl folder or should I put both of those in another folder and chose the new folder? ie. New_EDL>EDL+meta-data

---------- Post added at 10:00 AM ---------- Previous post was at 09:27 AM ----------

me too
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] yvgamer94:
Thanks for this detailed how to. It worked perfectly for my chinese a2017 Axon 7 with no problems and am now in the process of trying to flash the nougat us rom and also even G version.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] JohnOrion:
I tried both the "created/extracted" folder with the two folders inside .. and the EDL folder inside of the "created/extracted" folder. At least it isn't just me .. I thought for sure I was doing something wrong .. and probably missing something stupid .. but I guess not :)

Even tho it seems that the driver is functioning .. it seems not to be communicating with the program... I'm wondering if some of us need to change any of the port settings in the driver ... but ... I'm not familiar with the program or what is actually failing ... it just seems like the "handshaking" isn't working properly.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] KyJelly69:
I used the reinstall driver option in miflash and it is now working...
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] tokinger:
Please share with us if you are sucessful and what are you flashing to install Nougat there, as my chinese A2017 refused to boot using the first post's bootstacks.

Thanks!
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] thedauntlessone:
I am having problems to get MiFlash to work. The official version gives me the "Specified cast is not valid error," and the beta one gives me "cannot read port error." I installed and reinstalled all drivers. Anyone have a solution to this?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] BlazingBullets:
You might have to clear your data after flashing via miFlash.

For me it booted fine but I have no signal, no shock as it flashed the a2017U bootstack so I don't have proper support for my phone's(a2017) bands.

Works fine but honestly, it's pretty bad. Just same as MM but with a few nougat tweaks. Double tap to switch is pretty cool but Xposed lets me that as well, bit slower but it still works.

tl:dr, stay on MM if you are using A2017.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] tokinger:
So let's wait for usable software for A2017...

So there is no compatible bootstack as it is for B29 (except for Dual SIM settings)... Let's hope the Chinese release something then.

Thanks for the advice:good:, I've seen a bunch of people complaining about Nougat's performance and bugs... Pretty dissapointing for US owners :rolleyes:

Have you tried any other custom ROM that's worth it?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] yvgamer94:
TWRP 3.0.4 official running Chinese 128GB 4GB Gold a2017 B13

Flashed b11 chinese bootstack with eu a2017G B8 successfully but with 2 problems. No sound and wifi present but everything else seems to work. Will try B10 and with it's bootstack. Finger print sensor is superior to Chinese rom as it registers 9.9/10 times as Chinese rom sometimes rejects.

Will try flashing b29 a2017U modded zip and then nougat b15 with b11 Chinese bootstack and see if it successfully flashes and boots.

All I can say is G version is crazy smooth compared to chinese rom and way less bloatware.

Will update soon.

Thanks to [MENTION=3044858]DrakenFX[/MENTION] for the flash-able zips.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Bolandk:
You're the real MVP!

This really should be added\edited into the OP.

Cheers
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] JohnOrion:
Well .. I was able to finally flash the A2017U_B15-New_Full_EDL to my Axon 7. I was able to flash twrp-3.0.3-1-ailsa_ii on it .. but then it comes to the "swipe" ... if I follow the instructions and copy the SR3-SuperSUv114223742.zip to my SD card and Swipe in TWRP and use it to install SR3-SuperSUv114223742.zip .. the phone will not boot .. it will just go to a black screen after the "5 second" wait ... if I leave it plugged in .. it seems like its booting into EDL mode.

I'm getting closer but still at a loss for why I can't "finish" installing everything. Anyone know how to get the TWRP / SU to install and boot the phone .. maybe I don't have the right versions .. maybe I'm missing a step ...

Basically after installing the full EDL I went to the bootloader and used fastboot oem unlock and it does say my bootloader is unlocked .. at this point I booted into the phone and turned on debugging again and booted into the bootloader and did fastboot flash recovery twrp-3.0.3-1-ailsa_ii.img and that was successful .. so I went into twrp and did the slide and then went to install and selected the SR3.zip from my sd card and installed it ... I wiped the d/cache and rebooted ... I got the warning and then the screen goes blank and the phone doesn't boot.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] lafester:
try stable su 2.79
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] JohnOrion:
Sorry .. it is 2.79 lol.. missed that part when I was copying the name :D SR3-SuperSU-v2.79-SR3-20170114223742.zip
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] lafester:
no, that is 2.79 sr3.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] tenfar:
you need to unzip the zip file to folders .

从我的 iPhone 发送，使用 Tapatalk
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] JohnOrion:
Thanks .. didn't realize there was a newer version thought sr3 was the latest .. it seemed to have worked I seem to have a stock unlocked rooted Axon 7 now .. thanks for your help and all those others who replied.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Eroticus:
Hi, some one know some ROM that support Chinese version ?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] neo4uo:
I keep getting the cannot receive hello packet error in MiFlash? I see my device listed in MiFlash and have tried reinstalling the drivers several times. I am on windows 10 and have also tried running MiFlash as Admin. I know that I am in EDL mode because I have manually booted in there and have also tried using ADB reboot edl so it has to be in edl mode. My bootloader is already unlocked I am just trying to get TWRP on my phone.

Any suggestions would be appreciated :)

Thanks

I finally got it to flash I tried another version of MiFlash off of the net and it repaired my version and then I used ADB reboot edl and it flashed so who knows maybe that version would not work with my phone, I will never know lol.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] psyfer5:
Just want to say thanks for all the work done with this process. I spent most of yesterday trying to get B15 rooted. After I gave up, I was easily able to install B29 twrp and reinstall my back up.

The issue was I was using the wrong supersu.

Installing and rooting this morning took minutes.

Thanks again to all who made this possible.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] J-Pod:
So the MiFLash sees my phone when it is in the bootloader, stock recovery, and system, but it doesn't see it when in EDL mode. THe DEvice Manager sees it in EDL mode though. I am not sure how to proceed since I cannot flash anything in EDL mode since MiFlash doesn't see it :(

Edit 1: Now I got it to connect, but now when I navigate to the unzipped folder, it says "couldn't find script" or other times "Object reference not set to an instance of an object" or "can not found programmer file"

Edit 2: Well I used the 2016.08.30 miflash from the xiaomi site and it wouldn't work, but then later inthe day I tried again and it worked! Didn't do anything anything different, but it worked!
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Liquid5n0w:
I can't find a link using google for a SU later then SR3?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] lafester:
Who said it was later?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] psyfer5:
I had assumed, latest and greatest right? That is what got me in trouble.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] otaconremo:
I have a question... the first post referring to:

Do I flash this in miflash or from TWRP?

I have the china version and if this is the full b15 and OP said it can convert china to us version, I'm thinking about trying it out.

Did anyone already flash this full b15 here?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] pringlet:
The full Nougat rom worked perfectly to update my A2017U to B15. Thanks for putting this together! Make sure you 'boot' your phone to EDL mode and then connect the USB cable. In the MiFlash it should show up as a COM port.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Cyrus D.:
I'm currently sitting on Marshmallow B29, unlocked BL, rooted, with SU 2.79-SR2 and TWRP 3.0.4-2 installed. What's the most simple approach for me to upgrade?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Zoriak22:
Hello everyone, I have a ZTE Axon 7 Chinese version phone with B13, I used mi flasher to flash the B15-NEW_FULL (Nougat) version. And now everything works properly, but I don't have network service... I can't call or use mobile data, I live in EU, now what I have to do to be able use SIM network? It's a T-mobile sim card.

What I did wrong? Here's what I did

1. Restarted phone in volume up+volume down+power

2. Started mi flasher (I also installed every driver)

3. flashed the B15-NEW_FULL (Nougat)

4. Restarted phone, setting everything up, phone works properly, everything is good wifi, sound, but no network service

If I try to make a call I get a prompt message to turn of flight mode. But I don't turned on. Any solution? Thanks to all!

This is the only problem that I have, everything is works properly, the fingerprint scanner, everything.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] otaconremo:
I'm on the same boat as you.. I also tried flashing the A2017_N_Modem.zip but it still doesn't solve the issue.

Although my sim cards are detected but it keeps disconnected every couple of seconds.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] KyJelly69:
any way you could make packages for LOS?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] kingoftheafro:
What are the steps for using fastboot to unlock bootloader. It says in OP follow instructions.....but there aren't any. What commands do I use and in what order? I'm getting sick of this phone and I'm about 2 seconds from throwing it into the snow and saying screw it all.