yashsingh1/xdaforums huggingface dataset:
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] emc02:
I am trying this now, will report here soon, Antutu made a great job to drain my battery, now it's time to reboot, reboot, reboot,... ;)

edit: can confirm it works!!!
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] marvelljones:
OK, it's kind of silly, but has anyone gotten the Google Arts & Culture selfie to work with this ROM's camera. Back in the 1215 build. I open the app and go to the selfie function, snap a picture and it freezes. I gave the app all the permissions it wants, but it's not working. I tried clearing the cache, reinstalling the app. I haven't tried setting a different camera as default yet.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] tdm:
Probably needs the latest camera fix. I'm working on getting a new build, maybe today, maybe Monday.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] Id@m:
the download link doesnt work for me?

does someone have the same problem?
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] birrez:
Read some posts before... The last build have a big big..and isn't available
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] tdm:
Root cause for the failure of the corrupted 1/15 build has been found and fixes are underway. This means I can be confident in doing builds from my server again.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] Id@m:
ok thank you guys!!
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] tdm:
Today's build is up, look in the server folder. I haven't tested it yet so use caution. However, I did verify that toybox is good. I'll update the OP when the build has been verified to work properly.

Changes since the ill-fated Jan 15 build are simply adding the USB diag compositions.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] emc02:
vol-down issue still present in todays build!!! Don't install!!! (I did empty my battery completely before and the issue was gone, now it's back again!)

edit: after reverting to 15.12. build and empty battery everything is fine again
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] tdm:
Ugh. I thought I had that solved. Guess I need to keep working on it.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] MrWhite0429:
I may install lineage once a new build is up. I like resurrection however I feel all the customization is slowing my device down. I may give a more vanilla approach and see what happens
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] tdm:
Regarding the volume down issue, I have just reproduced it by flashing the new (Jan 19) boot image on the old (Dec 15) build. This means that the issue is almost certainly in the kernel (there is some very very slight possibility that it's in the initrd).

So, I'll be looking into the kernel while I run antutu repeatedly...

EDIT: Pulled apart both ramdisks, they are pretty much identical. So it's surely the kernel.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] tdm:
This looks like the problem:

https://github.com/tdm/kernel_zte_m...4221403#diff-407633c87834d5275923a0cac9cbad2e

ZTE wired up the axon7mini and k88 buttons differently. I need to separate those out.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] tdm:
Yup, that's the issue.

I solved it by setting "qcom,support-reset = <0>" and I didn't even need to discharge my battery. :D

Fix and new build will be coming soon.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] CRAFTER0302002:
when you say new build you mean new android?
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] tdm:
Today's build is up with the volume key fix, check the OP. Once you flash the build and boot, your volume key should work again even if it was previously in the bad state.

[MENTION=8604482]CRAFTER0302002[/MENTION] by new build, I mean a new zip. Still based on Android 7.1.2 / Lineage 14.1. But I think the issues are pretty much worked out now. All the items on my todo list are pretty minor, with the exception of atmos (but there's a zip for that):

* ambient display.

* auto brightness.

* network search.

* setup screen size.

* atmos support.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] emc02:
Tested the new build and Vol-down issue is solved! Thanks!
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] :
I'm still trying to fix my own black screen problems. A while back, I cleared cache to fix battery drain. While that worked, it would eventually catch a case of the "black screen of death" while sitting in my pocket and it brings that battery issue back. It happens soon after I clear the cache.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] carlchan31:
How's the sound quality with this rom in comparison to the stock rom? Thanks!
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] Olciakk:
Thank you tdm for all your work :)

For about two weeks I have Axon 7 Mini and I'm planning to change stock ROM to Lineage. When will this ROM become official? You said that the only supported device is US model running 7.1.1 b14 firmware. What about EU versions (global Gearbest) and devices with stock firmware on Android 6 - could it be flashed directly, without updating to 7.1.1?

I succesfully installed Lineage on Samsung S4 Mini in my previous phone, but I think this one is harder to understand. Don't you need to make root access to flash custom ROM? Why in tuliptool when you type "lock unlock" program says that it will delete all data? How to boot into recovery? Of course I don't want to brick my phone or do something I'm not sure about, so for this moment I'll just wait and read more about it. I would really appreciate, if when the ROM become official, there will be more clear instruction for beggines like me :)
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] tdm:
I'm finalizing the code for the device tree and kernel. I should be pushing them out to Lineage and AOKP hopefully tomorrow, but definitely with in a week.

I't's been reported that EU/intl devices work. But I can't officially support them because I don't have any, and nobody has stepped forward to be an alternate developer/maintainer. Regardless, only devices on 7.1 will work. I believe there's a check in the zip that will prevent installation on a 6.0 based system. I have posted a bootstack zip which can be used to upgrade if you can't or don't wish to use the official OTA upgrade path.

The installation process for this device is somewhat different than most devices because it doesn't use root or any type of exploit.

It uses EDL to flash TWRP (this is done with tuliptool). Note that my initial experimentation with lock/unlock seems to be entirely unnecessary -- all devices are unlocked from the factory. All you need to do is flash TWRP and you're good. I'll be the one writing the official instructions on the Lineage wiki, but you can certainly give feedback when I'm done. :)

Hope that clears some things up.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] disChapo:
Wow didn't know this was going official. Really dropped off on root/rom news on this phone so I'm looking forward to installing it.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] varanda:
I just installed it on a Global (Gearbest) edition, but it was on android 7.1 version 340580B1298ZTE B2017GV1.2.0B12(SD card software)

It works great.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] juanantofb:
Hi, sorry i only speak Spansih.

I have EU versión of this pone, i can colaborate.

Using Google translte.

I can test developed builds.

Thanks.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] :
Found the age-old viewfinder bug on the Houseparty app. Camera is showing green lines.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] tdm:
Please get a logcat.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] :
Attached everything starting from the moment I loaded the app. Thank you.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] dreas74:
the 22.01. build is the best build at this time. for me everything works finde. the battery drain is ultra low and i have no other issues like blackscreen, sound, aspect ratio and so on. great work! thanks tdm for this useful rom!
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] tdm:
Looks like I need to add another resolution to the exclusion list:

QCameraParameters: Requested preview size 480 x 360

Please replace your /system/lib/hw/camera.msm8952.so with this file and let me know if that fixes it:

http://code.nwwn.com/files/android/axon7mini/camera.msm8952.so

If not, I'll need another logcat.

Thanks!
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] :
Camera's completely broken now across all apps. Here's another logcat.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] tdm:
"CameraService: getCameraVendorTagDescriptor: camera hardware module doesn't exist"

Either I built a faulty module or you copied it to the wrong place...
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] :
Nope... The file's in the place you directed me to.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] tdm:
Okay ... I installed houseparty and verified the green lines. Then I copied the file to my device and rebooted. That fixed it. So apparently the file didn't get installed on your device correctly. Here's what I did:

adb root

adb remount

adb push camera.msm8952.so /system/lib/hw/camera.msm8952.so

adb reboot
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] :
Alright, I got it to work. Everything's fine now.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] carlchan31:
From what I understand, viper doesn't work but Dolby Atmos is working.

Is this still applicable in the latest patch? Flashed Sauron MK II in magisk but it just disabled the audioFX.

---------- Post added at 04:33 AM ---------- Previous post was at 04:31 AM ----------

Is the Viper4android still not working with the latest release? I've tried flashing Sauron MK II in magisk but it just disabled the AudioFX.

Is there any recommendation what is the best thing to flash to improve the audio performance?
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] ortizjammet:
hello, I have gearbest version too. any steps on how to install this?

I'm afraid, we have b12 variant right? will it work?
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] Olciakk:
Check the official ZTE site for your country or global site. B13 updates are available to download, all you have to do is unpack the downloaded zip file, copy the update.zip file to your SD card and check for updates in your phone setup.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] tdm:
Well, well... look what happened last night...

https://download.lineageos.org/tulip
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] :
WOW. That's exciting.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] birrez:
In the installation error 7.... What is it??
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] tdm:
The official build is signed with a different key. It is safe to upgrade from my build to official. I believe you just need to not decrypt data for the install. Or you can use adb and delete /data/system/packages.xml.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] googletermsofservice:
I <3 tdm

Just wanna say I bought this phone with the assumption there would be no Dev work. I bit the bullet and figured for the low price I could live with the goofy China room. Wanna put a huge thank you out to tdm, and everyone that helped get him funding and feedback. Y'all are seriously awesome, great to see a small community come together, make some cool stuff, and put it on the internet for free. Nothing but high 5's for all y'all, keep doing god's work!
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] Tech180:
Yes nice!!!! Great work [MENTION=4126377]tdm[/MENTION]!!!!!!
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] Alvin4500:
Why haven't you changed the thread from unofficial to official weekly
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] tdm:
Because I'm lazy. [emoji14]

I've been busy today, I'll change it soon.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] MrWhite0429:
So does this mean that build will be maintained by lineage team now?
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] tdm:
Yes, all builds will be done by the official lineage servers now. Once the official build is verified to work well, I'll be pulling the old builds from my server.

The build schedule is weekly. Six days are allocated for 14.1 builds, Mon-Sat. Sunday is for 13.0 builds. Devices are divided up into six groups, sorted alphabetically. Tulip is in the last group, so it will build Saturday mornings.

Next up is Oreo (15.1) builds. I've got a few more things to get out of the way before starting on that, though -- including finishing up the Trek2 HD and making it official.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] ortizjammet:
any instructions on how to install this on my mini? I have the b12 version
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] emc02:
First of all: thanks for going official! Great work!

I've installed the official build over the unofficial with wiping system, cache and dalvik. First got error 7 then deleted /data/system/packages.xml and installation worked fine. I've flashed newest opengapps pico and addonsu.

Unfortunately after booting all apps are without appdata, like newly installed, some aborted immediately. Is this a known behaviour for flashing official over unofficial because of the signing?
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] tdm:
That's strange. I don't think that should happen. What happens if you don't wipe at all?
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] emc02:
Tried without wipe now, I only deleted /data/system/packages.xml with twrp because of the error 7 and had the same result!

The file /data/system/packages.xml includes a lot data, I think deleting this is causes the problem. Is there any other way to overcome the error 7 (except full wipe and fresh install)?
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] tdm:
Don't decrypt data.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] ajb_uk:
Just another note that I also get Error 7 when trying to move over to Official.

I've still not figured out how to stop TWRP from decrypting /data when installing. I'll try and spend some more time looking into it tomorrow though.

Question to [MENTION=4126377]tdm[/MENTION], will disabling the decryption need to be done on every update, or just the first update across to Official?
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] Leon Lambra:
Great work. just bought this device as a backup device for like 129 bucks which was a total steal if you ask me, works great so far, might as well edit the thread name into official now :)
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] marvelljones:
If you screwed up and did, you have to do a full wipe of everything and then clean install. I went a little overboard on my "cleaning." I FDR'd, wiped data (had to type yes), then wiped everything else. Powered down (yes I know no OS installed), turned on, went to recovery, then completed the install. Everything works fine, but the camera still doesn't like some applications just like the last unofficial build. At least for me anyway.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] emc02:
I've now tried without decrypting data and without wiping, but ended up with black screen after booting. Power off menu (press power button) worked, but nothing else.

I think I will need a full wipe to go to official build.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] LeonardoGC:
Comments/remarks about the unofficial build

Thanks [MENTION=4126377]tdm[/MENTION] for all the great work with this ROM (LineageOS). Some days ago I installed your build (unofficial) and minutes ago I just read that there is an official one. That is fast!

Before upgrading to the offical build I have some comments/remarks:

I understand that is safe to upgrade from your build to the official one but my question is: Is it safer to do a full wipe/clean install and avoid error 7 and the fact that the official build is signed with a different key?

In the recent days using your build the phone turned off twice but I needed to press the power putton for more than twelve seconds to turn the device on. That amount of time looks too much and maybe indicates that the phone is entering in edl mode or something related.

I used TWRP twice before installing your build; after flashing the ROM and returning to recovery I found this intriguing message: Mount | Decrypt Data | Enter password. I don't remember encrypting anything. And related to this when I tried to backup the ROM it appears that the Data partition is of a size of 0 MB (I assume that this is related with the fact that it is encrypted). I attach two screenshots.

And one final question:

In TWRP i am asked "Keep system read only?". I don't kwow which of the two choices to select: Keep read only or Allow modifications. I also attach a screenshot.

Thanks in advance.

Regards

PS: Link to attached images: https://imgur.com/a/xKQy6
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] juanantofb:
Hi, sorry for my English, only speak Spanish.

I has been flased oficial reléase.

What is the best metod to root? Magisk, SuperSU.

I forget decript data partition, i only do format /data.

Solution?

Thanks.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] repo_code:
"don't decrypt data"

I don't see an option in TWRP to not decrypt data. Does that require adb?

In TWRP's "Mount" screen, if I tap the menu button, it says "Data successfully decrypted, new block device: <blah blah...>" Does this mean that installing the official image, starting from this state, would cause trouble?

You can probably tell I'm a bit novice on this.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] juanantofb:
Hi, sorry forget my previous question, i thinking in another device.

What is the best metod to root?

Thanks.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] :
They're really no different, except Magisk is modular, something along the lines of Xposed. Either one will work the same, but if you want that extra feature, get Magisk.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] LeonardoGC:
I think the sound is better in the ROM; there's more volume.

---------- Post added at 11:00 PM ---------- Previous post was at 10:56 PM ----------

I've had a bad experience with Magisk; it modified the bootloader and each time I flashed another ROM Magist automatically autoinstalled itsel without giving the option to decide if you want to keep using Magisk.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] marvelljones:
You just have to uninstall Magisk first if you don't want the automatic install. What you're describing is a "feature." Although I agree it would be nice if it asked first. I usually have problems with SuperSU unless I use an older version, which is less than ideal. Plus it's more difficult to hide root from Google Play, Android Pay, banking apps, etc. Not impossible, just more difficult.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] emc02:
did a fresh install with official ROM and everything is working fine like on unofficial. Direct upgrade from unofficial to official did not work for me...

another question: is it possible to mix colors on notification led, or is there only red, green and blue separated?!
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] ortizjammet:
thanks for this. i installed the one from lineageos repo. worked well on mine, eu version.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] juanantofb:
Hi thanks to all.

I has been installed SuperSU SR5-SuperSU-v2.82-SR5-20171001224502.zip and all all work correctly.

I also think that sound is very good in LOS.

Regards.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] LazyNoNos:
Will this work on the Canadian Virgin Mobile version of this phone?
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] tdm:
Good morning all...

First, let me apologize for the difficulties in switching from the unofficial to official builds. I had not expected that. The error 7 is caused by an assert in this file:

https://github.com/LineageOS/android_vendor_cm/blob/cm-14.1/prebuilt/common/bin/otasigcheck.sh

I'm fairly familiar with this code, as I fixed an issue in it when I worked at cyngn. Back then, I bounced between my local builds and official builds all the time. You just need to either not decrypt data in TWRP or delete /data/system/packages.xml. It's totally safe to delete the file, it is regenerated on boot.

So if that didn't fix the install issues, I'm not really sure what is happening. The one workaround I can think of is to use adb to backup your important app data before installing and then restore after. You can probably find a guide to using adb backup somewhere around XDA, but it basically goes like this:

adb backup -f mybackup.bu <package> <package> ...

adb restore mybackup.bu

You can get a list of package names many different ways. One of the easiest for me is "adb ls /data/data".

Also note that all the hocus pocus about wiping data all the time is complete garbage. You should, in theory, only need to wipe data when you switch between ROMs (stock to custom, lineage to aokp, etc.) or when you are upgrading to an unstable major release (like lineage 15.1 currently). You should never need to wipe cache or dalvik or any of that other nonsense. Only do those things if you have strange unexpected issues and want to start with a clean slate.

[MENTION=8677411]LeonardoGC[/MENTION] not sure what happened to make your phone turn off. I did experience one random glitch on mine over the weekend but other than that it's always been pretty solidly reliable. I'll keep an eye on it. As for TWRP: yes, your data partition is always encrypted. If you didn't set a password, try "default_password'. This is the reason 0mb is available -- data didn't mount. The option to keep system read-only is for stock ROMs. You do not need to select it on Lineage.

[MENTION=5309638]juanantofb[/MENTION] and others: the official root method for lineage is to flash the SU addon:

https://download.lineageos.org/extras

Magisk, Xposed, SuperSU etc. may work but please do not submit issues or bug reports unless you have a clean install.

[MENTION=2716968]emc02[/MENTION] the notification led hardware only supports one color at a time;

https://github.com/tdm/device_zte_tulip/blob/cm-14.1/lights/lights.c#L104

[MENTION=8414455]LazyNoNos[/MENTION] the Canadian version is reported to not work with tuliptool. If you are interested in doing some testing to see if we can get it unlocked, feel free to PM me.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] tdm:
[Duplicate post removed]
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] googletermsofservice:
Still getting very bad battery drain from bluetooth
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] marvelljones:
Wiped my phone and reinstalled today due to bad choices on Gapps Aroma. I went with Nano this time because it's got enough of the Google basics without the launcher. I'm not a fan of Lineage's SU (personal preference, it works fine & is official) so I went the Magisk route. Magisk's most recent version, 15.3, works correctly. I can use my banking app and various other apps that balk at unlocked and/or rooted devices. Google Play Store shows "Certified" after clearing data and reopening. I haven't tested Android Pay yet. I recommend installing Lineage and Gapps, going through the initial phone setup, get all your basics in order, then reboot to recovery and installing whatever your root of choice, if any, is. It's the safest way and doesn't take that much longer.