yashsingh1/xdaforums huggingface dataset:
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] ygb7:
AEX Treble ROM running fine on my A2017U after Clean install today. Great work! Now, I am just restoring my apps from back up taking before clean install.

I was happy with Oreo 8.1 on NON Treble ROM (AospExtended-v5.7-axon7-20180711-2021.zip), However, I decided to upgrade to Treble to future proof my Axon 7 for future AOSP ROMS. Especially, since I read that google requires all devices that launch with Android 8.0 Oreo or above must fully support Project Treble.

One minor issue probably not related to ROM. Windows 10 x64 does not recognize my A2017U phone when connected via USB 3.1 port. However, it does recognize the phone plugged into USB 2.0 ports.

I am using the same stock ZTE USB 3.1 cable to connect to both ports USB 2.0 (works) USB 3.1 (undetected). Yes, all other USB 3.1 devices like external USB 3.1 Hard drivers work fine.

Anyone else had this issue & resolved it?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] beastobadness:
[MENTION=319057]Oki[/MENTION] I managed to sort it out, downloaded an app called Zarchiver and extracted them directly to my axons filesystem. Just a few videos, pics and downloads I was worried about, the important files are always kept on the external SD anyway [emoji106]
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] christoophat:
I'm wondering if these new Treble builds will have solved the audio bug issue regarding cpu & battery use while playing music?

I noticed this for the first time myself last night while laying in bed listening on my iems. The battery was already pretty low, but from experience I knew I still had a couple hours left. But after listening for about an hour , I noted that the battery had dropped quite dramatically. Battery time is my one pet peeve I have with Havoc.. Would be great if they are able to squash this for us.:good:
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Zobat:
On the request of many users nfounds roms use the high quality DAC. That has its price. You go back to stock or you accept this.

*edit:

I think it started with this: https://xdaforums.com/axon-7/development/cad-project-modified-audio-driver-axon7-t3761666

its been in open source kernels since then i think.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] racerx002:
Same problem here. It's always been that way for me. I'm pretty sure it's the drivers.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Oki:
I still wonder why it wasn't working for you.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Infy_AsiX:
update to the issue. No one tested after all this time LOS15 and odenkrieger claimed LOS15 didn't have it. I went to test LOS15 after Nfound said he and the Russian Telegram users couldn't fix the issue on his ROMs. It turns out it's a B12 ROM source issue present on LOS15.1 too. I still don't think it's kernel or bootstack as I've previously posted I tried B32+10 kernel, bootstack, recovery on newer ROMs to find the issue still exists. Don't have to use stock, I'm on B32+10 ROM without it.

TL/DR. All ROMs built from B12 sources have the headphones audio cpu extra 50% load from the ROM source.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] alwynjoshy:
I am geting error E2001 : Failed to update vendor image. Does anybody know what would be the cause and remedy?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Lycidias:
Switching to treble went great. Awesome, thanks!

btw: the zip for switching the recents/back buttons does Not work anymore. Could someone provide a New zip please?

Thanks!
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Oki:
Maybe you missed to format the vendor partition with an ext4 filesystem. It is step 16 of the detailed update instructions from AEX non treble to AEX treble.

---------- Post added at 11:27 ---------- Previous post was at 11:23 ----------

[MENTION=5492451]NFound[/MENTION] the last AEX release has a problem with face detection and unlock. The previous release works fine while the last one doesn't.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] dhambel:
How do I install the new TWRP?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] janthe6th:
I'm really liking treble AEX + glassfish so far. Great screen off discharge like non-treble Havoc and great screen on discharge like DU. LXT Glassfish used to lag with AEX 5.6 but pretty smooth with treble AEX.

PS: treble Havoc battery wasn't good for me at all
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] stevecaboose:
If our data partition is already ext4 do we need to format it?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] christoophat:
Grab Button Mapper from Play Store.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Soyunamortz:
On magisk 16.7 some modules aint working like doze for GMS how did you guys managed to make it work ? It looks active but on battery the optimization its not working
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] ygb7:
Download to your phone storage TWRP_3.2.1-8_axon7-TREBLE.img image file for treble: https://www.androidfilehost.com/?w=files&flid=279629

Boot Phone into TWRP Recovery. Hold Power button & Vol Up button at same time for 5 secs.

Once you are booted into TWRP Recovery

Select Install button

Select Install Image button

Browse to the phone storage card where you downloaded TWRP_3.2.1-8_axon7-TREBLE.img image file

Select the TWRP_3.2.1-8_axon7-TREBLE.img image file

Swipe to Confirm flash the image.

Just follow instructions of the opening page (OP) of this topic. Click

Manual to install TREBLE

AospExtended-v5.7-axon7-20180727-TREBLE

- sync repo to actually source

- move to treble

Manual to install (I am used translator):

1. Installing the new TWRP 3.2.1-8 - TREBLE

2. Reboot to the new TWRP, click "reboot - EDL"

3. Download AXON7_GPT_ADD_VENDOR_800MB.zip, extract from the archive into a folder and flash through MiFlash

4. Boot into TWRP (hold the volume + and the power button)

5. Go to Wipe - Advanced - put a tick on Vendor - Change the FS and select EXT4

6. Do step 5 with the Data section

7. Just in case, we reboot from TWRP to TWRP

8. Connect the phone to the computer and copy the ROM, Gapps, Magisk, etc. into the memory phone or SD card

9. Install the ROM, Gapps, Magisk, etc. and reboot.

10. After switching to Treble under the given instruction it is possible to put any ROMs, incl. not based on treble, incl. drain for TWRP

To return to the factory state, it is enough to flash any official ROM via EDL.

Files for treble: https://www.androidfilehost.com/?w=files&flid=279629

AEX Treble: https://androidfilehost.com/?w=files&flid=274713

Enjoy
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Oki:
Yes. The size of the partition changes with you Treblerized your Axon 7, so it has to be formatted again after the EDL process is done.

---------- Post added at 15:10 ---------- Previous post was at 15:08 ----------

No need for any zip or app, just go to the button configuration and assign the actions you want in the button you want. In AEX go to Settings > Extensions > System > Buttons.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Soyunamortz:
This is some BS ?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] BaamAlex:
The mobile data icon in the notification bar is always grey. Is this a "bug" or can it be fixed?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Choose an username...:
you accept 75% cpu usage on any kind of audio? Are you sure that is because of the DAC used?? ?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Oki:
It happened to me after some dirty flashes. I solved it in Settings > Network >SIM cards. Under "Preferred SIM for" section assign the SIM card you want to use for data, calls and SMS even when you have a single SIM.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] BaamAlex:
You...are...so...f...ing AMAZING! It worked. But i dont have this Version dirtyflashed. But thank you soo much.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] ramnkc:
I recalled I read havoc os treble still got bug... Is it solved [MENTION=5492451]NFound[/MENTION]?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] BlueSwordM:
Guys, I may have a small problem.

I installed the new TWRP, rebooted to recovery, and can't access anything anymore.

I can't access TWRP, Fastboot, or even anything except for booting up.

To say I have done something wrong is deserved, but what did I do wrong?

When I try to go in TWRP, the RGB LED turns orange, then beeps two times, then it goes black again, revealing absolutely nothing. I also did flash it in the recovery partition.

Thanks in advance for the help.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] BaamAlex:
Flash the twrp via app if you have root or with the axon7tool with the command ''axon7tool -w recovery'' without the ''. Or with one of the existing tools. Like EDL Tool or Axon 7 Toolkit.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] BlueSwordM:
Ooops. I had completely forgotten about it. I shouldn't have followed the guide directly.

The problem is that I can't access anything at all. Which is rather problematic. It freezes on bootup. If I TRY to go into recovery, it goes black and then there is an orange LED flashing.

I also erased the OS before hand, so I'm kind of screwed.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Oki:
If you can enter in EDL mode, then there is no problem, just follow the guide.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] 2CanSan:
You need to flash new bootstack first, then new TWRP, then reboot into recovery. I did the same error.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] BlueSwordM:
[MENTION=319057]Oki[/MENTION], thank you so much! I can access EDL mode!

[MENTION=7244251]2CanSan[/MENTION], I had completely forgotten about this too. I had gone on stock for so long I forgot about everything. Thank you!
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Choobilsky:
Del
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] alwynjoshy:
3. Download AXON7_GPT_ADD_VENDOR_800MB.zip, extract from the archive into a folder and flash through MiFlash

Can anyone tell me why we doing this step. What is Advantage we get from treble .i google got some info but coudnt understand entire thing .After extraction i couldn't select or find files on miflash. Only i can select and saw the extracted folder ?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] NFound:
Hello friends! We have a new developer Oki.

Take it with joy and respect.

Its first ROM is called Axon7_Android_9_Oki20180728_FULL_EDL.ZIP in the flow https://xdaforums.com/axon-7/development/rom-android-p-beta-preview-t3822381

We are waiting for the correction of current bugs from Him!

Thank you for attention! :highfive::good:
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] piet8stevens:
Let's hope real development for A7 does not get spiked!
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] NFound:
I write on the channel, which I'll post when I correct the bugs. Now I have no desire. Once this person undertook to spread on his behalf - let him and finish it. :D

Quote in the youtube

Today I fixed a sound and wanted to fix the work of RIL, but now I have no desire. Sound: https://yadi.sk/i/AZtAxxXQ3ZgNM5
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Mart Son:
[MENTION=5492451]NFound[/MENTION] : Today I tried to install an other GSI (phh- Vanilla arm64) and it booted perfectly, but sim card was not detected. So I think because of the early state of development of treble for the Axon, there has to be done more work or is it just not compatible? WiFi and camera worked out of the box.

Thank you very much for your unbelievable good work!

Regards, Mart
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] raystef66:
You can try to flash these GSI's but you'll end up in a half working buggy phone Mart. I did it myself 2 days ago. Some things like wifi, google apps, magisk work....but on the other hands no sim will be detected, sound issues, sensors, gps...all not working or at least way too buggy. So imo useless atm.

So at all, give [MENTION=5492451]NFound[/MENTION] ( and of course others who

can

contribute ) the needed time to develop it all in small steps. I'm sure it won't last a century to when we will have a full functional P based rom ;)

ENJOY ! And foremost work together !
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] joaocandeias:
I can't get Dolby Atmos to work on the latest AEX. I try to install it but nothing happens. Is this only happening to me? Also, I still have the white letters on the notifications...
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Mart Son:
Thanks for your answer. I am in no hurry, because AEX works like a charm and I am very pleased with this excellent ROM. It was just for fun to try.

After all hassles with ZTE I stayed with this phone I was patient because I know there are some great developers out there.

Regards, Mart
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Oki:
Whoa, whoa, whoa! Hold your horses. It wasn't my intention to develop and maintain a full project. Just sharing my bootable Android P so everyone could explore Android P in their devices. My objective was just that.

NFound, I have just taken your boot and vendor partitions (about 10% of the final rom) and the Pixel XL system partition, added a camera, fixed Google Services, some USB patches to have adb working and stabilized it. I gave credit to you for your key source I used from your published work. I never want to take credit from anyone and always gave credit to the sources. I haven't released any confidential info. So, why has this experiment bothered you so much?

We are a community, sharing knowledge, tools, sources and methods to build on top of other's work. This is how development works everywhere. Is it a problem sharing this experiment with the community? It is just a preview and I do not see the problem there.

Nikolay, life is not all a challenge, I am not challenging you at all !!!!! Why are you challenging me?

I am too old and too tired for this. I have tried to contacting you using PM trying to solve the problems you have with me but you never answered. I do not have any problem at all with you, and I do not have any problem recognizing you as a key member of the Axon 7 scene.

Regarding your work on the GSI support for your device/vendor portion, we are all expecting to see those improvements. Don't worry, it was never my intention to challenge you. This is just a pleasant hobby for me, please let's keep a good mood around here.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] redandr:
Using the AospExtended-v5.7-axon7-20180711-2021.zip now and tried to configure Daydream today on it..

Unfortunately the picture in the Daydream app is totally distorted.

Does someone know how to fix it?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] dhambel:
I'm not sure if this is just me, but after the installation of the latest Treble ROM, I cannot receive calls. I can make calls, and send and receive both SMS and MMS. I did notice yesterday that my phone would not use data until I finally cycled Airplane on and off. Should I try a factory reset?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] janthe6th:
I'm on treble AEX too and I can receive calls just fine. Also data worked as soon as I turn off my wifi. Did you do a clean flash?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] dhambel:
Thanks for the reply! No, I flashed the rom then restored from a nandroid using TWRP. Could this be the culprit?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] christoophat:
Hope for Peace

I am so amazed & happy to see this great phone still supported by great devs like NFound & djkuz, and people that help to simplify the install process for all level of users like oki with his helpful guides.

With both working to improve the ROM experience, I cannot find any downside to this! No one is stepping on any toes here.

I hope you both understand how appreciated you guys are here.:good:

Keep up your great work!!
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] samo_lego:
Hey, that's just awesome, cannot wait to get a solid internet connection and PC to 'treblerize' my Axon 7.

Thanks, all of you who have helped there, especially NFound!
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] BlueSwordM:
Hmm, I resolved the issue of not accessing anything by flashing an old version of TWRP.

I still have the same problem though. Now using axon7tool, NOT axon7toolkit, I tried to flash the newest Treble TWRP by Nfound, but it still ends up in the orange LED flashing, then the screen turns black.

My phone is the A2017G model as stated before, so what could be causing the problem? I didn't flash TWRP Treble in TWRP itself now, and tried using Axon7Tool instead, and as said before, it does not work.

Any leads on what could be the problem? Thanks again.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Oki:
During boot, do you see the unlocked bootloader message? Were you using B12 bootstack before upgrading to treble? B12 bootstack is a requirement. Have you tried using TWRP 3.2.2? I use it since it has adb support and 3.2.1-8 doesn't. Formatting vendor partition is as easy as opening the terminal within TWRP and writing:

make_ext4fs /dev/block/bootdevice/by-name/vendor

after that you just flash the rom as any other non treble rom.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] piet8stevens:
How do you switch from 3.2.1-8 to 3.2.2? Can you simply flash 3.2.2 from 3.2.1-8? I am on NFound's bootstack.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Oki:
I can't test it but replacing axon 7 by ailsa_ii in the build prop file solved some issues. You can do that using Kernel Adiutor or any similar tool.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] JRHE:
So I have been enjoying AEX since I have clean-flashed it on my device, but all four builds I have ran so far (v5.5-axon7-20180603-1651 , v5.6-axon7-20180619-2110 , v5.6-axon7-20180629-1825 , v5.7-axon7-20180711-2021) have had memory leak issues with the android hardware audio 2.0 service. I have to restart my phone every two days or so lest I face the issues of Android struggling to run and killing background processes in hopes of not running out of memory. I do wonder if this is an issue with the service itself or if it is possible that a rogue/bad app could be the cause of it. If the latter is possible, I do have suspicions of an app that I use on my device that relates to audio and is really terribly made in general. I'll leave an ADB memory dump in a pastebin. On a side note, all of my updates have been by dirty flash and not OTA as the OTA service simply does not work (as in fails to check for updates).

https(colon)//pastebin(dot)com/QBHLUxDP
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Oki:
Yes, there is no problem. 3.2.2 lacks integrated support to format, backup or restore the vendor partition and all the nice features NFound added to 3.2.1, but that's not a big problem so far. You can also use 3.2.1 to format the vendor partition the same way. 3.2.2 is a 3.2.1 with better adb support.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Zootopia:
Although everything went well going from AEX to AEX Treble, I have no sim card detected and heavy battery drain on AEX treble 27.07

To revert the rom change, can I simply full wipe through the newest Treble TWRP by the amazing [MENTION=5492451]NFound[/MENTION], and flash the the latest AEX non-Treble rom, or what?

Thanks in advance.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Dodgexander:
So things were looking up and now they are not again. How I would love everyone to get along.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Zootopia:
You can say that again...
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Oki:
Yes, just flash the previous rom as you did before. It really doesn't matter what TWRP you use. 3.2.1-8 Treble has all the options for an easy management of the vendor partition plus oreo encrytion support, and TWRP 3.2.2 has adb support. Both will work fine for flashing both treble and not treble roms.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] BlueSwordM:
Yeah, I managed to go on 3.2.1-8, but how to go from that to V3.2.2?

Thanks again.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Soyunamortz:
Why would you wanna go to 3.2.2 ?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Oki:
Download Official 3.2.2 IMG file for Axon 7 from official TWRP website and flash it as usual from the previous TWRP. I only recommend 3.2.2 if you require adb support. For me it is very important, but that is not the case for everyone. Use it only if the custom TWRP is not working fine, maybe you have found another bug in 3.2.1-8.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] BlueSwordM:
ADB support mostly. I do so many things on ADB to backup, remove bloatware, etc.

That's why. Now, to install other ROMs/Treble ROMs, I just need to format the vendor partition using the command Oki provided earlier, right?

Is it this one:

make_ext4fs /dev/block/bootdevice/by-name/vendor
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] piet8stevens:
Adb is important to me.

How about 3.2.2 support for encryption for Oreo? And will it allow making a backup of the vendor partition?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] 2CanSan:
Trivia question

Does anyone have the answer to which was the last release of AEX that worked

with the combination of official TWRP 3.2.1.0 and BootStack A2017X_BootStack_B32_O.zip?

I noticed that BootStack is not even available on AFH anymore.

Thanks
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Oki:
Those are the problems. Nonetheless if you use adb it means you have some skills with linux prompt. I use tar, the standard linux backup tool, very often to backup sdcard and whole partitions. You can dump the vendor partition the same way with the dd command.

I'd like to have a bug free TWRP Exclusive. This bug appeared in 3.2.1-8 and it is still there in TWRP 3.2.1-8 Treble.

For backup to PC I use Axon 7 EDL Tool.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] piet8stevens:
Thank you for your replies.

I can backup with dd. But how about encryption?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Oki:
Look in the treble guide in the guides section. There you will find an EDL package and detailed instructions that flashes the correct bootloader, repartitions your Axon 7, creates the formatted treble (vendor) partition and leaves everything ready for flashing any B12 custom rom, either treble or non-treblerom Zip package as usual. All in a single flash.

---------- Post added at 09:03 PM ---------- Previous post was at 09:01 PM ----------

For Oreo encryption there is no other way than sacrificing adb and using TWRP 3.2.1-8. Do you really need encryption?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] piet8stevens:
[/QUOTE]

For Oreo encryption there is no other way than sacrificing arb and using TWRP 3.2.1-8. Do you rrally need encryption?[/QUOTE]

Yes. Otherwise anyone who physically gets a hold of my phone can reboot into TWRP and read everything I have on it.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Oki:
Then you do not have any other option than using both TWRP 3.2.1-8 and TWRP 3.2.2 depending on what you need. Flashing from one to the other until NFound fixes the adb bug in 3.2.1-8
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] christoophat:
well , gosh, you sure showed him...
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Raffikie:
I hope this back and forth and arguing stops. NFound, please work on the bugs. Thanks. My phone would not have these sweet Roms without your help.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] amaury48:
+1.......

---------- Post added at 06:41 PM ---------- Previous post was at 06:24 PM ----------

Which version of gapps should I install with AEX v5.7-axon7-20180727-TREBLE ?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Oki:
ARM64, 8.1, micro works fine.