yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] Tylog:
Boot in twrp multirom recovery , select multirom, tab the rom you want flash the kernel, then tab flash zip

---------- Post added at 11:00 AM ---------- Previous post was at 10:50 AM ----------

Flash this boot.img. https://www.androidfilehost.com/?fid=95747613655048458

Flash CodeBlue

Flash SuperSu 2.14

after this Reboot and i am sure Root works

Edit, i read wrong, you need TB Beta for L, search for it, endless links are posted :)
[Nexus 5 Original Android Development] eng.stk:
Well it drains+/-2~3% per hour, depending if you use wake timeoutor not (adn which value).

We don't have a low power mode on touch panel like the LG G3 or the N6

Don't forget to use TiBu beta for L (not the one from playstore), Greenify i don't know if there's a beta for L, synapse needs to update to L new security contexts
[Nexus 5 Original Android Development] neobuddy89:
Do you have new ramdisk somewhere?
[Nexus 5 Original Android Development] eng.stk:
Thanks for the beer [MENTION=4958579]Primokorn[/MENTION]
[Nexus 5 Original Android Development] eng.stk:
welcome back my friend :highfive:

No, I just used the stock and made my changes.
[Nexus 5 Original Android Development] eluspo:
So this wont be compatible with all sykopompos' builds on L?
[Nexus 5 Original Android Development] KennyDumah:
Me too. Could someone maybe upload it on zippyshare for us :(
[Nexus 5 Original Android Development] alb3rtt:
The less permissive nature of this kernel breaks viper4android and therefore breaks any headphone functionality.

Stock image, had full permissive kernel installed before this.

Had to revert to full permissive :(
[Nexus 5 Original Android Development] Primokorn:
You're welcome. Please note that this is an alcohol-free beer ;) (just to avoid any error while building your kernel :D)
[Nexus 5 Original Android Development] neFAST:
EDIT: [MENTION=4958579]Primokorn[/MENTION] oh, un annecien juste au dessus !

I went to: twrp recovery > advanced > multirom > List ROMs

but there I only see my primary ROM, not the Lollipop one?!
[Nexus 5 Original Android Development] Tylog:
I post you Screenshots just a moment

---------- Post added at 03:15 PM ---------- Previous post was at 02:56 PM ----------

I use a Twrp theme but the settings are the same

= boot in recovery, make sure your KK Rom use a kernel with Kexcet support, download multirom app from playstore, there you see it.

Then press multirom

Look under Manage Rom on the Top, you didn't see the Rom? Make sure step one, kexcat compatible

http://xdaforums.com/showpost.php?p=48508455&postcount=1

If you see it, press flash zip, choose the folder in the Explorer where the kernel is, flash it.
[Nexus 5 Original Android Development] Fransis88:
Trickstermod chash!
[Nexus 5 Original Android Development] marf28101995:
Nice... What? The apps need to be updated to work 100% with lollipop just user another app....and go complain to trickster threads
[Nexus 5 Original Android Development] pikachukaki:
I can from an xda user kernel...not chainfires...also when i flash it back sd working properly...so maybe yeah it has something to do with permessive/enforce selinux...i dont have the L preview sdcard problem that happent when you didnt flash userdata.img....
[Nexus 5 Original Android Development] eng.stk:
Just do what I said and your sdcard will be fine ;)
[Nexus 5 Original Android Development] vrda08:
My max cpu always revert itself at 1.7Ghz?

If I set it on 2.2 after some time get back on 1.7...
[Nexus 5 Original Android Development] eng.stk:
You're probably being thermal throttled, check you temps.

Happens sometimes on heavy CPU apps or when an app hangs.
[Nexus 5 Original Android Development] mendozaram:
hello mr [MENTION=3873953]eng.stk[/MENTION], is this r1185 based on latest L preview r2 source? Im asking this because of this...

http://xdaforums.com/showpost.php?p=56193160&postcount=3267
[Nexus 5 Original Android Development] gpvecchi:
Is it just an impression or lock sound is anticipated with this kernel?
[Nexus 5 Original Android Development] TiZiO.Cover:
Hm, i geht just an Errorscreen:

No UCI support detected.
[Nexus 5 Original Android Development] paychex:
No. Just flash kernel
[Nexus 5 Original Android Development] marf28101995:
I haven't tried it yet.
[Nexus 5 Original Android Development] xFuGiToiDx:
First cycle with r1024. I'm pretty impressed, it seems more stable than the stock kernel. I would get random SOD on stock, but none on this kernel.
[Nexus 5 Original Android Development] ChrisJ951:
So it turns out my errors were due to the sd card becoming corrupt (or rather the symlink to it). Anything requiring an SD card (such as downloading an image through chrome, or opening up the older galler app) would crash/have issues.
[Nexus 5 Original Android Development] eluspo:
What does that broken line in batt graph stand for?
[Nexus 5 Original Android Development] milestone2mod:
Could you share your settings with us? :)
[Nexus 5 Original Android Development] xFuGiToiDx:
Midnight
[Nexus 5 Original Android Development] paychex:
Seems like the phone isn't sleeping much since flashing. Will look into it further
[Nexus 5 Original Android Development] xFuGiToiDx:
I used the stock settings that came with the kernel
[Nexus 5 Original Android Development] eep2378:
I was gonna stay on Stock L for a while. But you're tempting me to root now LOL
[Nexus 5 Original Android Development] eng.stk:
Code_Blue r1031-L

All right crew.

New build is up, had to take some steps back and some steps further.

I want to test battery and power management and efficiency more cleanly, so I removed msm_hotplug & cpu-boost (they will be back eventually).

Both MP-Decision & msm_thermal were tweak by google, let's test ;)

On the other hand:

Added simple GPU governor by faux

Flash drive automount /storage/usbdisk

Fixed init.d support

Fixed kexec (can use other secondary ROMs now)

Added some performance patches, removed some not so clean

RAMdisk tweaks

More details check git

Get involved, test, play, donate, help, contribute.

Don't forget to rate the thread and hit "Tip us?" on the top right corner of the first page :fingers-crossed:

You keep the spirit alive! ﻿
[Nexus 5 Original Android Development] 1haumann1:
Great work ?

It's possible to have s2w support?

keep calm and have a Nexus :D
[Nexus 5 Original Android Development] eng.stk:
Nope mate, sorry.

Would love if someone made mod for a advanced power menu and volume rocker wake for L-preview :)
[Nexus 5 Original Android Development] wad3g:
Huge +1 for an Advanced Power Menu mod, and thanks for the kernel.

I've been a Trinity Kernel & Franco Kernel guy for the like ~4 years so I've typically only really tweaked their settings w/ their apps.

I'd love to see what some of y'alls settings are if you'd like to share.
[Nexus 5 Original Android Development] vng10:
Howwwwwwww I wants that. Mine is draining so quick. :( I am more than certain it has to be some apps I have that are just killing it ... What apps do you use frequently?

Or could it be my Bluetooth since I use it all the time? .....
[Nexus 5 Original Android Development] OptimusVDarwin:
Am I dumb or smart because I can't find the changelog for the latest build "r1031" in the changelog section [emoji35][emoji36]
[Nexus 5 Original Android Development] marf28101995:
One page back dude seriously
[Nexus 5 Original Android Development] OptimusVDarwin:
Oh I see. But there's also a dedicated changelog section on the website but I couldn't find it on there. "Seriously" Yea I was pretty serious as I want joking around.
[Nexus 5 Original Android Development] obayda.bd:
With code-blue and stock setting. Haven't used battery saver.
[Nexus 5 Original Android Development] I.m.Tuga:
Don't know if it was already mentioned here but only now after 11 hours of battery use, I turned on Wi-Fi. But its like I've been using Wi-Fi since it was fully changed.

Any tip to get around this issue?

thank you for this great kernel, now I can use display control.
[Nexus 5 Original Android Development] aarmstrong23:
Hi guys I'm new here so a lil noob! I flash this kernel on L what can I do after that?! How I tweak?
[Nexus 5 Original Android Development] aznrice2k4:
Hey man, I really like you kernel. I'm using it as a base for my personal kernel. Its running great.
[Nexus 5 Original Android Development] ilaf0106:
Does factory data reset help battery after fastest flashing the phone? I feel like I haven't been getting good battery since fast booting this Sunday
[Nexus 5 Original Android Development] lesp4ul:
First random reboot here, cannot find the log. Can anybody points where it is placed?
[Nexus 5 Original Android Development] hellsgod:
/proc/last_kmsg

hells
[Nexus 5 Original Android Development] mendozaram:
Some incompatibilities with this ROM http://xdaforums.com/showthread.php?t= , i dont know why but after flash this kernel, i cant install any app thru adb install command or from a file explorer. Only thru play store.

After i flash back the ROM kernel everything goes fine.

The dev says only flash kernel from 2nd binaries release or something like that
[Nexus 5 Original Android Development] lesp4ul:
Ha, i searched that place before, too much beer i guess -___- thanks.

Btw, here's the log.

http://pastebin.com/ZZhKdDzM
[Nexus 5 Original Android Development] dEris:
Does the ghost slider indicate what my current max is when getting throttled and the other shows max for when I'm on throttled? How to adjust thermal to start at a higher temp? It throttles it when my phone isn't even hot (40°c)

Hammerhead | L Developer Preview Final
[Nexus 5 Original Android Development] Arstoien:
Is it too much trouble to add fast charge? I'm sure many of us use it a lot. I, for one,

charge my phone almost exclusively by usb and it's slow as hell.

Don't take it the wrong way. Appreciate your great and fast work!
[Nexus 5 Original Android Development] eng.stk:
Currently I'm testing flar2 fast charge, because it enables 900mA in USB 3.0 or 2.= powerful ports for instance, but it keeps USB mode not forcing AC mode (MTP works)

Synapse woks on L? :confused:

Throttle begans at 70º, you have something else messing with your freqs (the sliders indicate that freqs changed, doesn't show the reason).

EDIT: and that doesn't seem Code_Blue at all...

That's last_kmsg from recovery kernel.

Reboot at elast on e time after flashign a kernel so you have proper kernel logs.

Thanks for using pastebin! I post that wish a lot but there's always somebody that doesn't listen :good:

There's no r2 release (in the way or fr, mr, etc in kk). The source is the last Google published or the kernel won't boot at all.

I think he's referring to the second kernel change., because previous 2 previews had 1 kernel source and this one has some incremental changes.
[Nexus 5 Original Android Development] frontalot:
Does this kernel work with F2FS /data?
[Nexus 5 Original Android Development] TheInVisibleGoD:
Don't know if is ROM or kernel related, but I keep getting spammed in the logcat with "ActivityManager: getTasks: caller 10083 does not hold GET_TASKS"!

http://pastebin.com/k8t6H6u2

Is someone else getting the same message!?

Thanks in advance
[Nexus 5 Original Android Development] marf28101995:
Nothing here
[Nexus 5 Original Android Development] mendozaram:
There something weird, when i flash your kernel on that ROM i can't install any apps via ES File Explorer or Root explorer, or by ADB commands. I have to flash any permissive kernel and everything goes fine again
[Nexus 5 Original Android Development] Arstoien:
If you flash stock kernel and then blue, I think it should be fixed.
[Nexus 5 Original Android Development] scottharris4:
Does this kernel improve battery life?
[Nexus 5 Original Android Development] milestone2mod:
No, it makes it worse, that's why everybody here loves it! [/sarcasm_off] ;)

As always, it depends on personal usage, but all in all, yes, improvements over stock kernel are existing.
[Nexus 5 Original Android Development] eng.stk:
For the 100th time: I don't support custom(or modded) L-preview ROMS!!!

adb install works fine on Google rooted image ( I used to install Tibu and a couple other on first boot), root explorer works fine also I use that to install new apps from google that were not in Play yet.

ES file explorer needs update I think, not even worked with first l-preview.
[Nexus 5 Original Android Development] luckana:
Hey man have you done any UV ?? I had the cpu undervolted with 75mV and that actually was the reason for the throttle to kick in at 55°. I have no idea why and if it has something to do with UV bit reseting the voltage back to stock fixed my issue. Was wondering why the hell games start to lag after some time of playing.
[Nexus 5 Original Android Development] bgboii:
Not sure if its just me or not but i dont seem to see battery improvement on mine and i havent messed with anything. i just flashed it and thats it
[Nexus 5 Original Android Development] TiZiO.Cover:
Since you're pissed off already...is there any Chance of you making a Kernel for the Nexus 7 (2013) once the Final Release of Lollipop has been released?

A Case of Beer costs about 10-15 EUR in Germany, that should be enough to get you plastered. :cool:
[Nexus 5 Original Android Development] eng.stk:
Thanks mate, but I only do kernels for devices I have. I don't have a N7...
[Nexus 5 Original Android Development] Prattham:
Can anyone help me out

I'm on the vomers build

And flashed the modified kernel to obtain root

My query are

Do i have to reflash the zip i.e. dirty flash it?

After flashing this do i have to reflash super su?

Which app can i use with this kernel to control..?

Cheers??
[Nexus 5 Original Android Development] Tylog:
Flash mod.boot.img, flash code blue, flash SuperSu, Reboot. There are tons of kernel tweak apps, make your own choice.
[Nexus 5 Original Android Development] Prattham:
Thanks

But where can i find mod.boot.img

And how to flash it?
[Nexus 5 Original Android Development] Tylog:
http://xdaforums.com/google-nexus-5/development/rom-n5-l-developer-preview-t2796003 in the OP , flash in recovery like any other kernel.
[Nexus 5 Original Android Development] Prattham:
Which file

U said mod.boot.img

But i can only find modified kernel which is a zip file

Totally confused:rolleyes:
[Nexus 5 Original Android Development] Tylog:
What is in the Zip ? a boot.img. Its a zip that you can flash it in the Recovery.

Flash this -- > https://www.androidfilehost.com/?fid=95747613655048458

Flash CodeBlue

Flash SuperSu

Reboot .

Maybe first Boot Bootloop , if so , reboot again happens sometimes only on first boot after flashing.
[Nexus 5 Original Android Development] Tylog:
You got it? :)
[Nexus 5 Original Android Development] Prattham:
yup done and running code blue

trickster mod does not work

any other app aside kernel tweaker?

thanks alot dude
[Nexus 5 Original Android Development] Tylog:
https://plus.google.com/101668730902908762044/posts/1tAeHtYumTX

TricksterMod update Android L
[Nexus 5 Original Android Development] medo159:
I'm exactly in the same situation, tried your steps but i got stuck in a boot loop for about an hour :(

Any suggestions?
[Nexus 5 Original Android Development] Tylog:
Yes, reboot (hold power), it happens sometime after the first boot. If you have a bootloop again flash the boot.img / code_blue / SuperSU again

@ all

SuperSu Beta 2.16 http://xdaforums.com/showpost.php?p=56257257&postcount=318 with Fixes
[Nexus 5 Original Android Development] eng.stk:
Code_Blue r1196-L

All right crew!

Just pushed an update, Release Candidate.

We are now at a stable point, maybe next week I will begin to push into mainline branch.

In November, Lollipops everywhere :fingers-crossed:

Changelog (incremental):

[LIST]
[*]cpufreq: Always allow update of user policy
[*]ARM: dts: msm: Increase OCMEM BW request for video decode
[*]ext4: fix memory leak in xattr
[*]msm: kgsl: Add an input handler to power up the GPU on a touch event, Allow GPU start to run in a high priority queue, Fix nice level for higher priority GPU start thread
[*]ARM: dts: msm: increase adsp heap size for msm8974
[*]arm/dt: msm8974: Increase "ib" values for VIDC DDR bandwidth request
[*]net: loopback: set default mtu to 64K
[*]gpiomux-8974: Modify direction of suspended GPIO
[*]lower GPU volt constraints a bit
[*]USB: Set power supply online status to false after cable disconnect
[*]fastcharge: USB Fast Charge for Nexus 5 (USB mode up to 900mA with MTP), Increase battery charging current to use higher input current (on AC mode), Enable proprietary charger detection (e.g. iPhone/iPad charger) and treat it as AC power source
[*]exFAT support
[*]msm: thermal: add my Thermal solution (compatible with new L thermal framework, by franciscofranco)
[*]Removed flash drive automount (use stickmount, ROM doesn't have mount/unmount in storage which can be dangerous)
[*]RD Tweaks
[/LIST]

Get involved, test, play, donate, help, contribute.

You keep the spirit alive!
[Nexus 5 Original Android Development] Berget:
hurray!
[Nexus 5 Original Android Development] kronflux:
Seconded. I can't get this kernel to work without a boot loop. :P
[Nexus 5 Original Android Development] Berget:
are you using the stock android L rom? coz costum rom are not supported, and you will never get that to work.

and make sure that you use the test version 1196 and not the 450 version.
[Nexus 5 Original Android Development] wucinac:
Does this update support ViPER4Android and UKM script?
[Nexus 5 Original Android Development] R3Lax1:
Viper is working on it's own with the latest preview.
[Nexus 5 Original Android Development] kronflux:
yes, stock rom with no modifications, and using the latest test build.
[Nexus 5 Original Android Development] Berget:
are you correctly rooted? (download the app rootchecker)

are you using an up to date recovery?
[Nexus 5 Original Android Development] onesolo:
Can I use Synapse with the L version, or do you guys recommend another app to control the kernel??
[Nexus 5 Original Android Development] eng.stk:
Synapse needs update to work with L. There's alternatives chck OP.

I would suggest a clean flash. Backup your stuff with TiBu for instance.

- Fastboot ROM (or use Vomer's zip), boot 1 time.

- Flash Code_Blue, flash SuperSu 2.16, boot, install busybox.

- Reboot and install your apps. I recommend people install just what needed, lot's of root and non root apps need updates to work in LP and can do unwanted behavior.
[Nexus 5 Original Android Development] onesolo:
hmm??

anyone care to tell me what are the alternative to synapse with the L version??
[Nexus 5 Original Android Development] Wh1t3Rose:
Seriously? Did you even look in the OP like the post you quoted asked you to? Hint: it's in the green text.
[Nexus 5 Original Android Development] AndreiLux:
Why do people keep saying this. I see plenty of people and kernels running it just fine.
[Nexus 5 Original Android Development] marf28101995:
Why do people keep being dumb ?I see plenty of people that know that synapse only works on L if you're using se Linux modified... Kernels that don't compromise your security like this one or fk won't work with synapse because the app need to be updated...
[Nexus 5 Original Android Development] AndreiLux:
I suggest you reading about the restrictions in L before making any kind of claim about security and calling the author of said application (yes that's me) dumb.

For anybody else having issues with SE contexts I suggest opening an issue in the tracker, but since nobody has done so I guess you have it figured out.
[Nexus 5 Original Android Development] marf28101995:
Edited : sorry misunderstood the person
[Nexus 5 Original Android Development] eng.stk:
You're right and you're wrong.

I could say something similar just because it's easy: there's kernel apps that work on L and others don't.

Just kernel wise works, some full material apps even: Kernel manager, kernel tweaker, TrickstetMOD, FKU, faux kernel manager, flar2 kernel app, etc

In most cases, some popular root apps like TiBu, Root Explorer, TricksterMOD and others that didn't work updated in order to.

The deal is: when google introduced selinux in 4.3 i think, lot's of changes had to be done to root (even recoveries needed to because of permissions and security contexts). At that time selinux was in permissive mode.

In 4.4 google made selinux enforcing, which didn't create much that fuss because rules were similar, just more strict.

In L, google introduced dalvik emulation, more restrictive security contexts such as PIE, selinux rules for services and not just apps, etc.

Lollipop 5.0 was released and SuperSu was updated, some changes were done in order to make things work.

And only the needed changes.

Roots apps updated and most work fine. Even non root apps needed updates like in every other Android iterarion.

When Lollipop 5.0 preview was launched, enthusiasts made permissive selinux so all apps work without updates. That's why some kernels "work" and others don't.

I and most security concerned developers understand that chainfire path is the right one to follow.

Permissive and changing hacked binaries is fine for a initial test, but not for the long term: changes that shuts down a great deal of security don't make sense.

People need to update their apps like most of us already updated our kernels.

Hope to se UKM and Synapse on Lollipop ;)
[Nexus 5 Original Android Development] AndreiLux:
I can update the call to the su binary to be called within the init context but that has absolutely no guarantee that the app will work because Synapse is a sandbox app and developers can do whatever they want within the action shells, and there is absolutely no way that I'm supposed to open up the shell in the needed context. Kernel devs have the luxury to edit selinux policies as they see fit and in the aspect of Synapse is the preferred way of dealing with things.

Trying to maintain root and selinux integrity at the same time is in my opinion a foolish quest and waste of time. If you want it to work I'm open to it and you can open a GH issue on it to discuss it, but without even knowing what other OEMs will do it's going to be a goose chase for months at an end.
[Nexus 5 Original Android Development] eng.stk:
Well I did the first L kernel in xda and at the time some people said it was a waste of time. And here we are...

root has been living with selinux and other security contexts just fine for 2 or 3 Android iterations. Yes, changes were needed but everything does now or later.

I see Google and other players going this path, don't see they come around. Maybe google will loosen things up a bit or not, idk.

For instance, In the past PIE was enabled in AOSP and then disabled because of issues. Now it's back, so for me I see a pattern here.

Let's see how the scene reacts to this, but probably this won't go away. I remember CM stricken up selinux even when google was more loosen so...

About synapse I understand your point. By design, powerful and general tools tend to be more complicated to work with when ground rules change.

I brought UKM and synapse to Nexus 5 world and I can test what you need, but I don't have the time to involve actively on app development.

We have a developer in N5 original development section that tweaked UKM alot, [MENTION=3795148]neobuddy89[/MENTION], maybe he can give a hand.

When you say edit the contexts, you mean adding files/services to the contextx files? If you can share what is needed I can try it, sure.

I think that your idea is a good place to start. Remember the essential: for me synapse and it's scripts are just a way of visually read/write tunables.
[Nexus 5 Original Android Development] Berget:
Trickster Mod updated :good:
[Nexus 5 Original Android Development] yyz71:
The strangest thing flashed L-preview LPX13D] [Code_Blue r1196-L] I'm using Pure•White•LightNesS-5.0™ [Lollipop] [LRX13C] [24/10/14] rebooted my phone my sdcard looked like it was touched.. still shows 11.2gb left before i flashed and after.. I just can't find anything and nandroid seems to be missing was using ElementalX-2.00-test :confused:

NVM I found it :good::D