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

denversc

Senior Member
Jul 1, 2012
428
320
0
Kitchener
... There it is.
Thanks for the info. Could you try the attached APK to see if it works more correctly on your HTC Sensation: CapButnBrightness-eymas-01.apk

Note that you must first uninstall the version of the app that you got from the play store before installing this APK. Otherwise this test version will fail to install because it is signed with a developer key which will conflict with the version from the play store that is signed with the production key.

Please let me know how this version of the app works correctly on your HTC Sensation.

Thanks!
 

Attachments

Farkonian

Senior Member
Mar 12, 2010
167
22
0
With the info you provided I have a guess at what a fix might be. Could you test the attached APK: CapButnBrightness-Farkonian-01.apk

Note that you must first uninstall the version of the app that you got from the play store before installing this APK. Otherwise the two will interfere with each other. Please let me know how this version of the app works for you.

Thanks!
So far this version seems to be working. I will update you again tomorrow. Thank you! You rock!
 

szzlgupta

Senior Member
Mar 15, 2013
1,467
269
0
New Delhi
Dim is not supported by my kernel > cyanogenmod 10.1 on Samsung Galaxy S Advance. Off and On works perfectly. Its very irritating that those lights turn up whenever I touch my screen! Thank You for this app :)
 
  • Like
Reactions: denversc

eymas

Senior Member
Jan 14, 2012
186
21
0
Seems the same thing is happening apparently, Quite a bummer.

Code:
Application Version: eymas-01

Detected Device: HTC One X+ (evitareul)
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: 3

/sys/class/leds/button-backlight/brightness
File Exists: Yes
File Permissions: Read-Only
File Contents: 1

/sys/class/leds/button-backlight/lut_coefficient
File Exists: No

Build.BOOTLOADER: 1.27.0000
Build.DEVICE: pyramid
Build.DISPLAY: cm_pyramid-userdebug 4.3.1 JLS36I 3f164eb28d test-keys
Build.MANUFACTURER: HTC
Build.MODEL: HTC Sensation
Build.PRODUCT: htc_pyramid
Build.VERSION.RELEASE: 4.3.1

Process UID: 10097
 

Farkonian

Senior Member
Mar 12, 2010
167
22
0
With the info you provided I have a guess at what a fix might be. Could you test the attached APK: CapButnBrightness-Farkonian-01.apk

Note that you must first uninstall the version of the app that you got from the play store before installing this APK. Otherwise the two will interfere with each other. Please let me know how this version of the app works for you.

Thanks!
Still working great! Thank you!! :good::D
 

denversc

Senior Member
Jul 1, 2012
428
320
0
Kitchener
Seems the same thing is happening apparently, Quite a bummer.
Oops. I just noticed from the debug information you pasted that I didn't actually implement the fix properly. I added the code to handle HTC Sensation but forgot to actually activate it. Can you try the APK attached here to this post: CapButnBrightness-eymas-02.apk. Sorry about that. Let me know how this one works on your HTC Sensation.
 

Attachments

denversc

Senior Member
Jul 1, 2012
428
320
0
Kitchener
A new beta version of this app is available: v1.0.13-Beta1. This is primarily a bugfix release, but also adds support for HTC Sensation. Please test the attached CapButnBrightness-1.0.13-Beta1.apk and reply with your experiences, good or bad.

EDIT: This is no longer the latest beta version; please use v1.0.13-Beta2 instead: http://forum.xda-developers.com/showthread.php?p=47322458#post47322458


Changes in v1.0.13-Beta1 (since v1.0.12)
  • fix issue where buttons backlight sometimes turns off after a few seconds instead of staying on
  • avoid cycling through the "dim" setting in the widget if dim is not even supported
  • fix issue where "dim not supported" is erroneously reported on when selecting "off" brightness when dim is not supported (HTC One X international quad-core variant only)
  • correct spelling error in a dialog: brigtness -> brightness

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.
 

Attachments

Last edited:

denversc

Senior Member
Jul 1, 2012
428
320
0
Kitchener
A new beta version of this app is available: v1.0.13-Beta2. This includes all of the changes in v1.0.13-Beta1 but also fixes HTC Sensation, which was reported to be fixed in v1.0.13-Beta1 but actually was not. Please test the attached CapButnBrightness-1.0.13-Beta2.apk and reply with your experiences, good or bad.

Changes in v1.0.13-Beta2 (since v1.0.13-Beta1)
  • fix brightness levels for HTC Sensation

Changes in v1.0.13-Beta1 (since v1.0.12)
  • fix issue where buttons backlight sometimes turns off after a few seconds instead of staying on
  • avoid cycling through the "dim" setting in the widget if dim is not even supported
  • fix issue where "dim not supported" is erroneously reported on when selecting "off" brightness when dim is not supported (HTC One X international quad-core variant only)
  • correct spelling error in a dialog: brigtness -> brightness

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.[/QUOTE]
 

Attachments

denversc

Senior Member
Jul 1, 2012
428
320
0
Kitchener
A new version of this app is available: v1.0.13. This version fixes issues with the buttons backlight turning off, avoids cycling through "dim" in the widget if not supported, and adds HTC Sensation support. This version has been published to the Google Play Store in the "Pro" version; the free version will be updated to v1.0.13 on Dec 04, 2013.

The free version has also been updated to v1.0.12, and is available in the Play store and the APK is available at: http://dl.bintray.com/sleepydragon/CapacitiveButtons/CapButnBrightness-1.0.12.apk

Changes in v1.0.13 (Since v1.0.12)
  • fix issue where buttons backlight sometimes turns off after a few seconds instead of staying on
  • avoid cycling through the "dim" setting in the widget if dim is not even supported
  • HTC Sensation support added
  • fix issue where "dim not supported" is erroneously reported on when selecting "off" brightness when dim is not supported (HTC One X international quad-core variant only)
  • correct spelling error in a dialog: brigtness -> brightness

NOTE: If you have a beta or test version of this app installed, you must first uninstall it before installing one of these two official versions. The reason is that having two versions of the app installed will interfere with each other. Also, the official APKs are signed with the "official" key, whereas the beta/test versions are signed with the developer key, and if keys don't match then the app will fail to install.
 

nickdoherty

Senior Member
Aug 14, 2012
353
854
0
Brantford
dirtyunicorns.com
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
I didn't read the whole thread to see if this had changed but with your newest release its working good on my Galaxy S3 running CM11. Thought I would let you know.


Sent from my SAMSUNG-SGH-I747 using Tapatalk
 

denversc

Senior Member
Jul 1, 2012
428
320
0
Kitchener
I didn't read the whole thread to see if this had changed but with your newest release its working good on my Galaxy S3 running CM11. Thought I would let you know.
Thanks for the report. I'm honestly surprised, but pleasantly surprised! If you wouldn't mind, could you copy the contents of the app's debug information screen and paste it here? That will help me understand how it works on your phone.
 

nickdoherty

Senior Member
Aug 14, 2012
353
854
0
Brantford
dirtyunicorns.com
Application Version: 1.0.12

Detected Device: HTC One X+ (evitareul)
Supports Setting Capacitive Buttons Backlight Brightness: Yes
Setting Capacitive Buttons Backlight Brightness Possible: Yes

/sys/class/leds/button-backlight/currents
File Exists: No

/sys/class/leds/button-backlight/brightness
File Exists: Yes
File Permissions: Read-Only
File UID: 10032
File Contents: 0

/sys/class/leds/button-backlight/lut_coefficient
File Exists: No

Build.BOOTLOADER: I747MVLDMF1
Build.DEVICE: d2att
Build.DISPLAY: Quantum v3-Beta 2
Build.MANUFACTURER: samsung
Build.MODEL: SAMSUNG-SGH-I747
Build.PRODUCT: d2uc
Build.VERSION.RELEASE: 4.4

Process UID: 10032
CPU ABI 1: armeabi-v7a
CPU ABI 2: armeabi


Sent from my SAMSUNG-SGH-I747 using Tapatalk
 
  • Like
Reactions: denversc

denversc

Senior Member
Jul 1, 2012
428
320
0
Kitchener
  • Like
Reactions: Thela7

htnawsaj

Member
Feb 5, 2013
31
9
0
Is it possible to have tasker integration ?

i am interested to have below profiles..

1.Switch off capacitive buttons when Video/Games
2.Switch off using proximity sensor.
3.dim under specific conditions..