[APP][Nov-13-2013] Capacitive Buttons v1.0.13 - HTC One X

NOTE: Please use the DevDB thread for all devices instead of this device-specific thread: http://forum.xda-developers.com/showthread.php?t=2496347
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This small application allows you to change the brightness of the capacitive buttons (back, home, and recent tasks) on many HTC devices and a few non-HTC devices, including the HTC One X (both dual-core and quad-core models), the HTC One X+, and the HTC One. Users have also reported success on other devices, including HTC One V, HTC One S, HTC Desire HD, and Evo 3g. Root is required in order for this application to work. This application works on any ROM, including CleanROM, ViperXL, Cyanogenmod, AOKP, and MIUI.
App review by Portal Administrator / Editor-in-Chief for XDA-Developers Will Verduzco: http://www.xda-developers.com/android/easily-dim-the-capacitive-buttons-on-many-htc-devices
Features
Intuitive UI to set the brightness of the capacitive buttons to bright, dim, or off
Home screen widget to cycle between brightness levels
Latest Versions
Latest Pro Version: 1.0.13
Latest Free Version: 1.0.13
Download
Google Play (Pro version): https://play.google.com/store/apps/details?id=org.sleepydragon.capbutnbrightness.pro
Google Play (Free version): https://play.google.com/store/apps/details?id=org.sleepydragon.capbutnbrightness
APK (v1.0.13): http://dl.bintray.com/sleepydragon/CapacitiveButtons/CapButnBrightness-1.0.13.apk
YouTube Video: https://www.youtube.com/watch?v=r9Zj-z02CR8
Differences in the Pro Version
The Pro version receives new features and bug fixes 2-4 weeks earlier than the free version. That's it! Oh, and also the free version has a link at the bottom of the main UI to upgrade to pro. The main motivation to pay for the pro version is to get official app updates easily and automatically via the Google Play Store. If you're happy with waiting for updates or using beta versions then you can live a full and happy life with the free version.
Officially Supported Devices
HTC One X (evita and endeavoru)
HTC One (m7)
HTC One X+ (evitareul)
HTC One S
HTC Sensation
Unofficially Supported Devices
HTC One V
HTC Desire HD
HTC Evo 3D
HTC Droid MAXX
HTC Droid DNA
HTC Butterfly S
LG Optimus G
Officially Unsupported Devices (devices that are known not to work)
Samsung Galaxy S2
Samsung Galaxy S3
Frequently Asked Questions
Which brightness setting is "stock"? It depends. On Sense based ROMs (eg. CleanROM, ViperXL) "Bright" seems to be the default. On AOSP-based ROMs (eg. CM10, AOKP) "Dim" seems to be the default. It all depends on how/if the ROM maintainer tweaked the default setting. The "default default" (ie. if you RUU to stock) setting is "bright". In v1.0.4, a "Default" button was added to allow reverting to stock brightness.
How do I get back to the default setting? The most reliable way is to click the "Default" button on the main screen of the application then simply reboot. Or, you can just set the brightness setting that is the default.
What happens if I uninstall the app? Nothing. Well, it doesn't change the brightness setting if that's what you're wondering. After a reboot, though, the brightness setting will revert back to the ROM's default setting.
Known Issues
"Dim" does not work on all ROMs and kernels
"Off" does not stick when "GV Integation" app installed
Source
This application is released under the GPL3 open-source license. Source code is published at https://code.google.com/p/hox-cap-butn-brightness
Reporting Bugs
Use the "Bug Reports" feature of this DevDB project or add a post to this thread. Please include the contents of the application's "Debug Information" page (available from the "Settings" screen) when reporting bugs, as it contains invaluable information for developers to use when investigating issues. There is a "Copy" button in the top-right corner of the screen for easy cut & paste.
Credits
Turge - for providing a MOD to perform the same task (http://forum.xda-developers.com/showthread.php?t=1694375)
gridlock489 - for providing higher-resolution images for the buttons in the main UI
slimdizzy - for testing on the HTC One X+ and letting me borrow his device to try things out
TToivanen - for testing on the International HTC One X (endeavoru)
lesscro - for providing the title banner that you see at the top of this post
skdubg - for testing on the HTC One X+, especially the new "dim" support
Change Log (brief - see full change log in the next post)
1.0.13 (Nov 14, 2013) Fixed buttons turning off issue, skip dim in widget if not supported, HTC Sensation support added
1.0.12 (Oct 24, 2013) Fixed "default" button error: "Changing permissions of file failed"
1.0.11 (Oct 23, 2013) Fixed long-standing issues with UI lags and superuser permissions usage, animation added to home screen widget
1.0.10 (Sept 10, 2013) Home screen widget added, HTC One brightness levels fixed
1.0.9 (Sept 03, 2013) HTC One support added, support for devices without the "currents" file added
1.0.8 (Jan 02, 2013) dim support for all devices, new home screen icon, debug information and credits screen added, fixed about screen scrolling
1.0.7 (Dec 10, 2012) fixes bug where brightness setting does not persist when turning screen off then back on; only affects endeavoru and evitareul
1.0.6 (Dec 06, 2012) added support for HTC One X+ and International HTC One X (endeavoru); added detected device name at bottom of "About" screen
1.0.5 (Nov 25, 2012) fixed pixelated button images in main UI (thanks to gridlock489 for providing higher-resolution images)
1.0.4 (Nov 03, 2012) visual indication when buttons pressed, better error message if not rooted, "Default" button added, some words translated
1.0.3 (Oct 11, 2012) Brightness setting now sticks across reboots
1.0.2 (Oct 03, 2012) Change theme to Holo (dark), replace button text off/dim/bright with pretty icons
1.0.1 (Oct 02, 2012) Added to Google Play, new application icon, added "About" screen
1.0.0 (Sept 29, 2012) Initial release
Old APKs:
https://bintray.com/sleepydragon/CapacitiveButtons/APKs
http://dl.bintray.com/sleepydragon/CapacitiveButtons (direct links)
Feel free to bake the free version of this app into custom ROMs or publish it in other places. No need to ask permission from me. However, I am quite interested personally in different places that this app is used. So if you do include it in a ROM or whatever feel free to post a note to this thread to let me know! The app is licensed under the GPL, which means you can even take it apart and include it in your own stuff... I just ask that you honor the spirit of the GPL (unlike HTC's 120-day policy... grrr!)
Threads for this app for other devices (obsolete - please use this thread instead):
HTC One X (North American "evita" variant) (original version)
HTC One X (International "endeavoru" variant)
HTC One X+
HTC One
HTC One S
HTC Sensation
HTC Sensation XL

It works in SkyDragon V3, ICS,
Thanks for the app, it s amazing.
Later will test on skydragon JB V3
SkyDragon Sense, Dsensed, SeMistock & Stock Roms. Next Targe ~ ~ ~ > JB or Kelly Bean

Works great on HOX with ARHD on new base 27
Sent from HOX with ARHD 17.x
---------- Post added at 06:14 AM ---------- Previous post was at 06:11 AM ----------
Is it possible to add third option like in thread http://forum.xda-developers.com/showthread.php?t=1933311
Sent from HOX with ARHD 17.x

*elmo* said:
Is it possible to add third option like in thread http://forum.xda-developers.com/showthread.php?t=1933311
Click to expand...
Click to collapse
Unfortunately, no. Unfortunately, the International One X (endeavoru) does not support the "dim" setting. The YouTube video in the OP and the screenshots from the thread you linked to was taken on a North American One X (evita), which does support the dim setting. I tried, but the capacitive button backlight on the One X (endeavoru) is either off or on... no dim. So instead of having a "bright" and "dim" button that do the same thing, I modified the UI to hide the useless "dim" button.
Good question though. I've added this note to the "known issues" list in the OP: HTC One X+ and International One X (endeavoru) do *not* support the "dim" setting; therefore, the middle button is omitted from the UI on these devices

denverscwhen I unlock the screen buttoms light is on - with option set off. Any ideas?
---------- Post added at 07:32 AM ---------- Previous post was at 07:21 AM ----------
Edited. Working ok :thumbup:
Sent from HOX with ARHD 17.x

*elmo* said:
when I unlock the screen buttoms light is on - with option set off. Any ideas?
Edited. Working ok
Click to expand...
Click to collapse
Did you have to "change" anything to fix this? Just curious in case someone else runs into the same issue. Thanks!

denversc said:
Did you have to "change" anything to fix this? Just curious in case someone else runs into the same issue. Thanks!
Click to expand...
Click to collapse
Nothing changed. I noticed that light turn of in few seconds after unlock and then it's still of. Even now :thumbup: Thanks mate for MOD
Sent from HOX with ARHD 17.x

*elmo* said:
Nothing changed. I noticed that light turn of in few seconds after unlock and then it's still of. Even now :thumbup: Thanks mate for MOD
Sent from HOX with ARHD 17.x
Click to expand...
Click to collapse
I guess the app is getting killed
Sent from my EndeavorU using Tapatalk 2

Yeah, you're right. When ever we turn off the screen, the lights are back. Better to use a script, which should be placed in system/etc/init.d
If any one wants that, I will attach it here.
Sent from my HTC One X using Tapatalk 2

Hey denversc, please remove the chmod 444 part from the script.
That way users choice should persist
Sent from my HTC One X

TToivanen said:
Hey denversc, please remove the chmod 444 part from the script.
That way users choice should persist
Click to expand...
Click to collapse
The app is not actually running any chmod commands. I'm not sure exactly why the capacitive button backlight is turning back on when the screen turns back on. The way the app works is that it writes either "0" or "255" to the file /sys/class/leds/button-backlight/brightness to turn the capacitive button backlight off or on, respectively. So probably the OS writes 255 to this file every time the screen turns on. It might be difficult/impossible to "fix" this. Any ideas?

shree.cse said:
Yeah, you're right. When ever we turn off the screen, the lights are back. Better to use a script, which should be placed in system/etc/init.d
Click to expand...
Click to collapse
I'm not sure that an init.d script would make any difference. It may be worth a try though. Why do you think it would make it work better with init.d? I just don't understand how init.d scripts are called. Thanks.

denversc said:
I'm not sure that an init.d script would make any difference. It may be worth a try though. Why do you think it would make it work better with init.d? I just don't understand how init.d scripts are called. Thanks.
Click to expand...
Click to collapse
Try this
http://db.tt/YpQPUPjH
Just place it in system/etc/init.d using root explorer and check permissions and execute it from there.
Sent from my HTC One X using Tapatalk 2

denversc said:
The app is not actually running any chmod commands. I'm not sure exactly why the capacitive button backlight is turning back on when the screen turns back on. The way the app works is that it writes either "0" or "255" to the file /sys/class/leds/button-backlight/brightness to turn the capacitive button backlight off or on, respectively. So probably the OS writes 255 to this file every time the screen turns on. It might be difficult/impossible to "fix" this. Any ideas?
Click to expand...
Click to collapse
Sorry, I thought you grabbed the script entirely from the q/a thread.
The thing is, you need to set the permissions of /sys/class/leds/button-backlight/brightness/ to read only. That way system wont change it to 255 when screen is turned on.
An init.d script works this way:
1. Set rw-permissions to /sys/class/leds/button-backlight/brightness by chmod 0666
2. Change value to whatever needed
3. chmod 0444 to /sys/class/leds/button-backlight/brightness for ro permissions.
I'm not quite sure if you can use chmod commands or not but thought I'd share this.
Sent from my HTC One X

TToivanen said:
Sorry, I thought you grabbed the script entirely from the q/a thread.
The thing is, you need to set the permissions of /sys/class/leds/button-backlight/brightness/ to read only. That way system wont change it to 255 when screen is turned on.
An init.d script works this way:
1. Set rw-permissions to /sys/class/leds/button-backlight/brightness by chmod 0666
2. Change value to whatever needed
3. chmod 0444 to /sys/class/leds/button-backlight/brightness for ro permissions.
I'm not quite sure if you can use chmod commands or not but thought I'd share this.
Click to expand...
Click to collapse
Ahh I see what you mean. I can definitely add that logic into the app to see if it fixes this issue. I'll post a test version of the app here in the thread when it's ready (probably late afternoon tomorrow).
One question about init.d scripts... do they run only when the device initially powers on or do they also run every time it wakes up from deep sleep, or every time that the screen powers on?
For now, I've added this issue to the "known issues" list in the OP: capacitive buttons backlight turns back on when the screen turns back on, even if "off" is selected in the app; a fix involving init.d scripts and/or chmod is currently under investigation

Here is a version of the app to test to see if it fixes the issue where the capacitive button backlight turns on when turning the screen on. It doesn't use an init.d script but it does run chmod 666 before setting the brightness and chmod 444 afterwards. The idea is that this will prevent the OS from turning the backlight back on since the file that it attempts to write to is read-only.
The APK of the test version of the app is attached to this post. You must uninstall any old versions of the app before installing this one, as it is signed with a "developer" key instead of the "official" key. As a result, you will also need to uninstall this test version of the app before installing an official version (for the exact same reason). Not doing so will simply cause the install of the APK to fail.
Please let me know if this fixes the issue.

Denversc, already tested. Works fine. Now light after unlock is off . Buttons are always off Thanks
Sent from HOX with ARHD 17.x

I am trying it with slim bran and it doesnt get brighter. Its the same.
Sent from my HTC One X using xda app-developers app

Denver, this version keeps the lights off when the screen is locked/unlocked like intended.
But I can't keep the lights on. After screen on they are off again.
Did you add chmod commands only to the the lights off script?
E: I assume you did, took a look at src.
Sent from my HTC One X
muid02 said:
I am trying it with slim bran and it doesnt get brighter. Its the same.
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
Not sure what you mean by getting brighter.
The purpose of this app is to turn softkey lights on and off.
Sent from my HTC One X
denversc said:
One question about init.d scripts... do they run only when the device initially powers on or do they also run every time it wakes up from deep sleep, or every time that the screen powers on?
Click to expand...
Click to collapse
They are executed when device boots.
Sent from my HTC One X

Great. I can confirm too that this works on Maximus 11. I have been looking for this app since the ICS times. I love how the buttons don't light up because you know where they are anyway and at least in my case when looking at a completely black image, you can see some light on the lower part of the screen from the buttons. Now that is disabled and the screen is gorgeous.

Related

[Q] Tester for Capacitive Button Brightness App

Hi One X community! I'm from the AT&T One X world, so I don't really belong here However, I wrote a little app for the evita/snapdragon One X that changes the brightness of the capacitive buttons (back, home, recent tasks) and I'm curious to see if it also works on your endeavoru/tegra3 One X. Would anyone be willing to test it out and report back in this thread? Although the app requires root permissions, I cannot imagine it doing any damage to your device should it not work. That being said... anything is possible... you have been warned
If you don't mind testing it out, there are 2 ways to do it:
Load the APK file for the application and run it
Run a command as root
Load the APK file for the application
If you are willing to load the app, the APK is available here: http://forum.xda-developers.com/showthread.php?t=1912216. After loading the APK, just launch the app "Capacitive Buttons Brightness" from the launcher and press one of the 3 buttons in the UI. If the capacitive button brightness changes, then the app works.
Run a command as root
Run the following command from a root shell:
echo 0 > /sys/devices/platform/msm_ssbi.0/pm8921-core/pm8xxx-led/leds/button-backlight/currents
This should shut off the button backlight. Using 1 and 2 instead of 0 should make the button backlight dim and full, respectively. These are the commands ultimately issued by the app.
Other Ideas
If this method of setting the button brightness doesn't work, would you happen to know the command to issue that does work? If you do, I could incorporate that command into my app, and have it choose the right command based on the current device.
Thanks in advance for your help!
denversc said:
Hi One X community! I'm from the AT&T One X world, so I don't really belong here However, I wrote a little app for the evita/snapdragon One X that changes the brightness of the capacitive buttons (back, home, recent tasks) and I'm curious to see if it also works on your endeavoru/tegra3 One X. Would anyone be willing to test it out and report back in this thread? Although the app requires root permissions, I cannot imagine it doing any damage to your device should it not work. That being said... anything is possible... you have been warned
If you don't mind testing it out, there are 2 ways to do it:
Load the APK file for the application and run it
Run a command as root
Load the APK file for the application
If you are willing to load the app, the APK is available here: http://forum.xda-developers.com/showthread.php?t=1912216. After loading the APK, just launch the app "Capacitive Buttons Brightness" from the launcher and press one of the 3 buttons in the UI. If the capacitive button brightness changes, then the app works.
Run a command as root
Run the following command from a root shell:
echo 0 > /sys/devices/platform/msm_ssbi.0/pm8921-core/pm8xxx-led/leds/button-backlight/currents
This should shut off the button backlight. Using 1 and 2 instead of 0 should make the button backlight dim and full, respectively. These are the commands ultimately issued by the app.
Other Ideas
If this method of setting the button brightness doesn't work, would you happen to know the command to issue that does work? If you do, I could incorporate that command into my app, and have it choose the right command based on the current device.
Thanks in advance for your help!
Click to expand...
Click to collapse
Hi there, didnt try your app.
But here at endevour we do stuff differently
either with some kernel hacks - never tried them
apps like screenfilter or adjbrightness and its child.
or :
SENSE: editing framework-res
CM10(not sure this would work on sense):
echo 0 > /sys/class/leds/button-backlight/brightness
chmod 444 /sys/class/leds/button-backlight/brightness
chmod 444 because as soon as you go screenoff it changes to default value, same as reboot.
that path you posted I couldn't find it in my installation.
echo 0 > /sys/devices/platform/msm_ssbi.0/pm8921-core/pm8xxx-led/leds/button-backlight/currents
PAGOT said:
Hi there, didnt try your app.
But here at endevour we do stuff differently
either with some kernel hacks - never tried them
apps like screenfilter or adjbrightness and its child.
or :
SENSE: editing framework-res
CM10(not sure this would work on sense):
echo 0 > /sys/class/leds/button-backlight/brightness
chmod 444 /sys/class/leds/button-backlight/brightness
chmod 444 because as soon as you go screenoff it changes to default value, same as reboot.
that path you posted I couldn't find it in my installation.
echo 0 > /sys/devices/platform/msm_ssbi.0/pm8921-core/pm8xxx-led/leds/button-backlight/currents
Click to expand...
Click to collapse
Thanks PAGOT for the information. So if I understand you correctly, running these 2 commands will turn off the capacitive buttons backlight:
echo 0 > /sys/class/leds/button-backlight/brightness
chmod 444 /sys/class/leds/button-backlight/brightness
But you're saying these two command only work on CM, and not Sense-based ROMs?
denversc said:
Thanks PAGOT for the information. So if I understand you correctly, running these 2 commands will turn off the capacitive buttons backlight:
echo 0 > /sys/class/leds/button-backlight/brightness
chmod 444 /sys/class/leds/button-backlight/brightness
But you're saying these two command only work on CM, and not Sense-based ROMs?
Click to expand...
Click to collapse
I do not know if they work on Sense roms, I didn't try it there. On sense I edited framework-res which doesn't work for sure on CM.
Dont know the other way around . Someone with a sense rom and rooted would have to test it. Right now I am not near a device like that to test.
In an attempt to get this app working on the HTC One X+ (evitareul) I believe I also got it to work on the international One X (endeavoru). Since they both use the Tegra3 chipset the changes that made it work on the One X+ should make it also work on the International One X.
Could someone load the attached app and let me know if it sets the capacitive button brightness? If it does, then I will post an "official" version into the Play Store asap. Thanks!
denversc said:
In an attempt to get this app working on the HTC One X+ (evitareul) I believe I also got it to work on the international One X (endeavoru). Since they both use the Tegra3 chipset the changes that made it work on the One X+ should make it also work on the International One X.
Could someone load the attached app and let me know if it sets the capacitive button brightness? If it does, then I will post an "official" version into the Play Store asap. Thanks!
Click to expand...
Click to collapse
Confirmed working on international one x running cm10.
The half brightness doesn't work though. When enabled brightness goes down for a split second and then back to full brightness. Nice little app.
Sent from my HTC One X using xda app-developers app
hahhahhaaa said:
Confirmed working on international one x running cm10.
The half brightness doesn't work though. When enabled brightness goes down for a split second and then back to full brightness. Nice little app.
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
Awesome. Thanks for your response! It was the same thing on the One X+ where "dim" and "bright" were exactly the same. On the North American One X (Evita) the "dim" setting is actually slightly dimmer than "bright". I will get this app fixed up and published as soon as possible. I will also start a thread in the apps/themes aection once that is done.
A widget would be a nice addition.
Sent from my HTC One X using xda app-developers app
hahhahhaaa said:
A widget would be a nice addition.
Click to expand...
Click to collapse
Indeed it would. I actually started to look into it a few weeks ago so next time I have a few free hours (probably in the new year) I'll see if I can hammer out a widget for it.
hahhahhaaa said:
Confirmed working on international one x running cm10.
The half brightness doesn't work though. When enabled brightness goes down for a split second and then back to full brightness.
Click to expand...
Click to collapse
I've created one (hopefully) last test version of the app. This one only shows buttons for "bright" and "off"; the button for "dim" is not shown on the International One X since "bright" and "dim" have the same effective brightness.
Could someone do a quick test with the attached app? Just press the "bright" and "off" buttons each a few times and ensure that the capacitive button backlight turns on or off, as expected. Also, double-check that the correct device name ("HTC One X (endeavoru)") is displayed at the bottom of the "About" screen. Thanks!
Version 5 of the test app is attached.
An official version of the app that supports the International One X (endeavoru) has now been published. See http://forum.xda-developers.com/showthread.php?t=2033973
Works ok and the name is displayed correctly too.
Sent from my HTC One X using xda app-developers app

[APP][ROOT][BETA] ButtonLED

New thread with updated ButtonLED.
Everything below this point is outdated.
Hey guys,
I've been fiddling around Tasker for the last few weeks and finally decided to create a fully functional app using it.
At this point, some of you will be thinking "Another useless, ugly, cluttered Tasker created app that does something nobody needs".
Well, then, I'll try to prove you wrong
Note: You do not need Tasker to use the app.
App Description:
ButtonLED is similar to NoLED: it allows you to have LED like notifications without actually having the LED light. However, NoLED uses uses your screen; ButtonLED only uses the hardware buttons' backlight (your screen stays off). It's customizable to an extent, with more to come depending on feedback and suggestions.
Features:
Pause for some user defined time on proximity (e.g. if phone is turned down, or is in your pocket);
Turn button backlight for X seconds, then off for Y seconds;
Should work on all devices since the user can locate the brightness file;
Notification exceptions (e.g. to ignore all notification that contain "Hello", add *Hello* to the exception list)
Logs
Compatibility:
It should work on all rooted devices. It will work out of the box (once you open it) for Samsung Galaxy Ace i devices (Galaxy Ace users will probably need to locate the brightness file), which is why I'm choosing to offer it for testing here. I'll release it in the Android Apps and Games section if the reviews are favorable. If not, I'll take their content into consideration and improve it before release it there.
Running the app:
Install, open, enable in accessibility. Done. You may need to select a different brightness file.
You may also want to customize the options.
On the Galaxy Ace i, the brightness file is located at:
/sys/devices/platform/bcm21553-leds/leds/button-backlight/brightness
Click to expand...
Click to collapse
For Galaxy Ace devices:
mohdnurr said:
/sys/devices/platform/pmic-leds/leds/button-backlight/brightness
Click to expand...
Click to collapse
Look for something similar on your device.
Screenshots (v1.0; needs updating):
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Changelog:
V1.1 (24/10/12):
Missed call/Unread text notifications support. (can someone confirm ButtonLED v1.0 doesn't detect them? I'm almost certain it won't do anything for missed called/unread texts, but I'd rather be certain about it)
Optional permanent notification.
Option to use flashlight instead of the hard buttons' LED light.
Test button that will turn on and off the LED/flashlight.
Other minor modifications and fixes.
Downloads:
Don't forget to post your feedback! And when I say feedback, I don't mean the thanks button -instead, post a reply, write your opinion and include your comments.
Updating will reset the settings of the app.
V1.1:
View attachment ButtonLED.v1.1.apk
View attachment ButtonLED.v1.1.jb.test.apk (only try this one if you're using JB/JB based custom ROM (e.g. CM10))
V1.0:
View attachment ButtonLED.apk
Without words, you're amazing
Could you add an option for the camera LED or something ??
When i try to install it says app not installed
im on cm10/aokp/paranoidandroid rom (3 in 1) (PAC rom)
Sent from my GT-S5830 using xda premium
How do iknow it work?
Sent from my GT-S5830 using xda app-developers app
galaxy ace button backlight brightness file locations
/sys/devices/platform/pmic-leds/leds/button-backlight/brightness:laugh:
and it works.. but pause notification just keep on backlight or off which come first. its would be the best batery saving if its keep always off when pause
hit thanks if helped..
put quoute if needed
GermainZ said:
and finally decided to create a fully functional app
Click to expand...
Click to collapse
:good:
Fantastic app, it´s all I needed.
Really a minimalistic jewel.
Thanks.
RubenStauttener said:
Could you add an option for the camera LED or something ??
Click to expand...
Click to collapse
Added in v1.1, will release it later.
Would you like to use both (button + flashlight) or just one at the same time? In v1.1, you can only use one at a time, but I could change that.
AaronvAce said:
When i try to install it says app not installed
im on cm10/aokp/paranoidandroid rom (3 in 1) (PAC rom)
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
I'm not sure. It might be because it's not compatible with JB. Didn't think this would be an issue first, since our devices only support GB. Forgot about the regular Ace's custom ROMs.
I'll release a JB apk later, and hope it works.
ismon3 said:
How do iknow it work?
Sent from my GT-S5830 using xda app-developers app
Click to expand...
Click to collapse
Test button added to v1.1 so you can make sure it will work.
Other than that, just wait for a notification (e.g. WhatsApp) while your screen is off.
mohdnurr said:
/sys/devices/platform/pmic-leds/leds/button-backlight/brightness:laugh:
and it works.. but pause notification just keep on backlight or off which come first. its would be the best batery saving if its keep always off when pause
hit thanks if helped..
put quoute if needed
Click to expand...
Click to collapse
Should be fixed in v1.1. Actually, it shouldn't be happening in v1.0 since I've already included a quick check that resets the brightness to 0, but I altered a few things in v1.1 that should make it fail proof.
@Qeemi/Toscanitex Thank you guys
Changelog of the upcoming v1.1 version:
Missed call/Unread text notifications support. (can someone confirm ButtonLED v1.0 doesn't detect them? I'm almost certain it won't do anything for missed called/unread texts, but I'd rather be certain about it)
Optional permanent notification.
Use flashlight instead of the hard buttons' LED light.
Test button that will turn on and off the LED/flashlight.
Other minor modifications.
I'll upload it as soon as I can, probably in the next 24 hours.
Keep the comments coming!
Also, if you think it's read to be released in the general Android Apps and Games section, please say so.
I'll get much more reviews, bug reports and suggestions there which will allow faster development if time allows it, but I don't want to release something unfinished there.
Good luck!
Sent from my GT-S5830 using xda premium
V1.1 released
You may notice it now needs more permissions. This is for the missed call/unread text notification support, and for the flashlight.
AaronvAce said:
When i try to install it says app not installed
im on cm10/aokp/paranoidandroid rom (3 in 1) (PAC rom)
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Can you try the buttonled.v1.1.jb.test.apk, please?
I tried it and it gave me the same message.
Sent from my GT-S5830 using xda premium
Work in cyanogenmod 7.2 nightly..missed call and sms work...but sometimes have force close..no big deal...can I request hide button led in status bar?anyway thank you so much...
Sent from my GT-S5830 using xda app-developers app
AaronvAce said:
I tried it and it gave me the same message.
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
No idea why that's happening, sorry. It could be an issue with your ROM, you might want to check logcats if you want.
ismon3 said:
Work in cyanogenmod 7.2 nightly..missed call and sms work...but sometimes have force close..no big deal...can I request hide button led in status bar?anyway thank you so much...
Sent from my GT-S5830 using xda app-developers app
Click to expand...
Click to collapse
You can already do that: open ButtonLED, select "Permanent notification" and then press the "X" button.
GermainZ said:
No idea why that's happening, sorry. It could be an issue with your ROM, you might want to check logcats if you want.
I will try the app on a stock based rom and on cm9. I'll tell you what it does
EDIT: I installed it succesfully on cm9.
I Will try stocklite v7.1 (stock based 2.3.6) within 3 days.
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Ok, Houston, have a few situations here... with v1.1
The camera led it´s not working with buttonled, no way.
The log does not work.
After 5 hs. the battery power is on 20% , (only wifi is on)
So back to v1.0 and stay here for a moment.
(to be fair v1.0 it´s all I need, but...
Info about the phone:
GT-5830L Stock ROM, apps managed by link2sd.
AV: 2.3.4 / S5830LUBKPF
Kernel: 2.6.35.7-perf-cl567486 [email protected] #1
Rooted.
Toscanitex said:
Ok, Houston, have a few situations here... with v1.1
The camera led it´s not working with buttonled, no way.
The log does not work.
After 5 hs. the battery power is on 20% , (only wifi is on)
So back to v1.0 and stay here for a moment.
(to be fair v1.0 it´s all I need, but...
Info about the phone:
GT-5830L Stock ROM, apps managed by link2sd.
AV: 2.3.4 / S5830LUBKPF
Kernel: 2.6.35.7-perf-cl567486 [email protected] #1
Rooted.
Click to expand...
Click to collapse
About the camera LED, just to make sure:
Open ButtonLED;
Select "Use flashlight ...";
Press the "✓" button;
Select "Test ButtonLED". Your flashlight should turn on and off.
If it doesn't work, and if you have Tasker (or if you can install the trial version), can you try creating a simple task that will turn the "Torch" on then off? Just to make sure that Tasker feature is compatible with your phone (the documentation says it's not compatible with all phones).
Regarding the battery, I don't see why that would happen, unless you left your phone with ButtonLED active for those five hours (when I say active, I mean turning your LED on and off), especially that nothing, battery wise, has changed from v1.0 to v1.1.
Did you flash a new ROM lately? If so, try recalibrating your battery.
For the logs, what exactly do you mean when you say they don't work?
Are they inaccurate? In that case, I fixed it in v1.2. It was a slight issue causing skipped notifications to be displayed as "processed" in the logs (e.g. if your screen is on, ButtonLED will skip a notification; v1.1 will mark it as processed in the logs, tho).
If it's something else (e.g. logs not showing up, some other issue), please specify.
Thanks for the reports
Ok..thank you so much ..
Sent from my GT-S5830 using xda app-developers app
AaronvAce said:
I tried it and it gave me the same message.
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
I just remembered that pushing the app using adb should give you more information about why the installation failed, so please try that.
Hi, I found this app on Tasker groups (thanks to the author)
However on my device (galaxy s2 with cyanogen10) I have no /sys/devices/platform/*-leds/leds/ and on tasker Set Light says it's not available on my device...
It's a ROM problem I suppose, because keys backlight are present (as hardware) and supported by the ROM (they turn on and there is an option to use or not use them!). Should I ask to cyanogen developers?
again thanks
SuperKrog said:
Hi, I found this app on Tasker groups (thanks to the author)
However on my device (galaxy s2 with cyanogen10) I have no /sys/devices/platform/*-leds/leds/ and on tasker Set Light says it's not available on my device...
It's a ROM problem I suppose, because keys backlight are present (as hardware) and supported by the ROM (they turn on and there is an option to use or not use them!). Should I ask to cyanogen developers?
again thanks
Click to expand...
Click to collapse
Yeah, it's probably hidden somewhere else.
Did some googling and found that for the One X (running CM10), it's /sys/devices/platform/msm_ssbi.0/pm8921-core/pm8xxx-led/leds/button-backlight/currents
Other users say that /sys/class/leds/button-backlight/brightness works instead.
So you could also try looking for something similar.
Make sure to report back once you find it

[MOD Request] press the Volume button to Power ON the device from sleep.

press the Volume (down or up) button to Power ON the device from sleep, instead of pressing the power button on the top of the phone,
this way it will be easier to use the HTC One
Thanks
EDIT: i found the solution, just install TrickDroid it has many features including Volume wake,
here is the thread http://forum.xda-developers.com/showthread.php?t=2192324
This exists. You'll need to root and install Xposed Framework and the Volume Wake mod.
Sent from my HTC One using xda app-developers app
hate to be the guy who says this, but please use the search function.
snachez said:
This exists. You'll need to root and install Xposed Framework and the Volume Wake mod.
Sent from my HTC One using xda app-developers app
Click to expand...
Click to collapse
does it drain battery ? if not does it have bugs
Thanks
jason27131 said:
hate to be the guy who says this, but please use the search function.
Click to expand...
Click to collapse
i did and it turned old news for different phones (ie: HTC One X)
Muhammad.Muayad said:
does it drain battery ? if not does it have bugs
Thanks
Click to expand...
Click to collapse
No it doesnt drain battery and the only bugs are sometimes doesnt work from deep sleep. Depending on your software version, there are some nice kernels out there that offer many wake options. sweep to wake, double tap in the bottom inch of screen to wake, menu wake etc.
Most of the custom roms and kernels for this device include this feature.
You can also install it separately using the Xposed framework and Modaco toolkit for the One. Links to both are in this forum (One Themes and Apps).
Next time, please use the search button that you will find at the top of every page. Google and xda-wide searches for this sort of stuff are not recommended as they will take you to apps for other devices, as you found.
Its really easy just as snachez said, you need to be rooted and just download the xposed framework I think the newest is 2.14 or something install the apk then download the modaco toolkit which has the volume mod you want and other cool stuff and install the apk. then open the Xposed app and go to modules, choose the mods you want, reboot the phone and you are set.
Muhammad.Muayad said:
i did and it turned old news for different phones (ie: HTC One X)
Click to expand...
Click to collapse
When searching for anything related to the HTC One, add an M7 to the search as it is the internal HTC code for the One. This will get you better search results related to the HTC One.
I have Android Revolution HD 10.2 (which I updated from 10.1 without formatting) and the Volume Up to Wake function stopped working even though I made sure to enable it from the AROMA installer. Any ideas?
TarekElsakka said:
I have Android Revolution HD 10.2 (which I updated from 10.1 without formatting) and the Volume Up to Wake function stopped working even though I made sure to enable it from the AROMA installer. Any ideas?
Click to expand...
Click to collapse
Flash a non-stock ROM.
By flash a non-stock ROM I am assuming you mean a deodexed one? I may later on try to reinstall your mod but beforehand remove the SystemUI.odex (if there actually is one) because I am absolutely sure that's what causes the FC error, or at least that's the way it was on my Galaxy SIII.
No, I meant a ROM which isn't 99.999% stock (the one you are using).
For example TrickDroid 7.5.0 has a perfectly good volume wake solution which doesn't suffer from problems when the device is in deep sleep
Ah okay. I may give Trickdroid a shot sometimes as it seems to be very popular here. Plus ever since the 10.2 update of ARHD the volume to wake has not been working for me.
Sent from my HTC One using Tapatalk 4 Beta
Its immensely annoying when you're listening to music though. If you just want to change volume, it turn the screen on. ARHD doesn't have a toggle for it in the settings itself, but trickdroid does. I'm not bashing either one, i love them both
TarekElsakka said:
I have Android Revolution HD 10.2 (which I updated from 10.1 without formatting) and the Volume Up to Wake function stopped working even though I made sure to enable it from the AROMA installer. Any ideas?
Click to expand...
Click to collapse
i had the same problem but my advise is switch to TrickDroid and it will fix it, and TrickDroid has lots of more features that will WOW you.
here is the thread http://forum.xda-developers.com/showthread.php?t=2192324
Volume Rocker Wake
After searching xda I came across a way to wake pretty much any phone.
Using Xposed Additions module, remap and assign the volume keys to 'power' action with the screen state set to OFF.
This has been especially helpful for when I'm running stock on my LG G2 (CM 11 has this option baked in).
raptorj said:
After searching xda I came across a way to wake pretty much any phone.
Using Xposed Additions module, remap and assign the volume keys to 'power' action with the screen state set to OFF.
This has been especially helpful for when I'm running stock on my LG G2 (CM 11 has this option baked in).
Click to expand...
Click to collapse
Yes I'm using it, but it doesn't work once the phone goes in deep sleep, a common problem with volume rocker wake feature
Sent from my Black HTC One

[SCRIPT] Brightness buttons always on

Hi,
Just a little trick for those who want the "capacitive" buttons always on (maybe not very battery friendly but...) Remember someone asked this a few weeks ago somewhere...
Obviously you need root and init.d support... You can also edit directly the brightness file in /sys/class/leds/button-backlight/brightness but the modification will not survive after a reboot so you need to use an init.d script to load the modified value at each boot.
Put the init.d script below in /system/etc/init.d set the permissions to rwxrwxrwx, reboot, done
Here's the script: http://www.multiupload.nl/SMQWQQVBTJ
If you want to return back to stock: rename the init.d script with the .back extension or delete it.
If you want to set the "capacitive" buttons always off you need to edit the value, open the init.d script with notepad++ (on PC) or with a file explorer directly on your phone and set the value to "0" instead of "255", save, reboot, done.
Hoping that it will be useful,
Won't be using but thanks anyways, one question though, when do the HTC one buttons come on and off normally? They seem to have no specific interval
Sent from my HTC One using xda app-developers app
Hi,
No worries , it works with the ambiant light so with the sensor (light->off / night->on), even if the auto brightness is on or off the capacitive buttons vary in brightness so this part is independant...
After that I'm not a dev, the only solution I found is to modifie the value by the user in one file. Maybe it's set in the framework, or kernel? i don't realy know. The auto brightness values can be changed with a modified framework-res.apk, maybe it's the same thing for the capacitive buttons . In any case I have not the knowledge and skills for this part about the "automatic" dimming...
Capacitive button in Play works well and less cumbersome. Am using it with Pie. Automatic dimming would be cool though Thanks for looking into this.
Sent from my HTC One using Tapatalk 2
Stea1thmode said:
Capacitive button in Play works well and less cumbersome. Am using it with Pie. Automatic dimming would be cool though Thanks for looking into this.
Sent from my HTC One using Tapatalk 2
Click to expand...
Click to collapse
Hi,
Sorry but I don't know what you mean... or you mean a kind of greater "light graduation", not on or off like stock, at least it looks like this for me (for example some values like 0 / 100 / 200 / 255), depending of the ambient light?
Like I said, for this I have not the knowledge, maybe a dev can take a look . In any case I don't think you will see a big difference between 100 and 255 for example...
And in the path /sys/class/leds/button-backlight/ there is nothing related to the graduation, it's in the framework stuff I think...
Stea1thmode said:
Capacitive button in Play works well and less cumbersome. Am using it with Pie. Automatic dimming would be cool though Thanks for looking into this.
Click to expand...
Click to collapse
This app now officially supports the HTC One in the latest beta version. I'm the developer of the app and I'd love to hear feedback from HTC One owners to know if it really works (since I don't have a device of my own to test on). See this thread: http://forum.xda-developers.com/showthread.php?t=2402153. Thanks!
denversc said:
This app now officially supports the HTC One in the latest beta version. I'm the developer of the app and I'd love to hear feedback from HTC One owners to know if it really works (since I don't have a device of my own to test on). See this thread: http://forum.xda-developers.com/showthread.php?t=2402153. Thanks!
Click to expand...
Click to collapse
Thanks I've just tested it. It has 3 settings right? Seems to be working well. It would be cool though to have an auto brightness feature.
Sent from my HTC One using Tapatalk 4 Beta
Stea1thmode said:
Thanks I've just tested it. It has 3 settings right? Seems to be working well. It would be cool though to have an auto brightness feature.
Sent from my HTC One using Tapatalk 4 Beta
Click to expand...
Click to collapse
That would be pretty cool.
Sent from my HTC One
Stea1thmode said:
Thanks I've just tested it. It has 3 settings right? Seems to be working well. It would be cool though to have an auto brightness feature.
Click to expand...
Click to collapse
Yep, it has 3 settings. Thanks for the idea about auto-brightness. You are definitely not the first person to pose that idea!

[APP][Nov-13-2013] Capacitive Buttons v1.0.13

NOTE: Please use the DevDB thread for all devices instead of this device-specific thread: http://forum.xda-developers.com/showthread.php?t=2496347
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This small application allows you to change the brightness of the capacitive buttons (back, home, and recent tasks) on many HTC devices and a few non-HTC devices, including the HTC One X (both dual-core and quad-core models), the HTC One X+, and the HTC One. Users have also reported success on other devices, including HTC One V, HTC One S, HTC Desire HD, and Evo 3g. Root is required in order for this application to work. This application works on any ROM, including CleanROM, ViperXL, Cyanogenmod, AOKP, and MIUI.
App review by Portal Administrator / Editor-in-Chief for XDA-Developers Will Verduzco: http://www.xda-developers.com/android/easily-dim-the-capacitive-buttons-on-many-htc-devices
Features
Intuitive UI to set the brightness of the capacitive buttons to bright, dim, or off
Home screen widget to cycle between brightness levels
Latest Versions
Latest Pro Version: 1.0.13
Latest Free Version: 1.0.13
Download
Google Play (Pro version): https://play.google.com/store/apps/details?id=org.sleepydragon.capbutnbrightness.pro
Google Play (Free version): https://play.google.com/store/apps/details?id=org.sleepydragon.capbutnbrightness
APK (v1.0.13): http://dl.bintray.com/sleepydragon/CapacitiveButtons/CapButnBrightness-1.0.13.apk
YouTube Video: https://www.youtube.com/watch?v=r9Zj-z02CR8
Differences in the Pro Version
The Pro version receives new features and bug fixes 2-4 weeks earlier than the free version. That's it! Oh, and also the free version has a link at the bottom of the main UI to upgrade to pro. The main motivation to pay for the pro version is to get official app updates easily and automatically via the Google Play Store. If you're happy with waiting for updates or using beta versions then you can live a full and happy life with the free version.
Officially Supported Devices
HTC One X (evita and endeavoru)
HTC One (m7)
HTC One X+ (evitareul)
HTC One S
HTC Sensation
Unofficially Supported Devices
HTC One V
HTC Desire HD
HTC Evo 3D
HTC Droid MAXX
HTC Droid DNA
HTC Butterfly S
LG Optimus G
Officially Unsupported Devices (devices that are known not to work)
Samsung Galaxy S2
Samsung Galaxy S3
Frequently Asked Questions
Which brightness setting is "stock"? It depends. On Sense based ROMs (eg. CleanROM, ViperXL) "Bright" seems to be the default. On AOSP-based ROMs (eg. CM10, AOKP) "Dim" seems to be the default. It all depends on how/if the ROM maintainer tweaked the default setting. The "default default" (ie. if you RUU to stock) setting is "bright". In v1.0.4, a "Default" button was added to allow reverting to stock brightness.
How do I get back to the default setting? The most reliable way is to click the "Default" button on the main screen of the application then simply reboot. Or, you can just set the brightness setting that is the default.
What happens if I uninstall the app? Nothing. Well, it doesn't change the brightness setting if that's what you're wondering. After a reboot, though, the brightness setting will revert back to the ROM's default setting.
Known Issues
"Dim" does not work on all ROMs and kernels
"Off" does not stick when "GV Integation" app installed
Source
This application is released under the GPL3 open-source license. Source code is published at https://code.google.com/p/hox-cap-butn-brightness
Reporting Bugs
Use the "Bug Reports" feature of this DevDB project or add a post to this thread. Please include the contents of the application's "Debug Information" page (available from the "Settings" screen) when reporting bugs, as it contains invaluable information for developers to use when investigating issues. There is a "Copy" button in the top-right corner of the screen for easy cut & paste.
Credits
Turge - for providing a MOD to perform the same task (http://forum.xda-developers.com/showthread.php?t=1694375)
gridlock489 - for providing higher-resolution images for the buttons in the main UI
slimdizzy - for testing on the HTC One X+ and letting me borrow his device to try things out
TToivanen - for testing on the International HTC One X (endeavoru)
lesscro - for providing the title banner that you see at the top of this post
skdubg - for testing on the HTC One X+, especially the new "dim" support
Change Log (brief - see full change log in the next post)
1.0.13 (Nov 14, 2013) Fixed buttons turning off issue, skip dim in widget if not supported, HTC Sensation support added
1.0.12 (Oct 24, 2013) Fixed "default" button error: "Changing permissions of file failed"
1.0.11 (Oct 23, 2013) Fixed long-standing issues with UI lags and superuser permissions usage, animation added to home screen widget
1.0.10 (Sept 10, 2013) Home screen widget added, HTC One brightness levels fixed
1.0.9 (Sept 03, 2013) HTC One support added, support for devices without the "currents" file added
1.0.8 (Jan 02, 2013) dim support for all devices, new home screen icon, debug information and credits screen added, fixed about screen scrolling
1.0.7 (Dec 10, 2012) fixes bug where brightness setting does not persist when turning screen off then back on; only affects endeavoru and evitareul
1.0.6 (Dec 06, 2012) added support for HTC One X+ and International HTC One X (endeavoru); added detected device name at bottom of "About" screen
1.0.5 (Nov 25, 2012) fixed pixelated button images in main UI (thanks to gridlock489 for providing higher-resolution images)
1.0.4 (Nov 03, 2012) visual indication when buttons pressed, better error message if not rooted, "Default" button added, some words translated
1.0.3 (Oct 11, 2012) Brightness setting now sticks across reboots
1.0.2 (Oct 03, 2012) Change theme to Holo (dark), replace button text off/dim/bright with pretty icons
1.0.1 (Oct 02, 2012) Added to Google Play, new application icon, added "About" screen
1.0.0 (Sept 29, 2012) Initial release
Old APKs:
https://bintray.com/sleepydragon/CapacitiveButtons/APKs
http://dl.bintray.com/sleepydragon/CapacitiveButtons (direct links)
Feel free to bake the free version of this app into custom ROMs or publish it in other places. No need to ask permission from me. However, I am quite interested personally in different places that this app is used. So if you do include it in a ROM or whatever feel free to post a note to this thread to let me know! The app is licensed under the GPL, which means you can even take it apart and include it in your own stuff... I just ask that you honor the spirit of the GPL (unlike HTC's 120-day policy... grrr!)
Threads for this app for other devices (obsolete - please use this thread instead):
HTC One X (North American "evita" variant) (original version)
HTC One X (International "endeavoru" variant)
HTC One X+
HTC One
HTC One S
HTC Sensation
HTC Sensation XL
This app has existed for over one year now and has worked well on many other HTC devices. I've worked with some HTC One owners to add support to your device too. If this version proves to work well, then it will be integrated into the next version of the app, v1.0.9, and placed on the Google Play store.
This version v1.0.9-Beta01 is primarily a bug fix release compared to v1.0.8, but also adds support for the HTC One. Please test the attached CapButnBrightness-1.0.9-Beta1.apk and reply with your experiences, good or bad. The "major" changes are support for HTC One devices and a fix for devices that lack the "currents" file. The full list of changes is included below.
Changes in v1.0.9-Beta1 (since v1.0.8)
HTC One (m7) support added
Fix for devices that are missing the "currents" file (https://code.google.com/p/hox-cap-butn-brightness/issues/detail?id=25)
app name changed to "Capacitive Buttons" (was "Capacitive Buttons Brightness")
fix spelling of "xda-developers" in res/xml/credits.xml (was "xda-develeopers")
show process UID in "Debug Information" screen
Please reply to this post with your feedback. If reporting issues, please go to the new "Debug Information" screen, press the "copy" button, and paste its contents. This will immensely help with investigation of issues. You can also attach a screenshot of this screen if that is easier.
If anyone is willing, I've created a set of "regression tests" that can be executed manually in about 20 minutes to ensure that the entire application works correctly. Any of these test case failures is a legitimate issue. If you would like to run these tests, please see them at https://code.google.com/p/hox-cap-butn-brightness/wiki/ReleaseTests
Reminder: This "beta version" of the app is signed with a developer key so it will fail to install if you have an official version of the app installed. So you must first uninstall any official versions of the app before installing this test version.
Welcome here mate, don't know if you remember, we had problems with One X dimming the capacitive buttons, hope it's not the same with the One, I'll be trying the app and report back
Regards,
Hi I left feedback on the other tread . Thanks for this. Does exactly what it says on the tin.
Using viper Rom. Stock kernel.
Sent from my HTC One using Tapatalk 4 Beta
Tabtoub said:
Welcome here mate, don't know if you remember, we had problems with One X dimming the capacitive buttons, hope it's not the same with the One, I'll be trying the app and report back
Regards,
Click to expand...
Click to collapse
I hope the dimming issues aren't present here on the HTC One. But we'll see! Thanks for your feedback.
Works great on my One. It makes it easier to see the buttons in the daylight now. Thanks
Dimming buttons is working as it should, thank you
But the full bright button which should make the button full bright (original state) is actually dimming the buttons a little bit, it's perfect for me like this, because the dim option dims the buttons way too much.
it's definately a bug so I'm reporting it great work!
Sent from my Black HTC One
Tabtoub said:
Dimming buttons is working as it should, thank you
But the full bright button which should make the button full bright (original state) is actually dimming the buttons a little bit, it's perfect for me like this, because the dim option dims the buttons way too much.
it's definately a bug so I'm reporting it great work!
Click to expand...
Click to collapse
This is something that I can fix. Could you do the following to get the required information for me:
Open the menu in the app and select "Settings"
Un-checkmark "Set On Boot"
Reboot your device
Launch the app
Select "Settings" from the menu
Click "Debug Information"
Click the "Copy" icon in the top-right corner of the screen
Page the copied text into a reply to this post
This will tell me what the default "brightness" is for the HTC One. I had just copied the values used on the HTC One X, which may be different from the HTC One.
Here u go and sorry for the delay
Application Version: 1.0.9-Beta01
Detected Device: HTC One (m7)
Supports Setting Capacitive Buttons Backlight Brightness: Yes
Setting Capacitive Buttons Backlight Brightness Possible: Yes
/sys/class/leds/button-backlight/currents
File Exists: Yes
File Permissions: Read-Only
File Contents: 20
/sys/class/leds/button-backlight/brightness
File Exists: Yes
File Permissions: Read-Only
File Contents: 255
/sys/class/leds/button-backlight/lut_coefficient
File Exists: Yes
File Permissions: Read-Only
File Contents: 100
Build.BOOTLOADER: 1.54.0000
Build.DEVICE: m7
Build.DISPLAY: JWR66V.H10
Build.MANUFACTURER: HTC
Build.MODEL: HTC One
Build.PRODUCT: m7_google
Build.VERSION.RELEASE: 4.3
Process UID: 10064
Sent from my Black HTC One
---------- Post added at 02:26 AM ---------- Previous post was at 02:06 AM ----------
Here the information from my other One (the Silver), the buttons are not as bright as the buttons of the black one, as if they are already dimmed, actually they are Purplish in the Silver model and White in the black
Application Version: 1.0.9-Beta01
Detected Device: HTC One (m7)
Supports Setting Capacitive Buttons Backlight Brightness: Yes
Setting Capacitive Buttons Backlight Brightness Possible: Yes
/sys/class/leds/button-backlight/currents
File Exists: Yes
File Permissions: Read-Only
File Contents: 20
/sys/class/leds/button-backlight/brightness
File Exists: Yes
File Permissions: Read-Only
File Contents: 255
/sys/class/leds/button-backlight/lut_coefficient
File Exists: Yes
File Permissions: Read-Only
File Contents: 100
Build.BOOTLOADER: 1.54.0000
Build.DEVICE: m7
Build.DISPLAY: JDQ39
Build.MANUFACTURER: HTC
Build.MODEL: HTC One
Build.PRODUCT: m7
Build.VERSION.RELEASE: 4.2.2
Process UID: 10170
Sent from my Silver HTC One
Tabtoub said:
Here u go and sorry for the delay
Click to expand...
Click to collapse
Great thanks. That shows that the default currents value is 20, and the app is using 3. I'll try to get another beta out in the next day or two with this change.
denversc said:
Great thanks. That shows that the default currents value is 20, and the app is using 3. I'll try to get another beta out in the next day or two with this change.
Click to expand...
Click to collapse
Okay, thank you
Forgot to mention that the Silver One is running android 4.2.2 with Sense 5 and the Black One is running AOSP android 4.3 Google Edittion
I'm happy to see the app moved to the One!
Sent from my HTC One
Is there any chance to change the color ?
Sent from my HTC One
Any chance of a 1x1 widget to cycle through:
Auto > off > med > bright > (cycle)
----------------------o('_')o----------------------
Sent from an HTC One with using xda app:
TrickDroid ROM 9.0.0
Bulletproof 4.3
Thanks for this. I needed it to test my backlight buttons today.
Worked perfect!
Can this be used to keep the capacitive buttons on while the screen is on?
Sent from my unknown using XDA Premium 4 mobile app
Ty very much for the contribution will download
works great on my htc one. will test it definitely tonight, while phone is in dock and gentle alarm open.
I posted this in the other thread, but figured I would post it here since the HTC One is the phone I am referring to:
Is there any way to get this to work with tasker? I use NoLED for notifications while the phone is charging. Unfortunately, the hard keys light up at night when a notification arrives. I would like to set up a tasked profile to disable to backlight let's when the phone is charging and then enable them when the phone is no longer charging.
A new version of this app is available: v1.0.9. The "major" changes are support for HTC One devices and a fix for devices that lack the "currents" file. There are also some minor cosmetic changes and a renaming of the app to "Capacitive Buttons" (was "Capacitive Buttons Brightness") just to be a little shorter. The full list of changes is included below.
The new version of the app will be available from the Google Play store in the next 24-48 hours. For the impatient, the APK can be downloaded from http://dl.bintray.com/sleepydragon/CapacitiveButtons/CapButnBrightness-1.0.9.apk and installed manually.
*HTC One owners*: please see the newly-created thread for this app in the HTC One forum: http://forum.xda-developers.com/showthread.php?t=2402153
Changes in v1.0.9 (since v1.0.8)
HTC One (m7) support added
Fix for devices that are missing the "currents" file (https://code.google.com/p/hox-cap-butn-brightness/issues/detail?id=25)
app name changed to "Capacitive Buttons" (was "Capacitive Buttons Brightness")
fix spelling of "xda-developers" in res/xml/credits.xml (was "xda-develeopers")
show process UID in "Debug Information" screen
Please reply to this post with your feedback. If reporting issues, please go to the new "Debug Information" screen, press the "copy" button, and paste its contents. This will immensely help with investigation of issues. You can also attach a screenshot of this screen if that is easier.
Reminder: If you have a beta (or any non-release) version of this app installed then you will need to first uninstall it before installing this official version. Failing to do so will result in attempts to install the release version failing due to the non-release versions being signed with a developer key and the release versions signed with a release key.

Categories

Resources