yashsingh1/xdaforums huggingface dataset:
[Nexus 5X Original Android Development] ulxerker:
PM is not so cool as this might be interesting for others, too. :)

---------- Post added at 18:53 ---------- Previous post was at 18:50 ----------

Its working for me, too. At least I can tell that disabled CPUs and modified frequencies stick when apply on boot is set.
[Nexus 5X Original Android Development] AndroidDeveloperLB:
Current version of this kernel doesn't support Android O, right?
[Nexus 5X Original Android Development] qAnAthemA:
Try it!
[Nexus 5X Original Android Development] mikeprius:
I have DP1. Let me know if you try EX lol
[Nexus 5X Original Android Development] michelemascia7:
Is possible to set the night shift like Franco kernel? I have the ElementalX app, can I apply the color like the mod in Franco kernel? Thanks
[Nexus 5X Original Android Development] flar2:
I don't really want to add this to the app, why not use one of the apps that does this already?
[Nexus 5X Original Android Development] michelemascia7:
You are right, but having all in one app it would be better for me. Thanks anyway
[Nexus 5X Original Android Development] AndroidDeveloperLB:
I've tried it now.

It works, but.... I think it caused issues:

Both SystemUI and Gboard have crashed on beginning, and pressing on any of the buttons in the navigation drawer (settings icon, for example) didn't do anything for about 5 minutes, and now it works fine.

In addition, I think connecting the device to PC doesn't allow me to see the device in the "my computer" path...

Really not sure if it's because of Android O or the kernel.

BTW, in order to flash the Android O rom, I had to extract the file from :

https://developer.android.com/preview/download.html

and then flash each of the files there via TWRP, except for the bootloader&recovery. Was I correct in doing so?

How can I revert to the original kernel? Flash the system.img file?

EDIT: I tried, but it didn't help. Now I also noticed it doesn't recognize my sim card. Please help in this. What should I do?

Edit: ok I wiped, flashed all again, excluding this kernel, and now it works fine again. had a few boots for some reason, but it's more stable now.
[Nexus 5X Original Android Development] mastro_misciu:
What's night shift on Franco kernel?

Inviato dal mio Pixel utilizzando Tapatalk
[Nexus 5X Original Android Development] crazyates:
It's a way for the phone to tint the screen red at certain times at night, such as right before you go to bed, as blue light can sometimes affect people's sleep patterns.
[Nexus 5X Original Android Development] flar2:
It's in his app. You can also use cflumen and some other app I forget the name. It's built in on LineageOS and many custom ROMs, and built in on the Pixel. So I think there are already enough options and I expect it will become standard on many new phones.
[Nexus 5X Original Android Development] mikeprius:
Same with me I also had issues with DP1. Initially if it's not booting just pull the stock kernel and flash in fastboot. That's what I did and it works.

But I cannot get supersu sr4 to work. Once it alters the boot the phone will not boot. Aside from the stock kernel anything else causes the phone not to boot.

I am not sure how you flashed DP1 but I just downloaded the stock DP1 files off android and fastboot them in.
[Nexus 5X Original Android Development] occtec:
My thoughts precisely, just curious have you found any issue with your displays touch response, not saying it's related to the kernel by any means but I find that sometimes I have to touch 2-3 times before I get a response and it seems that it's not just in one particular spot. Hoping this is not hardware related problem :(
[Nexus 5X Original Android Development] nathanchance:
I do not have a 5X unfortunately, I just help flar2 out across his threads. Did you turn off touch boost?
[Nexus 5X Original Android Development] occtec:
Yeah I have but still notice it sometimes randomly not as bad with touch boost off
[Nexus 5X Original Android Development] vampire36:
[MENTION=4684315]flar2[/MENTION] Since updating to 6.0.1 and 1.0.1 version from 0.09 observed that gestures are often being missed ! Suddenly have started observing this ! Only gesture i use is swipe to sleep ! But both left and right often don't work and are missed ! Anyone else with same observation ? Started happening suddenly since I updated ! Can anyone else confirm ?

For now disabled the gesture and using cata swipe to sleep gesture and no problem at all...works perfect !

---------- Post added at 03:34 PM ---------- Previous post was at 03:32 PM ----------

Observed when using gesture swipe to sleep...started after updating to 6.0.1 !
[Nexus 5X Original Android Development] occtec:
I have never enabled these swipe gestures included in the kernel, as I too am on cata and normally just have it enabled in settings (swipe to sleep). My problem is more to do with touch response, my display doesn't always respond to the first touch. I have disabled touchboost as stated above which I feel has improved it a little but the problem is still there and it's random, so I'm hoping my issue isn't hardware related.. :(

EDIT: come to think of it though I did have a couple of instances where when I did swipe to sleep it did not respond right away, it's almost like it locks up for a few seconds and then it goes to sleep, so yes it had happened to me also on an odd occasion here or there but not with those gestures enabled in the kernel (may be related to cata, maybe??)
[Nexus 5X Original Android Development] stu5797:
Flar2, thanks for everything. I have also noticed sweep left to sleep does not work like it used to. Kinda random now.

Also a quick question. If I already have swipe up to wake enabled, will allowing swipe down for camera cause even more battery drain? I'm hoping that since I already have swipe up to wake it won't affect the battery too much if I enable the new swipe down gesture?
[Nexus 5X Original Android Development] flar2:
Out won't cause more drain. The gestures are either on or off.
[Nexus 5X Original Android Development] flar2:
Swipe to sleep works every time if you swipe the correct distance.

Practice makes perfect.

The sweep distance may have increased a little when I added the wake gestures. But I use it every time I turn off the screen and it always works.
[Nexus 5X Original Android Development] mprziv:
Camera hasn't worked since 1.0 on this kernel. I've seen some posts about flashing the stock boot.IMG and then flashing the kernel, or possibly wiping cache, and then flashing.

Anyone know what the issue is, and the workaround. Right now version 0.09 is the last kernel that I can use my camera on.
[Nexus 5X Original Android Development] dfryer1193:
Have you upgraded to android 6.0.1?

If you have, make sure that you've fastboot flashed the boot.img, vendor.img, and radio.img that Google has included in their 6.0.1 firmware package.

That seems to be fixing camera issues.
[Nexus 5X Original Android Development] mprziv:
I'm using Chroma, which is built on 6.0.1.

Ill download the factory image and flash those stock images.
[Nexus 5X Original Android Development] flar2:
Updating all the firmware and wiping cache should do it.
[Nexus 5X Original Android Development] flar2:
Just a quick note:

The camera launch gesture won't work if you have disabled "Press power button twice for camera" in system settings (under Display). That setting needs to be enabled.
[Nexus 5X Original Android Development] peikojose:
Hey [MENTION=4684315]flar2[/MENTION] can I lower the earpiece volume during calls using your app?
[Nexus 5X Original Android Development] PiousInquisitor:
Out of curiosity, why not just hit the volume down button while in a call?
[Nexus 5X Original Android Development] peikojose:
Good question, sorry for my OCD. But looks like my phone has a broken earpiece I mean at 40% volume it sounds good... Just like my old Nexus 5, but if I raise the volume it starts doing cracks and pops...I would like to have it at maximum volume without sound distorted.. I think I will have to rma after Christmas
[Nexus 5X Original Android Development] PiousInquisitor:
Yep, sounds like a hardware issue.
[Nexus 5X Original Android Development] peikojose:
Yes... So for now there is not a way to decrease the earpiece volume without using the volume slider ?
[Nexus 5X Original Android Development] vampire36:
I agree...but till 0.09 had absolutely no issues...updated to 1.0.1 and started seeing the issue...yet would try again if you face no issues...cos I certainly see some prob...would give it another go :) Thanks for the awesome kernel :)
[Nexus 5X Original Android Development] flar2:
There's no issue, just sweep a little bit longer.
[Nexus 5X Original Android Development] AndroidDeveloperLB:
Actually SuperSu works fine for me.

How exactly did you flash the stock kernel? And DP1 itself?
[Nexus 5X Original Android Development] mikeprius:
I fastboot the dveloper preview, then loaded TWRP all through fastboot. I took SR4 and flashed it via TWRP. Once the kernel has been altered by SuperSU, the phone does not want to boot anymore. I just have everything stock and the bootloader is unlocked . When I extracted the DP1 kernel and reflashed in fastboot the phone started up.

I've tried racer's kernel as well. Once the kernel has been altered my phone has not wanted to boot for whatever reason. I just flashed the most recent March image, and rooted it. Not going to mess with Android O until it becomes official. I really don't care for the layout that I have seen so far.
[Nexus 5X Original Android Development] ed2975:
Removed
[Nexus 5X Original Android Development] Ferdimage:
Hi is it possible to flash this Kernel via adb fastbooot?

I updated my rom and now its asking for a decrypting password, I really cant lose my internal data.
[Nexus 5X Original Android Development] jrk190:
Latest app update fixed my CPU values not sticking. Great work as always!
[Nexus 5X Original Android Development] AndroidDeveloperLB:
What do you mean by "fastboot the developer preview" ? I tried to flash using the batch file of "flash all" during both TWRP and in download mode, but both failed to do anything (it didn't recognize the device I think).

What do you mean by "took SR4 and flashed it via TWRP" ? What is the "SR4" ? I was talking about the Android O rom, the developer preview of it...
[Nexus 5X Original Android Development] guanto96:
Sometimes even if I set apply on boot, the max CPU of cluster 2 don't remain. Can you fix this? Thank you
[Nexus 5X Original Android Development] flar2:
No, the system controls it (hence the warning)
[Nexus 5X Original Android Development] crazyates:
Isn't that just your startup PIN or unlock PIN?
[Nexus 5X Original Android Development] shabtab:
Can I flash this kernel over any other kernel? Say like franco?
[Nexus 5X Original Android Development] crazyates:
It's literally in the very first post of the thread:

I would do a dirty flash of your ROM, and then flash the kernel over it.
[Nexus 5X Original Android Development] ulxerker:
or simply just flash the kernel (boot.img) that came with your ROM first and flash EX kernel afterwards.
[Nexus 5X Original Android Development] shabtab:
So firstly I copied the boot.img from the stock image, booted to twrp flash boot.img to boot partition then flash ex kernel and reboot, am I good?
[Nexus 5X Original Android Development] Argeddion:
You should be good
[Nexus 5X Original Android Development] joseph168:
I am new with kernel, but I just want to have a good battery life. Anyone can advice how to set up after flashing this kernel. Thanks in advance.
[Nexus 5X Original Android Development] ulxerker:
after flashing EX kernel load one of the profiles within the EX kernel manager app.

regarding their characteristics please search the thread, its a very interesting one in general. also, you might want to try out a few of them in order to find the one thats best for you.
[Nexus 5X Original Android Development] joseph168:
Thank you. Ex manager need busy box, I already installed it but it still require. I don't know what happen. I am using Google pixel rom. Thanks in advance for your more advice
[Nexus 5X Original Android Development] ulxerker:
EX kernel manager doesn't need busy box, so this seems to be related to Pixel ROM, please ask in it's subforum for further assistance.
[Nexus 5X Original Android Development] alexdpaul:
Can anyone advise if the kernel is potentially breaking my Viper app driver installation?
[Nexus 5X Original Android Development] flar2:
Why would it break viper?
[Nexus 5X Original Android Development] alexdpaul:
SELinux permissions?
[Nexus 5X Original Android Development] joseph168:
I managed to make it work. But there are a lot of configuration inside the EX kernel. Can you help me guide me the best set up? I M sorry to bother you as I am so new and want my phone run smoothly with battery friendly. Thanks in advance.
[Nexus 5X Original Android Development] ulxerker:
As I already recommended:

:)
[Nexus 5X Original Android Development] Mesmurized:
[MENTION=1974038]fair2[/MENTION] FYI update.

Successfully collecting cpu online/offline states @ 30-min intervals 24hr/day using a MacroDroid task. All 6-cores online (boo hoo). FYI: No noticeable change in doze time/battery usage/wakelocks.
[Nexus 5X Original Android Development] g0d0fmischief:
Just woke up a bit ago, thought my Nexus 5x had bit the dust bootlooping. I managed to get it to turn off, and boot up shockingly​. What I've found seems to point to the kernel being the cause. Or at least the kernel manager. The app crashes if I tap cpu, even still though most options are gone from this menu as you can see. App hasn't updated recently. I tried clearing the cache didn't do anything. Going to mess with it some more, can't even access the dashboard or any of that now. Any ideas?
[Nexus 5X Original Android Development] joetheshmo:
Do you have supersu and did you give exkm root privileges?
[Nexus 5X Original Android Development] g0d0fmischief:
You know I didn't run a check of that before rebooting again. I checked now and it has root, and it is working properly. Back to normal it would seem. So maybe it did lose root when it crashed and looped. The question then is what the hell caused it to do that. If it were the start of the phone dieing from all the other stories I've read I should have had to deplete the battery or at the least had trouble getting it out if the bootlooping but it was actually fairly simple. Damn it
[Nexus 5X Original Android Development] ulxerker:
April's update build 7.1.2 (N2G47F, Apr 2017) has been released:

full factory images

full OTA

---------- Post added at 19:52 ---------- Previous post was at 19:19 ----------

FYI: EX 4.06 is working with latest build.
[Nexus 5X Original Android Development] Midomad:
Forget that 7.1.2 with April patch is up [emoji6]
[Nexus 5X Original Android Development] ulxerker:
nope, on Google's images page it says "7.1.1 (N4F26U, Apr 2017)".
[Nexus 5X Original Android Development] Midomad:
Are you sure ?

View attachment 4099870
[Nexus 5X Original Android Development] ulxerker:
You're right ... 5 mins I didn't see it, strange.

I will adjust my post regarding the links ...
[Nexus 5X Original Android Development] kykc:
Didn't work for me, stuck on Google logo during boot after kernel flashing. Although, mine was compiled manually from flar2 sources (4.06) in order to enable CIFS, dunno if this made any difference.
[Nexus 5X Original Android Development] RylanM:
Same here. EX 4.06 seems to be working fine with 7.1.2.
[Nexus 5X Original Android Development] Scarchunk:
For those running 7.1.2 with 4.06, does the fingerprint swipe for notifications feature work? Curious if that requires kernel support, though I'm guessing it may.
[Nexus 5X Original Android Development] flar2:
That is not a kernel feature, so it will work regardless of kernel.
[Nexus 5X Original Android Development] flar2:
Update!!!

Update for 7.1.2 and April security patches

Download

ElementalX-N5X-4.07

Changes:

-April security update
[Nexus 5X Original Android Development] ulxerker:
Thanks, does it also include the updates/patches from 7.1.2 kernel source?
[Nexus 5X Original Android Development] flar2:
Yes, this is the 7.1.2 kernel
[Nexus 5X Original Android Development] Smultie:
Can I run it on PureNexus 7.1.1?
[Nexus 5X Original Android Development] jugoslavpetrovic:
I believe you can.
[Nexus 5X Original Android Development] buffer overflow:
No offense. :silly:
[Nexus 5X Original Android Development] airtower:
I'm not a big third party kernel guy, but I'm loving EX. I have no idea what ramdisk is, but what are the implications for allowing the kernel to survive a nightly (lineageOS) update? I added the EX zip as a "secondary" zip to flash in cyandelta after the new nightly, but TWRP went black and locked me out. Had to factory reset.
[Nexus 5X Original Android Development] jugoslavpetrovic:
I dont get it.
[Nexus 5X Original Android Development] flar2:
I don't know why you would be locked out (something very strange must have happened), but generally the ramdisk doesn't change much from update to update, so you are usually safe flashing EX right away.

However, I always flash EX kernel after booting into the updated system, just to make sure there are no other issues from the update.
[Nexus 5X Original Android Development] flar2:
It should be same as usual, I didn't change that part of it. All my phones are charged up right now and my Pixel, HTC 10 and OP3 barely ever get below 40%, so it will be a while before I can test it.
[Nexus 5X Original Android Development] airtower:
Yeah, I don't know what actually caused it. The ROM flashed next thing I knew I was stuck with a black screen and a soft haptic response when I tried to awaken it with the power button. Usually problems like that are fixed with a reflash too, but no luck.

Anyway, not a big deal. Was more curious if there was a way to flash EX "hands off" as one would with a non-aroma zip. No problem to jump back to recovery and flash after a ROM update.
[Nexus 5X Original Android Development] flar2:
In my app, there is an express version. It downloads the kernel, reboots to recovery, installs and automatically restarts. No user interaction required.
[Nexus 5X Original Android Development] shabtab:
Which are the most popular most used CPU Governor profile and color profile?

[MENTION=4684315]flar2[/MENTION] tell us your favorite..
[Nexus 5X Original Android Development] guanto96:
Glassfish and hawktail, I prefer the second
[Nexus 5X Original Android Development] flar2:
I don't use any profiles because I am completely satisfied with the battery life offered by stock settings.

The best one depends on how you use your phone. Try each one for a couple days and check the Battery Monitor in EXKM at the end of each day.

Don't flip between profiles, you will need to use each one for many hours (preferably a couple days.) to get accurate and reliable battery stats.
[Nexus 5X Original Android Development] joseph168:
[emoji26]
[Nexus 5X Original Android Development] joseph168:
View attachment 4103071 I have no idea what wrong with this. I am using stock profile. CAN anyone help to explain?
[Nexus 5X Original Android Development] flar2:
How long has your phone been on? The number can go really high in the first hours after you start the phone (for example, if your battery goes down by 1% in the first few minutes after you reboot)
[Nexus 5X Original Android Development] joseph168:
My phone had been on like 30mn coming from 67%. I haven't done a full charge yet.
[Nexus 5X Original Android Development] joseph168:
Look like my phone never go to deep sleep. Please kindly advice View attachment 4103600
[Nexus 5X Original Android Development] joetheshmo:
Reduce wakelocks. You can use better battery stats to see what wakelocks are causing it. Some also prefer gsam battery stats.
[Nexus 5X Original Android Development] joseph168:
View attachment 4103664

Here is my result. Please advice how to fix my wake lock. Thanks in advance.
[Nexus 5X Original Android Development] joetheshmo:
You have to run it for longer than 13 seconds, and there are threads dedicated to this type or stuff.
[Nexus 5X Original Android Development] joseph168:
View attachment 4103991big cluster always off line. How to fix?
[Nexus 5X Original Android Development] khanjui:
Thermal throttling.
[Nexus 5X Original Android Development] joseph168:
What you mean Thermal Throttling?
[Nexus 5X Original Android Development] ulxerker:
its probably offline because of too high core temperature. disable msm_thermal, enable core_control and set the temperature limit to i.e. 46°C in cpu setting.

also, check if all cores are enabled in cpu settings.
[Nexus 5X Original Android Development] rakludnet:
A basic/stupid question:

When applying profiles such as Ghostpepper etc, one needs to load them on both clusters OR only on little/big cluster?

Thanks in advance
[Nexus 5X Original Android Development] SlimSnoopOS:
EXKM loads the profile on both clusters. You do however, need to apply on boot the profile and any other parameters that are specific to the profile.
[Nexus 5X Original Android Development] rakludnet:
Thanks for the reply.

But even after testing many profiles, SOT was never more than 3hr for me :(

No rogue app too!
[Nexus 5X Original Android Development] SordiSpicci:
Can i install EX on stock? Just reboot in recovery and install the kernel, or have to do other steps?
[Nexus 5X Original Android Development] g0d0fmischief:
I'm running it on stock 7.1.1. No special needs or preparation due to it being stock. Need to be rooted to use the manager.
[Nexus 5X Original Android Development] souleman:
The biggest battery user for SOT is.. the screen. No amount of kernel changes will help with that. The only thing that really helps is lowering the brightness as much as possible.
[Nexus 5X Original Android Development] Mesmurized:
First Q: I'm reviving this old post as I can't find the A. This would be handy when a long-busy-out-of-charger-range day is planned.

Second Q: Does PowerSave and Settings/Battery/Battery Saver work independently or in tandem? or PowerSave depends on Battery Saver? or the other way around? or both? (6.0.1 MM)?

It would be nice if they worked independently. IE: I could extend life by reducing performance say at 50%, then further reduce the load when Battery Saver kicks in.
[Nexus 5X Original Android Development] flar2:
They work independently, but do most of the same things.Reducing performance further has diminishing returns (i.e. not worth it).

Powersave mode kicks in when the system sends a low battery broadcast. I don't know if there is a way to change the percent at which the system broadcasts this message. I like to keep it simple and just listen for the system broadcast. I provide many other ways to toggle powersave mode that you could use to customize (e.g. public intents that could be used with Tasker, widget, quick settings tile or with the app)
[Nexus 5X Original Android Development] Mesmurized:
Thanks. Glad they're independent.

But ... doesn't Battery Saver also limit (or stop) background activity for some apps? (GMail, for example).

IE:

Stage 1: EXKM - reduce/limit cpu/gpu

Stage 2: Battery saver: limit bg/data activity

Appears to me, it's more effective that you're giving it credit. Am I missing something?
[Nexus 5X Original Android Development] flar2:
That's correct, the Android one limits data and background too
[Nexus 5X Original Android Development] Mesmurized:
Thanks. My studying is paying off ...

Guess I'm trying to make a good case for an option to adjust the % when PowerSave is enabled.

Have I succeeded? Is it worth a second look?
[Nexus 5X Original Android Development] GTOJim:
The other biggest drain on battery is data, especially with a weak signal. I always keep data turned off when not needed, There are apps that can do this automatically, with options of turning on data on for short periods so new email can checked etc.

With a weak signal switching to 2g can save a lot of battery. I know LeanDroid, there maybe others, of turning on 2g whenever the screen is off.
[Nexus 5X Original Android Development] crazyates:
Truth. I use data saver on all the time, and it makes a big difference.