• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[OFFICIAL] LineageOS 15.1 for ZTE Axon 7

OrdenKrieger

Senior Member
Dec 25, 2012
961
4,597
93
Lineage OS
About Lineage OS:

Lin·e·age
/ˈlinēij/
noun
lineal descent from an ancestor; ancestry or pedigree.
a sequence of species each of which is considered to have evolved from its predecessor.


Disclaimer:
LineageOS (Lineage Android Distribution) members or anyone else on this website is not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed. Please do some research if you have any concerns about features included in the products you find here before flashing it! YOU are choosing to make these modifications, and if you point the finger at us for messing up your device, we will laugh at you. Your warranty will be void if you tamper with any part of your device / software.


Warning:
This ROM will not work on devices that have not installed the O bootloader and appropriate modem package below. Any failure in this process could lead to an unrecoverable bricked device.

Instructions:
Attention! The bootloader needs to be unlocked!
1. Install the Universal O bootloader and your model specific modem. Download
2. Update your version of TWRP. Download
3. Perform a backup of your current ROM. (optional)
4. Wipe system,data and cache (optional) [Needed if coming from another rom!; always good to avoid bugs]
5. Install the ROM. Download or Download Unofficial builds
6. Install GApps. (optional) [Recommended -> Open GApps (arm64) (8.1)]
7. Reboot.

What is CAF?
Code Aurora, a Linux Foundation Collaborative Project, hosts tested open source software code needed to provide upstream enablement for innovative, performance optimized, network connectivity and related ecosystems to support system on a chip (SoC) products. It also serves as a staging area for open source code that is submitted to various upstream projects such as the Linux kernel and Android. CAF also mirrors key upstream projects for use by the community.

Sources, Changes, & Wiki:
Source | Changes | Axon 7 Wiki | Lineage OS

Credits:
@Unjustified Dev
@DrakenFX

XDA:DevDB Information
[OFFICIAL] LineageOS 15.1 for ZTE Axon 7, ROM for the ZTE Axon 7

Contributors
OrdenKrieger, Unjustified Dev, DrakenFX, tdm
Source Code: https://github.com/LineageOS/android_kernel_zte_msm8996/tree/lineage-15.1

ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.x
ROM Firmware Required: O bootloader + region modem
Based On: LineageOS

Version Information
Status: Nightly

Created 2018-06-05
Last Updated 2018-10-14
 
Last edited:

OrdenKrieger

Senior Member
Dec 25, 2012
961
4,597
93
Reserved

If anyone gets the red warning at the start, this over TWRP or with adb debugging enabled, should fix it. This is also only needs to be done once.
Code:
[COLOR="Red"]THIS MAY WIPE YOUR DATA![/COLOR]
adb reboot "dm-verity enforcing"
* Alternative you can short/once press the power button to continue the boot process.
 
Last edited:

Raffikie

Senior Member
Oct 10, 2016
116
17
0
This supports dual Sim?

---------- Post added at 10:07 PM ---------- Previous post was at 10:06 PM ----------

If anyone gets the red warning at the start, this over TWRP or with adb debugging enabled, should fix it. This is also only needs to be done once.
Code:
[COLOR="Red"]WARNING THIS MAY WIPE YOUR DATA![/COLOR]
adb reboot "dm-verity enforcing"
Do not get how you do this over TWRP?
 

OrdenKrieger

Senior Member
Dec 25, 2012
961
4,597
93
This supports dual Sim?

---------- Post added at 10:07 PM ---------- Previous post was at 10:06 PM ----------



Do not get how you do this over TWRP?
Open an adb terminal on your pc, connect an usb cable and paste
Code:
adb reboot "dm-verity enforcing"
Dual sim should work but I couldn't test since I only use 1 sim card.
 
Last edited:
  • Like
Reactions: AceNovel

ortolan

Member
Jun 26, 2017
27
14
0
Don't know why but my phone just bricked after flashing this. I flashed it the same way like I did with all Oreo roms. My steps:

_Wipe data/system/cache/dalvik.
_Flash the Universal bootloader and A2017G modem from the link in OP.
_Flash Lineage OS 15.1
_Flash micro Gapps
_Wipe dalvik/cache
_Reboot

My phone stuck at the screen saying that my device is corrupted, I cannot boot back into TWRP also. Any idea ?

*Edit: I got it back to TWRP, will try again :)
 
Last edited:

OrdenKrieger

Senior Member
Dec 25, 2012
961
4,597
93
Don't know why but my phone just bricked after flashing this. I flashed it the same way like I did with all Oreo roms. My steps:

_Wipe data/system/cache/dalvik.
_Flash the Universal bootloader and A2017G modem from the link in OP.
_Flash Lineage OS 15.1
_Flash micro Gapps
_Wipe dalvik/cache
_Reboot

My phone stuck at the screen saying that my device is corrupted, I cannot boot back into TWRP also. Any idea ?

*Edit: I got it back to TWRP, will try again :)
This over pc adb terminal
Code:
adb reboot "dm-verity enforcing"
or this inside of TWRP
Code:
reboot "dm-verity enforcing"
 
  • Like
Reactions: AceNovel

Cablespider

Elite Member
Jun 5, 2012
1,413
1,278
113
Chicago
If anyone gets the red warning at the start, this over TWRP or with adb debugging enabled, should fix it. This is also only needs to be done once.
Code:
[COLOR="Red"]WARNING THIS MAY WIPE YOUR DATA![/COLOR]
adb reboot "dm-verity enforcing"
Is there an instance where this has to be applied again? If you reinstall the bootloader, for example?
 

DarkQuark

Senior Member
Dec 1, 2015
196
84
0
New Orleans
So I was having FC issues with just the Google App. I downloaded Gapps again and reinstalled Gapps. Now I get stuck at the LOS boot animation. I am trying to get back into TWRP but I am not sure of the key combo since the whole "press the power key in 30secs" thing at the bootloader screen. Thank you.

-EDIT-
Got back into TWRP. I hit the volume keys after the power button message. Then I picked recovery from the bootloader menu. Then I have to hit the power button on the next go around and it goes into TWRP.
 
Last edited: