yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
Well be my guest and enjoy reporting officially to Lineage team (and I don't care to whoever you like even it's Dan himself) how media support is broken regarding ogg format. It's enough of drifting from a main Lineage tree regarding me as it is so far. In the meantime use what ever you like (as it won't be resolved promptly) to play your favourite ogg files. In the future reconsidered switching to Opus as ogg is depreciated and discontinued (in favour of mentioned one).
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] k4rn8g3:
Hmmmm.. sounds like a plan..

And btw what do u mean by "In the future reconsidered switching to Opus as ogg is depreciated and discontinued (in favour of mentioned one)." ??? Is the .ogg format going to be deprecated in the future ?? It shouldn't be the case as its a lossless type audio format.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
OK, looks like I have to respond...

ogg is supported, how do you think you get ringtones...? even played by Eleven with no problems. Don't know how and what kind of oggs you are trying to play...

BTW opus support was added recently as well.

And, guys, please... don't feel like having the last word if it will only escalate the issue. Not responding is also powerful respond... Thanks!
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
Yes no more vobies (ogg) in the future, Opus is (relatively) new replacement & certainly the best one up to date from lossy one's. It especially shine on high frequency (horn) range... By the way ogg is (whose) also lossy format (not lossless), Flac dominates lossless stage (along with wave pack for more serious mastering).
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] k4rn8g3:
Please try these .ogg files (made them myself and runs on miui perfectly)

https://drive.google.com/folderview?id=0BxBmZt2jDek5a0ZrS050RURSUjQ
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
No go...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] ioy:
Please, help, RotationControl and Automagic are constantly closed (at random) and Accessibility rights are toggled off. Every time they need setting them back, what is irritating

Anticipating your hint: BatteryOptimization is set as OFF for these applications.

HELIUM, LOCKED bootloader, [ROM][UNOFFICIAL][7.1.2][HYDROGEN/HELIUM]LineageOS 14.1
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
I have seen Accessibility rights disabled sometimes after dirty flash but never had RotationControl, Tasker(not using Automagic)or anything FCing b/c of that. No any FCings at all. Time for clean flash I suppose...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
On second thought... charging and active notification with light? Have seen it...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Updated...

Note: If no ringtone for SIM 1 is selected you will not hear feedback sound when adjusting ringtone volume in Settings > Sound. Also Dialer ringtone option is only for SIM 1 for now. These "inconveniences" will be fixed in next releases. Please, post feedback how ringtone-per-sim works along with your sim configuration. I have only tested it for single sim in slot 2. Thanks.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] sameermehta1977:
[MENTION=1542421]nijel[/MENTION] which firmware is preferred the stable one or 7.7.20,thanks
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] troyinjapan:
I always just update with the newest one posted, and in this case xxx8.5.1.0.zip. Once again, zero problems updating. ROM + firmware + GAPPS.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] sameermehta1977:
[MENTION=5660076]troyinjapan[/MENTION] thanks,but 7.7.20 is from the dev rom which is ahead of stable versions of rom,so are you sure that this stable 8.5.1 is the latest over 7.7.20?,just a doubt

thanks
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] troyinjapan:
7.7.20 = July 7th

8.5.1 = August 5th

On the very first post it says, "you don't need to flash this again till next MIUI version number change and if you want to:"

So, in reality, you don't need to update the firmware. I just update with the newest one posted.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
Well point is to use stable blobs now when they are finally available... No any real need for developer/beta one's...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] sameermehta1977:
ok thank zolla , troyinjapan
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] k4rn8g3:
See that's what i was talking about...

It doesn't work in ur ROM..

That's why I told u to add .ogg support to this ROM..

U say that it is already supported.. but my files doesnt work in this rom but works in miui..

Let's assume that something is wrong with my files..

Then plz tell me how to fix it..

Or what specifications should i use to make the files again...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Davehimself:
Try any audio converter to get your files in the correct ogg format.

For exemple http://www.freemake.com/de/free_audio_converter/
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] k4rn8g3:
Will try this for sure !!

Thanks...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] ioy:
And what do you mean "dirty/clean flash" exactly? Every time I used to wipe system partition, and of course Dalvik and cache, but retaining data partition.

HELIUM, LOCKED bootloader, [ROM][UNOFFICIAL][7.1.2][HYDROGEN/HELIUM]LineageOS 14.1
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] raikko5:
i got problem.... if received call under sim 1.. phone will auto restart... (if using sim 1 for data only.. no problem.).. pls fix for it.. tq. (i'm using dual sim)
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] mmr:
Can confirm phone restart whenever call recieved
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] souravipc53:
Change ringtone. Happened to me as well. Changed ringtone and it will be fixed
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
You mean after rom update you have to switch ringtonenes around? Sounds logical since I did some dual sim related changes to MediaScanner so changing ringtones probably triggers database update.

Anybody else, please confirm... And thanks.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Wiping data is clean flash. Anything else is dirty.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] raikko5:
thanks man..... its fixed.... great solution....:D

---------- Post added at 01:33 AM ---------- Previous post was at 01:30 AM ----------

yes.. confirmed.... changed ringtones solved the problem..
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Phew... A little better now:) I was really worried, major f*ckup from my side if that didn't fix it.

But still... Looks like I have to get second sim and test these things thoroughly... What is the phone good for if it can't perform its main functions.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] SakitJiwa:
dirtyflash 0807 helium at first normal like usual, but then I got random reboot weird

rolling back to 0723 got no random reboot

update....

dirtyflash again to 0807 change the ringtone, seem fix the problem :good:
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] mongoload:
Hi nijel8, great job with the support!

Full wipe, scratch flash the build 08.07 so far so good, I just noticed that one-hand mode gesture is missing?

I use this function when needed. Our fone is quite big for one hand use and this feature is amazing, am I just missing it or is it not part of the current build?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] paarry:
Hi [MENTION=4399618]nijel8[/MENTION] I have been using this ROM and the pure nexus ROM. Since the latest update, I noticed the battery charging info, its showing as 3V while it should be 5V, I did a clean install twice of the latest build of your ROM. Same thing. The charge is reducing even when its connected to the charger when i am accessing internet through 3G. In purenexus ROM the charging info is 5V i flashed the purenexus ROM again to check if the issue was hardware wise and it was not. Anything i should do to fix this? Whether any workaround available?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Search Settings for one-hand... It's under short/long press action for every button.

Well, I don't touch my kernel in that department. See most of the devs add fast USB charging, increasing amps and safe temperature thresholds etc... I don't want to fry batteries... It is what Xiaomi made it...

Charging sometimes starts at 3V and safely ramps up to 4V, true I never saw it 5V, but true also I don't watch it 24/7 so...

And btw max voltage is 4.8 in kernel, at least in mine. Also voltage doesn't really matter... Current is what matters for changing. You don't pump voltage in battery, you put energy...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
I'll make sure we have fallback ringtone if one is not set yet and stop those reboots for next release...

This msim ringtone thing turned out so complicated... Who would've thought half of the Android system is involved in simple thing like playing a ringtone.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] paarry:
Thanks man. Your previous build is having the same 5V in the charging info while the current build shows only 3V and also during tethering the charge reduces even if its connected to the charger while it is not there in your previous build. This was also the reason i posted it here. Anyway thanks.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Why didn't you say so instead of pointing me PureNexus? Tell which build exactly was last with 5V and I will see what I broke. Is it 7/23? Also do you see any difference in charging time 5V <> 3/4V? I did some changes to get real values for Lock screen display but don't think that broke something. Probobly is showing real voltage now instead of what is standard 5V.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] paarry:
Yup. Its the 23/7. Sorry man. I was in Purenexus and saw the 5V thing in the lockscreen. Then ur update was online. I downloaded and used it for a day and saw the charging was a bit slower than it was in purenexus. Then i saw the lockscreen data it was showing 3V. Yesterday i night flashed ur old build 23/7 and saw the charging info on the lockscreen was 5V and it was charging pretty quicker than ur latest build. Had to check and post the comment man. I am extremely sorry for not pointing out properly. Had to be sure.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] borgami:
Hello,

Can someone tell me how to install adaway on this rom?

Thanks
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nejcov:
Try this one: http://android-zone.ws/search/?&q=adaway, for me is working
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] PassieWater:
Install and grant root
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] jpph:
off topic.. I used to be able to play YouTube from Firefox mobile with screen off (just interested in the sound). Now when I lock lid, it stops.. someone has an idea how to do it? . tryed tubemate, same...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] borgami:
Have you tried iytbp

https://xdaforums.com/android/apps-games/app-iytbp-injected-youtube-background-t3560900
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] jpph:
I am unable to install, it says apk is corrupted...

tried several links...

edit: used lucky patcher:there is a custom patch to enable background
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] melazik:
My bad, reinstalled rom - everything works great. Sorry. ThumbsUP for this rom!

Did you find the way to install magisk? it says restore boot room before installing on latest [MENTION=4399618]nijel8[/MENTION] rom
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] T.kum1993:
Dual sim ringtone working fine for me, tested with two Sims, dirty flashed :)

Mi max helium nijel8's LineageOS
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] liguangming1981:
Anybody else seeing very high battery use with the screen on on this ROM? I find it's good with the screen off (especially after installing ForceDoze and Greenify) but I'm getting less than 6 hours SOT (more than 15%/hour battery drain) with the screen on.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] jpph:
same here but not sure it is due to the rom. my mi max is getting old and I charged several time on hot place, used it a lot on car dashboard, so I am wondering if my battery worn out...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] parnz:
Hi [MENTION=4399618]nijel8[/MENTION] Is your helium device tree can be compiled with AOSP or whatever rom?

like....

setup build env.

check out AOSP

check out your helium's kernel

check out your helium's vendor

finally build.

Thanks.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] liguangming1981:
I can also confirm that the dual SIM ringtones are now working correctly with the most recent version of the ROM.

---------- Post added at 06:19 PM ---------- Previous post was at 06:17 PM ----------

I don't think it's a battery issue as I was getting much better battery life on MIUI recently before I switched over to Lineage. Also, AccuBattery says that my battery capacity is still near the factory specifications.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] sameermehta1977:
i just clean flashed so its a bit early but usingabout for 3 hours or so i dont see any battery drain,yes ringtones are working fine
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Not right out of the box since there are build flags specific for LineageOS and CAF which are not present in AOSP build system. As I see it you have to search in AOSP android/build folder (and others too) for the flags and if they are missing you need to find their alternative or make other changes to the tree to make those device features work.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Battery life is something very per usage thing. I too don't have great battery life but I know what's eating it and I am ok with that. I need those things... So if you are going to complain you better know what is causing excessive battery usage or you are not helpful...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] k4rn8g3:
You are right about that..

Especially Google play services.....
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] sameermehta1977:
working good,no battery issues,just a queation thou why does whatsapp keeps on giving as initialising status sometimes,this happened in davesRR also,is it app issue or something else i am seeing this very recently,i am on beta whatsapp

---------- Post added at 07:35 PM ---------- Previous post was at 07:19 PM ----------

i am using gapps pico,removed inbuilt exchange services,email client,weather service,jelly browser(cs browser),using k9email client ,facebook,messenger,whatsapp,all running in background,battery performance is fine and yes i did flash the zolla script

---------- Post added at 07:36 PM ---------- Previous post was at 07:35 PM ----------

i am using gapps pico,removed inbuilt exchange services,email client,weather service,jelly browser(cs browser),using k9email client ,facebook,messenger,whatsapp,all running in background,battery performance is fine and yes i did flash the zolla script

---------- Post added at 07:37 PM ---------- Previous post was at 07:36 PM ----------

i am using gapps pico,removed inbuilt exchange services,email client,weather service,jelly browser(cs browser),using k9email client ,facebook,messenger,whatsapp,all running in background,battery performance is fine and yes i did flash the zolla script

---------- Post added at 07:37 PM ---------- Previous post was at 07:37 PM ----------

appologies for multiple same posts
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
Don't flash that script it's depreciated. All do settings are the same they need to be applied from elsewhere, not in QC power init.

Won't repeat this...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] qazedc1212:
It seems that the FLAC playback issue has sorted itself out with the sync of lineage sources.

Great work on this rom [MENTION=4399618]nijel8[/MENTION]. The effort you put in this rom to make it stable, and enjoyable to the users is on par, maybe even better than the official lineage build roms.

Thank you so much for making my Helium Mi Max not useless.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Probably the new stable MIUI blobs, not Lineage source.

I still have problem with those samples, your flac and the ogg from another user. They play fine over bluetooth but not on speaker... the player freezes. Something is still wrong with mixer paths or adbd devices ids configuration. Those are still from some old MIUI dev. Have to check stable MIUI configs...

Edit: Found the cause: https://review.lineageos.org/#/c/175156/

With that prop problematic flac and ogg samples playback is fine on speaker too.

This fix will be in the next build...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] sameermehta1977:
thanks zolla,can you be more descriptive
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] liguangming1981:
It must have been a one-off thing, because I've since changed to balanced power mode (previously on power saver) and installed Greenify and my battery life has since improved dramatically.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] branja6:
On the latest build, when I receive a call the phone restarts. I'm using SIM2 and have tried to change the ringtone but it didn't work. Is there any other solution or I have to flash a previous ROM version?

P.s. I don't know how to provide a log. Sorry
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] qazedc1212:
[MENTION=4399618]nijel8[/MENTION]

What even weirder is that this FLAC plays properly without the fix.

https://www.mediafire.com/file/we871eyl2lwwn26/Snail's_House_-_Ordinary_Songs_3_-_01_good_day.flac

Other FLAC files face the same issue.

Also it seems like removing deep_buffer via magisk module would hotfix it. I'll try doing it and report back.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] oatcooky:
I had that happen twice too. Switching to another ringtone seems to fix things.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] sameermehta1977:
try changing the ringtones as oatcooky said,and if you Re using one sim only then put it in slot one and see
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
Power saving mode is broken, we discussed this previously.

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

Can't really be more then I already am. Either try to make it work as a init.d script, re write it as exposed setup file as nijel8 set it up or settle down with what you can apply with kernel auditor & similar, just don't use it as QC power init anymore. The interactive governor & core_ctl settings are the same as on that thread, neglect the rest.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] sameermehta1977:
ok thanks
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] afridi.shahriar:
I have a question to u.

Plz answer me.ok?

Question:

Why ur rom's base is so much battery friendly than other bases??

What does /

u use as cpu configuration??

Can u plz share it as a init.d script,so we can get ur battery friendly quality even on miui8 and other roms to???

(I use dualboot by the way)​
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] sameermehta1977:
[MENTION=807154]afridi[/MENTION] miui should not be helped in anyway they are paid for doing there work which they dont do,take a year to release updates and come up with ringtones ,themes and just cosmetic changes

my thoughts for miui for others developers can help

---------- Post added at 11:43 AM ---------- Previous post was at 11:42 AM ----------

i hate there update strategy,anyways this is not miui forum :) :)
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
Because basically we corrected sched config (up to CAF current) and patched it up (as much as possible). It's not as simple as init.d script only. Besides of that you can also use my recommendations regarding interactive scheduler & core_ctl as a plus which you can find in dedicated power performance thread...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] oatcooky:
Do you recommend using the stock settings in the latest release? Like with 691 MHz for little and 883 MHz for big core minimum speeds.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] afridi.shahriar:
Thanks for the reply.

Will it be solved on hydrogen miui8 eu roms/ other custom roms, if i flash this file??

https://xdaforums.com/attachment.php?attachmentid=4125951&d=1493124231

I mean, after flashing this, will i get battery friendly behaviour from the rom? (This file is made by u)
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Albertkuba:
Yeap problably but on miui then no more WiFi.

Enviado desde mi Mi Max mediante Tapatalk
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
Nope, recommendation is still min 400MHz for both with first relative load calculation brake at 1GHz & last one at 1.4GHz.

---------- Post added at 07:09 PM ---------- Previous post was at 07:00 PM ----------

No that QC power init script is deprecated so don't flash it on anything! You have the same thing written as init.d script (which you need to save as one & make sure it's applied) at the same thread. Even then you should use only core_ctl & interactive governor parts & not up & down thresholds.

Problematic grows as official lineage builds disabled core_ctl, nijel8 based ones have it as external (ko) module and I don't even know about others...

---------- Post added at 07:12 PM ---------- Previous post was at 07:09 PM ----------

Absolutely nothing to do with WiFi. Their whose (one of many) ping kernel mechanism bug (CVE) which is corrected on most builds. This is not a kernel but script only so it cannot brick any proprietary binary blob dependencies.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Albertkuba:
Don't know why but I've tried it some time ago on miui stock kernel and no way to turn WiFi on.

Edited: I was talking about the kernel no the script

Enviado desde mi Mi Max mediante Tapatalk
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
I am releasing early update this weekend and I hope reboot issue is fixed...

But if you still want to help by providing log:

- Connect phone USB to PC

- On PC run these command prompt/terminal commands:

adb logcat -c

adb logcat > path_to_some_logfile

- Make call to your phone from another phone or Google Hangouts from PC

- After phone receives the call and reboots, adb logcat will catch the bug and terminate, post that path_to_some_logfile log here
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
My dev rig started crashing randomly due to hardware problem. Can't make a single build without a crash which in return corrupts the incremental building process and I have to start clean again and crash again and again...

Updates are suspended until that thing is fixed and with my free time limitation I can't say when I'll be back running. Sorry, guys...:(
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] sameermehta1977:
ohhh,hope its fixed asap
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Debugged and as it turns out my 7 years old CPU running all that time overclocked @4.7GHz degraded...:( Had to turn it down to 4.0GHz to stop the crashes. Well, a bit slower but still above the stock 3.4GHz.

Anyway, back on schedule for tomorrow's update.:good:
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] troyinjapan:
This is a reminder to all of you who have downloaded the ROM in this thread to consider DONATING to nijel8 as another way to say, "Thanks." Then perhaps he can get a new computer! :good:
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] sameermehta1977:
well its good that you are back online :)
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] dtswk:
Are you in Australia? I can donate a builds server.