yashsingh1/xdaforums huggingface dataset:
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] docentore:
Not the audioserver bug patch mate, I was asking about the DAC patch so the audio path goes through 4490, patch that can be used with GSIs.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] gregfrankenstein:
I had trouble getting the TWRP in the OP to boot, so against my better judgement I installed 15.1 with the official ailsa_ii version. This worked fine for the install, but when I went back into TWRP an hour later to tweak something I realized why you're supposed to use a Project Treble build, because it couldn't decrypt data. Whoops.

NFound's TWRP seems to work though. Hopefully they get add support upstream to deal with the new vendor partitions soon.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] chironfr:
Good morning

I've tried first to update TWRP by flashing the img file twrp-3.2.3-0-axon7.img

I can't access anymore recovery mode, the phone just powers off.

I can however still boot normally to my LOS 14.1

What can I do to fix that?

thanks. :)
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Dodgexander:
[MENTION=4126377]tdm[/MENTION] [MENTION=4911249]Unjustified Dev[/MENTION] [MENTION=5027381]OrdenKrieger[/MENTION] I wondered if you could help.

Currently when trying out various Oreo GSIs using the vendor partition from los 15.1 the premium DAC isn't working.

Is there something that can be altered at the vendor side to get this working or is this strictly something that needs to be patched?

If it does need to be patched can anyone point us in the right direction?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] OrdenKrieger:
How do you come to this assumption? Do you have some log to prove that?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] gregfrankenstein:
Same happened to me. Go into the bootloader (the volume keys will let you do this during the first few seconds of boot), and from there you can use fastboot over USB to flash a different TWRP build. Oki and NFound both have Treble-compatible builds, and there are probably more around XDA.

Also on the issue of the DAC, for what it's worth, Neutron reports that it's using the correct output and sample rate for me. Not sure if it's accurate but it looks promising.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Dodgexander:
When it's working you can use tinymix to see which DAC is selected. Correct behaviour is for ak4490 to be selected during media playback with the 3.5mm audio jack used and when not plugged in or when just a phone call is used it should revert to ak4961.

In GSIs tinymix isn't available, yet if you import it the line corresponding to the hifi DAC switch sel points instead to ak4961 and playing media does not change the output to 4490.

Not only that but a pair of good cans and you can notice a drop in sound quality compared to when it's being used.

I'm not trying to be difficult just want to understand how we can get it working. I think that and NFC are the only problems now with GSIs. Although also volte doesn't work I think.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] chironfr:
Thanks! :)

Can you recommend me a suitable build of TWRP?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] gregfrankenstein:
I don't know if it is, in fact, the best in the world as the thread title claims, but this one did the job. Boy is the design different.

https://xdaforums.com/axon-7/development/twrp-3-1-0-2-t3591075
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] JKSurf:
EDL twrp back. You lose recovery if you flash the wrong twrp with the wrong bootstack. I continuously make this mistake.

MiFlash

B19-NOUGAT_TWRP (Nougat 7.1.1)

https://xdaforums.com/axon-7/development/edl-emergency-dl-mode-twrp-unlock-t3553514
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] chironfr:
Or If I flash proper bootstack with fastboot?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Slim K:
[MENTION=5027381]OrdenKrieger[/MENTION] Can't hear alarms or calls through speaker when headphones are connected, only through headphones. Can there be a way to always route alarm/call audio through speaker instead of headphones ?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] whoiswes:
Flashed last night, coming from 14.1 stable. Used the PARTY tool to create my vendor partition, then flashed bootstack, modem, Lineage, gapps, and the su addon. Did a full wipe of data/cache and rebooted cleanly.

First boot was fine, had google reload my previous config. About 10 apps installed and then the process hung. Rebooted and it completed fine.

Everything works as it did in 14.1 - specifically, earlier betas of 15 had issues with Bluetooth reception with my Dexcom G5 (Continuous Glucose Monitor, T1 diabetic). I'm happy to report that reception is as good or better than on 14, which is fantastic.

The only bug/issue I've found so far is that vibrations have the electric zap sound, as noted earlier by several users. I didn't see anything specific in terms of a fix so if anyone can point me in the right direction it would be much appreciated!

Thanks for a great release!
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] JKSurf:
Battery Stuck at 50%

For some reason my battery gets stuck at 50% on LOS15 and LOS16 ROMs. Battery % in status bar reads correctly on all other ROMs I have tried.

Battery also reads 50% in TWRP 3.2.3-0. I flashed nfounds TWRP 3.2.1-8 while on LOS15 and battery reading is accurate in TWRP. Reboot system and battery is back at 50%.

Please help.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] littlenoodles:
Does that apply if I wiped everything before installing unofficial 15.1? I.e., is it only an issue if you're data is encrypted - don't think mine is. Then again, I installed unofficial fairly recently, and I suppose I could endure another wipe and rebuild cycle...

Still, is there someplace to go to get a handle on what's involved in encrypting your device under LOS?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] tdm:
Obviously it only applies if you do a dirty flash *and* data is unencrypted/decrypted.

It looks like force encrypt is not set in the fstab. It should give you the option to encrypt on first setup.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] ximacos:
Clock isn't working. Keeps crashing

Hi! First and foremost, thank you for all the hard work in making the official Lineage 15.1 for Axon 7. I installed it earlier today and everything seems to be working fine, with exception to the clock, which is not working and keeps crashing on start-up. Does anyone have the same problem? Is there an available fix? If not, should we just wait for the next nightly build and expect it to solve it? Thanks in advance, Francisco
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Unjustified Dev:
Try clearing the app data. Could possibly be related to the lack of power off alarm support which I've included in my last unofficial build.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Masterjuggler:
I was under the impression that data encryption is completely and totally broken with all treble implementations for our device. At least in the LOS16 thread the OP states it is still broken.

I've been following both LOS threads for a while and might have missed it, but has encryption been fixed for 15.1's vendor?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] hackinc2000:
- Mine is having the same behavior presented here, I have seen this problem, at least on my side, seen I update the unofficial image (15.1, 16). I went back to lineage official lineage 14.1 and the problem was gone. But now when update this morning to the 15.1 official the problem its back again.

-Latest TWRP reports the correct percentage.

- I'm trowing stones here, but maybe a problem with the ZTE_A7LOSv1_UniversalBootStack and some devices. As its the only common thing used over all my installations of 15.1 and 16. And not reported by everyone.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] nikosblade:
Houston we have a problem. :P I have a 2017G I flash the latest official twrp, after that ZTE_A7LOSv1_UniversalBootStack.zip, then A2017G_OreoModem.zip, then los 15.1 official. When i am trying to flash los i got an error code 7. I reflash los 15.1 and it flash just fine. After last step when i am rebooting system my device gives me an error that device is corrupt and i am in a boot cycle. Cant enter recovery/edl mode and i am using an edl cable to restore phone again on stock 2017g b12. I am pretty sure i am following instruction as it gets. :)
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] tdm:
Pretty sure it works on 15.1. I can double check tonight.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Masterjuggler:
Thanks, I appreciate it. I've been on the pre-treble Havoc for a few months now and haven't moved over mostly because of lack of encryption. At some point security patches will be far enough behind that I'll have to cut my losses, but if encryption now works then I don't have much of an excuse anymore lol.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Oki:
I have tested The official LineageOS 15.1 with ArrowOS Pie GSI 2018.09.23 and the command tinymix -v "AKM HIFI Switch Sel" returns ak4490, the correct value for the hifi headphones. Of couse no high CPU.

By the way moving tinymix from /system/sbin to /vendor/bin would avoid the lost of that tool when LOS 15.1 is combined with a GSI. Before flashing any GSI on top of LOS 15.1 in TWRP just mount /system and /vendor and in the terminal type:

cp /system/bin/tinymix /vendor/bin/
chmod 777 /vendor/bin/tinymix

Then, once you had flashed the GSI and had a terminal with superuser rights, just type the following code while you are listening any audio using your headphones:

su
tinymix -v "AKM HIFI Switch Sel"

It will return ak4490 in case of using the hifi 32 bits audio DAC.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] nfsmw_gr:
[MENTION=4126377]tdm[/MENTION] [MENTION=4911249]Unjustified Dev[/MENTION] [MENTION=5027381]OrdenKrieger[/MENTION] I wondered if you could help.

I can't help but notice that whenever I touch my screen the little cluster ramps up to max frequency.

Someone reported this already but no answer to that came up.

How can I disable this annoying touch boost?

There is no touch boost parameter under msm_performance folder.

Although I saw a min_cpu_freq but I could not modify it to 0.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] littlenoodles:
Sorry to sound dense, but 'data is unencrypted' to me implies that the data partition is not encrypted - so no signing key needed. But you seem to be using 'data is unencrypted' to mean 'data partition is encrypted and needs to be unencrypted'.

Am I wrong, or are we just stuck in a translation/communication gap :confused: I guess I can just try it and find out - I can always wipe data if it fails... For what it's worth, I was not given an option to encrypt when I installed the unofficial release.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] docentore:
Could you share your mixer_paths.xml file please?

BTW it should be

cp /system/bin/tinymix /vendor/bin/

EDIT2: Just flashed full official LOS15.1 instead of using just vendor part with Havoc GSI. Same result on "AKM HIFI Switch Sel" - showing 4461.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] tdm:
So the check works like this:

The installer script tries to mount /data.

If it cannot be mounted (because it's encrypted and you have not decrypted in TWRP), the check assumes everything is okay and succeeds.

If it can be mounted (because it's not encrypted or you have decrypted in TWRP), it examines /data/system/packages.xml to make sure the webview package (I think) matches the signature of the new package. This is where the check fails for unofficial->official.

So if your data partition is encrypted and you don't decrypt in TWRP, the check will succeed. Or if you delete /data/system/packages.xml the check will succeed.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] bornlivedie:
I tried but it resets itself every few seconds.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] xerocopy:
You are correct! AK4490 seems to work on GSI Roms! I made mistake and misleading others (again :( ).

On LOS15.1, DAC switching after plugging headphones. On GSI, after plugging headphones, it will show AK4691, but after playback, it will switch to AK4490 and stay on that profile.

Does VoLTE work on LOS15.1? I'm just curious.

My Network Operator doesn't support volte.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] bornlivedie:
Just two issues with this rom, the rest is great:

1) little cores stuck at 1593 no matter what

2) camera in apps like whatsapp behave like crap (no flash, poor quality, poor focus)
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] tdm:
Okay so I went and actually looked for the signature check script and... it finally got dropped from Lineage 15.1. So sorry for all the noise, apparently that's not an issue anymore. You can decrypt in TWRP and if your install fails, look elsewhere.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] nfsmw_gr:
Good to know.

Any info on the input boost issue?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Oki:
You can always install Schwifty or Hellsgate kernel and tune the CPU/IO parameters. Nonetheless you will have an annoying message at startup, nothing more.

I also miss the KCAL color control support in the official LOS15.1 kernel.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] FuzzyDunlop9:
How comes I'm not able to access the buttons layout in settings. When I search buttons in setting I see enable on screen navbar and change orientation. Clicking on them does nothing, just takes me to the settings page. I have a2017 Chinese model.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Penoro123:
I bricked my phone installing this one. I first installed the Bootloader, then the modem, then the Rom, but now I can only access EDL but as UDF mode and Fastboot. Is there any way to get it working again? I really doubt I bricked it so easily.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] 8mnifarious:
Amazing job, thanks so much to everyone involved in bringing us this! It prompted me to finally get off my ass (metaphorically speaking, I'm still sitting as I type this), and create an account on here.

That, I do have one little issue/request:

I'm also on T-Mobile, and haven't been able to get Wi-Fi calling working. I've tried enabling it in the Settings menu, and have confirmed provisioning for it in the phone information menu (*#*#4636#*#*), but it still refuses to kick in. It works on the ZTE Stock firmware B12 beta release, and I'll be testing the most recent B16 beta when I get the chance. If it it does work, I'd be happy to try to dig for the stuff necessary to make it work in Lineage OS, noob though I may be.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Penoro123:
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
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Oki:
The mixer_paths.xml file I have in this test is under /vendor/etc so the file comes from LOS15.1 and I have pasted it here.

Please mind that the AKM HIFI Switch Sel value is changed to ak4490 only when playing some audio through headphones. Plugging the headphones without playing anything, or playing through the speakers returns ak4961 since in these modes, the Axon 7 uses the low power mode of the ak4961.

By the way, thanks for catching the mistake, I have fixed the command to copy the tinymix binary.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Nicz14:
Can someone go to TWRP>Backup and tell me if your data partition shows as 0 MB?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] jcian135:
Flashed it last night & so far so good in terms of stability despite a few random crashes when first booting up. Also, battery life seems to be on the weaker side, would really like to know if Jojoc tweak works.

Also, this is not really a bug but Instagram is not supported on this build. Any idea when it'll be supported?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Penoro123:
Oden, is there a way you could implement the call fix in the AOSIP rom?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] tron1:
As written in the thread "Official (Beta) Android 8.0.0 V1.30B01 EU Version by NFound Guide and what's working" the same is about this ROM. There is no hi-res output on Axon 7 with the audio binary blobs from ZTE. I only succeded with hires output on AospExtended 5.5 with Neutron player. For anyone else to prove:

https://xdaforums.com/showpost.php?p=76734234&postcount=391
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] lllGurulll:
OK, I have an odd issue. When I boot the device, I get two warning screens instead of one. The first one looks like all the others with the START in the upper corner and the ability to select the power button to skip forward or use the volume buttons to boot to recovery. When I hit the power button OR just let the 5 seconds pass, I then go to another screen that is very similar but states my phone is corrupt. I can press the power button within 30 seconds to bypass it or the phone shuts itself off in 30 seconds. Any way to get this to stop?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] OrdenKrieger:
Literally second post:

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.

[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.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Kleva94:
Only the daydream app itself . Tested some games now and they all appear as a flat picture, instead of theses two you need for vr.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] lllGurulll:
I read that post and did that step before I made my post. Nothing changed.

I'm also having an issue with Google stopping popping up several times even after wiping completely and reinstalling twice.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] olus:
i can confirm that. dm-verity in twrp settings from nfound didnt fixed it.

thx for los15!!
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] CobraKolibry:
For me dm-verity removed the warning, and it didn't even wipe my storage. Coming from O B12, flashed exactly as in steps[YOUTUBE][/YOUTUBE]
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] nfsmw_gr:
There's no reason why it shouldn't work.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] admicos:
Are there any plans to release the device-specific sources? I'd love to use this with some patches applied on top.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] raystef66:
Yeah, incall volume is a mess. I do a 100 phonecalls a day and people hear an echo from here to Tokio. Unusefull to me. Jumping back to betaB01.

yep, Jojoc works flawless. Tested the V2.1 and V3.2 module a month ago on another build and on this one :good:
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] haerwu:
My issues:

1. Even after flashing su addon option for managing root (in developer settings) was disabled.

2. No way to enable on-screen buttons. When you search for an option in Settings then it shows them but after click I landed in 'Settings -> Buttons' where there was no such option.

Solved both with Magisk.

Other than that things go nice but I did not tested much yet.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] kingracer:
Hello, [MENTION=5027381]OrdenKrieger[/MENTION] , will the kernel sources be released publicly for others devs to participate in development? Thank you!
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] OrdenKrieger:
Then google how to use ADB, get an ADB terminal and use the cmd over that. That would be: adb reboot "dm-verity enforcing"
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] AceNovel:
Can you give us a link to sources?

Thank you.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] m4tz3m4tz3:
Hi, my speakers are also not working... Is it somehow resolved by now? or does anyone else have this issue? Tried to wipe everything again and still nothing. Missed my alarm today in the morning =/
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] WesTD:
This is good. So there would be more custom ROM
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] xerocopy:
Just to mention, there's significant cpu usage by android.hardware.audio@2.0-service process when AudioFX is turned on Headphones. And it is turned on default on first boot.

It's fine when playback comes from speakers.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] nfsmw_gr:
Well of course I can, but this shouldn't be the solution. :)

Not everyone likes using a 3rd party kernel. (I do but you get the idea)
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] okmikel:
Encryption is working, I encrypted my phone right after installing official LOS.

Only thing not working is decrypting data in the TWRP version in the OP. The only TWRP version with working decryption is nfounds "3.2.1-8-TREBLE for android 8.x-9.x (new bootstacks)" from this thread.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] COOLSENSE:
Works fine in 2017G!!! Great job. Very well explained. Thx a lot.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] bornlivedie:
Don't know about Swifty 4, but 5 is a lagfest
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] wanyal:
I'm trying to upgrade from LineageOS 14.1 to 15.1 on my A2017G. Installing the Oreo modem zip works fine, but the LineageOS 15.1 bootstack zip errors when installing with TWRP, and gives me error 6.

Does anyone have any ideas as to how to fix this?

Thanks.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Oki:
Use the alternative/safe installation guide a few post ago.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] wanyal:
Will look into it, and report back. Thanks.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] anon1135:
Schwifty 5 is out?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] bornlivedie:
yeah, for quite a while now

current is 5.2
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Unjustified Dev:
So I'm going to share this test build (It's permissive as well for specific reasons)

Random build

Basically includes everything here

https://review.lineageos.org/#/q/owner:android.c357%40gmail.com+status:open

So if you have a flip case it works again as well.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] tprfd:
The OP has the instructions as:

1. Install the Universal O bootloader and your model specific modem.

2. Update your version of TWRP.

3. Perform a backup of your current ROM.

4. Wipe system,data and cache (optional) [Needed if coming from another rom!; always good to avoid bugs]

5. Install the ROM. Download

6. Install GApps.

7. Reboot.

These instructions are fine but they seem to assume you're not coming from stock and already have TWRP installed (unless the Universal O bootloader and modem can be installed without TWRP, which I don't think they can be).

If coming from stock, is it safe to assume that after unlocking the bootloader, the 1st step is to install the TWRP linked in the OP via fastboot, reboot to TWRP and install bootstack/modem/wipe/install lineage/install gapps/reboot?

It seems like people are getting stuck with mismatches of TWRP and bootloaders. So would the TWRP linked in the OP be okay after that initial reboot with stock nougat bootstack to do the rest or would that be a mismatch and cause trouble?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] nfsmw_gr:
That looks nice.

I don't see any input boost related change though, is there a plan to disable input boost as some of us don't need it?

(or at least tell us how to disable it ourselves?)

Thanks.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Unjustified Dev:
The key is in vendor/etc/init/hw/init.qcom.power.rc. I don't see myself disabling anytime soon I think all 8996 devices on lineage use it.