yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Lineage 15.1 by itself is far off of Lineage 14.1, still lot of features and fixes missing...

As for our specific device...? Don't see anything good regarding fixes happening as well... One dev even stated he wasn't interested in fixing H+ status bar icon!? So what could you espect in future development... I say nothing bright... Not to mention nobody is sharing full device sources/fixes but me... That's not how device specific issues gets fixed...

And I have no enough motivation to do full Oreo development at this point... Just not interested in it... Sorry... So you guys hope somebody gets more involved in it...

And without dedicated helium builds with helium blobs and tuned device tree are made you can expect poor/buggy power savings and device performance, camera etc...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] paarkhi:
it seems it's the end of the life for the device... I would like to follow you to Mi Max 3 if you go for it.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] arbitrarygrill:
It's hardly end of life, nougat is fine, what does Oreo add that's actually useful to us?

I'd rather have better battery life, more device-specific tweaks, security updates, ect.

nijel8 is a wonderful dev and is still updating Lineage 14.1, I don't see the problem.

It's a feature complete rom, he added substratum, the kernel continues to be fine-tuned, ect.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] khnoizer:
I certainly don't mind keep using this rom, as this is the best custom rom experience I've ever feel so far. It's really already really good I can't think of anything better.

So, why don't you just keep this rom in sync with official 14.1, while you try to challenge yourself for something else? As I think this treble trouble will be used for later versions of android by google, sooner or later we need it to be fixed for our device anyway.:)

Also I assure you there are unreasonable and immature hate toward you by previous "event", so no source sharing. It's sad, but what can we do? However I think people like dungphp would be willing to share his of you ask him. Also, I think there will be many people willing to help testing your experimental rom if you're making it.:)
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] evilng:
[MENTION=2772810]dungphp[/MENTION] did share his sources in https://github.com/mimax1

https://xdaforums.com/showpost.php?p=76143616&postcount=161
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
Anyone who speaks Vietnamese & English around hire?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] justln:
Yeah I disabled Battery Optimization for them, the apps still reboot without fail.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Dave Hodson:
Thanks for your insights and this is exactly why I am staying with your ROM!

One recent aspect I would like to share for others benefit (if others are interested, also may be already known) is the Magisk module that allows battery saving of Google play services and also a force doze app as well, see screen shots attached.

The only reason I went for Magisk over your inbuilt root was for this feature to save battery from google play services.

With this extra battery saving in top of the already superb ROM battery management is excellent.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] dmitriypavlov:
Gave up with RR? :D
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Dave Hodson:
Yes I did run it for about a week, but various issues, like to shutdown always takes 3 attempts, tasker to control screen off functions like location, mobile data, sync, etc to save power causes glitches and reboots. I have Helium device and could never get BT calling to work also.

Battery is not as good as Nijels ROM.

I'm sure it will get there in the end but not stable enough for me and I acknowledge that, the guys are still doing a great job progressing this and I'll come back again in the future to have a look again at RR.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] hariraj96:
am i ready to go after installing this in magisk or should i configure doze settings?

where can i find option to configure doze in lineage ??

im currently using greenify and island to doze...is there a better way ?

also is inbuilt root preferred over magisk or vice versa ?

ur opinions ?

---------- Post added at 04:21 PM ---------- Previous post was at 04:12 PM ----------

can u plz upload the miui 8 firmware zip ??

or tell me which miui 8.x.x version to usewhere to find the firmware files to use from the official miui 8 rom zip and how to install it in los 14.1 ??
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Dave Hodson:
Nijels ROM has inbuilt root which is perfectly fine of course, but the reason I rooted with magisk by flashing the magisk 16 zip file (can be found easily in XDA along with the apk for Magisk manager) is to be able to install the magisk module as per my screen shot. The purpose of this module removes the google play services from the battery not optimised app list, thereby allowing battery optimisation to take place on google play services.

The other Force doze app I installed from google store and simply switched it on, no settings altered!

Bingo... Extra battery savings then to be enjoyed.

I do also use Tasker to switch off mobile data, location, sync, BT when the screen goes off and reverts when screen on. Also using Tasker to perform a background sync every 15 mins.

Tasker works perfectly on Nijels ROM as well.

These tasker abilities also provide further battery savings to be had - my personal choice of course and not for everyone.

I used to use Greenify as well when I was on Lollipop and made the switch to Tasker when I went to Nijels ROM.

Good luck.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] hariraj96:
thanks nijel8 for the best rom ....been my daily driver since i first booted it... thanks man...

using dolby as viper kept crashing randomly.can some one suggest a working version ?

only issue is poor signal reception from jio 4g volte in india...mostly not a los issue .used to get better reception till a few weeks ago...not sure which miui update messed it up..would miui 8 files work ??

along with it crappy adware apps such as mibrowser,mimusic,miapps,became system apps in miui 9 as if the already present hardcoded adware and analytics in all system apps and framework was not intrusive enough....ads in system apps was the last straw.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
[MENTION=4384954]hariraj96[/MENTION] it's clearly pointed out in green colour in first post. There is only a MIUI global 8.5.1.0 from MiUI 8 ones present in the archive so you should try that one. You flash them trough TWRP as anything (everything) else.

https://androidfilehost.com/?w=files&flid=180327
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] hariraj96:
thanks man...missed tat green...i had 8.0.1.0 something firmware...it bootlooped...maybe cuz marshmellow...

will try this
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] oatcooky:
Bug report: AudioFX equalizer does not work on the April ROM. It worked on the March release with 9.1.1 and 9.1.2 firmware.

Edit: I flashed Dolby Atmos and now AudioFX works, although with a slight volume drop. An issue with /etc/audio_effects.conf maybe?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] arellupin:
Could you please give me Dolby Atmos which work for this ROM?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] oatcooky:
https://xdaforums.com/lenovo-zuk-z2/themes/updated-dolby-atmos-z2-7-0-8-0-t3700442

This one works but it sounds like utter trash. I dirty flashed Lineage again and it seems it doesn't reflash modified files in /system/etc because I still have the Atmos-modified audio_effects.conf and Atoms libs lying around.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] k4rn8g3:
AudioFX works fine for me !!

Using Helium (4/128)
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Just tested it. At first with BT headset it didn't work... :confused: Disconnected BT headset and tested it on speaker - works. Connected BT headset again and this time it worked. Have no wired headset to test but pretty sure will work. So was a some kind of glitch which we all know could happen from time to time with anything... :) And as you know I don't use any mods for anything... Pure Lineage as I build it...

So all good I guess...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] dactylos:
Hey, on the April ROM. Audio FX works fine. Tested with both Wired headset and Q5 Bluetooth dac.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] oatcooky:
I fixed it by wiping /system in TWRP, then flashing the April ROM. Seems like some leftover stuff in /system was breaking things even though the ROM installer is supposed to format /system on each install.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] dactylos:
I dirty flashed the April ROM with TWRP, wiping the cache and didn't run into any issues.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
Think dirty flashing will work better from last build to future one's.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] arbitrarygrill:
I'm actually curious, I used to get 8-12 hours SoT on marshmallow, but I get about 6 if I'm lucky on Nougat, why is this?

I've tried all of the cpu governor and frequency tweaks recommended in the thread for that, nothing is really getting me near that battery life.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
On which ROM & with what "tweaks"? It naturally also depends on what you do with it.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] arbitrarygrill:
My activities haven't changed, I'm comparing ajmsg's mm rom to this one.

I've tried your tweaks and other's to no avail.

I find little cores are more frequently on high frequencies regardless of what I do and that big cores despite being on, barely get used.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] oatcooky:
I've been getting some weird results lately. Previously I was using Zola's scripts on this ROM and I got 7-8% per hour of active use. I then wiped /system and reflashed this ROM to use the stock CPU config and I'm also getting 8% an hour, with better responsiveness from faster CPU ramping. WiFi, Bluetooth, VoLTE and GSM dual SIMs are all constantly on, with Gapps hibernated. Total SOT is still 11-12 hours.

The big cores aren't meant to be constantly on because they use a lot of power, something like 2x performance for 4x more power compared to the small cores. I would do a clean flash, wiping data and media (backup first!) if you switch between ROMs.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
We recently fixed scheduling more so now it waist less energy among other things. You don't have to wipe anything to switch between CPU configurations just flash the script... we primarily made it as user space script to alow you to play with it and that it can be easily reverted back anytime by simple replacing one text file.

---------- Post added at 09:26 AM ---------- Previous post was at 08:40 AM ----------

First off all you can't apply any setting if SE permissions for tunables aren't being arranged. So I don't know what you done nor how it worked. Little core's are a foot soldier's while big one's are artillery. HMP scheduler is a task command & it switches tasks to big core's depending on their CPU utilisation & priority, not based on their frequency. For frequency the CPU governor (scheduler) is sole one responsible HPM can override this in specific cases if specified so in it's tunables like heavy tasks (which isn't used in default HMP setup). The HMP tunable that determine when will the task be migrated based on load is sched_upmigrate. If you had more utilisation of big cores your battery life would be worse. What ever is your problem it's not tied to how scheduler work's (at least not on this kernel & how it's set on this ROM). All three scripts (from three authors) use hotplug to turn off/on the core's, default settings on this ROM is from CAF & it doesn't use hotplug meaning they are all always on. What ever is your problem a clean flash is universal cure.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] oatcooky:
I'm using the stock CPU settings with hotplug on and I'm getting an extra 0.5% battery use per hour compared to Zola and others' scripts. Fine by me, that's only 30 minutes difference to the total screen on time.

Are the default settings with hotplug on taken from CAF also?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] hptouchev:
Hey, did the 8.5.1.0 firmware fix the signal issue. I am also facing the issue of phone being unreachable sometimes due to bad signal with Airtel India (with LTE preferred default setting).

but the issue disappeared after changing sim setting to GSM only. I don't use mobile data much, so 2G is ok for me.

Also this issue appeared only with the last two ROM releases, before that it was ok.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] jagadisht:
Is flashing the firmware mandatory.....if yes can anyone please provide me the latest firmware link which will work with this rom...and also help me with how to flash the firmware...... @ nijel8
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] sarthakwarlock:
So problem was my battery and not the ROM just replaced it with a new one and battery life is great, It was 1 year old and I charged using quick charger so probably that caused battery to deteriorate faster than usual.. Thanks [MENTION=4399618]nijel8[/MENTION]
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Look at fiirst post, install firmware zip for your device in TWRP as usual....
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] FeraVolt:
Hi. Nice job on your rom.

I found little bug - on wired headset left-right audio channels are swapped. On wireless headset all is good.

Fixed by editing mixer paths. By this commit - https://gitlab.com/SaberMod/omni-an...mmit/1e64fee4833aeaf4a4737a4bba77e6b00e607313

Fixed one in attachment below.

Peace out!
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Hmm... That's interesting no one have noticed it before... Will patch it up, thank you.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] hptouchev:
Zola III, I am willing to give your script a try, to check if it improves battery, without much performance degradation.

Is this the script, it says it was updated on Nov 2017.

https://xdaforums.com/showpost.php?p=71739624&postcount=5
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Ok... I spoke too early...

Just tested stereo L/R channels with these 2 apps:

https://play.google.com/store/apps/details?id=com.leftrightstereo.nejc.leftrightstereo

https://play.google.com/store/apps/details?id=com.jasonfarrell.stereotest

Used original Samsung Galaxy Note II wired headset... Channels are correct, not swapped... No patching is needed...

How did you test it? Headset...? Swapped earphones\buds on your ears by any chance...?:)
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
Yup pretty much didn't change anything afterwards.

Don't forget to enable hotplug in ROM settings after flashing the script.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
Still love to use "Black Chicken" composition from Lost & Found album from Buena Vista Social Club when doing a stereo panning & bass check along with sound stage separation. ?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] tonde4jc:
Hey guys. Is there any way that I can able to monitor (and/or even manage) devices connected on my hotspot on this ROM? If not, it would be a great addition.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] FeraVolt:
I don't know..used new Xiaomi MI Ear Pro.. maybe i just got the wrong headset. Anyway..that fix helped me at last. thx
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] tonde4jc:
Clock keeps closing. Any solutions?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] arbitrarygrill:
I don't have this issue and noone else has reported it, try clean flashing the rom and making sure you have at least the firmware in OP flashed.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
Any better SOT for you now after clean flash?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] tonde4jc:
Which firmware in OP?

I did do a clean flash. Maybe it could be the full gapps I used. Will try again with another one and check if it works.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] tonde4jc:
I just did a clean flash. Still problem persisting. But trouble could be in full gapps which replaces clock. Micro gapps works fine.

Anyone with solution?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
Try addressing third party who adapted the app (Open Gapps) or app developer (Google). Also try to find out did other people with it had similar problems. Kernel timers work just fine (or at least good enough as possible on given kernel) and it certainly looks like it ain't Lineage OS (ROM) related.

Edit: it's definitely Google that messed up things again.

There whose such problem on Oreo Pixel & Nexus phone's last year in October.

https://www.androidpolice.com/2017/...gle-clock-alarm-failures-since-updating-oreo/

Apparently they did it again, tho reports are for Google smart speaker but never the less the same thing on same OS.

https://www.androidpolice.com/2018/...etting-alarms-reminders-google-home-speakers/

Edit no#2:

It's definitely app problem & from Googles side.

Reed newer reviews on Google play:

https://play.google.com/store/apps/details?id=com.google.android.deskclock

Solutions either use default one with installing only micro or pico Gapps, if you from some odd reason need full Gapps (which I cannot think of any) use third part Clock app & Open Source & AOSP based one to ensure it will always work. Suggestion from my side goes for Omny ROM officially one that is available on the playstore.

https://play.google.com/store/apps/details?id=com.maxwen.deskclock

So much fuss about just another Google screw up.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] tonde4jc:
Yes its not lineage. But the full gapps that I got. Will keep trying till I find a solution though. And if anyone has a way, please assist.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] gagas1:
Google clock app is causing the issue

Go to settings /apps and clear data for the clock app

Or exclude Google clock from the package
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] tonde4jc:
Awesome. Thanx. That's what I did and its now working alright. But I just keep checking just in case it starts again.

---------- Post added at 02:07 PM ---------- Previous post was at 02:04 PM ----------

I had not seen this part. Thanx for the help.

I wanted to try full gapps because i use a lot of the google apps and thought it better to have the apps installed as i flash and not have to download them through play store.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] pg8286:
latest build's antutu score anyone?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
You are getting really annoying especially for someone who claims it's an engineer who specialises in battery backup power consumption related things & then asks about Antutu score.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] pg8286:
it was just a question relax, no need to panic so much. Anyone having a antutu score can answer me.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] karlax:
Here it is, stock CPU settings on Mi Max Prime using latest ROM and firmware...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] arbitrarygrill:
the SoT with stock settings is fine now, my tweaks must've not been as great as I believed.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] pg8286:
Does this rom comes with Vulkan preinstalled or we manually have to flash it
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
LOL each & every Nugget comes with Vulkan 1.0 present with if the GPU & drivers for it support it. Still the Adreno 510 has only couple of basic Vulkan functions present in up to today's drivers & their is only couple of game's/emulators that make use of Vulkan & even less worth playing. Lineage has support for hardware accelerated H265 10 decoding which you won't find in MiUI.

---------- Post added at 09:35 AM ---------- Previous post was at 09:33 AM ----------

Well glad you resolved it.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] grey77:
R u sure about H265 10bit hardware decoding?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
Yes suport whose added in LineageOS sometimes in the middle of last year.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] grey77:
Ah, U meant just Lineage H265 10bit support in general. There r no fixed function H265 10bit capable decoder in Snapdragon 650/652 AFAIK.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
I meant integrated LineageOS DSP hardware offloading/acceleration for H265 10 main profile. Fixed function? You are a funny guy even MTK left the ASIC concept & it's using Tensilica DSP's. The QDSP on this SoC is fully capable of 4K H265 10 decoding & 4K H265 encoding (which is still much more demanding than decoding of the same with with extended colour palette).

For encoding you will still need to use third party app & only one I know of is a paid one.

https://play.google.com/store/apps/details?id=com.neaststudios.ultracorder
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] oatcooky:
Are you sure about hardware support for H265 10-bit decoding? MX Player shows hardware support for H265 but not for the 10-bit variant.

Lineage might support it but I don't think the image block in the SoC does.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] grey77:
Thank u for ur extended reply. I've just tried using UltraCorder: no H265 10 bit HW encoding. Only H265 8bbit. According to available internet data, H265 10bit hardware support first appeared in Snapdragon 820. Correct me if I'm wrong.

---------- Post added at 10:50 PM ---------- Previous post was at 10:35 PM ----------

I got used to MX Player as well. For H265 10bit the only mode possible is SW with excessive battery drain. :(
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
I never claimed it will encode 10 bit colour H265. Encoding is at least 10x more demanding than decoding. Looks like Qualcomm never wrote lib for our old QDSP V56 which is ashame as its full capable & they still sell SoC's with it...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] sarthakwarlock:
BUG REPORT

Apps stop playing audio after screen lock. Happens with other audio playing apps (music player, browser etc.) Only play music plays audio without any issues.

Latest Build..

Clean Flash

Gapps Nano

Mi Max Prime
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] speedtouch2006:
I did a clean flash today (helium, latest build, gapps nano) and didn't encounter your issue
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] k4rn8g3:
Very "unique" issue u have there..

Try providing [MENTION=4399618]nijel8[/MENTION] with some logs which will help him in assisting u with the problem..
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Dave Hodson:
If you switch off battery optimisation for the app you require it will not stop playing, I have the same behaviour, it is what it is. :)
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] sarthakwarlock:
Yeah.. I did that. It only plays a little longer and then app goes to sleep again. I haven't encountered this issue since I enabled visualizer in system music player app.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Dave Hodson:
Oh that's new one for me. I have the system music player app disabled, don't use it, I use Foobar2000.....
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Yep, no issues here playing music with screen locked/off here on stock music player...