yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Ok, reading feedback here and 4PDA I am taking down the new build. Too many weird things happening, apparently I broke more than I can tolerate this time...

See you guys in 2 weeks... :(
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] dj69holland:
i did an entire clean flash yesterday (everything including internal storage),

enabled core_ctl and then flashed Zola's 2+2 setting.

last night had 1% drop during 8hrs sleep.

then from fully charged, went all day using my phone and battery is now only at 85%. (only 15% drop with moderate usage in 12hrs)

but funny thing is that the 'Idle time' in Battery settings is the same amount of time since unplug which is false.

Workaround for doubleTapToSleep screen issue, was to instead set home button to doubleTapToSleep, works fine for now until next update.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] eseregin:
Everything will be fine :) thanks for this ROM, and take your time :)
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] faorekh:
Substratum works partly. The themes GraceUX Dark and Swift Dark works at least.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] oatcooky:
What else is broken other than these issues?

- double tap doesn't work on status bar and in most apps

- root problems for some apps

I'm happy with this build, it's fast and gentle on battery life. No network issues on WiFi and cellular data either. I can't switch to TheStrix Lineage because it doesn't have multicast enabled even after all this time.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
That's probably it... Some users report background data usage from media storage, lineage updater etc. but I don't see it on my phone and it might be coming from some change from Lineage, happens on all lineage based roms. So yeah, nothing critical, I am just disappointed b/c I was planing and researching these things for two weeks, spent 2 days building and testing and at the end I couldn't deliver... And can't do anything about it for another two weeks.:mad: Frustrated...

PS: and now my thanks limit for today hit me as well:(
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] paarry:
Hi guys. Whether this kernel is compatible with this ROM?

https://xdaforums.com/mi-max/development/kernel-accent-kernel-t3613940
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] oatcooky:
Going off on a big tangent but I'd like to thank nijel8 and all the devs and users who contributed to this ROM. Xiaomi probably made this device so cheap because they wanted it to be effectively disposable, chucked away after a year, but we're keeping it current and relevant by using and developing on an old device. The problem in the future may be Qualcomm and Xiaomi driver updates but that could be a year or two down the road. By using these old phones, we're keeping them out of landfills and away from irresponsible e-waste handlers who sacrifice workers' health for valuable metals on circuit boards.

Long may the good work continue.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] paarkhi:
You have fixed VoLTE before so probably you can do it again or atleast help in doing it again for Android 7.1.1.

Sir, Many among us requested Nijel8 to setup a donation account, so he just pointed out that it is set, Nijel8 has not asked for donations. No hard feelings towards anyone but just thought of clarifying because we don't want any Developer to get discouraged with this kind of post (already we have very few devs).

Thanks
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Andy4Shurr:
So does Nijel and he's turned down donation offers for months now (including from myself) but people are insistent and want to donate because they can see how much effort he's putting in so in the end it looks like he's accepted.

I agree in that people shouldn't be asking for donations, it's cheeky even if deserved, but that isn't the case here. I think your tone on the post came across quite negative and just stating you didn't read it correctly isn't the same as apologising for falsely accusing someone... Just saying that's why people are quick to correct you on it :)
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] TechExhibeo:
Why couldn't I see the Device Sources?

Or i am blind lol

Hope OP can put some light on it

-TechExhibeo
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] jutley:
I used micro SD and mounted in in TWRP then flashed ROM from there.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
Because he only mixed & compacted old and new properly binary blobs extracted from MiUI.

& that's it I had enough of this!
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Skalexs:
XD

You are so confused that it even hurts.

Just keep the thread clean, donate or dont donate, but please, do not disturb
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Rohan purohit:
Mixed old and new XD I hope you know what the vendor repo is , anything that is released on XDA should be open source.. .
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] eseregin:
We know it...

Though I did not get your point actually, all your post kind of mistery ..

Anyone can put info about donation I suppose, it is completely up to others to make it or not, and it is not about paying for fixing bugs, but this is to whom who just want to make developer little more happy with real life :)

Peace :)
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
I don't know from what planet did you land hire?

It's not vendor repo! It's property libraries from their vendors l in their binary form. Their is no single one device (from newer ones in the smartphone world) that is 100% open source based. You will get the libs in separate zip just like everyone else soon enough.

Whole Linux community is trying to change at least some aspects of this for instance that's why main focus is pushed towards creating fully functional open source GPU driver's in the last few years. Let me also remind you about some who couldn't take it any more:

http://www.phoronix.com/scan.php?page=news_item&px=MTQzMDc

So go ahead ask license owners to open it for you I am certain they will do it for you.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] oatcooky:
Sources would be nice but I understand if that's not his priority now. He and us fellow users just want the darn thing to work. But in the end, in the cooperative spirit of XDA and open source development, sources should be made available as far as possible. And Zola is right, so much of Android relies on proprietary vendor libraries anyway, we're lucky to get this far with Nougat because Qualcomm and Xiaomi compiled the required libs. I doubt Qualcomm will be so helpful when it comes to Android O or P.

Nijel8 also isn't as experienced a developer as other Mi Max ROM makers but he's doing his best, doing all this work for free while we get to enjoy the results. Shouldn't we be thankful for that? If some want to donate, why not?

I'm also an open source developer and I'm always appreciative of bug reports by users and improvements by other developers. Big egos and good software don't mix ;) Keep it up mate, you're doing a great job!
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] jutley:
Can we please stay on topic please.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nejcov:
thanks for your work!

I dirty flash lineage-14.1-20170111-UNOFFICIAL-hydrogen-nijel8.zip over lineage-14.1-20170107-UNOFFICIAL-hydrogen-nijel8.zip, and everything went smooth!

Just lost gapps and root, but after I flash those two, everything fine.

Oops, my PC still dont recognize phone for transfering files! Same in PTP mode. In Device manager is Mi Max with yellow mark and another one YunOS Phone.

Do I have to install any other drivers?

When in EDL mode I can handle phone.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
Well Nijel didn't compile anything he mixed libs from old M based sources with new ones. He there for can't provide them the links to vendor repos so that they can sync them he will upload the mix and they can use them as local source adjusting path manually.

Hypothetically probable regarding new GPS blob is that hardware abstraction layer changed (probably minor change) but we don't have hal nor know how to adjust it so that new blob can work. Nijel did menage to combine old lib so that all works now & it took lot of testing so he deserves all credit's for it!
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Andy4Shurr:
How is Vulkan API working on this ROM, can anyone share their experience? I've been holding out for xposed to move properly from marshmallow but with Nijel's GPS fix now sorted I'm tempted to give this a go and live without it for a while.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Skalexs:
WoW! Ive just flashed the helium firmware update and it solves 2 Bugs:

1-GPS bug

2- No data signal at first boot!!!!! Before I used to do a Soft Restart to get data working but now it works without doing anything!!! :good:
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] paarkhi:
No such problem with the current update nor with 7-Jan build, just checked again. I'm on win 10 x64
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] TechExhibeo:
I am was just looking for the device, kernel and kernel repos OP used to build LineageOS

-TechExhibeo
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] paarkhi:
[MENTION=4399618]nijel8[/MENTION], Audio is little soft for my taste and I want to boost the Audio, can you please guide what should I change in /system/etc/mixer_paths_wcd9326.xml or is there any other file?

Thanks
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
Well I do think he used old CM 14.1 official kernel repo as did everyone else including franken two that emerged last cuple of days so you culd probably combine cuple of things from there like alucord hot plug, deadline IO & cuple of fixes hire and there if you wish that is.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
You must be kidding me!? Taking that my post out of the context... Get the f@@k out of my thread and I don't wanna see you again ever!!!
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] HannibalLecter:
ummm. not exactly. Xiaomi didn't want it to be disposable. Very few people actually root their device and install a custom ROM. So, this community keeping the phones current is actually helping us few enthusiasts only.

and many are happy with miui. Plus xiaomi has made miui in such a way that they're able to support even 4-5 year old devices. probably even older.

It is cheap bcz xiaomi doesn't market their products and sells them online. Plus their business strategy is to build a strong rapport with customers by building cheap devices that everyone can afford and love so that gradually when they shift more of their focus to flagship devices, people buy them through their trust in Xiaomi.

This device is not flagship specced because it is more of an experiment really. 6.44 inch is not for 90% of the people. It is simply too big for most.

They wanted to see how it is received and had they put flagship specs, its cost would have gone up and those 10% also would have thought twice before purchasing it.

It is cheap, hence, we can afford to experiment (purchase) it and see whether we like it or not.

Nijel8 like us all here never complain about anything (ex. not great camera) on these cheap phones and we buy them without regret.

Thts exactly what Xiaomi wanted.

Had it been expensive people would have complained about everything wrong with this device.

as little as the balck borders around screen. People still did and xiaomi fixed it (to a large extent) with mi max 2.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
They didn't fix a sh** on Max 2. There is no black borders on it as it's covered with bazel's & it's not cheap by all means, overlay it's a big downgrade with higher price no matter that it comes with more capable camera & stereo speakers. You need to learn to understand some things Mi UI (which I hate) along with apps that go with it don't really count for real Android version updates & Xiaomi sucks at those. All in all Xiaomi made a budget killer last year the RN3 & this huge one that I still believe it's their all time most complete budget one (at least regarding my needs). In fact they did it so good that all sucessor models up to date are misses compared to those (which is problem for Xiaomi).
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] HannibalLecter:
you're right in saying the statement that they didn't fix **** on max2. but if you see closely they did reduce the black borders.

and yes the bezels are still huge. :P but that is to be expected out of a budget phone.

Although we would have so loved to see s8 like small bezels on max 2 :D That would have been amazing. But then that's only a child's prayer.

It would have increased the cost as it is a completely new way of manufacturing.

and of course, I know that with miui android version change doesn't really mean anything visually. Rather many of their apps still work like KK days. :P I have that about MIUI too.

True that they made a clear winner with max and RN3 and they stupidly put 625 instead of 660 at least.

In a way its good that max2 sucks. Less headache about buying that one LOL

But they're doing all of this to increase the revenue to expenditure ratio out of the manufacturing process for max and RN series. its just the way any business works.

They changed the game with Mi MIX but then it cost them and thats why it is extremely expenstive,

Few people bought it.

So, price is as important to companies as it is imp to the customers. Sad but true.

PS: Thank god for you, nijel, the strix and all other devs that max enjoys good custom ROMs.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] mat9v:
No, the bezels are not "still huge", they are much bigger to cover black borders of the screen. The camera is better, but it is maybe 30% less ****ty then the one on Mi Max (at night of course, day photo is acceptable).

Without SD660 Mi Max 2 is a miss, it is slower than Mi Max 1 and the battery life is not much better because the CPU is using less then 40% of power anyway, the rest is the screen which is not better in any way then the old one. I was really hoping for AMOLED but it was just a dream and if stupid Huawei were to release kernel/system sources for Honor Note 8 there would be a lot of people to jump there and make LAOS for it.

For now and I suppose for at least the next generation I will stick with Mi Max and Nijel8 rom (if I ever get substratum to work here).
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Arti42000:
Substratum is working! In RRO-mode, of course

But it works normally!!!
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] dj69holland:
were you able enable Androidsystem overlay, without getting any bootloops?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Arti42000:
Yep

Swift Black theme (or any other) is working flawlessly
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] HannibalLecter:
you made my day. :) the last time In tried to open substratum app it said something like the ROM doesn't have the necessary files or smthing. I don't remember exctly. probably masquerade was missing
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] sarthakwarlock:
I had bootloop after disabling theme.. My favourite is "GRVY "theme
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Iekuta:
Could you please provide me a link for Zola setting ? And where can i enable core_ctl ?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Do you mean "Phone idle"? What time do you expect?

Haven't looked at it in deep but my guess is that is the time when the phone was on since unpluged, not idle time per say. Turn it off for a few minutes and you'll see difference.

I'll see if I can confirm or not this in code.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] dj69holland:
yes i meant Phone Idle :p

at the time of my last post it was 12 hrs since unplug, i had used my phone for a few hours and expected phone idle to be less but not exactly time since unplug, since i used my phone quite abit in that period.

i will check its behaviour over time..but to be honest i really dont mind it, the performance and battery life is great for me on this build - even though you may see a few things out of place, you still do a good job. :good:

---------- Post added at 05:15 PM ---------- Previous post was at 05:12 PM ----------

look/read in the thread called Power/performance kernel tuning and tweaks

for enabling core_ctl...nijel8 had mentioned this a few posts back..
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] mat9v:
I even bought some nice themes on XEON rom, transparent (Bianluco Spadazzi) comes to first for me.

I will have to try again with this rom if they say it just works now. Before I got bootloops for a few releases and just gave up.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
[MENTION=4247780]dj69holland[/MENTION]

Yeah, Phone idle is confusing, like System idle in Windows putting 99% load on CPU... But I am pretty sure that's the time the phone is on and the battery it uses is 100% minus the sum of everything else... It's kinda gives you an idea of the power usage not specific to any app/process etc. You could call it really idle usage but phone always do something, even sleeping takes power to monitor all the things and make sure they sleep.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] whatsek:
For future reference if other users may experience the same, it is a bug that sometimes comes up after dirty flashing. The solution is to enable (and if not used, directly disable) accidental wake up. Go to:

1. Settings

2. Display

3. UNCHECK or CHECK "prevent accidental wake-up"

4. Check if the phone wakes up normally now
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] mat9v:
Ok, Substratum works perfectly well on latest version of this rom :)

For all those that once used my CPU config, here is my config for Nijel8 rom to replaced the one in /system/etc/cpu/cpu.conf

These are power saving settings with HiSpeed function disabled. Performance should be on par with default settings with battery life increase. These are the settings that grant me 16+ hours SOT with light use.

Attached is the config file as created by Nojel8 rom and modified by me - it is NOT a flashable zip.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] sarthakwarlock:
Transparent Theme Working for me
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
That bug is not my fault... I mean Substratum working... But I can fix it, just let me know...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] HannibalLecter:
make it work completely. :P

and the most imp word. Please :)
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] HannibalLecter:
[MENTION=4399618]nijel8[/MENTION] I think you like this. Can this be official? or linked on OP?
[MENTION=4232632]Zola III[/MENTION] your views on this please :)
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
You got me wrong... Ment fix it as I "fixed" double tat for Google apps, status bar etc... :)

And no, official is what LineageOS has, anybody can edit simple text file per [MENTION=2473722]mat9v[/MENTION] settings. Exposing those settings is the best I could do for the different needs/likings.

I gave up on making everybody happy, remember?

BTW my thanks doesn't mean I like it, but I appreciate sharing useful things. I have ran his settings before and they seemed lagging for my taste. Besides I don't care for battery life.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] HannibalLecter:
I thought you called substratum working a bug and you were going to fix it :P meaning stopping it from working when it is not intended :P

And yeah, official is good. :) exposing those settings is awesome enough. :)

I hate lag too. Love smoothness.

OT: I wish android could add nice app opening animations. I love the zooming animation on iOS. Yesterday I was updating meizu m2 note that I bought over a year ago for my dad, and the new flyme os 6 now has the same awesome app opening animation. looks really cool.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] facepainter:
anyone else having trouble enabling corectl? whenever i go to the battery saver and performance screen corectl is always disabled but then i click apply and it says it was already enabled? but looking in system monitor non of the cores are going offline. I tried uninstalling kernel auditor and disabling tasker but that does nothing. I checkeded in /sys/devices/system/cpu/cpu0/ and there's no corectl folder?

Actually i just remembered the first time i used it did work because the corectl tab showed up in kernel auditor, hasnt worked since then though even though i uninstalled kernel auditor
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] T.kum1993:
Did you flash any other kernel? This happened when I flashed Zola III's kernel after that I've never been able to turn on core_ctl

Mi max helium nigel8's LineageOS
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] facepainter:
Yeah I did flash Zola settings but they didn't work then I flashed the stock settings, think I'm retiring from messing with corectl
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Jerry08:
Don't flash any settings from my post in performance thread as it will mess up core_ctl module in latest bulid of nijel8 LOS.

Edit: Dirty flash latest bulid and it should fix core_ctl.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] dicxz80:
any chance to make this ROM based on Marshmallow :( I miss xposed
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
Well settings are the same o but now they need to go into the cpu.conf that is in etc folder... Flash the default power.config from the last build.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] n1tro:
Where do we download the ROM now since link has been taken down?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Sad, but don't think xposed will catch up with Android latest versions. So move on and make whatever you need it for work some other way. I did...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Yeah, guys, my kernel and boot image is getting pretty unique now. No others will work. If HarFix dev continue to follow my sorces then his update when comes out will work as well. But then he has to build two versions to keep it compatible with any other rom so he may decide to ditch me and go official... We'll see.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] man2106:
hi [MENTION=2473722]mat9v[/MENTION] can you make it into a flashable zip?tried your setting with init.d so far so good would be best if it is flashable thanks
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] www_123:
Your work is wonderful!

When I install supersu ,then all sensors is not work.is it a bug?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] dicxz80:
sad indeed :(

this is by far the best ROM with awesome kernel for battery optimization

the other option out there for marshmallow only RR 5.7.4 (but lack of kernel for battery optimization) and debloated Global MIUI Rom (MIUI enough said)
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Yep, been happening for centuries... Not sure but there was some old supersu beta working.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] www_123:
I think the flash firmware your give about MIUI is main incloud sensor drivers, isn't it?

---------- Post added at 05:36 AM ---------- Previous post was at 05:33 AM ----------

by the way .What is meaning of MGD
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
MGD - MIUI Global Dev

Drivers are in kernel, not in firmware.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Mabool:
Hi all.

I have a small question, this is the first time I will change the rom on this phone, and I would like to know where I can find a tutorial to install everything neatly.

Thank you in advance and thank you for this rom that I hate to install.

Have a nice day