yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
USA... No need but thanks! I'll get new CPU when I get a chance.

It was a good experience debugging this failure. First it broke my Linux install, couldn't boot UX for whole day. Backed up all sources from console and was ready to do new install when tried one last thing which fixed it. Phew... Build environment saved.:D

The interesting thing is I moved/added some more HDDs to the rig when this thing happened so I thought it was a bad disk. Did few intentional crashes, collected some logs but... Couldn't catch it in Linux so had to install Windows, make it BSOD and analyze memory dumps. Found out it wasn't disk error but one of the CPU cores wasn't responding on time to interrupt requests for system clock update causing spontaneous reboots.

Slowed down the CPU problem fixed... for now...:D
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] dtswk:
Adding drives increases heat and strain on the power supply you might find you have dropped voltage on 5 or 12v rail. ;). Or maybe just the extra heat causing issues.

Glad you are sorted. :)

Matt
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
In Linux it could crash even on light load, on Windows it had to run full load for a few minutes to crash. And it was 100% repeatable, same core failing at the same instruction every time.

It was definitely core degraded issue. CPU temps never went over 65C during crash tests, voltages were looking good too. Didn't see anything abnormal regarding everyday working conditions from before.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Jovicom:
Thank you for this great rom,

I wanted to ask you a favor, is there a possibility that you put the feature Record Screen and also that you can customize the back button? I can only customize the Start and recents buttons.

Thank you for all.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] k4rn8g3:
Pls bring back gello browser in this rom..

Or atleast tell me how i can download latest apk...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Updated
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Jovicom:
Thank you nijel8, you have possibility of add this features?

Thank you.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
If I don't answer there must be something wrong with the question...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] alexx_kidd:
Great rom, the best out there!

I have a question. Is it possible to make the pixel HDR+ camera that got ported today work with our device, and this rom? It is working on redmi note 4, and apparently it does wonders, day and night difference in picture quality
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] T.kum1993:
Clean flashed, don't know why the phone soft rebooted twice while settling up the apps until dad came home asked me why am I not picking up his call lol, changing ringtone fixed it I hope
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Don't keep repeating same question over and over...

That screenshot I posted is from the Lineage own built-in Recorder app. Have you bothered to check it out? It records audio or screen with/no audio.

Back button is reserved for dev stuff like long press to kill app.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Jovicom:
Gracias majete. ;)
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Well, that wasn't fixed apparently so after your feedback I replicated the issue and it's fixed... for good... for the next update. No more "finger crossed"...:)
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] qazedc1212:
Unfortunately, the newest build didn't seem to fix the FLAC/OGG issue. I will try testing a clean flash when I am home.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Yes it did, all flac and ogg samples from users I have(including yours) that didn't play before are playing fine now with stock Eleven player and that's all I care.

You must be doing/using some weird stuff...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] ioy:
As I observe it, Automagic has the most frequent problems with Accessibility rights toggling OFF itself. After reenabling it Automagic complains about some its services not properly running, and I must restart the whole application again and toggling its accessibility rights ON either.

Please, try to say precisely which folders, files, in data partition may pose conflicts. Prefer removing them manually, in such discriminate fashion, before flashing ROM new version, instead of to nuke everything.

Please, I've many precious configurations of many very original applications (which don't have reliable backup/restore mechanisms, even with tools like TitaniumBackup) and wiping them seems a nightmare! ;)

HELIUM, LOCKED bootloader, [ROM][UNOFFICIAL][7.1.2][HYDROGEN/HELIUM]LineageOS 14.1
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] andjohn:
Do you seriously think people know this? That's specifically why they say to clean flash because anything you install or use can potentially crash on a reflash.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] ardas:
Last Nijel ROM antutu test.Thanks
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] dmitriypavlov:
I still have soft reboots on incoming calls (when active SIM's ringtone is not set). Any advice?

The ROM is great, this is my first problem in 15 releases of it, thanks.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] brooklyn2001:
Hi nijel8!

Could you add automatic call recording function?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] pawwaap:
And could you install ACR or any of multitude other call recording applications?

And yet, anything warning half a minute or so before shutting the system on battery empty. As BatteryShutdownManager Xposed module does (but Xposed is in alpha state for Nougat yet, this is why earnestly asking for such feature built in, it's very needed).
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Read, please... at leas last couple of pages...

https://xdaforums.com/showpost.php?p=73402581&postcount=2967
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] ioy:
And a little bit maybe people could point which folders and files (in data partition) could pose a conflicting problem. In fact I can delete everything but the few applications' stuff, and the problem is I need precisely know where these applications write their data (except the usual /data/data/)?

And even if do factory reset, there is still Android folder on the internal storage, do you think it could make conflicts (or other folders, especially beginning with '.' on the internal storage) and do you recommend wiping everything from internal storage too?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] andjohn:
The reason I posted this is that anything could conflict. You think they'd have a process if it was just a couple things. So, do what you want.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] qazedc1212:
[MENTION=4399618]nijel8[/MENTION]

Strangely enough, the logcat displays ffmpeg having troubles decoding the flac or something.

Even after fresh install, it doesn't work on helium. Really weird.

Tried on both players (BlackPlayer and Eleven)
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Updated...

OTA support added. From now on if you configure Settings > About phone > LineageOS updates to check for ROM updates automatically you will be notified if new release is uploaded to AFH. Pressing the [DOWNLOAD] button for that update will open the AFH page with the download link.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Andy4Shurr:
Strange then... I flashed the MIUI8 android7 global before this and had the opposite experience. Did you clean flash this ROM?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] i04055:
I also flash android 7 Miui 8 global before this via fastboot from Lineage OS initial release, and also experience difficulty on getting into LTE network, even in LTE Only it cannot get into LTE.

Then i decided to flash this latest release of Lineage OS via TWRP, clean install, because i don't experience any issue with LTE network on the initial release of Lineage OS.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
ROM updated
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] laolang_cool:
something wrong in helium zip files, update-script file:

ui_ui_print(" by");

it should be

ui_print(" by");

:cowboy:

---------- Post added at 08:56 AM ---------- Previous post was at 08:55 AM ----------

could you please make helium fix files for other roms like tesla/validus? ;p
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] i04055:
can i just edit updater-script manually, than try to flash again?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] laolang_cool:
yes, you can.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] cmk7128:
Very good update, nice to see January security patches included. Thanks for all your hard work.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
FIXED!

Thanks for letting me know.

Sorry, but I am not going to mess with ROMs I don't know.

Cooking fix which I hope will bring up H+ icon in status bar for those who don't have it right now... We'll see how it goes... PM me if you want to test it before goes out.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] i04055:
I have flashed lineage-14.1-20170113-UNOFFICIAL-hydrogen.zip, but in android setting -> LineageOS Version is still 14.1-20170107. Is it a typo?

Btw, is there anyone who can give me link to LineageOS 14.1-20170101 and the helium vendor file? I wanna try to revert back to that version, to check if my problem persist.

thx before....
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
No, I just forgot to update helium build.prop in vendor_update zip... fixing it...

I miss little things a lot I guess...

EDIT: Fixed... Redownload and flash lineage-vendor_update-HELIUM_GPS-MDG-7.1.12.zip
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] i04055:
Thanks...

But i need LineageOS 14.1-20170101 to check if my LTE problem persist, or just in newer release...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Shoot, I don't keep anything old... Sorry...

Maybe somebody here does?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Skalexs:
I do, will upload it asap

---------- Post added at 06:59 AM ---------- Previous post was at 05:59 AM ----------

https://mega.nz/#!ClBAxSyY!ueNYLeUeRTytQCL1Blx0LKVbtPfxq8z1s6KTVxm3ITo

;)
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] i04055:
Wow... Thank's mate... I'll download it soon...

Do you have the fw vendor update 8.1.6 for helium too?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Skalexs:
https://mega.nz/#!OhQ30TbB!hUWurkKywUMkVzgF8jOCo0NcThWJIGvp8mKleHQ8abI
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] i04055:
Thank you mate, i really apreciate it....
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] barome:
Thx for your hard work [MENTION=4399618]nijel8[/MENTION] !

No new firmware for hydrogen ?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] laolang_cool:
could you give some hints which files do related to the camera? the old helium video fix replace files on system/etc/firmware, I think there should be more files in other dirs, right?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] panyan:
From RR5.8.0,TWRP 3.0.2, i wiped and then flashed:

1)firmware-HELIUM_MDG-7.1.5.zip

2)lineage-14.1-20170113-UNOFFICIAL-hydrogen.zip

3)lineage-vendor_update-HELIUM_GPS-MDG-7.1.12.zip

4) gapps

So far, loving the rom!!!

but missing the H+ icon in statubar
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] jpph:
Qq, for dirty update on helium from same rom, I flash rom + GPS update then clean dalvik cache. Do you also flash gapp?

---------- Post added at 12:50 PM ---------- Previous post was at 12:36 PM ----------

Got error 6 trying to apply helium firmware (GPS update was fine) ...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] T.kum1993:
It says no mirrors found for helium
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Found me 3:

primary download

mirror: (Europe) Germany

alt download mirror

mirror: Quebec, Canada #3

alt download mirror

mirror: Quebec, Canada #4
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] troyinjapan:
I downloaded and successfully updated my Helium version 30 minutes ago.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] mandarthedon19@gmail.com:
I also see no mirror:(:(:(:(

Ok after browser refresh I got mirror. Now downloading Helium.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] T.kum1993:
It wasn't showing before now it is
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
AFH was acting weird for me too. I had to clear its cookies and log in again to let me upload the new builds...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] raikko5:
:)

u will upload again.. or.. upload.. the new update built?:D

# just finished download.. the latest built..... a few minutes ago... hahhahahaha..
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] sameermehta1977:
downloading....
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nejcov:
Just installed latest build, but there is no LineageOS updates in Settings > About phone. Maybe because I am not in English UI? ( Dirty flash from last build)
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] sameermehta1977:
why cant i install viper without setting se to permissive,on other roms i can do it,i fails to aquire root permissions for installing driver on this one,any suggestions

---------- Post added at 01:38 PM ---------- Previous post was at 01:37 PM ----------

i have enable root for apps in dev options
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] qazedc1212:
Viper is working properly for me on enforcing, try flashing viper with viper4arise?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] sameermehta1977:
thanks friend i faced the same issue with official RR and changed some permissions to get it working on that ro so probably thats a reason it was not working on this rom
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] qazedc1212:
I found the problem with my FLAC playback. Apparently Viper4Arise/Viper4Android wasn't playing well with it, so once I removed it, it worked again.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
That junk again...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] qazedc1212:
:silly:
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] E90 Commie:
That "junk" has always provided great audio quality on my devices. Just saying and it is my two cents here.;)

One alternative to the "junk" is the Sony audio enhancement including DSEE-HX.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] oatcooky:
I've been getting weird GPS-related issues with the past 2 releases. Turning on Location services in Device Only mode works for OsmAnd and Google Maps but High Accuracy and Battery Saving modes don't work. It seems like Google Location Services isn't working at all for other apps as well.

I've only done dirty flashes for the past few releases and I always use the latest Opengapps pico release.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
It's about how apps are coded(permissions). Google Maps has all 3 - GPS, Coarse and Fine locations permissions and works in any location mode. I have app without GPS permission and it works in high accuracy and battery saving modes but not in device only. See the pattern?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] k4rn8g3:
Once i enable root access in dev settings.. i am uncertified in the play store app..

How do i make it certified again..?? (If possible without magisk)

Also how to make WhatsApp not show the custom rom dialog in the starting.. ??
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] oatcooky:
Nah, it's like this:

Google Maps:

High Accuracy - doesn't work

Battery Saving - doesn't work

Device Only - works only if I have Osmand running previously for first fix

Osmand:

High Accuracy - works

Battery Saving - doesn't work

Device Only - works

A lot of apps that depend on Google Location Services like weather apps also don't work. I don't know what's going on because I never touched any location or AGPS settings.

Maybe it's time that dreaded clean flash again.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Maps works in all modes for me. It complains in device only mode the first time but works. Try different gapps maybe?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
Yup ViPER4Android is probably only sound enchantment worthwhile of playing with. Whose playing with ASIO on a PC last couple of days (so not really following discussion around hire) and it's a only thing (even on a PC) that really can fallow the loo latencies of Flac and Opus. Found out a multichannel plugin in a direct show form so suitable for most video (M. M.) player's for the music Foobar2000 and ASIO plugging for it do the job fantastic. Hire is a link for DS plug if someone is interested: http://blog.familie-buchberger.at/2015/12/15/multichannel-directshow-asio-renderer/

Enjoy & see you.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] oatcooky:
I tried the latest Opengapps package and Battery Saving location services still doesn't work.

Maps works only in Device Only and High Accuracy. In Battery Saving mode, it puts my location way out in the middle of the ocean. Weather apps like Wunderground can't find a location at all.

Guess it's clean flashin' time...

Edit: clean flashing fixed it, now all location settings work. Nothing like a clean flash to flush the bugs away.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
Well as the "battery saving mode" is actually a network triangulation positioning many people would actually pay for that bug... Good old days when you could simply switch off GPS & that whose it.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] oatcooky:
I guess something completely killed network-based positioning before I did a clean flash. It's not a cool bug, I was driving and using Google Maps for navigation when a call came in. After the call ended, Maps lots positioning and stopped routing. I had to stop by the side of the road to get a position fix using Osmand before switching back to Maps.

Anyway, it's all fixed now.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] oatcooky:
Hey Zola, there's something magical about your old governor settings and this current release: I'm getting 5% per hour of active battery use with Bluetooth on, WiFi on, VoLTE on but mobile data off. That's a big drop from the 8% previously.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] :
Zola, Can I please get the link of battery savings settings in zip format pls.

I am getting lesser battery backup. Device Hydrogen.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] rsrohit315:
Sir, can u please provide ur battery saving zip [MENTION=423285]zola[/MENTION] tweaks for Helium zip... Thanks
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
It's not hocus pocus magic tricks just now damn HPM Scheduler works as intended as I stated already It never whose a problem with my tuning. Interactive settings actually has a very long history (like that) 4+ years back...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] oatcooky:
Anyone here use Tasker? I'm trying to set a profile to switch between LTE and 3G based on location.

Some of my work sites have very spotty LTE reception so I would prefer to use 3G to save power instead of having the phone constantly switching networks. Tasker's own 2G/3G toggle doesn't seem to work - I run it but nothing happens. The Lineage system profile manager lets me add a new 3G-only profile but Tasker can't trigger it.

It's a pain to manually switch system profiles, especially when there's no quick toggle for it either.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] sameermehta1977:
well i dont know if this would be helpful but in some roms i have seen swtiching to differwnt netqork mode under suspend actions option,i dont remember if this rom has it

It's a pain to manually switch system profiles, especially when there's no quick toggle for it either.[/QUOTE
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] oatcooky:
Well, whaddya know, there's a free app called Profile Shortcuts which creates system profile shortcuts for CM/Lineage ROMs. It even works with Tasker so now I've got a Tasker profile that switches to 3G only mode when I'm at a certain location. Sweet stuff.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] andjohn:
Nic'in for a new build! :) Just love this ROM, thanks OP.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] k4rn8g3:
How to get rid of the secure boot feature and the force encryption in this ROM ??

Atleast tell me a way to change my encryption password ...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] DeMetaal:
So I have a question for you guys. I recently updated my phone to the newest ROM (0816) and I did a clean install. All seemed to be working just fine. I had no problem with the dual sim ringtone problem which I read about in this thread. But for some reason my GPS isn't working as expected.

I like to play Pokémon go (don't judge) but it keeps saying GPS not found.

However, if I go cycling and I activate an activity in Mi Fit, it has no problems locating and drawing a map. Google maps also has no problem locating my phone.

Does anyone have an idea where the problem might be? It worked fine with the previous ROM (I think it was 0408).

I'll probably try a new install tomorrow, but I hope someone can come up with an easier fix.

Oh and Nijel8, keep up the great work! Much appreciated!
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] florian83260:
Hi, I'd like to test this role but I'm not sure what shall I do.

I'm downloading lineage-14.1-20170816-UNOFFICIAL-helium.zip and I'll install it but shall I download and install firmware-HELIUM_MG-8.5.1.0.zip ?

Thank you
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
None of these are present, this is not MIUI...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] SakitJiwa:
happend to me too

I just restart the phone then gps fix again

maybe because I traveled the different time zone

edited:

timezone doesn't matter, I traveled over 500km the gps still lock last time I visit location

I just noticed when I ordered uber cannot determine where I was :confused:

restarted the phone gps fix again, temporary fix just restarted the phone
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] k4rn8g3:
It is there..

Once u start setting a password or pin for ur lock screen in the initial setup wizard, it asks for "secure boot" which then asks for the password/pin before booting to android and then when I change the lock screen password .. The encryption password stays the same and I cannot remove/change the encryption password under settings....

I solved the problem by skipping the encryption password in twrp and fully clean flashing the ROM without setting the password/fingerprints in the initial setup..

Then I set my pin as I like in settings and skipped the secure boot option..
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
You know better
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] k4rn8g3:
Thanks ...

FYI this is a (known) bug in lineageos and is (maybe) not present in aosp roms.. If possible plz try to fix this issue with encryption and decryption...

Will be always eager to try ur builds !!

:good:
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
What's wrong with encryption/decryption? Last time I tested it everything was fine with both default and user passwords, even decrypting MIUI encrypted data.

And don't say FORCED encryption. No custom ROM is forcing encryption or secure boot on you. Only MIUI does. It's insulting...