yashsingh1/xdaforums huggingface dataset:
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] nfsmw_gr:
Ok, thanks.

I'll try messing around with that file and see if I manage to disable it.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] docentore:
Mind that it is beta and as bld mentioned it's laggy as hell. Use v4, version 5 is going to be rewritten
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] nfsmw_gr:
Seems like this file is not the file to blame.

EXKM reports that sytem is actively changing the min and max frequencies.

Is this some sort of thermal driver issue maybe?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] mb0:
i flashed the Universal O bootloader from this post and i was afraid to be in a situation where i need EDL and the Universal O bootloader isn't support;

so i used yours guide and :)

if i try to flash Treble ROM will i need to to something els or just flash any Treble ROM?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] pnin:
Thank you for the detailed and newbie friendly guide. Excellent work. :good:

If you don't mind my asking and assuming the discrete parts mentioned above are readily available, can you please confirm:

- Your customized bootstack is 'AXON7-Oki_REMIX-B12_BOOTSTACK-iEDL.zip' (available from https://androidfilehost.com/?w=files&flid=278845)?

- Which of the "TWRP Labs Mod" recoveries are you including (the one with or without encryption capabilities)?

As I'm already running LOS, I intend to eventually follow the installation procedure in OP for upgrading -- but I'd rather retain EDL bootstack capabilities just in case..

Plus, I'm assuming encryption is present for the second question, but would appreciate some confirmation beforehand.

If you know any other caveats one should be aware of, feel free to share... :fingers-crossed:
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Oki:
Use the alternative/safe installation guide a few posts ago.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] wanyal:
This worked. Thanks very much.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Oki:
I am glad you had a nce :) upgrading experience with that quick alternative/safe installation guide. From here on you can flash any Treble ROM from TWRP as usual, or even flash a GSI on top of LOS15.1 if you want to test a Pie release other than the excellent Unofficial LOS16 for the Axon 7. The Guide tries to remove the risks and complications derived from dealing with bootstacks and recoveries.

Yes, that is the bootstack integrated in this EDL package. The TWRP Labs is the 1.3, not the 1.3(B12). It doesn't support B12 encryption. But is the most stable, using the Official TWRP3.2.3-0 as a base for the mod. It is stable and has all the tools required for completing all the installation steps in a safe and easy way. Upon completion the user can flash any other recovery, an updated LOS15.1, a new Kernel or a GSI on top of it. The guide objective is to offer the safest, fastest and hassle free transition for any user. There has been several Axon 7 bricks due to the delicate steps of the official installation for inexperienced users. This way the source of errors can come only from a bad cable or power loss during the upgrade. Since the guide uses an EDL compatible bootstack, in case of a flash error you can just reboot the phone and try again, or roll back to a previous configuration using another FULL_EDL package in MiFlash.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] tprfd:
Hi Oki, I appreciate the work you provided but I have concerns using a bootstack and TWRP that is not supported by the Lineage OS developers. I really just want to install it once and update over OTA until 16 is out. I don't want have to deal with any issues caused by running odd/different recoveries, bootstacks, etc. on some random day 3 months from now after an OTA update. I also might be incorrect but I believe the TWRP you provide in the easy installation was by a developer who now has left and therefor is unsupported (however I think you're working on an updated one yourself).

All I wanted to do was install with all supported software from OP and am curious as to the correct order coming from stock and not from another custom rom or lineage 14.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] nfsmw_gr:
Okay, so regarding the input boost issue I had.

If you set the performance profile to power save under Settings->Battery->Battery saver and performance profiles the 1593mhz input boost on the small cluster goes away, but of course this limits the max to 1036mhz max on all clusters.

Anyone knows where on github is the function of the performance profiles documented so I can see which command(s) remove the boost on the power save profile?

my guess is that this most likelystops perfd or some sort of thermal or qcom service.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Penoro123:
I unbricked my phone, finally. Here's a step by step of what I did, if anyone is as dumb as me.

https://xdaforums.com/axon-7/help/b...-install-los-15-1-t3847517/page2#post77736630
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] whoiswes:
Anyone else experiencing this on the 9/25 build? I flashed both it and the 9/26 test build and any vibration results in a very loud, almost-metallic sound that was described up-thread. This didn't occur on any of the 14.1 builds and I did a full wipe/format when upgrading so I'm at somewhat of a loss.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Oki:
I always disable the crappy integrated pre-processor WhateverFX and install Viper4Android. No significant extra CPU use while the sound quality is at another much higher level.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Penoro123:
Has anyone had any luck flashing the bootstack with the recovery that's in the OP? I always get Error 6.

I'm downloading Oki's EDL package, but I always get extremely slow download speed from that website, so it's gonna take a while to download.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] ackliph:
I have very little service where I work. I have just cleanly upgraded to LOS15.1, and every time I make a call the screen goes black and locks up. Any remedies for that?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] LuccoJ:
I'm not sure if the VR-related commits are meant to be included since they're marked in red, and if they are, then I'm also not sure whether they're meant to provide low persistence... but just in case they are: they still don't on my phone, I get blurry screen refresh in Daydream even if I select "reduce flicker".
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Unjustified Dev:
It's not included I abandoned them for the moment until lp mode is added to the light HAL
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Penoro123:
NVM.

solved it.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] rzarectha:
question please. If I have the G, do I need to copy only the "A7G_NON-HLOS.bin" file in the EDL folder, or do I need to copy "META-INF" too?

Please disregard my quesiton. it is included in the folder, I am ashamed :(
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] kg3:
So are the instructions in OP to be used when going from stock to LOS? Are there any prerequisites as it appears a few people have had some issues/errors with those instructions. Might be worth expanding on the instructions.

There appears to be a new file at step 1 called "A2017x_OfficialLineageOS15.1_UniversalBootstack_by_DrakenFX.zip" is this the universal bootloader we should be using?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Oki:
WoW! you are very misled and you may be misleading others here regarding the contents of the EDL package of the alternative/safe installation instructions.

1. The bootloader and the Recovery are not supported by LineageOS. They only support the ROM.

2. The universal Bootloader linked in the OP was the first one and has some issues, like not supporting EDL mode key combo, instead has the useless DFU mode. That bootloader was prepared by [MENTION=3044858]DrakenFX[/MENTION], ripped from the Oreo B12 Beta ROM, leaked from ZTE and was the original one. I built my own bootstack taking some parts from DrakenFX's and NFound's B12 bootstacks, trying to get a safe bootloader with EDL support so I could flash without worrying about possible bricks, and it worked. I have messed up many times the partition table while building the PARTY tool and the evolved B12 bootstack I made for myself has saved me countless times from a bricked device. This is why I decided to share my bootstack remix with everyone a few weeks ago. The EDL in the guide has that curated and safe bootstack. At the end, DrakenFX's, NFound's and mine work the same way since they all come from the same original source, ZTE. The modifications are in the boot sequence, and not in the rest of the hardware init or IO code.

3. The EDL package has the TWRP Labs Mod 1.3, released and maintained by me and based on the latest official TWRP 3.2.3-0.

Regarding further LOS 15.1 updates, the installation method is compatible with OTA. Actually I do not plan to release any other EDL package with updated LOS15.1. Once you had this initial version installed, just flash the newer release, or do a OTA to the latest one. This EDL basically helps people with less experience to avoid the ugly experience of bricking their devices when doing the tricky bootstack and recovery update. Other than that, the only difference at the end is a bootloader with safe EDL mode support and a recovery with extra functionality, and both can be replaced after the installation from inside TWRP without caring about what steps you perform first.

If you have experience flashing and dealing with recoveries and bootstacks, then you won't have any problem flashing LOS15.1 following the instructions in the OP. The alternative/safe installation instructions are aimed to users not well versed in the art of flashing the Axon 7 or to people wanting a one-stop flashing experience that updates all (bootstack, recovery and OS) with a single download and flash.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Axebladewarrior:
I tried to flash it but I got error 6...ended up using the original v1 bootstack from the OP
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] bedroidapp:
Any recommendations for upgrading from unofficial?

I still have one of July build, non treble using nfound twrp and the first universal modem...

I was planning to redownload all the files in op and reflash everything in that order. As I understand the rom will automatically create the vendor partition...?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Oki:
If you already have the B12 bootloader then all you need is to cleanup your device and flash directly the LOS15.1 ROM, you don't need those specific bootloader and recovery to install LOS15.1
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] tprfd:
My reference to "Lineage OS Developers" meant Unjustified and Orden and I know that Lineage OS as a group doesn't support the bootloader and recovery for individual phones. I am sorry if that was not clear. However, I have to assume those two developers have the TWRP and the bootstack from the OP installed and NOT the nfound TWRP or labs mod TWRP and not the bootstack modified by you or anyone else. I also have to assume they test their builds using the universal bootstacks/modem/recoveries in the OP and they have verified that installing those won't brick your phone. That is what I meant by support. Am I misled with these assumption? Honest question...

I understand your TWRP and bootstacks will work and have more features but if the devs honestly do their tests with the OP's linked recovery and bootstack, is it not a good idea to use what they do as well? Am I truly misleading people by asking for clarifications to the instructions to install from stock by including the followup request to use the recovery and bootstack from the OP and not remixes?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Oki:
Well, now I can finally understand your point You want to remain as official as possible. It is perfectly legit that if a user wants to remain as official as possible, then he can stay in the Stock ROM provided by ZTE with 100% support. You are here looking for a better alternative, and that is exactly what the alternative bootstack and TWRP offers in this case, one step more in features. The level of alternativeness a user is ready to accept is up to their own. At the end, it is always a tradeoff between officiality and features/performance and we all have our own position, yours is perfectly valid. This is the beauty of having freedom of choice and having so many alternatives for our Axon 7.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] tprfd:
Yes thank you. And thank you for your work Oki. I will probably just end up using your script in the end if I cannot get the normal install clarified.

And back to that... If coming from stock, is the installation method in order, unlock bootloader, install TWRP from OP via fastboot, reboot to twrp, install O bootloader from OP, install modem, wipe, install lineage, install gapps or will there be a problem after that first reboot to twrp due to a mismatch. If so, do we need to unlock bootloader, install older twrp, reboot to older twrp, flash O bootloader, new twrp, reboot, wipe, install lineage, gapps.

Primarily concerned with what I have read where twrp and the bootloader are mismatched and causing problems so I am trying to get the order clarified. The op instructions seem to assume you already have twrp.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Oki:
you can try the first sequence you mention, that won't brick your device and in case the current official TWRP doesn't boot correctly you can go to your second option safely without major issues. But it all depends of the version of bootloader you are coming from. If you finally have to go the second way, it is all at your own risk, but my advice is to have special care on flashing the bootloader and the recovery during the same flash session. NEVER reboot between those. Be aware that if you use that bootloader you have a high risk of bricking your device in case something was wrong.

For your safety, and if you don't want to end up like [MENTION=9220378]Penoro123[/MENTION] (here) or [MENTION=2857314]daaper[/MENTION] (here) among others, I really encourage you to follow the alternative/safe installation guide. Afterwards you can always flash back to the the Universal B12 bootloader (without the brick-safe EDL mode) and the official TWRP 3.2.3-0, but this way the process will be safer for you.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] anildzs:
Thanks for easy guide

Excellent work and guide. Very simple for new comers. Much appreciated.

---------- Post added at 03:01 AM ---------- Previous post was at 02:49 AM ----------

Hi Oki - I already have your TWRP Lab Mods, along with your B12 Bootstack and created vendor partition using Party Tool. Excellent work. I am using Havoc OS Oreo with Scwichtly Kernel.

I believe installing the LOS 15.1 ROM will update the vendor partition with newer data (some where I read the NFound's V1.1 is outdated and Vendor Partition of LOS 15.1 is latest)

Should I install LOS 15.1 ROM to update the Vendor Partition before Flashing the Havoc Pie GSI image.

Need your help and Thanks for detailed and simple information
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Oki:
Well you can always do a TWRP backup of your boot, vendor, system and data partitions and test the new configuration. If you don't like it just restore the backup. Flashing LOS15.1, the Pie GSI, OpenGapps and Magisk 17.2 is all you need to do to have an operational Pie rom based on LOS15.1 boot and vendor partitions. I really prefer ArrowOS Pie GSI over Havoc since the theme implementation is better, similar options, and worked better during the last tests I did last weekend. Regarding your question, of course LOS15.1 works much better than the outdated Treble v1.1. You will notice the huge difference. Do not miss also the improvements in unofficial LOS16. Looking at the excellent work [MENTION=5027381]OrdenKrieger[/MENTION], [MENTION=4911249]Unjustified Dev[/MENTION] and [MENTION=4126377]tdm[/MENTION] have done in LOS15.1, LOS16 expectations are high for all of us.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] sToRm1nG:
Hey Oki

I wasn't aware of the fact that the bootstack in the OP does not support EDL but only DFU.

Do you happen to have a handy zip file with your bootstack which I can flash via TWRP?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Yamtop:
It would be great to use this method together with GApps and Magisk :D
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] okmikel:
In the Bootloader "A2017x_OfficialLineageOS15.1_UniversalBootstack_by_DrakenFX.zip" linked in the OP is missing a ";" (semicolon) in /META-INF/com/google/android/updater-script at the end of line 28:

package_extract_file("persist.img","/dev/block/bootdevice/by-name/persist")

This causes error 6 in TWRP.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Snaptraks:
I was just looking for such a file on the forums! I'm surprised it doesn't exist already.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] atakan33:
[MENTION=4126377]tdm[/MENTION] you reduced system partition to 3 gb .Will this a problem flashing older los15.1 roms ? ( unofficial version )
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] tdm:
No this is just the file system size, it does not affect the partition size.

Think of the partition as a glass and the file system as water. The glass is 6gb. But I told the lineage build to use no more than 3gb of water.

I made the same change on both 14.1 and 15.1 so both are compatible with the reduced system size.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] pnin:
I have to subscribe to that 100%. V4A leaves AudioFX in the dust hands down -- once its driver is up and running... :good:
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] littlenoodles:
Trying to dirty flash the official nightly onto my system running the LOS 15.1 - non-Treble version from 0711. and I get a ZIP signature verification failed! error. I simply copied the LOS nightly to /sdcard/, wiped the Dalvic/ART cache and tried to flash the zip with TWRP 3.2.3.0. Am I missing something. I tried without touching packages.xml and then tried renaming it to packages.old.xml. Same error either way.

Specifically:

Checking for digest file...

Skipping Digest check: no Digest file found (got this before and after renaming packages.xml)

Verifying zip signature...

Zip signature verification failed!

Error installing lineage-15.1-10180925-nightly-axon7-signed.zip

I'm using the official TWRP 3.2.3.0, and my bootloader, modem, etc were all from the ZTE B12 beta build (the phone was running B12 when I flashed the unofficial LOS). Verified the sha256 checksum of the lineage zip - and also pulled it back from my phone and did a cmp -l between the verion on my phone and the original - they matched.

Am I doing something wrong, or do I have the wrong combination of modules? If worse comes to worst, I guess I can try OKI's EDL all-in-one thing (except I've never been able to get MiFlash to work on my home computer - it works on my computer at work, though, so I guess I can do it there). But I'd still like to try a dirty flash if I can get it to work...
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Megagolgoth:
I got "error 7" on flashing 15.1, coming from LineageOS 14.1. I format data partition from F2FS to EXT4, et voilà !

Lineage OS 15.1 doesn't F2FS?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Oki:
Format it again as f2fs and it will work. Sometimes you have to format it twice.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] kg3:
[MENTION=3044858]DrakenFX[/MENTION] can you please fix as a few people are getting error 6. Thanks.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Megagolgoth:
+1, got the ";" but line 28 and it's working.

Thx!
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] okmikel:
Yes, you are right, it is line 28. Counting is so hard ;)

I'll edit my post and correct the line.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] DrakenFX:
is fix and uploading as we speak and yeah miss the " ; " at the end of line 28,

edit : upload = done.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] chironfr:
I had to install this recovery https://xdaforums.com/axon-7/development/recovery-twrp-3-2-3-0l-labs-mod-zte-t3841978

the twrp-3.2.3-0-axon7.img doesn't work, the phone just powers off

At the boot I have now to press the power button in order to boot. Is it possible not to have to?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Dodgexander:
Are there any changes in the new bootstack?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Snaptraks:
So I tried updating my A2017U from official 14.1 to 15.1 through the guide in the OP, but I managed to brick my phone, and now it is only recognized as Handset Diagnostic Interface (DFU), and never in EDL mode. I am at a loss here on what I can do to fix things. Since I can't access EDL mode, MiFlash doesn't see my phone and I can't flash any stock images or [MENTION=319057]Oki[/MENTION] EDL package with the TWRP image and LOS file. Can anyone guide me to something that could help me?

EDIT: this video https://youtu.be/xFeNSj3ngXY helped me get MiFlash to see my device, I got to fastboot mode, installed TWRP, now to try and install LOS 15.1
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Penoro123:
Enabling and disabling airplane mode locks the phone screen and makes it lose signal; I have to restart the phone to get network signal again. Also, browsers keep crashing randomly.

Anybody else?

Other than that, the ROM is super snappy. The battery life is awesome, the best from all the other ROM's I've tried.

Another ¿bug? I've found, is that when the phone vibrates, there's like a plastic hitting on metal kind of sound. Tried another ROM and it doesn't happen.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] runninghamster:
Vibration problem is from LineageOS 15 and 16. Not sure if it will be fixed, but it sounds like the inside of the phone is being zapped.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Penoro123:
Do you lose signal if you enable and disable airplane mode? And do browser apps keep crashing on you while browsing?

I formatted my portion to F2FS after installing LOS, maybe that's why?

Can anybody else confirm?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] runninghamster:
I'm not losing signal from Airplane mode, and browsers seem to work fine. I'm not sure how to fix these problems since I don't have them.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] roisuke:
Having those exact same issues. Good find; hopefully they get sorted out.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] gregfrankenstein:
Out of curiosity, if TWRP didn't mount /data, wouldn't that mess up your ability to flash something like OpenGApps, which can only be done before first boot (I think)?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] B4oE:
Can someone please help me to figure out how to uninstall the Google's Keyboard, Lineage's Browser, etc. thorough Titanium Backup? I've tried using Lineage's root method, along with the latest SuperSU, but none worked. It still appears. Please help me.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Victor13f:
[MENTION=319057]Oki[/MENTION] Thanks for your work! Can I flash your custom bootstack over the LOS original bootstack without losing data? Would like to get EDL back in case something happens later on :)
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] voetbalremco:
You need to use the reboot disemmcwp command in terminal or recovery so your system changes stick.

Without you can only freeze them.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] atakan33:
or in twrp ==> file manager ==>system/app or system/priv app (Aosp keyboard) and delete