yashsingh1/xdaforums huggingface dataset:
[Nexus 5X Original Android Development] flar2:
I'm getting a lot of grief about this change :(

Sorry, but that's the way it has to be. You can disable the Battery Monitor to get rid of the notification. Or you can long press the notification and disable notifications from EXKM.

The problem is Android kills background services from time to time unless they have a persistent notification. I left it without the notification for a long time, but too many people were experiencing glitches with the stats due to the service being killed, so I had to add the notification. Blame the design of Android.

As a little background, the Battery Monitor has to be a service so it can register stats for screen on and screen off. It's the only way that I can have a receiver to reliably capture these events. It would be nice if I could just register the screen on/off intents in manifest, but this was abused by app developers a few years back so that capability was removed from Android. The notification thing is basically the same situation. Background services were being abused and using up resources, so Android forces you to have a notification present if you want to keep your service running all the time.

I didn't like the notification at first, but now I actually have grown to like it and I check it all the time.
[Nexus 5X Original Android Development] jugoslavpetrovic:
Just curious, what about widget with reading of batt stats and drain info?
[Nexus 5X Original Android Development] flar2:
Someday I'll get around to that
[Nexus 5X Original Android Development] :
[MENTION=4684315]flar2[/MENTION], hello, i saw this on PureNexus changelog as of 10/25: { Change: disable crc check 30% speed boost (5x,6p,6) }

is this already implemented on your kernel? sorry, i really dont know what this is! thanks in advance! :fingers-crossed: :)
[Nexus 5X Original Android Development] flar2:
I've been implementing that tweak for years. It's in all my kernels.
[Nexus 5X Original Android Development] :
sorry, my bad hahaha forgive me, my lord!! :silly::victory:
[Nexus 5X Original Android Development] giannism13:
[MENTION=4684315]flar2[/MENTION] Just a quick question does the nugat version of the kernel support exfat otg read/write? I remember that in marshmallow it used to, but ow I don't know if my ROM doesn't support it or its the kernel.
[Nexus 5X Original Android Development] AndroidDeveloperLB:
Thank you

---------- Post added at 08:12 PM ---------- Previous post was at 08:08 PM ----------

I didn't mean to upset anyone, and I don't know what exactly to search and where. Things tend to get very low level here, so even if I did find it, it might be nearly impossible for me to understand (sorry English isn't my main language, and I don't know many terms here).

Sorry that what I wrote made you so upset.

About SuperSU, I've flashed it a lot of times (together with a custom rom, like RR rom), but I don't think I ever saw the storage as being un-encrypted.

Only after wiping and using this kernel, it worked. But maybe it's because of the wiping and the kernel was only optional, as you say that SuperSu is enough for this.
[Nexus 5X Original Android Development] :
[MENTION=4684315]flar2[/MENTION], Google Pixel Kernel Governor so pixel is using a new governor, is it possible to be used by nexus devices in the future? :confused:
[Nexus 5X Original Android Development] nathanchance:
It was already added here as an experiment, it's the EAS governor. It did not work that well because it had to be backported due to the different Linux versions (3.10 here and 3.18 there). Google themselves tried and decided against it since it changes the entire core of the kernel.
[Nexus 5X Original Android Development] :
ooh, that is sad to read! :( so Google will just really abandon optimizing Nexus devices, eh? :rolleyes: anyway, hope we get something really good in the future :victory:
[Nexus 5X Original Android Development] nathanchance:
It's kind of hard to do when we are on a really old Linux kernel version (due to the nature of Qualcomm). We don't have access to the changes they are making upstream to optimize the kernel. CAF (Code Aurora Forum, who is largely responsible for the Linux kernel that runs on Qualcomm chips) tries to backport some of these features but it is not easy to do at all. The Linux kernel moves at an insane pace (at this point, it's 8 changes per hour, 24/7) so it's hard to keep up.
[Nexus 5X Original Android Development] fanta110:
Billion dollar company can't update 3.10 kernel on Nexus 5x to 3.18 what a shame.
[Nexus 5X Original Android Development] nathanchance:
Lol I mean it's not really a trivial task, if you have looked at how much has changed. Entire drivers and subsystems would potentially need to be rewritten due to the changing APIs and methods. In one version, they completely rewrote how locking worked, in the very core of the kernel.
[Nexus 5X Original Android Development] noolis:
Anybody tried with 7.1.1 developer preview?
[Nexus 5X Original Android Development] reyfista11:
I can't get rid of the notification even after disable thw battery monitoring service in the app.

Edit: it disappeared after a reboot. I hope it can disappear instantly.
[Nexus 5X Original Android Development] flar2:
It does disappear instantly.
[Nexus 5X Original Android Development] kojak1989:
For me it doesnt disappear at all, even after reboot, but stop battery service monitor work and turn off notifications in app permissions work too.
[Nexus 5X Original Android Development] flar2:
I don't see how that's possible. If you disable the Battery Monitor, the notification disappears.
[Nexus 5X Original Android Development] kojak1989:
After disable service monitor yes, but if i dont do that but in app settings i check hide notification its dont work even if i reboot my phone.
[Nexus 5X Original Android Development] flar2:
That setting is "hide from statusbar" or "show in statusbar" and determines whether the little battery icon appears in the status bar or not.

I think a lot of people are misinterpreting this. I will change it to "Notification Priority" and let you choose the priority.

You can't get rid of the notification unless you disable the battery monitor. Complain to Google, they force developers to show a notification for long running services. I ran it without a notification for a long time, but the stats would get screwed up because the system randomly kills the service if there is no notification.
[Nexus 5X Original Android Development] kojak1989:
ok thanks for your answer, i rid of it by turn of notifications in app permissions so service in on but notification is off :)
[Nexus 5X Original Android Development] flar2:
That works too, but you also won't receive notifications of kernel updates.
[Nexus 5X Original Android Development] kojak1989:
for now im on latest PN MM build untill he release rom with full OMS support on android N :)
[Nexus 5X Original Android Development] Flyview:
I actually like the notification as well, as I would constantly be entering the app to check the % draining.

[MENTION=4684315]flar2[/MENTION] a couple suggestions:

1) For the "Time spent charging" could you make it stop counting once it reaches 100%? For example if I leave it to charge overnight, I would like it to stop counting the time as spent charging once it's at 100% and just sitting there.

2) Save the stats to persist even through a reboot so you can keep a long running average.
[Nexus 5X Original Android Development] git-sims:
Just wanted to say how great your Kernel is. No problems at all and the phone is crazy smooth. Just bought the app to support. Keep up the good work and thanks for all the time you put into this. Cheers!
[Nexus 5X Original Android Development] ViRb3:
Just booted Chroma with ElementalX 1.00, thank you for the fast update!
[Nexus 5X Original Android Development] therealmarv:
Thanks for the QUICK update! Seems to work everything :)

Just want to check if this is normal, Android 6.0.1:

1. Installed twrp

2. Booted into recovery and flashed SuperSU 2.61 first. Then right after that flashed ElementalX with all default options (kept SELinux enforce enabled).

First boot: It rebooted some time after unlocking the disk with my pattern.

Second boot: Went through.

I just wonder why there was a reboot on first boot after supersu+ElementalX. Is this normal?
[Nexus 5X Original Android Development] zurih:
Everything works super-fine. Thanks!
[Nexus 5X Original Android Development] git-sims:
Camera not working for me.? Any suggestions?
[Nexus 5X Original Android Development] nathanchance:
Whoops, thought I was in a ROM thread... disregard
[Nexus 5X Original Android Development] flar2:
You provide no details, so no.

I'm guessing your rom and kernel versions don't match
[Nexus 5X Original Android Development] andresee:
Rom? Kernel ver? Info please.
[Nexus 5X Original Android Development] git-sims:
My apologies, I think you already answered my question. Running Chroma 12/6/2015 6.0. I haven't updated to 6.0.1 yet. I'll update and see if that helps. Sorry for the waisted post.
[Nexus 5X Original Android Development] gleggie:
Latest 6.0.1 kernel running flawlessly, thanks for the quick update!

Sent from my Nexus 5X (vzw)
[Nexus 5X Original Android Development] parthabhatta:
+1
[Nexus 5X Original Android Development] MEGAX91:
[MENTION=4684315]flar2[/MENTION]

any chance for GPU O.C ?
[Nexus 5X Original Android Development] Darkknight512:
With touchboost off I am getting an increase in screen on time of a little over half an hour. I have a habit of holding my finger on the screen when reading so my numbers are probably a little on the high side but still good.
[Nexus 5X Original Android Development] szucsgf:
I noticed about the same increase in sot. Turning off touch boost definitely makes an impact.
[Nexus 5X Original Android Development] flar2:
Doubtful
[Nexus 5X Original Android Development] linqdesires:
where can I set the touch boost frequency? I'm getting 1248/864 but I want it lower...

thank you
[Nexus 5X Original Android Development] flar2:
It can't be edited because it is from the perfd binary. What you can do is disable touchboost and mess with cpuboost and governor settings until you get what you want. All of these settings are available in EXKM.
[Nexus 5X Original Android Development] flar2:
Good news, wake gestures should be ready for wider testing tomorrow.

It will be like the old nexus 5, with some battery drain, but it's a feature I can't live without. I think it will be manageable.
[Nexus 5X Original Android Development] ourfear:
I am running Chroma 6.0.1 with superSU 2.52, just flash it via recovery or need uncheck "Enforcing" in the installer?

also I just want to use the interactive option, dont need oc etc... so just use the "express" setup?
[Nexus 5X Original Android Development] nathanchance:
You don't need to uncheck Enforcing. Flash in recovery and you can use express if you want but I prefer Aroma still.
[Nexus 5X Original Android Development] panamera2011:
Hi [MENTION=4684315]flar2[/MENTION], I'm using EX 3.07 with stock NBD90W Debloated by tupac4u. Since I upgraded to 3.07 it does not work anymore OK Google when the screen is off.

I do not understand if it's a problem 3.07 or if it relates to the last update of the Google beta.

Why do you think I have this problem? Thanks

EDIT: solved, the problem was caused by Dolby Atmos.

Nexus H791 using Tapatalk
[Nexus 5X Original Android Development] mcvanger:
Thank you for the update (3.08) patching dirty cow.
[Nexus 5X Original Android Development] philneo2:
Hello

Can i flash ElementalX-N5X-3.07 on DP stock 7.1.1?

Thanks ;)
[Nexus 5X Original Android Development] Midomad:
NO.
[Nexus 5X Original Android Development] philneo2:
Thanks ?
[Nexus 5X Original Android Development] thereal_bigjake:
I seem to be missing the download section in the latest EX Kernel Manager 2.91. Tried wiping data for the app but it's still missing [MENTION=4684315]flar2[/MENTION]
[Nexus 5X Original Android Development] manpildo:
Agreed, I didn't like it at first but this is actually the first persistent notification ever that doesn't give me an allergic reaction and make me block it instantly. Much easier than to open the app all the time.
[Nexus 5X Original Android Development] flar2:
Did you mod your phone to use the Pixel Launcher or some other mod to build.prop?

A lot of people are missing the ElementalX tab because of that
[Nexus 5X Original Android Development] peltus:
It's good to hear that I'm not the only one who's a bit OCD in checking their power consumption all the time.

I agree completely with your statement. Usually quite allergic to persistent notifications, but I really like this implementation.
[Nexus 5X Original Android Development] thereal_bigjake:
Yeah I did for a couple days last week so I could theme the assistant and then switched back.

---------- Post added at 08:52 AM ---------- Previous post was at 08:36 AM ----------

Both my flo and Hammerhead have modified build prop to use the Google assistant and both still have the download section.
[Nexus 5X Original Android Development] flar2:
The 3.08 update patches the Dirty Cow vulnerability
[Nexus 5X Original Android Development] hilla_killa:
Any chance of mm security updates? I feel mm runs perfectly compared to n for me i had to switch back!
[Nexus 5X Original Android Development] Mesmurized:
I agree. Was just about to ask the same thing. [MENTION=4684315]flar2[/MENTION]
[Nexus 5X Original Android Development] peltus:
Edit: wrong thread sorry.
[Nexus 5X Original Android Development] :
hello, I know it's off-topic but does anyone know if AdAway (replace 'hosts' file with 2mb size) slows down phone performance? really cant see if it does or not. thank you in advance!! :fingers-crossed:
[Nexus 5X Original Android Development] qu4nd:
It doesn't.
[Nexus 5X Original Android Development] kojak1989:
I agree i do this too :)

---------- Post added at 08:58 AM ---------- Previous post was at 08:57 AM ----------

1.20 version is the latest one for latest MM build :)
[Nexus 5X Original Android Development] fabio000:
I remember that back on lollipop on the original Nexus 5 we could flash the first MM versions of the kernel without any issues

Does the N version works on MM?
[Nexus 5X Original Android Development] SlimSnoopOS:
Nope. I think there were auto rotation issues when folks flash 7.0 Ex on 6.0.
[Nexus 5X Original Android Development] santadomingo:
Hi Guys!!

Works the 3.0.8 on 7.1.1?Thanks for answer

OK i read That no kernel Works in IT!!
[Nexus 5X Original Android Development] zurik:
Kernel source for 7.1.1 not released yet, so the kernel will not work on 7.1.1.
[Nexus 5X Original Android Development] vasili_defy:
I am using it on 7.1.1
[Nexus 5X Original Android Development] panamera2011:
With this kernel camera work in 7.1.1? Thanks

Nexus H791 using Tapatalk
[Nexus 5X Original Android Development] vasili_defy:
Yeah
[Nexus 5X Original Android Development] kimikim0:
no
[Nexus 5X Original Android Development] Midomad:
Are you sure?

the camera is dark if you use it and it's not recommended since kernel source aren't out!
[Nexus 5X Original Android Development] :
what's your font? :)
[Nexus 5X Original Android Development] vasili_defy:
This one .:)
[Nexus 5X Original Android Development] Sifi1310:
If u flash the vendor.img from the latest 7.0.0 factory image (found on Google's developer page) onto 7.1.1, then the dark camera issue will be solved
[Nexus 5X Original Android Development] kimikim0:
interesting ...
[Nexus 5X Original Android Development] vasili_defy:
See this
[Nexus 5X Original Android Development] RusherDude:
[MENTION=4684315]flar2[/MENTION] one doubt: about the Safetynet issue, some kernel devs are changing some variable checked by safetynet in order to detect if the bootloader is unlocked (or something like that). The trick is apparently deleting this variable to make it seems like it is a device running an old version of Android, skipping the check altogether.

Have you intentions of impementing this trick into ElementalX? or it's done already?

Thanks!
[Nexus 5X Original Android Development] flar2:
It's done
[Nexus 5X Original Android Development] RusherDude:
Sick!! when did this happen? totally missed it :laugh::laugh::laugh:

What versions include this? I guess its the "verified boot patch (@sultanxda)" change for N 3.07 version, so no version with MM will get it? :(. I understand N is the new thing, but for those waiting for xposed sux :(

Thanks a ton mate! no wonder I keep with elemX lol..
[Nexus 5X Original Android Development] aamir123:
Just looking for direction, I'm getting high idle and active drain overall. Idle drain overnight was 0.5% but after 22.5 hours it's more around 1.7%/hr, steadily climbing up. Active drain has been from 18-21% beginning to end. Held awake time is high but almost all is kernel wake lock. Any help would be appreciated. I'm on stock settings, latest version, pure Nexus. Same type of values on stock ROM.
[Nexus 5X Original Android Development] Flyview:
Chances are your "idle drain" seems high during the day because the battery just happens to drop a percentage or 2 very soon after turning the screen off, but really it's because of the screen-on activity that it did so.

I tried underclocking both clusters, didn't see a real difference. Does turning off the big cluster help the battery use at all? I notice the phone automatically does this at <=10% battery life, so it should help.
[Nexus 5X Original Android Development] Midomad:
Unless you have the last 7.0 vendor.img it takes dark pictures, and video recording does not work. So, no don't confuse people!
[Nexus 5X Original Android Development] :
is it just on my 5x or ex kernel app lags when choosing from navigation drawer? the latest update, 2.93. it was smooth on 2.92, btw. not really complaining but i wanna know if i did something bad or not. thanks in advance! :)
[Nexus 5X Original Android Development] folgore95:
Hey guys, how is your cpu battery? How much C°? Me: 44-50. Is this normal? Can somebody send me best set-up for saving battery? Thank you

I'm not able to upload pic now, i don't know why. Here is my CPU screen on github screenshot
[Nexus 5X Original Android Development] Flyview:
Im here to report on my results from turning off the big cluster. Surprisingly I was able to achieve 7.5h of SOT, whereas before I had never even cracked 5h.

Screenshots of battery charts and ElementalX settings attached.
[Nexus 5X Original Android Development] Whyte The Weeabear:
Anyone experiencing problems with the fingerprint scanner? I'm running EX Kernel, HawkTail 1.2, with PixelMod ROM.

I've been using HawkTail and PixelMod for a week now, and no problems. I only just updated to ElementalX 3.08 this morning, and noticed it now. Is it safe to flash the previous version onto my current version, just to find if EX Kernel is the troublemaker?
[Nexus 5X Original Android Development] cwerdam:
How do you put the cluster offline? and what profile are you using?
[Nexus 5X Original Android Development] folgore95:
Maybe a rom problem. Did you clean flash rom?
[Nexus 5X Original Android Development] HpNoTiQ:
Hi,

I've built the 1.20 kernel from source (including SultanXDA) and it is available here :

https://mega.nz/#!ux0wzRwB!eFXyATCzGBP8OHuSzkRtmnlOwaHFj7z7xiU5819a9H8

I'm using it with sucess to bypass safety net.
[Nexus 5X Original Android Development] folgore95:
Guys can somebody link best setting for battery? Maybe to get 7.5/8h of SOT without using games. Thank you!!))

---------- Post added at 12:37 PM ---------- Previous post was at 12:34 PM ----------

EDIT: somebody is using this ?

http://xdaforums.com/showpost.php?p=68330029&postcount=4418
[Nexus 5X Original Android Development] SlimSnoopOS:
This kernel is only for 7.0. There are no 7.1.1 bug reports since flar2 can do nothing to resolve them without kernel source. There are multiple issues running with 7.0 kernels on 7.1.1 dev previews, including camera and tethering potentially being broken.
[Nexus 5X Original Android Development] Flyview:
By turning off cores 4 and 5 in EX Kernel Manager app. The governor is in the screenshots, ElementalX. Has anyone else tried this?
[Nexus 5X Original Android Development] zurik:
Bug report:

•sometimes n5x freezes and reboots itself after a long hours in elementalx 3.08 nougat 7.0 with mbd90w patch. When it reboot after a few hours again ....
[Nexus 5X Original Android Development] flar2:
You need to post the last kernel log. But I'm confident the kernel is stable. My wife's 5X runs for weeks without reboots.
[Nexus 5X Original Android Development] zurik:
I don't know if this is one. I made a logcat of last_kmsg[.]txt but a few minutes ago I have installed other kernel on my device and then I made a logcat with EX kernel manager.
[Nexus 5X Original Android Development] Cronus89:
Anyway you can add the Safetynet bootloader patch to the MM kernel? Still waiting on PN to get the nougat rom fully feature rich as the MM one is. I really don't want to switch to another kernel since you put that patch in nougat already.
[Nexus 5X Original Android Development] hilla_killa:
I can say ive never had a random reboot on my 5x with this kernel! Happy to say! ElementalX is the ****!
[Nexus 5X Original Android Development] HpNoTiQ:
Search a few post back... I've compiled it!
[Nexus 5X Original Android Development] flar2:
If this is the log from the crash, it was not due to the kernel.
[Nexus 5X Original Android Development] folgore95:
Guys which is the best gov cpu for battery? I'm using GlassFish but i'm not getting a lot of battery.
[Nexus 5X Original Android Development] peltus:
What is a lot according to you? What screen on time are you getting?

What rom/kernel are you on? Did you disable touch boost?

What are you doing with your phone?
[Nexus 5X Original Android Development] folgore95:
Хз

4h SOT, like stock. I'm on 7.0 stock with root + last EX kernel. No i didn't disable touch boost. What is that? Simple playing music and chat.
[Nexus 5X Original Android Development] joetheshmo:
If you like the sot you get with stock just use stock lol
[Nexus 5X Original Android Development] folgore95:
Did i wrote wrong? Maybe. 4SOT like with stock kernel. I flashed EX for getting more SOT.
[Nexus 5X Original Android Development] airon11:
Hi [MENTION=298610]Flar[/MENTION]...something strange is happening with statistics on latest version of exkm...

I have the screen on time in your app statistic not equal to system statistic and also to gsam battery monitor...

I rebooted the phone this morning connected to power cord ..the unplugged...and now i have 14 hours on with 3.49 hours sot in your app and 14 hours on and 3.20 hours screen on in gsam and in android system battery info...

All the stats are since fresh boot and full charge..so don't know why your app is taking a different sot...and maybe what's wrong...

Just wanted to report that.

Thank you...
[Nexus 5X Original Android Development] peltus:
Touch boost is a feature that sets your cores to maximum frequency whenever you touch your screen. So when your chatting, you CPU is running at high frequencies mostly all the time.

If you want battery savings from one of the profiles, touchboost should be turned off always. There is a toggle in exkm for that when using ex kernel.

4 hours sot isn't that bad actually, but with the profiles and your usage you should be able to get to 5 hours i think.
[Nexus 5X Original Android Development] SlimSnoopOS:
If I understand you correctly, EXKM includes the screen on time while charging in the screen on statistic. Other apps stop reporting screen on time while charging. That is how this app works.
[Nexus 5X Original Android Development] folgore95:
Ok so i'm using gov. Settings: GlashFish 1.2 and in cpu settings i disabled touchboost. Should i do more?
[Nexus 5X Original Android Development] peltus:
After setting the profile be sure to hit the apply on boot toggles on the governor settings. Also apply on boot under the cpu boost options section: input Boost Frequency and Input Boost Milliseconds.
[Nexus 5X Original Android Development] Flyview:
Actually this isn't the case, I just checked. EX Kernel Manager does not count the screen on time while charging. I've seen a discrepancy as well but it's usually pretty small.