yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] TechExhibeo:
The Build he linked in OP Clearly says that he himself has compiled, it is on his Google Drive and his username is also mentioned on his zip.

And FYI "GPL" says you can use, edit any open source code but you cannot claim that you are the owner of that code".

And my only question is "Which sources are used in ROM Compilation?"

-TechExhibeo
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
Well you will have to ask him that your self.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
I always do share what I do... but not before it really does what it should do.

Source on github in a few... No anything special about it really... I even tested that same working mix last week and wonder myself how did I miss that working state!?:confused:

It's all compiled from Lineage OS sources with some fixes here and there, even submited some to their gerrit for review. Newest 7.5.1 miui blobs except GPS which are from TheMuppets... Everything is out there you just read and do trial and error till find what works.

BTW I am not a kid, I am probably older than most of you here...:)
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] TechExhibeo:
Yeah Yeah

I have asked in my first post here, now waiting for the links in OP ;)

Lets see

-TechExhibeo
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
In the mean time just for fun correct this:

https://github.com/rohanpurohit/neb...51cced79a620495f5fa31f#commitcomment-20433429

& check your own work litle more in the future.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] TechExhibeo:
Don't divert the topic dude.

That thing is open source to community that's why one can find derps and mistakes and community will help fixing those things.

I am talking about this thread.

Releasing without the sources is against XDA rules.

I need sources because I am NOOB and cannot fix the bugs that OP fixed

Thank You

-TechExhibeo
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] s_wheel:
I propose stop this discussion. Open source is open source! And a very successful compilation parts of codes from different open sources is the open source and is the hard work also! Who wants to be a great guru then he can lock own code.

Sorry for off-topic.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
Go grab it and let stay on topic...

https://github.com/nijel8?tab=repositories

Edit: Just noticed messed up commits with wrong massages on github... Something went wrong during upload... Will fix it later... Source is good thought...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] paarkhi:
Not that it matters anything but here's my antutu score
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] andjohn:
Vulkan is working great! This ROM just gets better!
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Franssen:
Thanks for the great work and update.

I dirty flashed this on previous version.

But GPS keeps saying no fix in the test program. Best to do clean flash ?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] mat9v:
Do you have hydrogen or helium? If the later, remember to flash the helium firmware fix.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
^^^^^^^^^^^^

Helium? Did you flash the latest fw patch with "GPS" in the name?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] ran011:
Gps working like a charm :))). One little bug: after each restart, default sim cards are changed, and always is random change :(.

Excelent job nijel8 for all other things on this rom

Послато са Mi Max
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] laolang_cool:
which model of max?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] mat9v:
That's why I left CM14 in the first place, after making some calls on a wrong Sim card and getting over 25$ charge for that :(
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Franssen:
I have hydrogen 32gb
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
No idea then. Backup, wipe and do clean flash...

BTW Location settings is not on battery saving mode, is it?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] pepfapeste:
Hey [MENTION=4399618]nijel8[/MENTION], we have to use it with or without core_ctl per-load hotplug driver? :o

Thx in advance
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
It shouldn't matter. I use 4+1 core_ctl.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] dj69holland:
Tried the qcom.power settings posted earlier with ZolaIII's 2+2 config. amazing so far... 9hrs over night just 1% drop.

will continue to check through the day how it handles everyday use.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] oatcooky:
I'm gonna need some help because I saw a 20% drop overnight after using these settings. Can you post your governor and scheduler settings? I'm also running BetterBatteryStats to figure out what's causing the phone to use so much power.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
Using which settings?

Something got stuck & let me guess it's from Google.

Use some app that can show individual not grouped processes (for system) like for instance 3C System Tuner. Identify & kill the process causing drain. If it persists after process is restarted automatically or after restarting phone try clearing cache for the app to which process belongs. If even that doesn't help well you may (if you can) either uninstall the app or disable it temporarily until update is available which resolves it out. Unfortunately you won't be able to do that with base integrated Google services (which usually are those making problems).

Lots of similar reports recently, looks like fat bottom girls (Google employers) screwed up again...
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] oatcooky:
Yeah, BetterBatteryStats shows it's a Google sync service. I've frozen all Google stuff using Titanium Backup except for Google Play Services and Google Services Frameworks. Let's see if that fixes things. I'm also trying Disable Service to see what can be safely disabled.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
Actuality that's nothing new & happens a lot. Simply disabling sync & then re enabling it should fix it. Also if you aren't lazy recommendation is to disable automatic sync & do it manually every 7~15 days (or use some app that can schedule the sync like that).
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Arti42000:
I've a little problem with the latest build

Every time I reboot my phone's clock set to 1970 year

It becomes normal when I'm connecting to internet, but I can't be connected to internet all the time, so I have to move clock by myself

Any logs needed?

Device - Hydrogen 3/32
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] FutureGamerz:
is this the right way to execute it? I executed using script manager.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] E90 Commie:
You can't really create a 20% drain with a script unless it would be something that never deep sleeps and constantly run the CPU at "full power". Those kind of drops are typically caused by Google Play Services and associated things.

There are a couple of things to do in order to avoid this kind of issue:

1. Disable auto sync. Yes, it drains a lot and could very well be the difference between 1% per 3 minutes with the screen on and 1% every 12 minutes (also screen on). It has to be disabled.

2. Use Tasker to schedule autosync at specific times. A task can run a three minute sync period at such times as 7 AM, 2 PM and 7 PM (the task just enable autosync between 2:00 PM and 2:03 PM, then switches it off).

3. Disable Location Services, especially Location History and Location Sharing since they are major drainers. Use Tasker to create "automatic GPS" - i.e. the GPS switches on when HERE or Google Maps open and then off again on exit.

4. Use Disable Service to disable all unnecessary Google Play Services "services". There are a lot of them that can be removed.

5. Use Privacy Guard and deny unnecessary Run in Background and Keep Awake permissions (I deny those for Google Play Services). There are other apps as well that have a tendency of sending off a lot of wakelocks. Identify them with GSAM Battery Monitor and deny the permissions.

By doing those steps the device will have an idle consumption of 0.0-0.1% per hour - stable and reliable, day after day. Since I started to do those things a few years ago I haven't encountered any abnormal drain or experienced loss of 20% battery all of a sudden.

I would also recommend replacing Chrome with the CAF/SWE Browser. It is faster, smoother and doesn't do a "lot of things" in the background.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
Great year regarding music. We didn't had that one for a long time but it did happened before.

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

It's not behaving like that, it just got stuck nor will it use performance cluster or at so high frequencies in the future (working on it). Ain't CAF/SWE dead? It lags in version so much behind mainline that it makes it depreciated at least regarding Google. It is still Chromium bases (as everything else [web view] this day's present on platform except Firefox based ones of course) so all do "performance optimised" I wouldn't expect much of a difference in task processing...

Best regards.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] oatcooky:
I had this problem a long time ago, caused a lot of grief when the phone would keep rebooting randomly in a nasty cycle. I solved it by flashing a full fastboot MIUI ROM using MiFlash, then flashing TWRP and Lineage back again.

As for the battery drain issue, I've disabled background running for Google stuff in Privacy Guard, disabled some services for Google Play Services (don't know which are safe to disable) and disabled auto sync. Looks like battery use when idle is dropping below 1% whereas it was double that before.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
You guys should start looking at logcat more often for bugs that no one else has... Most of the time the answer is in there.

Filter logcat for "QC-time-services" and you will see why time is not restored at boot.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] E90 Commie:
I use a CAF/SWE Browser with auto-update here from XDA and it receives relatively frequent updates. There are also the Tuga Browser. What keeps me from Chrome is my earlier experiences with serious battery drain to and from (I had one case where it used 40% over night) and sluggish performance. The CAF/SWE Browser flies on my device, even when I use it on my Xperia Z Ultra beside the Max.

If there are a newer optimized Chromium browser I would be happy to try it out. I use GelloMod as well and have switched a bit back and forth between different CAF builds.

This is the browser I use:

https://xdaforums.com/android/apps-games/app-code-aurora-s-chromium-swe-browser-t3603932

I haven't done further editing of any scripts yet but are using the one provided in the performance/power consumption thread. My device stays at 0.0-0.1% per hour in standy and I have noticed up to seven hours off the charger without any change in percentage.

I opened up the script using Root Explorer and will give it a whirl by simply editing the values after taking a backup.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
Well hopefully nijel8 will have it's unofficial Lineage with script parameters up for testing/usage up till weakened & I will make script public but just as a reference one as for parameters.

As you & everyone else may or may not know this script will only cower the part regarding the HMP sched tuning which represents only one of 3 elements that influence complete set of CPU tuning. Regarding rest of the tuning that considers the CPU governor tuning & hot plug (core_ctl) parameters tuning my recommendations remain the same as I wrote them before on power/performance tuning trade (with exception of overlaping part written there [which belongs to HMP sched Tunables] that actually are corrected now).

Best regards.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Arti42000:
Here is logcat, unfortunately, I still don't understand why this happening
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
This logcat doesn't seems right. Lot of critical info is missing like reading and writing to persist file, reading and writing to memory, send/receive modem mgs etc. You should take logcat right after fresh reboot and time not updated from 1970.

Do you have /persist/time/ats_* and /data/time/ats_* files present?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Arti42000:
Sorry, here is new
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
This one is ok and working, no errors.

Try wipe cache and dalvik. If not helping maybe it's time for clean flash!?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] oatcooky:
You have to clean flash in EDL mode to fix the 1970 bug. Apparently something went wrong in a previous flash that left the NVRAM partition for time storage inaccessible so it always default to Unix epoch 0 aka 1970. Make a backup of everything on /sdcard directory before flashing.

Run hwclock -r in a terminal to see if the correct time is shown.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] BenG7:
Hi

I am considering getting an helium mi max and Lineage (after cyanogen) is my operating system of choice for my mobiles.

I can see there is an official (?) hydrogen release on the Lineage website - is it the same as the one in the first post on this thread and therefore is it compatible with helium

what is the differences between the one on the site and the one in this thread please?

Thank you
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] jpph:
official lineageos is not compatible with helium.

this one is.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] BenG7:
Thanks JPPH.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Arti42000:
hydrogen:/ # hwclock -r

Mon Feb 9 23:40:57 1970 0.000000 seconds

Which partition (partitions) should I flash to fix this bug?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] oatcooky:
Same problem I had...

You'll have to download a fastboot MIUI ROM, the full set. I used an older version that allowed TWRP flashing without unlocking the bootloader.

Then you have to use MiFlash in EDL mode to flash 3D everything. Back up your data before doing this. The flashing will restore all partitions to default. After that, you can flash TWRP and then flash Lineage.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] oatcooky:
I'm getting high idle power consumption around 1.5% per hour. This is when I'm asleep, WiFi and Bluetooth on, email check active, WhatsApp and WeChat running. All Google Play APKs are frozen.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] facepainter:
Sounds similar to what I get, according to accubattery I avg 1.4% idle drain over the last week, that's with WiFi on and CPU's awake (I use tasker to disable the big cores and 2 little cores). Actually I find the idle drain on this phone to be quiet poor relative to other quad a53 phones I've had. My last phone average 30 mA compared to 60 mA for this phone. Screen on power usage is much better OK n this phone though, I think because the big cores prevent the a53's ones from spending as much time @ high clocks.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] oatcooky:
I don't know if it's an issue with the hardware, ROM or Google Play. I froze all Google Play related apks and I've gotten idle power to below 1%. I'm not using any Google apps for syncing so it works for me, but it's quite a drastic step.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] E90 Commie:
I don't know how you configure your devices guys but I am surprised about those complaints about battery drain.

My device simply stays at 0.0-0.1% per hour in standby and it is with the Zola III scripts from the other thread. It doesn't exceed those numbers (such as suddenly jumping up to 1% per hour).

Everyone with a standby consumption of 1% per hour or more should give PrivacyGuard, Disable Service and Tasker (schedule autosync) a go. I am afraid that freezing every single G-App while letting Google Play Services be unrestrained with autosync on and everything won't give too much help. The drain is mostly from Play Services.

AccuBattery on my device list approximately 123 mA drained during the last seven hours. That number involve a call I did with Google Voice for approximately five minutes.

I can't remember that I ever experienced any abnormal drain (to me 1% per hour is abnormal) on any of my devices after I started disable any unnecessary service from Google Play Services using Disable Service. Autosync off and periodical also make a lot of difference (it is the difference between loosing 1% every three minutes or 1% every tenth minute).

Disabling Location History and Sharing also make a lot of difference. Setting up auto location using Tasker and also configure it to only enable "High Accuracy" when Google Maps are used and "Battery Saving" when other apps are used make another big difference.

What I can say about my own Helium is that if I leave it "as is" without any measure taken it will join that "1% per hour club". I have noticed it myself if I flash with a factory reset and for whatever reason leave it before doing the power saving. After taking action: 0.0-0.1% per hour.

I am pretty sure that those who experience battery drain (above 0.5% per hour in standby, especially if it is above 1%) are using unrestricted Google Play Services, Location History and Sharing on and very limited (if at all) permission denial with PrivacyGuard.

Only if the device drain 1% per hour WITH all steps implemented would I start suspect something else but only after verifying deep sleep and double checking whether something is waking the device up en masse.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] facepainter:
I don't really mind the drain so much, I tried disabling location history and Bluetooth and wireless scanning but didn't make any noticeable diff. I think disabling WiFi during screen off would prob help a lot, not how I want to use my phone though(my 1.4% number includes some torrent downloading and media serving, without those I think my number would be below 1%)
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] HannibalLecter:
[MENTION=1547420]E90 Commie[/MENTION] how is the general performance with your settings? Does it lag? in google plus for example and other regular tasks?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] oatcooky:
Ouch, I spoke too soon. Even after disabling all Google Play Services and freezing all Google apps, my idle usage went up to 1.3% per hour overnight. This is with WiFi on, Bluetooth on, K9 checking emails every 30 minutes, WhatsApp and WeChat running.

Looking at partial wakelocks, it's only K9 that shows the most and it's during the mail checking period. Maybe radio idle has a lot to do with it because my phone on the bedside table has poor signal reception. The radio stack could be wasting a lot of power trying to grab a signal. I'll go into airplane mode tonight to see what happens overnight.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] soupboy:
Hey guys. Is there an easy way to move to the unofficial lineage from the official one without having worked wipe everything. Happy to clean flash if I really have to but shouldn't a dirty flash work?

I've tried flashing the most recent version over the top and it wont install. Not sure if I can enable something to try forcing a dirty flash?

Thanks!
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] oatcooky:
This ROM is like a drug... I can't wait to get my next fix/flash!

On it, thank you for the update, will report bugs ASAP..
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] E90 Commie:
I would recommend you to check AquaMail or BlackBerry Hub. Nothing against K-9 (it is a trusty classic) but I think it is a bit "old" in its interface. I have also some memories of it using a bit of battery (too much for my liking) back in the days (switched from it to AquaMail in 2013).

I forgot one aspect of my configuration and that is that I have my device on airplane mode when I have WiFi (due to me using Google Voice etc so I don't need to run the cellular radio at the same time). One option is to revert to 2G with the screen off in order to save power.

HSPA+ or LTE can become a drain if the reception is low.

One way is also to make a task for Tasker that automatically revert to 2G when WiFi is connected and then back to faster networks on disconnection.

Also check Background and Keep Awake permissions using PrivacyGuard and the Advanced tab. Periodical autosync is also a good idea.

---------- Post added at 07:30 AM ---------- Previous post was at 07:26 AM ----------

I think my device is smooth with my settings. I make a reservation that I am on RR 5.8.3 with Harfix 2.1 but my general summary of the performance is that everything runs really well, both with the Zola III optimizations and my own aggressive power management.

There's been no issues yet that I would attribute to "too aggressive" power savings even if there was a period when I went a bit too far. I think I have a decent balance now.

Everything is simply running the way I think it should run and there's nothing I would like to change about the general configuration. It... just works.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] HannibalLecter:
Changelog? Does this have all the wonderful things Zola and you were discussing about? You mentioned quite Subtly :P that they were tremendously awesome :P

You know I was so inclined to asking you about the impending update.

I knew it was coming today. I had my phone in twrp since last night because I was trying AICP and it was Not smooth enough.

Instead of flashing back to 12 june version I thought I will wait for today's update and Voila it is here. :P

There was a miui 7.6.15 update recently but they pulled it back I guess. Now the recent is shown as 7.6.8.

:D [MENTION=1547420]E90 Commie[/MENTION] thanks for your settings. I think I'll try them out on hydrogen as well as bacon. :P

---------- Post added at 06:36 PM ---------- Previous post was at 06:04 PM ----------

This ^
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] oatcooky:
E90 Commie:

Love your nick, not many people remember the E-series phones or Communicators. I couldn't afford the E90 when it first came out but the E61 and E71 were my main work phones.

Anyway, I'm using K9 because I like how it handles multiple accounts. The new Material-ized version looks good too. I don't have IMAP push on, only polling every 30 minutes, so it shouldn't consume much power.

On the other hand, I have 2 SIMs running: one on LTE/CDMA2000 with VoLTE, the other on WCDMA/GSM. WiFi is the main data bearer, mobile data is off. I think the problem is poor signal reception for both SIMs forcing the radio to keep searching for a strong signal. I'll try going to airplane mode with WiFi running to see if the idle figure drops.
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] rsrohit315:
Nijel.... ??? I asked u a question few days ago and still haven't received a reply

was my was my question

Why is it so difficult for others developers to add Volte support in their roms? helium user

Only ur rom has Volte support for Helium....

Can u please add substrates support in lineage for Helium..... Just a request
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] jpph:
just flashed. everything seems OK.

is there advantage to enable zRAM on a 4gb device?
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] ROMFACTORY:
can you please provide the kernel tree
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Zola III:
It's on nijel8 Github. Reed the first post!
[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] Newryt:
Great rom but any way to enable night mode and put the icon in the pull down notification area?