Hi folks,
Just wondering if anyone has found a way to turn off the backlight on the capacitive buttons when ever the screen is touched.... it gets very annoying when trying to read in bed at night.... This is a problem that was brought in with the Gingerbread update.
any suggestions?
I would suggest decompiling framework-res.apk. You can use whatever tool you like for this. Google apk decompiling.
Goto res/values/arrays.xml and edit these lines
Code:
<integer-array name="config_autoBrightnessButtonBacklightValues">
<item>150</item>
<item>60</item>
<item>0</item>
<item>0</item>
<item>0</item>
<item>0</item>
<item>0</item>
</integer-array>
to
Code:
<integer-array name="config_autoBrightnessButtonBacklightValues">
<item>0</item>
<item>0</item>
<item>0</item>
<item>0</item>
<item>0</item>
<item>0</item>
<item>0</item>
</integer-array>
Compile, replace, see if it works. Custom roms have this functionality in their settings.
Thanks for the reply...I was hoping it would be easier than that but will check it out. Never too old to learn.
Related
is there a way to change the choices for the default amount of time before the backlight turns off?like having a 30 mins choice in the "on battery power" setting.maybe by tweaking the registry?anyone?
Is omapclockremover a notification stack editor? What is the notification stack?
I have many of the same entries in it, should I remove them?
Also, my phone has an annoying thing where I have to press a hard button twice to make it wake up after its gone into low power mode. It would be so bad but the second time you push it it activates or closes something, how do you get it to wake with a single push, or maybe the touchscreen?
since friday my niki phone doesn't vibrate anymore, even if i set the settings for incoming calls, to only vibrate... I don't know why. is there a solution? maybe a registry key?
Sounds like it's broken. Take it back to where you bought it.
solution!
i found the solution yesterday evening. the problem was that i set the registrykey HKLM\Drivers\BuiltIn\AllLedMgr to switch the blinking led off. now i set it to the default setting and it works again...
I had the same problem
I had the same problem, thank you for your solution.
Program's purpose: turn on screen when tablet is rotated to vertical with an optimization to sleep between 10PM and 6:30AM
Outline of program's action
MainActivity starts Service
Service then:
registers broadcast receiver for Screen On/Off events
sets alarm for stop time
When screen goes Off: receiver sends ScreenOff message to Service via Intent
Service starts Sensor listener for orientation
When orientation changes to vertical:
Service sets Screen On
When receiver gets Screen On - sends ScreenOn message to Service via Intent
When Service gets ScreenOn message - stops Sensor
When Service gets Alarm message via Intent from AlarmReceiver:
If SetOff - turns off Sensor and Wifi, sets Alarm for start time
If SetOn - turns on Sensor, sets Alarm for stop time
The problem:
Sometimes the Service is stopped before the stop alarm is received and the alarm receiver is not called.
However the Service is restarted at very near to the time when the alarm is set for: onCreate() is called and then onStartCommand() is called with a null Intent and with the startId value that follows the last one passed to onStartCommand() before the restart.
The program works as expected about half the time.
Some lines from the Logcat gathered by the adb logcat command when tablet connected by USB for when Alarm was not sent:
I/ActivityManager( 9802): Killing 5496:com.normsstuff.wakeup/u0a10223: remove task
W/ActivityManager( 9802): Scheduling restart of crashed service com.normsstuff.wakeup/.ScreenOnOffService in 5000ms
I/ActivityManager( 9802): Start proc com.normsstuff.wakeup for service com.normsstuff.wakeup/.ScreenOnOffService: pid=2072 uid=10223 gids={50223, 1015, 1028}
I/ActivityManager( 9802): No longer want com.normsstuff.wakeup (pid 2072): empty for 1818s
W/ActivityManager( 9802): Scheduling restart of crashed service com.normsstuff.wakeup/.ScreenOnOffService in 5000ms
I/ActivityManager( 9802): Start proc com.normsstuff.wakeup for service com.normsstuff.wakeup/.ScreenOnOffService: pid=5387 uid=10223 gids={50223, 1015, 1028}
Related post: http://stackoverflow.com/questions/26048934/looking-for-debugging-ideas
I would like to use a task I found that checks to see if the screen is off, and if so, reboots the phone. It goes like this:
1. If
%screen eq off
This doesn't work I assume because tasker thinks the screen is on because of Always on Display. Are there any other options to test to see if I am using the phone before rebooting?