yashsingh1/xdaforums huggingface dataset:
[Nexus 6  Original Android Development] flar2:
Update!!!

No changes to the actual kernel, just the installer, so if you don't care about setting selinux to permissive, then carry on with 0.25

Version 0.26 adds an option to set selinux to permissive. The default is enforcing (stock setting). It is recommended to leave it alone unless you need permissive for mods such as xposed. The permissive option depends on having SuperSU installed (highly recommended).

Also remember that EX uses whatever ramdisk you currently have, so if you've been messing around trying to get xposed working, you might want to restore the kernel that came with your ROM before installing EX.

I also made an app to extend wake gestures if you're interested: http://xdaforums.com/android/apps-games/app-wake-gestures-t3030399

Download:

ElementalX-N6-0.26

Changes:

-add permissive option
[Nexus 6  Original Android Development] flar2:
Exactly what I've done above

I had to add something that changes it earlier in the boot process, but otherwise you can change it any time

For permissive:

setenforce 0

for enforcing (default):

setenforce 1
[Nexus 6  Original Android Development] dvdivx:
I thought that would be the perfect solution for those that want it. Great work.
[Nexus 6  Original Android Development] D-m-x:
Tested and works just fine. This is a very welcome option for me, for the time being since I just both, V4A and Xposed. Thanks!
[Nexus 6  Original Android Development] my95z34:
Does this new method for setting permissive use init.d, or something else?

I just tested it and it wouldn't set as permissive. ? But I know that init.d doesn't work.
[Nexus 6  Original Android Development] D-m-x:
Init.d didn't work for me either. But this does, maybe you wanna try and Dirty Flash your Rom so you have the Stock Ramdisk.
[Nexus 6  Original Android Development] danarama:
[MENTION=4684315]flar2[/MENTION] - another confirmation that this works with xposed for me.
[Nexus 6  Original Android Development] sapphire_pro:
Hey guys,

what about the compatibility with this Kernel and current CM12 nightlies?

Are the current CM12 nightlies AOSP or CAF based?

Regards!
[Nexus 6  Original Android Development] TyroneLT:
What should I do if I'm already using another app (Selinux mode changer) to set it to permissive?
[Nexus 6  Original Android Development] christianrance:
With respect to overall security, if you don't need to have it set to permissive (in a top priority fashion as is needed for the Xposed framework) it's probably best to leave it as-is during boot (and change via the app as needed). Based on others' comments throughout this thread, I believe that's the overall consensus. Anyone disagree?

Of course, if you needed to change this, a reinstall of the kernel would allow you to change this option.

...via my EX/CleanROM N6
[Nexus 6  Original Android Development] wrongway213:
It works with CM and AOSP - afaik all kernels still do.

---------- Post added at 08:31 AM ---------- Previous post was at 08:29 AM ----------

Yes that's the most secure, if he needs permissive for Xposed it won't be useful though as you stated
[Nexus 6  Original Android Development] danarama:
[MENTION=4684315]flar2[/MENTION] - nexus 6 seems to stop charging at 100% on qi, unlike nexus 5 which trickles. This is really annoying if you want to use daydream. Is this something that could be changed at kernel level do you think?
[Nexus 6  Original Android Development] slickie88:
This is one thing I can't stand about the N6.
[Nexus 6  Original Android Development] danarama:
Really annoying. Didn't realise until I spent money on a second qi (tylt vu)... Waste of money really. Well, it didn't fit great on my previous Nokia so it was at least half worth it.
[Nexus 6  Original Android Development] slickie88:
Same here. I bought the Vu when it was on sale for half price thinking it would be great for the nightstand.. :(

I researched the no-trickle charge issue a while back and didn't find any solutions at the time.
[Nexus 6  Original Android Development] danarama:
I tried using tasker to set the screen to stay on and initiate daydream using a shortcut app but NY phone went haywire. The only solution it seems is to allow it to trickle charge properly. Just not sure if that can be controlled by kernel or not. I really hope so because that was the main reason I limited my device choices to amoled screened phones.
[Nexus 6  Original Android Development] flar2:
I will add the trickle charge to my todo list, but no promises and it has to have lower priority (plus I still have to by a wireless charger). The poor Nexus 9 is in desperate need of an update, and so is the EX app. I'm pretty much working nonstop the last few months.

By the way, is anyone using the Wake Gestures app? I think some people were confused, it's a standalone app, does not require xposed like on kitkat. It's just a weird coincidence that at the exact time I decided to port it to a standalone app, xposed for lollipop was released.

Even if you are not interested in assigning custom actions to the gestures, this is the only way to add pocket detection for this device. So you could assign "turn screen on" as the action for your gestures of choice and enable pocket detection.
[Nexus 6  Original Android Development] danarama:
Thanks [MENTION=4684315]flar2[/MENTION] - totally understand your time issues and have no expectations. If you manage it, it would be a bonus.

I tried the app for wake gestures. I personally found that my double tap to wake seemed less reliable so I uninstalled it.
[Nexus 6  Original Android Development] DroidIt!:
Hey [MENTION=4684315]flar2[/MENTION], there's an unrecognized developer [MENTION=2033478]Yank555[/MENTION] :) in the SlimRom Builder Collective that did a lot of research and found that those living outside the US on the 5 ghz wifi band were being restricted to only 4 channels. He found a fix for it in the kernel and I thought you might be interested in including these fixes. ALL credit goes to [MENTION=2033478]Yank555[/MENTION], just thought he did some really good research and work and would pass it on. :) Here's the info from Yank:

About the 5GHz WiFi issue for non-US shamu owners, I've nailed it

The problem is in the kernel, not in the ROM as I thought at first ...

With first looking at this on the ROM-side, I've now ended up with, as a bonus, a user selectable country code (will be overwritten when connecting to a mobile network based on the carrier's mcc) plus a country override (which will stick no matter what).

But since using some frequencies in some countries isn't legal, I don't know if I should push this to gerrit or not ...

I'll be testing the kernel side fix, a stupid thing, but took me a load of reading and educating myself about WiFi frequencies and regulations

I'll push the fix in a few days once I confirm not seeing any ill sideeffects.

JP.

PS: The ROM WiFi country code commits can be grabbed here if you're interested :

Quote:

[1/3] https://bitbucket.org/yank555-lu/sl...mits/300418fe0286bbda44fa6d0a3e3e8f2649ab8c0a

[2/3] https://bitbucket.org/yank555-lu/sl...mits/5f9ed5818fca557d4d44049c842554e23e097377

[3/3] https://bitbucket.org/yank555-lu/sl...mits/ca8eec8769b968d8385a656a205c0e91eb697d23

EDIT : Fixed a bug in [2/3], link changed !

....and...

Anyone interested in the WiFi 5GHz channels (above 48 not working) issue for non-US Nexus 6, here's the kernel side fix :

https://github.com/yank555-lu/Shamu-3.10-lollipop/commit/5098b63639741cd2eb2b79001f83b77fc1042dc1

In fact the issue is not because of a difference in the hardware for US / non-US (is there a difference at all ?), it's just a decision Google or Broadcom took to limit, let's say cripple, 5GHz WiFi whenever you are ouside of the US as it seems

The WiFi regulations are applied depending on the MCC of the mobile network you are connected to, so move from the US to Europe, and all channels above 48 will become inaccessible, and many 5GHz networks will become invisible/unreachable.

When I get to it, I'll be pushing this to gerrit some time later tonight.

Though feedback from regions outside of US and Europe would be welcome !

JP.
[Nexus 6  Original Android Development] jpierce:
I'm using it, it's awesome!
[Nexus 6  Original Android Development] stokholm:
I've had two system lock-ups and reboots with 0.25 (kernel crash?). I need some help figuring out what's going on.

What happens is that the system locks up for a few seconds, whereafter it reboots itself. I've seen talk about a file named last_kmsg, apparently with the last kernel messages before the crash, but I can't seem to find it. Any ideas where to go from here?

It's a totally fresh install. Stock ROM, rooted, but I didn't get into Xposed yet. One time the crash happened while using YouTube, the other time while using reddit sync.
[Nexus 6  Original Android Development] flar2:
The log files are in /sys/fs/pstore/

The kernel should be stable, all the recent crash reports have been due to userspace stuff. Sadly, this phone crashes occasionally even with completely stock kernel and ROM.
[Nexus 6  Original Android Development] stokholm:
Thanks flar2. I zipped the folder. If you get the time, I hoped to could take a look at it. I can't make sense of any of it. :) Only one of the crashes should be in it. The other one happened prior to me flashing the factory image.
[Nexus 6  Original Android Development] flar2:
If it happens again, could you send another log? It looks like there was an error, but it didn't catch the stack trace and it's something I've never seen before.
[Nexus 6  Original Android Development] stokholm:
Sure thing. Thanks.
[Nexus 6  Original Android Development] my95z34:
So, just tried again on a different build with working init.d and it still didn't work. =\ Do I need to do a special process to change from .25 to .26? Should i wipe system and reflash or something?
[Nexus 6  Original Android Development] flar2:
Do you have SuperSU?
[Nexus 6  Original Android Development] my95z34:
Crap, no. CM's built in SU. I didn't realize that was a requirement, whoops!
[Nexus 6  Original Android Development] flar2:
This method requires SuperSU.

Let me know if you can install and successfully use SuperSU on CM.

There is another way I can set permissive in the ramdisk, but I'm trying to avoid additional complexity to the install process.
[Nexus 6  Original Android Development] my95z34:
Ok, that works. Not a fan of SuperSU but it's a compromise I'm willing to make until xposed is stable, lol. Thanks a lot [MENTION=4684315]flar2[/MENTION]!
[Nexus 6  Original Android Development] paychex:
SuperSU is universally preferred and is the best.
[Nexus 6  Original Android Development] my95z34:
Lol. That's subjective.
[Nexus 6  Original Android Development] D-m-x:
I'm also using your Wake Gestures App, but I also found that sometimes DT2W is a little less reliable. Gonna test it some more though.
[Nexus 6  Original Android Development] flar2:
I can't figure out why it doesn't register every time on this device. I think the phone might be going back to sleep before acting on the gesture. It works perfectly every time on my other devices :(

The other thing is the stupid proximity sensor on this device. On mine, it will not register a gesture after a restart until the proximity sensor registers "near." So if you find it not responding and you have pocket detection enabled, just move your finger momentarily to the upper left were the proximity sensor is and it will start working again.
[Nexus 6  Original Android Development] Ghisy:
Hi [MENTION=4684315]flar2[/MENTION],

Will you be including this with the next release?

I'm also wondering if ElementalX already has the CM 12 torch commits? I'm running Chroma on my N6 and it might cause FCs if the kernel doesn't have these. (I haven't updated to Chroma's latest version yet, just in case)

Thank you!
[Nexus 6  Original Android Development] zephiK:
You can always do a nandroid backup and flash to see.

Flar2 already commented on that commit. http://xdaforums.com/showpost.php?p=58885681&postcount=7
[Nexus 6  Original Android Development] Ghisy:
Hey, I think zephiK is actually stalking me on XDA, haha! :D

Hmmm, nice. I didn't read the whole thread so thanks! (yes, I was lazy... :o)
[Nexus 6  Original Android Development] stumpy352:
Ex .26 working flawlessly here on chroma. And got 7hrs screen on time for the first time yesterday.

Simms22 settings with hot plugging disabled rocks.
[Nexus 6  Original Android Development] poczynek:
Yes the frequencies stuck on 5.0 but not on 5.01.
[Nexus 6  Original Android Development] Pilz:
The same thing happened to me last night. I flashed again and didn't change anything.
[Nexus 6  Original Android Development] mjohnson4580:
Did you get a chance to calibrate your colors yet?
[Nexus 6  Original Android Development] kingston73:
This works for me, definitely a difference. I have to say, I didn't really notice the stock color until I was looking at it side by side with my n7, after that I noticed the yellow tinge a lot. Using Trickster and changed to the above and now its nearly the same as my tablet.

Thanks for the kernal, Flar, used it all the time on the n5, very happy to see you here now.
[Nexus 6  Original Android Development] flar2:
There's no difference when it comes to frequencies. If you have the app, go to settings and wipe data, then just let it run.

I think that if the battery goes below 20% the freq gets capped at 1728 and the gpu gets capped at 500.

There is a powerhal lib that does things to frequencies, mpdecision messes with frequencies, thermal driver changes the frequencies, and if that's not enough, cpu boost is also acting on cpu freqs.
[Nexus 6  Original Android Development] ChaosMinionX:
For the life of me... I cannot get this Kernel stable.

I have had the same issue with .03/.04/.05 - I have tried using ElementalX app, and Trickstermod separately and neither have worked.

Is the default voltage table in this kernel very low at the higher frequencies? even running it with stock frequency it locks up from time to time, and antutu is a definite no go. Nothing seems to work, and the kernel especially hates when I swap to OnDemand from Interactive, it freezes instantly.

ROM: Pure Shamu 2.7b (I have used Rastapop/Euphoria/SlimRom and all behave the same way)

Kernel Settings: currently on .05 Elemental with 2650 as the frequency using all stock voltages and it freezes when I do something intensive, I have bumped voltages up 25mv and the same thing happens and then it reboots while running Antutu. If I set OnDemand it instantly freezes, and I have to do a hard reset.

Any ideas? the voltage table doesn't look too different from another N6 kernel, maybe a logcat would help out in determining whats going on?
[Nexus 6  Original Android Development] paychex:
Could be the ROM. Does it work for you on stock? Also ondemand** is archaic. You should stick with interactive
[Nexus 6  Original Android Development] ChaosMinionX:
I haven't use "stock" as in the stock factory images, but I have used several iterations of ROM put out on the N6 forums with this kernel and I get the same result, I am trying now with a fresh install and checking the voltages, its gotta be the voltages causing the instability. I saw a few posts back that re-flashing the kernel resolved some issues; whether they are the same or not, I cant say, but its worth a try!
[Nexus 6  Original Android Development] flar2:
Don't use ondemand, I think it may be unstable.

I don't mess with the voltages and I have not had any instability on my own unit, using stock ROM.

You should do a full wipe and clean install of the stock ROM. Install the kernel with default settings and don't change anything with the kernel apps. If you still have freezes I would suspect a hardware problem.
[Nexus 6  Original Android Development] poczynek:
Yes that's exactly it. Battery was below 10% . Thanks!
[Nexus 6  Original Android Development] kepapas:
nice

Great kernel!!!!! Runing smooth on stock. Color control is the sh#$ thanks man
[Nexus 6  Original Android Development] slickie88:
Ondemand is broken on the N6. Had issues with it on leanKernel as well and I know that [MENTION=3357040]Imoseyon[/MENTION] has already looked at it.
[Nexus 6  Original Android Development] adr1105:
so where do I go ,, to set the color tool ?? in this kernel .. everything is smooth ,, but my display color is annoying ,, the reason I install this is for my display . can't see anything to ,, edit rgb ..
[Nexus 6  Original Android Development] KrazyAttack:
You use their app, it's in beta so you have to join the community and sign up for it to get the download to show on the Play Store.
[Nexus 6  Original Android Development] adr1105:
thanks is it in the google+ ?? can u give me any link .. thank u again ..
[Nexus 6  Original Android Development] KrazyAttack:
Yep, np.

http://elementalx.org/elementalx-app/
[Nexus 6  Original Android Development] adr1105:
OK got it ,, but its beta ?? but why you have to pay 4$ money is not a problem for me .. just wanna know why:)
[Nexus 6  Original Android Development] Mistertac:
It's a sweet kernel tweaking app that also alerts you to any updates to the kernel as well. Plus it helps out Flar so why not [emoji6]
[Nexus 6  Original Android Development] KrazyAttack:
Most kernel apps are pay, always support your devs if you like their work. It's a great kernel and a great app, and it's still in alpha at that.
[Nexus 6  Original Android Development] adbFreedom:
The app is an awesome companion to this kernel. I love that the swipe 2 wake/sleep option can be set to apply on boot with vibration. Also, the color control, ease of updating and overall UI of the app are great too. I will always donate to the developer of my kernel and ROM of choice, this is a great way to do that while getting a very useful app at the same time. Great job on the kernel and app flar2, Thank you
[Nexus 6  Original Android Development] Ghisy:
Sweet! Are you running the latest Chroma? I'm on the 02/07 release.
[Nexus 6  Original Android Development] zephiK:
I browse around the forums ;) .. it was on the first page haha
[Nexus 6  Original Android Development] stumpy352:
Yes, latest chroma.
[Nexus 6  Original Android Development] paychex:
Not really
[Nexus 6  Original Android Development] my95z34:
Yes really. Unless you don't have a basic grasp of the difference between fact and opinion.
[Nexus 6  Original Android Development] simms22:
while i only use supersu, and agree, that i think its best. the answer truely is subjective. while the far majority of people i know use supersu, a few use superuser. i cant force them to think that supersu is best, they have their own opinion/beliefs. because of that, the answer is subjective.
[Nexus 6  Original Android Development] DroidIt!:
I know some devs stick to superuser because it's open source whereas SuperSU is not. Personally I always use SuperSU myself too, but yep "best" is pretty subjective too I think :)
[Nexus 6  Original Android Development] nitronet:
Download link not working for me is anyone else having the same problem?
[Nexus 6  Original Android Development] purian23:
Working fine here, be sure you don't have something disabled with ad blocker or something in that nature.
[Nexus 6  Original Android Development] Lancez:
Looks like flar is gonna get busy soon :p

5.1 running on N5
[Nexus 6  Original Android Development] flar2:
Noooooooooo, I'm already too busy

And I will be on vacation for 10 days, it will probably get released while I'm gone.
[Nexus 6  Original Android Development] Lancez:
We can wait. Have a nice vacation.
[Nexus 6  Original Android Development] flar2:
still a week to go before i leave :D
[Nexus 6  Original Android Development] danarama:
Excellent. In that case I've loads of stuff for you to do ;)

I kid, I kid.
[Nexus 6  Original Android Development] Lancez:
Hopefully somewhere warm. 85F/50F everyday here :)
[Nexus 6  Original Android Development] flar2:
I'm actually going to California. Will be in LA and SF.

anything is warm compared to where i am
[Nexus 6  Original Android Development] Lancez:
Cool, wanna hang out? Like strip bar? ;)
[Nexus 6  Original Android Development] paychex:
Well there certainly is a reason that he is ALWAYS the first with a root method on Nexus devices. There's also a reason his superuser works while other have issues with various apps until the catch up.
[Nexus 6  Original Android Development] flar2:
Family vacation ;)
[Nexus 6  Original Android Development] danarama:
There are arguments for both and if you look at all chainfires stuff he authors on his site, chainsDD is the official reviewer. I imagine they work closely together. Its a conversation that'll just go round and round.
[Nexus 6  Original Android Development] DroidIt!:
You could come visit in Wisconsin. My furnace works well :)
[Nexus 6  Original Android Development] beats4x:
It's been in the 70's for a week here in northern Cali, I'm sure you'll enjoy it [emoji1] have fun on your vacation dude
[Nexus 6  Original Android Development] danarama:
In the 70's? What you mean, everyone wearing flares?
[Nexus 6  Original Android Development] flar2:
Fahrenheit

70 to 85 is just right.
[Nexus 6  Original Android Development] Simer03:
60 degrees in Minnesota feels VERY different than 60 degrees in say California! Trust me
[Nexus 6  Original Android Development] Lancez:
Disneyland it is. My daughter loves there.

---------- Post added at 08:37 PM ---------- Previous post was at 08:35 PM ----------

Ya, basically you guys are living in a freezer ;)
[Nexus 6  Original Android Development] my95z34:
That's kinda funny. I'm on vacation right now, just north of LA. From Michigan. Actually got a phone call today because my mother-in-law went to check on my house and my kitchen pipes were frozen. This week has been - 20 fahrenheit back home. We picked a great week to come to California, lolol
[Nexus 6  Original Android Development] drawde40599:
New android versions only come out when [MENTION=3292224]franciscofranco[/MENTION] Goes on vacation , I think you'll be alright :P
[Nexus 6  Original Android Development] christianrance:
Quick poll...

Just curious, but what battery drain rate (%/hr) are you seeing during long idle times (i.e. overnight)?

I've recently came across some comments in various other threads of people seeing < 1%/hr battery drain overnight but I'm averaging about 1.5+%/hr with the phone falling into deep sleep as it should.

Now obviously there are a lot factors that affect this but I'm confident that I'm running a very "optimized" setup (minimal to no auto-syncs, many greenified apps, etc.)

Currently running CleanROM 1.4 and stock 0.26 kernel but under-volted by -50mV (globally).

Thanks in advance for the feedback...

...via my EX/CleanROM N6
[Nexus 6  Original Android Development] mbargerhuff:
Just chiming in here, first time running this kernel, long time flasher, gotta say this is a beautiful beautiful piece of work! Bought the app too!
[Nexus 6  Original Android Development] flar2:
0.3 to 0.4% per hour, stock ROM, all default settings.
[Nexus 6  Original Android Development] DroidIt!:
That's about exactly what I'm seeing too with slim. I bounce back and forth between the builds of 3 different Guy's builds in the SBC, but thats what I get on all of them. I use Greenify too along with Deep Sleep Battery Saver Pro :)
[Nexus 6  Original Android Development] danarama:
My phone has 2 states...

1) Not charging

2) Idle

So it is impossible to say. If I'm awake, my phone is not idle, if I am asleep, my phone is charging
[Nexus 6  Original Android Development] :
Why stock ROM? Just curious. And do you use flash the express version?
[Nexus 6  Original Android Development] Lancez:
My guess is since flar has to constantly test newly developed kernels, he needs a stable platform to do so.
[Nexus 6  Original Android Development] Johnny424:
just seen the split screen bug for the first time ever. not saying this is kernel related but just wanted to mention that I seen it also flar. my phone was in the truck and in Maryland its pretty cold. wonder if the cold temp and me jumping in and turning the screen on launching fb more or less triggered it
[Nexus 6  Original Android Development] flar2:
Temperature change does it for me every time.