yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] flar2:
It's the way the phone is wired up. I've implemented wake gestures on many devices, and this one and the 5X are the only two that don't work properly and cause drain.
[Nexus 5 Original Android Development] PhilipTD:
I have a Tasker profile that automatically turns on EX's DT2W when I'm home, charging or not, and turns it off when I'm out, unless charging. It's essential for my N5, but I have the profile on my N6 too, even though on that device the battery drain from DT2W isn't bad - I still would rather not spend any power on it when out and about. Just thought I'd mention how I profit from DT2W on a somewhat limited basis without ever having to worry about the impact on battery. For me, it strikes a nice balance.
[Nexus 5 Original Android Development] fedex2go:
flar2, thank you for the answer!
[Nexus 5 Original Android Development] Achilles.:
Can you share that profile? Or how you accessed those settings? via secure settings right?

Sent from my Nexus 5
[Nexus 5 Original Android Development] PhilipTD:
Yup, you guessed it - Secure Setings. Here are the HOME and OUT profiles. They contain other tasks besides the DT2W thing, just lockscreen security and sound.

Profile: HOM (9)
State: Wifi Connected [ SSID:XXXX_nomap_optout MAC:* IP:* ]
Enter: HomSet (8)
A1: Ringer Volume [ Level:3 Display:eek:ff Sound:eek:ff ]
A2: Vibrate On Ringer [ Set:eek:ff ]
A3: Notification Volume [ Level:3 Display:eek:ff Sound:eek:ff ]
A4: System Volume [ Level:4 Display:eek:ff Sound:eek:ff ]
A5: Media Volume [ Level:9 Display:eek:ff Sound:eek:ff ]
A6: Alarm Volume [ Level:7 Display:eek:ff Sound:eek:ff ]
A7: In-Call Volume [ Level:3 Display:eek:ff Sound:eek:ff ]
A8: BT Voice Volume [ Level:8 Display:eek:ff Sound:eek:ff ]
A9: Run Shell [ Command:echo 1 > /sys/android_touch/doubletap2wake Timeout (Seconds):0 Use Root:eek:n Store Output In: Store Errors In: Store Result In: ]
A10: Secure Settings [ Configuration:Clear Password Package:com.intangibleobject.securesettings.plugin Name:Secure Settings Timeout (Seconds):0 ]

Profile: OUT (10)
State: Not Wifi Connected [ SSID:* MAC:* IP:* ]
Enter: OutSet (12)
A1: Ringer Volume [ Level:7 Display:eek:ff Sound:eek:ff ]
A2: Vibrate On Ringer [ Set:eek:n ]
A3: Notification Volume [ Level:7 Display:eek:ff Sound:eek:ff ]
A4: System Volume [ Level:7 Display:eek:ff Sound:eek:ff ]
A5: Media Volume [ Level:15 Display:eek:ff Sound:eek:ff ]
A6: Alarm Volume [ Level:7 Display:eek:ff Sound:eek:ff ]
A7: In-Call Volume [ Level:5 Display:eek:ff Sound:eek:ff ]
A8: BT Voice Volume [ Level:15 Display:eek:ff Sound:eek:ff ]
A9: Run Shell [ Command:echo 0 > /sys/android_touch/doubletap2wake Timeout (Seconds):0 Use Root:eek:n Store Output In: Store Errors In: Store Result In: ]
A10: Secure Settings [ Configuration:Set Pin Package:com.intangibleobject.securesettings.plugin Name:Secure Settings Timeout (Seconds):0 ]
[Nexus 5 Original Android Development] Charles_l:
Hi flar2 , I test the game with stock MMB29V with stock kernel and did not have this issue.

btw, PureNexus with build-in kernel also have this problem.

Going to test stock rom with EX kernel.
[Nexus 5 Original Android Development] 2chevsky:
I can't install this kernel through TWRP 3.0.

Should i install CWM, or any another issue?
[Nexus 5 Original Android Development] nathanchance:
What's the problem? I flashed in a few days ago with no issues.
[Nexus 5 Original Android Development] 2chevsky:
My phone is rebooting when flash starts.

I'm using official CM 12.1.
[Nexus 5 Original Android Development] nathanchance:
Are you flashing the 4.09 version?
[Nexus 5 Original Android Development] bogante:
Is this working with latest nightly CM13?
[Nexus 5 Original Android Development] nathanchance:
Assuming it is not the CAF, it should.
[Nexus 5 Original Android Development] bogante:
I installed and have bootloop, this kernel (6.0.1) is just for stock version?
[Nexus 5 Original Android Development] nathanchance:
I know it works on AOSP ROMs but it should work on CM based ones as well since it keeps the ramdisk intact.
[Nexus 5 Original Android Development] bogante:
So what may be the problem? I'm using latest official nightly (CM13)
[Nexus 5 Original Android Development] nathanchance:
Are you changing any settings when you flash? I have never used CM on any of my devices so I am not too familiar with it.
[Nexus 5 Original Android Development] bogante:
If I install the stock nexus 5 it should work this kernel right? Or are u using a rom in specific?
[Nexus 5 Original Android Development] nathanchance:
I use Pure Nexus without any issues, which has the vast majority if not all the features of CM in it.
[Nexus 5 Original Android Development] 2chevsky:
Yes.
[Nexus 5 Original Android Development] gsmarena1644:
Im running the current kernel 6.15. and running stock rom 6.0.1. 2 questions/things that dont work....

I have a my wifi setting "keep wifi on during sleep only when plugged in" yet I still get a wifi battery drain the whole time and wifi never goes off by itself.

Second I purchased this video inspection camera but the phone doesnt recognize anything is being plugged in at all. does the kernel have to support usb otg for webcams or is it the rom that does it?

http://www.ebay.com/itm/29167247479...49&var=590702586466&ssPageName=STRK:MEBIDX:IT

Any help is appreciated of course, thank you
[Nexus 5 Original Android Development] flar2:
Something is not right with our standby, it should drain very little on wifi. I don't know much about these settings, I've always just left them alone and never had a problem.

For the second thing, it may require a combination of userspace and kernel support. The specific driver for the camera probably would need to be added to the kernel (I don't know if any are supported currently), but that's no guarantee it will actually work on Android. I have no experience trying to use usb cameras on Android.
[Nexus 5 Original Android Development] gialakias:
If you have viber, check the wifi connection of it in case it overrides system setting. It has 2 options. Check the one that follows you system setting.
[Nexus 5 Original Android Development] readonly24:
Hi flar2,

how big is the chance, that you will release a CAF version? I don't know how much effort you have to put in, but I'd really like to continue ElementalX, simply because it's the best kernel, with many options.

Thanks in advance.
[Nexus 5 Original Android Development] jordiiB:
I'm using it on CM13 and I have only 1 problem : the camera that stops working and I have to reboot the phone.
[Nexus 5 Original Android Development] sxrmafia:
6.15 on stock leads to bootloop. Any fixes ?
[Nexus 5 Original Android Development] jaibar:
The way to a fix goes through supplying some more information. As for many users, 6.15 on stock (what stock are you trying? Maybe KK? Are we supposed to guess?) is working fine, so obviously the problem is in your side.

Or better yet, grab a log so you can get better help
[Nexus 5 Original Android Development] sxrmafia:
6.0.1 , I guess it has to do with se linux enforcing. I can't see the checkbox where i can deselect it.
[Nexus 5 Original Android Development] gnondpomme:
Hey guys, I have flashed this kernel yesterday and I find that it takes a lots longer to charge the phone, is it normal ?
[Nexus 5 Original Android Development] Co.Tibi:
[MENTION=4684315]flar2[/MENTION] if they get Android N ported on N5 (and as I understand they're almost there) would you slap your kernel on it?
[Nexus 5 Original Android Development] Charles_l:
Ok, it seems all the custom kernels have the same issue, Clash royale freeze and phone reboot, I have test EX, hell's core and blu_spark, all default settings.

I know there must be something related to the game itself, had report to Supercell. But why it did not happen with the stock kernel, weird.
[Nexus 5 Original Android Development] Ntrasme:
I haven't had any issues with Clash Royale on xtraFactory/Smooth MMB29V and ElementalX. I'm using default settings too.
[Nexus 5 Original Android Development] ssauger:
Same for me, played Clash royale 1h yesterday without any issue.
[Nexus 5 Original Android Development] Jack_92:
Flar2, will you add the patch to the kernel security? the correction is on AOSP for the various versions of the Linux kernel
[Nexus 5 Original Android Development] Charles_l:
I switch to Krexus 0309 build now and have no issues running Clash Royale, AOSP based rom, however if I use custom kernel it randomly freeze for 5 seconds then reboot durning playing CR, dirty flash the rom (restore the kernel) then no reboots.

Last_kms shows: "Unable to handle kernel NULL pointer dereference at virtual address *******" then "Internal error: Oops: PREEMPT SMP ARM" then reboot happened.

The kernel comes with Krexus is "3.4.0-gbaedb01 android-build@vped10.mtv.corp.google.com Sat Jan 16 01:19:53 UTC 2016"

Hi, which rom did you use?
[Nexus 5 Original Android Development] ssauger:
CM13 AOSP at the moment.

sent from Nexus5
[Nexus 5 Original Android Development] kolu4iy8160:
Hello.

I'm trying hells-core kernel and see that minimal frequency is 92 MHz. Can you change lowest core freqency? I think that a silver bullet for lower power consumption in deep sleep mode...
[Nexus 5 Original Android Development] Mrcactuseater:
It can also be very unstable, which this kernel aims not to be.

Tapatalk'd from my Twisted, Yank'd Nexus 5
[Nexus 5 Original Android Development] xeraphael:
No, it's not.
[Nexus 5 Original Android Development] RK3601:
Cm 13, which version do i install?

Hey guys, i just flashed the latest cm13 snapshot with the android march security patch.

I flashed the regular marshmallow version of elemntal x version 6.15 (not the express one). Worked fine for a bit, but then overnight my battery died (not an issue, i just didnt charge it before going to sleep and it died normally). In the morning, i turned it on and it went into an endless bootloop. Wiping cache and dalvik cache didnt do the trick so i had to reflash cm13. I'm wondering did i flash the wrong version of the kernel? or do you guys think it was my settings that messed it up? the settings i had applied were the following:

CPU clock -> stock at flash, but gets underclocked to 1958 (or wtv number) on boot from the ex manager app.

GPU -> stock all the time

Voltage -> 700 at flash time, stays the same at boot

DTW and Sweep to sleep were enabled at flash time, stays the same at boot

Brightness dimmer at 1.

These were the exact same settings i had on stock 6.0.1 MMB29V it never caused a problem.

So was i supposed to flash the cm version of elementalx kernel? (but it says Android 4.4.3/4.4.4) or was it my settings that might've caused a bootloop?

Thanks in advance
[Nexus 5 Original Android Development] Mario119:
This is by far my favorite kernel for the Nexus 5, great work flar2. However I did notice that a feature listed in the OP is missing: GPU Overclocking. In some other kernels, the GPU is overclockable (sometimes up to even 650MHz). The feature is listed in the OP, but it's absent in the Aroma installer (along with Kernel Auditor). I used to have a Nexus 7 2013 and I used you kernel on it, GPU overclocking was available in the Aroma installer. Just thought I'd point it out ;)
[Nexus 5 Original Android Development] nathanchance:
Seems pointless on this device (source 1 and source 2)
[Nexus 5 Original Android Development] udnekzl:
+1 to nathanchance.

and to Mario119, independently of GPU overclocking, you can set 'performance' GPU governor by adding a line in elementalx.conf file(GPU_GOV=3).

as far as I know this option isn't available in the Aroma installer, but editing elementalx.conf shouldn't be that difficult for GPU overclocking-xda user:p
[Nexus 5 Original Android Development] 2chevsky:
Finally, i'm installed this kernel.

The solution what i found - to install older version of TWRP recovery.

Version 3.0.0.0 just don't starting AROMA installer.
[Nexus 5 Original Android Development] flar2:
There is no GPU overclocking on this device.
[Nexus 5 Original Android Development] gsmarena1644:
Just wanted to come back and say that I did find a solution to the battery drain. It was using around 50-60 percent of my battery and wifi would never turn off. I "Reset the Network " and just added my wifi networks again. Hope this helps someone who might be experiencing the same in the future
[Nexus 5 Original Android Development] jaibar:
Thanks! After months of great battery I suddenly started having 100% wake lock out of the blue. It was driving me nuts to the point I started trying Amplify and similar stuff. Now removed everything back to normal, reset the network and deep sleep is back like a charm...
[Nexus 5 Original Android Development] Mario119:
Ahh, I didn't know that happened, kinda odd on Qualcomm's part for having it work like that.
[Nexus 5 Original Android Development] looney_tkp™:
[MENTION=4485711]xeraphael[/MENTION]....your settings is super awesome with battery

with all cores online gave me a standard battery life which was awesome but when i enabled mpdecision...dammmn i noticed a big improvement

am very impressed, am never changing it

am saving it for future use :)... thanks for that
[Nexus 5 Original Android Development] fajarlazuarding:
Care to share what is exactly the setup ? Thanks :)
[Nexus 5 Original Android Development] jordiiB:
Try with the latest nightly, I update CM every week & no bootloop.
[Nexus 5 Original Android Development] looney_tkp™:
[MENTION=5321339]fajarlazuarding[/MENTION] that [MENTION=4485711]xeraphael[/MENTION]'s setup...

He's running all cores online, i enabled mpdecision cause for some reason deepsleep wasn't enabling..so try all cores online nd mpdecision and give feedbacks in a few days

#!/system/bin/sh

stop mpdecision
echo 0 > /sys/devices/platform/msm_sleeper/enabled

echo elementalx > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo 1728000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo 422400 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo 1 > /sys/devices/system/cpu/cpu1/online
echo elementalx > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
echo 1728000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq
echo 422400 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq
echo 1 > /sys/devices/system/cpu/cpu2/online
echo elementalx > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor
echo 1728000 > /sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq
echo 422400 > /sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq
echo 1 > /sys/devices/system/cpu/cpu3/online
echo elementalx > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor
echo 1728000 > /sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq
echo 422400 > /sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq

echo 5 > /sys/devices/system/cpu/cpufreq/elementalx/down_differential
echo 0 > /sys/devices/system/cpu/cpufreq/elementalx/gboost
echo "422400,422400,422400,422400" > /sys/devices/system/cpu/cpufreq/elementalx/input_event_min_freq
echo 0 > /sys/devices/system/cpu/cpufreq/elementalx/input_event_timeout
echo 422400 > /sys/devices/system/cpu/cpufreq/elementalx/optimal_freq
echo 40000 > /sys/devices/system/cpu/cpufreq/elementalx/sampling_rate
echo 422400 > /sys/devices/system/cpu/cpufreq/elementalx/sync_freq
echo "1267200,1267200,1267200,1267200" > /sys/devices/system/cpu/cpufreq/elementalx/two_phase_freq
echo 30000 > /sys/devices/system/cpu/cpufreq/elementalx/ui_sampling_rate
echo 99 > /sys/devices/system/cpu/cpufreq/elementalx/up_threshold
echo 99 > /sys/devices/system/cpu/cpufreq/elementalx/up_threshold_any_cpu_load
echo 99 > /sys/devices/system/cpu/cpufreq/elementalx/up_threshold_multi_core

echo 1 > /sys/module/mdss_dsi/parameters/color_preset

[/QUOTE]
[Nexus 5 Original Android Development] PugRallye:


How would one implement these settings?

As in, do I need to manually enter them somewhere, do I copy/paste them, do I put them in a file somewhere etc?

Thanks,
[Nexus 5 Original Android Development] looney_tkp™:
Yeah manually type them line by line in terminal

one guy said adb can also do that but i dont know how to use adb in this case so i use terminal... reboot afterwards and if mpdecision is still enabled, disable it but enable it again if your device doesn't enter deep sleep mode :)
[Nexus 5 Original Android Development] PugRallye:
Thanks

Is there a way to automate this process though - could get very laborious having to type all that in (for a flashaholic like me)
[Nexus 5 Original Android Development] Arstoien:
I take it you don't use Tasker? That could apply all commands automatically on boot. Most settings you could manage with the kernel manager and have applied automatically on boot. There is a place for automatic script, executed on boot (former init.d) but I don't know the path because I'm using Tasker for these. Someone will tell you though.

PS: Here, I compiled the script in the form of apk (exported from Tasker). You'd have to install and then start the app. It wont do anything but run the commands and create a toast when it's done, then quit entirely. Sorry to have you install an app but that's the easiest method I could suggest. The app requires root and does not run on the background or auto-start on boot.

Also I have not tested it. It will work, as long as the script is written correctly – which it probably is, but just saying.
[Nexus 5 Original Android Development] PugRallye:
Thanks :)

I'd totally forgotten that Tasker was a thing - used it years ago, didn't even know it was still around...

So to be clear, I need to install Tasker, then use it to open that APK you created?

Or do I just download the APK, and open that natively?
[Nexus 5 Original Android Development] Arstoien:
No, I exported the apk for you, in case you don't have Tasker. If you have it, you can simply create a task with an action "Run Shell", and in the command field, paste everything from the script. Then just put a check mark on "Use Root", and run the task. You can then use that task in a profile to automatically run it on boot.

And yeah, Tasker is not only still a thing, but it's better than ever. It's by far the most important thing (programme/mod/rom/kernel, etc) on my phone. Haha.

(PM me, if you need some help with Tasker)
[Nexus 5 Original Android Development] PugRallye:
Thanks man, I've run the APK and I'll see how I get on...

PS: I made sure to re-enable mpdecision after running the APK
[Nexus 5 Original Android Development] midnighteight:
Hello everyone!

I'm on Pure Nexus rom + BlueSpark kernel.

To switch to Elementalx what is the most correct action?

I usually do a dirty flash of the rom and then I flash the new kernel, that's okay?

However, if after trying the elementalx I'not find well, what is the most correct operation to switch to a new kernel and erasing all traces of elementalx ??

Thank you so much! :)
[Nexus 5 Original Android Development] flar2:
Dirty flash Pure Nexus, then install ElementalX

To reverse, dirty flash Pure Nexus
[Nexus 5 Original Android Development] ClassicEnergy:
I have stock kernel and stock rom. If I install this rom would I still got OTA updates?
[Nexus 5 Original Android Development] flar2:
No, you will have to install the updates manually. But don't worry, it's actually very easy and you can install them the same day they are released instead of waiting around for the OTA.

See here for steps:

http://elementalx.org/how-to-install-android-monthly-security-updates/
[Nexus 5 Original Android Development] gangrenius:
Is this kernel secure? Have any security measures been disabled?
[Nexus 5 Original Android Development] nathanchance:
It's up to date with all of the Android security patches and SELinux is enforcing by default so yes, I'd say it is as secure as it can be.
[Nexus 5 Original Android Development] ssauger:
CPU Speed low

First i have to say thanks for the very good kernel.

I got one problem. I am on AOSP CM13 now after a long time using CAF. I installed the aroma version and left all default. When android powersave kicks ii at 15 % battery left cpu thottles down, so far so good.

But when the phone left android powersaving mode, the cpu max speed is still stuck at 729 MHz for all cores. After a reboot everything is fine again. Is there anything i can do that i can use the powersave and get normal cpu speed after this mode?

Thanks in advance
[Nexus 5 Original Android Development] ilovehello:
Hi

This problem is based on CM13 and not caused by the kernel elementalx.

Same problem with stok CM13 kernel :/
[Nexus 5 Original Android Development] ssauger:
Ok Thanks, didn't know, there was no such problem with CM13 CAF. So the only way is reboot to get back normal CPU speed? Then i think i disable android powersave.
[Nexus 5 Original Android Development] IKnowIRock!:
I wanted to clarify this for sometime.

I noticed there were posts saying the security updates have been included in the kernal updates itself. I'm on the latest EX and I update everytime.

But I get the notification for the security updates by Google. Is it normal?

Or is there anyway to avoid these notifications?
[Nexus 5 Original Android Development] nathanchance:
Yes because the kernel is only a part of the security updates. There is also the system image and any other pieces that have changed. flar2 provides this process on his website to get up to date and remove those notifications.
[Nexus 5 Original Android Development] ilovehello:
Yes, I havn't found another solution unfortunately.

Maybe fixed in the next update .........
[Nexus 5 Original Android Development] looney_tkp™:
Elementalx kernel development has been discontinued :(
[Nexus 5 Original Android Development] gverma1:
And what makes you say so?
[Nexus 5 Original Android Development] flar2:
That's news to me...
[Nexus 5 Original Android Development] cop1976:
April fool's day guys ?

Wysłane z mojego Nexus 5 przy użyciu Tapatalka
[Nexus 5 Original Android Development] looney_tkp™:
hehehe...lol

am just promoting the april fool's day love
[Nexus 5 Original Android Development] lost020282:
please somebody help me.everything was ok.and then my favourite nexus is stuck on bootloader bootloop.all started when rootexplorer couldnot open my screenshots and i uninstalled and reinstalled it.when i checked my phone back it was endless bootloop in the bootloader where volupe up and donw dont respond and the start ,power off,resti fart bootloader and recovery change one to other very quickly.i try to hit power when it is on recovery and it responds one out of 20 times!when i finally get to twrp i wipe everything except internal storage and i flash the xtrarom.but when i reboot i am again in the bootloader loop!!i even instaled again bootloader through twrp flash but again the same...i even managed to open the os but when i rebooted my phone again the bootloader loop!what to do?i am desperate!
[Nexus 5 Original Android Development] lost020282:
i just even used wugfresh toolkit for unrooting back to stock process while softbricked and although the stock os had loaded if i power off i get the endless bootloader loop.i cant reboot.and to load twrp or system i need to play lottery and it works only 1/20 times....i am desperate..how i fix the bootloader nothing seems to fix it.should i relock the bootloader with wugfresh?

i selected no wipe mode though in wugfresh.as it said that it would even delete internal storage sd and this outrageous i have all the flash files there///should i try that?
[Nexus 5 Original Android Development] RK3601:
Start from stock, Download the original factory image from google and use the flash all script that's given with it. Although you can flash factory image without losing data and without the flash all script.. but we don't know what the problem is so you probably should erase everything. At this point i think you should start fresh as reflashing other roms would only keep the original problems. You will lose all your data, recovery img and bootloader will also be updated. but it's worth it for saving your phone. Do NOT use any other tool like wugfresh or anything of that sort. Just good old command prompt and adb. if you need step by step or any explanation, feel free to get back here.