[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Oki:
​

A few days ago we could see a YouTube video of an Axon 7 running Android P. Since that preview was not available, I decided to assemble one myself using the Vendor and boot partitions from the latest Treble ROM by NFound, the complete Pixel XL system image and a few hours removing Pixel specific items, adding a working camera, trying to stabilize it so it could boot without FC, connect to internet, having working Google Apps and being able to experience Android P with the limitations of the available resources. It made me feel so glad to see Android P in my device that I decided to share this feeling with everyone. So, now you will be able to flash and experience my Android P proof-of-concept in your own Axon 7!!!

:laugh: Working:

- It boots!!!

- Wifi

- Camera

- Google apps

- Magisk root

:eek: Not Working:

- SIM detection (No phone or mobile communications)

- Sound

- Bluetooth

- Sensors

- GPS

- Stability issues.

As you can see it is not, by any means, a daily driver. It is a proof of concept of what we will see in the future. The best of all is that it can only improve!!! Do not expect any maintenance, NFound is working in a proper Android P development so take this just as a sneak peek of what Android P roms would bring to your device in a few weeks/months. This is a single release I just assembled to see a preview of Android P in our own phones, having a better idea of the UI changes, take some screenshots, benchmarks, app compatibility and some camera shots too. It is up to you.

REQUIREMENTS:

You need:

An unlocked Axon 7

A Windows computer

The USB cable.

DOWNLOAD:

Axon7_Android_9_Oki20180728_FULL_EDL.7z

INSTALLATION:

WARNING, THIS GUIDE WILL WIPE ALL THE DATA IN YOUR DEVICE.

This procedure will delete and overwrite your device. All the data and internal storage information may be lost so do a backup of your data partition and your internal storage before running these instructions.

!!! Whatever you do, it is at your own risk !!!
​

Just follow these instructions and, in a few steps, you will have Android P (sort of) in your Axon 7:

Un7zip the EDL package to a folder in your computer.

Install MiFlash in your PC. It includes the Qualcomm Snapdragon SoC drivers, nonetheless you can always install the latest drivers.

Enter EDL mode using one of the following options:

by pressing VolUp+VolDn+Power until the power led flashes briefly

Installing a terminal app and typing reboot edl at the app prompt.

connecting your phone to your PC and typing adb reboot edl at your computer's command prompt.

If you haven't done yet, it's time to connect your phone to your computer.

Open MiFlash in your computer.

Click Browse button and select the folder you created with the EDL firmware files.

Click Refresh button and your device will appear listed as virtual COM port.

Click Flash button and wait for a few minutes until it finishes. Note the bottom options are not applicable.

Press VolUp+Power until the phone vibrates to enter into recovery, then release both buttons. Go to Advanced > Terminal and type: reboot disemmcwp

Wait a few seconds until the boot animation begins and press again VolUp+Power until the phone vibrates to enter again into recovery. Go to Advanced > Terminal and now type: reboot "dm-verity enforcing"

Wait a few seconds until the boot animation begins and press again VolUp+Power until the phone vibrates to enter again into recovery for a 3rd time. To ensure everything is clean you should format the DATA partition, including internal storage. Go to settings and ensure "Use rm -rf instead of formatting" option is not selected. Then go to Wipe > Advanced Wipe, select Data partition and tap on Repair_or_Change_File_System button and then on Change_File_System button. Select F2FS and confirm action. Do the same to apply F2FS to the Cache Partition. Now from the main menu > Wipe select and clean cache and dalvik.

Your system is now ready, reboot to system to enjoy the Android P developers preview.

To return your axon 7 to the standard B12 Treblerized structure compatible with Treble and not Treble ROMs just repeat the previous steps but flashing Axon7_OREO_B12_TREBLE-Ready_Oki20180728_FULL_EDL.7z. This will leave a basic bootable AEX ROM with Magisk and TWRP 3.2.2 so you could flash or restore your previous ROM and backup.

CREDITS/SOURCES:

Google for releasing the Android P developers preview for the Pixel XL, and updated Google services from APK mirror

[MENTION=5492451]NFound[/MENTION] for his Oreo AEX 5.7 ROM image (I took the Oreo device files to add Axon 7 support to Android P).

[MENTION=6212583]Spillunke[/MENTION] for the nice splash image.

[MENTION=6330152]djkuz[/MENTION] for his Axon 7 EDL Tool that helped to extract all this and put it in a single EDL file.

Cheers!!!!!