yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] Ghisy:
Hello,

I would like to activate doubletap2wake but I can't buy your app on the Play Store (my bank blocked Wallet, it's a mess!). How do I use the sysfs command? I know nothing about coding! Thanks!
[Nexus 5 Original Android Development] javskies:
download trickster mod and in the specific settings tab click screen control
[Nexus 5 Original Android Development] Ghisy:
Great, thank you! I have Trickster Mod but didn't see this option on the specific settings tab! (I'm new to Trickster, I used to use System Tuner).
[Nexus 5 Original Android Development] javskies:
no problem, took me a while to find out to. i do recomend when you get the wallet issue sorted out to get kcontrol! much better with more options
[Nexus 5 Original Android Development] lomniom:
I still fail, just like another CM11-based user. Would you include the busybox in the app for the next update please?
[Nexus 5 Original Android Development] Badgerkiller:
Hi :cowboy:

Omg what did you implement in this f***ing kernel :eek:

I don't know if the battery life is good but amazing performance and smooth :D

My best score [MENTION=4938788]antutu[/MENTION] was 27*** with Faux O/C 2.5

Here without OC 34***:good:
[Nexus 5 Original Android Development] DevShaft:
My preference is that you let it stay that way. I really dislike it when apps make these kind of decisions for me, messing up my device. Make it an option then, that way everyone is happy?
[Nexus 5 Original Android Development] lomniom:
I'm supporting this idea! :good:
[Nexus 5 Original Android Development] DevShaft:
What would be even better is when the KControl preferred busybox version is extracted from the APK as an asset and placed in for example /data/local/tmp with executable permissions. Then instead of calling the commands through symbolic links you call them like this /data/local/tmp/KControl-busybox [command here]

That way KControl is independent of a busybox installation and specific release for that matter.
[Nexus 5 Original Android Development] hanschke:
installed Busybox because your app dont like the cm11 bb and cannot start it. refund done. sorry but why so complicated?

---------- Post added at 10:37 PM ---------- Previous post was at 10:24 PM ----------

I dont have this tab :confused:
[Nexus 5 Original Android Development] olus:
swipe from left to right in trickster mod.in the specific settings click on wake!
[Nexus 5 Original Android Development] wera750:
+show-p1984 any plans to bring in faux's color commits now that he has achieved 2.2 gamma?
[Nexus 5 Original Android Development] Valdeck:
Normally I would agree but with busy box so many developers do it in odd ways it would be nice to have kcontrol install it like it should be. A choice would be nice.
[Nexus 5 Original Android Development] illogic6:
Something seems to have changed in the last update of KControl. Suddenly the phone is complaining about Busybox missing. Download and install Stericson's installer and it says it already exists.

I went ahead and installed busybox again. KControl is still complaining. I miss tap to wake already. :'(
[Nexus 5 Original Android Development] show-p1984:
Something like that I just finished. Testing it atm on the 5 devices I have here.

It's complicated because busybox!=busybox!

There are at least 4 major configurations, and every dev makes tiny adjustments to them as well. So one busybox has everything, while the other only has a third, and another has only half, etc etc... That sucks. Even more than I would have imagined.

There is more fragmentation with busybox than with Android itself. Just blows.

Next version will rectify this by bringing it's own bb.

This seems to be an su issue though too. Additionally to the bb issue most roms have a faulty superuser setup, leading to Stericson's busybox installer failing the install. Most people can get rid of this by flashing SuperUser and then installing busybox through the installer though.

So two major issues: a) Busybox castrated on most roms, b) some roms fail superuser.
[Nexus 5 Original Android Development] Valdeck:
Question I just flashed SuperSu through twrp is there a better way or more correct way to get root?
[Nexus 5 Original Android Development] faux123:
LOL on busybox. Yes, busybox issues are the bane of my app as well :( It's amazing what's out there in the wild wild west of android domain and busybox variations :eek:
[Nexus 5 Original Android Development] xdviper:
Can i install this on top of Franco's kernel?
[Nexus 5 Original Android Development] ColdCircuitCash:
Ok, So I'm on CM11 Sanity Harp's Rom with Bricked kernel included. I've bought the pro version of BusyBox and KControl. When I open Kcontrol and click dt2w then reboot, i get nothing. is there something i'm missing on how to get d2tw enabled? I'm stuck.

Thanks in advance
[Nexus 5 Original Android Development] illogic6:
You shouldn't have to reboot for dt2w to work. Rebooting will reset it to the off position unless you look around in the settings and enable applying dt2w on at boot.
[Nexus 5 Original Android Development] Gr8Danes:
Love the features of this kernel! Out of curiosity, will it support USB OTG down the road? Or does it, and I'm the only one not able to get it to work? I use Chainfires USB helper app.
[Nexus 5 Original Android Development] sorindobrin:
I'm having the same issue ....I bought the app to support the dev, and only for the s2w and dt2w, and it turns I cannot really use it.
[Nexus 5 Original Android Development] show-p1984:
USB OTG works perfectly fine.
[Nexus 5 Original Android Development] DevShaft:
show-p1984 said a couple of posts back he is recognizing the issue and will fix it when there is time, be a bit more patient ;).
[Nexus 5 Original Android Development] theesotericone:
Yep busybox and SSU hate me right now as well. Running the latest Beanstalk which has SSU baked in. Tried all I could think of and nothing. Kcontrol keeps insisting it needs BB. Unlike some others though I'm keeping the app. I trust it will be resolved and am looking forward to playing with it. Thanks for the kernel and the app. Back to text editing I go. lol
[Nexus 5 Original Android Development] DevShaft:
For anyone having busybox problems. This should solve the issue for now:

1. Download BusyBox from here: http://busybox.net/downloads/binaries/latest/busybox-armv7l

2. Follow this guide: http://forums.androidcentral.com/software-development-hacking/4446-how-installing-busybox-hand.html

When this is too complicated for you, its best to wait for the KControl built-in busybox :).
[Nexus 5 Original Android Development] Deegan87:
I'm on holiday at the moment and don't have access to a proper computer to pull logs. I have attached a screenshot of the permissions for busybox located in /system/bin and /system/xbin (the permissions are the same) and the error message I get. stericson's busybox installer reports that I have version 1.21.1, but Kcontrol is still failing. Any advice?

Still running [MENTION=2444867]ihar[/MENTION]pl 's latest cm11 build.
[Nexus 5 Original Android Development] IharpI:
Either update to the buil I uploaded yesterday or install full busybox. Both should be possible without a PC. :)

As explanation: cm11 always has busy box but not with full desktop mode which is needed for some tools to run properly with kcontrol.
[Nexus 5 Original Android Development] Deegan87:
Done and done. Didn't fix the problem. I'm running your build from yesterday and I installed busybox (not busybox -kk.)

Ugh, I'm trying to avoid a full wipe until I can get home and be an introvert away from family.
[Nexus 5 Original Android Development] IharpI:
After flashing the latest version it has to work.

I tried multiple times and did not have a single problem. But I never tried to install busy box from the market. Maybe that messed it up for you.

Please just grep a log cat if the problem still persists.

There are multiple log cat apps in the market.
[Nexus 5 Original Android Development] Deegan87:
I've tried a handful but they aren't pulling the logs reliably. I blame KitKat.

And now for new unpleasantness:

Appears when I open busybox. I believe this has started after installing the latest stable bricked kernel. Also, I know that busybox is in the /bin and /bin because I can see it in both directories with root explorer.

I think it's time for a full wipe and TiBu restore tomorrow.
[Nexus 5 Original Android Development] IharpI:
Logcat from the market with kcontrol filer works perfectly fine to see the logs.

Just make sure to exit control completely before pulling as the bb check is only performed on the first start.
[Nexus 5 Original Android Development] show-p1984:
and

and

Next KControl version:

http://pastebin.com/raw.php?i=3ziaeYaq

I intentionally falsified the find arguments (-nots instead of -not) to generate this issue and show the resolution.

KControl will first check if the internal busybox is present (if it is it will use it), if it's not it will check for an installed one. If that cannot be found, or fails the checks, KControl will copy the internal bb and use that.

Bricked install zips have never and will never mess with busybox on your system.

Anyway, I am finishing some last tests with the improved KControl and pushing it out asap.
[Nexus 5 Original Android Development] DevShaft:
Why going through all the hassle validating the device installed busybox and not always use the KControl compatible internal busybox? That way you can be a 100% sure busybox will not cause an issue.

EDIT: I misread, I see you already prio the internal one over the installed one. How can the internal bb not be present?
[Nexus 5 Original Android Development] show-p1984:
Because newer bb versions might bring updates, improvements, bugfixes etc.

So the user can choose, do I want to use the new bb, or the 100% compatible internal one. Should the new bb not be compatible KControl will detect that automagically.

But the main reason is:

I had those damn 3 functions already written, so now they are put to some use. :p
[Nexus 5 Original Android Development] DevShaft:
Hehe, fair enough :p.
[Nexus 5 Original Android Development] lomniom:
Good idea show-p1984! :good:
[Nexus 5 Original Android Development] show-p1984:
https://plus.google.com/u/1/108262968419038009038/posts/PkkaLUuQUxe
[Nexus 5 Original Android Development] lomniom:
Problem solved ! You are such one great developer, keep it up!
[Nexus 5 Original Android Development] Deegan87:
New .apk works brilliantly. Busybox installer still thinks busybox isn't installed, the files are still there.

I tried aLogcat, .logcat, and Log Viewer from the Play Store and this is the only thing the logs will show me:

--------- beginning of /dev/log/main

I/dalvikvm( 8741): Enabling JNI app bug workarounds for target SDK version 11...

I/Adreno-EGL( 8741): : EGL 1.4 QUALCOMM build: (CL3776187)

I/Adreno-EGL( 8741): OpenGL ES Shader Compiler Version:

I/Adreno-EGL( 8741): Build Date: 10/15/13 Tue

I/Adreno-EGL( 8741): Local Branch:

I/Adreno-EGL( 8741): Remote Branch: partner/upstream

I/Adreno-EGL( 8741): Local Patches:

I/Adreno-EGL( 8741): Reconstruct Branch:

D/OpenGLRenderer( 8741): Enabling debug mode 0

I'm still thinking a full wipe is in my future.

Edit: Just now I tried uninstalling busybox and then installing it, and I see this in the busybox installer:

So I'm calling it a day and not wondering what happened in the first place. Thanks for all your help gentlemen.
[Nexus 5 Original Android Development] lyzanxia:
I hope the gamma feature from faux/franco kernel will find its way over to the bricked kernel eventually :)

http://xdaforums.com/showthread.php?t=2544128&page=8
[Nexus 5 Original Android Development] Citizen_Snips:
Same! My k-control is slowly creeping to 100% compatibility muahahaha. Thanks show for the hard work. Glad to have you here
[Nexus 5 Original Android Development] IharpI:
This looks like the perfect solution! :good:

Sometimes i get 87% in compatibility. sometimes 91% and sometimes even 96%.

Most of the time Color and/or Sound checks pass even though they should fail.

It looks more or less random for me But this is pretty much a consmetic only "problem".

Another problem/feature request is regarding the GPU control:

Logcat shows: de.bricked.kcontrol.GPU_Overview: Encountered unknown unrecoverable error while checking if the module is inserted.

I do not have/want/need the module.

But i would like to change the maximum GPU clock with KControl via: /sys/class/kgsl/kgsl-3d0/max_gpuclk

Is this possible?
[Nexus 5 Original Android Development] show-p1984:
Is it possible to get a log from that? As I am not getting this at all. Compatibility always has been consistent for me and I am puzzled as to why this should be happening.

I could rig it up to allow that, on the n5, but on most other devices we need the module to be able to get all available frequencies, as those are not exported by the kernel on those devices.

It shouldn't be that hard to compile the module and add it to your build script either, http://bricked.de/kcontrol_compat.php should be enough to get you up to speed and ready to go.
[Nexus 5 Original Android Development] IharpI:
Logcat only contains if the check fails a warning with: Hiding Sound... or Hiding Color.

I Always get the Hiding GPU!

Hiding Color and Hiding Sound seems random.

The funny part is, that even if i get Hiding GPU, Hiding Color and Hiding Sound. I sometimes get 91% with color marked with "pass".

Of course i can send you a log but does it help you, if those lines just does not show up sometimes?

I would really like if you add this in.

It is no problem to compile the module, but i do not need the additional features and have module support completly disabled in the kernel. ;)

But of course this has low priority. I already took a lot your time.
[Nexus 5 Original Android Development] NinetoFive:
The search function is broken but I went back to several pagessearching "battery" on the browser to see what people had to say.

I'm thinking about switching to Bricked because I really like S2w. Currently, I'm on stock (running TouchControl for S2w), but the battery drain on idle is horrendous.

One poster earlier said S2w just naturally has higher drain (which is understandable), but TouchControl's seemed way higher than I ever had on my old Nexus 4.

If my only criteria is looking for improvement in battery life while using S2w, would this kernel achieve that?
[Nexus 5 Original Android Development] wera750:
Can you bring in the commits to the next bricked beta for us to tinker with the color? Please.

sent from my bricked hammerhead
[Nexus 5 Original Android Development] NineInchNails:
Here was my better solution to begging for features to be added to kernels I liked.

I learned how to compile kernels from source and add in those features that I liked.

Edit.. This is XDA.. You can learn how to do that here.
[Nexus 5 Original Android Development] chozyn:
Weird thing happened yesterday I charged to 100% and went to bed. No Sim no WiFi/BT and woke up with 33%. Phone idle seems to be issue. Not sure if its to do with bricked so just throwing it out there to see if anyone has experienced it.
[Nexus 5 Original Android Development] chozyn:
Also with kcontrol and s2w off with dt2w on it still wakes up when I swipe. I'm checking to see if anything I have on N5 is adding to my batt woes.
[Nexus 5 Original Android Development] wera750:
Well normally I would but I have finals coming and haven't had time to. Maybe I'll resort to doing just that though.

sent from my bricked hammerhead

---------- Post added at 05:44 PM ---------- Previous post was at 05:42 PM ----------

sent from my bricked hammerhead
[Nexus 5 Original Android Development] Sayan1987:
I got a problem.

I come from franco kernel.

I installed bricked, then set it to start at boot with trickster, but at morning when i first power up the device, it boots and then after some seconds it reboots.

After this reboot the phone works fine, but everyday it reboots 1 time after the first start.

I didn't change any values, except for activating s2w.

What am i doing wrong?
[Nexus 5 Original Android Development] nealkoy:
Dis you flash stock kernel first before installing brick?
[Nexus 5 Original Android Development] Meakii:
Hi guys apologies if this has been mentioned somewhere here before but getting the tap to wake feature enabled… I have to purchase KControl app and then from where do I activate it? Step by step instructions would be hugely appreciated.

Thanks for all the hard work OP and thanks in advance for anyone who replies.
[Nexus 5 Original Android Development] Sayan1987:
I flashed stock .img linked in op, but my phone stopped working at all, so i had to re-flash franco and then i went straight to bricked.
[Nexus 5 Original Android Development] estallings15:
Bricked uses your current ramdisk to make it compatible with your ROM. It won't work on top of Franco's kernel. There are several copies of the stock kernel floating around. If that doesn't work, reflash your ROM and them flash bricked kernel.
[Nexus 5 Original Android Development] chozyn:
In the KControl app go to the top left corner..press by the K to get the menu and scroll down to misc. There you will see Double tap to wake..press it and check the enable box on the top right.
[Nexus 5 Original Android Development] Meakii:
Thanks mate. Much appreciated!
[Nexus 5 Original Android Development] chozyn:
Anytime :thumbup:
[Nexus 5 Original Android Development] .dan:
would flashing the stock kernel be sufficient for uninstalling this kernel, or is the uninstall script necessary?

answered my own question, flashing stock kernel is not sufficient to uninstall this kernel.
[Nexus 5 Original Android Development] DevShaft:
That would only be sufficient when everything is packed into the kernel. Since our boot partition is too small to harness everything Bricked kernel has to offer, it makes use of modules which are installed separately from the kernel. These modules as well as the custom power hal are put on the system partition and it does some other adjustments like for cpu frequencies, governors and bootstrapping the modules to the ramdisk.

I also like it to just fastboot boot or flash a kernel and with that have easy control over it. With this it's a bit harder, bit still easy when you inspect the install scripts. Besides this kernel is absolutely worth it :).
[Nexus 5 Original Android Development] lomniom:
[MENTION=4195844]show-p1984[/MENTION], would you include max frequency while screen off for the kernel and Kcontrol? A little like ElementalX by flar.
[Nexus 5 Original Android Development] Alfonso87:
These my resulte with 80%data (all time on) 20%wifi, stock rom, sync on, but with Interactive governor and some custom setting in it

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Original Android Development] kimkrrr:
custom setting is cpu frequency control and cpu undervolt?

tell me your setting please:good:
[Nexus 5 Original Android Development] Bytecode:
Yea, show us your settings man. I'm loving bricked BTW, but is there any chance you could implement perapp settings on kcontrol?
[Nexus 5 Original Android Development] Alfonso87:
Cpu -50 all freq, min freq 96000, hotplug slow, unplug fast, as show-p said to improve battery, boost 500ms, and some mod settings for the interactive governor too.

EDIT: i should say the device didn't run smooth as with "stock" bricked kernel, above all without boost (that's why i left it enabled)
[Nexus 5 Original Android Development] kimkrrr:
Thank you for your answer. :laugh:
[Nexus 5 Original Android Development] toanau:
What app/control do you use for knock knock feature.
[Nexus 5 Original Android Development] kimkrrr:
VERY NICE!! Did you change a setting in Trickster MOD?
[Nexus 5 Original Android Development] Alfonso87:
No s2w or dt2w if you wanna save battery
[Nexus 5 Original Android Development] Badgerkiller:
Hi kim,

Nothing :D except -50mV (PSV 2 :()

Very good battery in idle but too much draining when I use it.

Switch governor but with which one?
[Nexus 5 Original Android Development] Alfonso87:
I'm now tring ondemand with some more battery friendly settings. I have used interactive with similar intent, and seems to work good for this purpose, even if a bit laggy.
[Nexus 5 Original Android Development] Nephilim-Giant:
Hopefully this hasn't been asked too many times....

1. What's the difference between this app and touchcontrol?

2. How's the battery life? I'm experiencing 20% battery drain with touchcontrol for every 6 hours.
[Nexus 5 Original Android Development] omvir:
Showp, are you open to adding the Wheatley governor? I remember using that one with your kernel on the N4 with all cores enabled. It worked so well, and gave awesome balance between performance and battery.
[Nexus 5 Original Android Development] Alfonso87:
I would prefer he would work for even more battery life over performances..Our phone is already smooth and games are great, even if you uc it to 1.5mhz.
[Nexus 5 Original Android Development] omvir:
His kernel is so tweak-able(especially if you purchase his app, features on features on features ;)). You should be able to do it yourself. That's why I am asking for a specific governor so I can tweak it to my liking. If your ubderclocking this lovely phone to 1.5 then why not stay with the n4 :p lol
[Nexus 5 Original Android Development] Alfonso87:
I was just saying, even if underclocked you won't see differences, a part for some bench. Adding a governor or every governor out there can be on showp' todo list, but, according to me, stay focused on which one he feel to be the best governor, and optimize it for longer duration and smoothness, would be the best thing.
[Nexus 5 Original Android Development] Wombatino:
I love this kernel, I hope USB fastcharge could be implemented
[Nexus 5 Original Android Development] spica123:
It will never be implemented, as the op made some bad experiences with this stuff. Just search this thread.

Page 5 I guess.
[Nexus 5 Original Android Development] edisepic:
how do i get double tap to wake and sweep to sleep at the same time. in Kcontrol when i choose to just have sweep to sleep it checks both sweep to wake and sweep to sleep. it says that version 1 is detected. i am running latest 11-25 beta. thanks in advance
[Nexus 5 Original Android Development] Citizen_Snips:
Page 5 indeed. Really happy to have show developing here. He knows his stuff. Great kernel. Definitely my favorite for the n5
[Nexus 5 Original Android Development] Alfonso87:
[MENTION=4195844]show-p1984[/MENTION] what news there will be in the next update of brickedK?

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Original Android Development] trunks986:
Hi guys... Instead of zcontrol What other app can i use for controlling this kernel??
[Nexus 5 Original Android Development] spica123:
You may use trickster.
[Nexus 5 Original Android Development] elfarto:
When you say cpu - 50 all fre, i assume you are talking voltage, right?

What are equivalent values in trickster app to set hotplug slow/unplug

Can you be specific about the interactive governor tweaks?
[Nexus 5 Original Android Development] erpalma:
The display in low brightness is definitely not a major cause of battery drain!
[Nexus 5 Original Android Development] Alfonso87:
Lol

Custom settings or stock bricked?

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Original Android Development] erpalma:
Default voltage (my chip does not handle even - 12.5mV) but today I tried to set a max of 1.5ghz. 300mhz min, 320mhz gpu, everything else default.

I think the cpu is the most responsible in power drain. The heat generated is a good proof. I cannot set lower freq than 300 because if I do a stress test forcing all 4 cores at 96mhz the device hangs or reset after few minutes. Same for voltages lower than default. I suggest everyone to do some stress test before undervolt for daily use.

BTW now I have 7h 30m sot, 15h uptime, 30m calls and 20% battery left.
[Nexus 5 Original Android Development] philipped346:
hello, can someone tell me how to enable sweep2wake? I have tried but I don 't happen.:confused:
[Nexus 5 Original Android Development] erpalma:
Use kcontrol from play