yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] basti314:
Flashing screen when using wakeup gestures

I'm using a wakeup gesture on my Nexus 5 with gesture timeout and I observed that the screen is flashing at the end of the timeout. Any way to disable that behaviour?

BR

Basti
[Nexus 5 Original Android Development] jlevy73:
Deadline is more responsive IMO, seems to ramp up more quickly than ROW does especially when gaming or using other CPU/GPU intensive apps like AutoCAD. I don't notice any difference between battery life between the two so my vote is for deadline
[Nexus 5 Original Android Development] DoesntPostAThing:
Bluetooth Low Energy is here.
[Nexus 5 Original Android Development] drawde40599:
About the color , no one knows what could happen it could damage your screen in the long run it may not hurt anything , no one knows .... I use it , can't c going back to that yellow default , every time I boot my phone reminds me how bad the yellow is , and I suck at using gamma control , find myself changing it every 5 seconds, with this color hack I'm happy :P
[Nexus 5 Original Android Development] GialanG:
No, I mean Battery Life Extender
[Nexus 5 Original Android Development] flar2:
I left ROW as default i/o scheduler for now, but I'm testing deadline. I've made this an option in the installer so you can set it and forget it once you've made your final choice.

I made a a couple tweaks to deadline and it seems pretty good so far.

Also added slimbus oc from [MENTION=4379011]poondog[/MENTION] on the HTC One. It might improve audio quality, I'm not sure if you need mods to take advantage of it or not. I don't listen to music on this phone very much so I can't tell if it's beneficial or not. The patch does not seem to have any ill effects, so let's try it and anyone who listens to a lot of music can provide feedback.

I also added the LED patch from CyanogenMod. I believe this provides support for LED charging status, but require ROM support. I didn't install CyanogenMod to test it. Also seems to have no ill effects if your ROM doesn't support it (ie, it stays off)

I'm also working on the express version (no aroma), might release it later today.

Download:

ElementalX-N5-0.23

Changes:

-tweak deadline i/o scheduler

-slimbus overclock (credit: poondog)

-implement always on rgb led support (requires rom support)

-i/o scheduler option in installer
[Nexus 5 Original Android Development] flar2:
The battery life extender patch was written by [MENTION=5288329]tni.andro[/MENTION] specifically for the N7. The N5 has different battery and charger drivers. I could probably copy what he did for the N7, but I'm not as knowledgeable about battery stuff.

For those wondering (before you get too excited) it does NOT increase battery life. It extends the lifespan of the battery by limiting the charge capacity slightly. So it stops charging at 93 or 94% and thus helps the battery maintain its charge capacity over hundreds of charge cycles.
[Nexus 5 Original Android Development] notbrodie:
any more in-depth explanation of slimbus over clock?

I checked out poondog's HTC one thread, but it doesn't explain anything either, apart from claiming audio quality increase

Sent from my Nexus 5
[Nexus 5 Original Android Development] deadpedal:
I also vote for row.
[Nexus 5 Original Android Development] flar2:
I honestly don't know much about it. My HTC One users were asking for it, so I figured we might test it out here. I just don't listen to enough audio to be able to evaluate it myself.
[Nexus 5 Original Android Development] DoesntPostAThing:
Best part about not using a kernel app, after I flash a new version I don't have to reconfigure everything. My previous settings are saved in that init.d script :D

Also flar, why does 99elementalx have 777 permission? All other init.d scripts have 755.
[Nexus 5 Original Android Development] flar2:
I should probably change that for extra security
[Nexus 5 Original Android Development] flar2:
Here's the express version. No aroma installer, it gives you all default settings:

-stock CPU freqs

-elementalx l2/bus overclock

-lowest frequency undervolted to 750mV

-elementalx CPU governor with gboost enabled

-elementalx default thermal throttling

-max screen off frequency 1190Mhz

-ondmemand GPU governor

-fsync enabled

-dt2w/s2w disabled

-ROW i/o scheduler

-fastcharge disabled

-exFAT support disabled

-stock colors

-backlight dimmer disabled

This uses your existing ramdisk. So, if you previously flash a different custom kernel (especially franco), you'll need to restore the stock boot.img first.

You can still edit /etc/elementalx.conf after installing. Or use a CPU tweaking app to set things up.

A future version of this will check to see if you have /etc/elementalx.conf and keep the previous settings. I didn't do it for this release because /etc/elementalx.conf was changed in version 0.23.

Download:

ElementalX-N5-0.23-express
[Nexus 5 Original Android Development] Syk69:
Well the lower the fifo batch the lower the latency. So I try to balance it out at 4, I used to use 8 but still get decent throughput with 4 and better system response. I set read expire at 200 and write expire at 2000 with writes starved at 5. You could always set fifo batch at 1 for complete first in first out behaviour and maximum low latency.
[Nexus 5 Original Android Development] flar2:
I set fifo_batch to 1 by default in version .23
[Nexus 5 Original Android Development] Syk69:
Haha sweet going all out! :good: I listen to a lot of music on phone will report if I notice any sound improvements with this new sound patch.
[Nexus 5 Original Android Development] iPsychoGeek:
I am on the latest CM nightly 05/01 and it doesn't work for me.

Update: nvm, it was just a quite hours.
[Nexus 5 Original Android Development] letmedanz:
Not too sure about this particular mod, but I've had first hand experience of [MENTION=4379011]poondog[/MENTION] s work in the HTC incredible S days.

He had (and still I guess) maintains a quality kernel for the IncS

Will give this a shot and report back... I do listen to a bit of music on the phone
[Nexus 5 Original Android Development] Konsumhaus:
After flashing 0.23 over 0.22 running Purity i'm in bootloop:(

Gesendet von meinem GT-p5110 mit Tapatalk
[Nexus 5 Original Android Development] Syk69:
No bootloops here. Make sure you don't have any kernel apps with set on boot enabled.
[Nexus 5 Original Android Development] drawde40599:
Installed fine here, did u UV the "300" step to low ? Thats the only thing that caused loop for me on previous build .
[Nexus 5 Original Android Development] flar2:
Disable wake gestures timeout. The screen has to turn off and on to disable the gestures fully.
[Nexus 5 Original Android Development] basti314:
But I'd like the timeout feature to avoid battery drain. Any other possibility to prevent the screen from flashing?
[Nexus 5 Original Android Development] flar2:
No, it has to turn on and then off to properly disable everything.
[Nexus 5 Original Android Development] Globespy:
Hey flat,

Latest kernel is not as efficient with battery as previous. I check my system monitor app each day to look at what's going on during sleep and nothing other than the kernel had changed on my phone in the last few days. I don't know the tech reasons why (other than changing to fiops), but it's using a lot more battery than the previous kernel version overnight. What's was the previous version using instead of fiops?

Thanks for your continued support.
[Nexus 5 Original Android Development] flar2:
deadline, but that won't make any difference.

There should be no difference in idle drain on any versions over the past few months. It's likely that something else is causing drain. Check your wake gesture settings too.
[Nexus 5 Original Android Development] Co.Tibi:
First official CM 14.1 for hammerhead is out. (Non CAF)
[Nexus 5 Original Android Development] DexRox:
Is there a way to change the status of selinux in permissive?

From terminal with this command:

su
setenforce 0

not work... I'm on Nitrogen 7.1
[Nexus 5 Original Android Development] joeyfong:
Is that only me get 100% awake? Cannot put into deep sleep.
[Nexus 5 Original Android Development] flar2:
Mine sleeps well. These types of issues are not kernel related.
[Nexus 5 Original Android Development] joeyfong:
which nought ROM r u using?
[Nexus 5 Original Android Development] Barbiox Dogg:
[MENTION=4684315]flar2[/MENTION] does this custom kernel works on CM 14.1 CAF Rom? Thank u in advance.
[Nexus 5 Original Android Development] Eltorito94:
no...
[Nexus 5 Original Android Development] flar2:
It's complicated. The installer is now completely different and should work on Nougat. You might have parts of the old installer still there, which partially works on Nougat. Flash a clean boot.ing, then reinstall EX and let me know what happens.
[Nexus 5 Original Android Development] yanni18:
So should I flash a stock factory image as a solution ? And then flash custom ROM and kernel. Thanks for the help.
[Nexus 5 Original Android Development] ndarkside93:
To get a clean boot.img, dirty flash whichever ROM you are Running. Then flash the kernel, then flash SuperSU if you prefer. They way, ask the old installer files will be gone.
[Nexus 5 Original Android Development] yanni18:
I get that but I had actually dirty flashed the ROM today as an update came to cm14.1(newer nightly). And again Flashed kernel but still problem occurred. That's why I needed help with it.
[Nexus 5 Original Android Development] flar2:
I guess I'll have to debug the installer and try to figure out what's up.
[Nexus 5 Original Android Development] yanni18:
Did a revert to stock image and again installed the Cm 14.1 rom then rooted & then flashed the kernel.

But still the same issue coming. :(

I hope this will help you better in debugging :good:
[Nexus 5 Original Android Development] EZY-E:
Thanks a lot guys (and maker of this kernel especially), I learned a lot from your comments.
[Nexus 5 Original Android Development] maortrol:
Just FYI, new update for our Nexus 5: december M4B30Z (6.0.1) release:

https://developers.google.com/android/images#hammerhead

;)
[Nexus 5 Original Android Development] R0B3RTF1SH3R:
tidbit, you misspelled marshmallow in the thread title =D
[Nexus 5 Original Android Development] creeve4:
I thought that October was the last update we would receive. Anyone know why there was no November release?
[Nexus 5 Original Android Development] grep_i:
Don't know why but I'm glad Google changed their mind about updates for Nexus 5
[Nexus 5 Original Android Development] Kaleshwar:
Heck I wouldn't mind if they continued released updates on marshmallow.
[Nexus 5 Original Android Development] flar2:
Update!!!

One tiny patch from the unexpected December update from Google.

I also installed about a million times with different settings and could not find any problems with the installer. Those having issues with settings should start with a clean slate.

Marshmallow

ElementalX-N5-6.27

Nougat

ElementalX-N5-7.06

Changes:

-December update
[Nexus 5 Original Android Development] Lughnasadh:
Thank You!!!

Wonder if the unexpected update had anything to do with patching Dirty Cow...
[Nexus 5 Original Android Development] maortrol:
I doubt it: it's still "October Security Patch" on System Info... :(
[Nexus 5 Original Android Development] stgaby:
hi.

i flashed over cm14.1 nightly 8.12.2016 and it was stucked at the google logo.

any idea why? (android 7.1.1)
[Nexus 5 Original Android Development] ssauger:
You flashed this over CM14.1 CAF or AOSP, just reflash the ROM and see if it boot. This kernel is only for AOSP.
[Nexus 5 Original Android Development] stgaby:
non caf. flash the rom and it boots but i have a lot of bugs with the notifications

i need to clean flash now :(
[Nexus 5 Original Android Development] tomatoafert:
Sorry for asking,

Does this ElementalX for Nougat 7.0 is working on Nexus 5 running Android Nougat 7.1.1 built by Santosh?

Thanks
[Nexus 5 Original Android Development] civikakias:
Yes! :fingers-crossed:
[Nexus 5 Original Android Development] stgaby:
had anyone tried on cm14.1 the kernel?? i need a feedback if it works on cm or if it's only for aosp
[Nexus 5 Original Android Development] glocksman:
It works, but it kills the wifi hotspot on the 12/09 nightly.

I asked about it in the CM14.1 thread and razorloves said it's a kernel issue because hotspot works with the stock kernel.

I dirty flashed back to stock and confirmed that the hotspot does work with the stock kernel, but it doesn't with either ElementalX or Franco Kernel as of right now.
[Nexus 5 Original Android Development] flar2:
And probably never will. The Nexus 5 is one of the snappiest phones ever created, I see no reason to constantly change things like cm does, causing incompatibility. Just use the amazing kernel base that Google has provided.
[Nexus 5 Original Android Development] aslam_:
hey [MENTION=4684315]flar2[/MENTION] can you add ipv6 rpfilter support on next update? this seems to fix wifi hotspot error on 7.1.1

https://android.googlesource.com/kernel/msm/+/5b52756ef609ec8a174467d57233ecde010f14ec
[Nexus 5 Original Android Development] stgaby:
thanks :)

hope [MENTION=4684315]flar2[/MENTION] will fix it in the next update
[Nexus 5 Original Android Development] xenoverse:
Can you add IPV6 Rpfilter Support on your kernel? [MENTION=4684315]flar2[/MENTION]
[Nexus 5 Original Android Development] bush911:
swipe to sleep does not work

I am on the latest fake nexus rom with 7.05 kernel
[Nexus 5 Original Android Development] mayankkhajnchi:
Still waiting for the wifi hotspot correction
[Nexus 5 Original Android Development] flar2:
I will add it soon, I'm off for a few days due to eye surgery.
[Nexus 5 Original Android Development] aavvaallooss:
What happened to your eye?
[Nexus 5 Original Android Development] looney_tkp™:
sorry about your eye [MENTION=4684315]flar2[/MENTION]

i wish you a speedy

Tap'd from my Nexus 5 CAF
[Nexus 5 Original Android Development] flar2:
The surgery was voluntary. I've been wanting to correct my vision for many years and I finally did it.
[Nexus 5 Original Android Development] Kaleshwar:
Good for you man! [emoji2]

Sent from my Nexus 5
[Nexus 5 Original Android Development] grep_i:
So then your vision of the world around you will improve happily and it will give you new insights to code [emoji1]

I wish you a speedy recovery.
[Nexus 5 Original Android Development] flar2:
Update!!!

A small update that should enable hotspot on latest cm. I will do more compatibility work later when my eyes are less tired.

Nougat

ElementalX-N5-7.07

Changes:

-enable IP_NF_MATCH_RPFILTER
[Nexus 5 Original Android Development] LewisGauss:
Can anyone confirm that it's fixed in the latest version?
[Nexus 5 Original Android Development] fmir864:
I'm on ElementalX 6.21 version. Do I need to flash stock kernel before upgrading to latest 6.27?
[Nexus 5 Original Android Development] JeanEatsWorld:
Sure, what else can we help you with, your majesty?
[Nexus 5 Original Android Development] Nasio91:
Hi everyone! :) I'm very curious to try this Kernel since according to most of Nexus's users is the best for our device, I'd like to ask if it has some kind of problem with Nougat yet?

Thanks to [MENTION=4684315]flar2[/MENTION] for support our device despite of the surgery. I wish you a speedy recovery :)
[Nexus 5 Original Android Development] xenoverse:
wifi hotspot still show me error on 7.1.1

i've tried bluspark r111 with new update and its working. this is its changelog:

ion: Disable ION_HEAP_TYPE_SYSTEM_CONTIG
packet: fix race condition in packet_set_ring
fs/sync.c: make sync_file_range(2) use WB_SYNC_NONE writeback
msm: sensor: validate the i2c table index before use
arm: fix handling of F_OFD_... in oabi_fcntl64()
qseecom: Change format specifier %p to %pK
UPSTREAM: HID: core: prevent out-of-bound readings
BACKPORT: tty: Prevent ldisc drivers from re-using stale tty fields
msm: sensor: Avoid potential stack overflow
qcedev: Validate Source and Destination addresses
BACKPORT: ALSA: usb-audio: Fix double-free in error paths after snd_usb_add_audio_stream() call
BACKPORT: ALSA: usb-audio: Minor code cleanup in create_fixed_stream_quirk()
sdcardfs: Add and sync with CM
defconfig: enable sdcardfs, Add IPv6 rpfilter support

does any 1 of those changelog is the fix for wifi hotspot?

can you take a look at it again? i wanna stick with elementalx, ;(
[Nexus 5 Original Android Development] flar2:
I was supposed to enable for ipv6, will update again tonight.
[Nexus 5 Original Android Development] flar2:
No problems on Nougat, though some of the ROMs might require selinux permissive or fixes for old wifi drivers, neither of which I recommend.
[Nexus 5 Original Android Development] flar2:
Update!!!

This should enable hotspot on cm and make it compatible with LiveDisplay.

Nougat

ElementalX-N5-7.08

Changes:

-enable IPV6_NF_MATCH_RPFILTER

-kcal to LiveDisplay interface

-sdcardfs support

-security updates
[Nexus 5 Original Android Development] xenoverse:
working perfectly, thanks!
[Nexus 5 Original Android Development] candra yudha tama:
Working full on fake rom thanks:D
[Nexus 5 Original Android Development] fmir864:
I know I need to flash stock kernel before switching between kernels. Do I need to do this if flashing update of the existing kernel?
[Nexus 5 Original Android Development] mayankkhajnchi:
Thank you very much
[Nexus 5 Original Android Development] phpbb3:
I started using this kernel 3 days ago. I'm reading this entire thread, as it contains lots of valuable information. I have flashed this kernel at least 2 dozen times in those three days, checking out different configs, but I'm only on Page 53. I had a question though, how can I view and change thermal throttle settings?

I ask this because I've underclocked to keep the phone cooler, and I'd like to know what the throttle freq values are for each temp threshold, and maybe change them if they're high for my usage.

Edit: my CPU gov seems to default to ondemand even though I don't have that mod checked in aroma.

I also don't seem to have an elementalx.conf
[Nexus 5 Original Android Development] Co.Tibi:
[MENTION=4684315]flar2[/MENTION] can a stock kernel be patched? Can one add dt2w, for example, to a stock kernel with a patch without building a custom kernel from scratch?
[Nexus 5 Original Android Development] antmasi:
The config file It's inside the /etc folder.

Enviado do meu Nexus 5 através de Tapatalk
[Nexus 5 Original Android Development] flar2:
ElementalX.conf is now deprecated

You can adjust thermals by editing /etc/thermal-engine-hammerhead.conf (something like that)

Not sure why your gov is not elementalx.

Yes. This kernel is fairly close to stock and just as stable so I don't see the point.

Not any more
[Nexus 5 Original Android Development] antmasi:
Thanks for the update and keep up the great work!
[Nexus 5 Original Android Development] phpbb3:
Is there a log I can provide for the gov issue? Where could I find info on how to properly modify the thermal conf?
[Nexus 5 Original Android Development] Co.Tibi:
The point is you said you don't want to build for CAF and I thought maybe you could make a flashable patch that would add your governor the sound enhancements and a few other things to the stock CAF kernel. To me this sounds doable but you tell me. I really miss the sound settings on this really silent phone.
[Nexus 5 Original Android Development] flar2:
Make sure you have a clean ramdisk due to the new installer.
[Nexus 5 Original Android Development] phpbb3:
I flashed the kernel directly after a ROM update, then wiped cache/dalvik. I'm on aicp 12.1 (7.1.1)
[Nexus 5 Original Android Development] flar2:
You'll probably have to switch governor manually, there's no telling what aicp does to the ramdisk.
[Nexus 5 Original Android Development] yanni18:
Hey flar2,

I already talked with you about the kernel settings getting to default even if i changed them during the installer. And this problem is on nougat build only.

Since then i have gone stock and reverted.also wiped all partitions before installing rom and kernel. But still after the first boot after flashing, everything is set to the default values.

I know i could change it through your exkm app. But for every new flash i have to set up everything from fresh.

One suggestion/request for your app: bring import/export settings functionality so that one can easily set up.
[Nexus 5 Original Android Development] LewisGauss:
I am on the CM14.1, the elementalx governor doesn't stick for me too. I have to use the EX Kernel Manager app to force the governor to be used.
[Nexus 5 Original Android Development] ethem606:
Hi i have installed fake nexus room and i wanna try this kernel for double tap to wake up but i dont know if it is gonna either drain battery or not. Can anyone shares battery experience about this kernel. Thanks.
[Nexus 5 Original Android Development] Lughnasadh:
In my experience, battery drain on this kernel with DTTW enabled is extremely minimal. I don't even notice it. Set your timeout to the default 15 minutes and you should have no problem. I highly recommend this kernel.
[Nexus 5 Original Android Development] ethem606:
Tap to wake up didn't work for me. I guess OP has just deleted this feature:confused:
[Nexus 5 Original Android Development] Lughnasadh:
No. Its still there. Did you enable it? Use EX Kernel Manager to enable it.
[Nexus 5 Original Android Development] ethem606:
Yes i enabled it during installation. Maybe it is not work with 7.1.1
[Nexus 5 Original Android Development] Lughnasadh:
Some people have had problems with enabling settings during installation not sticking. So use the app to enable it. It works with 7.1.1.
[Nexus 5 Original Android Development] ethem606:
Do i have to enable to doubleTap2wake via ex kernel manager after restart my phone everytime or am i missing something?
[Nexus 5 Original Android Development] LewisGauss:
There's a button to allow the settings to stick even after a reboot, it looks like a power button.
[Nexus 5 Original Android Development] VMCR:
Same here on Pure Nexus of 16-Dec
[Nexus 5 Original Android Development] Co.Tibi:
Does this kernel break anything with cm14.1 ?
[Nexus 5 Original Android Development] mayankkhajnchi:
Nope
[Nexus 5 Original Android Development] Co.Tibi:
Do you mean camera works in enforcing mode and also torch? How's performance?
[Nexus 5 Original Android Development] Neexus5:
Does it fits on nougat 7.1.1. RR?
[Nexus 5 Original Android Development] mayankkhajnchi:
Camera, flashlight and hotspot are working fine. Overall performance is very good.
[Nexus 5 Original Android Development] LINUXKURT:
And I installed this kernel and I was fascinated by its performance, optimization and its DT2W. But it is noticed that some game that make use of the 3D does not execute like Dead Target or the test of 3D of Antutu says that the device is not compatible. And before installing this kernel I used the stock kernel of the Fake Nexus ROM and all that worked perfectly. Do you have to do some additional configuration so that I can run 3D Game and 3D test of Antutu? [MENTION=4684315]flar2[/MENTION]

Enviado desde mi Nexus 5 mediante Tapatalk
[Nexus 5 Original Android Development] flar2:
If you want everything to work perfectly, you should stick to Marshmallow. Everything on Nougat for this device is ported, and things like graphics are very difficult to port.
[Nexus 5 Original Android Development] LINUXKURT:
Thanks for your recommendation, even install the latest Adreno graphics driver that is on the Qualcomm developers page the last beta and still do not run but it is rare that the stock kernel that brings the Fake Nexus ROM that has Nougat 7.1. 1 if you can do everything.

Enviado desde mi Nexus 5 mediante Tapatalk
[Nexus 5 Original Android Development] Hamid Chikh:
Hey , I lost wifi flashing the latest version for nougat , any help ?
[Nexus 5 Original Android Development] fmir864:
It's a ROM issue. Find and flash WiFi fix.
[Nexus 5 Original Android Development] Hamid Chikh:
no its not the rom ,

i had wifi before flashing the kernel
[Nexus 5 Original Android Development] flar2:
The ROM is using ancient drivers, so yes, it is the ROM.
[Nexus 5 Original Android Development] abde4ind:
Ancient drivers lolzzzzzz :p:p