yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] show-p1984:
:)

Here is even a howto on how to build and implement them in your kernel buildscript:

http://bricked.de/kcontrol_compat.php

(Along with everything that is needed to be KControl compatible)
[Nexus 5 Original Android Development] styr:
Cool, i`m on it:D
[Nexus 5 Original Android Development] KingDani1997:
Why don't you add faux sound and color control to your beta version?
[Nexus 5 Original Android Development] DowntownJeffBrown:
If you read back just a few pages you will get your answer

>^.^< Sent From Meow nexus5
[Nexus 5 Original Android Development] wera750:
I can't get s2sonly to work by itself? K control always enables s2w too.
[Nexus 5 Original Android Development] Alfonso87:
[MENTION=4195844]show-p1984[/MENTION] Could be possible to add a dt2w option with a timer(15sec) to swtich it off? I was thinking that this feature is awesome but still drain too much battery, and the moment you would have it is when you are reading something on your phone, but it turns off couse you were distracted by something. Thank you 4 the answer :D
[Nexus 5 Original Android Development] nobnut:
This is easily possible using Tasker... even better, you can add lots more customisation to suit your specific needs.

As a start, you could use the Tasker setup which I posted on Friday found here. Then all you need to do is to add two extra lines to the relevant task after the screen has turned off.

Wait - 15 seconds

Run Shell - Command echo 0 > /sys/android-touch/sweep2wake (and/or) echo 0 /sys/android_touch/doubletap2wake

Easy!
[Nexus 5 Original Android Development] KingDani1997:
I already read it. He is waiting till it gets stable and I would like to ask him if he could make a beta version, even if it is unstable..:silly:
[Nexus 5 Original Android Development] NuxMortis:
It works, it seems there is just a glitch displaying it:

If you activate s2w and s2sonly and press reload, only s2sonly remains.
[Nexus 5 Original Android Development] wera750:
Where is reload?
[Nexus 5 Original Android Development] NuxMortis:
The symbol on the upper right.
[Nexus 5 Original Android Development] Alfonso87:
Umh what do you think if i do the opposite? O.o

echo 0 (always) -> when screens go off -> echo 1 -> wait 15sec -> echo 0

This could run for ever and i will obtain what i'm lookin for :D

Now i need to write if proper for tasker o.o
[Nexus 5 Original Android Development] nobnut:
No, echo 0 means that it is turned off.

So like I said, you want it on after the screen goes off, then wait 15 seconds, then echo 0 to turn it off (if the screen is still off).

You might want a variable to detect screen on status so that the above only works when the screen is off :)

If you need help with it, I'll be back tomorrow.
[Nexus 5 Original Android Development] wera750:
All that does is turn everything off for me
[Nexus 5 Original Android Development] gaetanolip:
showp1984@jarvis:~/WORK/kernel/bricked-hammerhead$ cat .config | grep SWAP

# CONFIG_SWAP is not set

showp1984@jarvis:~/WORK/kernel/bricked-hammerhead$ cat .config | grep NTFS

CONFIG_NTFS_FS=y

# CONFIG_NTFS_DEBUG is not set

CONFIG_NTFS_RW=y

it means yes or no ???
[Nexus 5 Original Android Development] NuxMortis:
You're right, it should just show you the glitch.

Just activate both and use it, as only s2sonly is active, simple enough.
[Nexus 5 Original Android Development] monkboy24:
Long time no hear show-p. Kernels running great

If I can't hack it I don't want it.

sent from my Nexus 5
[Nexus 5 Original Android Development] IharpI:
Swap no, NTFS yes!

For what do you want swap anyways on this device? :-/

Just out of interest. Why did you chose to implement it in this way?

Would be much easier to use if it would export directly to sys fs without loading a module with parameters and such.

Still getting an out of bounds exception when selecting scheduler.
[Nexus 5 Original Android Development] UgoBoss:
Just bought your app and the kernel/Kcontrol app combination is awesome and highly customizable ! Great work !

I was wondering if guys has some tips to save battery ? Coming from Franco, battery life isn't so good.. I've already got a few tips but that's not enough maybe..

- Disable S2W and DT2W (or have a look a this post !)

- Undervolt

- Apply cooler thermal settings
[Nexus 5 Original Android Development] show-p1984:
Sweep2wake is the main switch, s2sonly just overrides Sweep2wake & the touchscreen to be disabled.

KControl's behavior is correct, as s2sonly=1 without sweep2wake=1 does nothing.

Possible: yes.

Position on my TODO list: At the faaaaaaar end of the list. Somewhere around position nr. 274

That's no moo.. eh, reload. That's reset.

It can't reset s2sonly if you updated kcontrol to 1.9 because the first time you have opened Sweep2wake that didn't exist and hence was not written to "/data/data/de.bricked.kcontrol/files/def_s2w", which is why the s2sonly setting is somewhat glitching and staying on/off then.

This can be fixed by resetting KControl's data on a clean bootup without any settings changed from defaults or applied on that boot (So KControl really reads your stock settings)

It easier for me this way and for other people to integrate in their kernels too.

My modules don't alter the kernel source one bit and they can be compiled against all kernel sources with module support.

So I just threw those commands on the kcontrol compatibility list into my global build script after the individual kernel was built and the resulting zip has the module. Working. No more work required.

that's a new out of bounds exception and I am quite puzzled by it.

It fails on the 47th!!! scheduling device. What the hell? :) Someone is clearly not running this on their Nexus 5, or a busybox fail is causing this, since the command:

find /sys/devices/ -name "scheduler" -not -path "/sys/devices/virtual/*"

only returns _2_ scheduling devices for me:

/sys/devices/msm_sdcc.1/mmc_host/mmc1/mmc1:0001/block/mmcblk0/queue/scheduler
/sys/devices/msm_sdcc.1/mmc_host/mmc1/mmc1:0001/block/mmcblk0/mmcblk0rpmb/queue/scheduler

Not even close to 47.

EDIT:

The scheduler issue is caused by minimal/wrongly configured and compiled busybox binaries. (aka castrated busybox)

Be sure to install Stericson's Busybox from the market, as that works flawless.

https://play.google.com/store/apps/details?id=stericson.busybox
[Nexus 5 Original Android Development] shingers5:
Just saying thanks for this kernel. Flashed it and bought Kcontrol app. Winning combo now just need GPU control faux sound and color to be complete
[Nexus 5 Original Android Development] show-p1984:
Thank you.

GPU control is available on KControl verision >= 1.9 and in all bricked builds >= 20131125_050121

Also in the new stable, that is just cooking.
[Nexus 5 Original Android Development] shingers5:
cheers man

will wait for new stable then update. i dont tinker much just had to have double tap to wake as i miss that from my G2. killer feature IMO............................ anyone working on double tap to go off? be even better to have both
[Nexus 5 Original Android Development] show-p1984:
The stable is already released. It only takes about 6minutes from my keypress to release, have a look for 20131125_221139_master-d611603 on:

http://bricked.de/index.php?action=kdownload&device=hammerhead&release=stable&type=aosp

DoubleTaptoSleep is prone to too many false positives. (there is literally no way to make it close to 97% safe)
[Nexus 5 Original Android Development] Valdeck:
Just a question but how hot would you say is safe and expected with wireless charging?? I am new to the game and not sure what heat degree is expected verses dangerous.
[Nexus 5 Original Android Development] ix3u:
So I have no idea what happened, but now NOTHING works. Followed the instructions. Flash in recovery.... Now nothing loads, google play won't connect, it says i don't have a sim inserted, can't access any of my storage, when I plug in my phone it sees it, but I can't move anything to/from it... Any ideas?

Edit...Problem resolved...Not necessarily user error, but caches failing to wipe (assumed)
[Nexus 5 Original Android Development] show-p1984:
First of all: Since it works for all other people, it's most likely an issue you caused. It's generally a good idea to think that you messed it up first.

To the issue you described; in essence: The kernel could cause what you are experiencing, but without a log I won't be able to diagnose this issue.

Furthermore: This thread doesn't look like the issue tracker I mention in the first post, as issues can get lost in threads fairly quickly.

Boot your phone to android, reboot immediately in android and pull the last_kmsg.

Give me:

/proc/version

Which recovery you used and if possible a /boot dump.

It's highly unlikely a kernel used by over 500 people is crapping out on your phone (since it's the same device, the same code, the same binary).

Ensure that you didn't enable ART or something else which is causing this.
[Nexus 5 Original Android Development] joshnichols189:
Did you wipe dalvik?
[Nexus 5 Original Android Development] ix3u:
Right, forgot to check the issue tracker... However, Everything was stock, art wasn't enabled, and other than rooting and instaling Clockwork, I havn't done anything to the phone. I realize that NO ONE is having any issues which is why I'm kinda freaking out...working on figuring out how to get those files on here.

@ josh, yes, I wiped dalvik cache

Edit....I have literally NO idea what so ever with what happened... After several times of rebooting in recovery and wiping cache/dc (probably like 5 or 6 times) it just worked. Probably the most random issue I've had on android but whatever. Works now and that's all that matters.
[Nexus 5 Original Android Development] KingDani1997:
[MENTION=4195844]show-p1984[/MENTION]

Hi, this is the first time I heard about you and your kernel and I must say that I am more than impressed! I would say you are one of the best devs.

I have never seen someone who is such friendly and well-known as you. I don't know that much about Android Developing, but your explanations are f*ucking awesome! More people like you are needed here on XDA!
[Nexus 5 Original Android Development] iexplus:
Do you have a plan to add fast charge? Also, i would like to try out the kernel but honestly hesitating to purchase the KControl app just yet. Would it be possible to use other app to control voltages and some important options safely?

Thank you very much for providing a kernel development together with good explanation.
[Nexus 5 Original Android Development] lightningstalon:
I don't know if it is just me, but I've been having problems with the undervolting. In Trickster, whenever I try to UV, all the values up to 652800 jump to 800000. A bit odd. Everything else works though.
[Nexus 5 Original Android Development] benzben228:
I have the same problem.
[Nexus 5 Original Android Development] :
Trickster has not yet been updated to work with the Nexus 5, I emailed the dev and they said they are very busy and will have an update soon.
[Nexus 5 Original Android Development] drdrewdown:
does the same thing in fauxclock too, i don't believe it's related to any of the apps.
[Nexus 5 Original Android Development] n3ocort3x:
[MENTION=4195844]show-p1984[/MENTION]

Good beware a FOXCONN.... LEGENDARY :) I couldn't agree more then the guy on last page... Ur one of not too many devs that always provide information and explanations. I highly appreciate that too. :) that's why I always subscribe ur threads. A pleasure to read

noNeedForAsig
[Nexus 5 Original Android Development] show-p1984:
That issue will be fixed in the next build.
[Nexus 5 Original Android Development] benzben228:
You are awesome man. just cann't wait...
[Nexus 5 Original Android Development] phishstics:
Silky smooth on stock.
[Nexus 5 Original Android Development] fatappel:
Concept sounds good. Like where your head's at. Been living on faux and franco for years on my gnex and was happy to see continuation to my nex5 but always happy to try something new (to me). Best kernel I've tried so far here. Little bummed about fast charge but makes sense and always respect dev. Look forward to updates. Thanks

Sent from my Nexus 5
[Nexus 5 Original Android Development] george241312:
Does it throttle ????
[Nexus 5 Original Android Development] show-p1984:
Punctuation marks are not pack animals.

Your question was furthermore very very vague. Ofc it does throttle, every device is being throttled at some point, otherwise your device would brick. Permanently.

Next time be more specific.
[Nexus 5 Original Android Development] Carbajal3009:
Well I have to say...I am very impressed with this kernel. Thanks for your hard work :thumbup::D. My results ...
[Nexus 5 Original Android Development] george241312:
Okay so I went in /sys/kernel/msm_thermal/conf

I edited all the files so it would throttle at 95 and shutdown at 98 and set permissions to read only ...

I reboot and settings come back the same as there were before editing them :( I attempted again same result...

Is there any solution to stop throttling ? I don't care if this thing melts or bricks.....
[Nexus 5 Original Android Development] show-p1984:
Depends of what we are talking. Outside phone temp, battery temp, soc temp, etc...

Usually 'warm', as in ~40°C warm water in your bathroom, on the outside of the device is not considered hot, that's normal charging procedure.
[Nexus 5 Original Android Development] coyote968:
I installed the new kernel stable, I have busybox and apk KControl, but fails to run the DoubleTap ... my Rom is DroidKang V7 and TWRP 2.6.3.4 :confused:
[Nexus 5 Original Android Development] show-p1984:
"fails to run the DoubleTap" <-- ???

I have no idea what you try to tell me.
[Nexus 5 Original Android Development] lexxa83:
Is there any difference between latest beta and stable? I have beta running pretty well and not sure if I need to flash stable?.
[Nexus 5 Original Android Development] show-p1984:
Nope, I just checked out master and merged exp over.
[Nexus 5 Original Android Development] ProBird79:
I looked a few pages back but couldn't find the answer. I saw someone post the same question but it wasn't answered. How can you make the settings stick upon reboot if you change dt2w and s2w to on through sysfs? I love the kernel and it gives me great battery life!
[Nexus 5 Original Android Development] lexxa83:
Cool. Thanks
[Nexus 5 Original Android Development] shingers5:
Side panel on left hand side. Swipe in or touch top left to see menu then scroll down and you see it. Tap it then tick box to enable
[Nexus 5 Original Android Development] Valdeck:
Not sure how much benchmarks mean to you but your latest kernel added 2k in antutu and 3k in quadrant
[Nexus 5 Original Android Development] coyote968:
Is it possible that I can not do it, I did wipe Dalvik cache and install the new kernel and activated in the doubletap Kcontrol ... does not work.

Inviato dal mio Coyote N5
[Nexus 5 Original Android Development] omvir:
Are you going to merge the WiFi patches that Franco and faux have added? Franco tested and it reduced Wi-Fi idle drain substantially. And for myself too. Also in fauxs 003 kernel he has fixed the audio settings reset bug, hope you merge that also, really cant live without the sound mods. Btw Just bought your app and about to flash your kernel. (now I have every kernel developers app, yours, Francos, fauxs, and morfics :o :D)
[Nexus 5 Original Android Development] show-p1984:
[MENTION=3325710]IharpI[/MENTION]

Just for you:

http://pastebin.com/raw.php?i=Mr8JUVpA

Wasn't as easy as the log looks, but I now specifically check the installed busybox for the commands and supported arguments KControl needs. Will be in the next version and KControl will refuse to even launch with the wrong busybox installed.

EDIT:

New KControl version pushed! --> https://plus.google.com/u/1/108262968419038009038/posts/Pz7AqWrZm9E

My guess is that you are using it wrong.

Slide out the sidepanel or click the green K, scroll down, click DoubleTap2Wake, check the checkbox and you are done.

Settings->onboot is just a setting to re-apply stuff on boot.

Yes. Eventually. Soon. When I tested them.
[Nexus 5 Original Android Development] coyote968:
OK, now works perfectly. :)

Inviato dal mio Coyote N5
[Nexus 5 Original Android Development] lomniom:
I'm on Droidkang V7. Bought your apps to support the development, but it never launch. Installed Busybox by stericson as asked by you, and still not launching. "Sorry, KControl needs Busybox! #exiting". What should I do now? Please help.

Edit : in fact, for busybox installation, need to check ALL the boxes (one-by-one if you don't buy the pro version) to make sure that the Kcontrol work. But I don't see yet what is the impact of replacing these files. Kernel bricked v20131125 have 96% compatibility. Is it normal?

Edit 2 : After restart the KControl FC again, and the same message as above comes out. Need help on this one.
[Nexus 5 Original Android Development] IharpI:
Thank you very much, sir!

It was not so easy to fix as well but your initial check is a perfect solution.

CM uses a "full" configuration to build Busybox which does contain negation on the find parameter BUT it only supports "!" for negation and not the "-not".

I had to activate the "desktop" build flag do get a real "full" busybox.
[Nexus 5 Original Android Development] lomniom:
See my post above, I'm using Droidkang V7 which is derived from CM11. Do you think this is the reason I cannot launch KControl?
[Nexus 5 Original Android Development] IharpI:
Yes. "DroidKang" is basically CM with some cherry-picks.

So it has the same Busybox which does not support find -not.
[Nexus 5 Original Android Development] olus:
hi guys,

anyone else having problems when in a phone call? display turns off but touch is active an my ear is touching settings, apps, etc..

greets
[Nexus 5 Original Android Development] lomniom:
So, what do we need to do?

I don't want to change Rom for one app. But I paid for the app, that's the reason I would like to enjoy what I paid.
[Nexus 5 Original Android Development] IharpI:
Yes, was reported before. Stil hoping show implements a feature that disables a2w when proximity is active.

There are lots of solutions:

- install BusyBox like suggested by show!

- use a ROM with full BB support.

- Ask your ROM dev to change his busybox

(- Ask show to change -not to ! in his find call. I do not recommend this as there is high risk of running into other problems after he changed that...)
[Nexus 5 Original Android Development] gavin-phelan:
A showp are you ever going to or thinking of launching a download section in the app
[Nexus 5 Original Android Development] nobnut:
Just install this. Run it and choose 'normal' install and not 'smart' install.
[Nexus 5 Original Android Development] lomniom:
I did. And it's still not launching. I followed everything. It just doesn't launch. I'm going to send showp a mail via Google Play Store.

---------- Post added at 02:33 PM ---------- Previous post was at 02:07 PM ----------

Showp, mail sent. Please think a way to make me be able to enjoy the app. Thanks.
[Nexus 5 Original Android Development] Deegan87:
Make tasker do it.
[Nexus 5 Original Android Development] IharpI:
Show has done nothing wrong.

He says you need full BB to run his app as it uses features of the full BB.

So just get full BB please. The castratated CM one is not enough.

You can see all the problems with CM BB in this log:

I/de.bricked.kcontrol.Nav( 6233): Setting Dark theme...
I/de.bricked.kcontrol.MainMenu( 6233): Found busybox in /system/xbin/busybox.
I/de.bricked.kcontrol.MainMenu( 6233): Busybox supports command: ps
I/de.bricked.kcontrol.MainMenu( 6233): Checking argument support for command: ps | args: -x -p -c
I/de.bricked.kcontrol.MainMenu( 6233): Arguments -x -p -c supported for command: ps!
I/de.bricked.kcontrol.MainMenu( 6233): Busybox supports command: grep
I/de.bricked.kcontrol.MainMenu( 6233): Checking argument support for command: grep | args: -o
I/de.bricked.kcontrol.MainMenu( 6233): Arguments -o supported for command: grep!
I/de.bricked.kcontrol.MainMenu( 6233): Busybox supports command: find
I/de.bricked.kcontrol.MainMenu( 6233): Checking argument support for command: find | args: -name -not -path -maxdepth
E/de.bricked.kcontrol.MainMenu( 6233): Arguments -name -not -path -maxdepth not supported for command: find! =(
I/de.bricked.kcontrol.MainMenu( 6233): Busybox supports command: tail
I/de.bricked.kcontrol.MainMenu( 6233): Checking argument support for command: tail | args: -n
E/de.bricked.kcontrol.MainMenu( 6233): Arguments -n not supported for command: tail! =(
I/de.bricked.kcontrol.MainMenu( 6233): Busybox supports command: uname
I/de.bricked.kcontrol.MainMenu( 6233): Checking argument support for command: uname | args: -r
E/de.bricked.kcontrol.MainMenu( 6233): Arguments -r not supported for command: uname! =(
I/de.bricked.kcontrol.MainMenu( 6233): Busybox supports command: cut
I/de.bricked.kcontrol.MainMenu( 6233): Checking argument support for command: cut | args: -d -f
I/de.bricked.kcontrol.MainMenu( 6233): Arguments -d -f supported for command: cut!
I/de.bricked.kcontrol.MainMenu( 6233): Busybox supports command: sed
I/de.bricked.kcontrol.MainMenu( 6233): Checking argument support for command: sed | args: -e
I/de.bricked.kcontrol.MainMenu( 6233): Arguments -e supported for command: sed!
I/de.bricked.kcontrol.MainMenu( 6233): Command input found in /system/bin!
I/de.bricked.kcontrol.MainMenu( 6233): Busybox supports command: cat
I/de.bricked.kcontrol.MainMenu( 6233): Command getprop found in /system/bin!
I/de.bricked.kcontrol.MainMenu( 6233): Busybox supports command: rmmod
I/de.bricked.kcontrol.MainMenu( 6233): Busybox supports command: insmod
I/de.bricked.kcontrol.MainMenu( 6233): Busybox supports command: dmesg
I/de.bricked.kcontrol.MainMenu( 6233): Busybox supports command: lsmod
I/de.bricked.kcontrol.MainMenu( 6233): Busybox supports command: egrep
I/de.bricked.kcontrol.MainMenu( 6233): bb cmds ok? false
E/de.bricked.kcontrol.MainMenu( 6233): FATAL: Sorry, the installed busybox failed the check for some fancy shell commands! Install stericson's busybox from the market! #exiting

This "solution" is mentioned multiple times already.

But i do not like tasker and think this is just a dirty workaround. ;)
[Nexus 5 Original Android Development] Deegan87:
Now I'm having problems with Kcontrol related to busybox. First, the app told me to get stericson's version, and after doing that, the app claims I don't have busybox at all. I'm on Iharpl's latest cm11 build.
[Nexus 5 Original Android Development] IharpI:
Really strange that it even does not work with stericsons version.

I have already a new version build which is running fine.

Unfortunately i can not upload it right now as my Internet is down. (Online with tethering)

I hope i can upload the new build in the next few hours.
[Nexus 5 Original Android Development] show-p1984:
I answered your emails, KControl needs the busybox linked in the App description to work properly. I might just add it into KControl on the next version =/ Meh... Was trying to avoid that to give the user an option what he/she wants on his device and what not.

Disable sweep2wake (or enable s2sonly) and doubletap2wake.

I will fix it when there is time.

I already wrote that this will be in version 2.0 along with profile support, or shortly after 2.0.

I beg to differ:

https://dl.dropboxusercontent.com/u/44206202/bb_kc.mp4

works perfectly.

can you give me a logcat of that issue?

and whatever this spits out:

find /system -name busybox | tail -n1

and this:

ls -al /system/bin/

and this:

ls -al /system/xbin/

Use pastebin.com to post the data.
[Nexus 5 Original Android Development] Alfonso87:
[MENTION=4195844]show-p1984[/MENTION] Do you think the interactive governor could give more battery life? This user have used it, and the results seems cool http://xdaforums.com/showpost.php?p=47568672&postcount=199

[MENTION=2393301]nobnut[/MENTION] I didn't make the tasker's task anymore, but thanks for the help, is really appreciated :D
[Nexus 5 Original Android Development] olus:
hahaha.. are you kidding me? ;) i just flashed your bricked kernel to get this features. now i should disable it? :D no, sir!