[ZTE Axon 7 Guides, News, & Discussion] EBeatFLA:
​

YOUR WARRANTY WILL BE VOID

I AM NOT responsible for anything that may happen to your phone while attempting to follow this guide.

You are doing so at your own risk, and you take full responsibility for your decisions and actions.

You are not to blame me or XDA, or any of it's respected developers.​

​

​

Anyways, now that that is out of the way. Those of us who have been in the Axon 7 forums know that information is quite scattered about. So it can be difficult for any newcomers to find everything they need before making any leaps or dives with their device. This guide’s purpose is to centralize the quickest and easiest steps to follow in order to get Treblized and to get on a stable Pie GSI build that can be used as a home base before experimenting further with other ROMs and/or GSIs.

Even if you are not satisfied with the Havoc Pie GSI, your device will still be in an optimal state to try the latest Oreo 8.1 ROMs, such as LOS 15.1 or DotOS 2.5, or to try any of the other Pie GSIs in the Treble forums.

Things you will sacrifice:

No VOLTE

No Encryption

No Dolby

No Daydream

No AK4490 DAC (will default to AK4491)

Camera Flash out of sync (Use OpenCamera for flash shots)

Not able to set password for Hotspot (Open connection only)

Again, if you don't find using a Pie GSI worth these sacrifices after trying it out, you can easily move to an Oreo ROM like LOS 15.1 or DotOS 2.5, which have more functioning features.

----------------------------------------

DOWNLOAD

----------------------------------------

(NOTE: The below setup will be fluid as discussion in this thread finds more stability with newer vendor builds and newer HavocOS 2.0 GSI builds)​

After completion of this guide, your device will be setup with the following (might as well download everything):

Oki's TWRP 3.2.3.0 Lab's Mod v1.3

B20 Bootstack by DrakenFX - Modified by Verequies (Splash or NoSplash)

Oreo Modem (U, G, or Chinese)

DotOS 2.5 boot.img (This also contains the DotOS vendor, if you wish to use it)

LOS 15.1 vendor (20181110) build

HavocOS 2.0 Pie GSI (20181027) build - NOTE: Most GSIs are provided compressed. You must extract the .img file from the downloaded file.

Your preferred GApps ( https://opengapps.org/ ) (ARM64, 9.0, Micro or below only)

Also download OrdenKrieger's TWRP 3.2.3.0, going to need it handy to flash the vendor img.

And the NFC_Hotspot Fix by Kountry83 (You will need this for almost every GSI you try)

----------------------------------------

FAQ

----------------------------------------​

WHATS UP WITH THE BOOTSTACKS?

The bootstacks that are currently available for the Axon are somewhat of a mess, if not careful, you can easily brick your device.

For Pie GSI setups, I recommend the B20 bootstack by DrakenFX that has been modified by Verequies, Splash version.

Verequies has asked that I also link the NoSplash version in case some users have issues with the Splash version, but many testers have had no problems with the Splash version on this setup.

Unlike the DrakenFX B20 bootstack, these modified versions do not flash the modem, so there is no need to flash modem again when switching between them. Sometimes will need to Unlock Password in TWRP when switching though, it will say not recognized.

Splash

Ability to have Read/Write access in system.

Nice three logo splash screen, replacing bootloader warning screen.

No bootloader warning screen means not able hit volume button during boot to get menu for Recovery, Fastboot, etc.

Which also means you will have to use power button + volume up combo to enter Recovery, or reboot to recovery from the ROM.

No EDL three button combo.

Can't charge without booting system or TWRP.

NoSplash

Read Only access in system. (Which will break Magisk)

Ugly bootloader warning screen.

Able hit volume button during boot to get menu for Recovery, Fastboot, etc.

Able to use EDL three button combo.

Allows offline charging without booting into system.

​

WHY EDL?

Starting out with Oki’s LOS 15.1 EDL package just makes it easier for everyone. It’s easier for you because there will be less steps needed to get treblized, which will also mean less room for error. It’s easier for me because it makes for a much shorter guide, and it’s easier to find answers to issues if we all started on the same page. However, if there are enough requests, I’ll make a longer guide without the use of EDL.

If you are already treblized you won’t necessarily need to EDL (in most cases), but if you run into issues please don’t comment until you’ve tried starting with first step.

----------------------------------------

GUIDE

----------------------------------------​

STEP 1:

Please follow Oki’s Easy Guide to EDL LOS15.1

IT IS IMPORTANT TO FOLLOW EVERY STEP

Try not to boot into system while going through the steps if possible, but it’s ok if you do.

You can use [MENTION=6330152]djkuz[/MENTION] Axon 7 EDL Tool, instead of MiFlash, if you are more familiar with that.

Also, in step 12, it states to format to F2FS, but I recommend to format to EXT4 for the best compatibility with GSIs. As a precaution, to make sure your partitions will read correctly, format the partitions to F2FS per the instructions, then format them back to EXT4.

You can always test if F2FS works for you later.

Thank you [MENTION=319057]Oki[/MENTION] for this wonderful starting point for new Treble users.​

CONGRATULATIONS - You are now TREBLIZED and should never have to do Step 1 again.

STEP 2:

Once done with Oki’s guide, stay in TWRP

Wipe Dalvik, Cache, Vendor, System and Data.

Flash the bootstack you chose.

Flash the appropriate modem for your variant.
​

CONGRATULATIONS - You should never have to flash those again, unless changing bootstack for whatever reason.

STEP 3:

In TWRP make sure System and Vendor partitions are mounted.

Flash the DotOS Vendor flashable.

(It doesn’t have DotOS in the file name, so it should be named something like “Vendor_Flashable_GSI…”)

In TWRP go to Install and in the bottom right select Install Image

Now we flash the Havoc GSI image you extracted, selecting the System partition.
​

DO NOT BOOT TO SYSTEM - We need to use OrdenKrieger’s TWRP 3.2.3.0 to flash the LOS 15.1 vendor.img

(If you wish to use the DotOS vendor, you can skip to Step 5. You will still need to reboot to Recovery, so don't skip that.)

STEP 4:

Flash TWRP 3.2.3.0 to Recovery partition and then reboot to Recovery

You should now be in TWRP 3.2.3.0

Flash the LOS 15.1 vendor.img to the Vendor partition
​

DO NOT BOOT TO SYSTEM - We need to restore Oki’s TWRP and flash GApps.

STEP 5:

Flash Oki’s TWRP 3.2.3.0 Lab’s Mod to Recovery partition and then reboot to Recovery

You should now be in Oki’s TWRP 3.2.3.0 Lab’s Mod

Flash GApps

Make sure System and Vendor are mounted

Flash the NFC_Hotspot Fix
​

NOW BOOT SYSTEM

I will wait here while you setup your device.

DONE? GOOD. Lets set up Magisk and pass SafetyNet

STEP 5:

At this time I recommend Magisk 17.2

Find it, download it, and flash it in TWRP

Once booted, in Magisk search for the module “MagiskHide Props Config” and install it.

Then search for BusyBox module by Osmosis and install it.

Reboot

Using a terminal app (not in TWRP) like Termux, type “su”

Grant root privileges

Then type “props”

You should be greeted with a menu

Select 1 to Edit fingerprint

Select F to Pick a Certified fingerprint

Then follow the menu to select ZTE and Axon 7

Then yes and yes to reboot.
​

Everything should be good to go now. ENJOY!!

To add just a few more options to your setup without overdoing it with a heavy launcher, I highly recommend:

Lean Launcher Optimized

I will surely be adding to this guide and modifying it as the situation evolves. So feel free to give me any input on how to improve it.

----------------------------------------

THANKS

----------------------------------------​

Thanks to [MENTION=5334294]raystef66[/MENTION] and all of the testers in the [SUMMARY][PIE] BEST PIE ROMS to TRY thread, as well everyone in the "Axon7 (s)GSI trebleSHOOT" Telegram group, for testing, "trebleSHOOTing" and reporting your findings.

Thanks to [MENTION=319057]Oki[/MENTION] again for his easy guide and LOS 15.1 EDL package.

Thanks to [MENTION=4911249]Unjustified Dev[/MENTION] for uploading separate vendors for us GSI users, and for all of the work he's done on LOS and his help in the LOS threads.

Thanks to [MENTION=8026407]Verequies[/MENTION] for creating the two modified versions of [MENTION=3044858]DrakenFX[/MENTION] 's B20 bootstacks, and of course [MENTION=3044858]DrakenFX[/MENTION] for his B20 and B12 bootstacks.

Thanks to [MENTION=3610850]SaintZ93[/MENTION] for his work on DotOS and for providing a flashable for boot and vendor only.

Thanks to [MENTION=3610850]SaintZ93[/MENTION] and [MENTION=6977124]Skrem339[/MENTION] for their great work on the Schwifty kernel.

And thanks to [MENTION=4800797]hundeva[/MENTION] for his work on Lean Launcher.