yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] ioy:
And works excellent, installed, upgraded from previous version with many apps and complex configurations and settings.

And my update, installation method is:

- backup system, data, boot, with TWRP,

- TWRP Advanced Wipe: system, Dalvik, cache (data stays),

- install (flash) ROM zip,

- install (flash) firmware zip,

- install (flash) gapps,

- reboot into system.

In this way have updated Android system - and data, settings, configurations, installed apps with their settings etc still the same :)

HELIUM, LOCKED bootloader, [ROM][UNOFFICIAL][7.1.2][HYDROGEN/HELIUM]LineageOS 14.1 r.05-14-2017 by*nijel8
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
1st boot dalvik gets updated with the changed code even if you did not wipe it so yeah... takes longer.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] SakitJiwa:
I only wipe dalvik and cache

just update to your latest recovery

works great in my helium :good:
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Tysovwik:
So, for hydrogen now only two little core + 1 big core always online at 400 MHz Freq, right ? It's bit laggy ui compare to previous build.

How much profit of additional screen on time?)

Btw, changed back min Freq little to 691 and big to 883 MHz, now a bit smoother ui :)
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
Well if you count in how with that setting it will spend most of the time on idle 400MHz frequency it is rather beneficial to SOT. How much? I don't know you tell me. I wouldn't at least change the frequency for big cores if I whose you.

I am not really satisfied with a load distribution & second big core look like it's not kicking in on time. Two little ones seam to be optimal but I still think same goes for a big one's. [MENTION=4399618]nijel8[/MENTION] it's time to add Linaro's efficient work queues.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Tysovwik:
Will try your setup, 691 mhz for little and 400 mhz for big.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] SakitJiwa:
just quick question

is it safe to remove root using official addonsu-remove-arm64-signed.zip

then using magisk to get root?

my mobile banking app not run if the device rooted

anyone try it?

[MENTION=4399618]nijel8[/MENTION] great rom :good:
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
I have ran this config for 2 weeks and haven't notice any lags. But my usage day-to-day pattern is simple so that's might be it...

You know I am very sensitive to lags... changing configs back and forth before few times already.

I wonder why most of the Lineage device maintainers are ditching core_ctr and going full run all cores full time!?:confused: There must be something...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] gothic84:
I got unstable network on sim 1 with LTE connection.

did anyone having the same issues?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] lostreal:
When using miui, there were two different imei numbers, lineageos showing the same imei in two simkart sockets. In this case i can not use two different sim cards. This is not legal in the country we are in. They add the cloned imei numbers to the black list and in this case we can not get any signals. What should i do? [MENTION=4399618]nijel8[/MENTION]

Firmware 7.5.11-Helium

https://drive.google.com/file/d/0B4sDVH-eHK3jNlYwZVI1Mm1sT0U/view?usp=drivesdk

https://drive.google.com/file/d/0B4sDVH-eHK3jQm80WnZBdnB2TlU/view?usp=drivesdk
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] FutureGamerz:
I just flash over. Never do the unroot step.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] andjohn:
Working perfectly over here, no slowdown noticed at all and I normally have 80 tabs or so open in the browser. Well done! I'm looking forward​ to seeing the battery life and signal improvements. Thanks OP!
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
I don't know, blame Google, I have tried many things but there is no reliable way to get correct IMEI with multisim configuration. Sometimes works most of the time doesn't. Just look in PhoneFactory.java how how f@cked up the whole thing is.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] jpph:
strange, I have 2 different emei on mine. I have also helium and same baseband as you. can you try reboot your phone (mine had baseband disappearing after first reboot after flashing)
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] FutureGamerz:
Am more keen to know whether my WiFi EAP-SIM will be working properly. Wait till I get to the mall I give it another try.

Story: my local telco offers free access to wifi network that verifies identity with EAP-SIM protocol. It used to work on default MIUI but didn't work since day 1 on Lineage. Will show authentication error. Unsure which part is not working out let's try again.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] lostreal:
Interesting, i have been using the official lineageos ( [MENTION=5857684]TheStrix[/MENTION] ) version for my kate (Redmi Note 3 SE) device for a very long time. I have never encountered a problem like this. Thanks anyway... [MENTION=4399618]nijel8[/MENTION]

I restarted it, the problem is the same.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Try SOFT restart. I have noticed IMEIs per slot working in my tests.

How is the official Lineage in that matter on Mi Max?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] xgjhlws:
I notice that the download link is linking to androidfilehost, not google drive . Thank you very much. Because google drive is very slow in my country.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] lostreal:
Soft restart worked, thank you! But do i have to soft restart after every reboot? and i don't know what is the matter official lineage os on Mi Max, i guess the reason i wrote this because that you told me to blame the Google Uncle :)
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] jpph:
sounds like the bug we had early on this rom? I remember having to soft restart every time on first releases to have LTE working (not a big deal in fact)
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Unfortunately yes till I figure it out. Soft restart doesn't restart hardware so it's ready. Cold boot restarts hardware and I guess sims are not ready when IMEI requests comes

You can also try deleting ./system/framework/qti-telephony-common.jar and hard restart see if works. Make system backup first. I think that is what introduces hard delay.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Anybody quick charging? Tell me you get pulsing led...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] jpph:
yes I get pulsing led.

but I think I will rollback to previous version. I have the LTE network that goes to a halt every some time. I loose network during call...

edit; reverted back to 0429 with previous firmware, I have also no network during call, didn't notice it before...

but my LTE is much stable, doesn't halt time to time.

---------- Post added at 10:32 PM ---------- Previous post was at 10:01 PM ----------

but alors you are French! :) I have freemobile also and eap sim is quite useless, the speed is very poor on freewifi...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Skalexs:
Yes, it works
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] HannibalLecter:
[MENTION=4399618]nijel8[/MENTION] I found a bug. Live Display does not work.

I have set it to Automatic and it does not turn to Night mode automatically. I mean the coor temp does not become warm as it should. Note to everyone else: pls dont ask me silly ques if I have set values proper enough to notice the diff.

When I set it specifically to Night mode, it works and the color temp is that which I have set to Night temp.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Skalexs:
Have you set values proper enough to notice the diff?

It works here
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] FutureGamerz:
Am in Singapore. The WiFi is pretty useful. Doesn't count towards the data bundle. Can get smooth 1080p youtube stream and it's free.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] HannibalLecter:
yes of course. :P I have set the proper values. Doesn't work at my end.

Too bad there is no custom schedule so that I would have checked better.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] jpph:
ah OK, sorry then. here in France we have 100GB data bundle so we do not care about eap sim...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Haven't checked what is the logic but it works for me turning night mode every night between 9:05pm and 9:08pm... Maybe it gets some data for sunset and it can't for your region!?

GPS system has sunset data. Don't know about GLONASS and BeiDou.

Edit: 9:03pm here and it just switched on night mode
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] oatcooky:
I can't seem to flash this update, it keeps failing with an Update Error 7 message about incompatible package. I have a Hydrogen and I downloaded the Hydrogen archive. I'm currently on the latest TheStrix Lineage.

I tried wiping caches and system, flashing the 7.5.11 firmware but nothing worked. I didn't try wiping data though.

Is it this line in updater-script that causes the error?

run_program("/tmp/install/bin/otasigcheck.sh") != "31744" || abort("Can't install this package on top of incompatible data. Please try another package or run a factory reset");
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] lostreal:
Try this https://xdaforums.com/mi-max/development/recovery-twrp-3-0-2-2-hydrogen-helium-t3512981

Make a full wipe and factory reset
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] T.kum1993:
I think ambient display is broken, cause whenever a notification arrives the screen lights up but when i click on it, the screen turns black though it's still on.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] oatcooky:
Thanks but I'd rather not reinstall my apps again. I'll try removing that line from updater-script, hope it works.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] kevinpunk:
Anyone know a fix for the wifi issue?

Wifi stops working after. While and same goes for hotspot ... It just dont work and the only fix is to restart the device... :/
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Perendreu:
This rom is perfect. Smooth,stable and fast, but Instagram doesn't work for me.

Any solution? Thanks and sorry for my bad english.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] ioy:
And how long is it supposed to fully charge with quick charge?

HELIUM, LOCKED bootloader, [ROM][UNOFFICIAL][7.1.2][HYDROGEN/HELIUM]LineageOS 14.1 r.05-14-2017 by*nijel8
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Never used it. What is supposed to happen? Does it work without lockscreen?

Did you have that happening on previous build?

Don't know, don't have QC charger hence my question...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] HannibalLecter:
working great for me

---------- Post added at 11:44 PM ---------- Previous post was at 11:43 PM ----------

strange I didnt notice this issue. Do you use Bluetooth headphones or anything?

The only reason wifi may stop is when using bluetooth devices cz their frequencies interfere.

---------- Post added at 11:46 PM ---------- Previous post was at 11:44 PM ----------

Buddy I confirm the issue. The Live Display does NOT work for me.

It does not turn on automatically. :(

EDIT: I just toggled the 24 hour format for time and the NIGHT mode KICKED in. :) :) :) :)

Def some little quirk in the logic.

Would be nice if you can check it out. :) [MENTION=4399618]nijel8[/MENTION]
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
It always whose buggy, try re applying settings and locking/unlocking screen.

Just wipe the cache for app.

Guys you really shouldn't post about Lineage ROM related internal stuck problems hire. Report similar bugs to Lineage community (not that Dan will care much anyway...).
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] kevinpunk:
Yup, my wifi only works perfect in aosp based roms, i tried moving to lineage os 3-4 times and always

Wifi stops working after a while and i had fo restart the device...

I read the same bug is annoying some people in official lineage os as well, read there comments and they are facing the same issue... :/

Loved your​ rom bythe way :)
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] HannibalLecter:
clearly Nijel's ROM is the smoothest ROM on mi mAX. Even smoother than RR.

I cannot understand why somebody just taken this ROM as base and add Substratum to it.

Can do without all the other boatload of features.

God knows when will lineage OS add substratum support. They surely cannot build their own theme engine.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] valerio.tosti:
I have too connections problems in with wifi 3g and lte With the lastest version.

Tried with dirty flash and clean flash.

On both connection problems.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
My time is AM/PM format so apparently that's not the issue. But simply switching some related setting on and off often fixes glitches as we all know. So apparently nothing to fix. BTW LiveDisplay does require Location services ON to get location and sunrise/sunset data to work with...

Asked b/c I have disabled one wifi wakelock "feature" in latest build but apparently that's not the cause of your problem and I have no idea what might be...

Grow up... :)

I used to be into theming myself, couldn't stand anything but black... That was before material design. Since then stock android is perfect for me.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] T.kum1993:
Black and white screen is supposed to go colorful (normal).
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] HannibalLecter:
yes. I know location services are required. I have them on always. High accuracy.

And yes, I am beginning to grow up :P

Still I feel there are some themes such as GRVY and Coalfield that are better designed than stock android.

Also, FiraSans font is elegant and sexy. I can flash it on your ROM too so that's alright.

I do agree that Stock Android since Marshamallow has been quite nice.

Nougat's default Sunset wallpaper is also the most beautiful stock wallpaper ever.

Not sure why you dont have it as default in your build.

The current one is ..um not so smooth. Plus i hate material design wallpapers such as these with multiple colors separated through lines. Diff to explain but see the galasy s8 wallpaper default makes it look somuch better than LG g6.

LG g6 default wallpaper is hideous. That dotted matt effect just destroys how good the screen quality actually is.

Okay enough general talk :)
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] jpph:
what I did is clean flash 0429 with firmware 7.4.27 : everything was ok

dirty flashed over it with 0514 and firmware 7.5.11 : LTE and 3g freezing regularly.

flashed back firmware 7.4.27: still issues

dirty flashed back 0429: everything is fine

(helium 128gb)
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] troyinjapan:
I use a couple World Clock widgets on my home screen to update two different countries. I also use a live wallpaper because I like it and the Mi Max has battery life to spare!

Minor Problem: With Xiaomi.EU rom, I had the same set-up, but the widgets would often stop updating in real time, usually while in my pocket and when I go to check my phone, I had to touch the widget to get it to update. When I switched to LineageOS, that problem went away! Until this latest update. I've found the updating to the widgets sometimes NOT updating. I didn't notice this with previous builds.

Other than that issue, this 05-14-2017 update has been really good/smooth on my 3/64gb helium phone.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] azizak:
thanks for 20170514 version on helium. it's battery life is amazing. and smooth rom.

Mi Max cihazımdan Tapatalk kullanılarak gönderildi
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
[MENTION=4400802]jpph[/MENTION]

I really have no idea, try 7.4.27 firmware with 5-14 build. Something significant must've changed in 7.5.11 miui making Xiaomi ship firmware with recovery ROM image. Never seen it before. I was always extracting previous firmwares from fastboot images. Next time I will build latest Lineage with 7.4.27 blobs just for you to confirm this is the case... I am very curious about this...

If you could take some radio logs when network freezes that might help...

[MENTION=5660076]troyinjapan[/MENTION]

Disable battery optimization for those widgets and see if this helps. I had same problem K-9 email app not automatically syncing until disabling battery optimization.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] jpph:
yes before flashing back 04-29, I had 5-14 with 7.4.27 and it was same issue as 5-14 with 7.5.11...

I am happy with 4-29, I will wait for your next release
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Guys, if anyone gets anything appear in Battery Usage Alerts please let me know. Still not sure if it works. I have one pretty hungry app I need running which consumes 15% of my battery on every charge and yet to see anything in that screen. But who knows how this new thing abnormal power usage algorithm works!?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
OK... I have tested it and it works exactly as you describe it. No problems here... Tap once - colorful, tap notification and it asks to unlock device and then opens the app. Didn't test all those extra features like pick up, wave etc but I suppose they should work as well.

Nice feature btw, unfortunately I don't lock my device so can't use it. I used to have something similar with Tasker profile setup to wake up screen and expand the status bar so I can read messages, emails etc without touching the phone while driving. After preset time 10-15 sec if I don't touch the screen it goes back to sleep, if I touch it all is like normal... I have to see if I can build something similar into my builds...

Anyway... like I have said it before I must be one lucky bastard not having any bugs on my device... Everything just works... Must be because I do build this ROM for myself and it just happens to share it with you, guys...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] ljhsquall:
Wifi seems to stall every few mins here and there? Especially noticeable if playing a online game like Mobile Legend. If I did a ping, will get over 2000ms every few mins too.

Is there anyway to fixed this?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Read last paragraph of my last post above yours...

...

I cannot help without logs, dmesg etc showing the issue. Sorry...

At this point seems to me all bugs reported are related to your very particular setup/region/network etc. I am not denying they exist, I just can't do anything without debugging it.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] facepainter:
Yeah my wifi tethering still isn't working, i didn't wipe my data partition before i flashed so i guess that was the problem, im happy to reflash wiping my data partition but then tethering only works for a small while before stopping. Where are these logs you need located? i could post some. i tried changing my region in wifi settings but thats not it.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
To all with wifi, 3G, LTE whatever data problems...

Install some kernel app and set all cpu cores online by setting min cpus equal to max cpus for core_ctl. Does it help with your problem?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] facepainter:
To those with wifi problems i had the same until i checked my /etc/wifi/WCNSS_qcom_cfg.ini and realised my settings had been reset. I disabled autotxpower control, uncommented the gtxpowercap setting and changed it to 15, dont think 15 or 25 makes much diff anyway and i also disabled dualband on 2.4ghz cause thats always been a networking bloodbath, and changed genablephyagclisten to 7. I guess one of those settings fixed my wifi problems, prbably disabling dualband on 2.4ghz.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Arti42000:
[MENTION=4399618]nijel8[/MENTION]

Battery usage alerts seems to be not working, I've never seen any notifications from it and there is nothing in this thing's menu

Also: Hearthstone became much more laggy with this build, will try to turn all cores
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
As much as I can see that game is horrible optimised & their are much complaints about lags and freezes even on much better hardware. Anyway would be good to hear what is the experience playing more mature extensive 3D titles.

---------- Post added at 09:51 AM ---------- Previous post was at 09:02 AM ----------

Their is lot of similar & various (losing signal, disconnecting, losing, ping pong, losing Volte and other abnormalities) problems related with last distributed cellular radio blobs in MiUI for various QC bord powerd phones. Good luck with catching logcat's hire. Somehow I think using dream catcher would be more effective hire then explaining ladie's and gent's how it's impossible to do anything without logcat's.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] ljhsquall:
I use kernal aduitor can set both Big CPU online but the small CPU always only 2 want to be online.

Anyway, I installed catlog on my phone, how can I capture the useful log that is required? Like Log level at Verbose and record?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] facepainter:
/sys/devices/cpu/cpu0/core_ctl/min_cpus change it to 4
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] ljhsquall:
Kernel adiutor don't have this option. I tried a root manager but after cpu/ there is no cpu0 so I am stuck.

I added a log recorded from catlog app. During this time i run constant ping to my router. Not sure if make any sense but I hope too.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
In terminal emulator or adb shell:

su
echo "4" > /sys/devices/system/cpu/cpu0/core_ctl
echo "2" > /sys/devices/system/cpu/cpu4/core_ctl

Change last line 2 to 4 on cpu4 for helium. Hit ENTER after each line. No reboot required...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
No need for doing anything with big (line 2) cluster whatsoever. What we do need are logcat's.

https://xdaforums.com/showpost.php?p=39014217&postcount=1
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Monsuta:
The correct path is

/sys/devices/system/cpu/cpu0/core_ctl
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Fixed:good:

Just making sure it's not cpu_ctl related... And I remember you mentioned offline big cores doesn't always kick off on time.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
It is hotplug related but indirectly... & apparently only in some cases (which I don't understand).

I don't think you will ever catch in the wild that the IRQ is migrated to the big cores (all do it culd be between them but not as they are used now as a burst one's). Time for future deep diving (check your message's)...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
So basically this issue shows on this build with 2+1 config, but not on previous one with 4+1 config? Still waiting feedback from those affected after changing config to 4+2/4 if it helps.

What if we ditch MSM-irqbalance all together!? I have seen some devs do it for some devices...