yashsingh1/xdaforums huggingface dataset:
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] der_stephan:
installing LOS: extensive how-to

Hi folks,

I managed to get LineageOS running on a EU Axon 7 Mini after some minor difficulties. After flashing TWRP, it did not boot to recovery. I got a white screen instead. So I had to upgrade the stock rom before flashing TWRP. I upgraded from 6.0.1 (January 2017) to 7.1 (October 2017). After that, flashing TWRP worked as expected.

Before you do anything here, make sure that you have a working ADB installation. Windows users may have to download and install a generic driver to get a ADB-connection.

These were my steps in detail:

buy the Axon 7 Mini (codename tulip)

boot stock rom

if the version of stock rom is 6.0.1 Build V1.0.0B01 then follow the first upgrade step here. Skip this, if build number is V.1.0.0B09 or higher

if the version of stock rom is 6.0.1 then download stock-rom upgrade, unpack the zip and copy the file "update.zip" to root of SDCARD

run upgrade from SDCARD in settings

reboot the phone

enable developer settings

allow USB debugging

boot to emergency download mode using

adb reboot edl

download tulip tool and the unofficial TWRP image

use tulip tool to flash unofficial TWRP image using

tuliptool write recovery tulip-twrp-7.1-r1.img

stop countdown for reboot by holding down both volume buttons. If you don't stop that countdown, it wil most likely boot to stock rom and TWRP will be overwritten by stock bootloader again

shutdown the phone by holding Volume-up and the power-button together for a couple of seconds. This will boot into TWRP.

allow write access to /system

wipe everything, all caches and data and system

download latest nightly of LineageOS

upload the file to SDCARD by

adb push lineage-14.1-xxxxxxxx-nightly-tulip-signed.zip /sdcard

install LineageOS which can be found here: /sdcard

downloadAddon for gaining root-access

upload the file to SDCARD by

adb push addonsu-14.1-arm64-signed.zip /sdcard

install Addon for gaining root-access which can be found here: /sdcard

reboot and you are done!

My Axon 7 Mini is running fine on LineageOS :cool:. I can confirm the bug that all battery is accounted to bluetooth. I did not note anything odd beside that. Some users complained about short battery life. I can not confirm that. Even with normal use (incl. 1h of Amazon Prime Video per day), the battery lasts for about 2 days. Nothing to worry about here - especially when taking the price into account.

To sum that up: I can strongly recommend using LineageOS on the Axon 7 Mini.

Thanks to [MENTION=4126377]tdm[/MENTION] for the great work! Maybe you could use some of my information on the very first post in this thread?

Regards

Stephan

P.S: Is it possible to correct the information in the official documentation as it is obviously wrong there?
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] bius88:
Which camera application are you using in LOS, for video recording?
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] der_stephan:
org.cyanogenmod.snap
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] grandosegood:
wonderful release! it makes the ZTE Axon mini 7 run so much better.

1) What is the bluetooth battery bug people keep talking about?

2) what would you recommend for root/root manager?

3) i can send text/mms messages but can't receive them. what could be causing this?

Thanks again!
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] disChapo:
Any news on 15.1?
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] tdm:
No, sorry, been really busy lately.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] bius88:
I use standart su addon, and tested magisk,worked for me OK.

P.S.

S.F.M.B.English
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] Psylocin:
Not sure if this is a bug or feature as it's an annoyance I didn't have using stock. When using phone as a USB drive, plugging it in (with phone unlocked, otherwise no drives appear) would perform as expected. After installing, it reverts back to USB charging mode require me to reset as MTP (Transfer Files) to use as a drive. Any ideas?
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] Diomorgan:
With stock those doesn't happens!
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] grandosegood:
i had to send my zte axon mini 7 back because it had a hardware issue. they sent me a refurb, which actually worked great. once i installed the noverity boot image and twrp while on stock, i then booted to recovery and installed lineage, gapps and magisk. so far, it runs awesome, and i don't have any of the issues i had before.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] LeonardoGC:
Trying to enable Camera2 API on LineageOS 14.1 (ZTE Axon 7 Mini)

Hi.

Is it possible to enable Camera2 API (for manual camera settings) on LineageOS 14.1 (ZTE Axon 7 Mini)?

I tried to enable it by modifying the build.prop file adding this line at the end of the file:

persist.camera.HAL3.enabled=1

After the reboot it passes all the tests of the Manual Camera Compatibility app but when opening any camera app (Open camera or LOS's stock) an error message appears and indicates that it is not possible to establish a connection with the camera.

The error message is solved after deleting the added line and rebooting.

The camera section of the build.prop file is the following:

# Camera
camera.hal1.packagelist=com.skype.raider,com.google.android.talk
camera.lowpower.record.enable=1
camera.display.umax=1920x1080
camera.display.lmax=1280x720
media.camera.ts.monotonic=1
persist.camera.stats.test=5

Maybe there are more tweaks needed.

Thanks in advance.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] RedoxReaction104:
Hey I'm living the rom...seems to get more stable with every update. I did have a question though...in a different thread on this same forum about the project T kernel, there's a guy there saying he plans to port the project T kernel over to lineage. Is this actually going to happen....or is there going to be someway to overlock the cpu frequencies...or even just have them locked at a range?
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] tdm:
Glad you like the ROM. :)

No idea what a project T kernel is. But clocks on Qualcomm boards are well understood and generally very similar between devices, so it shouldn't be hard to play with clocking.

Please note that lineage does not condone or accept nonstandard clocks. So this will never be in the official lineage builds.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] RedoxReaction104:
I don't like the rom man. I love it. I was going to sell this phone because of the horrible firmware available.

Gotcha about overclocking, very underable. I could see why you wouldnt want to risk burning someones cpu out.

For the record the thread about project T is here. https://xdaforums.com/axon-7-mini/development/kernel-project-t-kernel-zte-axon-7-mini-t3698347

I doubt youll ever need help from thay guy,l; but, it doesnt hurt to be aware of orher projects on the same phone.

Im out of work at the moment, but when i find a steady job i will go ahead and start paying for the updates again.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] RedoxReaction104:
Will wifi calling ever make an appearance in lineage? Since the stock rom had it, i am guessing its driver related.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] tdm:
No sorry. My understanding is that it's carrier specific code and not supported by Qualcomm. In other words, open source developers don't have the code to make it work.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] bius88:
TDM

Does the LOS kernel support fixing TTL?
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] tdm:
You mean network TTL? That code is stock.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] NewbieGamingYT:
I don't know if this is a bug, but I can not make a single phone call at all! It is pretty annoying when I can't do this as I can't make any important phone calls.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] R3bornD4rth:
Installed it on a EU ZTE Axon 7 MIni

On the weekend I decided to go aheadand get myself the latest Lineage OS for my phone.

I followed the instructions that where posted in this comment section and had no issues regarding the installation.

After setting everything up and using it day to day since then, I have a few things to point out:

1. I can confirm the "Every power usage gets accounted to Bluetooth"-Bug because I have it as well. Also power draw from the system sporadically increases downing the battery after 4-5h of normal use. And sometimes it just lasts 8-10 or even more hours. At least it is more inconsistent then it was with the standard android.

2. Is there a gesture or key-comb for taking screenshots? If not, can you implement it down the road?

3. Wi-Fi is sometimes really slow, even though it should at least keep up with my LTE connection speed - which it mostly doesn't

4. Maybe this is just me, device or account related, but after initial setup I installed OneDrive and successfully logged into it. After a few hours I had to do a restart of the phone and got logged out of the app. Since that time I couldn't log back in. I already contacted Microsoft about this and I am still waiting on their solution. So far nothing of their side was fruitful. But maybe it is an issue with the account manager of Lineage OS. (FYI: I also have MS Luncher, Office Apps and Groove installed which all work fine with my account, just OneDrive wouldn't let me set it up).

Ouh, and Thank YOU VERY MUCH for giving us Lineage OS on our Axon 7s... I love it, even if it has flaws.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] :
The screenshot combo is the same as it has always been on stock ROM and most other phones; holding the volume down and power buttons at the same time.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] RedoxReaction104:
Im not sure if this is a bug...but it seems almost impossible to turn or tune cores 0 to 3. I found a way of doing it...but it involves running two different kernel tweaking programs at the same time.

I think this has to do with a shared library object that gets installed and has to be running for the drivers to change the status or frequeny of the first 4 cores.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] k500zm:
Which two different kernel tweaking apps are you using ?
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] RedoxReaction104:
Kernel toolkit pro and kernel auditor.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] shikharmakkar:
VoLTE support

Has anyone from India tried this ROM? If yes, does JIO or Airtel VoLTE works with this?
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] marvelljones:
I highly doubt it and I recommend you stay with the stock ROM on the Mini. VoLTE and VoWifi do not work on this ROM in the US, which is where the original developer is based out of. It most likely never will, it's something that is unusually difficult to accomplish on many custom ROMs. Despite an increasing number of global carriers offering and/or requiring it. It's what keeps my Mini stuck being a "backup" phone in case I break my Nextbit Robin, because call quality on the Axon 7 Mini sucks on T-Mobile's network.

That being said, tdm did a great job bringing Lineage to the Mini. Any feature that is lacking, from my understanding, is due to the unavailability of proprietary drivers/code/etc.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] osamfirescu:
Hi All,

I have a problem with the latest OTA update, when the phone reboots it requests a password for the TWRP mount decrypt.

Could you please help me?

Thank you!

BR,

Ovi
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] R3bornD4rth:
*Edit:* I fixed the issue for myself by simple going to another Custom-ROM. This works for me, but this bug my persist for others.

Since it worked with another ROM my guess is some faulty code in relation to the Account.Manager service and its databases. But it could be anything.

So for that sake I will leave my request here. If someone wants to try and reproduce it (Maybe eveb you tdm?)

But until I surly know OneDrive works for Lineage Tulip I won't come back. Still thank you all for your support ^^

*EOM*

Guys I need your help.

As I already mentioned I have a bug with logging into my OneDrive account over the App.

A brief overview of the issue:

After setting up the phone it worked for the first time - Then after a reboot I get logged out automatically and can't log in with the same account I used before the restart. Others work though.

This already happend twice, because I got so frustrated that I forced a factory reset. After that it worked. Until I restarted my phone (it hung up and I needed to force it shut)

I am already in contact with MS-Support about this and they recommended that I install the latest Google Account Manager App, which I did (Updated it to 7.1.2) and still this issue persists.

Now I will try another new start but installing and setting up OneDrive as last App.

What I need you for, is to see if you can replicate this issue.

I would like to determine if this is device specific or down to the OS or just because of my account.

Closing in the factors for this occurrence may be important for tdm and / or Microsoft to resolve this.

So I humbly thank you for helping me and the community out :)

Regards,

Reborn

Side Note: I don't know if this is a thing already, but the quality of In Call-audio using headphones or simple going through the headphones-check is really poor and way to quiet. Even on full volume.

---------- Post added at 09:09 PM ---------- Previous post was at 09:02 PM ----------

This password might simply be your PIN or Passcode you use to look your screen. At least that is how it is for me. TWRP and Lineage request my PIN code upon startup
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] k500zm:
[MENTION=4126377]tdm[/MENTION] - Any progress on LineageOS 15 ? Is it realistic to expect a beta ?
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] tdm:
Not much progress lately. Been busy at work.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] mentao:
Anything a casual android user / software dev could do to help? :)
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] swejo01:
Is there any kernels working for LOS? I tried project t, but it soft resets back to TWRP when I flash it
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] sundog1:
[MENTION=9181235]R3bornD4rth[/MENTION]: Could you please give a short summery on how you managed to install LOS? I also have a EU version of the phone and in some instructions they tell you it is only possible for the US version. Well its not really the "install LOS" part, it is more how to unlock and flash twrp.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] R3bornD4rth:
Indeed I can help you. Even if it says it is impossible it works. The EU and US version don't seem to be much different (at least as far as I can tell).

There is no actual need for unlocking the bootloader because it is already open to begin with. To flash TWRP use this version: https://xdaforums.com/axon-7-mini/development/recovery-twrp-7-1-unofficial-t3685339)

But to put it simply and not copy things that were covered before: Use one of these guides, it worked for me:

https://xdaforums.com/axon-7-mini/development/unlock-tuliptool-unlock-twrp-custom-boot-t3682781 with the tuliptool

or

https://www.xda-developers.com/how-to-install-twrp/ and refer to the "Install via ADB" section - note that you need to put the device in EDL mode first, before you try flashing anything ^^

I hope this will help you.

Some where here in this section another guy did his EU ZTE and posted a HOW-To: https://xdaforums.com/axon-7-mini/development/rom-lineageos-14-1-unofficial-t3688005/post76372847#post76372847
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] NewbieGamingYT:
Any good news on Lineage OS 15? I know you have been busy working, but I was hoping you had a test build or something like that!?
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] tdm:
No sorry, been super busy with work. But it's definitely on my todo list.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] NewbieGamingYT:
OK Sweet. Do you have a time, not trying to rush you because I want it to be great, but I really want to use this ROM!
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] Marcus Weezicus:
Battery life issues

Hi guys,

So far the ROM has been a vast improvement over stock except in one area, namely battery life.

Since installing the ROM I've had pretty awful screen on battery drain, to the tune of 1% every two minutes or so.

Had anyone else had this issue, and if so, are there any possible solutions out there? I've taken to carrying an external battery with me when I'm away from a charger for a while, but I don't see this as a long term fix.

I also seem to be hit by the Bluetooth reporting bug where all my battery stats are reported as "Bluetooth".

Thanks for any possible help.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] disChapo:
Only problem I'm having is my phone is only charges after a reboot and will no charge unless I reboot it with it plugged in. Though I think it may be hardware related. I have tried different chargers and cables put it is the same problem.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] packydavis:
Any progress on the project?
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] marvelljones:
If you're asking about Oreo, scroll up. It was answered almost a week ago, so that's probably why you didn't see it. Honestly I'm still amazed this device got LineageOS 14 official.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] Gearswar:
Hi dev, some people reported having trouble making and receiving calls or didn't hear the person on the other side. Is this issue fixed before I flash?

---------- Post added at 06:46 PM ---------- Previous post was at 06:39 PM ----------

Hi, can I flash twrp using command prompt on fastboot? Or do I need to boot in EDL to flash it? Sorry I'm new to this phone. Coming from nextbit Robin.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] tdm:
Everything should work now. There are a couple minor glitches like the battery stats and no dolby but nothing huge.

You flash TWRP using tuliptool, then use TWRP to flash ROMs.

Good luck, and welcome!
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] Gearswar:
Thank you dev. Wow this ROM is fast and smooth better than stock in my opinion. I never knew this phone supported 5ghz WiFi. Untill i flashed this rom. No problem charging as one person stated. Just wish it could have the ambient display feature. Other than that its a beast. I don't really need Dolby so that's not an issue on my end. Keep up the great work.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] Gearswar:
Any luck on lineage 15?
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] yekmen:
Hi guys,

I flashed successfully my ZTE Axon 7 mini EU version ( from gearbest )

But, I found that my phone used only 4 cpu only ( 4/8 )

Anyone had the some problem ? or anyone know how can fix that ?
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] marvelljones:
How did you determine this? I only ask because I have made the "mistake" of thinking this was the case with another phone. The best explanation I have is the Android kernel settings call for CPU scaling for a variety of reasons. If all 8 are used all the time power consumption and heating will increase. Unless you've determined that 4 have been rendered inaccessible 100% of the time, I wouldn't worry about it. They should "turn on" when they're needed.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] yekmen:
With CPU-Z .

I have some UI smooth issue so I check with CPU-Z and them I saw :

CPU0 stopped

CPU1stopped

CPU2 stopped

CPU3 stopped

CPU4 0%

CPU5 0%

CPU6 0%

CPU7 0%
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] marvelljones:
I get the same result for CPU (cores) 0-3. CPU 4-7 all fluctuate between 806-1209 MHz for me, not showing percentages. Do a Google search for more info on Android CPU governors and core use for more info. It's literally too long to post here. Here's a good start: https://tinyurl.com/y8qkd439
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] Lexed:
Is this build have support of quick charging?
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] c0080900v:
I wonder this as well
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] der_stephan:
Hi,

LineageOS is running without any issues on my EU Axon 7 Mini. But I am using system profiles to do some settings whenever I am in reach of my home wifi. There is an option to disable phone locking but it is grayed out. How can I enabled it? I do not want to enter the pin when I am at home.

Thanks in advance,

Stephan
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] SGH-i200:
Any news on Wi-Fi calling on LOS?
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] gcs88:
Not sure since which build, perhaps since 20180701 i recognize i don't have to enter my pin to decrypt when i boot into android or twrp. Anyone else noticed this?

i didn't see recent changes in changelog which could change this behavior :/

On my second phone s4 mini with lineage 15.1 i still must enter a pin to decrypt on boot.

[MENTION=4126377]tdm[/MENTION] thanks for your work :good:
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] SGH-i200:
Do you encrypt your data partition and changed the password? I never had to enter it in TWRP!?
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] disChapo:
I've been having a problem where the call volume is extremely low even on the highest setting. Anyone else having this problem?
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] disChapo:
It was a good run but I upgraded to a Oneplus 6. This project kept me using the phone longer than I would have so thank you tdm.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] Marcus Weezicus:
Nothing? Nobody has had this issue?

The phone also gets quite hot under the screen in the top third of the device (where I think the cpu is), so I suspect i have an overheating cpu issue.

Does anyone know how I check on that? And if it is, is there a way to manage it?

Thanks for the help and many thanks to tdm for the work. Still much better than stock.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] SGH-i200:
My Mini gets hot, too, but I keep Bluetooth disabled all the time, so I don't see Bluetooth in my energy statistics at all.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] marvelljones:
This is another "depends how you're using it" situation. While I was on Lineage I only experienced heating "issues" when I was running games or watching videos for a long time. Granted I don't run a lot of things in the background, I used the Nano version of OpenGapps, etc. The stock ROM does a better job managing power but that's normally the case. Lineage performs better overall but with that comes battery drain.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] tdm:
I disagree. When I was running this for my daily, battery was just fine. Equal to stock if not better.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] auxillium:
the SoC is on that part, so it's expected. I always have CPU monitor app for temperature monitoring, and it goes up to 40+ deg C during gaming or other intense workloads + wifi, and it goes up even more when mobile data is used instead.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] SGH-i200:
[MENTION=4126377]tdm[/MENTION], which ROM do you use as your daily driver? AOKP?

[ROM] AOKP Nougat (official)

https://xdaforums.com/axon-7-mini/development/rom-aokp-nougat-unofficial-t3692405