My attempt to kill the softkeys

Search This thread

MДЯCЦSДИT

Inactive Recognized Developer
Nov 21, 2010
6,563
4,616
Maybe someone who knows a bit more or notices something I did not can help... I was looking in literally every folder for the file that controls the soft keys. This is a script I wrote up that *should* disable them but they turn off and come back on when you tap them.

#!/system/bin/sh
chown root /sys/devices/virtual/sec/t_key/brightness
chmod 0777 /sys/devices/virtual/sec/t_key/brightness
echo 0 > /sys/devices/virtual/sec/t_key/brightness
chmod 0555 /sys/devices/virtual/sec/t_key/brightness

Sent from my SPH-D700 using Tapatalk 2
 
  • Like
Reactions: Blankrubber

pvtjoker42

Senior Member
Dec 12, 2008
1,302
272
have you checked into the rom control toggle that disables the softkeys? even though it doesn't work on every theme/framework it seems, it might get you in the right direction?
 

ÜBER™

Recognized Themer
Nov 9, 2011
13,808
8,904
Texas
Hahaha well your a recognized developer go ask an Elite Recognized Developer :p

You can't ask us scrubs here :).

Sent from my SPH-D700 using xda premium
 

MДЯCЦSДИT

Inactive Recognized Developer
Nov 21, 2010
6,563
4,616
Hahaha well your a recognized developer go ask an Elite Recognized Developer :p

You can't ask us scrubs here :).

Sent from my SPH-D700 using xda premium

I *could* just disable them in the kernel but still, it is not a good option if people want to toggle them on any rom.

Sent from my SPH-D700 using Tapatalk 2
 

MДЯCЦSДИT

Inactive Recognized Developer
Nov 21, 2010
6,563
4,616
I set tasker to run this command for literally everything lol

Constantly run when keyboard is not out

:)

Sent from my SPH-D700 using Tapatalk 2
 
Last edited:

thomasskull666

Senior Member
Sep 24, 2010
1,553
412
St. Louis
I like this thread :)

I think that short of disabling them in the kernel there isn't a way, I tried looking through other places in hopes to figure it out but to no avail either.

Sent from my SPH-D700 using xda premium
 

b16flybye

Senior Member
Sep 4, 2011
421
88
Twin Cities
I am ALL for the kernel disabling the soft keys and if need be, the keyboard backlight. After two years of fondling this phone, I know her every curve.

Sent from my SPH-D700 using XDA
 

b16flybye

Senior Member
Sep 4, 2011
421
88
Twin Cities
Marcus, if you can just disable them completely, this would be the first and ONLY option for the 80% of us who want those battery draining LED's gone for good.

Sent from my SPH-D700 using XDA
 

b16flybye

Senior Member
Sep 4, 2011
421
88
Twin Cities
Well, for battery life freaks like myself, I'm sure I would notice a gain if there were no lights activated.

Sent from my SPH-D700 using XDA
 

xopher.hunter

Senior Member
Mar 21, 2011
1,629
392
Ventura
The moment always had kernels that came in LEDon and LEDoff versions, however the moment had a white background on its cap. buttons. I would love thhis for the epic as well

Sent from my Nexus Slide 4G
 

dohturdima

Senior Member
Jan 6, 2011
681
82
I hate these bright soft keys with a passion. If there was a way to completely disable them by tweaking the kernel I would be all for it.
 

Alexdi

Member
Jan 30, 2011
13
0
FYI, with CM9, the Screen Filter app disables the soft keys. They'll turn back on if you touch them, but you can start and use an e-reader indefinitely without doing that. The app also works as a widget, so if you touch the soft keys accidentally, a quick double tap of the widget will turn them back off.
 

MДЯCЦSДИT

Inactive Recognized Developer
Nov 21, 2010
6,563
4,616
FYI, with CM9, the Screen Filter app disables the soft keys. They'll turn back on if you touch them, but you can start and use an e-reader indefinitely without doing that. The app also works as a widget, so if you touch the soft keys accidentally, a quick double tap of the widget will turn them back off.
You can also make tasker run the echo 0 part of the script I wrote every time you hold the search button or open the launcher/book app.


Sent from my SPH-D700 using Tapatalk 2
 
  • Like
Reactions: xbzz

AproSamurai

Inactive Recognized Developer
Jul 4, 2010
1,668
1,183
Van Nuys, CA
github.com
From a linux based standpoint there is only one legitimate option. That is to run your script and then wear gloves which hamper the output of static electricity from your fingertips, so that you can surgically apply DUCT(or your preferred brand/type) TAPE over said lights without them turning on, in which case your script works, and peoples woes go away. :)

Trololol.
 

matrixzone5

Senior Member
Jan 12, 2011
346
38
landing
i agree

I agree on disabling them in the kernel for good i personally think this phone looks sexier with the lights off (no pun intended =P)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    I am making this post in resonse to a request to see if this phone will boot okay with the capacitive button unplugged. Im happy to report that it does and works flawlessly im currently running aokp *not this does not only turn off the "lights" it completly disables the buttons.
    Im going to upload a video soon.

    http://www.youtube.com/watch?v=UXNJOXTgbJU
    Sent from my SPH-D700 using xda premium
    3
    I'd still want to see it

    ~E.R.A.

    I tell u want tomorrow I gotta take my phone apart to mod the back plate of my screen to get rid of the giggly screen disorder (check my thread for instruction will link later if u guys want) ill record it and see if it boots it prolly will I don't see why not.

    Sent from my SPH-D700 using xda premium
    3
    Id say for those of us who plan on keeping our epics for the next couple years, this should be a focused topic. Either disabled, or controlled, I know for sure something can be done with them. I'm going to start tackling this tomorrow. School always takes up my time :/

    Sent from my SPH-D700 using XDA
    3
    It'd be pretty sweet to be able to disable the lights, as long as they are still usable.. I've had this phone long enough to know where the buttons are. :)
    2
    From a linux based standpoint there is only one legitimate option. That is to run your script and then wear gloves which hamper the output of static electricity from your fingertips, so that you can surgically apply DUCT(or your preferred brand/type) TAPE over said lights without them turning on, in which case your script works, and peoples woes go away. :)

    Trololol.