yashsingh1/xdaforums huggingface dataset:
[One (M7) Themes and Apps] Tabtoub:
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
[One (M7) Themes and Apps] denversc:
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.
[One (M7) Themes and Apps] Tabtoub:
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
[One (M7) Themes and Apps] gridlock489:
I'm happy to see the app moved to the One! :)

Sent from my HTC One
[One (M7) Themes and Apps] handassa:
Is there any chance to change the color ?

Sent from my HTC One
[One (M7) Themes and Apps] Tetsumi06:
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
[One (M7) Themes and Apps] Scott:
Thanks for this. I needed it to test my backlight buttons today.

Worked perfect!
[One (M7) Themes and Apps] born_fisherman:
Can this be used to keep the capacitive buttons on while the screen is on?
[One (M7) Themes and Apps] ghostENVY:
Ty very much for the contribution will download :D
[One (M7) Themes and Apps] rohorubo:
works great on my htc one. will test it definitely tonight, while phone is in dock and gentle alarm open.
[One (M7) Themes and Apps] Frankie1588:
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.
[One (M7) Themes and Apps] denversc:
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://xdaforums.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.
[One (M7) Themes and Apps] kevkev2721:
Widget or cycle

Will a widget or cycle come to this in the future?
[One (M7) Themes and Apps] Tetsumi06:
+1 please

----------------------o('_')o----------------------

Sent from an HTC One with using xda app:

TrickDroid ROM 9.1.0

Bulletproof 4.3
[One (M7) Themes and Apps] denversc:
Effective immediately, I am making available a "Pro" version of the Capacitive Buttons application. The free and pro versions will be exactly the same, with the only difference being that the pro version will receive bug fixes and new features before the free version.

https://play.google.com/store/apps/details?id=org.sleepydragon.capbutnbrightness.pro

I'm making this change for several reasons:

Make a little bit of extra money (I'm saving up to buy a new bass guitar)

Provide motivation to continue developing and improving the app

Give people a monetary way to say "thanks man for making this awesome app!"

There will be a promotional price of USD $0.99 for 2 weeks, with the price rising to USD $2.00 on Sunday September 22. Hopefully this will quell any anger that people may feel about the new pricing model.

If you are unable or unwilling to pay for the Pro version, there are still ways that you can get access to the latest features for free, all of which I fully support and encourage:

Continue using the free version; it will be updated with the exact same features and bug fixes as the pro version 2-4 weeks later

Use beta versions posted in xda-developers.com forum threads, versions which contain the new features and often are identical to the official app released on the Google Play Store

So the main motivation for someone 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.

Speaking of new features...
[One (M7) Themes and Apps] denversc:
A new beta version of this app is available: v1.0.10-Beta01. The new feature is a home screen widget. Please test the attached CapButnBrightness-1.0.10-Beta1.apk and reply with your experiences, good or bad.

EDIT: A newer beta version is available: http://xdaforums.com/showthread.php?p=45420162#post45420162

Changes in v1.0.10-Beta1 (since v1.0.9)

Home screen widget

Please reply to this post with your feedback. If reporting issues, please go to the "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: 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.
[One (M7) Themes and Apps] denversc:
See the latest beta...
[One (M7) Themes and Apps] nur.salikeen:
Removed play store version and install 1.0.10, I can't find the widget
[One (M7) Themes and Apps] denversc:
Hmm. I remember noticing that too when I was developing the app. For some reason the launcher (in my case, Apex Launcher) is not refreshing its list of widgets. I remember for me when I completely uninstalled the app then re-installed the beta it started showing up. A reboot might help too? Can you let me know if you find something that works?
[One (M7) Themes and Apps] Tetsumi06:
Reboot didn't help I'm afraid. Gotta note down my sense setup before I risk wiping data there to see if that helps.

----------------------o('_')o----------------------

Sent from an HTC One with using xda app:

TrickDroid ROM 9.1.0

Bulletproof 4.3

---------- Post added at 08:03 PM ---------- Previous post was at 07:54 PM ----------

Well f&#ksticks. Clearing Sense (Desktop) didn't help... Back in a bit, off to fix my desktops.

----------------------o('_')o----------------------

Sent from an HTC One with using xda app:

TrickDroid ROM 9.1.0

Bulletproof 4.3

---------- Post added at 08:11 PM ---------- Previous post was at 08:03 PM ----------

Back. Remembered that I ought to add that I'm using the TD stock Sense 5 launcher. Now out of ideas I'm afraid.

----------------------o('_')o----------------------

Sent from an HTC One with using xda app:

TrickDroid ROM 9.1.0

Bulletproof 4.3
[One (M7) Themes and Apps] denversc:
I've been reading around on the web about this kind of issue. Can you try launching the app from the home screen like normal? I've read that this can force the launcher to refresh its widget list, especially if you installed the APK using "adb install", which doesn't always trigger the launcher to update its widget list. Also, confirm that you're using v1.0.10-Beta1 in the "About" screen of the application... perhaps you accidentally installed an older version of the app without widget support. Let me know how this goes for you.
[One (M7) Themes and Apps] Tetsumi06:
Did that, granted it su (twice), rebooted, uninstalled, relaunched, granted su again, rebooted, still no widget I'm afraid

----------------------o('_')o----------------------

Sent from an HTC One with using xda app:

TrickDroid ROM 9.1.0

Bulletproof 4.3
[One (M7) Themes and Apps] Tabtoub:
a suggestion for upcoming versions, let the user choose the level of brightness from 0% to 100% and not only 3 levels
[One (M7) Themes and Apps] denversc:
Very strange. I'll keep investigating and see what I can come up with. Is anyone else able or not able to add the widget to the home screen with version 1.0.10-Beta1?
[One (M7) Themes and Apps] denversc:
Thanks for the idea. That's one of the one I have jotted down for a future version.
[One (M7) Themes and Apps] denversc:
A new beta version of this app is available: v1.0.10-Beta02. The APK file is attached.

EDIT: A newer beta version is available: http://xdaforums.com/showthread.php?p=45438180#post45438180

Changes in v1.0.10-Beta2 (since v1.0.10-Beta1)

Fix turning buttons backlight back on when the screen turns on if the backlight is exclusively set via the widget

Potential fix for the widget not showing up in the launcher's list of widgets (ie. setting android:installLocation="internalOnly")

Please reply to this post with your feedback. If reporting issues, please go to the "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: 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.[/QUOTE]
[One (M7) Themes and Apps] denversc:
Can you try Beta2 (just posted). I made a change which might fix this issue for you.

The only change was to add

android:installLocation="internalOnly"

to AndroidManifest.xml, which, according to some sources (such as https://developer.android.com/guide/topics/data/install-location.html), indicate that this is required in order for widgets to work. This will, however, prevent installation of this app on an external SDCard though.
[One (M7) Themes and Apps] Stea1thmode:
Beta2 works as intended and so did beta1. Thank you
[One (M7) Themes and Apps] Tabtoub:
Still the same problem with latest version..
[One (M7) Themes and Apps] denversc:
Thanks for reminding me about this issue you reported a while ago about the "bright" setting not being full brightness on the HTC One, and the "dim" brightness being too dim.

Can you try out the attached test version of the app CapButnBrightness-1.0.10-HtcOneDimFix1.apk? Based on the "Debug Information" you provided I've plugged some different values for writing to the "currents" file (ie. 10 and 20 instead of 1 and 3 for dim and bright, respectively).
[One (M7) Themes and Apps] Tetsumi06:
Afraid neither beta2 or the htcone fix seem to add a widget :(

----------------------o('_')o----------------------

Sent from an HTC One with using xda app:

TrickDroid ROM 9.1.0

Bulletproof 4.3
[One (M7) Themes and Apps] nur.salikeen:
Clear data, uninstall, recovery, clear cache and delvik, install 1.0.10-Beta1.

Still don't have widget. I'm using sense launcher. ARHD Rom.
[One (M7) Themes and Apps] Football_9X:
I'm happy to see the app moved to the One! :D

Sent from my HTC One
[One (M7) Themes and Apps] denversc:
A new beta version of this app is available: v1.0.10-Beta3. This should fix the issue where the widget was not displaying in the widget picker in Sense 5 ROMs. Please test the attached CapButnBrightness-1.0.10-Beta3.apk and reply with your experiences, good or bad.

NOTE: If using a third-party launcher, like Apex Launcher, and the widget is not showing up in the widget picker, try doing the following:

Open the device settings screen

Select "Apps"

Click on your launcher in the app list (eg. "Apex Launcher", "Nova Launcher")

Click "Force Stop"

Scroll down and click the "Clear Cache" button; you may need to wait for up to 10 seconds for it to become un-grayed

Press the HOME key to go back to the home screen

The widget should now appear in the widget picker

Changes in v1.0.10-Beta3 (since v1.0.10-Beta2)

Fix issue where widget does not show up in widget picker in Sense 5 (by setting minWidth=40dp and minHeight=40dp)

Changes in v1.0.10-Beta2 (since v1.0.10-Beta1)

Fix turning buttons backlight back on when the screen turns on if the backlight is exclusively set via the widget

Potential fix for the widget not showing up in the launcher's list of widgets (ie. setting android:installLocation="internalOnly")

Changes in v1.0.10-Beta1 (since v1.0.9)

Home screen widget added

Please reply to this post with your feedback. If reporting issues, please go to the "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: 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.
[One (M7) Themes and Apps] denversc:
I believe this issue is fixed in v1.0.10-Beta3: http://xdaforums.com/showthread.php?p=45438180#post45438180

I was able to reproduce this on my friend's HTC One XL with Sense 5, and the fix was simply to specify the minimum width and height of the widget. Please let me know if you still see this issue in v1.0.10-Beta3.
[One (M7) Themes and Apps] denversc:
Thank you for this report. Could you try v1.0.10-Beta3, which I believe fixes this issue: http://xdaforums.com/showthread.php?p=45438180#post45438180
[One (M7) Themes and Apps] Tetsumi06:
You've hit the nail on the head. Now got the widget on my Sense 5 homescreen and working beautifully.

Nice one

----------------------o('_')o----------------------

Sent from an HTC One with using xda app:

TrickDroid ROM 9.1.0

Bulletproof 4.3
[One (M7) Themes and Apps] nur.salikeen:
Ok it's working now on beta3
[One (M7) Themes and Apps] Tabtoub:
full birght is fixed, but now there is no difference between full birght and dim buttons, the button which turns off is working fine
[One (M7) Themes and Apps] denversc:
Can you try this attached APK: CapButnBrightness-1.0.10-HtcOneDimFix2.apk

It uses 3 instead of 10 for the "dim" brightness, the value that was previously used for "bright" which you said was actually pleasantly dim.
[One (M7) Themes and Apps] Tabtoub:
it's perfect now :D Thank you :good:
[One (M7) Themes and Apps] makbil:
Tested this on ARHD 20.1 (4.3) and seems to be working good so far. The buttons too dim issue has been solved too. Will report again after some use.

Well done.:good:
[One (M7) Themes and Apps] denversc:
A new version of this app is available: v1.0.10. This version adds a home screen widget and uses better brightness levels for the HTC One. This version has been published to the Google Play Store in the "Pro" version; the free version will be updated to on Sept 24, 2013. Note that the $0.99 sale on the Pro version is in effect until Sept 22, 2013.

Changes in v1.0.10 (since v1.0.9)

Home screen widget added

Brightness levels improved on HTC One

Pro Version in Google Play Store: https://play.google.com/store/apps/details?id=org.sleepydragon.capbutnbrightness.pro

Reminder: This "release version" of the app is signed with the official key so it will fail to install if you have a beta version of the app installed. So you must first uninstall any beta versions of the app before installing this release version from the Play Store.
[One (M7) Themes and Apps] denversc:
The "free" version of the app has now been upgraded to v1.0.10, and includes all features in the Pro version 1.0.10. 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.10.apk and installed manually.

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.
[One (M7) Themes and Apps] denversc:
A new beta version of this app is available: v1.0.11-Beta01. The main new feature is an improved mechanism for requesting root permissions, which leads to a "snappier" application experience. Please test the attached CapButnBrightness-1.0.11-Beta1.apk and reply with your experiences, good or bad.

EDIT: A newer beta version is available: http://xdaforums.com/showthread.php?p=46093827#post46093827

Changes in v1.0.11-Beta1 (since v1.0.10)

Completely re-wrote the mechanism that requests root; see below for details and benefits

HTC One S official support added

ACCESS_SUPERUSER added to AndroidManifest.xml (to note superuser requirements in Google Play Store)

Improved Root Mechanism

Old Behaviour: Root is requested every time that the brightness changes.

New Behaviour: Root is requested the first time that the brightness changes, and after each reboot; all other brightness changes do not request root.

The net result of this change is that changing the brightness is "snappier", and happens more quickly.

This should also fix Issue 27 "If superuser has a PIN, root requests are too frequent and time out" (https://code.google.com/p/hox-cap-butn-brightness/issues/detail?id=27)

Please reply to this post with your feedback. If reporting issues, please go to the "Debug Information" screen, press the "copy" button, and paste its contents. This will immensely help with investigation of issues.

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.
[One (M7) Themes and Apps] makbil:
I had the following issue on the latest pro version on Playstore. The buttons would light up nicely but doing almost anything that changed the screen would make the lights go off until activated again. It did request and receive root permission on boot and at other times. I will give this version a try and post results.

I am on ARHD 22 (4.3) with stock kernel.

Will this be automatically updated when there is an update to the pro version on Playstore or do I have to install it manually as well?
[One (M7) Themes and Apps] Tetsumi06:
Running anything that also changes the buttons? Lux perhaps?

----------------------o('_')o----------------------

Sent from an HTC One with using xda app:

TrickDroid ROM 11.0

Bulletproof 6.2
[One (M7) Themes and Apps] makbil:
Nope, nothing that would effect the capacitive buttons.
[One (M7) Themes and Apps] denversc:
I've noticed in several ROMs that the buttons turn on with the screen but automatically turn off shortly thereafter, like after 5 seconds. This is something that my app cannot control, since it's the kernel making these decisions. I know it might be tricky, but if you could capture a video to demonstrate the behaviour that you're seeing I'd be happy to investigate further. Also, it could help if you post the contents of the "Debug Information" screen of the app.

To answer your 2nd question, the Pro version in the Play Store it always updated with new features before the free version. The features and fixes included in the "beta" versions released in this thread are first integrated into the Pro version, then the free version a few weeks later. I hope this answers your question.
[One (M7) Themes and Apps] denversc:
A new beta version of this app is available: v1.0.11-Beta02. The main new feature is a further improved mechanism for requesting root permissions, which leads to a "snappier" application experience. Please test the attached CapButnBrightness-1.0.11-Beta2.apk and reply with your experiences, good or bad.

EDIT: A newer beta version is available: http://xdaforums.com/showthread.php?p=46316855#post46316855

Changes in v1.0.11-Beta2 (since v1.0.11-Beta1)

Request root on a background thread instead of the main thread to avoid UI hangs

Explicity turn on buttons backlight when screen turns on (affects HTC One XL evita only)

Changes in v1.0.11-Beta1 (since v1.0.10)

Completely re-wrote the mechanism that requests root; see below for details and benefits

HTC One S official support added

ACCESS_SUPERUSER added to AndroidManifest.xml (to note superuser requirements in Google Play Store)

Please reply to this post with your feedback. If reporting issues, please go to the "Debug Information" screen, press the "copy" button, and paste its contents. This will immensely help with investigation of issues.

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.
[One (M7) Themes and Apps] makbil:
Sorry for the late reply. I'm on ARHD 13.4 ROM now (4.2.2) with stock kernel. I am reverting back to the pro version on the playstore and will send the log files from that one.