yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] oatcooky:
I used the ERP TWRP method because my unlock request was rejected. What's weird is that I got the official unlock done for my old Redmi Note 3 Pro and I still had unlock permission for the Mi Max when it was on MIUI, but unlocking kept failing at the 50% mark.

Sbl1.mbn and emmc_appsboot.mbn are both bootloader files? Would it be safe to comment out both when using MiFlash? I just want the new baseband.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] mat9v:
Yes to the first, I'm not sure to the second. I think it would be safe to comment them out, the first is a bootloader file, but I do not know what the second one is for (Google search tells about unofficial unlocking of bootloader so it should be safe to comment it out, I think), be mindful to edit correct .bat file, the one you will actually use to flash in MiFlash.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Feenfleisch:
Happy New Year. Can ist install dirty the Rom on CM14.1 can ist use the Boot Image for Helium?

Gesendet von meinem Mi Max mit Tapatalk
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] RockstarTA:
I flashed the rom in Xiaomi Mi Max Prime with locked bootloader (i dont flash the miui beta with Android 7.0...), the rom its working fine except for the camcorder (its buggy), but i dont know if this problem its because the rom is running in Helium or because i dont flashed the beta, thanks for your work nijel8.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] The_wolf88:
I've tested this ROM, everything seems working including stock camera (CM Camera), both Photo and Video recording are working like a charm. No force close :)

I didn't flash MIUI beta ROM, I just extracted firmware files from MIUI beta ROM and flashed them in recovery. Everything seems working just fine :)

I just noticed some empty windows on initial setup menus, click on next worked and I managed to finish the initial setup.

Big thanks to nijel8, keep updating it :)

And happy new your to all,
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] eseregin:
I think nijel already has extracted all new blobs and put to this ROM :) so it should not be necessary to do it separate...

Flashing stock new beta might update firmware of some hardware phone components during first boot, so I think I will try to do it, it should in theory at least make ROM more stable...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
No tips... I am comlete noob whenit comes to locked bootloaders... Never had one...:D

Don't know and can't test. But probably not. Will try to fix it but not before fix what I can see.

You can try dirty flash as always first. There are some fixes in this rom boot.img but trying different one won't kill your phone. But you DO need to flash MIUI 6.12.29 first or video recording and probably something else will not work.

See above... You DO need to flash MIUI 6.12.29 first or video recording and probably something else will not work.

That is the right way to go...

You just made me realize there is no "firmware-update" folder in leaked MIUI 6.12.29 so no need to install it first on hydrogen!!! I just missed that part...

Soo... For hydrogen you need to flash MIUI 6.12.8 global dev and for helium MIUI 8.1.6 to get your device up to date... These roms are official so I will have firmware update only zips posted in a couple of minutes... hold on...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] The_wolf88:
Actually EDL images don't have a firmware-update folder like fastboot recovery ones, but they do have the firmware files.

I always do that, download the EDL images, and extract those files from it, put them in the ZIP flashable file I have and flash it when necessary. No need to flash the whole MIUI ROM just to update the firmware and it's working everytime. :)
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] aaryan45:
PM Me

PM Me...i know the method!
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Ranomez:
I am actually using Dolphin on this phone with 2x upscale and anti-aliasing and anisotropic filtering and still get good enough FPS in gamecube games, if I gave up on all those things I could probably get full speed or almost, will probably have to disable them for wii games but for now not interested much in any wii game.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
Well you have playability rating for almost every game on a PC along with a rig used for it. It's mostly enough to make you sober on what to expect on a mobile...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] iterva:
Been running the 01-07-17 version for a day now and so far i haven't run into a single issue. By now iv'e tried out most of the 7.x roms available and this is by far the smoothest/most stable for me.

Will report back with log if i run into any issues. Thank you for this [MENTION=4399618]nijel8[/MENTION]

Hydrogen
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] iJohnny:
I need revert back to 7.1.5 after few days with this ROM. The reason is my document scanning app can't focus on document code for scanning.

Poslano sa mog Mi Max koristeći Tapatalk
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Confirmed. Will see what I can do. I need it too.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] log30:
This rom have gps working, can you solve our gps problem?

https://xdaforums.com/showthread.php?t=3526087

Enviado desde mi Mi Max mediante Tapatalk
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
I don't have GPS problem... you do...:D

Done...!!!:cool:
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Familiaaa:
im a bit confused about installation process,if im wrong in something tell me.

1.- install the china dev miui 8 based in android 7.0 throught fastboot or EDL mode

2.- install TWRP 3.0.2.0 then supersu for root

3.- put the hydrogen rom,update and gapps in internal memory

4.- wipe all things but internal memory

5.- flash rom,flash update and then gapps

6.- rebooot

7.- patience

so im in the right way?

thanks for the rom btw nijel8 and sorry for my engrish.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Locked bootloader? If yes, yeah sounds about right but you don't need SuperSU. If no then read first post.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] dennis46419:
[MENTION=4399618]nijel8[/MENTION] thats a good news for a good day :)

what was the mistake?

im very happy how can i donate you a beer?!?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Familiaaa:
i have unlocked bootloader.

thanks for reply.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Update posted in OP. No more GPS problems...:good:

Just the right mix of blobs.

<<<Look left under my avatar for donate button and thanks in advance...:good:
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
​

OK, congratulations on mix. Pack the blobs as a zipp let's spread them.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Rohan purohit:
wow asking for donations , smooth.. so every bug u fix u expect to get paid ? I have fixed volte myself as well.. but we don't do this for donation !

Edit - Dint read the quote but refrain from such remarks
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Pratzgh1:
Has the build prop been edited to support Google assistant?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] tarkzim:
thanks for your hard work, maybe you can push the changes to your github to share your solutions if you want, cheers.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] dennis46419:
[MENTION=4399618]nijel8[/MENTION] [MENTION=5790433]Rohan purohit[/MENTION]

Donate is done :)

Nijel8 makes a good job and he help often people here and I use his TWRP and sometimes a ROM..

He didn't ask for my Money so why not spend a little bit? Now he can drink a six pack beer on my coast :)

Greetings from Germany
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
OK will be watching you & your franken just to see how will you turn down or redirect offered donations.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Rohan purohit:
I said I dint read the quote . And I don't need donations . I fix stuff cos I have the device
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
So do I & when people want to donate I redirect them to donate to the local community charity organisation of their respective own choice.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] bela5102673:
Can You give me link for good TWR recovery? Found
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] pepfapeste:
https://xdaforums.com/mi-max/development/recovery-twrp-3-0-2-2-hydrogen-helium-t3512981
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] man2106:
install the official twrp app from playstore the latest for our device hydrogen is 3.1.1
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] oatcooky:
With hotplug on and Zola settings I was getting 9-10% battery use per hour, on previous Lineage by you and TheStrix. Now with the latest patched ROM I'm getting 15%, a huge increase even though governor settings are similar.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Yeah... different experience on different setups. That's why I will leave it for user to decide to run it or not instead of removing it all together as official Lineage does. Freedom of choice.:good:
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] azizak:
[MENTION=4399618]nijel8[/MENTION] can u use aroma installer? for audiofx, adaway, kernel aduitor etc.

Mi Max cihazımdan Tapatalk kullanılarak gönderildi
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Monsuta:
How do I add battery bar & let the clock show seconds too?:confused:
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] sarthakwarlock:
10 hours of online streaming on WiFi.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] HannibalLecter:
so it will be off by default and a flashable patch to turn it on?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] pifupifu:
For seconds on status bar，u can find it at settings - Status bar - System icons - Time.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
It will be off by default, no need to flash anything, just set a prop in build.prop to 1 and reboot. That's all. And the config script is in /system/etc so you can tweak it as you like and not bother with kernel apps. I might move the whole qcom.power config in there for easy tweaking and keep everybody happy. :)
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] HannibalLecter:
that is A.M.A.Z.I.N.G. for all the tweakers out there.

I am more of a stock person. I like what you cook. :)

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

Great SOT test. But could you also post battery usage stats of a normal day usage when you go out to the world, work, use phone intermittently like a normal person which means it is idle for some time.

That battery test will be more realistic. That's how 99% of the users use their 'phone'.

A test like that is the real test. 10 hours of SOT is nice but it is worthless when compared to a normal day's use for a regular user who lives, uses phone, takes calls and lives again.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Skalexs:
That's my "real life" battery usage.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] HannibalLecter:
That's good. (Could you please convert the Language to English for the screenshots)

That is exactly how my stats are. Phone idle uses the most battery. [MENTION=4399618]nijel8[/MENTION] Can something be done about that?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] sarthakwarlock:
I don't use my device like a normal person. Unless I m traveling. :) when i m not travelling i m watching TV series.. Recently started to log my progress..
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] pifupifu:
With latest 20170514 build, GPS and Adaptive brightness on, no game, most of time on web browsing and about 30 minutes calling per day. Thank u [MENTION=4399618]nijel8[/MENTION].
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
You can turn it off... Phone I mean, not the idle...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Skalexs:
I cant stop laughing....
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Ooh... There's even solution for the idle part too... Keep the phone busy...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] FutureGamerz:
But seriously MI Max battery is really so huge that I don't really worry run out of juice at the end of the day provided that I don't game through my day of work.

Otherwise it's more than sufficient to keep lasting till end of the day with even quite some juice to spare for the bed time phone activities before sleep.

Don't understand why got to squeeze every bit out of the battery. It's not like the Galaxy Nexus era where the battery life is really subpar to everything.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] heyalfaq:
There is a lag of 2-3 sec (100%) when you press home button from any app even from app drawer.

From camera to home has the longest lag i guess. Almost 2sec.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] HannibalLecter:
LOL
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
That's not a lag per say, just system is waiting to see if it is doable tap. But yeah, it's annoying and I am looking where it is defined and reduce it a little without hurting functionality...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] heyalfaq:
And I am even unable to use the google assistance on tap of Home screen. It would just not respond anything. Even the feature of screen reading is also missing (on tap). It is just disabled.

Any fix Dev?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Yeah, clean flash again... Or check your gapps.

As it turns out almost every bug reported lately is not present on my setup so it's non-existent if I can't confirm it. Search Assistant is working fine here on whatever Home tab mode I set it up.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] heyalfaq:
Got the Google Assistant fixed.(was not assigned in apps setting). Now all cool & working fine.

And one major issue, I just can't find "Ola" app on the playstore after flashing this Rom.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] paradise-san:
[MENTION=4399618]nijel8[/MENTION] After installing your patch, some irritating microlags disappeared. I didn't notice any significant impact in battery life, even though I started using today a Mi Band 2 (Bluetooth always on). 25h of normal use (I never turn off Wi-Fi, mobile data and location), 4h40min of SOT, 51% battery remaining.

I noticed that the benchmark results went down, for what's worth. Real world usage is better.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] oatcooky:
For the home button tap lag, use only long press in the system settings, don't use double tap. If you enable double tap, the system waits for a second tap before acknowledging the first one, so there's a slight lag. It's been there since forever on CM and now Lineage.

Good battery life on this build, I'm getting 6-8% per hour in the day and 4-5% at night.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
I can tell you this for Antutu... I did some runs just from curiosity (not that I care). The patch has Zola III battery optimized governor settings and scores 83xxx. Stock LineageOS scores 85xxx, performance governor scores 87xxx. So for my next build I will stick to stock with a little tuning of idle frequency to 400 MHz instead of 691 MHz and it scores 849xx-851xx.

They all performe good in my tests with no lag but I will stick close to stock for one reason - every time I touch power config I get bad feedback from some users no matter what. So make good config for all and whoever wants something else towards battery or performance they can customize it.

Those microlags you mentioned are probably due to core_ctl which is disabled in the patch. I don't see any other explanation which confirms my decision to make it optional and off by default from now on.

Thanks for your feedback, and all others I received. They are really helpful! :good:
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
I personally have tried that it didn't seem to eliminate it which is definitely a bug in my book. But since I need my double tap action I will try to do something about that annoying delay. I am short on double tap actions for menu and back buttons actually...

4-5% at night?! Your phone must be doing something... I get 1% per hour and still thinking what the hell is that thing doing with all that energy while sleeping!? :)

Edit : Found where double tap timeout is set in framework and gonna play with it, maybe make it user adjustable in settings

https://github.com/LineageOS/androi...java/android/view/ViewConfiguration.java#L104

Wondering if stock launcher suffers from it too, I use Nova and its bad...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] oatcooky:
Nope, not 4-5% per hour idle, this is actual usage like reading ebooks at night in low light. Idle is 1% or less per hour.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Ok, you made me worry for a sec:)
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] pifupifu:
Approximate 29 hours idle has consummed 400mAh power(8%)，which means that idle consumes 8/29 ≈ 0.28% battery per hour?

It is very nice, isn't it?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
[MENTION=4399618]nijel8[/MENTION]

It looks like blocking QC IRQ balance on some IRQ's dose have a positive effect. To bad it only masks the real problem & it's not a particularly good workaround.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] pepfapeste:
Before patch, refer to my previous post:

After patch.

As I said before, I think it's smoother, but not lagfree.

I suppose that battery is also affected because I have installed more apps than in the other cicle. I don't know if would be great to use greenify...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
It's more of a solution than a workaround. We had to do it dispite that other spinlock issue. Not migrating IRQs for high latency sensitive processes

had be done anyway.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
Well its about as expected, some at least 15~20% less power efficient without hot plug and running wild. Regarding lag free I guess this is as much as you will get with this SoC (at least with current state of development). I still think that all around 2+2 is a best possible CPU config that can be done that you minimise possible lags (as after all every hot plug is 200 to 1000 times slower than frequently scaling) & besides it brings peace to all possible SMP, inter core communication & big-little thread migration.

Next step should certainly be introducing Linaro efficient work queues balancing for better task distribution (it hurts performance 2% & rase efficiency 7% usually). Among other things of course...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] obermotz:
This is off-topic, my only excuse that I did all of the following stuff preparing to upgrade my somewhat older LOS build by nijel8. So:

Hi guys, I have just flashed a new TWRP from the command line and wanted to boot to it with fastboot using "fastboot boot recovery.img". Unfortunately I did not pay enough attention when recalled the original command from the CLI and issued "fastboot flash boot recovery.img" instead of the correct "fastboot boot recovery.img" command. The device is still in fastboot mode - how can I restore boot? This was the output of the command:

c:\Program Files (x86)\totalcmd\plugins\wfx\ADB\bin>fastboot flash boot e:\Letöltések\twrp_v3111_hydrogen-helium_nijel8-MOD_A7.1.2.img

target reported max download size of 536870912 bytes

sending 'boot' (16176 KB)...

OKAY [ 0.569s]

writing 'boot'...

OKAY [ 0.230s]

finished. total time: 0.803s

Any help is appreciated - I am scared ****less.

Edit: extracted boot.img from the flashable .zip of the ROM I originally wanted to flash and flashed it with fastboot, hope it works
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] pifupifu:
Delete this post, please.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] oatcooky:
Another thing I noticed today, dual SIM controls finally work. I can enable or disable a SIM just by using the toggle on SIM settings. Last time I had to remove the card manually. Many thanks!
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] MM.626:
I was using miui and resurrection remix before, game loads fast. And los14.1 seems slower a bit(6-7s) is there any patch i can flash?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] TheGeekRedneck:
Just wanted to pop in and say my phone is working great since the camera fix update. Good stuff! :D
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] j037:
In-call volume

Hello.

The rom is working great on my mi max but the in-call volume is way too loud.

I have sensitive hearing and the lowest volume is so loud that I can't keep the phone on my ear. Also the lowest volume on the loudspeaker is much louder than with the stock rom. Is there a way to change this?

Thanks.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] bluheart:
Reduce the volume of incoming call!
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Tysovwik:
After a week of testing new setup with all cores online, I can say, that is OK for dayly charging profile. But not for 2 days charging profile. It's smooth but 20-25% less power efficient. I have around 5 Hours of sot, to end of second day with 0 battery :( (no gaming, WhatsApp, Bluetooth for xiaomi mi band, web browsing WiFi, LTE)

For me, the best one was default settings (Previous build, 4 little cores + 1 big core always online)) before Nijel goes to test again lag setup with turning off 2 little cores.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] HannibalLecter:
LOL people now wish the volume to be lowered. :P

---------- Post added at 11:16 PM ---------- Previous post was at 11:14 PM ----------

Flash RR latest build, you'll be happy. We are not happy with its low volume.

This ROM has perfect volume amongst other things. please do not make the dev mess with it.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
Well previous one actually whose 2+1...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Search /system/etc/mixer_paths_wcd9326.xml for "84" and change all instances to "76" or whatever suites you...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] oatcooky:
It's the RX0 to RX8 Digital Volume settings, on most ROMs they're set to 88 for high volume. I dropped them back to 84 (the 0 dB setting) and also set HPHR and HPHL Volume to 0. That sets analog and digital gain to 0 so you get cleaner sound but at a lower volume. Also, set all COMPx settings to 0 to disable companders.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
Actuality even 76 will have distortion & harmonics even its widely used as default. Their is a rule in audio teach that you don't cross 2\3rd's of output straight but sadly thats to lo in our case...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Jerry08:
Men I tried that solution with IRQ migration excluding and it doesn't help... I still have problem with network... Another thing is that 4+1 setup is more power efficient than 2+2...

IMO, the problem is with hotplug where it kills cpu(turns offline) and doesn't migrate that critical services.

My direction for nijel8 is to try implement different hotplug as no any hotplug on big cluster eats battery fast as ****.