yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] iba21:
Yup sure.. i'll share tomorrow when i find a good setting.. and i'll share a zip flashing
[Nexus 5 Original Android Development] iba21:
Well.. this is only a zip package, not the fleshable, so you have to extract the file and put it in

/system/etc/init.d

With root permission (chmod 777)

run it..

To do it you can use root explorer or similar

https://www.dropbox.com/s/1ixak1l1krgopxb/90hotplug.zip

I'm sharing only that since i really don't know if this setting works good, it seems better than the stock, but, you have to test and report..

sure.. you can manually open and modificate the file..

P.s. if you need more tunable values in the list, call me, i'll add all the list
[Nexus 5 Original Android Development] mekayzer:
Hi

Can't extract ZIP archive.

Can you upload another file.

Thank you
[Nexus 5 Original Android Development] iba21:
For me works

https://www.dropbox.com/s/vfatnpib7sqpauq/90hotplug

You may have to rename and delete the .txt text
[Nexus 5 Original Android Development] mekayzer:
Nop tried it and Es explorer tell me that it's a bad file when i try to extract it. Other ZIP on my sdcard works. So there is something with your file. Can you upload the script directly without compress . like txt file.

Thank you
[Nexus 5 Original Android Development] iba21:
Redownload it
[Nexus 5 Original Android Development] nexusmaniac:
When you say 'run it' what do you mean? :) Also, if I wanted to get rid of this mod, how would I do that?

Thanks :)
[Nexus 5 Original Android Development] iba21:
First thing is to reboot phone.. if all works as it should work, script will auto injunct values

Anyway you can manually run the script via terminal command or if you use root explorer app (i advise you to buy it), you can tap over the script -> open with -> linux gestional (and something like this) -> execute/run

I have the italian translation, so, words could change
[Nexus 5 Original Android Development] nexusmaniac:
I put the '90hotplug' file into init.d, rebooted and even manually ran the script via root browser and I'm running with 1 core that switches between 1+2 active very randomly :) feels pretty smooth (could be a placebo or due to the reboot) I'll keep an eye on battery life. Thanks :)
[Nexus 5 Original Android Development] eng.stk:
I like to see community working like this guys, nice tweaks and testing mates ;)
[Nexus 5 Original Android Development] ekowanz:
In pacperformance there's setting multi core power saving. I'm enabled it, but I don't know it's work or not
[Nexus 5 Original Android Development] iba21:
Well you can detect if values are injuncted by using a terminal command:

Cat /sys/module/msm_hotplug/load_levels

And you should find the same values as in the script if you open it..

If you don't see those but the standards.. well it was not injuncted

I could fix it by 2 way:

1) put one sleep function of about 5-10 seconds

2) put a cicle witch loops until values are injuncted

I'll do it anyway if someone say to me if values are good for battery/performance use

this is a comunity! And you did the 100% of the work ;)

This is the mc scheduling

You find it in

/sys/devices/system/cpu/sched_mc_power_savings

I advise to set it to 1.. it changes the linux scheduler logic to prefere core1

Qualcomm's chip has 1 difference than cortex arch.. those have the ability to have different voltage between cores.. i'm meaning.. cortex arch has the same voltage for all cores.. qualcomm's has 1 pmw voltage usint per core.. so.. ypu can run core0 at maxfreq and maxvoltage and core1 at minfreq and minvoltage

The only bad way of that thing is the cache, it auto speed up as the frequency of core0.. so.. core0 should be the most used if you want to preserve system from lags since other cores has to wait to extract datas from the cache..

It's not quite easy to understand

---------- Post added at 12:30 PM ---------- Previous post was at 11:44 AM ----------

Well.. this is the 2.0

You have to manually exctract and put in init.d folder as the other.. root permission

https://www.dropbox.com/s/dzvcfgrfwx3ueyq/90hotplug_2.zip

now there is 2 new things:

1) more tunables

2) a complete cycle witch should injuncts values direct by a boot

1.5) easly editing

Well, edit only the values in " "

dont touch values out of those " "

I'm meaning

Echo " change it! " > /not/it/

Well good luck and find more settings or simply find the best for you
[Nexus 5 Original Android Development] ekowanz:
So it's mean 3rd party app doesn't need it anymore? I try uninstall the app and just use your setting. The 90hotplug on initd and execute it via root explorer
[Nexus 5 Original Android Development] iba21:
Try
[Nexus 5 Original Android Development] bushako:
Okay I've downloaded the script and did some modifications to it. I wanted all 4 cores to be running all the time so i set the min hotplug to 0 and set the max frequency to 1497mhz. I usually use Universal init.d app for running the script but the test shows that init.d is not supported by this kernel. Any suggestions. Screenshot added.

Ive got root access and busybox installed.
[Nexus 5 Original Android Development] iba21:
It seems strange.. don't know if there is a kernel issue or rom issue

I have the same problem.. i "fix" it by manually run all scripts by root explorer app
[Nexus 5 Original Android Development] bushako:
Okay I manage to make the script run. But I need a favour and I really hope you can spare some time. Could modify the script to make the hotplug 0 and lower max frequency to 1497mhz using the interactive governer. I've been trying but it ain't working out, I'd love to compare and see what ive missed.
[Nexus 5 Original Android Development] Dragusdrake:
I set

0, 2000, 777 permissions

And

At the beginning of script

"Sleep 15"

And the script go from init.d folder

;)
[Nexus 5 Original Android Development] eng.stk:
kernel has init.d support already, you don't meed any apps.

Just copy the script to /etc/init.d and set proper permissions. I run voltage settings this way everytime :good:
[Nexus 5 Original Android Development] Ben36:
What gpu governor do people use?
[Nexus 5 Original Android Development] Dragusdrake:
I seen that hotplug not work , i mean, always 4 core is on, also if i do anything...

Maybe i need to touch load_levels increasing the time to load?

The CPU temperature is very High ...

Edit.

Seems the problem , my problem (cause probably only me have it) is related to power saving. Reverted to 0
[Nexus 5 Original Android Development] iba21:
You cant put 0.. 1 is the minimum hotplug..

To lower the frequency, buy system tuner pro and use it, it's the best for that

---------- Post added at 01:37 PM ---------- Previous post was at 01:33 PM ----------

Well, i advise you to format phone, reinstall all, and reinstall the script

I see you don't have an hight knowledge about sysfs values.. so.. don't touch what you don't know to touch

Anyway if fast_lane_load is at 99, at every touch, kernel hotplugs always 4 cores..

I don't know what you use to monitorize the cpu load but, if really you have sone issues, you may format all
[Nexus 5 Original Android Development] Dragusdrake:
We stay here to understand.

Remember that with trickstermod i set values of hotplug governor,and i thought that is same way to change. By the way now hotplug works , setting power saving at 0. I try infact to higher the values at 200/200 and core 1/2/3 remain offline

However i add these

echo "99" > /sys/devices/system/cpu/cpufreq/bluactive/go_hispeed_load;

echo "85" > /sys/devices/system/cpu/cpufreq/bluactive/up_threshold_any_cpu_load;

For governor
[Nexus 5 Original Android Development] daniel84cs:
[MENTION=3873953]eng.stk[/MENTION] Your kernel runs very well, really a great job .... But if I wanted to replace the stock kernel just flash the boot.img or do I have to make some changes like Franco kernel ..... ???
[Nexus 5 Original Android Development] paychex:
simple or ondemand
[Nexus 5 Original Android Development] Ben36:
+1 to this, flashing a whole rom is a ballache
[Nexus 5 Original Android Development] erisboxx:
When I flash this kernel my app installing breaks, and so does root.. Any ideas?
[Nexus 5 Original Android Development] paychex:
haven't seen that. make sure you flash the latest supersu
[Nexus 5 Original Android Development] neriamarillo:
Delete
[Nexus 5 Original Android Development] proyatzu:
Youll gonna implement i2c optimization here too? :fingercrossed: :)
[Nexus 5 Original Android Development] paychex:
No, only iCUP
[Nexus 5 Original Android Development] danielt021:
I'm having a strange issue not only when I flash this but any custom kernel on L-based ROM. I'm using MultiRom but the same issue happens when ROM is running straight from the phone.

Whenever I flash a kernel I lose root (no problem I just flash SuperSU) but I can't seem to install any new app or update. I get 'unknown error application install-0' or 'unknown error application install-110' or sometimes 'invalid download url'. I've tried wiping cache, dalvik, even data. I wiped internal storage and installed factory images to start from scratch. Wiped several caches and data for google play and other Google apps from settings. But I always get stuck on the same problem. Also I noticed I'm unable to install any app that was downloaded to my internal storage.

No problems though if running on kernel it came with.

Any thoughts?
[Nexus 5 Original Android Development] paychex:
try the sdcard fix. it sounds like your sdcard is not writable... also avoid wiping cache and dalvik. I'm pretty sure that is one of the triggers
[Nexus 5 Original Android Development] eng.stk:
Code_Blue r1112-L

Wicked!

Finally pushing out blu_plug: Dynamic hotplug for hammerhead :victory:

Lot's and lot's of hours coding and testing, very proud of the outcome.

Special thanks to my testers and apb_axel for making UKM totally compatible with blu_plug and Code_Blue (Synapse still doesn't work with L).

blu_plug is still WIP, stay tune for more nice stuff in upcoming weeks :)

Changelog:

blu_plug: Dynamic hotplug driver for hammerhead (enabled by default min 2 core online, max 1 core screenoff) , Driver recode and rework, Tune initial values, Improve suspend/resume routines, down_timer_cnt can't be lower than up__timer_cnt, missing bits, Do not offline a cpu if it's boosted by cpu-boost, Set up_threshold to 70, let's try without jiffies

blu_active: Since we got blu_plug, let's rename and keep it linear, let's add the file, shall we?

cpufreq: create a helper function to get CPU utilization. Picked from [MENTION=3750240]stratosk[/MENTION]

Revert "[backport] sched_rt: Upstream fixes"

Revert "bluactive: let's try and live without the idle notifier and rely on the timer instead."

zlib: clean up some dead code

netlink: add signed types

net/l2tp: don't fall back on UDP [get|set]sockopt

Tuned some cpufreq tunables, set sched_mc_power_savings to 2
[Nexus 5 Original Android Development] paychex:
It's been quiet. Was starting to get worried
[Nexus 5 Original Android Development] tyea:
8/30 test works well on Breadcrumbs and Bunnies. Thanks!
[Nexus 5 Original Android Development] RJT71:
Did you loose root?
[Nexus 5 Original Android Development] tyea:
Yep. Lost root, and I haven't tried to fix it because I don't need it as far as I know--which isn't much.
[Nexus 5 Original Android Development] kevtrysmoddin:
Have you tried reflashing SuperSU?
[Nexus 5 Original Android Development] RJT71:
Uh no my question was did you loss root. Going to split this kernel and replace the ramdisk but keeping they code blue tweak in sbin folder.
[Nexus 5 Original Android Development] kevtrysmoddin:
I've never lost root flashing this kernel
[Nexus 5 Original Android Development] RJT71:
Running this with breadcrumbs and using his ramdisk. All smooth.
[Nexus 5 Original Android Development] eluspo:
How is battery life with L?
[Nexus 5 Original Android Development] Ben36:
Can eng.stk not post your repacked ones for Bunnies in his OP?
[Nexus 5 Original Android Development] eng.stk:
No and I will not support that ROM.

This kernel is for l-preview only.

If you want this kernel source on that ROM, build from source, call it whatever you wish and you're good to go.

Doing that kind of repack you will loose other customization stuff I do. That's exactly why I don't want Code_Blue repacks to begin with
[Nexus 5 Original Android Development] RJT71:
Ok you all can flash this kernel without the ramdisk changes. It's not that breadcrumbs ramdisk will boost your phone to a octa core phone. This kernel now as it is will give you no root loss. And if you all with breadcrumbs rom want to keep the ramdisk. Just Google how to do it. I did, for the first time. It's child's play.
[Nexus 5 Original Android Development] fajo:
Hello

Currently on blue code with the help of zip Cullin's, there no impact on the work of the kernel? Its works well;)

"Envoyé depuis mon Nexus 5 avec Tapatalk"
[Nexus 5 Original Android Development] iba21:
well, if i do a new install of the Bunny rom, install kernel, at boot, no root, and, no way to install apps, it gives an error while installing apps like as there is an impossibility to write in nand

if i install the original rom, same thing, no root

i'd want to change ramdisk to see if it's the issue
[Nexus 5 Original Android Development] adichandra:
I lost root too. Flashed superSU. Root explorer works, but tiBu does not. And now i cant install app from playstore.
[Nexus 5 Original Android Development] jjhiza:
I have TiBu working with SuperSU here. No problems at all. You need the L Preview compatible version of TiBu though.

Here's the L Preview version of TiBu - https://app.box.com/s/l52xbhy3v7x9xvy0i5m9
[Nexus 5 Original Android Development] skw5115:
Awesome job... This release with the blu_active governor is giving me amazing battery life. Much better than on previous versions. Thank you!!
[Nexus 5 Original Android Development] eng.stk:
Don't know what that zip is

You didn't lost root, you just have to install the beta TiBU that supports L.

Root works fine in Code_Blue, ramdisk is the same since day 1.

SuperSU 2.02 supports L and it works fine with my kernel.

Exactly
[Nexus 5 Original Android Development] fajo:
Gives it its

"Envoyé depuis mon Nexus 5 avec Tapatalk"
[Nexus 5 Original Android Development] fajo:
Sorry, link for instal

http://xdaforums.com/google-nexus-5/development/dev-cm11-users-heres-how-aospnon-caf-t2626961

"Envoyé depuis mon Nexus 5 avec Tapatalk"
[Nexus 5 Original Android Development] eng.stk:
The only official root method on L-preview is SuperSU. In L-preview from Google which has the title thread says, is the only L support.

There's nothing wrong with root or SuperSU in this kernel. It works the same has stock kernel.

Do you know why TiBU guys made that beta?

A) They are noob developers and don't have any sense in their heads

B) Because apps need to update to new policies in L to work nicely

Maybe B)...As all apps should.

Modding an entire ROM to older stuff just to make things work is insane work. Furthermore because it's pre release stuff and much can change until final release.

Don't you have other kernels to use with that ROM? Use them.

Don't like this? Don't use it. Simple.

I contribute to several projects and have lot's of nice people working with me everyday.

I just have trouble working with rude people and those who have the idea that can tell me what to do.
[Nexus 5 Original Android Development] eng.stk:
That's for kk CAF kernels like CM, so you can use AOSP only kernels in it. You don't need them on L.
[Nexus 5 Original Android Development] fajo:
Thank you for your reply, I just used a AOKP ROM with your kernel, thanks to the mod Calkulin, and works well, but perhaps not as if I was on Android L, sorry for the translation

"Envoyé depuis mon Nexus 5 avec Tapatalk"
[Nexus 5 Original Android Development] chikiro:
Still cant install apps from playstore and apk(purewhite rom) and i felt overheat issue while im browsing.. But nice update for this ???
[Nexus 5 Original Android Development] adichandra:
Ok tibu beta works. But error 110 still occured when installing apps from playstore.
[Nexus 5 Original Android Development] Toledo_JAB:
thread cleaned

while some OT is allowed, public discussions/arguments are not allowed in the public forums. (this includes posts that quote them)

Please take the personal talks to PMs

If you have any questions or comments then PM me.

@ OP sorry for the interruption

[MENTION=593514]twistedumbrella[/MENTION] check your PM's
[Nexus 5 Original Android Development] iba21:
I had the same error when i changed to the bunnies rom and installed that blue kernel.. android won't find sd card and wont have root..

I fixed it by installing the official firmware by official google immage, and flash the kernel over it

Well, use adb commands, not the tool
[Nexus 5 Original Android Development] adichandra:
Then i guess bunnies rom is not supported by eng.stk just like he said. My fault.
[Nexus 5 Original Android Development] eng.stk:
Donations

I want to thank a couple donations I got while in vacations, thank you very much guys!

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

You keep the spirit alive!﻿
[Nexus 5 Original Android Development] defconoi:
Love your work on blu_plug, also do you plan on using io_is_busy? Once you implement that I'll be throwing both blu_plug and blu_active back in my mako kernel as probably default. Then we gotta get [MENTION=5658634]apb_axel[/MENTION] to add those options to Synapse :)
[Nexus 5 Original Android Development] eng.stk:
Thanks for the support mate!

My main work is on kk thread, L is just for fun ;)

Don't know if I will add that tunable.

In hotplug drivers I never really saw much diference, on cpu governor yes I notice.

We'll see! If you have cool ideas to both of them, let me know ;)
[Nexus 5 Original Android Development] defconoi:
Ah yes your right, the hotplug don't need iobusy but bluactive would kick ass
[Nexus 5 Original Android Development] radicspeter:
eng.stk i'm absolut satisfied with your latest kernel, on stock L preview.

Come from purity rom (i use also your kk kernel) and i feel it's snappier system than purity was with ART but after i flash this kernel on L stock get more happy and better feeling! Taste your work!!

#stayoncodeblue
[Nexus 5 Original Android Development] Berget:
how is the batterylife from stock to CB? any diffrent?

i used CB for a while ago, and my device got realy hot, is this fixed?
[Nexus 5 Original Android Development] kevtrysmoddin:
Cb is much better than stock and you can set the temp limit but I've not really noticed the heart until I'm really abusing my phone
[Nexus 5 Original Android Development] aheeejd:
I accidentally flashed this with a 4.4.4 rom, wasn't paying attention. Obviously it did not boot. So I flashed the rom, without flashing a kernel & my file system changed, all my stuff is now in 0 folder, do I need to flash stock to fix, or, it doesn't bother me at all can I just leave it the way it is, I don't mind the extra finger touch to get to 0 folder to flash stuff. Of course anything I dl now goes to SD unless I move it. Tia

Sent from my LGLS990 using Xparent Green Tapatalk 2
[Nexus 5 Original Android Development] Dragusdrake:
Android L have a different position for media. It is normal
[Nexus 5 Original Android Development] nexusmaniac:
Oooh! 1123 :) Must download!
[Nexus 5 Original Android Development] eng.stk:
Code_Blue r1123-L

All right crew!

Just pushed a new update, lot's of hard work on this one!

Big shouts to my beta testers, it was a long week!

This build ships with new tunables and fixes for blu_plug like min_freq_screenoff and powersaver _mode (switch to save juice while light tasks).

Also it was added my approach to touch stuff, doubletap2wake (0:disabled, 1:enabled, 2:enabled fullscreen) with power button disable and wakeup_timer available also.

Release was build with new Linaro 2014.08 Cortex-A15 GCC 4.9.2 toolchain.

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

You keep the spirit alive!﻿

Changelog:
[Nexus 5 Original Android Development] kevtrysmoddin:
Hopefully first but really I'm 15th
[Nexus 5 Original Android Development] expiredd:
Downloading Android L preview to flash. I'm gonna try full stock for a few days then Code Blue L-preview.
[Nexus 5 Original Android Development] kevtrysmoddin:
I'd just go straight code blue lol the stock preview kennel is good but this is so much better
[Nexus 5 Original Android Development] expiredd:
Cant make synapse to work. Which program are you using to tweak kernel on L preview?
[Nexus 5 Original Android Development] radicspeter:
Use root explorer to set values you want ;)

+Rui Santos can i use this:

su echo 0.1 > /sys/android_touch/wake_timeout﻿

Or is 1 the minimum value?
[Nexus 5 Original Android Development] eng.stk:
1 is 1 minute is the minimum
[Nexus 5 Original Android Development] Dragusdrake:
[MENTION=3873953]eng.stk[/MENTION]

If a write a usefull profile with tasker for dt2w , how i can share with you?
[Nexus 5 Original Android Development] eng.stk:
Sure, put it here in the thread, can be usefull for people that use tasker
[Nexus 5 Original Android Development] iba21:
Is there a way to change the speed time of double tap? I'm meaning, the time between first and second tap
[Nexus 5 Original Android Development] kevtrysmoddin:
How can I set the dt2w ?? I use trickster mod for most settings but it doesn't show the option for dt2w?
[Nexus 5 Original Android Development] -iNSiGhT-:
Kernel tweaker has DT2W option.
[Nexus 5 Original Android Development] kyrgeo1978:
Use Universal Kernel Manager v3.3.2 and Synapse.
[Nexus 5 Original Android Development] expiredd:
I get no UCI Support message on synapse :( flashed UKM 3.3.2 script.
[Nexus 5 Original Android Development] iba21:
[MENTION=3873953]eng.stk[/MENTION]

Is there a way to use the double tap screen on only over the led icon? It could be very very fanny :D
[Nexus 5 Original Android Development] marf28101995:
Kinda of stupidiest question on xda
[Nexus 5 Original Android Development] Dragusdrake:
You can download tasker and turn on dt2w when you receive a notificafion ;)
[Nexus 5 Original Android Development] iba21:
Well doc not all are PhD as you are
[Nexus 5 Original Android Development] marf28101995:
Yes my mistake I was thinking in other thing xD
[Nexus 5 Original Android Development] iba21:
???

My question is.. is possible to have the double tap to wake only over the led icon?

If you put value to 1 only the middle bottom is active.. with 2 is fullscreen.. my question was for activate the led icon zone

Probably it doesen't have touch sensors
[Nexus 5 Original Android Development] marf28101995:
So it's wasn't my mistake it's the most stupid question dude.. The led hasn't touch capacity
[Nexus 5 Original Android Development] Dragusdrake:
I misundestood too

lol

The touchscreen not goes under the led, so you can't tap over it for dt2w

Touch sensor are another things, i think. Probably are only areas and you can not anyway tap in other areas that not are touch button
[Nexus 5 Original Android Development] iba21:
Well are you sure it doesent have the touch sensors?

Most of the phones have sensor on the edge of the screen, and it is absolutely normal in capacitive touch creation

By software controlling you can disable some zones..

How sansung finds the press over back and menù buttons? Magic?

If you are so intelligent, please be intelligent.
[Nexus 5 Original Android Development] marf28101995:
Just to end the ot it doesn't have.. We have a nexus 5 not a m7

And yes I will keep my intelligence

Cheers and tell me when you find the sensor on the edge
[Nexus 5 Original Android Development] eng.stk:
UKM doesn't work with L-preview, I think Kernel tweaker has such commands

No it hasn't. You can set 3 modes like I stated in changelog: 0: Disable, 1; Half screen, 2: Full screen
[Nexus 5 Original Android Development] iba21:
Q. there is only the "temp_threshold" sysfs parameter?
[Nexus 5 Original Android Development] cell2011:
Will this kernel work on the android l preview lp79 build?
[Nexus 5 Original Android Development] kevtrysmoddin:
It sure will
[Nexus 5 Original Android Development] eng.stk:
Yep
[Nexus 5 Original Android Development] Dragusdrake:
I'll test app that i made