[OFFICIAL] LineageOS 15.1 for ZTE Axon 7

Search This thread

LuccoJ

Senior Member
Aug 6, 2010
100
49
For the record, after a long time without this problem, it seems that today I have joined the "stuck battery indicator"club (on latest official).

vtIJ4hlLCOJC.png


I did a couple of things recently (i.e. in the past week): I replaced NFound's recovery with Oki's one, and tried to use Unofficial's kernel over Official. Everything should be back to "normal" today, though, and this is happening.

Update: a reboot or a cold boot didn't help, but plugging in the charger resulted in the indication going from 70% to 75% in less than 10 seconds; then I disconnected the charger, and subsequently the indication went back below 70%, and it's at 65% now.
 
Last edited:
  • Like
Reactions: cyrusharding

jntesteves

Member
Mar 2, 2013
11
4
For the record, after a long time without this problem, it seems that today I have joined the "stuck battery indicator"club (on latest official).

vtIJ4hlLCOJC.png


I did a couple of things recently (i.e. in the past week): I replaced NFound's recovery with Oki's one, and tried to use Unofficial's kernel over Official. Everything should be back to "normal" today, though, and this is happening.

Update: a reboot or a cold boot didn't help, but plugging in the charger resulted in the indication going from 70% to 75% in less than 10 seconds; then I disconnected the charger, and subsequently the indication went back below 70%, and it's at 65% now.

Your battery problem is different from the "always being stuck at 50%" that others mentioned. Have you trying clearing the baterry stats? It's just deleting a system file, there are some apps that can do this for you.
 

LuccoJ

Senior Member
Aug 6, 2010
100
49
Your battery problem is different from the "always being stuck at 50%" that others mentioned. Have you trying clearing the baterry stats? It's just deleting a system file, there are some apps that can do this for you.

Yes, I tried with this app after fully charging my phone, but my problem had seemed to go away when I charged my phone briefly and then let it discharge below 70%, so I don't know if the stats reset alone would have fixed the issue. I'll update my post if it happens again and I can try more things.

But also, I lose track of things a bit sometimes, and I didn't realize I am still running kernel 3.18.71-perf-gf94f7af25ec4, which I believe is the Schwifty kernel... as I said, I had played around a bit with recoveries and kernels, so I guess that's the big remaining difference between my phone and a standard official LineageOS.

I had installed it in the hope I'd get low persistence mode while remaining on official, though unfortunately it seems I still only get that if I echo 1 into the kernel parameter manually, and Daydream apps don't do it. Oh well. I can go back to the standard official kernel, although aside from this (one-off?) getting-stuck issue, I do seem to have nearly twice as much battery life as I had before (two days of standby instead of one, basically).
 

_phk_

Senior Member
Mar 6, 2012
212
59
@Unjustified Dev: which thermal-engine binary are we using atm? Could the blurring issue be caused by that?
I see that the thermal-engine.conf and thermal-engine-vr.conf file is also changed correctly when entering daydream mode.

Edit: Litte update: I've seen in Stock ROM A2017GV1.3.0B03 there is a different thermal-engine binary and only one thermal-engine.conf file. However I don't understand how the switch between NORMAL and PERF profile is done.
 
Last edited:

Mazupicua

Senior Member
Sep 4, 2012
202
19
New York
Realme GT
Download the magisk module called props config or something of that nature. Then you need to change the fingerprint of the device to zte axon 7 within the list. It changes the fingerprint back to 7.1 nougat.
I appreciate your comment but this is honestly kicking my behind... At first I thought all I needed was busybox (by osmosis) and magisk would just work....that's a nope.... Then I downloaded the prop config and I'm reading the instructions over and over and nothing.... So i know there's a fingerprint for my phone and that's about it...
 

koftheworld

Senior Member
Jun 9, 2010
1,518
520
Central NJ
I appreciate your comment but this is honestly kicking my behind... At first I thought all I needed was busybox (by osmosis) and magisk would just work....that's a nope.... Then I downloaded the prop config and I'm reading the instructions over and over and nothing.... So i know there's a fingerprint for my phone and that's about it...

After you install the module and reboot, you have to run the commands in terminal (need to install it). Just follow the prompts.
 
  • Like
Reactions: Mazupicua

Mazupicua

Senior Member
Sep 4, 2012
202
19
New York
Realme GT
Download the magisk module called props config or something of that nature. Then you need to change the fingerprint of the device to zte axon 7 within the list. It changes the fingerprint back to 7.1 nougat.

After you install the module and reboot, you have to run the commands in terminal (need to install it). Just follow the prompts.
Wanna know something really funny, i was just looking around on the liquid rom thread and some dude explained it very well (will do it later, I'm at work right now) but thank you for your reply :p idk why something so simple was giving me problems mang, I guess it's just one of those days...
 

thexfiles123

Member
Dec 26, 2014
22
0
Skopje
Not sure if this is related to Lineage or just my crappy battery finally dying, but lately since I updated to a december version (a bit afterwards) but I began encountering INSANE backround battery drain, like 2 % per minute, in the backround, screen off or on, no apps using it, and clearing cache, restarting, charging to 100% etc doesn't fix it, charge overnight and it still drains insanely fast, any one have any ideas? Perhaps I can try leaving it in recovery to see if it drains that fast there too or something, apps like acubattery are confused and dont know what's up.
 

Mart Son

Senior Member
Jul 29, 2014
103
21
Xiaomi Mi 10T / 10T Pro
Not sure if this is related to Lineage or just my crappy battery finally dying, but lately since I updated to a december version (a bit afterwards) but I began encountering INSANE backround battery drain, like 2 % per minute, in the backround, screen off or on, no apps using it, and clearing cache, restarting, charging to 100% etc doesn't fix it, charge overnight and it still drains insanely fast, any one have any ideas? Perhaps I can try leaving it in recovery to see if it drains that fast there too or something, apps like acubattery are confused and dont know what's up.

Did you install the unofficial?
The newest has a good battery consumption.
 

thexfiles123

Member
Dec 26, 2014
22
0
Skopje
Did you install the unofficial?
The newest has a good battery consumption.

yeah I tried updating am on lineage-15.1-20181228-nightly-axon7-signed.zip, still have that massive drain problem, maybe it's my battery itself but I'm just hoping it's not, gonna need to wait 30+ days for a battery to arrive from China if it is, with a basically unusable phone, oof.
 

Mart Son

Senior Member
Jul 29, 2014
103
21
Xiaomi Mi 10T / 10T Pro
yeah I tried updating am on lineage-15.1-20181228-nightly-axon7-signed.zip, still have that massive drain problem, maybe it's my battery itself but I'm just hoping it's not, gonna need to wait 30+ days for a battery to arrive from China if it is, with a basically unusable phone, oof.
There are two download links in op. Try the one for unofficial. The newest build is from Dec. 13th
 

tprfd

Senior Member
Jan 20, 2012
63
53
yeah I tried updating am on lineage-15.1-20181228-nightly-axon7-signed.zip, still have that massive drain problem, maybe it's my battery itself but I'm just hoping it's not, gonna need to wait 30+ days for a battery to arrive from China if it is, with a basically unusable phone, oof.
That's not the latest unofficial. That's the latest official.

Unofficial has updates that apparently help with battery life and is here:

http://files.nwwn.com/~unjust/

Latest build from dec 13th.

It requires a few steps to install and those steps are indicated in the thread, pages back. There is a script to run to move from official to unofficial.
 

Young Gunna

Senior Member
Can anyone confirm if Volte and wifi calling are working in the latest unofficial? Been quite awhile since I've tested LOS.

On the latest unofficial and official work Verizon wireless I have volte without having to adjust anything. No magisk modules or anything else. Gps also locking very quickly less than 15 seconds out doors

See attached pictures. Note... I had to do a clean install to get things working... Ie delete data partition too I'm using the Oreo modem and v2 bootloader from original post.
 

Attachments

  • Screenshot_20181214-224024_GPS_Test.jpg
    Screenshot_20181214-224024_GPS_Test.jpg
    248.8 KB · Views: 578
  • Screenshot_20181214-222101_Settings.png
    Screenshot_20181214-222101_Settings.png
    68.6 KB · Views: 578
  • Screenshot_20181214-222044_Phone_Services.png
    Screenshot_20181214-222044_Phone_Services.png
    206.4 KB · Views: 579
  • Screenshot_20181214-222020_Settings.jpg
    Screenshot_20181214-222020_Settings.jpg
    244.7 KB · Views: 583
  • Screenshot_20181214-221739_Phone.png
    Screenshot_20181214-221739_Phone.png
    125.6 KB · Views: 558
  • Like
Reactions: pnin and EBeatFLA

Young Gunna

Senior Member
Thanks.. And I see you don't have wifi calling provisioned. Can anyone confirm if Wifi Calling is working? Is the option even available?

I am very confident but not 100 percent sure that Verizion blocks wifi calling from phones that are not "certified" on their network based on imei. When I log into my Verizion account it says I'm using an unknown device.

And does not give me the option to enable wifi calling like I can on my wife's phone.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 94
    http%3A%2F%2Fi.imgur.com%2Ff2gAFBe.png%3F1
    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
    52
    I made this thread detailing a bit more how I got my phone bricked, so people don't do the same thing as me.

    https://xdaforums.com/axon-7/help/bricked-phone-trying-to-install-los-15-1-t3847517
    To avoid more device bricks I have created very detailed, easy to follow instructions on how to update with minimal risk. The Bootstack in the OP is fine, but it doesn't support Emergency Download
    (EDL) mode. To avoid that I have gathered my custom B12 Bootstack, the TWRP Labs 1.3 and the Official LOS15.1 into an EDL package.


    BACKUP:

    if you want to keep your information, then you should do a backup of your data before continuing with this guide. You can use the file manager to move your Documents, Downloads, Music, Pictures, Videos, etc... from your internal storage to an external SD card. You can upload them to a cloud service such as Google Drive, One Drive, MEGA, DropBox, etc. Or use the USB connection to move your information to your PC.


    DEVICE UNLOCK:

    Unlocking your bootloader will trigger a factory reset, and will delete the internal storage along with all the information in your phone. If your Axon 7 bootloader is still locked, you have to follow this guide before proceeding to the rest of this guide. It works for Marshmallow and Nougat stock phones. Please use that thread to ask any question related to unlocking your device.


    INSTALLATION INSTRUCTIONS:


    WARNING, THIS GUIDE WILL WIPE ALL THE DATA IN YOUR DEVICE, INCLUDING THE INTERNAL STORAGE.
    IT REQUIRES YOUR DEVICE TO BE UNLOCKED, OTHERWISE YOUR DEVICE COULD BE BRICKED.
    !!! Whatever you do, it is at your own risk !!!

    In case you get stuck at any point in this guide, do not panic! There is a straightforward way to go back to stock. Just follow this Unbrick/Restore guide. I've tried to make things as easier as possible for everyone, specially newbies not used to deal with the Axon 7. So, I have created stable custom EDL packages. In order to reduce the risk and complexity, this one Stop ROM Shop performs all the following actions in a single flash:
    - installs my customized B12 Bootstack with EDL support
    - removes unlocked bootloader annoying warning message.
    - creates vendor partition.
    - installs TWRP Labs Mod 1.3 custom recovery
    - installs Official LOS15.1 ROM.
    - And the guide also helps you to format data and cache as f2fs in case you haven't done it already. It provides better battery, performance and extends the lifespan of the internal flash.

    STEPS

    1. Download and Unzip Axon7_LOS15.1_180925_B12Oki_TWRP_LABS1.3_FULL_EDL.zip to a folder in your computer, ensuring there are no errors. I have an A2017U, so the American modem is the package default. If you have an A2017 or A2017G just copy your modem firmware, from the corresponding provided modem subfolder, to the main folder. Just overwrite the default American modem file.
    2. Install MiFlash in your PC. It includes the Qualcomm Snapdragon SoC drivers, nonetheless you can always install the latest Qualcomm drivers.
    3. 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.
      • While your phone is completely off, press VolUp+VolDn while connecting your phone to your PC.
    4. If you haven't done yet, it's time to connect your phone to your computer.
    5. Open MiFlash in your computer.
    6. Click Browse button and select the folder you created with the firmware files in step 1.
    7. Click Refresh button and your device will appear listed as virtual COM port.
    8. Click Flash button and wait for a few minutes until it finishes. Note the bottom options are not applicable.
    9. Press VolUp+Power until the phone vibrates, then release both buttons and wait for TWRP to boot. Go to Reboot menu and keep pressed VolUp while tapping on DM-Verity ON until the phone vibrates. TWRP will restart.
    10. Go to Reboot menu and keep pressed VolUp while tapping on eMMC Write until the phone vibrates. TWRP will restart.
    11. Go to Advanced > Oki Labs menu and tap on Expand OS.
    12. To ensure everything is clean you should format the DATA partition, including internal storage. Go to main menu > 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.
      NOTE: If you receive an error while formatting data, 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. Format DATA as EXT4 first and, without leaving TWRP do it again as F2FS. That will fix the issue.
    13. Go to main menu and reboot system.

    Happy transition to Official LineageOS 15.1 Oreo. I have not included Google Apps and Magisk root since I just wanted to create a basic package with easy to follow instructions. If you are interested in expanding these instructions with GApps and Magisk just let me know.
    43
    Lol all those thumbs up. I don't get it. Is this a hint or something?
    Jealous? No sir lol I'm just subscribing myself trying to catch up on things I just came back from a 21st birthday vacation. I do want to wait around and see what all issues people find that we couldn't. To be fair about battery life etc we didn't get the latest and greatest Oreo kernel source I received a bad beta with horrible overheating and battery life. I decompiled the dtb (device tree blob) from the prebuilt B12 kernel and that helped a lot as you can see no one hand is burning which is what I experienced before. Hopefully we can get everything solved and worked out eventually. I'm basically handing everything over to OP I'll continue to contribute though so I'll probably be getting back in touch with everyone on Hangouts soon to see if I can get some of the small necessary things out of the way like SELinux, offline charging mode, and the flip cover. At this point there's no reason to report anything previously reported, I've read every single comment and page just be patient

    Sent from my G8142 using Tapatalk
    40
    I'm returning on the 16th got a promotion at my second job now I'm quitting my first. My plan is to start fresh on Pie using B32 kernel source and only modify it to work with Oreo camera. We gotta catch up in time for Q.

    Been seeing a bunch of fix battery percentage fixes. I said before ZTE oreo release appeared to scrap every change from stable N B32 to start fresh so I've been reverting pieces back to caf and b32 so I too have the battery profile working correctly in my latest kernel for 15.1. I was waiting around to see if ZTE released something new before I go and rewrite everything to be clean and less of a mess for something special.

    Sent from my G8142 using Tapatalk