yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] flar2:
I tries to do that, but I could only get shortcuts to show up for activities.
[Nexus 5 Original Android Development] 623baller:
USB OTG + Charge work around

if you have issues with USB OTG + charge working at the same time especially for people who install nexus 7 in their cars, this is for you.

this is very similar to the usb reset work around mentioned in the earlier threads.

basically, someone wrote a script to turn on and off USB port, it simulates plugging and unplugging USB cable.

http://xdaforums.com/nexus-7-2013/n...b-recognize-boot-solved-t3234773#post63980109

only thing i added to my set up is download script manager widget, so i can add a button to execute the script whenever i wish instead of waiting for reboot.

only down side is i now get a loud thump when i turn on ignition switch in the car , no idea why. confirmed working for nexus 7 running Android 6.0 clean rom and Elemental X kernel 6.05, YMMV

sorry this is suppose to be meant for nexus 7 , go ahead and delete, i will add it to nexus 7 post
[Nexus 5 Original Android Development] :
Hey guys, I am considering using this Kernel. It used to be my daily driver Kernel but I started getting heat issues. I've searched the thread and I've found others with this issue and others without. It's definitely a Kernel issue as I've tried the same ROM with other Kernels and no heat. I did find one post saying you should flash stock Kernel and then this one to avoid issues, is this Google stock or the Kernel that came with the custom ROM? Someone else also said that the heat problems went away after some time, is this something anyone else has noticed? I'd just like to know if anyone has previously had the heat issue and then solved it or does it just seem to be certain people with the problem and no fix? Any help is much appreciated and I'll 'thank' you :)
[Nexus 5 Original Android Development] flar2:
The problem is the ROM. Some of them break compatibility with this kernel. Flashing stock boot.img won't help, because they have removed system components that are required for this kernel to work properly

If you want the best experience on a Nexus 5, then install the stock ROM or Cataclysm, then install ElementalX.
[Nexus 5 Original Android Development] redstripes89:
Unable to gain root access

I'm unable to gain root with latest systemless version. I'm on stock Android 6.0 MRA58N.

Here's what I did

installed TWRP, with rw permission for /system

flashed ElementalX, with enforcing mode

flashed SuperSU 2.56

reboot, selecting 'do not install' on SuperSU prompt

SuperSU says no su-binary installed and EKM doesn't get root also...

Help appreciate
[Nexus 5 Original Android Development] androcraze:
You didn't install the MRA58N boot.img?

http://xdaforums.com/showpost.php?p=63811261&postcount=2760
[Nexus 5 Original Android Development] redstripes89:
Thought there's no need to flash boot.img in latest ElementalX version?

In which order should I flash?
[Nexus 5 Original Android Development] androcraze:
I THINK you still have to flash it....

Per: http://xdaforums.com/apps/supersu/wip-android-6-0-marshmellow-t3219344

"Instructions

You must absolutely re-flash your stock /system partition, or the separate root instances will interfere with eachother. The installer for this experiment will not clean up old root files.

- Flash stock /system

- Flash the attached boot image

- Flash the attached SuperSU ZIP in TWRP"
[Nexus 5 Original Android Development] grep_i:
I could flash Supersu v 2.56 directly on unrooted system but that did not give me root access.

What worked for me was flashing Supersu v 2.50 and after that downloaded Supersu v 2.56 from apkmirror and install that.

That got me on Supersu 2.56
[Nexus 5 Original Android Development] redstripes89:
Just flashed the linked boot.img and everything works.

Thanks!
[Nexus 5 Original Android Development] The-Droidster:
Thanks for replying. I'll use the intents instead with tasker for now.

Sent using XDA One
[Nexus 5 Original Android Development] :
Thanks, I installed Cataclysm but still got heat problems, I may try it with stock marshmallow at some point. Thanks a lot for your help!!
[Nexus 5 Original Android Development] flar2:
Maybe it's something else then. Choose the stock thermal option during install and thermals will be exaclty the same as stock using EX and Cataclysm.
[Nexus 5 Original Android Development] Arstoien:
Quick question, maybe I'm missing something: I installed over Cataclysm with mostly default settings (all regarding cpu are default). In the governor settings I see that the input_event_min_freq is 1.7 GHz for the first core and 1.3 for the other three. But looking at the frequencies real life (with 0.1s refresh rate), the first cpu doesn't scale up to 1.7 on touch. If I set both first and second core input_event_min_freq to 1.7, then they both scale up to 1.7 for the time in input_event_timeout.

All flashing was clean. Any idea why cpu0 isn't scaling up?
[Nexus 5 Original Android Development] flar2:
It is, but so quickly you don't see it
[Nexus 5 Original Android Development] Arstoien:
Isn't it supposed to be for the duration of input_event_timeout (=500ms by default)? Because even if I set the refresh rate of the monitor to 10 ms, I still don't see the first core jumping to 1.7. Just curious why, nothing else. Because if I set both 1st and 2nd core to 1.7 GHz, then I see both jumping to 1.7 for the whole 500ms.
[Nexus 5 Original Android Development] flar2:
Update!!!

Just a minor update for the latest OTA

Download:

ElementalX-N5-6.06

Changes:

-Google updates
[Nexus 5 Original Android Development] onkeltoby:
Works it with mra58n ???
[Nexus 5 Original Android Development] BelzIgoh:
Yes
[Nexus 5 Original Android Development] xeraphael:
Just a heads-up for anyone flashing this kernel on CM13: if you're also flashing SuperSU, SELinux enforcing needs to be off.

Had to spend almost an hour before I discovered the solution to my bootloops, so hopefully this saves someone else some time.

---------- Post added at 02:21 AM ---------- Previous post was at 01:47 AM ----------

I'm seeing some strange behavior with the elementalx governor on CM13, can someone confirm?

1) Trying to change the sampling_rate tunable immediately results in a reboot.

2) With msm_sleeper, one of the two online cores is always stuck at max frequency regardless of cpu load. Switching to the ondemand governor eliminates this problem.
[Nexus 5 Original Android Development] flar2:
Things have gotten very crazy with development on this device.

I can only recommend stock and cataclysm at this point.
[Nexus 5 Original Android Development] sroma1980:
Add Pure Nexus rom. Its works ok to.?
[Nexus 5 Original Android Development] xeraphael:
Does that mean that the elementalx bugs don't appear in stock ROM? That's weird...
[Nexus 5 Original Android Development] flar2:
There are no elementalx bugs
[Nexus 5 Original Android Development] xeraphael:
Two hours of messing and I've found the workarounds:

1) Reboot occurs when using Kernel Adiutor, directly editing the tunable using a file manager or script works fine.

2) Choosing elementalx AGAIN as the cpu governor (even though it already is) will make frequencies scale normally. Easiest way to do this is to set a startup script:

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

Hope this helps anyone facing the same problems.
[Nexus 5 Original Android Development] mukintaras:
How can I get back stock kernel without full reinstall? Being more precise — where to get kernel.zip for install via recovery for MRA58N?
[Nexus 5 Original Android Development] z31s1g:
If no one can provide the zip you're looking for, pulling the boot.img from the factory image set and flashing it in twrp directly should do the trick as well.
[Nexus 5 Original Android Development] yanleites:
What exactly does it mean? I can make OTA updates with this kernel?
[Nexus 5 Original Android Development] RusherDude:
Excuse me, what OTA are you refering to? MRA58N or a new one? Cause ive been using 6.05 with MRA58N and didnt notice any issue :p.

Thanks a lot for the hard work!!
[Nexus 5 Original Android Development] dead90:
Hi guys, i m using elementalx on cyano 12.1 on my nexus, i would like to pass on cyano 13 and install elementalx, there are some differences in installation?

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Original Android Development] humzaahmed155:
I've got a persistent kernel panic/random reboot. Every time I pull the last kmsg the reboot reason always seems to be "wdog_bite". A quick Google search shows that it's common with Nexus 5s. Though I haven't had this issue at all, until September.

I can't upload the kmsg because of Tapatalk, sadly.
[Nexus 5 Original Android Development] Balino:
Screenshots:

Moderate use Wi-Fi, calls, internet Browsing, videos etc

Custom hotplug.

Great kernel, thank you very much [MENTION=4684315]flar2[/MENTION]

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Original Android Development] wkwkwk:
Hi,

Would it be possible to add the USB keyboard patch? https://github.com/pelya/android-keyboard-gadget

It would be greatly appreciated.

Thanks
[Nexus 5 Original Android Development] thefiqs:
Hello!

I just came back after a while for my N5. Flashed MM and thought I will use EX and Kernel Manager I bought before. (Have the receip number) But realised somehow it does bot show in store I've already bought. Ist this a completelly new version I have to buy again? ?
[Nexus 5 Original Android Development] nathanchance:
Yeah unfortunately, the previous application was removed because it allowed users to change SELinux to permissive. Here is the explanation. There is actually a link in there to the old .apk file if you still want to use it since you did pay for it. I did not use the previous app as it was before my time with EX but the new app is absolutely outstanding. Great UI and super smooth. I know it sucks to have to pay for it again but I think it is more than worth it to support a great developer.
[Nexus 5 Original Android Development] wkwkwk:
I think fast charging is broken in marshmallow as it says charging from USB although in /sys/ fast charging is 1.

I tried bluspark kernel and it seems to work, it says charging from AC.

Thanks
[Nexus 5 Original Android Development] flar2:
It's not supposed to say charging from ac. I raise the current limit without forcing ac, which would break USB functionality.
[Nexus 5 Original Android Development] matt4321:
Gave the thread a little tidy. No need to go off on one about which is the most stable/up-to-date ROM.

As always custom kernels like this that are based on AOSP are going to work best with stock.

Anyway, keep up the good work [MENTION=4684315]flar2[/MENTION] I've been using this kernel for years. Have a good day all.

Forum moderator,

matt4321
[Nexus 5 Original Android Development] joeski27:
Does the 6.06 work with the new CM 13 nightlies released a few days ago? I just tried a dirty flash from 12.1 to 13, and flashed 6.06 at the same time, couldn't get it to boot. Now trying to re-flash the rom without the EX kernel, try to see if that was the problem...:confused:
[Nexus 5 Original Android Development] DJ_SpaRky:
It does, but I had to enable "Insecure Kernel" and disable "SELinux Enforcing" to get it to boot.
[Nexus 5 Original Android Development] wkwkwk:
That's strange, I just flashed the latest AOSP cm13 (3rd of dec) and worked just fine with SELinux Enforcing and secure.

I was already on cm13 though.
[Nexus 5 Original Android Development] Primokorn:
Yep. No need to use the insecure kernel or permissive mode with CM13. I flashed this kernel on both unofficial and official builds (SuperSU didn't work though => bootloop).

CM13 builds are always in Enforcing mode BTW.
[Nexus 5 Original Android Development] I7210I:
hi

how can i record calls while using elemental x kernel and mm , i'm asssuming that there is connection between these and that i didn't succed with any app that i tried :(

thanks
[Nexus 5 Original Android Development] Hatshipuh:
Just had a random reboot midgame.

Any idea what happened?

Stock settings except FIOPS scheduler and 512 readahead.

Last_kmsg attached.
[Nexus 5 Original Android Development] flar2:
Probably a one-time thing. Don't worry about it unless it happens again
[Nexus 5 Original Android Development] jineshpatel30:
[MENTION=4684315]flar2[/MENTION] , is it possible to add this in next ElementalX ? i'm asking bcz i'm having minor lags in 3D gaming ( even in small games like Temple run 2 )

I checked some floating CPU performance apps app and came to know that 2 cores always stays idle even in that games ! so may be keeping them online may help with this. in my usage only apps use all 4 cores are FB & chrome, 2 core remains idea in all other apps & games almost all the time.
[Nexus 5 Original Android Development] flar2:
You could turn off mpdecision with EXKM, but this may not help if the game only uses one or two threads.
[Nexus 5 Original Android Development] jineshpatel30:
okay.

yah you are right i tried it but no help. it clocks all 4 threads but still lags !

any other suggestion to remove that slight lag ?
[Nexus 5 Original Android Development] mchartier:
[MENTION=4684315]flar2[/MENTION] Would it be possible to use this kernel on CM13 CAF? I tried without enforcing mode and with insecure kernel but still nothing
[Nexus 5 Original Android Development] sherincal:
CAF uses CAF Kernel. ElementalX is AOSP Hammerhead kernel.
[Nexus 5 Original Android Development] atomic339:
How to check cpu governor in root explorer?

Wysłane z mojego GT-N8013 przy użyciu Tapatalka
[Nexus 5 Original Android Development] DroidIt!:
I've never looked myself, but from the second post of the thread... :)

The config file is located at /etc/elementalx.conf. You can edit this file to change kernel settings. Whatever is set in this file will take effect when the device is booted (unless other scripts or apps interfere!)

If settings are not sticking:[*]Make sure you have busybox installed correctly and updated to the latest version[*]Make sure the file permissions for /etc/init.d/99elementalx are set to execute.[*]Check to see if any /etc/init.d scripts or apps (such as Kernel Tuner or TricksterMod) are interfering with your settings.

---------- Post added at 09:09 PM ---------- Previous post was at 09:07 PM ----------

Oh yeah, this would have changed. I believe flar said it's moved from init.d to su.d. Again, I've not had a problem with Ex Kernel manager app settings not sticking, but I'd think that would be a good starting point. ;)
[Nexus 5 Original Android Development] p1nky:
where to finde the changelog 6.05 -> 6.06 ?

can i just flash the new kernel from recovery without wipe or what needs to pay attention for?
[Nexus 5 Original Android Development] thorrules:
Just flash if coming from 6.05. If coming from another kernel then flash ROM then kernel. Not sure about change log, but it is somewhere in the forum.
[Nexus 5 Original Android Development] Jason78729:
Where to find cpu governor in a file browser (root required).
[Nexus 5 Original Android Development] dechronic:
flar2 stated in the post with the update that it has the latest changes made by Google in the last OTA update.

See that post here -> http://xdaforums.com/showthread.php?p=64042801
[Nexus 5 Original Android Development] Joy Bangla:
[MENTION=4684315]flar2[/MENTION] does under clocking CPU improve battery life?
[Nexus 5 Original Android Development] jaibar:
Yes it can improve battery consumption- clock frequency is a major player in the CPU energy usage.

However, it has a price- as anything in life, it's a compromise. In this case, you pay for performance and user experience. You exaggerate too low, you can have lag, freeze of death, black screen and so on. Maybe you'll have to reboot more frequently, causing me battery drain (which was why you tried to underclock to begin with).

So, proceed with caution and one step at a time, don't over exaggerate and have a nandroid handy- or flashable zips or knowledge to repair stuff- because as far as I remember, EXKM doesn't have an option to delay settings after booting, so if something screwed you may need to fix via recovery somehow.
[Nexus 5 Original Android Development] Joy Bangla:
but if i underclock, wont a task take longer to complete thus keeping the cpu active longer and in turn draining more battery?
[Nexus 5 Original Android Development] geek-x:
Quick question guys, what makes the touchscreen sensitivity on elementalX so much better than the stock google kernel for the N5?
[Nexus 5 Original Android Development] jaibar:
I don't think so, but I must admit that I am not a CPU architecture engineer. So, you could be right under some circumstances. My phone drains the battery in about one hour of 100% at 2.2GHz usage- and gets extremely hot at that- but on 100% awake at 300MHz it behaves almost comparable to deep sleep- takes about full day to drain the battery and it stays cool.

I suppose you can find in the web the energy consumption vs. clock and temperature graphs for various common CPU models, so these can help you device if the effort is worth the pains..
[Nexus 5 Original Android Development] Midomad:
Just to let you know guys SuperSU 2.60 update from today is working great with latest Cataclysm and elementalX 6.06.
[Nexus 5 Original Android Development] chazall1:
Same here SuperSU 2.60 working great with latest Cataclysm and elementalX 6.06
[Nexus 5 Original Android Development] brown_89:
There is,or maybe will be,a version for the CAF CM13?
[Nexus 5 Original Android Development] flar2:
Never
[Nexus 5 Original Android Development] grep_i:
Supersu 2.60, stock Android M MRA58N and ElementalX-N5-6.06 works great together. Thanks [MENTION=4684315]flar2[/MENTION]
[Nexus 5 Original Android Development] Balino:
Actually there's a thing called hotplug. Mostly our device run at 2 core always or nearly always on. There's a thread online claiming that for example 4 cores running at 1267mhz can do the same job of 2 cores running at 2266mhz with 1/3 power less. It's an interesting thread, search it on Google. Actually I'm running 4 cores always on and Max 1267mhz clock and I have to say it's quite smooth and battery lasts longer than when mpdecision was enabled and set at 2,3ghz
[Nexus 5 Original Android Development] WNSTNSNRS:
Can anyone provide a good settings for HD Gaming? Like NBA 2K16?
[Nexus 5 Original Android Development] ab4nk:
Oo how about catckysm setting still work under elementalx 6.06?
[Nexus 5 Original Android Development] magnamentis:
yes but where is the connection, why not ? perhaps i missed the point or misunderstood ?
[Nexus 5 Original Android Development] flar2:
Still works, and always will
[Nexus 5 Original Android Development] maortrol:
New version! Android v6.0.1 (MMB29K) available:

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

;)
[Nexus 5 Original Android Development] flar2:
6.0.1, new version number and everything.

I'll keep an eye out for new updates to the kernel source. Nothing yet.

In the meantime, I suspect EX 6.06 will work. If someone could try it and confirm, that would be great.
[Nexus 5 Original Android Development] maortrol:
Android 6.0.1 doesn't boot with EX v6.0.6 kernel, stucks in bootloop... :(

Maybe 6.0.1 comes with new kernel?
[Nexus 5 Original Android Development] flar2:
They all come with a new kernel. Did you flash the stock 6.0.1 boot image before EX? The ramdisk may have changed.

If it still doesn't work, I suspect Google has made some changes to selinux or something.
[Nexus 5 Original Android Development] maortrol:
First I flashed the whole 6.0.1 Factory Image, then rebooted.

Then, I flashed Custom Recovery, and from it, I flashed EX 6.06 kernel zip and SuperSU 2.52 zip.

Then, I rebooted, and it got bootloop...
[Nexus 5 Original Android Development] flar2:
Damn, we'll have to wait for the new source to see what changed.

I hope we don't have big problems with root and selinux again.
[Nexus 5 Original Android Development] maortrol:
Don't worry, I flashed the 6.0.1 Factory Image again, and it booted fine, so we'll wait for you, no problem! ;)

I just wanted to report my experience, just if it is of any help for you.

Thank you very much!
[Nexus 5 Original Android Development] NeoDaemon:
it's working for me on 6.0.1

installed the image sans -w command, flashed twrp, supersu 2.60 and lastly elementalX

[IMG="6.0.1 + ElementalX"]http://i.imgur.com/K2oYP6H.png[/IMG]

Did the same on my nexus 7 2013 and worked fine too.
[Nexus 5 Original Android Development] maortrol:
Flashed first SuperSU 2.60 and then ElementalX kernel 6.06?

I flashed first ElementalX kernel 6.06 and then SuperSU 2.52... :confused:
[Nexus 5 Original Android Development] flar2:
Maybe it works with systemless root, in which case the problem with 6.06 is the sepolicy file.

This will all get sorted out tonight or tomorrow night when I'm home and able to work on it.
[Nexus 5 Original Android Development] NeoDaemon:
I installed twrp then boot on recovery, flashed supersu 2.60 and without restarting elementalX 6.06 with aroma, reboot and booted fine.

flar will sort it out for sure :D
[Nexus 5 Original Android Development] magnamentis:
you ask about flashing order while the point is probably that he uses another superSU variant which does not write to the system partition. try that out and report back because if it then works for you, we all know that we have to go with the new superSU approach. my rom os not ready yet so i have to wait for a day or two but since you're obviously stock you could try that, would be a very useful contribution ( confirmation ) thanks.
[Nexus 5 Original Android Development] maortrol:
Ok, reporting my new try:

From stock 6.0.1 I've just flashed again Custom Recovery, and from it, I flashed EX 6.06 kernel zip and then the latest SuperSU 2.61 zip (I think Chainfire has just released this new version).

Now, phone booted fine, and root acquired correctly, no problems so far... :good:
[Nexus 5 Original Android Development] Midomad:
It seems source are out :)

https://android.googlesource.com/platform/build/+/android-6.0.1_r3
[Nexus 5 Original Android Development] WettbackMartyr:
[MENTION=298610]Flar[/MENTION] USB fastcharge seems to be inop on 6.0.1 with systemless root. Not a deal breaker by any means just an FYI
[Nexus 5 Original Android Development] Hatshipuh:
Sudden reboot while playing a game, this time something different.

I see powersource change message a lot, and I did play while connected to charger.

Stock settings except ROW scheduler.

Last_kmsg attached.
[Nexus 5 Original Android Development] magnamentis:
thank you very much. this confirms my suspicion and that of others that systemless root is not only a nice move but becomes mandatory. i will give it a day or two to gather information like your valuable observations to get the picture but i think that's about where things are heading. google really seems to mean it this time and observing development on a variety of platforms i must say that i don't like where all this is heading, but let's see.
[Nexus 5 Original Android Development] :
I just flashed the radio and system img then supersu2.52beta and Im booting my Nexus 5 just fine with Ex 6.06

the only strangeness is the battery percentage is crazy but it looks like that is also happening with other people too and it may be related to the kernel. hopefully there will be an update to EX soon
[Nexus 5 Original Android Development] magnamentis:
of course i'm happy for you but you just destroyed my theory that root writing to system partition has been further restricted. now i have to wait and read again to see what's going on. Just kidding of course, even though that didn't fit my impressions this input is very much appreciated. just a bit lost now at 4 a.m. will postpone further pondering till tomorrow then. once more many thanks for sharing this.