[UNOFFICIAL] LineageOS 16.0 for ZTE Axon 7

Search This thread

OrdenKrieger

Senior Member
Dec 25, 2012
962
4,602
http%3A%2F%2Fi.imgur.com%2F2okPze5.png


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. Also does any build from now on require a vendor partition, by doing this you will lose the ability to flash official builds provided by ZTE. Any failure in this process of flashing or repartitioning could lead to an unrecoverable bricked device.

What's not working:
SELinux is permissive

Instructions:
Attention! The bootloader needs to be unlocked!
Attention! You'll need a vendor partition!
1. Install the Universal bootloader and your model specific modem. Download
2. Flash vendor creation tool. Download (unnecessary, if done already)
* On first flash the device will reboot, just reboot to recovery and reflash the zip.
3. Update your version of TWRP. Download
4. Perform a backup of your current ROM. (optional)
5. Wipe system,data and cache (optional) [Needed if coming from another rom!; always good to avoid bugs]
6. Install the ROM. Download
7. Install GApps. (optional) [Recommended -> Open GApps (arm64) (9.0)]
8. 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
[UNOFFICIAL] LineageOS 16.0 for ZTE Axon 7, ROM for the ZTE Axon 7

Contributors
OrdenKrieger, Unjustified Dev
Source Code: https://github.com/OrdenKrieger/android_kernel_zte_msm8996

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

Version Information
Status: Testing

Created 2018-08-19
Last Updated 2019-07-28
 

Predatorhaze

Senior Member
Feb 18, 2016
1,193
208
Gelderland
Nice.But its unclear for me...is gapps inbuild android 9 or we still need gappas package? And we can also use b12 0 bootstack from Nfound,correct?
 

Predatorhaze

Senior Member
Feb 18, 2016
1,193
208
Gelderland
Read the instructions, they are there for a reason.

lmao,i did.There is nothing mentioned we can use nfound bootstack and it says Gapps is optionally,it doesnt say gapps is inbuild. So what do you mean with optionally? I just ask this so people are not confused,and i am one of them that is confused. OPS in threads can be a mess,or have things missed that can be important
 
Last edited:

ttkian

Senior Member
Feb 4, 2017
106
75
Xiaomi Poco X3 Pro
lmao,i did.There is nothing mentioned we can use nfound bootstack and it says Gapps is optionally,it doesnt say gapps is inbuild. So what do you mean with optionally? I just ask this so people are not confused,and i am one of them that is confused. OPS in threads can be a mess,or have things missed that can be important.You also say its optional to wipe system data cache if come from other rom,but in fact its REQUIRED to wipe system data if you come from other rom
GApps is always optional because some people want them and some don't. If you read carefully, on LOS 15.1 is the same.
 

OrdenKrieger

Senior Member
Dec 25, 2012
962
4,602
lmao,i did.There is nothing mentioned we can use nfound bootstack and it says Gapps is optionally,it doesnt say gapps is inbuild. So what do you mean with optionally? I just ask this so people are not confused,and i am one of them that is confused. OPS in threads can be a mess,or have things missed that can be important

Why should I mention other stuff if I already provide a working bootstack. Why would I give a download link for Gapps and add the the optionally tag, if they would be build in.
 

raystef66

Recognized Developer / Recognized Contributor
Jul 2, 2013
2,667
11,975
Belgium
ZTE Axon 7
Xiaomi Mi 9
thnx @OrdenKrieger and all others involved :good:
Nice build - working smooth, no lag
DT2W ok
Used bitgapps as a starter
At last NO echo and incall volume adjustable
FP working
Hotspot OK
camera pics ok, recording crashes when saving - on both pics and video lag on movement
usb preferences work
afaik there is no way in settings to reverse softkeys so i used mine : https://androidfilehost.com/?fid=3700668719832237510 (be sure to be rooted and mount system/vendor)
Notifications work - on lockscreen and leds ok

EDIT : after testing a bit, definitely more heating and i mean a lot, more cpu load (f.e. as on the PPR1 img )..... could not stabilize temp on cpu 92C ! Only after applying powersave in EXKM...definitely something to look into (only Wifi on, no BT, no specific apps running....only the basic stuff to test your build )

EDIT2 : fast charging way more heat on battery - also battery drain too fast even with no cpu load



Will test further ;)
 

Attachments

  • los16.jpg
    los16.jpg
    67.8 KB · Views: 7,733
Last edited:

Hellsbend

Member
Jul 31, 2018
21
9
I try to flash but brick.
I download the bootloader and modem and Twrp and install them.
TWRP from OP did not see vendor Partition.
After flashing the Rom, no Twrp booting, no System booting...just fastboot working.
 

ttkian

Senior Member
Feb 4, 2017
106
75
Xiaomi Poco X3 Pro
I try to flash but brick.
I download the bootloader and modem and Twrp and install them.
TWRP from OP did not see vendor Partition.
After flashing the Rom, no Twrp booting, no System booting...just fastboot working.
So, the OP says "FOR NOW THIS BUILD ONLY WORKS ON DEVICES WITH A VENDOR Partition". Did your device have a vendor partition before flashing this one?
 

raystef66

Recognized Developer / Recognized Contributor
Jul 2, 2013
2,667
11,975
Belgium
ZTE Axon 7
Xiaomi Mi 9
Yes of course, I was running ray steffs LineageOS 16 Treble bevor
Hi mate!
You shouldnt have used another BL nor twrp if you were on Nfounds and twrp3.2.18.Just flashed this rom and rebooted would have been fine.
Try to revert back to where you came from, at least flash his twrp3.2.18 and do a restore if you can.
 
Last edited:
  • Like
Reactions: Aviver

Hellsbend

Member
Jul 31, 2018
21
9
Hi mate!
You shouldnt have used another BL nor twrp if you were on Nfounds and twrp3.2.18.Just flashed this rom and rebooted would have been fine.
Try to revert back to where you came from, at least flash his twrp3.2.18 and do a restore if you can.

Thank you very much, I am on the other LineageOS again.
Flashing Nfounds Twrp through fastboot, than O Bootstack again and I could restore my backup :)
Maybe they should point on that in the OP here.
I will try again in a minute and report back.
Thank you again!

---------- Post added at 07:26 PM ---------- Previous post was at 06:35 PM ----------

Hi mate!
You shouldnt have used another BL nor twrp if you were on Nfounds and twrp3.2.18.Just flashed this rom and rebooted would have been fine.
Try to revert back to where you came from, at least flash his twrp3.2.18 and do a restore if you can.

That work's just fine.
I just tried this new build now, but it's just the same as the build you posted earlier today.
The only difference in this build....
  • Device information now shows Axon7 U
  • Same small bugs as in the other LineageOS 16 GSI plus wifi bit bugy
  • Signature spoofing is broken
Not worth it jet setting it up all new again.
I went back to my backup again.
Thank you again.

Edit
Of course, it's easier to flash because Post 1,2 and 3 are "included" now.
So it's quicker to flash.
 
Last edited:
  • Like
Reactions: raystef66

raystef66

Recognized Developer / Recognized Contributor
Jul 2, 2013
2,667
11,975
Belgium
ZTE Axon 7
Xiaomi Mi 9
Thank you very much, I am on the other LineageOS again.
Flashing Nfounds Twrp through fastboot, than O Bootstack again and I could restore my backup :)
Maybe they should point on that in the OP here.
I will try again in a minute and report back.
Thank you again!

---------- Post added at 07:26 PM ---------- Previous post was at 06:35 PM ----------



That work's just fine.
I just tried this new build now, but it's just the same as the build you posted earlier today.
The only difference in this build....
  • Device information now shows Axon7 U
  • Same small bugs as in the other LineageOS 16 GSI plus wifi bit bugy
  • Signature spoofing is broken
Not worth it jet setting it up all new again.
I went back to my backup again.
Thank you again.
Not quite. Mine was derived from Redmi Note 4. It looks the same for sure but devs have done some adjustments as to ECHO, dt2w working, notifications, ....
BUT my LOS16 build had no heating, nice CPU load and no battery drain and no heating when charging at all but had the annoying echo as we know it on other gsi builds and no dt2w, no notifications working on lockscreen, no led...
So there are definitely pros from this build and pros from mine.
Hope they can manage heating.
Also back on AEX as the heating (in my case) was too heavy. Dont want to ruin anything now ;)
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 81
    http%3A%2F%2Fi.imgur.com%2F2okPze5.png


    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. Also does any build from now on require a vendor partition, by doing this you will lose the ability to flash official builds provided by ZTE. Any failure in this process of flashing or repartitioning could lead to an unrecoverable bricked device.

    What's not working:
    SELinux is permissive

    Instructions:
    Attention! The bootloader needs to be unlocked!
    Attention! You'll need a vendor partition!
    1. Install the Universal bootloader and your model specific modem. Download
    2. Flash vendor creation tool. Download (unnecessary, if done already)
    * On first flash the device will reboot, just reboot to recovery and reflash the zip.
    3. Update your version of TWRP. Download
    4. Perform a backup of your current ROM. (optional)
    5. Wipe system,data and cache (optional) [Needed if coming from another rom!; always good to avoid bugs]
    6. Install the ROM. Download
    7. Install GApps. (optional) [Recommended -> Open GApps (arm64) (9.0)]
    8. 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
    [UNOFFICIAL] LineageOS 16.0 for ZTE Axon 7, ROM for the ZTE Axon 7

    Contributors
    OrdenKrieger, Unjustified Dev
    Source Code: https://github.com/OrdenKrieger/android_kernel_zte_msm8996

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

    Version Information
    Status: Testing

    Created 2018-08-19
    Last Updated 2019-07-28
    52
    -UPDATE-

    Changelog:
    • 2018-09-05 Security Patch (android-9.0.0_r6)
    • Kernel based on newest P CAF tag release (LA.UM.7.6.r1-02000-89xx.0)
    • CNE, DPM, IMS, and RIL blobs updated from Axon M (fujisan) thx to @Unjustified Dev
    • Wlan based on newest P CAF tag release
    • Bluetooth based on newest P CAF tag release
    • RIL based on newest P CAF tag release
    • Fix API1 compatible camera ids, if HAL3 is enabled LineageOS Gerrit
    • Use thermal engine configuration from marlin (Google Pixel XL)
    • Some useful repopicks (e.g. APN updates, icons etc.)
    • LineageOS repo sync
    DOWNLOAD
    lineage-16.0-20180907-UNOFFICIAL-axon7.zip
    51
    Sorry for the inconvenience, didn't notes that LineageOS pushed the new CAF display,media and audio HALs to github. Since our display/media blobs are still based on an Oreo CAF tag, these cause issues with newer P CAF HALs. Next build scheduled for today.
    44
    -UPDATE-

    Changelog:
    • 2018-11-05 Security Patch (9.0.0_r16)
    • Kernel and qcacld-2.0 to LA.UM.7.5.r1-03100-8x96.0
    • Update DRM from Pixel XL (marlin)
    • Update GPS to LA.UM.7.5.r1-03100-8x96.0
    • Update SDM, Vulkan blobs
    • Update CNE, DPM, IMS, and RIL blobs from Axon M (fujisan)
    • Changes from B20 stock build imported
    • Smaller misc fixes
    • Repo sync LineageOS
    DOWNLOAD
    lineage-16.0-20181114-UNOFFICIAL-axon7.zip
    44
    -UPDATE-

    Changelog:
    • SD cards not being detected fixed
    • Snap and Qcom Gallery2 are back
    • ANT+ enabled again and blobs updated for P
    • IPACM enabled again and updated for P
    • Marlins (Pixel XL) brightness curve is used now
    • Smaller misc fixes
    • Repo sync LineageOS
    DOWNLOAD
    lineage-16.0-20180918-UNOFFICIAL-axon7.zip