yashsingh1/xdaforums huggingface dataset:
[Nexus 6  Original Android Development] Nick502:
I love your kernel! Great job! Looking forward into seeing it further develop.

Ps i bought your app to support you!
[Nexus 6  Original Android Development] Mudvayne622:
I want to install this kernel because I hear nothing but good things but I have a question I can't find with a Google search.

If I flash this but decide it's not for me(doubtful) how do I get back to the kernel that came with my Rom? Just wipe Cache/Dalvik/Factory Reset and restore my Backup I made before flashing the kernel?

PS- This will be my first custom kernel flash
[Nexus 6  Original Android Development] :
Either restore a nandroid or dirty flash the rom, they'll both give you back the original kernel.
[Nexus 6  Original Android Development] Mudvayne622:
Well that's simple enough. Thanks for the immediate response. Gonna flash now.
[Nexus 6  Original Android Development] metaphz:
If I flash permissive.zip will this allow me access to R/W system on M Preview?

I have been able to get Preview installed but trying to get R/W access on system is becoming a nightmare. I have followed the directions in another thread but instead of installing the Elite kernel I have been flashing ElementalX.

1.) Properly Flash M Preview - Reboot to Bootloader

2) Flash TWRP

3.) Flash fix_rw_boot.img

4.) Reboot - Wait 2 MIN

5.) Re-flash stock boot.img

6.) Reboot to Recovery (TWRP)

7.) Flash ElementalX

8.) Flash BetaSU 2.49

When I attempt to reboot after re-flashing boot.img I get device verification, which is fine, then I get a black screen no Android boot logo.
[Nexus 6  Original Android Development] :
Dude, I am running this kernel on my cm12.1 and it is flawless the past 2 days. I'm liking it. Thank you for your work
[Nexus 6  Original Android Development] DroidIt!:
You don't need permissive to be able to make system r/w, you can do that without permissive. The two main reasons I can think you'd need permissive is xposed and v4a ;)

---------- Post added at 07:18 AM ---------- Previous post was at 07:10 AM ----------

Oh speaking of permissive, hey [MENTION=4684315]flar2[/MENTION] and others, I found a script in another thread that a user provided. It makes your phone think it is set to permissive when it's actually still enforcing. It's untested by me but the user said he tried it and it worked. Well, here's the link to download from my drive https://drive.google.com/file/d/0B3puTLFuCHDubHFwVm1FVU9Ec3c/edit?usp=docslist_api and I'll leave that in place for a bit for anybody who wants to try it :)
[Nexus 6  Original Android Development] :
Not really making the phone think it's permissive...

Its actually patching the policy on the fly. That one specifically executes the command : /system/xbin/supolicy --live "allow mediaserver mediaserver_tmpfs:file { read write execute };"

Which is apparently what v4a needs.

https://su.chainfire.eu/#selinux-policies-supolicy

Its a little misleading to say that it make it think it's permissive, since xposed would still have issues with that.
[Nexus 6  Original Android Development] flar2:
What that file does is change the Selinux policy so v4a will work. It allows access to media server, but leaves everything else alone.
[Nexus 6  Original Android Development] mwebb34:
I'm on dirty unicorns ROM 5.1.1 and I'm running EX what should my Input Boost Frequency be set on right now its on 1497. Should I lower it as low as it will go?
[Nexus 6  Original Android Development] DroidIt!:
Ah, OK. :) I didn't look into it at all, just shared before I got busy. So it works ONLY for v4a and nothing else like xposed? Well, I suppose if all somebody wants is v4a then it'll work fine. I do use xposed for a few select things...selectively applying immersive mode and such so I'll still use your zip then :)

---------- Post added at 01:56 PM ---------- Previous post was at 01:51 PM ----------

With input boost, and actually with all CPU boost options, I just leave everything disabled. If boost ms is at 0 then the rest actually doesn't matter anyways, it's all disabled which I believe is what flar also reccomends ;)
[Nexus 6  Original Android Development] x111:
can I flash

ElementalX-N6-2.00

over

Android 5.1/5.1.1

?
[Nexus 6  Original Android Development] Lancez:
5.1.1 yes, 5.1 not sure
[Nexus 6  Original Android Development] drawde40599:
Call recording

Is call recording included within the Kernel ?

Trying to answer someone's question in G+ I don't use the feature and can't remember .
[Nexus 6  Original Android Development] flar2:
I didn't add it specifically. Not sure if it's included from stock or not.
[Nexus 6  Original Android Development] ANDR01DN00B:
Call recording is a kernel feature? I'm sure there are a few apps that can record calls, bit don't call on me for a link to said apps... I don't use call recording. Just search on XDA or in the Play Store. I'm sure you'll find something.
[Nexus 6  Original Android Development] drawde40599:
Yes true all recording it's a Kernel feature .
[Nexus 6  Original Android Development] danarama:
Depends what app and method you use. As [MENTION=4684315]flar2[/MENTION] said didn't specifically add anything for it. I'm recording using the CAF method
[Nexus 6  Original Android Development] Chirag7:
Where are the gpu governors located in the kernel? I could only find the cpu governors in drivers/cpufreq/
[Nexus 6  Original Android Development] ArcMage:
They're in the Graphics tab.

Never don't thank devs
[Nexus 6  Original Android Development] flar2:
/sys/class/kgsl/kgsl-3d0/devfreq
[Nexus 6  Original Android Development] drawde40599:
I haven't used call recording since my HTC desire , guess I'm behind :P

CAF method ? So looks like it just works if your rooted nowadays
[Nexus 6  Original Android Development] danarama:
Yeah probably. Though I never used this phone stock so can't say for sure..
[Nexus 6  Original Android Development] Chirag7:
I couldn't find those in the kernel source.
[Nexus 6  Original Android Development] flar2:
Oh , in kernel source.

IIRC, it just makes some calls to stuff in trustzone, so it's basically closed source. That's probably why you can't find it.

I think it's somewhere in /drivers/gpu/msm.
[Nexus 6  Original Android Development] :
The governors listed for the gpu are actually in

https://github.com/flar2/shamu/tree/lollipop-mr1/drivers/devfreq
[Nexus 6  Original Android Development] flar2:
Yes, that's it, specifically this one:

https://github.com/flar2/shamu/blob/lollipop-mr1/drivers/devfreq/governor_msm_adreno_tz.c

The good stuff is in trustzone, but you can still mod things in this file to change the behaviour, as faux used to do with the simple gov.
[Nexus 6  Original Android Development] treIII:
When using kernel auditor it shows 1958 as my CPU speed. I try to change it to 2726 and it won't stick. Anyone know why? I'm using the m kernel. Thanked

Sent from my Nexus 6 using Xparent Blue Tapatalk 2
[Nexus 6  Original Android Development] Lancez:
If you are not using EX kernel manager I'm afraid that you will have problems here and there.
[Nexus 6  Original Android Development] ANDR01DN00B:
Probably your hotplug settings. What was/is it on?
[Nexus 6  Original Android Development] treIII:
How do I find my hot plug settings? I'm using trickster for the moment. Thanks

Sent from my Nexus 6 using Xparent Blue Tapatalk 2
[Nexus 6  Original Android Development] hellsgod:
There's a new driver in the M kernel, which limits max freq and kicks out cores if you hit a certain battery voltage threshold. I think it needs some tweaking, because it produces lags and other problems, even on normal usage.

hells
[Nexus 6  Original Android Development] flar2:
There are a few possibilities. Thermal daemon is one, it limits frequencies based on temperature and battery level (eg 2265 at 40% and 1728 at 20%)

Trickster can also cause issues. Some of those apps change the permissions on cpufreq files which can interfere with things.

As I have always recommended, best thing to do is leave frequencies alone.
[Nexus 6  Original Android Development] DroidIt!:
Personally I'd get rid of trickster. I had problems with it and stopped using it long ago...just my opinion :)
[Nexus 6  Original Android Development] ANDR01DN00B:
Yeah others have commented so hopefully that will help. I suggest using Kernel Auditor or even flar2's ElementalX app in replacement of Trickster!
[Nexus 6  Original Android Development] tealio:
"OR EVEN" flar2's ElementalX app?!

If you're running ElementalX, BUY THE APP AND SUPPORT YOUR DEV!
[Nexus 6  Original Android Development] RusherDude:
EDIT: How in hell I ended up posting in the N6 thread, fail.
[Nexus 6  Original Android Development] drawde40599:
R5

http://aosp.changelog.to/android-5.1.1_r4-to-android-5.1.1_r5.html

Anything in there for the Kernel ? [MENTION=4684315]flar2[/MENTION]
[Nexus 6  Original Android Development] :
Nothing that searching for kernel finds.
[Nexus 6  Original Android Development] flar2:
I will do a git pull from googlesource and see if anything comes up.
[Nexus 6  Original Android Development] flar2:
Looks like all the new stuff is for android wear
[Nexus 6  Original Android Development] grv00711:
installed ElementalX-N6-2.00 on chroma rom 6-20 -15 build ...>with the ex kernel manager it keeps updating me back to ElementalX-N6-1.08 ?
[Nexus 6  Original Android Development] Tylog:
Sure. M Kernel is not 5.1.1 (yes it works fine I know) the App think you are not on Latest ElementalX 5.1.1 Kernel and give you the update info.

Disable auto update and done.
[Nexus 6  Original Android Development] grv00711:
thank you
[Nexus 6  Original Android Development] flar2:
I had a look, and I don't think this is necessary.

Running the test in that post, you will see that ElementalX is already idling at the lowest frequency.

I'm pretty sure the GPU has an idle or sleep state no matter what frequency is showing. On stock, it will show it "idling" at a higher power level (300 I think), but this is just the "initial powerlevel". When the GPU wakes up, it will automatically start at this powerlevel and adjust according to load from there. I have already changed the initial powerlevel to 240, so I think that should be sufficient.
[Nexus 6  Original Android Development] Chochiwpg:
Thanks [MENTION=4684315]flar2[/MENTION] for looking into it. I think you are right, I have tested a couple other kernels since that post that are using adreno idler and I honestly haven't noticed a difference with regards to improved battery while phone is idle. If anything the drain may even be slightly worse in some cases (from my own personal use/testing) Thanks again for checking it out. :good:
[Nexus 6  Original Android Development] ArcMage:
[MENTION=4684315]flar2[/MENTION] I'm extremely sorry to be asking you about what might be a userland problem, again, but I've had a couple of hard system crashes, on the stock M preview.

The phone crashes all the way back to the system decryption prompt, and logcat afterwards shows only a fatal SIGSEGV at 0x0, blamed on BootAnimation. That's probably a secondary symptom, I think?

I ask here because this is an awfully hard crash.

I'm running default kernel options from the installer, with the exception of slide/tap to wake, the charging LED, and a colour profile.

never don't thank devs
[Nexus 6  Original Android Development] :
Is your device actually encrypted?
[Nexus 6  Original Android Development] ArcMage:
Definitely. That hasn't changed since purchase.

Never don't thank devs
[Nexus 6  Original Android Development] Lancez:
You should start from scratch then
[Nexus 6  Original Android Development] ArcMage:
That is what I just did, moving to M. Full wipe, everything but my recovery.

Like I said, I'm not really ready to rule out some sort of app problem, but my app selection has been as known-good as I can call one, and this is a pretty deep-level crash, all the way back to the pre-decrypt bootloader.

I've had app-based reboot issues, but they've happened at the hot reboot level, just the system UI.

never don't thank devs
[Nexus 6  Original Android Development] DroidIt!:
What ROM? And are you flashing the permissive zip? I don't think I've had a crash since going to ElX about a year or so ago. Also any xposed or the like? Like you said I'm willing to bet it's something user space.
[Nexus 6  Original Android Development] ArcMage:
I flashed the permissive zip. I haven't touched permissive status after that, that I know of.

Never don't thank devs
[Nexus 6  Original Android Development] DroidIt!:
OK :) Are any of the other things I mentioned a possibility. Those would be your next most-likely culprits I think.
[Nexus 6  Original Android Development] Tylog:
Xposed isn't available for M. ElementalX works fine with M, zero isuses. I recommend the build from Tasssadar, multirom thread, it's a poor stock build without any crap. The other M builds that are around here makes (can only talk for me) problems, not from kernel side, random isuses. The build I told you + ElementalX - - - > 0,0000 problems.
[Nexus 6  Original Android Development] ArcMage:
It doesn't really get any purer stock than Google's factory image, though.

E: If it's a userspace problem, that won't help, in any case.

Never don't thank devs
[Nexus 6  Original Android Development] Tylog:
Yes, I use multirom, but Factory img is good too. I talked from the other `tweaked ' M Roms.
[Nexus 6  Original Android Development] flar2:
The kernel should be 100% stable, I'm keeping things very close to stock now.

M is not stable. I haven't used it on this device, but I was running it on my Nexus 5 and had a couple crashes, bone stock.
[Nexus 6  Original Android Development] ArcMage:
Thanks. Wish it'd tell me a little more about the fault, I guess.

With this in mind, I'll roll on, anyways.

Never don't thank devs
[Nexus 6  Original Android Development] drawde40599:
You flashed the permissive zip on 2.0 and Running M ? That permissive zip is for 5.1.1 You don't need it for 2.0 , its already permissive . Probably not your issue but maybe ?
[Nexus 6  Original Android Development] danarama:
[MENTION=4684315]flar2[/MENTION], I'm still having the strange issue of the cpu throttling issue happen. I've got no other kernel apps installed. It throttles to 1036, seemingly randomly.

I'll get some logs next time, but what are the best logs? Logcat? My last kmsg seemed to. Be gibberish when I previewed it.
[Nexus 6  Original Android Development] flar2:
It could be the ROM. I tested one of the popular custom ROMs on my nexus 5 and the CPU behaviour was extremely screwed up. I have no idea why , but it wasn't just with my Kernel, it was with stock Kernel as well.

M preview also does stuff with frequencies.

This type of thing likely won't show up in the logs.

CPU frequencies are driving me absolutely crazy these days. I never change them myself, and never have problems. I recommend users do the same.
[Nexus 6  Original Android Development] danarama:
It could be the rom I suppose.

I don't really do anything with frequencies at all. I just want 300 min and 2649 as max.

I'd like to alter the 40% battery throttle at some point, though that hasn't been working for me lately anyway.
[Nexus 6  Original Android Development] danarama:
It happened again :(

No amount of reboots saved me. It was odd, it throttles to 1036 then reboot and its 1267...then 1036.

All the ex app settings were lost and everything I set just reset again on a reboot.

I reflashed the kernel, no dice. Only when I downloaded the aroma version and flashed that could I get everything as it was supposed to be.
[Nexus 6  Original Android Development] DroidIt!:
I know you've been around the block :) but do you have any apps that can show you what is using your CPU? Don't really know if an app COULD do that, but worth a look.
[Nexus 6  Original Android Development] flar2:
Is your phone hot? Maybe it's throttling.

It doesn't make any difference if you use aroma or express, they install the same kernel.

Same with the app, if you don't have any settings applied on boot, it won't touch your frequencies.

Which ROM are you using?
[Nexus 6  Original Android Development] danarama:
No its not hot.

I know its the same kernel, which is why its odd. Only difference is writing the conf.

Weird thing is with the app, it lost all my settings. App isn't the cause. It's a symptom.

I'm on SlimLP like many others here.

---------- Post added at 10:05 AM ---------- Previous post was at 10:04 AM ----------

There's no cpu to use at 1036. Phone is almost unusable

Edit...

Well here is that last_kmsg that ends in gibberish

https://www.dropbox.com/s/52hlu2blm5em5su/last_kmsg.txt?dl=0

According to that, it was hot at 64. I set my thermal higher than that but of course, that had reset.

What's odd is in the kmsg, it throttles to 2.5 at 64, then 1.7 at 63 then 1.1 at 62.... That doesn't make sense to me. Temp goes down, add more restrictions? Why did thermal start setting in any way?
[Nexus 6  Original Android Development] DroidIt!:
Yeah figured you were on slim. :) Um, well combining Yank's builds with ElX for me, I don't recall my phone ever even getting lukewarm. Basically I just leave all ElX settings stock. The changes I make are to set max CPU at 1.9 GHz, turn off all gesture stuffs, UV by 25 globally, at set max GPU at 500. So I just lower everything by a touch. I'm not sure I've even had a thermal throttle navigating with Goog Maps and streaming with BT at the same time. Maybe give those settings a try?
[Nexus 6  Original Android Development] treIII:
Tmobile user and I cannot get WiFi calling to work for nothing. I'm on 5.1.1 with elemetal ex 1.08. Wifi calling works great on the m preview rom though with the m preview kernel posted by flar. Thanks to those who may help

Sent from my Nexus 6 using Xparent Blue Tapatalk 2
[Nexus 6  Original Android Development] adrman:
Use 2.0. It works on 5.1.1.
[Nexus 6  Original Android Development] treIII:
Does this kernel have color calibration if I use flar 2 kernel app? Thanks

Sent from my Nexus 6 using Xparent Blue Tapatalk 2
[Nexus 6  Original Android Development] Lancez:
Yes and a lot more you can do with EX app
[Nexus 6  Original Android Development] treIII:
Just purchased the app. Anyone have any color calibration suggestions for a start as I know each phone is different. Mine has the pink tint. Also anyone have any suggestions as a start for the sound adjustments that can be made with the ex app? By the way this is a very nice kernel app

Sent from my Nexus 6 using Xparent Blue Tapatalk 2
[Nexus 6  Original Android Development] frankt2012:
Why do I only get three core running when charging but when I unplug the charger the forth core comes back on? It does it on any governor I pick.

-Frank
[Nexus 6  Original Android Development] drawde40599:
Because your using the device while Charging . That's how it works on stock Kernel , flar2 probably left the feature intact .on stock It will drop to 2 Cores if gets hot enough while Charging .

Your using the quick charger ?
[Nexus 6  Original Android Development] *Tar*:
in the app the blue buttons are on or off?

Gesendet von meinem Nexus 6
[Nexus 6  Original Android Development] HiGhDRo3o5:
What rom?
[Nexus 6  Original Android Development] Nucleonic:
I'm still using stock ROM.
[Nexus 6  Original Android Development] Krunk83:
Is tricksterMOD the best app to use in conjunction with this kernel?

nexus 6
[Nexus 6  Original Android Development] Mistertac:
Trickster will work good, but Flar also has his ElementalX App you can get from the Play Store once you sign up for beta testing through his G+ page.

It costs a couple dollars, but so does Trickster and FauxClock so if possible you might as well support Flar.
[Nexus 6  Original Android Development] Krunk83:
Wow. Just installed this. Nice clean install setup. Thank you. How can I get the vibration function with dt2w to work?

nexus 6
[Nexus 6  Original Android Development] paychex:
There is an option in the elemental app
[Nexus 6  Original Android Development] Krunk83:
I've done this and the vibration still doesn't work. The vibration works for slide2sleep, but not dt2w.

nexus 6
[Nexus 6  Original Android Development] slickie88:
I don't think it's intended to work for dt2w as it's a tap rather than a press. Vibration would be weird for dt2w.
[Nexus 6  Original Android Development] flar2:
You only get the vibration if sweep2wake is enabled. If s2w is disabled and dt2w is enabled, it uses the stock implementation of dt2w, which doesn't have haptic feedback..

Next version I will add the haptic feedback option to the stock dt2w.
[Nexus 6  Original Android Development] Krunk83:
Gotcha. Thanks. I think the g3 has vibration on dt2w but that's off subject. Kinda like swipe2wake better. ?

nexus 6
[Nexus 6  Original Android Development] flar2:
I used to used double tap all the time, but in the last few months I've gotten in the habit of sweeping up on all my phones.

For those with slow wakeup, do you have screen off frequency set lower than the default of 1190? Or perhaps some other tweaks to unlocking or the lockscreen? I have not had slowness waking up except very occasionally with the stock doubletap2wake.
[Nexus 6  Original Android Development] sn0warmy:
Just flashed the latest kernel. I can't tell you how happy I am to have double tap to wake back. I missed that greatly from the OnePlus One.

Thanks!
[Nexus 6  Original Android Development] Lancez:
[MENTION=298610]Flar[/MENTION], is there anyway to enable USB fast charge? it takes really long time to charge via USB port :(
[Nexus 6  Original Android Development] Joe Rawket:
+1
[Nexus 6  Original Android Development] simms22:
at 2956mhz low and high, with rastapop, ondemand/deadline..
[Nexus 6  Original Android Development] Jeremiah_1988:
Just got my nexus 6 from google today, popped my Verizon Sim card in and everything is great, my question is due to the Verizon Sim card can I flash this Kernal or will it mess with radios and what not?
[Nexus 6  Original Android Development] paychex:
Kernel has no effect on radio
[Nexus 6  Original Android Development] Jeremiah_1988:
Thanks, how's the battery life on this guy?
[Nexus 6  Original Android Development] paychex:
Good enough
[Nexus 6  Original Android Development] Zenoran:
I'm using stock everything and have the slow wake on dt2w almost 100% of the time.
[Nexus 6  Original Android Development] frankt2012:
Ok never noticed that but never was looking either. I am using the quick charger so it probably makes everything heat up pretty quick. Thank you for the quick reply.
[Nexus 6  Original Android Development] treIII:
How our what is everyone using to calibrate color using the elemental x kernel app? Id really like to use this feature properly as my phone has the pink tint at lie brightness. Thanks

Sent from my Nexus 6 using Xparent Blue Tapatalk 2
[Nexus 6  Original Android Development] tiernan22:
If it's kcal, try this. Forgive me if it's off base.

https://docs.google.com/spreadsheets/d/1JnUlmjUQEBU0OA0EptEno4-Z5qFUzOLJ73me4tzg968/htmlview
[Nexus 6  Original Android Development] jvward:
How is the battery life on this kernel generally? How much configuration needs to be done to improve on it?
[Nexus 6  Original Android Development] danarama:
Same as every other kernel.
[Nexus 6  Original Android Development] Tylog:
On
[Nexus 6  Original Android Development] :
Using 2.00 on LP Light rom running great! Kicked myself today because I just purchased your app and should have gotten it sooner. Nice work!! :D
[Nexus 6  Original Android Development] WhammyDroid:
Yep! Bought the app as well! Well done!
[Nexus 6  Original Android Development] mwebb34:
Anyone know if this kernel v2.0 I think. Will it work on cyanide ROM v15 5.1.1
[Nexus 6  Original Android Development] DroDough:
Yes it will.
[Nexus 6  Original Android Development] metaphz:
[MENTION=4684315]flar2[/MENTION] Do you suggest using Android M 2.0 kernel on 5.1.1 or stick with 1.08?
[Nexus 6  Original Android Development] DroidIt!:
Well, don't know what flar personally thinks, but so far so good for everybody. ;)
[Nexus 6  Original Android Development] *Tar*:
The M 2.0 Kernel works also fine on Terminus 5.1.1

Gesendet von meinem Nexus 6