yashsingh1/xdaforums huggingface dataset:
[Nexus 6  Original Android Development] JRJ442:
Yeah you added a word. There is no "and" in that post. It says it won't boot on 6.0, then there's a period and says for 6.0.1 only. 3.4 is for 6.0.1
[Nexus 6  Original Android Development] elkay:
Just installed this. All good so far, except lkconfig doesn't show an selinux option. I have options 1-8 then it skips to 12 and 21.

I'm on 6.0.1 with the latest LK. What am I missing?
[Nexus 6  Original Android Development] gabethepiggy:
nothing, its the same for me and others. the options just haven't been added back in yet most likely due to changes to Android made between lollipop and marshmallow
[Nexus 6  Original Android Development] elkay:
Ah ok thanks. Can I still install and use the SELinuxModeChanger app, or will I brick?
[Nexus 6  Original Android Development] JRJ442:
You can use that app, or this zip by [MENTION=4684315]flar2[/MENTION]. That's what I prefer. https://www.androidfilehost.com/?fid=23991606952602503
[Nexus 6  Original Android Development] gabethepiggy:
yes you can. I use it just becasue I don't need to set it permanently and for security
[Nexus 6  Original Android Development] SunamY:
I've got an little issue on latest pure nexus rom: I can't set lockscreen wallpaper and some qs tiles like NFC didn't work.... This happens only on lk and Franco (stock like kernel).

Is there a way to fix this?

Gesendet von meinem Nexus 6 mit Tapatalk
[Nexus 6  Original Android Development] rignfool:
It's SELinux... We have to wait for [MENTION=3357040]Imoseyon[/MENTION] to steal the phone from his wife again... :cool:
[Nexus 6  Original Android Development] jkc120:
Are you using Systemless Root? I tried 3.4 with it and it doesn't seem to work. I was on a previous version, flashed everything except recovery to stock, flashed SuperSu 2.66, and it booted and root worked fine. I then flashed LK 3.4 and it didn't work (bootloop), so I restored boot from my nandroid and 3.3 systemless works fine with MMB29S, but would prefer to be on 3.4 (lk/lkconfig don't work on 3.3 systemless, not sure if they do on 3.4).
[Nexus 6  Original Android Development] gabethepiggy:
it works fine you just have to remember to reflash su 2.66 after you flash the kernel again. remember it's system less which means when you do a kernel flash su gets wiped with the old kernel and you have to reflash
[Nexus 6  Original Android Development] jkc120:
I tried that, but it didn't work, no bootloop but root wasn't working properly either. I'll try again I guess.
[Nexus 6  Original Android Development] gabethepiggy:
from supersu 2.64+

A major change in setup is that the ZIP installer will try to detect 6.0 firmwares that can be rooted?*without?*doing a systemless install. In other words, a root that modifies only /system, but not the boot image. If this is possible, the installer will install into /system (unless you override via "echo SYSTEMLESS=true>>/data/.supersu").

you have to tell the supersu to install to the kernel now by typing this line in twrp terminal
[Nexus 6  Original Android Development] jkc120:
Ahh I saw that, but didn't think it applied to the N6 or 6P. So unless I wipe /data at some point, I only have to do that once, right? So currently I'm on 'S' with LK 3.3-systemless boot image restored and everything's working ok. Correct me if I'm wrong, but I need to do the following:

- from a terminal app after su'ing, run: echo SYSTEMLESS=true>>/data/.supersu

- reboot into TWRP

- flash LK 3.4 zip

- flash SuperSu 2.66 zip

And that's it? Do I need to do any sort of clean up? system afaik is unmodified so only boot and recovery are non-stock ATM.
[Nexus 6  Original Android Development] gabethepiggy:
nope you should be good. that's exactly the configuration I'm running now, aside from xposed, though I ran the line in the terminal that comes with twrp right before flashing su but I don't think it matters so long as the script is executed successfully. it saves the information to /data/.supersu so as long as you don't wipe /data your good to flash a new kernel and su again without running "echo SYSTEMLESS..." again
[Nexus 6  Original Android Development] jkc120:
Cool thanks, I'll give it a shot and report back.

---------- Post added at 04:52 PM ---------- Previous post was at 04:48 PM ----------

Worked great, thanks again! Is it normal during this process when I reboot system from TWRP to see it jump to the Google splash screen twice before fully booting? That scared me for a minute...

I still don't have lk / lkconfig though on 3.4? Where should that be getting installed or setup?
[Nexus 6  Original Android Development] gabethepiggy:
yeah that is normal

when your using the terminal are you doing:

$ su

$ lk
[Nexus 6  Original Android Development] jkc120:
Right, su first and that works fine. lk/lkconfig give:

sush: lk: not found

sush: lkconfig: not found

I wonder if the systemless repackaging is removing/undoing the lk/lkconfig? I would think others would have the same problem if that were the case, though.

I rand:

find /data/ -follow -name lkconfig

Which returned nothing...
[Nexus 6  Original Android Development] gabethepiggy:
I have some ideas but I haven't heard of this problem just to be forewarned. 1) do you have busybox installed as I do but I don't think that has anything to do with it 2) have you tried flashing a fresh system image?

---------- Post added at 02:17 AM ---------- Previous post was at 02:07 AM ----------

3) it might be because the new system images in 6.0.1 fill up the system partition to the max and some unused system apps might need to be removed from /system/apps

after that re flash lk and supersu
[Nexus 6  Original Android Development] jkc120:
That's what I did, but why would lk be on /system anyway? The whole point of systemless is that the system partition is unmodified right?
[Nexus 6  Original Android Development] gabethepiggy:
yes but I'm guessing for lkconfig to work it needs to store some libraries into the system to gain access through simple terminal commands. the systemless lk kernel is still new so there is still changes to be made before it becomes completely systemless
[Nexus 6  Original Android Development] jkc120:
I thought lkconfig/lk was a shell script? At least it used to be. And I doubt it's modifying /system, though probably [MENTION=3357040]Imoseyon[/MENTION] can confirm/deny that.

Can you type: which lk and which lkconfig after you su and report it back here?
[Nexus 6  Original Android Development] :
The lk command may be on system, I dunno.

The lk command is simply a shell script. It relies mostly on echo, and maybe awk to do its work. Echo is supplied by both busybox and toy box. However, awk is only in busybox, toy box doesn't have it yet. My point is, there aren't really "libraries" that the script uses. It relies on system command line arguments to apply values to the ram based /sys fs.
[Nexus 6  Original Android Development] khanam:
Try sbin/lk
[Nexus 6  Original Android Development] gabethepiggy:
that's what I figured if my first theory was wrong. sorry for jumping the gun I've been only doing this for the last 3 years so there's still stuff I don't know.
[Nexus 6  Original Android Development] IronicChloride:
The lkconfig script isn't detecting that I have busybox (running supersu 2.66). I'm assuming the busybox just isn't where lk is looking for it, can anyone advise?
[Nexus 6  Original Android Development] rignfool:
Get [MENTION=4544860]osm0sis[/MENTION]'s busybox...

Flash it after SuperSU...

It'll go to su/xbin and everything will work
[Nexus 6  Original Android Development] IronicChloride:
Thanks, the ROM I'm running comes with stericson and it's installed to /system/xbin for whatever reason.
[Nexus 6  Original Android Development] benleonheart:
Kek...

Can confirm I got split screen issues on two different phones using eX...

Fixed it by flashing Hellscore

I have a copy of lean also, you know... Just in case
[Nexus 6  Original Android Development] rignfool:
Leankernel...

Not the one you show off to your friends...

But the one you take home to the family...

:cool:
[Nexus 6  Original Android Development] benleonheart:
>my sides

Gonna flash it soon
[Nexus 6  Original Android Development] benleonheart:
Which version should I flash if I'm running 6.0.1 Cataclysm (MMB29S)?
[Nexus 6  Original Android Development] rignfool:
3.4
[Nexus 6  Original Android Development] benleonheart:
Holy **** this kernel is smooth af.
[Nexus 6  Original Android Development] rignfool:
[MENTION=3357040]Imoseyon[/MENTION]

I have noticed some weird behavior...

It seems like leankernel uses Franco's power-saving profile on low battery?

If that is the case... It never plugs cores 2 & 3 back in when it charges back up.... It requires a trip to lkconfig or a reboot to turn them back on
[Nexus 6  Original Android Development] KonoeKyon:
I don't think it does that by default, there's an lkconfig option to enable it though.

On another note it may have been from the bcl driver kicking off the last 2 cores, there's an option to remove the hotplugging from bcl in lkconfig which prevents that from happening.
[Nexus 6  Original Android Development] rignfool:
I have BCL disabled in lkconfig... However it still happens... And I know its not because the max CPU speed is 2.7ghz... Not 2.0...
[Nexus 6  Original Android Development] KonoeKyon:
That's odd then, I have no idea. Sorry :(
[Nexus 6  Original Android Development] Emilius:
Links are broken. Any other link to 3.4? TY
[Nexus 6  Original Android Development] JRJ442:
Links work fine for me. Try again from another browser.
[Nexus 6  Original Android Development] Emilius:
Error 521. Web server is down for me. I did try different browser and also another computer.
[Nexus 6  Original Android Development] JRJ442:
That's odd. Try this one. https://renderserver.net/downloadrealfile?file=imoseyon/shamu/lk_shamu_m-v3.4.zip
[Nexus 6  Original Android Development] Emilius:
Same thing. Not working. Is it really just me?
[Nexus 6  Original Android Development] JRJ442:
I have no problems with the links at all. So I have no idea what's going on.
[Nexus 6  Original Android Development] Emilius:
Same thing from my phone also. :(
[Nexus 6  Original Android Development] JRJ442:
http://renderserver.net/downloadrealfile?file=imoseyon/shamu/lk_shamu_m-v3.4.zip Try that. I read online removing the s from https:// is a workaround for that error. No idea if its true or not. Worth a shot though.
[Nexus 6  Original Android Development] Emilius:
Isn't that the same link? No, not working again.
[Nexus 6  Original Android Development] JRJ442:
Basically. But it was said making that edit in the web address would workaround the 521 error. I'll Dropbox and PM you a link.
[Nexus 6  Original Android Development] rignfool:
Sound like you have a firewall in the way...
[Nexus 6  Original Android Development] plastikman187:
The issue is not firewall related, the issue is renderserver is down. For those that say "its up" are not clicking all the way to download. When you click on Download then choose a server, you are given a message that says renderserver is down. The reason this looks to be working is because the CDN for all the HTML and static assets is still up.

You can verify for yourself by going to http://us.renderserver.net or http://eu.renderserver.net

Edit: Looks like renderserver is back.
[Nexus 6  Original Android Development] JAG50:
Tried to download 2.14 and says server is down. Also, will 2.14 work with sac's Darkloard S6 5.1.1 ROM? Just wondering if anyone else has tried it.
[Nexus 6  Original Android Development] biglilsteve:
I had kind of the opposite of this happen on a few other kernels. The cores will offline when the battery drops below 15% and when the battery is charged, the cores come online stuck at full speed. All the devs seem to be blaming it on BCL as another member suggested.

So far with LK, though, they have been coming back online normally. This is with the latest Cataclysm.
[Nexus 6  Original Android Development] holeindalip:
Franco has fixed this offlining of cores on his kernel its due to the battery temperature when it hits 36c there's more on this in his thread
[Nexus 6  Original Android Development] Imoseyon:
working on v3.5 now. The changes won't be huge but will be moving towards systemless root. On angler, I have a build that works on both systemless and system-based root so I'll try to see if that works on shamu.
[Nexus 6  Original Android Development] smclaughlin3:
Would you get more battery life by disabling bcl hotplug or would you suggest to leave it alone? Thanks good to hear from you!
[Nexus 6  Original Android Development] Imoseyon:
hey honestly i would just try both and see what you like. When I tried it i couldn't tell the difference. YMMV
[Nexus 6  Original Android Development] nhizzat:
Is this normal? Checking core 4 doesn't work as it is immediately deselected. First time back to LK because I needed USB-OTG support which only EX until it became baked into 6.0.1.

Only changes I've made are enabling DT2W and screen calibrations through the Color Control/kcal app.

Edit: Core 4 just came back online. Does the kernel disable Core 4 at a certain charge %?
[Nexus 6  Original Android Development] rignfool:
I think it goes offline while charging...
[Nexus 6  Original Android Development] biglilsteve:
Your CPU temp is running a little warm in the screenshot. Chances are your battery is running that warm as well. You might be getting some thermal throttling. It unplugs cores when that happens.
[Nexus 6  Original Android Development] buski:
Delete
[Nexus 6  Original Android Development] JAG50:
Hi. I had lean kernel installed when i was running 4.4.4. I have sac's S6 5.1.1 ROM and i would love to instal lean kernel. My problem is that the depository is confusing and i can't decide which of them all is the one for my Sprint Note 3. I would really appreciate if someone could help find the right kernel zip file. Much appreciated.
[Nexus 6  Original Android Development] holeindalip:
You're in the wrong thread bud, do not flash anything from this thread...
[Nexus 6  Original Android Development] chrisram88:
Just flashed this kernel earlier today! Thanks for the great work. Running flawlessly
[Nexus 6  Original Android Development] benleonheart:
How the heck do I reset the wakelock counters?

Nevermind. Flashed the clean lkconfig.zip from the 2nd post FAQs. Re-configured my wakelocks and that was it.
[Nexus 6  Original Android Development] biglilsteve:
It's an awesome kernel. Doesn't get enough attention. It is reliable and gives me consistent 4-5 hrs SOT with mixed LTE/WiFi usage.
[Nexus 6  Original Android Development] benleonheart:
You could try and go to this thread... http://xdaforums.com/showthread.php?t=2488082

Have fun!
[Nexus 6  Original Android Development] chrisram88:
It really is. I was stuck using the other big named kernels. Decided to dive in since someone mentioned it on the pure thread. First cycle without letting it settle down I got + 4hr sot. That's a lot since I work graveyard and have it constantly on YouTube, kodi, gmusic, browsing. You name it, Always on. Can't wait to let it settle and get better results.
[Nexus 6  Original Android Development] JAG50:
benleonheart, thanks man!
[Nexus 6  Original Android Development] Imoseyon:
Hi all!

v3.5 is up: https://github.com/imoseyon/leanKernel-shamu/wiki/Marshmallow-ChangeLog

This version should support both system-based and systemless root. Let me know how it works out!
[Nexus 6  Original Android Development] biglilsteve:
I love it! Seriously great kernel.
[Nexus 6  Original Android Development] benleonheart:
Thanks!

Quick question.

These sre my wakelocks and ONLY changes I've made:

wakelock (Y/1 = enabled, N/0 = disabled, 2..X = divisor):

smb135x: N, sensor_ind: Y, wlan_rx: 1000, msm_hsic: 0

Three things ever since I put them

1. Dat battery life, amazing

2. Opening chrome and leaving it as a background process still spikes up mobile radio active

3. Wifi is graphed as always on, even after turning it off.

Else, this kernel is amazing.

Wish you brought back the permissive SELinux mode changer though...
[Nexus 6  Original Android Development] laosguy:
Does it work with cm13
[Nexus 6  Original Android Development] Plifispen:
SuperSU 2.67 systemles does not work with latest leanKernel 3.5. Returned to lk 3.4. It fails on install SuperSU and system does not see SuperSU.
[Nexus 6  Original Android Development] chrisram88:
For number 3 is it graphed under the actual percent shown or under the graph when clicked? If it's on actual percent, you should turn off wifi scanning. Open settings and hit search. Type scanning and tune off wifi and Bluetooth scanning.
[Nexus 6  Original Android Development] benleonheart:
I had already shut them off.
[Nexus 6  Original Android Development] chrisram88:
When I flashed the kernel a day or 2 ago I forgot that I dirty flashed my rom and it activated the scanning. The wifi was constantly showing until I turned it off. Made a big difference! Wonder what it could be that it's showing it?
[Nexus 6  Original Android Development] SunamY:
Latest update is great. This kernel is blazing fast.

Only thing is, lockscreen wallpaper and NFC tile on latest PN didn't work ?

Gesendet von meinem Nexus 6 mit Tapatalk
[Nexus 6  Original Android Development] klasszsrac:
I'm on Aicp11 and haven't root access. Lk3.4 work perfect

Tapatalk-kal küldve az én Nexus 6-el
[Nexus 6  Original Android Development] rignfool:
That means [MENTION=3357040]Imoseyon[/MENTION] needs to pull the selinux policy from purenexus somehow into the kernel...

Can you do that with an anykernel script but still keep your ramdisk?
[Nexus 6  Original Android Development] nathanchance:
AnyKernel2 should since it can make changes to the ramdisk in addition to keeping things like the sepolicy intact. Franco just did this with all of his kernels.
[Nexus 6  Original Android Development] rignfool:
I was hoping to keep leankernel's ramdisk but import the selinux policy from purenexus...

On leankernel I see between 2.5% and 3.3% drain per hour on average during a work day... Easily 1% better than the next kernel...
[Nexus 6  Original Android Development] nathanchance:
Yeah you can do that but not with an AnyKernel script. The sepolicy is included in the ramdisk so the two options would either be inject leanKernel's ramdisk edits and other changes into the PN ramdisk (with AK2) or package PureNexus' sepolicy edits into the ramdisk.
[Nexus 6  Original Android Development] smclaughlin3:
is 3.5 not working with the latest supersu? Thanks!
[Nexus 6  Original Android Development] droidroidz:
3.5 working smooth so far except I cannot get trickstermod to control interactivex. Says "this control is not available". Any ideas? Also lkconfig not working and second post mentions to reflash from util directory, but I don't see util dir. Thanks
[Nexus 6  Original Android Development] madAdam6LOVE:
I could not get lkconfig to work either until I changed my terminal prefs to disable (uncheck) Verify Path Entries.
[Nexus 6  Original Android Development] nemanja066:
... with lastest (2.67) superSu? :)
[Nexus 6  Original Android Development] droidroidz:
Thanks! that terminal path disable did the trick for lkconfig. Still issues with trickstermod...2.52 which is in latest purenexus ROM
[Nexus 6  Original Android Development] Zaf9670:
3.5cm on mirror

Check the mirror. I think [MENTION=3357040]Imoseyon[/MENTION] forgot to upload cm version to the main drive.
[Nexus 6  Original Android Development] The Funky Pear:
Hello [MENTION=3357040]Imoseyon[/MENTION] good kernel,doesnt have the 700 mHz gpu step but the phone never reboots by itself like in other kernels..

*sorry im going to full retard mode for a moment*

What settings would you recommend to use to be able to squeeze nexus 6 performance?

I dont care about battery life,i never did.

I guess i ever didnt because i had iphone :P

Which i/o scheduler should i use and cpu governor?? Gpu settings?

Thank you for your time in advance!!

*exits full retard mode*

*Flies away for the moment,will be back*
[Nexus 6  Original Android Development] rauschkugl:
I can confirm that systemless root doesn't work with supersu 2.66 or 2.67.
[Nexus 6  Original Android Development] khanam:
Had to switch kernels because lean wasn't playing nice with cmte in purenexus. Got reboots from the other kernel. Never get any reboots on lean. Please make lean compatible with cmte - something to do with enforcing/permissive scripts. Think that's what [MENTION=6842057]nathanchance[/MENTION] is referring to above but I'm not handy enough to figure out how to do so myself
[Nexus 6  Original Android Development] Zaf9670:
When you install does it give the error check saying

"- Checking patch status"

"--- Already patched, attempting to find stock backup"

"--- Restore failed, aborting"

And then continue on?

I get this with 2.65 and 2.67... I'll try again with 2.65 and see if I have root. Right now it says I need to update binary in SuperSU apk and nothing will work that requires root.
[Nexus 6  Original Android Development] rauschkugl:
Didn't check the log when installing. Root just didn't work. I then flashed 2.52 and gained root without a problem but it's the normal and not systemless version of supersu.
[Nexus 6  Original Android Development] Face_Plant:
2.67 works for me. I just finished deleting some apps from /system/app and editing my build.prop. Are you guys installing SuperSU after you flash the kernel?

I am having some issues with SELinux Mode Changer, though. It claims my phone isn't rooted, but Root Explorer, AdAway, BusyBox, etc all work just fine.
[Nexus 6  Original Android Development] nemanja066:
SELinux Mode Changer works on stock kernel (and ROM). You can make a script (.sh) and put it in su/su.d as alternative. Script executes after phone boot up.

#!/system/bin/sh

setenforce 1 (enforcing)

or

setenforce 0 (permissive)
[Nexus 6  Original Android Development] Emilius:
I am on latest Chroma build and switching from lk 3.4 to 3.5 make my battery life much shorter. After switching back to 3.4 it's fix the problem. Is it anyone else experiencing something similar?
[Nexus 6  Original Android Development] elkay:
The only thing that I'm confused about is that everything I'm reading makes it sound like LK 3.4 isn't compatible with systemless root.. but I'm on 3.4 with systemless root and SU 2.67 and have no problems at all..
[Nexus 6  Original Android Development] Talvathir:
3.4 with systemless root working here as well.
[Nexus 6  Original Android Development] Zaf9670:
3.4 was working fine for me as well. I think I'll go back to it and 2.67 SU until I find out more about what's conflicting. And I always flash SU last in reference to the above questions.

I'm also on Cyanogenmod so maybe the built kernel missed something or has another conflict with a nightly.
[Nexus 6  Original Android Development] rignfool:
Did anyone not flash supersu after install?

Maybe the img is prepatched?
[Nexus 6  Original Android Development] gabethepiggy:
I'm finding that my battery percentage is off on 3.5. I reboot into recovery and I can see anywhere between a 5-15% difference in battery life
[Nexus 6  Original Android Development] benleonheart:
Also getting this wakelock as my #2.

It's really weird. I have no USB otg or anything.

Anyone has any insight on this?

Same here!
[Nexus 6  Original Android Development] :
My guess for the usb thing, is that maybe the cell radio is *technically* a usb device (connected internally)... and something he changed just causes it to be reported there now.
[Nexus 6  Original Android Development] Tex99:
Someone managed to flash the lean kernel on a rom with cm theme engine without issues? I have continuous systemui crash at boot after clean flash, I think there are problems with supolicy because kernel doesn t use the existing ramdisk, hit with both dirty unicorns and screw'd rom
[Nexus 6  Original Android Development] khanam:
I figured it out. Flashed pure, then lean then viper dd+ which has a script that overwrote lean's se policy. Can now use cmte. Discovered this serendipitously.
[Nexus 6  Original Android Development] Tex99:
Some days ago I tried with viperatmos without success, I will try again thank you. Btw I hope that [MENTION=3357040]Imoseyon[/MENTION] will take a look :)