yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] lev04:
hey,no hard feelings here.i wish i just knew what the problem was for me..why that high battery drain?!i think i will try your new version when i have the time,maybe this one suits more to my mi max,who knows?!what gapps do you use?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
How about turning on core_ctl in Settings for a starter...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] lev04:
ok,did that.should i leave automatic optimization on or off?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Leave it on. That's standard lineage setting, not mine so not sure how it works hence keeping it on...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] oatcooky:
Any issues with fluctuating volumes using Google text to speech? I'm using the TTS plugin for FBReader, for some reason the voice volume keeps getting louder and softer every few seconds. Didn't have this problem on Marshmallow ROMs.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] panyan:
+1 i got this too
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] man2106:
using latest built very smooth and good battery life thanks nigel8 for your hard work.just to feedback on latest built sytem file explorer cant access sdcard but on es explorer no such problem and gallery app is a bit buggy when opening with camera
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
https://github.com/nijel8/android_device_xiaomi_hydrogen/blob/cm-14.1/proprietary-files.txt

Fixed... redownload and flash again, please.

You ALWAYS install gapps and anything else you do to /system after any rom update... /system starts from clean state updating rom.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] laolang_cool:
good job! exactly what I want, thank you!
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] mat9v:
It seems that this system does not like me :(

I did full clean flash with unencrypted data and even clean internal storage.

Now not only does every time I reboot the phone sim card changes function, calls change to random wrong sim card, after incoming call ends, system reboots.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] andjohn:
Working great, no problems here! Thanks OP!
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] ccken:
Thanks for your great work.

I already used CM rom, do I need to flash firmware-HYDROGEN_MDG-7.1.5.zip? Thanks.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
I keep hearing about some users thanks got a very few, with weird things happening like you. It is not common at all so I can't help really.

I just posted on OP the old 6.12.29 china firmware which acording to some of those users helps. try it...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Don't if you don't have problems or weird things like above...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] ccken:
thanks for your reply

but I can flash it anyway, it won't cause any problem, right?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] mat9v:
So I sat down and got to testing how this thing with SIM cards work.

My 1st sim is Orange with sim card lock (means that I have to enter PIN to unlock it), it's used for calls and sms

My 2nd card is NJU without sim card lock - used for internet only (calls on that one ale billed additionally)

It seems that Lineage completely disregards what is set in settings in some cases.

case 1: Normally when I boot, nju card is unlocked automatically without pin and it is set as default card for data, calls and sms (probably), then after I enter pin for Orange card it is assigned for sms only.

case 2: When I changed card places after completed boot and card is unlocked, all data, calls and sms were assigned to nju card.

It is completely repeatable situation, every time it happens the same way.

Now in security I can artificially (I call this artificially because it is not required by my network operator) assign pin for the nju card so I did that.

Now here is a cards configuration:

The card in slot 1 is orange card and is pin locked, card in slot 2 is nju card and is now also pin locked.

After boot I enter pin for orange card and it has data/calls/sms assigned to it, after that nju card is unlocked and data is reassigned to it and everything works fine.

To check if all works fine I changed calls/sms to nju and rebooted and..... unfortunately nju settings did not stick, after boot calls and sms are set for orange and data is set for nju.

While I like this setting it shows that something is wrong with remembering configuration.

Now I changed card places and so nju card was in slot 1 and orange card in slot 2 and ended with reversed situation: data was set for orange and calls/sms for nju.

It seems that the system ignores entered settings and sets data/call/sms depending on card slot order and unlock order.

This has nothing to do with cards themselves as in MIUI my settings stick regardless of pin or card order.

Oh, and the same happens on standard kernel and on Nebula kernel that I use, checked it to make sure.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Great report.

Confirms my thinking for Lineage as still in beta... lot of bugs in the code. Unfortunately these things are hard to fix without testing on site so I can't do much.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] mat9v:
Try to get some cheap secondary card, paycard or something and you can test that yourself :)
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Skalexs:
So far:

In helium: Coming from 01-11-17

Factory reset:

-lineage-14.1-20170113-UNOFFICIAL-hydrogen.zip + lineage-vendor_update-HELIUM_GPS-MDG-7.1.12.zip = No SIM working, even after soft restart

-lineage-14.1-20170113-UNOFFICIAL-hydrogen.zip + firmware-HELIUM_MDG-7.1.5.zip = No SIM working, even after soft restart

-lineage-14.1-20170113-UNOFFICIAL-hydrogen.zip + firmware-HELIUM_7.0-MCh-6.12.29.zip = No SIM working, even after soft restart

lineage-14.1-20170113-UNOFFICIAL-hydrogen.zip + notingh else = No SIM working, even after soft restart

Full wipe (all internal storage)

-lineage-14.1-20170113-UNOFFICIAL-hydrogen.zip + lineage-vendor_update-HELIUM_GPS-MDG-7.1.12.zip = It detects two SIMs, but i just have one. I have to change the default SIM to second one, and i get data working for a while, then i lost it sometimes. It seems unestable. then, i install GAPPS with aroma installer and lost forever the SIM :S

-lineage-14.1-20170113-UNOFFICIAL-hydrogen.zip + lineage-vendor_update-HELIUM_GPS-MDG-7.1.12.zip = It detects two SIMs, but i just have one. I have to change the default SIM to second one, and i get data working for a while, then i lost it sometimes. It seems unestable. then, i install GAPPS stock. SIM get working, then it lost signal. It gets only LTE, but here i used to have just H+ for the bad signal. I think there is the problem, LTE or nothing, but it also lost call signal

So, i've restored my backup of 01-11-2017 with GPS fix applied, because it works perfect.

Its a Test build, so, i'll be waiting for future relases and try it again.

Could any other helium user tell if they have any problem?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] tombassi:
[MENTION=6849746]Skalexs[/MENTION] this ROM is working good in my helium, for me it's the best regarding data connection since first build up to last build never had problems with data, this ROM is bug free for me
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] redmkiv:
Helium 4/128 works both sim cards with no problems

Sim1 only for GSM

Sim2 GSM/LTE Data

Data works fine, after flash 1 softreboot is required.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] mat9v:
I forgot to add that 7.1.12 firmware breaks LTE for some European bands on Helium - it was that way on MIUI and is the same on LineageOS. Flashing back to 7.1.5 based firmware fixes the problem. And soft reboot, yes :)
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] zmajdk:
Can someone please provide step by step instructions, how to flash this build.

Mi Max Hydrogen

I am on latest miui stable 8.1.6.0.

Bootloader is officially unlocked.

-Do I need custom recovery TWRP or can I just use Updater from existing/current miui ROM?

-Is bootloader gonna be locked again after flashing this ROM?

Thanks
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] man2106:
hi nigel8 just to check cos you are one of the beta tester for harfix4 kernel can i use that for this rom and is it advisable to flash it?thanks.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
It's 3 seconds, something's wrong with your setup...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] azizak:
For battery performance, would it be better when hotplug cores on or would it be better when it is off? I'm in 3/64 helium now.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] noah110112:
It would be better when it's turned on!
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] whitelub:
Fixed. After diggin' deep, it was cause by an app "Should I Answer?". Granting it acess to acessibility services caused this issue.

I've been googling about this and there are several cases where granting this request for certain apps, can cause this particular volume slider behaviour.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] www_123:
find a bug.may be belong to system.

i set block certain sms ,but my bluetooth watch can receive it.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] obermotz:
Is there a way to disable the power-off menu while the phone is locked? I accidentally rebooted the phone several times while I held my phone in my hand locked and it's pretty annoying.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] HannibalLecter:
no buddy. nothing you said was offending to anyone.

it was a healthy discussion just meant to uncover how are things different in LOS and miui.

Nobody here rates miui better than LOS for MANY MANY reasons that are too obvious to even discuss. :P

but if somethng appears to wrk better there, we can surely discuss that to know more about it.

All is well :P
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
Knock it off already!

Or discuss it privately.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] azizak:
which V4A version is compatible for 09-16 Last version?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Neil.gwx:
Hello, may I ask if anyone know how to enable the buttons backlight?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] noah110112:
Are you kidding?

Go to settings than Button and Turn on the Backlight...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Neil.gwx:
Yeah, bro, I know this. But I am sure I turn it on , the backlight still can't use. Thank you for your reply.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] improfessional:
spell checker

i dont know what went wrong

but after 16/9 update , even when spell checker and auto replace options (in phsical keyboard settings) are disabled, it keeps on correcting typos......
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] k4rn8g3:
Clear data of aosp keyboard and try again ...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] improfessional:
Auto replace

Thx for your reply......

i just found out that i was going in the wrong settings ie should change settings in virtual keyboard instead of physical keyboard.

Regards
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] T.kum1993:
I've been having a problem since a long time, idk if it's rom related or firmware but data connection halts frequently for a while on this rom I thought may be its carrier related but today I tried miui and there was no such problem
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] HannibalLecter:
Gimme that sweet biscuit.

pls :P [MENTION=4399618]nijel8[/MENTION]

Davehimself is going too. OMS gone too :P

Robin has gone. Now, it's all upto The Batman. :P
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Jerry08:
It happens when you have turned on core_ctl and even more frequently with small cluster core_ctl turned on. Old thing, just turn off core_ctl and it should be OK.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] T.kum1993:
But I'm using Zola III'S script which helps me achieve 11-12 hours sot and turning off core_ctl would mean saying bye bye to that right?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Jerry08:
Well mostly likely yes, cause of that internet bug i stopped using core_ctl. One thing u could try is to modify script and turn on all small cores so it will happen less frequent.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
Will try to patch it on RT, migration rules, softirq... Also changing hotplug rules. This ain't directly hotplug related.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Jerry08:
Your probably right but turning off hotplug is the only way to fix it as for now. I would love to set 2+2 again if it was fixed.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] oatcooky:
I've switched to the official RR which is based on nijel8's Lineage but without core_ctl. I'm getting 10-11 hours SOT (8-9% battery per hour active) using Zola's slower CPU settings so it's not a big drop. No issues with data drops either.

I've got Bluetooth and LTE always on with data 50/50 on WiFi vs 3G/LTE. The biggest power drain still comes from the screen, especially if you have auto brightness on and you're outside most of the time. I'd forget about core_ctl and just use slightly slower CPU settings.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] micko_servo:
Thanks for a great ROM. Have had it a week now, and it runs great. This maybe a Dumb Question, but is this ROM still being Maintained?

Thanks again.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] paarkhi:
Yes, this is very much an actively maintained ROM...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
I will pretend you didn't ask that question...

Wondering how do you decide what to flash without reading at least first post!? For any rom in that matter...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Tysovwik:
Nijel8, did you wipe system while dirty flashed new version of your ROM and gapps ? I listened, that wipe system could help to update gapps properly.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Wiping system is not needed. If you do then you have to flash gapps after rom update.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
It's called flashoholic & it's a disease as any other...

Did I sent you a private with bunch URL's for commits two days ago? Yust checking...

---------- Post added at 02:39 PM ---------- Previous post was at 02:33 PM ----------

Those are intended to go with IO is busy signaling (accounted in calculation) without it CPU load values are to high and there for more performance limiting than intended.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
[MENTION=4232632]Zola III[/MENTION]

Yes, you did. But it seems that commit is the base for following changes but I couldn't find anything else related in that repo. Is that right?

Also it's suspend(to RAM!?) related... Forgive my ignorance but is it going to affect Android at all?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] xbzzhc:
because the god damn GFW,i can't even Activate the system，it stuck me in the first st

because the god damn GFW,i can't even Activate the system，it stuck me in the first step,and i can't find a skip!i couldn't connect google and foreign website until i install the VPN, but i can't come in!
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] k4rn8g3:
Can i get that script plz ???
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
Nope, it's old just apply the interactive governor part from it. You can find it on the beginning (third post) of performance power optimisations thread...

---------- Post added at 06:31 PM ---------- Previous post was at 06:00 PM ----------

I don't think it is only suspend to RAM as it's applied trogh CPU0 (as the flag) and I think it sticks to all suspend types all do I am not certain that anything below suspended will call it. Their is an explanation of the first user which is ko module in the description...

This one is also interesting:

https://github.com/AOSPA/android_ke...mmit/210a76386cf6a0528d92c6519581afd429bb4ad8

Actuality there are more off interesting one's so as I wrote: RT, hotplug, softirq related it's almost serial & on the same page. I forgot to mention also sched related but I believe it screams related by its self. I hope it only fits in as this is from AOSP (surprisingly enough). The other one regarding build optimisations is covering pretty much all in the S410/S810 to S830 time frame for now until the newer tool chain (compilers) are used where A72 specific optimizations exists but as you know we me by don't see that never. Important part is the A53 erratum check more on A53 signature as we really don't want them force applied nor at all if v2 rev of A53 is used. Both erratums actually do a complete wipes of the L2 caches on every wake-up/execution call which is performance diminishing along it can brick lot's of things (with hotplug for instance). More than that you will find out when you apply those changes not that their are bad documented nor a third party distant one's as it is.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] tangkije:
Is qc_patch-1 supposed to fix "charging slowly", because I flashed that, but my device still showing "charging slowly" when charging using standard charger and cable.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] paarkhi:
You need QC3 or at least QC2 charger to see the charging difference, In Standard charger it'll be the same speed. QC patch is for the people who are using fast charger but the phone was not taking advantage of it.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] tangkije:
Oh.... So is there any patch or fix to "charging slowly" problem? Cause I noticed that this rom charge the device slower than miui.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] pifupifu:
To bypass setting wizard, try tap screen on four corners clockwise. Or do not flash gapps.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] k4rn8g3:
Or remove setupwizard apk from system using twrp and reboot with factory reset..
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] xbzzhc:
thanks

thank you so much buddy! it really helps me!
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] k4rn8g3:
Waiting for september security patch

For fix blueborne vulnerability..
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] opus7:
Fast and stable data internet

Deat, Nijel.

I use this custom firmware. I moved from Russia to US recently.

Do I need to install new modem or something special to improve speed and quality of data connection on my Mi Max in US?

Thanks a lot for everything.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] BenG7:
Hi

Correct me if I'm wrong but I think you will be ok with falshing the latest firmware as detailled in the first post
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
+1...

No need, but I personally always flash matching firmware from first post.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Updated...

If using hotplug(core_ctl) - feedback for improved(or worst) overall performance/power saving is really appreciated...

If not... use it. Should bring hotplugging + Real Time tasks handling/power saving improvements...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] T.kum1993:
After updating, last three cores aren't coming online
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] facepainter:
I think they're meant to be offline until there's work to do, at least that's how the default hot plug config works on mine.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] T.kum1993:
It wasn't the case before, as you can see the current online cores are already under lot of stress still other cores aren't triggered then there must be something wrong. Also I always replace the default cpu.config with Zola's and when I did there's only one big core online but before there were atleast 2 big core online always
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] facepainter:
OK well the default hot plug config is 4 little cores + 1 big core online, did it work properly before you tried to change it?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] T.kum1993:
Yes it was working. But my issue is with 6 and 7 core not firing up

---------- Post added at 11:39 AM ---------- Previous post was at 11:29 AM ----------

After turning off Hot_plug
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] facepainter:
Anyway I've been using the default hot plug config for the last 2 weeks (4+1) and I haven't noticed any increased power usage, my best guess would be its using less power with hot plug enabled.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Restart and right away take a screenshot while android is still loading. Should show all cores online...

Point me to the script you are using and how you install it. Sure it's installed and running? What file/settings you see when you tap on Edit CPU configuration in Battery settings?

Your screenshots looks 4+1 working properly with one big core barely loaded... no need for more to come online.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
Try with some synthetic workload (aka MP benchmark), restart & use app tune or profiler from QC for measurement.

Thanks in advance...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] T.kum1993:
Now I restored my backup but I checked when I was running antutu benchmark and in latest build still only 6 cores online score was 65k something, turning off hotplug should fire up all the cores, right? But it didn't and the script I was using is in the attachment. http://cloud.tapatalk.com/s/59d111d85f723/cpu.conf
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Yeah, definitely something is wrong with kernel... Investigating...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
This is to close each other:

write /proc/sys/kernel/sched_upmigrate 87

write /proc/sys/kernel/sched_downmigrate 85

Packing is bad, along with what is set to be used as idle frequency (no packing all cores on all the time settings) I told about million times how those interactive governor settings are ment to be used with IO is busy signaling (accounted in) enabled & recommend it on the boot sides CPU/IO governor. If you want to use them with out IO is busy load value should be lower (some 4~5%).

Will send you a HPM sched setting's private.

Reason why cpuctrl misbehave isn't in a script.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
IMPORTANT:

The latest v3.10.107 kernel is acting weird regarding CPU hotplugging, load and frequencies scalling so flash this 3.10.105 RT optimized kernel with current 09-30-2017 build. It's good for both hydrogen and helium:

kernel_RT-105.zip

Sorry about the trouble and thank you [MENTION=6636248]T.kum1993[/MENTION] for catching the issue! :good:
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] BenG7:
Hi

just upgraded to the latest update

LineageOS version still reported as 20170916.... or did i mess?

thanks
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Should be 20170930...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] BenG7:
I messed: I probably picked the previous version

sorted now, flashed 20170930 + kernel_RT-105.zip + firmware + supersu

should be ok

will report if any issue

Thanks A LOT nijel8!
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] sameermehta1977:
new update,missed it,will download it now,have been using los15 on kenzo so was busy on kenzo forums :)
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
I am beginning to feel somehow invisible... Will take a look tomorrow again at 07 to try to found out what is causing the issue... Will be a long day as I sow only bunch of usual stuff today & most of it doesn't even applied to this platform at all. & who knows me by someone sees me tomorrow...