yashsingh1/xdaforums huggingface dataset:
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] [Jan]:
Hey there,

just installed both of these Apps - both seem to work fine (can't pass the loginscenes tho since i don't have an account for either service, nor can i confirme full functionality). I belive i've used the xmlpak - MagiskModule to bypass any of those google-play-store-compatibility-checks, i'm not 100% certain tho. If you have MagiskManager installed you could give it a shot tho, alternativly there are many more methods to do so ... :p using the xda-search-function should be a good start to get more information on that (fyi: most of those methods require root).

I was actually curious about that process a while ago during my semester break: Wouldn't it be viable to test the builded img via avd (at least in early phases)? Did only find blogpost or similar <2014 about using the avd over a real device, maybe you could voice your opinion about that - asking since i do not have a backup device currently.

Cheers
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] der_stephan:
Yay!

Never gave up on Axon 7 Mini. Keep up the good work, the hardware is still worth it.

I really don't get why. Shouldn't it be very simple to move from 16 to 17 due to project treble? I thought, there are no changes to be done to the standard LOS to get that working on a compatible device. Well, maybe this device is not compatible with treble but I wonder anyway. Is there anybody out there who can explain me what treble does or does not do for LOS devlopers?
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] TheSSJ:
It would be, but you have to remember that ZTE stopped to push any updates since the upgrade to Android N (non-treble). Any devices upgrading from below Oreo are not required to have the vendor/system split, this is why the source code is not written like this (vendor is just a folder on the system partition). But this is not the reason for the compiler errors. Usually Google does deprecate certain compiler flags or make compilation more strict so that simple warnings (e.g. putting a long integer into an integer placeholder in printf) are now being treated as errors. Also sepolicy from qcom has been split to active and legacy devices and I had to move the include instruction to point to the legacy repo. It's all stuff I have to google and research first until I find the solution, this is why it takes so much time

I finally reached a point where the boot animation is being shown, but it currently goes into a boot loop, so I have try to pull the logs and see what's wrong. Last error was due to device encryption that the phone was not able to decrypt the userdata partition. I have to figure out why :( I have some possible solutions, but as the build process to test something new takes 30min roughly the number of tries is limited.

We will get there eventually though, I love solving riddles and puzzles :highfive:
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] der_stephan:
Thanks for the explanation. I didn't mean to be offensive, just curious. I really appreciate what you are doing.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] TheSSJ:
i know, i just thought it would be useful to see which caveats are usually connected with an upgrade for the next LOS version

EDIT: I managed to fix an error with the device encryption and it is able to write into the data partition now

as rewarding as ROM cooking is, the more errors i have been presented with. now system server and my ril service crash because of stack overflows and i have of course no clue why :( this prevents the system from starting
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] TheSSJ:
Bad news, I don't think i will be able to fix the stack corruption errors anytime soon. If I get it to boot neither calls, texts or data will work, along with fingerprint

Maybe somebody has come across a thread anywhere where a viable solution has been posted, otherwise i think we have to settle with Pie

got it to boot and mobile data works, I am invincible :silly:
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] TheSSJ:
coming soon...

WiFi

BT

NFC

GPS

Data

All sensors (!!!)

Audio

all working

camera

Fingerprint

broken

it's getting useable :good:
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] Machi007:
Wow, Android 10 on Axon 7 Mini, amazing, good work, keep it up, I'm curious :)
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] aga75:
Ещё бы ядро с поддержкой nethanter
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] TheSSJ:
English only mate...
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] aga75:
Только на английском ...

Kernel nethanter for axon 7 mini
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] TheSSJ:
get the kernel source from my repo and you can start coding immediately ;)
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] aga75:
Could you make a LOS 16 kernel with Nethanter support,
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] ketulharini:
I installed according to the instructions from scratch.

I don't get sound while playing YouTube.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] TheSSJ:
i need a logcat when you try to play a YouTube video as for me it works. try the mobile site of YouTube as well
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] 1chaoticadult:
Very nice. Good to see LOS17 on the mini. Thank you for your efforts.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] TheSSJ:
good news, fingerprint is working as well, i had to manually patch blobs to make this happen

now it's just the camera
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] 1chaoticadult:
Excellent. That's definitely good news. Thanks for the update .;)
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] aga75:
How to make downloaded music appear in the player and not in the downloads, I can’t go to the audio player folder in the system
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] TheSSJ:
Google it, this is not an operating system bug
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] aga75:
Google did not find anything. Therefore, he asked. Dolby atmos can I put in this firmware?
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] BAPK:
Thanks for your work. Third-party cameras also do not work? For example Camera MX. On Los 16, I don’t use my native camera, it shoots poorly.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] TheSSJ:
It's not that simple :) the camera library used in LOS16 is corrupting the stack and the whole function crashes, thus it is not app dependent.

If I am successful (thanks to the work of a guy called Highwaystar) we will soon have a HAL3 capable camera module as I found a way to compile from source, but hacking that thing to make it right takes a while, bear with me.

We can "thank" Corona that I have more free time to code again
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] TheSSJ:
quick update

i think i got 90 percent done by now

fingers crossed

edit: preview works! shouldn't take long until taking pictures and saving them will work
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] TheSSJ:
Gentlemen (and women?)

Finally I finished getting the camera HAL3 system to work. There are few bugs to fix (first few pictures are green and then the camera starts taking proper pictures etc), then I will be in a state to publish a first LOS17.1 beta, where you guys are welcome to test

Now that I know how telegram works (I am old) it would make sense to start debugging with live feedback instead over XDA posts :silly:
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] 1chaoticadult:
Very nice!!! Thanks for the update. I will be ready to test when you have the beta ready.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] aga75:
TheSSJ What is you telegram chanal
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] TheSSJ:
don't have one, but if i am lucky i will open one soon

unfortunately it's not that easy to fiddle with the camera, this is the current status:

HAL1: preview works, taking pictures not. but video works super reliable

HAL3: taking pictures works if the lighting is good enough, same with video

sometimes the pictures taken are green or video is simply crashing
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] pchtc:
Where can we get the newest rom with camera hal3 fix that based on messages seems to be May 31st

when i go to the google drive link

the newest is april 15
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] TheSSJ:
you should read further than 31st May :D

camera doesn't work properly, and it doesn't make sense to publish a half working build to get a list of bugs which come on top on what i have to repair f first

the camera code is 50.000+ lines and it takes a huge time to understand where something is being done as the documentation could be way improved...

bear with me,i will open a LOS17.1 thread once the ROM is beta ready
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] pchtc:
Sorry about that. I had read to the end, but I guess I misunderstood. I didn't realize that the camera was hinging on 17.1. I understood that 17.1 was the next thing you were working on.

Anyways, my mistake, thanks for the ROM, can't wait to see the next version.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] TheSSJ:
you are right :) the camera stopped working on los17.1 , this is why i went and tried to compile it from source

so if i am lucky and the camera is able to actually take pictures and videos in camera1 and camera2 mode the beta testing can begin

edit: small progress so far

HAL1: fully works only if the lighting is good as well :(

HAL3: taking pictures works if the lighting is good enough(others you just get a solid green picture), video works reliably

all the testing is being done with open camera, don't know about other apps if they work well
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] TheSSJ:
didn't know so much time would pass. unfortunately i got infected with mononucleosis in my old age and it struck me down pretty hard, this means i couldn't really touch los17.1 camera.

i uploaded los16 with the latest security patch though
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] justplex:
Best wishes!! And thanks a lot!
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] TheSSJ:
Thanks :)

By the way, after you flashed the latest version, first boot takes a while as all apps are being odexed again.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] TheSSJ:
by the way, i managed to get netflix to work, next build will include the fixed widevine libraries
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] cholov:
thanks to the developer for giving life to this device. Last week I changed my battery and with this rom I have a new phone. Fly ... :)

---------- Post added at 04:16 AM ---------- Previous post was at 04:01 AM ----------

Dear, can you include in future versions a screen launch with double tapping and some gesture control?
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] TheSSJ:
unfortunately zte implemented dt2w somehow strange, it won't work on los. But I don't really know where to start to find out how to activate that. What do you mean by gesture control?
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] cholov:
I know it's impossible as in Android 10, but at least as in miui?
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] DevinHepburn:
Hello!

I am having some issues with the camera on the latest build (July 3rd 2020). Both the first party and third party camera apps fail to work. Flashlight does not work either. Would there be a fix for this in the future or is there something I have to do to get it working?

For now I'm going to be reverting back to the build I was running before (November 18th 2019).
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] TheSSJ:
If you could get me a logcat during the time where you try to start the camera I could give it a go, but like this I can't help. On my phone running LOS16 it works just fine. Sometimes you might have to reboot the phone for the cameraserver to pick up the qcom camera service, you can identify it by checking if the flash light symbol in the quick settings bar is greyed out or not
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] DevinHepburn:
Thanks very much!

The flashlight was greyed out (hence the mention of it not working). I just reflashed the November build, so going to flash the July 3rd one again.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] tommytimmerman:
Is LOS 17 compatible with it?

Or nahhhh
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] Rafaru:
Hello , I have just updated to 20200703 but on phone information appears as 20200629
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] TheSSJ:
that's correct, i compiled end of June, but forgot to upload it and remembered only on 3rd July :D

update on the LOS17 progress:

i can't get the camera to work reliably, this means i will try to patch the old binary to make it work. so much reverse engineering and it didn't bring any result, which is bugging me..... vOv
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] Rafaru:
Thanks for your efforts
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] TheSSJ:
new build online
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] justplex:
Any changes despite the patch level?

Thanks a lot - great work!

I have three Minis at the moment - if you need a beta-tester :)

Greets, Chris
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] TheSSJ:
3 minis, wow, you're really a fan ^^

as i wrote earlier, Netflix should work, but not the Playstore version, as the mini doesn't seem to be on Netflix's white list

there is a patched version here at XDA which avoids these checks and you can login and use their streaming service (account needed of course)

doesn't work with Disney+ still :/
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] dmilz:
You are doing good work on this device. Just picked up one from ebay, hope to enjoy
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] CaioMarzioCoriolano:
I installed this OS on my Axon 7 mini goes quite well I did not notice bugs but since I installed It Trust warns me that selinux is not active how can I fix it
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] Theared:
[MENTION=2388665]TheSSJ[/MENTION] or anybody, is there any chance to update current build to newer security fixes? I sincerely appreciate current work. Thanks a lot, all the best!
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] TheSSJ:
On it, stay tuned
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] TheSSJ:
New build is up gents
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] Theared:
Perfect! Thank You a lot!
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] BolitaBolita:
Thank you!!
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] resultant-vector:
I am trying to upgrade to the most recent build (coming from 14.1) but when I sideload I get this

E3004: This package is for device: tulip; this device is .

What did I goof up?

EDIT: Posting in case it happens to anyone else.

in the ROM, got extract and go to META-INF -> com -> google -> android -> updater-script

Open updater-script and remove the first couple of lines that look for the device name/build. Worked for me after doing this.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] Fully Dead:
Will there be more updates for this firmware?
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] Rafaru:
Hello , shall we wait some update or is this thread already done ????
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] TheSSJ:
This is because TWRP is not reporting the device model correctly, the method you used is a valid workaround, but technically flashing the newest version of twrp should fix it

Sorry, in the future make sure to mention my username to remind me and my old brain.

I am currently building the newest version and will let you know once uploaded :)
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] TheSSJ:
all online!
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] Rafaru:
Great , many thanks for your efforts , will install right now
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] justplex:
WOW! Thanks! The first one is "uptodate" :)

Great work!

Greets, Chris
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] Rafaru:
Already updated , all ok , thanks
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] TheSSJ:
Unfortunately the hoster where my build server is located raised the fees and i had no way to download a backup of my data... As i can't afford it now i had to delete everything. With a heavy heart I have to discontinue this great ROM for a great phone..
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] Rafaru:
Really sorry to hear this , anyway many thanks for your great efforts
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] AstroGD:
Thank you very much for your efforts! Just out of interest: If you would find a cheaper hoster would you continue to work on updates?
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] TheSSJ:
I would need to rebuild all that i have lost x)

But i think i would do it in the end

Maybe i will repurpose an old laptop and add some RAM on it, should be cheap to find on eBay :)
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] AstroGD:
Nice! - I would really appreciate it if you continue.

If you want I can recommend you a hoster that I am using for years - (I don't know what you have paid before but they start at 2,69€ per month)
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] killer23d:
@TheSSJ Does your ROM support the built-in AK4962 DAC? I am thinking about picking one up for cheap as high-res player.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] TheSSJ:
I have absolutely no clue :D
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] killer23d:
You can definitely update your first post indicating the AKM DAC is not supported.

I have tested your ROM and it does not support 24 bit @ 192 kHz output on wired headphone, it only does 16 bit @ 44 kHz. On the other hand, 14.1 does; since I am using this as a music player, I will take the version that works.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] ortizjammet:
Thanks for the ROM. Works nicely.

Will that Android 10 ROM be released or a newer one?
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] EdCa361:
@TheSSJ The link to download the TWRP "tulip-twrp-7.1-3.2.3-r2.img" is down, and I did not get it elsewhere :( , could you resubmit it please?
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] koktey14:
I cant do it right now cuz i dont have my laptop with me but i will provide it ASAP.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] BAPK:
I confirm. And when installed on a clean, and updated. Version of the 17th day - hangs and slows down. Logcat sent private messages.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] TheSSJ:
Found the error

Next build features:

Videos playing again(tested with YouTube and prime Video)

Memory issues fixed (reason for lags)

Camera working with 3rd Party apps

Graphical glitches gone

EDIT: uploaded, enjoy
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] TheSSJ:
Another update: Camera should be fixed for usage with the Snap Camera app provided by LineageOS itself. the only remaining bits are to get the flashlight working (it works in the camera app, but not by itself via accessing the settings drawer)

Hotspot is still broken as well

Edit: uploaded, I have to troubleshoot why Camera2 and Snap are now both installed (with the same misleading name), but Snap works a charm

Edit2: I discovered that you have to open the camera with a third party camera app first for Snap to start working (like turning the key of a car to start the engine), I will look into this to see how this can be avoided. Since yesterday this ROM became my daily driver, good battery life I must say :)

Edit3: Next build is up, added DozeService (not sure if it works), pinned critical system components to increase stability, still no luck with hotspot though
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] 1chaoticadult:
The issue I’m having is after the initial setup, I restart my phone and it hangs at the lineage logo. This has happened twice. First time I thought it ok let me trying formatting again and do a fresh install. Again it starts and I do the initial setup and load from my backup but after restarting my phone gets stuck again. So I’m not sure why it’s happening but kinda sucks. Don’t know what’s the problem.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] BAPK:
Check the firmware without restoring the backup. After data recovery, my phone rebooted in twrp.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] [Jan]:
First let me thank all contributers who put their time and effort into building this rom .. :good: much appreciated!

I've found some unlisted bugs I wanna share here:

- certain scrolling elements (horizontal & vertical) won't be rendered correctly (i.e. 'sim card is locked' in the statusbar resulting in a tailing-effect) [reproducible]

- on some occasions the process of unlocking the sim is being skipped (didn't occurred to me anymore after setting a super-password for the AndroidOS - doing so results in an annoyingly long blackscreen after entering the super-password until the los-loading animation gets played) -> I'm assuming the process (post android.intent.action.BOOT_COMPLETED) is looking somewhat messy

- SELinux is set to permissive (I guess this will be changed on a more final build, alternatively a init.d to change that would be appreciated)

---------- Post added at 08:49 AM ---------- Previous post was at 08:36 AM ----------

You can use i.e. Titanium Backup in combination with MyPhoneExplorer to transfer your data & apps from >16 los to 16 los instead of twrp-backup.

Also keep in mind that the first time running a fresh installed rom (i.e. required to jump from 15.1 los to 16 los) may take longer than 5 minutes.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] TheSSJ:
As Jan states, this should be backed up via titanium backup and then restored individually, this ROM went through severe rewriting / component addition and removal, so restoring the backup of twrp is highly likely to fail. I installed los, addonsu and opengapps before the very first start and had to wait 5 minutes for it to show the initial setup assistant

Same for you, see above (if I understood your post correctly). Also thanks to your logcat I saw some Telecom app crashes, which I will have a look at to fix :)

1. Yes, I desperately try to fix this, this could have several reasons, most likely because graphics allocator is still passthrough (if I set to binder systemui crashes because it can't allocate a simple 84*84 pixel buffer resulting in null pointe exceptions)

2. Hm, highly interesting... The Sim card readiness is indeed working wonky since I started working on los16, I will check the logs after fixing the hotspot issue

3. Selinux is tackled always last when everything else is working, but I didn't forget ;)
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] :
Congratulations you are getting development experience, continue hard work:D
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] 1chaoticadult:
I’m not using a twrp backup. I’m restoring from google drive when going thru the initial setup of the phone. I will try selecting certain items in the backup and see if it makes a difference.
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] bigfoot29deu:
Looks like 16 is really getting useable. I am really impressed. - Great work [MENTION=2388665]TheSSJ[/MENTION]. After being able to build 14.1 myself, I know at least a BIT how complicated it REALLY is to mess around with the source code involved. It is not just a "finger snip" (snap?) to snip/snap all the bugs away.

Regards, Bigfoot29
[ZTE Axon 7 Mini ROMs, Kernels, Recoveries, & Other] mentao:
[MENTION=2388665]TheSSJ[/MENTION] Thanks, this is awesome!