yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Hitah:
Dear Nijel

I cant install latest firmware 7.10.12. I have error 7 and information: Old update-binary: Retry in legacy property environment... Ignore first try errors if script succeeds...

Any suggestions?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
What part of "Ignore first try errors if script succeeds..." isn't clear!? I bet firmware flashed just fine. Did you check baseband version?

BTW update to my latest TWRP and you'll not see those messages anymore...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Hitah:
I have your latest TWRP and final message in firmware instalation is "script succeeded: result was [0]".

Firmwere 7.9.22 is installing fine - without any additional informations.

My baseband is; A.2.1.c4-00013-1009_2003_72ace41
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Manuelson:
What settings do you use for live display?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] k4rn8g3:
The default settings..

I frequently change the night time temperature though...

---------- Post added at 07:33 PM ---------- Previous post was at 07:04 PM ----------

Can someone pls attach the build.prop of this rom here

I think i messed up mine with a hell lot of useless tweaks...

And i dont wanna dirty flash the rom again..
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] arbitrarygrill:
So if this doesn't have kcal enabled, would that be possible? I consider it a necessary feature and abandoned kernels aren't my thing c:
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] jfkoh84:
How do i set my existing data usage on lineageos? I already use 3gb of my data plan and the lineageos show only the usage from the day i install
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
You have to set billing cycle start date...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] jfkoh84:
So there are no ways to manually adjust the usage? I have to wait till my next billing date before it become accurate?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
If you could they will become manipulated stats... People go in jail for manipulating statistics...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
Some goes to jail while others become president's.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Monsuta:
Anyone have extremely slow charging after updated to 1014? Before that was 0916 charging fine.

Didn't install 0930, I'm dirty flashing all the way up till now from June or July build.

Currently was charging at 3V 155mA/h at 35°C.

And the OTA notification only work when I manually check, it wouldn't work even if I changed to whether daily or weekly.

I'm guessing I need to do a clean flash.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] khnoizer:
Lol, so true. It's the most cases here. :laugh::laugh::laugh:
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Monsuta:
This is ridiculous, 46mA/h@3V charging, will update after I clean install the ROM again.

https://i.imgur.com/SXL0mCz.png
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] alexx_kidd:
First of all, thanks for your dedicated work for our device, it truly is inspirational.

From your experience, do you think it we will have a fully functional Oreo build until Christmas?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] sameermehta1977:
thanks bro for fixing the #code multi sim settings
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
I doubt it... As of now not much development for bringing Mi Max to Lineage 15 on official Lineage Gerrit. Hydrogen is kind of stalled there...

And if they don't do it I don't see who will.

I can't for sure do anything before Christmas. After... Not really dying to start all over again with Oreo... We'll see when time comes...

Does it work as expected?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] sameermehta1977:
will download the rom and test it,i have recently installed RR,i didnt want to say this since i am not sure about the issue but other roms like cenon hd,nuclear,RR ,cypher give a better netqork reception,there is a low network coverage area where i stay and these roms have a slight better reception and also network speeds,however i will still download and chexk it,give me sometime,thanks

---------- Post added at 11:26 PM ---------- Previous post was at 11:25 PM ----------

also the app speed is different i.e. on the faster side

---------- Post added at 11:28 PM ---------- Previous post was at 11:26 PM ----------

and all have your base,so i am not able to find the root cause
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
No worries... just asking... I can't test 2 sims...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] sameermehta1977:
thank you
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
I am surprised OTA update check works at all. Just discovered AFH have changed something in their API and broke it. Fixed it for next update...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] sameermehta1977:
ok i have installed the rom and phone 1 info is fine ,but in phone 2 it shows the mobile number of the second sim but displays current network of the first sim,i think that is because data is set on sim1

sim1 --jio

sim2---vodafone

this with reference to the #code settings updated.

[MENTION=1542421]nijel[/MENTION]

---------- Post added at 10:13 AM ---------- Previous post was at 09:59 AM ----------

also i notice that when downloading any files the downloading just stops suddenly sometimes and the data connection is dropped although it shows as connected,then if make a call from other phone or select aeroplane mode (disable/enable)then after 1 minute the downloading again starts,this happenes mostly on sim data connection and very rarely on wifi connection and in both the cases on the same time i am able use internet on my other lumia phone with same wifi and for checking purpose same sim.the screen is on whilst the operation and this is happening for quiet some time,i noticed this when i started using different roms,so i dont know if its a network issue,lineage issue or something,just for fyi official lineage on my rn3 gave same problem
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Hitah:
Dear Nijel,

I can't install firmware 7.10.19 like in previous posts. Rom and gapps are installing fine. I enclosed recovery log. Please have a look, maybe you will find what is wrong.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Will take a look at that alto I can't test multisim..

Using Google Contacts from gapps? Known to create network issues somehow... Disable it or just use pico or nano gapps.

https://xdaforums.com/showpost.php?p=74260191&postcount=3384

...And update recovery!
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Monsuta:
I did a clean flash & it turns out the slow charging was caused by my QC3.0 charger, it's fine when I switched back to the original charger.

Gonna RMA a replacement charger.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Hitah:
Updated recovery, installation firmware is working now, thanks Nijel
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] sameermehta1977:
i use only nanogapps

---------- Post added at 08:00 PM ---------- Previous post was at 07:58 PM ----------

do you want me to disable the default conatcts available with the rom and install google contacts from play store,i will read the article,thanks
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
No need, I was saying what I have read on One+ forums, many JIO users in India have network drops on Lineage and disabling Google Contacts seems to fix it. Anyway... go do some google search and see if you come up with something...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] sameermehta1977:
ok,just for testing i have removed the default contact apps and installed the one from google playstore lets see,i dont know how RR and other roms give better reception,will check it out,thanks
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
OK, guys... have been running modified kernel with this change for a couple of days, did some tests and it seems it fixes the auto shutdown at battery low capacity issue. Now the battery is drained gradually to zero under load before device auto shutdowns. After that offline charging shows 0% which means battery is really completely drained and whole charge was used.

If you want to test it here it is: kernel_LOW-CAPACITY-AUTOSHUTDOWN-FIX.zip

This change seems safe to me and I don't think it will affect battery health in a long run as those were the original values by Xiaomi before they released Mi Max kernel source. Why they changed them? I don't know but we couldn't use that extra charge available when we needed it and no charging source around.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] sp0979:
I am using Jio since last many months on most of your builds. No network drops to me. Not sure if Network can be better in MIUI roms. But I've not faced severe problem due to which I should worry.

May be apn settings and *#*#4636#*#* could help to solve the issue.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] sameermehta1977:
try nuclear rom or RR,there is something what it is i am not able ro find out,maybe some power settings or something ,there is a drop and pause when downloading files which doesnt happen anyother,i have actually tried most of the helium roms,right now i have installed nuclear rom v3 and there is an immidiate difference in speeds as well as reception,will check further thou

---------- Post added at 01:46 AM ---------- Previous post was at 01:45 AM ----------

apn used are same on every roms

---------- Post added at 01:46 AM ---------- Previous post was at 01:46 AM ----------

and its not just jio its on any network,even on vodafone i face the same issues

---------- Post added at 01:48 AM ---------- Previous post was at 01:46 AM ----------

google contacts trick didnt work and it was basically for some other device i guess oneplus or something
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
Do you use hotplug (core_ctl)?

Will take a look at nuclear kernel repo...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] sameermehta1977:
nope,i normally dont change anything power related set by default,

i did not flash your script on this rom,its was freah clean install

---------- Post added at 11:20 AM ---------- Previous post was at 11:15 AM ----------

i hope i am not misunderstood,i am writing this after using multiple roms,i want to use this rom as it is the best but these are some niggling things,thanks for being patient and helpful as always
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
Well flash it. I am interested how will you find app start & performance in generally afterwards.

By the way read on the first page how to catch logs, when network problem accrues catch the log & attach it to the comment. Their is no point in complaining without providing us material to work with.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] pawwaap:
Please, again about long pressing Back key, if is set in Developer Options to halt foreground process. Problem is it first halts foreground process, and immediately then a background process (in my system usually Tasker, consecutively automatically triggers its Accessibility setting as OFF), if Back key is press bit too long.

Any way to protect background processes against this behaviour (i.e. too long pressing Back key)?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] azizak:
[MENTION=4399618]nijel8[/MENTION], i flash test Oreo rom, and i lost boot screen logo, now it is My bootloader screen. how can i get, MI stock logo.

i tried afridi's rom. :(

Mi Max cihazımdan Tapatalk kullanılarak gönderildi
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] alexx_kidd:
Where did you find this rom?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
https://xdaforums.com/showpost.php?p=68334992&postcount=3

Get stock splash.img from any MIUI rom.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
If using GravityBox disable back button kill app in Developer Options and use GravityBox for that... Otherwise don't know....
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] pawwaap:
And does it work indeed?

Allright, time to install Xposed, which Xposed installer to use specifically in this ROM, please?

EDIT:

I must confirm, it works, now just foreground process is halted.

And it's pity Xposed its needed for it as it introduces some lags (version 3.1.3 of Xposed installer).
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] azizak:
in this forum, lineage 15

Mi Max cihazımdan Tapatalk kullanılarak gönderildi
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Installer 3.1.2 and framework 88.2... Never heard of lag caused by xposed... Bad module - yes...

Wondering how and where do you find all those old versions!?

I'll check how Lineage and GravityBox are killing apps and replace the logic if different but yeah GravityBox is doing better job in that matter...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] alexx_kidd:
Can't find it. Link? How's the build?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
Well it's always module's & never framework...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] pawwaap:
Please, beg your pardon, it's version 3.1.3 (not 1.3.1) ;)

And framework 88.2-sdk25-arm64

It seems disabling LP module in Xposed installer has improved the lags problem.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Good...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] alexx_kidd:
Is the build private or public?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] pepfapeste:
Private, only for those who can find it
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] alexx_kidd:
I see.. Thanks anyway
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] k4rn8g3:
Few issues i am facing now...

Camera shutter can't be disabled (the toggle doesn't work in camera app) and when i an listening to music (on earphones) and clicking a photo it makes the shutter sound and then the music starts playing on the phone speaker instead of earphones..

Plus the shutter sound plays even if the phone is in do not disturb mode...

Pls try to fix this issue..
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Disable switch works for me.

And there is no such issue on my device when playing music. Shutter sound is not even played if music plays to any out device. Any bs sound mods installed?

Shutter sound has nothing to do with DND mode so...

Anyway... What happens if you set persist.camera.snapshot.volume=0 prop?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
& what happens if you put: persist.no.dumb.questions.on.forum=1 hire? Do you think that they would stop? Well probably not...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] hptouchev:
Hi,

I was using lineage os official for a long time in my MiMax, and was getting a SOT of 8 hrs.

Recently saw some thread in reddit mentioning that it was possible to get 12 hrs SOT with MiMax. Since I didn't want to go back to MIUI, I am trying this unofficial lineage os. Just flashed my device, haven't tested SOT yet, also flashed Zola's script from here[1], and also enabled corectl in battery settings.

Now the problem I am having is how can I enable or check if Quick Charge is working in my device. I have a QC charger which I got with my Le Max 2 device, but the charging cable provided with Le Max 2 is an USB-C one, so when I try to charge the MiMax with the Le Max 2 charger and MiMax charging cable, it shows as "charging slowly" in the lock screen, how can I get Quick charging to work, should I get a different cable, or is there any app which accurately measure the charging current value.

Also recommend me any other things which I can do to get max battery, this device will only be used for 5-6 hrs of browsing and youtube per day. I am already testing if forcedoze will be of any help. Is there anything else I can do.

Thanks,

[1] - https://xdaforums.com/mi-max/how-to/power-performance-kernel-tuning-tweaks-t3584897
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] C-SP:
mi max helium 128, it works perfectly, you're too kind :fingers-crossed:
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] HannibalLecter:
[MENTION=4399618]nijel8[/MENTION] the latest build is so so soooooooo smooth. :D

All stock with just magisk for root (for youtube background playback app by Zanezam) :D

just one thing missing ;)
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
What's that? :cyclops:
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Yeah, I know... forgot to change default wallpaper... ;)

OMG... I ment ..S
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] www_123:
i use a lock mimax ,but always show loop 7.1.2 logo.our rom can not been install on lock mimax?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] www_123:
Who has the new rom mirror address.I from china ,can not down ever. Thanks
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Tom bah:
由于不可抗力，目下确实?

Due to some uncertain mysterious power, it's hard to visit definitely.

https://de1.androidfilehost.com/dl/...lineage-14.1-20171028-UNOFFICIAL-hydrogen.zip
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
Translating that back to English reminded me of Tangerine Dream, listening it now...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] www_123:
please give me helium and MGD address .Thanks.

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

please give me helium and MGD address .Thanks

---------- Post added at 10:11 AM ---------- Previous post was at 10:10 AM ----------

please give me helium and MGD address .Thanks
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Tom bah:
Thanks for your recommending, I am also listening to it now for the first time.

---------- Post added at 11:34 AM ---------- Previous post was at 11:33 AM ----------

What's MGD?

---------- Post added at 11:36 AM ---------- Previous post was at 11:34 AM ----------

https://ca2.androidfilehost.com/dl/...3/lineage-14.1-20171028-UNOFFICIAL-helium.zip
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] oatcooky:
The problem is that AFH now uses some Google script to start the download process. Can't access that script, can't download, unless you have a direct link to the mirror.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] www_123:
This . thank you very much
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] dream2poet:
Hi,

This rom comes with Magisk root as I understand from the features.

Can I use it (without Root) ? And how to delete it fully from the system..? I dont want any kind of root access in my phone.

Thank you.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] k4rn8g3:
Nope ... It doesn't come with magisk root..

It comes with lineage own root solution..

To remove root..

Goto lineageos extras in lineage website and download arm64 su removal zip and flash in twrp..
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Wondering how did you come up with that conclusion!?:confused:
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Tom bah:
https://ca2.androidfilehost.com/dl/...4283620761837/firmware-HELIUM_MGD-7.10.19.zip
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] www_123:
Thanks
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] dream2poet:
I got confused maybe :)

I read the first post it says;

Native SU(root access) is and will always be present in this ROM.

Then in these last pages I read somewhere about Magisk thats why.. sorry for confusion.

---------- Post added at 08:29 AM ---------- Previous post was at 08:27 AM ----------

Thank you very much for help.

I appreciate that.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Skalexs:
Works perfect in xenonhd

I need it so thaaanks
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] HannibalLecter:
surprisingly I have not been facing any auto shutdown issue on low battery. Today I used the phone until it was just 7% of battery remaining and it was perfectly fine.

And I was using phone call and google maps navigation at the same time.

seems the auto-shutdown works under certain circumstances only.

need OMS TEST that :P
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Yeah, certain circumstances only... Like worn out battery under heavy load ...in roms with no OMS

Don't worry... You'll get there...:D
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] HannibalLecter:
This is like music to my earsEyes.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
You wish... :p
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] HannibalLecter:
please :angel:
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] grey77:
Nijel, what happened to core_ctl in the best Mi Max custom ROM? :) Is it disabled or its interface changed? Kernel Adiutor wont show core_ctl controls tab, logcat shows not a single instance of core_ctl working, boot.img/initrd/init.qcom.power.rc file missing all the initialization lines... Have I missed something? Havent been around flashing and reflashing this topic`s ROMs for like 5-6 months.

helium:/ $ sh /system/bin/cpuset
usage: cpuset core_ctl -> load and configure core_ctl module if enabled
cpuset online -> unload module and bring all cores online
cpuset governor -> configure governor
cpuset apply -> apply new governor and/or core_ctl configurations
cpuset memory -> set Memory paremeters
cpuset scheduler -> set HMP scheduler (big.Little cluster related) settings
helium:/ $ sh /system/bin/cpuset core_ctl
/system/bin/cpuset[54]: [: 1: unexpected operator/operand
helium:/ $ sh /system/bin/cpuset apply
/system/bin/cpuset[54]: can't create /sys/devices/system/cpu/cpu0/cpufreq/scalin
g_governor: Permission denied
...

PS: The impulse to start flashing again since the build 2017.03.19 was: Kernel: patched KRACK vulnerability. Now it seems all the 8 cores r online permanently. How to enable core_ctl feature? thx in advance ;)
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
[MENTION=4065413]grey77[/MENTION]

Missing su command in terminal, need to run commands as root user.

Nothing changed, working fine...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] grey77:
well, same error

helium:/ # su
helium:/ # sh /system/bin/cpuset core_ctl
/system/bin/cpuset[54]: [: 1: unexpected operator/operand

Im just trying to figure how to restore my custom core_ctl/governor tunables setup which worked like a charm before.

having minimum CPU optimizations mode is great for stability and playing 3D games but my usage profile is reading mostly thus getting the most life out of the smartphone batteries is of the highest priority. :)

PS: clean ROM install ofc, no magisk and the likes installed.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
How about first going to Settings -> Battery -> Battery saver and performance and turn that damn Hotplug switch ON and reboot... No need for any terminal commands.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] grey77:
hot plug cores:on
edit CPU configuration

Thats the very thing! thank u, [MENTION=4399618]nijel8[/MENTION]! I was at my wits` end trying to patch boot.img yday and had no idea its OS GUI controllable nowdays. :D

PS: Lineage OS gets better and better overall!