yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] rakesh_4utoo:
try flashing Super User 2.79 from twrp
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Micheal86:
Thanks for sharing.

Done.

I`m on RR Rom(latest) right now.

I`ve followed this thread :

https://xdaforums.com/mi-max/development/rom-lineageos-14-1-t3529851

(Thanks to our respected Dev ajsmsg78, nijel8 and also thanks to Neo.Collin for helping me a lot).

And everything is working fine so far.

Thank you once again for your help.

BTW, I just want to know that can I use SuperSu instead of Magisk with Superuser ? If so, how ?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] pranavaryans:
Done it. Booted Fine. But MODEM (IMEI) Seems broken. So back to RR.

Do i have to flash anything else?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Micheal86:
Booted in MIUI Global Dev Or RR ?

Which file have you flashed ?

Pls be more specific.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] pranavaryans:
1st I flashed MIUI 7.8.6 + SuoerUser, Booted Fine but IMEI invalid ( No Sim).

So

2nd Restored RR TWRP backup and got my sim signals back
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Micheal86:
That means you`re on RR Rom right now.

Wah.

But what about IMEI ?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] pranavaryans:
IMEI is back on RR. But when i flash MIUI Developer 7.6.8 i lose my IMEI
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] paarkhi:
Just flash supersu in twrp, I'm using supersu 2.79 sr3 but you can also try 2.82 sr1
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] pranavaryans:
I did MIUI 7.6.8 + SuperSU already. No IMEI on MIUI ROM
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] paarkhi:
The above answer was not meant for you, you MAY need to flash fastboot miui.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Micheal86:
Thanks mate.

I`m also using SuperSu V.2.79 Sr3.

BTW, which sound mod are you using right now and what is your feedback ?

I always use Viper Audio Mod.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] paarkhi:
I don't use any soundmod, I just increase the sound in mixer_path_wcd9326.xml
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] IndDoc:
Anyone seeing ineffective ad blocking with the last few builds?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] donkassim:
Hello all, any fix for the laggy camera ?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] ajsmsg78:
I'm seeing ineffective ad blocking on four different devices on four different roms (stock, cm13 and RR) It started about five days ago, it's very strange. It seems like Google is doing something to prevent ad blocking. I started using AdClear and it seems to work better but some ads still show up.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] panospc:
I had the same problem with adaway because one of the host sources server was down(hosts-file.net)
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] E90 Commie:
Where are those ads showing up? I opened a couple of apps now without seeing anything but I have multiple layers of block:

1. AdAway with Mother of All Blocking/hosts.malakala.is and a couple of other host sources.

2. Disabled everything ad related in Google Play Services using Disable Service.

3. A method I can't talk about here on XDA but there is a smiley involved.

No ads on my device. I guess my approach kill them effectively even if one of the nets would fail for whatever reason.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] ajsmsg78:
I'm running AdClear on my Galaxy S8+ and it seems to be working fine blocking the ads. It sets up a VPN on your phone which blocks ads and also has a built in firewall if you want to use it. I haven't used my Mi Max since I got the S8+ but I do have my second sim in it.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] E90 Commie:
I see. Those kind of ad blockers aren't my cup of tea. Prefer to do it with AdAway or even with Smiley, especially since I always deactivate a lot of services for Google Play Services.

I have one question regarding the Helium builds: Did you edit the ROM zip or did you use the kitchen to build it?

I am thinking about taking the latest Hydrogen build and just change the install script since I use Harfix and the Zola III scripts for core control anyway. I assume those steps plus editing the build.prop are enough for Helium conversion.

Interesting that you like the S 8 that much. I tried it but not my cup of tea. I very much prefer my Max and I see Windows 10 for ARM as my highly probable future even if I guess I will try Android O.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] ajsmsg78:
I edit the rom zip and boot.img. I like the Galaxy S8+ a lot more now since I'm getting 7 to 8 hours of screen on time which is as much as I am getting on the Mi Max. I saw that the online price dropped $100 so I'm trying to see if they will credit me the $100 so I don't have to return the phone and re-buy it.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] E90 Commie:
Interesting with that SOT. I get around 12-13 hours on my Helium with the ZolaIII scripts applied but I tend to limit of battery to 80 using Battery Charge Limit.

I will see what I do with the builds, I am on your last one and it works great. The only thing is that I have a transit app where - if I buy a ride pass - seems to be stuck for a while before reflashing so I have to think carefully what to do.

My own future device plans are mostly for the Windows 10 for ARM since I see a lot of potential there for what I want. Something tells me that big tablets / phablets with their inking (pen) will be inbound later this year based on earlier statements.

So I am watching it carefully. I was close to get one 8" from Best Buy but it fell when I noticed the 720p display. Had it been 1080p it would have been hard to resist.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
I am working on a HMP sched optimisation along with better tuning of the interactive governor. We will see will I be able to outmatch the power aware scheduler efficiency (as used on S835). Basically I summarise what worth in homogeneous to heterogeneous & try to make HMP drove backs more more sustainable future minimising both migration latency, their number & ramp up transitions. Still on locked MiUI doing all of that. PM me if you are interested.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] E90 Commie:
I just flashed the latest sawdoctor build on my Helium after some slight changes (changed the install script, edited build.prop) and flashed Harfix 2.1 and the Zola III scripts. It booted up fine.

Will be interesting to see how it runs when I get it fully configured (it is sitting at the initial welcome screen right now). One thing is for sure: I am very much at home with this ROM. It is... perfect in its interface and customization options and simply make my device run and handle the exact way I want it too.

So thank you [MENTION=1097804]sawdoctor[/MENTION] and [MENTION=3624653]ajms[/MENTION]g78 for bringing pure awesomeness to my Helium.;)
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] prometr:
Hi. I couldnt find Zola lll scripts. Please can you send links?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] E90 Commie:
The Zola III scripts are available in the Performance and Power Saving thread, which is dedicated to that particular subject.

What I did with the ROM was as follows:

1. Extracted the install script from the Helium build by ajmsg78 and replaced the one in the Hydrogen build.

2. Opened up Build.prop with BBEdit and simply replaced "Hydrogen" with "Helium".

It is necessary to open the ROM zip using a suitable application and then do the replacement of the install script and build.prop edits.

I always flash Harfix 2.1 and the Zola III Helium scripts and it should take care of the boot.img part as well including core ctl since they are adopted for Helium.

So far so good here. Everything is running. Just restored my apps using Titanium.

If I get permission I could upload the ROM but everyone has to remember that it is a very basic Helium adjustment and that Harfix should be flashed together. I could upload the scripts, kernel and ROM but again, would wait for permission to do so.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Module6:
Not sure if you found a solution for the Wifi issue. I have had that issue on ROMs. I could connect to wifi and hotspot but they all show: "Connected, no internet".

I could not even use the phone for a week since most roms never offered me the option to bypass Nougat initial set up without internet access.

My solution:

1. Use Connectify to turn your Wifi into an AP and use that connection. Worked for me and with this I could bypass activation and enter the damn phone.

2. Once inside the phone download the app Wifi Fixer. It did what it promised, it fixed my wifi connection issue. Now I can use my home wifi again, although the x sign is still shown on top of the wifi icon in status bar.

I'm sure there are other more advanced methods but this one was easiest for me.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] IndDoc:
I get ads via all apps that have ads. I also get ads now on instagram. :( My only purpose of rooting is adaway, and now it won't work.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] panyan:
Or instructions with links to each of the relevant downloads from their respective threads?

I'd love to try this setup - sounds great!
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] jlgmax:
Flashed the latest build yesterday and I'm getting some strange camera problems - sometimes it just captures a green screen, sometimes I get a Media Server error and sometimes it works fine - has anyone else experienced this ? I flashed stock Gapps after flashing the ROM.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] E90 Commie:
It is very interesting. I haven't seen any ads on my device yet but will double check again. The amount was absolute zero yesterday.

Try to use the MOAB hosts source in Adaway and use Disable Service to disable the Google ad services if need be. If it turns out that the ads seems to be more persistent it is time for some Smiley action in order to eliminate them completely.

Are those with ads using the default sources in AdAway and nothing else?

It seems to be an interesting case. If Google think they are going to be able to force ads on devices with modified hosts they are completely wrong since there are two other methods, one of them include removal of ad components from the apps.

So even if they would roll out a new version of Google Play Services that ignores the hosts it will be a futile battle.

First step is to add MOAB and some other sources to AdAway. If that doesn't work, then:

1. Use Disable Service to disable all "ads" services in Google Play Services.

2. Use "Smiley" to disable the ad services on the app level.

---------- Post added at 09:53 AM ---------- Previous post was at 09:44 AM ----------

Harfix can be found here:

https://xdaforums.com/mi-max/development/kernel-harfix4-t3534625

The kernel tweaks are here:

https://xdaforums.com/mi-max/development/power-performance-kernel-tuning-tweaks-t3584897

To get the Hydrogen build to run on Helium, simply open the zip using an appropriate application and replace the install script with the one from the Helium build. Build.prop is easy to edit in a text editor.

Flash as follows:

1. Flash the Helium adopted Hydrogen build.

2. Flash Harfix or Accent kernel.

3. Flash Zola III scripts.

4. Flash G-Apps.

My own steps are as follows (due to specific requirements):

1. Flash the ROM.

2. Flash Magisk Uninstaller.

3. Flash Harfix 2.1.

4. Flash SuperSU 2.79SR3.

5. Flash Zola III scripts.

6. Flash G-Apps.

7. Flash the bootanimation of choice.

The reason I use Harfix 2.1 and SuperSU is because it is the only way I can get Kodi to access my flash drives with StickMount. Magisk is interesting but I haven't been able to get the file system access needed, just yet.

DRM (root blocked apps) are of no concern since my device is a DRM free zone. There's no need for anything infested with DRM when it is possible to "fully load" Kodi and so on.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] pichai:
I use the dual boot patcher (Dual Boot Patcher)to install the system, an MIUI, an RR! I think this will be useful for those who like both MIUI and RR, but also for those who often walk through the various types of ROM friends!:laugh:
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Micheal86:
Simply superb !

Really excellent and most informative and helpful post.

Thanks for your sharing.

It helps me a lot.

BTW, just a quick question.

Are you using Substratum Themes ?

I`ve tried many of them. But nothing works perfectly. It always returns an error while completting the flashing. Always works partly.

I`ve tried this one in latest RR (Helium) builds and 25/04/2017 build. But it reamins the same.

Would you help to fix this Substratum issue ?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
P's you do need older kernel with enabled core_ctl for it to work.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] E90 Commie:
I have tried to open some apps now that have Google Ads integrated and... no ads show up. I haven't used Smiley on them - just disabled all ad services and added the host sources to AdAway.

So I think it is pretty safely to assume that ads showing up is either caused by a temporary glitch with AdAway (such as the sources being down) or something else.

It is pretty evident that Google won't be able to force feed ads to rooted devices since the three layered approach simply prevent them (even if one layer fail, there are two others). Even if they go on an ForceFeedAdsGalore, they will be unable to get any result since Smiley would fix it anyway.

So those with ad problems: Use Disable Service and disable all ad related activities in Google Play Services.

This thread is an excellent reference for this particular step:

https://xdaforums.com/nexus-6/general/disabling-google-play-services-guide-t2999821
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] IndDoc:
So here's my host list screenshot from adaway. I think some sort of symlink may have changed? Don't know. I'll try doing your method and see if it works. Thanks :highfive:
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] E90 Commie:
My hosts look like this:

[IMG="AdAway host sources"]http://i.imgur.com/fpiz5Lzl.png[/IMG]

I think the best one is the MOAB or hosts.malakala.is. No issues to this date.

Good luck.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Micheal86:
Thank you so much for your help.

I don`t have enough knowledge about kernel.

So, it would be more helpful for me if you pls share the link of the kernel you`ve recommended.

BTW I`m using RR Rom (helium).
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
I know this one still have core_ctl enabled.

https://xdaforums.com/mi-max/development/kernel-harfix4-t3534625
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Micheal86:
Thanks for sharing.

But I think RR has this kernel (Harfix4 v.2.2) inbuilt (according to the about device).

Sorry I can`t upload the SC.(it always says "network issue,can`t uplod the sc").
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
I don't know what is in RR what I do know it's fashion in Lineage of disabling core_ctl which Strix also followed before about two months. All the builds use Strix kernel base...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Micheal86:
Thanks for sharing.

I`ve falshed harfix4 kernel(V.2.1).

And after rebooting now substratum is working.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] sebastiennicolo:
I want to know if i updated to new rr update for mi max should i flash gapps if i am going to do a dirty flash?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] pranavaryans:
Gapps can survive dirty flash. Don't worry
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Heredero:
Bluetooth issue in helium solved ty

Thanks to you guys I solved my noob mistake, it was the firmware because i didnt flash the las miui dev, so i was in MM. Infinite thanks

for your help, support and the awesome job you do with this roms. I'm very greatful.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Skalexs:
HI!

I've been testing the Helium build

I can't get other data mode than LTE (4G) (No 3G, no GSM) . Also, i can't get calls working.

Any suggestion?

Thanks!
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] E90 Commie:
I think my power consumption is good now: 5 hours and 46 minutes off the charger. The battery was 80% (Battery Charge Limit) and is still sitting at 80%. It seems like the combination of Zola III scripts and my own aggressive power management works really well.

Edit: The aggressive power management involve Disable Service and a lot of services disabled for Google Play Services followed by a lot of "Keep Awake" permission restrictions using Privacy Guard.

It really help and do magic for the battery life.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Kevilano:
Hi, I encountered password lock screen issues. Even though the password is correct it won't unlock (I just use fingerprint to unlock it and when I change what type of screen lock I will use the password works). Tried to search on this forum similar cases but there's none. Anybody know how to resolve this, please?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Gibbon_999:
Choose "Fix Lockscreen" from "Advanced" in TWRP.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Kevilano:
Ayt sir, will try it. Thank you in advance.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Kevilano:
No option for fix lockscreen. I can only see fix context
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] ajsmsg78:
When restoring a rom in twrp after you restore it you have to (in TWRP) go into File Manager then go to data/system and delete the three locksettings files. Then when you boot there won't be any lockscreen pin anymore. Then just set up a new pin or pattern and your fingerprints (if you already had them enrolled) will still be there.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] E90 Commie:
I had to revert to the 20170506 build after some consideration. I don't know the culprit but I got an absolutely insane amount of "context manager" alarms and a power consumption rushing away with the screen on (around 10-14% per hour vs around 4-7%) despite the regular setup.

The 20170506 build ran perfectly well for around a month so I know its reliability and since I am considering getting an app based transit card, which can't be transferred easily if I reflash the device I reached the conclusion that a reversion was the best course of action here.

I have no real idea of what caused those alarms/wakelocks but I haven't seen anything like that before. It could have been the G-Apps (20170613) so I replaced them with the latest build. It seems like the problem is sorted for now, though (just checked and this particular alarm doesn't show up at this time).
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nishad1988@gmail.com:
Hi all,

I have installed this room on my Xiaomi Mi Max. After installing I noticed a huge reduction of volume in ring tones music player video games etc. After disconnecting a call the ringing volume will automatically reduced to 20%. At the same time the network signals will be off for a minute. I will activate and deactivate the airplane mode to get the signal.

I can't even set dual ring tones. Only one ring tone can be used for both network.

Has anyone faced this issue? Is it a bug? If someone resolved this issue please provide me the the steps.

Waiting for your reply. Thanks in advance.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Jay_B:
Please search the thread. All answers are present in it.

Sent from the Devil!
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] ayenzel:
I also experience the network signal will be lose or no connection
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] anderson79:
Someone could tell me because the notification led flashes constantly as I had a notification and I do not have it I do not know it can be or because it turns red and blinking every time if someone knows I would appreciate it if you told me that it can be
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] mandarthedon19@gmail.com:
I hav heavy battery drain. From 75% to 58 % overnight even puting extreme power save on... Any help ???
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] E90 Commie:
What do extreme mean?

You have to use Disable Service and Privacy Guard to restrict services in Google Play Services and also deny unnecessary Keep Awake and background permissions.

It sounds like you have Play Services drain. You can also check with GSAM Battery Monitor and AccuBattery.

My device consumes 0.0-0.1 percent per hour (Helium 20170605 build).
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] link77kz:
thank you
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] E90 Commie:
Is there a change log for the 20170619 build? I tried to find one but couldn't.

Edit: The official changelog stops at 20170415.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] prometr:
Hi. Does Disable Service mean disabling for apps one by one or are there settings like Privacy Guard?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] E90 Commie:
You can follow this guide (I use it on my device) in order to get the power consumption down. Remember that this is for extreme power saving.

https://xdaforums.com/nexus-6/general/disabling-google-play-services-guide-t2999821

It works well on my device. I have been using this for some years now and never a drain from Google Play Services. Privacy Guard and denial of Keep Awake and Background is a good idea as well.

Idle consumption of 0.0-0.1% per hour is the result.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] ibrahimkh:
Hi, is it possible to have LED notification setting and make screenshote more responsive? I noticed screenshot in RR is delayed compared to miui.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] ROMFACTORY:
Nice
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] cowk612:
any official for 20170619 build HELIUM
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] arushkurundodi22:
Can some one please send the WiFi fix for this rom
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] HannibalLecter:
2017-06-23 :P

[MENTION=1097804]sawdoctor[/MENTION] changelog love? :P

Also request you to remove Magisk v12 from the ROM buddy.

We have to use the uninstaller to remove v12 bcz we flash v13 :D

Since, the magisk manager for v12 is not available on the playstore, its a hassle to manually install it.

Better to flash v13 which includes magisk manager inbuilt :D

Bug: [MENTION=1097804]sawdoctor[/MENTION]

Settings force stopping upon entering Interface section in RR configurations.

Also screen doesnt turn off while on call. Proximity sensor not wrking
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] I Like To Hack Everything:
Something I would like in this rom

Hello [MENTION=1097804]sawdoctor[/MENTION]

I like the ROM a lot.

2 things I would like added/changed, If this is possible.

Could you enable the developer menu for holding the app in recent "kind of like right click" and could you please add the ability to change the top status bar clock color...

Thank you, and I appreciate it a lot if you could do it.

Chris. :good:
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] raymondsanusi:
You can configure the back button for kill app ini button configuration...

You can also disable quick setting on secure lockscreen, its on configuration - quick setting - advanced
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] I Like To Hack Everything:
Awesome, thanks.

Found the lock screen setting.