yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] rumput_liar:
random disconnection in wifi

im sory. its happen in all CM base in my phone. helium. im love all CM base. bu my wifi disconnect randomly. how to fix that?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] k4rn8g3:
Maybe he not active on github coz he is not bored of his real life stuff.. !!
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] HannibalLecter:
maybe something sweet is coming.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
Yes it's called holiday season.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] HannibalLecter:
and we get presents in holidays :D

but TBH I already got my present almost a month back :P
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] bdogan1912:
Well i hope.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] HannibalLecter:
how to pass the magisk safety check and hide root from app.

I need to use a wallet app URGENTLY today itself but the app says you have custom ROM installed and it wont work :(
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] sarthakwarlock:
Battery Stats.. btw are there any Christmas update coming for rom?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
Simple, don't use it! You can do most things by hand yourself as most "plugins" actually contain one or two line's of useful code. How? Find the plugin git, find the useful lines of code, check that they correspond (exist) to the device. Copy paste them to; init.d script, QC power init or into the configuration file for nijel8 tree ROM's, save reboot & you are done.

As much as frameworks aren't the problem the third party bad written plugins for them are. So it's purposely deliberately done that it doesn't pass the safe net.

It actually goes so far that even having a framework isn't justified enough...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] HannibalLecter:
I wish I could do all of that.

Could you please help :)
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
How & with what directly?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] HannibalLecter:
I need to use a wallet app.

Currently t is not working because it detects that I am on a custom ROM (I could only read so much before it vanishes)

and also probably that I;m rooted

So is there a way to hide root?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
Well find out why it does not pass directly!

For magisk you have uninstaller:

https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445

Third party SU leftovers you will need to clean by hand and built in SU can be easily disabled/enabled in settings. If it's to much fuss for you uninstall third party problematic components and reflash the ROM side (aka dirty flash).
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] obermotz:
I had the same problem with my banking app previously. Root obviously needs to be hidden from the app using Magisk's "hide root" option but unfortunately that was not enough. I also had to change this option in build.prop:

ro.build.tags=test-keys

into this:

ro.build.tags=release-keys

Source: https://xdaforums.com/showpost.php?p=70673495&postcount=168

I don't know if this rom has the test-keys or the release-keys option by default (I don't have my Max with me right now) but a couple of months ago it definitely used test-keys. After completing these 2 steps, my banking app stopped complaining about custom roms and works as intended. Hope this helps you as well.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] HannibalLecter:
it was test-keys.

I changed it to release. Still the app says you have a custom/modified OS installed.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] obermotz:
Have you tried to remove/reinstall the app after modifying build.prop? One more thing that was not clear in your original question: have you set up root cloaking for your app in Magisk Manager?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
For God's sake... are you going to tell us what app is that or what...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] HannibalLecter:
My apologies. This one
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Wasn't so hard, was it?:)

At startup app is looking for su binary in these locations:

String[]{"/sbin/", "/system/bin/", "/system/xbin/", "/data/local/xbin/", "/data/local/bin/", "/system/sd/xbin/", "/system/bin/failsafe/", "/data/local/"}

nothing else... so all you have to do is to hide it when app starts. There is xposed module I believe that can help...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] HannibalLecter:
Do you recommend using xposed?

Unfortunately I need this for work which I need to complete today so would be a great help if you could help me out by making it work and then telling me how to do it at my end.

Sorry to ask so much. Really am. But I really need it.

I might have to go back to miui for a bit to make it work if nothing else goes my way.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
LOL I told you to uninstall third party SU & manually clean leftovers. Now you have location so what's the problem now? Make a copy, then delate, do your purchase and then restore it if you like.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] troyinjapan:
Nothing but help offered, but I bet there's a bad ending to this unroot soap opera.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Tysovwik:
Clean flash + addon su remove patch

Safety check is passed, hide option works as well.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
Nope. Reference is to SU & busy box binaries & even if you left the app (SU) & delated binaries nothing would happen, app wouldn't work & would ask you to reinstall binaries.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Move su binary out of those locations, do whatever you have to do with that app, move su back to where it was... as simple as that... Use MiXplorer to not worry about file permissions...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Updated...

AFH access/download should be fine now so mirrors removed to better keep track of interest.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] judytankgirl:
thanks for adding the signature spoofing and qr scanner.. nice update...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] khnoizer:
[MENTION=4399618]nijel8[/MENTION], where can I find the signature spoofing setting? Is it automatically enabled for microG?

EDIT: turns out it's automatically enabled for microG
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Not a setting but permission which microG needs and gets to work... and it is secure one that only system/privileged packages will get meaning no malicious app could take advantage of it.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Tysovwik:
So now we could swap from open gapps to micro gapps, is it profitable ? Advanced battery ?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] jpph:
Timing is perfect. Hardrive was failing on my host. Has been replaced by Vendor and had to reinstall OS...

So no need to redo the ftp setup on my end...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Tom bah:
The curve went up a little bit last night without charging?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Great, my secret energy recovery feature works...:D

Seriously... your battery temp is 11C, pretty sure been lower during the night... You know temp goes up so the capacity, right? There is your curve going up meaning the discharge rate in deep sleep is lower than the capacity restore rate with temp rising. And btw I don't know how reliable battery data is at low temps so...

My battery for example wouldn't charge more than 75% at close to zero ambient temp which scientifically is perfectly normal.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] troyinjapan:
With this latest build, my WiFi signal is strong and not dropping out at all. With the previous build, sometimes I'd come home and there were a few problems reconnecting with my home WiFi or my home WiFi dropping out. It was something minor with the last build, but with the current update, all is good, as usual.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Did you flash the firmware? That would explain it... firmware+blobs combo from MIUI stable
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] troyinjapan:
I always flash the new firmware. Won't overanalyze. All is good. Cheers!
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] www_123:
Where are the mirror address?Any one Can give me ,thanks.

---------- Post added at 09:10 AM ---------- Previous post was at 09:06 AM ----------

Any buddy Can give me new mirror address. thanks.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Tom bah:
In the first post
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] www_123:
no find
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Tom bah:
I just looked up the history which reminds me what you want.

http://qc4.androidfilehost.com/dl/f...3/lineage-14.1-20171220-UNOFFICIAL-helium.zip

That's strange a little bit
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] troyinjapan:
Check out post #3750.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] www_123:
I cannot down prior address from China.

now is ok . Thanks you for address
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] www_123:
Please give me This address too.Thanks
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] www_123:
I cannot Resolve This Addresses form China.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Tom bah:
http://qc4.androidfilehost.com/dl/J...21903579499563/firmware-HELIUM_MG-9.1.2.0.zip
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] www_123:
Thank you very much
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] eseregin:
Looks like afh is down again...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] :
Thank you [MENTION=4399618]nijel8[/MENTION] , it's really perfect ROM!
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] haihane:
i have the rom version dated 11-24-17 , is there a way to update the ROM without having to clean/ wipe/ install everything again?

since i've already customized the current settings to my liking.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] khnoizer:
Dirty flash
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] haihane:
firmware-HELIUM_MG-9.1.2.0.zip

46.7MB

Size

this one?

do i just put it in my SDcard, reboot into recovery, select that installer, then install, and reboot?

any other steps i might have missed out?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] khnoizer:
Not that one, that's the firmware.

This is for helium: https://www.androidfilehost.com/?fid=962021903579499603

Flash rom, then wipe cache and dalvik cache, reboot.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
Wipe the cash & dalvik cache, flash rom, desired gapps & reboot.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] haihane:
i'm sorry for being new and inexperienced, but which one is true?

this filesize you linked was 500 megs+, which then i assumed to be the full ROM.

Flash rom, okay.

wipe cache and dalvik cache, okay.

reboot, okay.

and for this gentleman here, am i using the correct rom? the 50 megs version or the 500 megs version?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
LOL firmware binary blobs are that 50 MB it's mandatory which one's you prefer to use (satable/beta MiUI one's) if you are satisfied how things look on cellular/WiFi/BT side then don't experiment much with this. Otherwise try until you find one's that fits you most. ROM is ROM... & full its 500MB. Use last open gapps as they are most up to date. Pico gapps are the only one's that comes without Google assistance so it's useful if you either don't use it or have lo RAM version of the phone. Most people don't need nor want more then it's in micro one's.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] haihane:
Okay I get you now. You're saying the 50 megs file is the beta version. (For some reason I thought of the 50 megs ROM as the update package file that I can install over the earlier version for a quick and painless upgrade)

The next point you made was that 500 megs ROM is the ROM itself. That it doesn't matter if I already had the previous version; to update, I still have to download and install the full ROM. Gotcha. Thank you.

So, back to what I wanted to do:

-Download the latest full ROM, install it. Don't reboot yet.

-still in TWRP screen, install again opengapps (I still have to reinstall it even though I already have this installed?)

- what about my user settings? (My primary gripe was that I had to wipe everything when I update this phone last time - the "safe way" to update. I was thinking of cutting corners and maybe there's an easy update method to the latest version) since I had already customized the user interface to my liking, I'd hate to lose that again Everytime I decide to update.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Are you sure about this? I am sure it's the same on CM14.1 but works on CM13. I think I found the culprit. And to be more precise it actually works. Keep QS panel expanded while connecting clients and you will see it works but close it and reopen it and it's back to zero.

Here is why:

CM/Lineage 14.1 HotspotTile,java

...
if (visible && state.value) {
state.label = mContext.getResources().getQuantityString(
R.plurals.wifi_hotspot_connected_clients_label, mNumConnectedClients,
mNumConnectedClients);
[B][COLOR="Red"]mNumConnectedClients = 0;[/COLOR][/B]
}
...

and same piece of code from CM13

...
if (visible && state.value) {
state.label = mContext.getResources().getQuantityString(
R.plurals.wifi_hotspot_connected_clients_label, mNumConnectedClients,
mNumConnectedClients);
}
...

That mNumConnectedClients = 0 line zeroes the clients after every event which is good to start fresh for every update. Unfortunately they forgot to refresh the state on QS expanding and clients stays zero. I disabled that line and now it works as it should. So fix is on the way.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Andy4Shurr:
Thanks Nijel. I wasn't on cm14.1 for long but I'm sure I saw it change when I connected but maybe it was like you say, when it first connected only. With not being on it long it could be that I didn't have time to fully realise that's what was happening :good:
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Kevinkuensken:
Hello

I have buy the Phone but What Thema difference of hydrogen and Helium Version?And cant find What Work and What Not. where is ist.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] AmokPL:
if you have 16/32GB storage - you have HYDROGEN

if you have 64/128GB storage - you have HELIUM
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Kevinkuensken:
How is the GPS with this Rom?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] paarkhi:
GPS is perfect, locks within seconds
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Kevinkuensken:
Hello

How loud ist the Phone with cm14.Is there original Libs die Sound?I want need the Phone as navigation but need loudspeakers
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] s_wheel:
Hi to all.

Hydrogen 3/32.

I have issues with mobile connection after update from build 01.11 to 01.13 or 01.17. SIM is in the slot 2 and is visible for smartphone but GSM connection and mobile data are absent. Dirty or clean flashing, rebooting and wipes, old or new opengapps are not solves it. The build from 01.11 has not this problem (GSM and mobile data works perfectly)! Firmware is the fresh: firmware-HYDROGEN_MDG-7.1.5.zip (from OP).

What is this?

Thanks.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] vinczetibor:
Incall volume is not enough loud. I hardly use my phone in traffic. Any idea how to raise volume?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nejcov:
There is two buttons on side. One (the bigger one is for volume+ / -)
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] vinczetibor:
You are very funny. I meant the maximum volume is too low. Actually, I found a temporary solution. Sound isn't the clearest, but at least I can hear the other person.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] cmk7128:
Have you tried using the 6.12.29 firmware? If not, it might just help in your case.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Update in OP... Not much but more of a test run for this "Incremental Updates" thing I wanna try with you guys. If you are running latest 01-17 build just flash the update for your device, wipe cache and dalvik and that's all... no vendor, gapps, whatever you are post-flashing is needed.

Let see how it goes.

EDIT. As it turns out SuperSU needs reinstall after update which makes sense if boot.img is updated. But that's not going to happen often. We'll see...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Jerry08:
After incremental update I lost su, Helium.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
What su...? SuperSU?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Jerry08:
Yes, app stayed but supersu was missing binary. Had to flash supersu after incremental update. Also had to flash Dolby atmos as it stopped working after update.

Edit: damn atmos stopped working cause selinux changed to enforcing...

Edit 2: Well incremental update messed up my phone. Going to clean flash 01.19 build.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
OK, I know what is going on... I'll fix it right away... Vendor helium update might have the same problem so replacing both...

EDIT: Fixed both... if it was what I think it was... If you are wiling to test I will appreciate the feedback.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Jerry08:
Flashed clean 1.19 and enforcing selinux still there. Will download load incremental update now, restore 1.17 backup and flash it again. Back in few minutes.

Edit: Installed update. Selinux is set to permissive. But again lost supersu.

Edit 2: Also lost custom kernel and atmos/arise isn't processing.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Yeah... makes sense if boot.img is updated. But most of the time we wont touch it and SuperSU will be happy I suppose... Still better that full flash if that's the only "problem" I think.

EDIT: Well too much customizations you have. Kernel... duh... we are replacing it with the boot.img. Don't know anything about atmos... Clean flash it is for you.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Jerry08:
Well yeah. Is the full rom 1.19 also updated with permissive selinux already?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
Nope the 50 MB flashable TWRP file contains property drivers for WiFi, cellular modem and Bluetooth & those are extracted from pointed out MiUI versions accordingly.

It's rather really not recommended to cut corners more than said before. Wiping cache & dalvik cache so that they can be initiated properly again doing first boot. Data partition containing apps is left as it is. It's not to much flashoholic anyway with one to two updates per month.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] haihane:
thank you for the succinct explanation.

after some thought, i've decided to hold off on firmware updating for now.

the risk of losing customized interface and user data weighs more than updating to new version. regardless, i thank you for the guidance(s). upvoted you.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] troyinjapan:
Huh? No risk of losing anything. If you're on Helium: (but same process if you're on Hydrogen)

Download:

lineage-14.1-20171220-UNOFFICIAL-helium.zip,

firmware-HELIUM_MG-9.1.2.0.zip,

open_gapps-arm64-7.1xxx.zip (xxx = whatever flavor you choose)

Copy them to your phone if you do it by your computer.

Reboot in TWRP.

Backup > make sure System, Data (excl. storage) and Boot are checked, swipe right.

After backup, go to Install > and choose: lineage-14.1-20171220-UNOFFICIAL-helium.zip

Then, Add more Zips > choose firmware-HELIUM_MG-9.1.2.0.zip & open_gapps-arm64-7.1xxx.zip

Install, delete the cache and reboot. Done.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] haihane:
yeah, i'm on helium.

Steps checklist:

-lineage-14.1-20171220-UNOFFICIAL-helium.zip, check

-firmware-HELIUM_MG-9.1.2.0.zip, check

-open_gapps-arm64-7.1-micro-20171223.zip (i like the micro version, as i think this is what i installed alongside, originally), check.

all 3 are in /SDcard/ROM/

trying out your method now. wish me luck.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] troyinjapan:
No luck needed. Next time, this really is stuff for the Xiaomi Mi Max Questions & Answers forum...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] 缘，妙不可言:
:crying:那个我是
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] haihane:
thanks, it worked.

and i'm sorry for asking help here. i'll keep this in mind.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
That's OK... but really scratching my head... how did you managed to unlock bootloader and switch to custom ROM in a first place if asking those basic stuff!?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] HannibalLecter:
[MENTION=8806061]haihane[/MENTION]

That's OK... but really scratching my head... how did you managed to unlock bootloader and switch to custom ROM in a first place if asking those basic stuff!?

exactly.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
微笑... in English...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] haihane:
how did i manage to unlock my bootloader?

crazy googling.

there was a time i found out that MIUI was pretty shady: collecting user data, uninstallable spyware apps - MSA, MAB, it's a hot scandal on MIUI official forums. to the date where i last checked (August 2017, could be different now), none of the MIUI official admins were willing to give official statement and the thread blew up to 87+ pages worth of complaints and conspiracy theories.

another factor that pushed forced me to custom ROM was the wifi KRACK vulnerability. i remembered spending the entire day googling how to install custom rom on a mi max (it was later that day i found out that what i had was the helium version). i remembered people were singing praises about CyannogenOS, googled this one too. found out that CyannogenOS development was dead. LineageOS was the successor to it. went to lineageOS official site to learn how to customROM (plenty reading, felt like my head was about to explode that day). there was no ROM for my helium mi max.

the reason that forced me into CustomROM was also why i was careful of what i got installed on my phone. i remembered having to wait 3 days for the xiaomi to approve my bootloader unlock. i googled every step of the way. after my bootloader unlock request was approved, i took that entire evening off, trying to figure out how to install your LineageOS unofficial ROM version to my device, with your guide and lineageOS official flashing guide opened side by side, following each and every step of the way (also getting the very latest TWRP and adb and superSU).

googling and desperation brought me this far. :victory:

your ROM provided much more functionality than original MIUI,

no more MAB MSA nonsense that i cannot kill,

patched KRACK vulnerability,

i've nothing but respect for you :)

thank you!

i braved myself to sign up on this forum and ask directly if there's a way to quickupdate to latest version, and i wasn't disappointed. thanks to all who helped.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] HannibalLecter:
great work. I did this whole same thing in 2011 when I rooted my first smartphone Samsung galaxy S2.

Stick to this ROM or rather the dev :D