[Q] £20 to who ever can disable promity sensor - HTC Desire S

can anyone help me to stop proxomity sensor from working on my desire as id like to use sence roms and i cant becuase every time i go to call it shuts off and i have to battery pull.i feel i have to stick with miui as it can be disabled

Stick a bit of tape over it

Use a vacuum cleaner and vacuum over the top area of the phone.
Hope it helps , it should have suck all the dust out of there.

Also, before battery pull try using the unlock button to lock the screen and then press it again to unlock. Might help as it disables and re-enables the sensor.
Cheers!

The system monitor app Elixir 2 lets you see all phone sensors functions. Try using it to see if it's behaving as it should.
Sent from my HTC Desire S using xda premium

Get a gun. Put a hole thru the proximity sensor.
Sent from my HTC Desire S using xda premium

al89nut said:
Stick a bit of tape over it
Click to expand...
Click to collapse
Tried that mate no luck
Sent from my HTC Desire S using xda premium

Arcaneex said:
Use a vacuum cleaner and vacuum over the top area of the phone.
Hope it helps , it should have suck all the dust out of there.
Click to expand...
Click to collapse
Still have the issue night try and take it apart see if there any dirt behind I wonder if I can unclipp, the sensor or break it so it don't work probs might not work at all lol
Sent from my HTC Desire S using xda premium

Try this http://www.androidzoom.com/android_applications/tools/proximity-screen-off_pjwz_download.html
Or look for an app called Screebl Lite

So I suppose it worked?

Hi! Everything you need is run a "setprop gsm.proximity.enable false" in terminal app. If you have root you can add this line into one of the files in /etc/init.d
If you want more help - pm me
I have the same problem. This is due to broken proximity sensor. I had an idea to modify Phone.apk to prevent from using proximity sensor, but I found an easy way to do this. Phone.apk has ProximityEnabled() function, that looks at global system property [gsm.proximity.enable].

No Mate Unless you have any idea what I need to do in app to switch it off or sort it
Sent from my HTC Desire S using xda premium

-Sumsy- said:
No Mate Unless you have any idea what I need to do in app to switch it off or sort it
Sent from my HTC Desire S using xda premium
Click to expand...
Click to collapse
A small blob of superglue bang on top of your sensor
Sent from my HTC Desire S using xda premium

Matri}{ said:
Hi! Everything you need is run a "setprop gsm.proximity.enable false" in terminal app. If you have root you can add this line into one of the files in /etc/init.d
If you want more help - pm me
I have the same problem. This is due to broken proximity sensor. I had an idea to modify Phone.apk to prevent from using proximity sensor, but I found an easy way to do this. Phone.apk has ProximityEnabled() function, that looks at global system property [gsm.proximity.enable].
Click to expand...
Click to collapse
can i just put the line in any of them files which one did u use

Ok. I have custom Saga_v4 rom. Files in /etc/init.d
Code:
ls -l /etc/init.d
-rwxr-xr-x root shell 903 2008-08-01 15:00 87calibration
-rwxr-xr-x root shell 249 2008-08-01 15:00 91modules
-rwxr-xr-x root shell 1039 2008-08-01 15:00 93zipalign
-rwxr-xr-x root shell 493 2008-08-01 15:00 95location
[COLOR="DarkRed"]-rwxr-xr-x root shell 165 2011-12-20 19:11 [B]99complete[/B][/COLOR]
As you can see, 99complete is the smallest one, so I decided to put that line into this file.
You can open it in text editor using Root Explorer or any other file manager with root permissions.
File 99complete before editing:
Code:
#!/system/bin/sh
# ========================================
# init.d script for Android Revolution HD
# ========================================
sysctl -p
sync;
File 99complete AFTER editing:
Code:
#!/system/bin/sh
# ========================================
# init.d script for Android Revolution HD
# ========================================
[COLOR="Green"]setprop gsm.proximity.enable false[/COLOR]
sysctl -p
sync;
Save it and reboot your phone. Now you have no proximity sensor checking while incall.
Anyway, you can put that line into any file in /etc/init.d after #!/system/bin/sh line.

I discovered that this is ROM-dependant. I used a MIUI ICS, Stock ROM & Endymion that all gave the problem (even after trying all those solutions).
I now use the Reaper ROM and it works flawlessly...

Related

[Script] Darkness in the dark hours

hi everyone
I present to you:
Darkness in the dark hours​
this is a pack of:
- a script I made
- Gscript lite
- Screen filter(optional, but recommended)
I strongly recommend to you to read the whole post and only then apply my script!
A lot of users tried to find a way to do this, so I polished my script I used for Eternity to make it universal(hopefully )
this script made to work with rooted 2.1+ firmwares and busybox properly installed.
1. Install Gscript lite
2. To make this script revertable on the newer brand of kernels, you will need to add one line to hw_config.sh (because I just don't trust init.d scripts)
run this from adb or any terminal emulator from phone as superuser
Code:
echo "\n\n\nrm /data/noled_tmp_reverse.prop" >> /system/etc/hw_config.sh
3. in Gscript choose Add a script and name it whatever you want(e.g. NOLed) and paste these lines in it
Code:
#! /system/bin/busybox sh
# "turn off keyboard and notification LEDs" for ANY android firmware
# this script needs su access
# made by Adolf1994
# thanks for the help diimaan
# maybe final version - revertable
# requires hw_config.sh modification to be properly revertable
DIR=$(cd /sys && find | grep brightness | cut -c 3- | cut -d : -f 1 | head -n 1)
LED=/sys/$DIR
LED1=$LED:rgb1:red/brightness
LED2=$LED:rgb1:green/brightness
LED3=$LED:rgb1:blue/brightness
LED4=$LED:sled/brightness
if [ -s /data/noled_tmp_reverse.prop ]; then
chmod 00644 $LED1
chmod 00644 $LED2
chmod 00644 $LED3
chmod 00644 $LED4
rm /data/noled_tmp_reverse.prop
else
echo 0 > $LED1
echo 0 > $LED2
echo 0 > $LED3
echo 0 > $LED4
chmod 00444 $LED1
chmod 00444 $LED2
chmod 00444 $LED3
chmod 00444 $LED4
echo 1 > /data/noled_tmp_reverse.prop
fi
exit
4. tap on "Needs SU" then save
5. run the script and enjoy surfing at night without the annoying hw leds
(most likely you WILL get stderrs on 2.2+, but it's normal)
Note: if you get EMPTY stderrs, that's no problem. BUT if something is shown next to the stderr, like permission denied, then please report
optional. install Screen filter from market: https://market.android.com/details?id=com.haxor&feature=search_result
This is only for 2.1 and/or 2.2. On 2.3 I experienced a problem that's I couldn't press install in package installer activity. I nearly reinstalled the whole thing. You've been warned!
Night is over? Just run the script again and wait till the LEDs light up.
If You Don't Like LEDs At All, This Pretty Line Will Disable Them At Startup
http://forum.xda-developers.com/showpost.php?p=17514012&postcount=27
Q: Why modifying hw_config.sh?
A: Because if you reboot your phone while the leds are off, there will remain a file that normally indicates how the script should act upon running it. That one particular file should not present after boot.
Q: I'm on Wolfbreak's ROM. Won't that mess tweaks up?
A: In no way. Impossible. Unless you didn't follow steps properly.
hope you like it
and don't forget to press thanks button
can I use script manager to run this at boot?
I think it'd be fine
the script didnt work for me i went to my dolphin browser copied text pasted it saved i run it it showed up stderr twice that's it?
shahkam said:
the script didnt work for me i went to my dolphin browser copied text pasted it saved i run it it showed up stderr twice that's it?
Click to expand...
Click to collapse
i cant paste the text corectly ffs i think thats the problem can you upload the script as ".sh" so i can load it whit gscript?
shahkam said:
the script didnt work for me i went to my dolphin browser copied text pasted it saved i run it it showed up stderr twice that's it?
Click to expand...
Click to collapse
from gscript I get a bunch of stderrs, too. however, from a terminal emulator it runs fine, so no problem.
It's the most noticeable if the phone is on the charger, because you will see that the led suddenly switches off.
you can revert the script back with a simple reboot.
Sorry for being a noob, but what does this do? :$
It disables the l.e.d.s. It should be made a little clearer in op.
Is there a script to turn them back on?
Sent from my X10a using XDA App
AyDee said:
It disables the l.e.d.s. It should be made a little clearer in op.
Is there a script to turn them back on?
Sent from my X10a using XDA App
Click to expand...
Click to collapse
sorry if I wasn't clear. I'll fix it soon
and change it to revertable, too
Adolf any clue why it didnt work.for me and i kept having stderr thingy
Sent from my X10i using XDA Premium App
shahkam said:
Adolf any clue why it didnt work.for me and i kept having stderr thingy
Sent from my X10i using XDA Premium App
Click to expand...
Click to collapse
since they are empty it's ok
Huh? I think i wasnt clear i used your script and when i ran it whit gscript i got twice stderr message twice one under the other like this
Stderr
Stderr any clue why?
Sent from my X10i using XDA Premium App
shahkam said:
Huh? I think i wasnt clear i used your script and when i ran it whit gscript i got twice stderr message twice one under the other like this
Stderr
Stderr any clue why?
Sent from my X10i using XDA Premium App
Click to expand...
Click to collapse
for this script only gscript gives empty stderrs. if I run it with a terminal emulator/adb there's no stderr.
it's a problem of gscript
@Adolf or @My_Immortal
any new experiments with sd card mounting?
There was some interesting posts by one shaun in link2sd thread! he's using x10! somehow he managed to find more free space in /system than in /data!
so no need of an extra partition, you can just run the script to mount the /system as rw on boot and then link the link2sd mount point to it! I sent a PM to him about how is it working! let's see...
Ohhh but i tried terminal too pasted the script and nothing happened?
Sent from my X10i using XDA Premium App
I use this script most nights now, thanks Adulf! perhaps a mod to the script could be to set an expiry time value? (or is this not possible!)
diimaan said:
@Adolf or @My_Immortal
any new experiments with sd card mounting?
There was some interesting posts by one shaun in link2sd thread! he's using x10! somehow he managed to find more free space in /system than in /data!
so no need of an extra partition, you can just run the script to mount the /system as rw on boot and then link the link2sd mount point to it! I sent a PM to him about how is it working! let's see...
Click to expand...
Click to collapse
There are currently 190 MB free in my system partition, 219 MB in data and 11 GB in my sdcard, so I really want to use Links2SD on an ext partition in my SD, rather than anywhere else!
But it's nice that there's progress!!
My_Immortal said:
There are currently 190 MB free in my system partition, 219 MB in data and 11 GB in my sdcard, so I really want to use Links2SD on an ext partition in my SD, rather than anywhere else!
But it's nice that there's progress!!
Click to expand...
Click to collapse
190 mb? that's far less you should clean up some junk in your system then!
btw this is the msg I got from shaun! you can check how it works!
http://forum.xda-developers.com/show...&postcount=834
Should explain how to do it, just need to add commands to a start up script that is editable on your phone, that runs before the GUI is started. Dunno how I would create a universal script as you will need to edit diff files on diff phones.
If there is anything you don't understand from my post I'll try and help.
Click to expand...
Click to collapse
Brilliant this is exactly what i wanted, thanks Adolf !!
[email protected] said:
I use this script most nights now, thanks Adulf! perhaps a mod to the script could be to set an expiry time value? (or is this not possible!)
Click to expand...
Click to collapse
Adulf... hehh, funny
yyeeeeaaaaaaahhhh...no
that'd be a bit complicated.
but this is why it's revertable

New 100% reliable "temp root" for Titanium Backup (won't stop working until reboot!)

New 100% reliable "temp root" for Titanium Backup (won't stop working until reboot!)
Hi all,
I grew frustrated by the annoyance of losing root access randomly, when modified files on /system suddenly become inaccessible because of the S-ON lock.
But here's some good news: I came up with a way to get a 100% reliable "temp root" for Titanium Backup.
Advantages:
You will not lose root access until next reboot!
100% reliable, does not modify /system at all.
Drawbacks:
Minimalistic approach with no BusyBox.
Will only work with select root apps.
Tested with Titanium Backup only (for now).
Requirements:
Original "out of the box" Sensation or EVO 3D (untested).
Android SDK tools ("adb" command) on a computer.
USB connection between computer and phone.
Installed Superuser app from the Market.
Initial (one-time) setup:
unzip better-temp-root.zip
adb push fre3vo /data/local/tmp/
adb shell "cd /data/local/tmp ; chmod 755 fre3vo ; ./fre3vo"
adb shell "mkdir /data/bin ; mv /data/local/tmp/fre3vo /data/bin/"
adb push su /data/bin/
adb push root.sh /data/bin/
adb shell "chmod 4555 /data/bin/su ; chmod 755 /data/bin/root.sh"
adb shell "/data/bin/root.sh"
After every reboot:
adb shell "/data/bin/fre3vo"
adb shell "/data/bin/root.sh"
The advantage of this method is that /system is not modified, therefore the rooting will be totally stable and will persist until the next reboot
Q&A:
Will it work with other root apps?
This is a minimalistic approach which installs no busybox and does not touch /system, in order to be perfectly reliable. The drawback of this is that it will work only with root apps that are able to find "su" at /data/bin/su, and that don't need a busybox in $PATH. Fortunately, Titanium Backup fulfills both of these criteria. If you know other apps that do, please post about them.
Status:
Titanium Backup (free & pro): works
Root Explorer: works
MyBackup pro: works?
SetCPU: FC
Wireless tether: needs system modification
Greetings go to #teamwin for the exploit, of course.
Have fun !
Great. Good job!
Now where is that test recovery?
If it works well, maybe you should try and pass the files onto agrabren for him to implement into Fre3vo^2 (apk that makes root better like your fix is aiming to).
That way things will move a LOT faster
Using this, I can get Titanium Backup to work, but not AdFree. Might just wait for Fre3vo^2.
Adfree is build to edit files on /system partition which is not possible with temp root
Set-Cpu is working?
possible to make a script that runs
Code:
adb shell "/data/bin/fre3vo"
adb shell "/data/bin/root.sh"
at each boot automatically?
Does barnacle or any WiFi tether apps work with this? Still at work.....
Sorry for the noob question but where do unzip it to, the computer or the phone?
Sent from my PG86100 using XDA App
madindehead said:
Using this, I can get Titanium Backup to work, but not AdFree. Might just wait for Fre3vo^2.
Click to expand...
Click to collapse
Thanks for your feedback. I hadn't tested AdFree, but I'm not surprised here. This solution is a willful compromise: we refrain from modifying /system, and thus we gain 100% reliability - but at the same time we lose compatibility with some root apps, because they often rely on BusyBox being in /system (or at least in $PATH).
I have contacted @agrabren on Twitter with a link to this thread. I haven't looked into it, but if #teamwin can come up with a way to execute adb commands locally on the phone, it could all be done automatically at boot. Hopefully they'll add a configuration choice such as:
Method 1: Full compatibility with root apps, system BusyBox, "ephemeral" root
Method 2: Compatibility with *some* root apps, no system BusyBox, 100% reliable root
Let's see how it goes... but I know which method I'd personally use
Tiffany84 said:
Sorry for the noob question but where do unzip it to, the computer or the phone?
Sent from my PG86100 using XDA App
Click to expand...
Click to collapse
Unzip to the computer, you'll get 3 files. Go on from there
What about this:
Any difference to files/method from first post?
http://www.facebook.com/pages/S-Off-for-Sensation-and-Evo-3d-NOW/117107248377328?sk=wall&filter=1
joel.bourquard said:
Unzip to the computer, you'll get 3 files. Go on from there
Click to expand...
Click to collapse
Ok. So this is where I struggle with adb. So how does it know where the files are at? Do u have to tell it the location of the files or do u put it in the same directory with adb? Again, I apologize when it comes to being clueless with adb.
Sent from my PG86100 using XDA App
DomSim said:
possible to make a script that runs
Code:
adb shell "/data/bin/fre3vo"
adb shell "/data/bin/root.sh"
at each boot automatically?
Click to expand...
Click to collapse
That's the goal - but such a script would not work right now, because: (1) the 1st command terminates the current shell and (2) the 2nd command must be called through ADB.
As far as I see, the 1st command could be invoked automatically from an Android app at boot, but the 2nd one needs to be called through adb, which requires a separate computer right now.
I haven't looked into that - but I think @agrabren / #teamwin are aiming at this (ie: somehow doing the equivalent of running commands through "adb" from the device itself) with Fre3vo^2.
Thanks very much..
Sent from my HTC Sensation Z710e using XDA App
Tiffany84 said:
Ok. So this is where I struggle with adb. So how does it know where the files are at? Do u have to tell it the location of the files or do u put it in the same directory with adb? Again, I apologize when it comes to being clueless with adb.
Sent from my PG86100 using XDA App
Click to expand...
Click to collapse
Same directory
Tiffany84 said:
Ok. So this is where I struggle with adb. So how does it know where the files are at? Do u have to tell it the location of the files or do u put it in the same directory with adb? Again, I apologize when it comes to being clueless with adb.
Sent from my PG86100 using XDA App
Click to expand...
Click to collapse
I run Linux personally, but I think if you just unzip the files into some empty folder, then stay in that same folder and run ADB by its absolute path, it should work fine. Something like:
"C:\Program Files\Android SDK\BIN\ADB.EXE" push xx yy
Maybe a Windows user could give you more precise advice here...
Why would you need barnacle when you have wireless tether built in?
Sent from my HTC Sensation 4G using XDA App
With this,only run fre3vo bat file and all will install
automatically:
Ganii said:
What about this:
Any difference to files/method from first post?
http://www.facebook.com/pages/S-Off-for-Sensation-and-Evo-3d-NOW/117107248377328?sk=wall&filter=1
Click to expand...
Click to collapse
Anyone tried SetCPU ? Which profile did you select, and does it work?
Pinepig said:
Same directory
Click to expand...
Click to collapse
Thanks.
Sent from my PG86100 using XDA App

Pocket Blu + Root = No digital rips???

So, I just bought Fast Five on bluray and it came with a digital copy. Hooray and all that. However, when I go through the steps to download that copy through Pocket Blu, it tells me it won't let me download it because my phone is rooted and this presents a security concern.
Anyone found a way around this, other than unrooting your phone?
You could try to rename the su file location and see if that helps. They usually detect those folders
I think I saw a solution to that in the Nook Color subforum here at XDA a while ago, might have been something with Google video not working on rooted devices, was a little while ago.
Might want to browse around over there and see what you can come up with, you can probably take what they figured out and apply it to your problem.
cal3thousand said:
You could try to rename the su file location and see if that helps. They usually detect those folders
Click to expand...
Click to collapse
Do you happen to have any idea where that folder is?
I found it. For future reference, it's in /system/xbin. Renaming su to mu temporarily works fine! You can watch vids is root, just not download.
Sent from my Crack Injected Doubleshot using xda premium
GoodKingNerdnor said:
I found it. For future reference, it's in /system/xbin. Renaming su to mu temporarily works fine! You can watch vids is root, just not download.
Sent from my Crack Injected Doubleshot using xda premium
Click to expand...
Click to collapse
Glad you found it.
Just note that it may vary by device.
Only downside is that you have to manually flash su from recovery after to get it back. None of my root enabled file explorers were able to rename the file back to su (not surprising since it looked for the su command to be able to do so).
Sent from my MyTouch_4G_Slide using xda premium
Actually, I just did this.
Open task manager and kill pocket blu
Connect usb to your computer
adb shell (on your computer)
su
find / -name su
mount -o remount,rw <location of /system> /system
mv /system/bin/su /system/bin/mu​
Launch pocket blu
Redeem code.
Back on your computer
mv /system/bin/mu /system/bin/su​
Note that the location of su can vary but will likely be in /system.
However, I could not play the movie while it was rooted. I have to unroot in order to playback.
GoodKingNerdnor said:
Only downside is that you have to manually flash su from recovery after to get it back. None of my root enabled file explorers were able to rename the file back to su (not surprising since it looked for the su command to be able to do so).
Sent from my MyTouch_4G_Slide using xda premium
Click to expand...
Click to collapse
Root explorer allowed me to rename it "mu" start the download, and name it back to "su" as long as I didn't back out of root explore or fc it. I'm guessing it still maintained the root privileges it was granted upon the start of the app. Either that or I just got lucky.

[MOD]Keyboard backlight toggle

I have tried to use some apps to turn off the backlight permanently but not work for my O3D.
So I tried an odd way to do it.
I tried to forced brightness value to 0 by using
Code:
echo 0 > /sys/class/leds/keyboard-backlight/brightness
chmod 444 /sys/class/leds/keyboard-backlight/brightness
Running this script should permanently kill off your keyboard LED. you can use
Code:
echo 1 > /sys/class/leds/keyboard-backlight/brightness
chmod 444 /sys/class/leds/keyboard-backlight/brightness
to turn on the LED or use:
Code:
chmod 664 /sys/class/leds/keyboard-backlight/brightness
to restore system automatic operation
I have written a simple apk file for u who dont have gscript.
the app just run the script above, you can always run the script on gscript or any terminal emulator you want (needs su)
Bug:
This runs perfect on my O3D now with Acurarom, but it sill have some problem with CM7-SF ROMs. Anybody knows what is the problem here?
For those who found the script useless, you might try to add two lines after turning on/off
Code:
chown 0 /sys/class/leds/keyboard-backlight/brightness
chgrp 0 /sys/class/leds/keyboard-backlight/brightness
and make sure add these two lines before the restore script
Code:
chown 1000 /sys/class/leds/keyboard-backlight/brightness
chgrp 1001 /sys/class/leds/keyboard-backlight/brightness
These two codes may prevent changing the led setting back to "rw" from some other apk with root access
HElP
I have the same problem but the question is how cpmment scripts with which tool is my first time I do this kind of things. Sorry for my english
Excuse me, where I post these scripts in O3D?
I have made an .apk file for anybody have trouble running the script
Thanks a lot for that apk. I've been looking for a way to turn the buttons backlight off n this works perfectly on 2.3.5. Thanks again!
Thanks for APK!
Is there any option to set the backlight on permanently only when the screen is on, and to dim it a bit?
Nice app btw.
IFLPI said:
Is there any option to set the backlight on permanently only when the screen is on, and to dim it a bit?
Nice app btw.
Click to expand...
Click to collapse
+1 for that
Sent from my LG-P920 using xda premium
IFLPI said:
Is there any option to set the backlight on permanently only when the screen is on, and to dim it a bit?
Nice app btw.
Click to expand...
Click to collapse
I knew a way to do that but it won't be as easy as this one.
And for dimming the max backlight might require some mod in the boot.img which i am not familiar.
I will see what I can do
After all, this app only works with some devices on some ROMs. There's an app in the market that can do the job. If your devices made no response to those apps, you can try this method. (which is fairly unconventional)
would it be possible to make this script run at boot? (Such as init.d scripts), i've tried directly adding it to init.rc but it doesn't seem to work (System rewrites it the on boot, even without write permissions).
(Not with a script app such as Rom Toolbox/Script manager)
Here's the app that keeps the led lights on.
http://forum.xda-developers.com/showthread.php?t=1216824
IFLPI said:
Here's the app that keeps the led lights on.
http://forum.xda-developers.com/showthread.php?t=1216824
Click to expand...
Click to collapse
The app seems not working on my o3d.
BTW if you only want to keep the leds on while screen on and dim it, a modification from kernel or a background services might be needed.
I invent this method basically try to get rid of the services
314 said:
would it be possible to make this script run at boot? (Such as init.d scripts), i've tried directly adding it to init.rc but it doesn't seem to work (System rewrites it the on boot, even without write permissions).
(Not with a script app such as Rom Toolbox/Script manager)
Click to expand...
Click to collapse
It might be possible, but I don't know how to do it.. :-( ~~
at least not using "init.rc"
Thank you this app works for my htc chacha running superOSR rom based on CM 7 but only in turning off and can't turn it on again
[Center/]
Sent from my HTC ChaCha A810e using XDA​
Problem
Ok, i have tried the solution here, but my brightness file is here:
\sys\class\backlight\keypad-led\brightness
When i set it to 0, the lights turn off, and after that i change the file permissons to 444 with chmod.
But when i turn off screen and turn on again (stand by mode) the keypad lights turn on again, and when i go to edit the brightness file again, it shows the value 255.
Any sollutions??
My phone is a samsung galaxy y PRO. Android 2.3.6 rooted

[Q] [REQ] Turning on or off the hardware buttons.

I'm wondering if did any developer have tried to make a hack or something to turn off the light of the hardware buttons. I bet that light drain's certain amount of energy and I think that is pretty useless. I've tried that app called LG Notifications or something like that but it's useless. I'm interested in an app that can turn off the hw buttons leds using a schedule or manually. Cheers and thanks with anticipation
I don't remember where I find that script neither who did that, but I have uploaded it
1-Download the script from http://www.mediafire.com/?osu5fd3481b3vj7
2-With any root browser or adb put it in system/etc/init.d and change its permissions to rw-r-r
3-Reboot or run script
4-Done
Sent from my LG-P500 using xda premium
Search for keyboard backlight controller in playstore
Sent from my LG-P500 using Tapatalk 2
FPChaim said:
I don't remember where I find that script neither who did that, but I have uploaded it
1-Download the script from http://www.mediafire.com/?osu5fd3481b3vj7
2-With any root browser or adb put it in system/etc/init.d and change its permissions to rw-r-r
3-Reboot or run script
4-Done
Sent from my LG-P500 using xda premium
Click to expand...
Click to collapse
> mateo's, from blackbird rom
Does it really make that much of a difference or is it one of those placebo scripts I see bombarded into roms? I've used LG notifications to and nothing happened either...well this entire thing has got me wondering how much battery ill save by disabling those hw lights behind the hard keys
Sent from my LG-P500 using xda premium
Download "root tools" and in hacks and tweaks there's an option to disable hardware light buttons (buy it costs $2 I think)
Sent from my LG-P500 using xda app-developers app
---------- Post added at 07:10 PM ---------- Previous post was at 07:01 PM ----------
Na, it worked on 2.3 but i tried it now with my new ICS and it doesn't work.
Sent from my LG-P500 using xda app-developers app
timkl1 said:
Download "root tools" and in hacks and tweaks there's an option to disable hardware light buttons (buy it costs $2 I think)
Sent from my LG-P500 using xda app-developers app
---------- Post added at 07:10 PM ---------- Previous post was at 07:01 PM ----------
Na, it worked on 2.3 but i tried it now with my new ICS and it doesn't work.
Sent from my LG-P500 using xda app-developers app
Click to expand...
Click to collapse
Auto Turn off led Backligh of Hard button after boot:
+++ Download here
Use RootExplorer copy into /sys/etc/init.d , rememer choose r/w.
Set Permission : Read V V V, Write V V V, Execute V V V.
Reboot and Enjoy.
Or +++ Manual Edit :
Use RootExplorer go to /sys/etc/init.d, remember choose r/w:
-Press of Gesture Menu, choose Newfile, creat name with 98led ---> OK
-Open with Editor
-Input this code:
#!/system/bin/sh
chmod 0333 /sys/class/leds/button-backlight/brightness
echo 0 > /sys/class/leds/button-backlight/brightness
Click to expand...
Click to collapse
-Save and exit. Then delete file .bak
-Set Permission : Read V V V, Write V V V, Execute V V V.
Reboot and enjoy.
Turn On Backlight Hard Button :
-Use RootExplorer go to /sys/etc/init.d, remember choose r/w,
-Open with Editor file 98led
-Edit 0 to 255.
-Save and Exit.
-Delete file .bak.
-Execute this file.
Enjoy.
HI brother
Install this and select from the options....
very easy....
https://play.google.com/store/apps/...1bGwsMSwxLDEsImNvbS5kZXNrYW5nZWwua2JsaWdodCJd
Ferdinoptimus said:
Install this and select from the options....
very easy....
https://play.google.com/store/apps/...1bGwsMSwxLDEsImNvbS5kZXNrYW5nZWwua2JsaWdodCJd
Click to expand...
Click to collapse
It not really work exactly, when you choose Handset reboot, not Hot boot, all setting return to default. Then you must setting again for Backlight.
one year ago...
Last week, i decided to take out my good old p500 to play with. Checked out the forum, and somehow i wasn't surprised that it's still going strong. Installed popdog's Slim rom on it. works well enough so far. couldn't find the option to disable hardware keys, a search brought me here.
the below method works.
-------------------------------------
Use RootExplorer go to /sys/etc/init.d, remember choose r/w:
-Press of Gesture Menu, choose Newfile, creat name with 98led ---> OK
-Open with Editor
-Input this code:
#!/system/bin/sh
chmod 0333 /sys/class/leds/button-backlight/brightness
echo 0 > /sys/class/leds/button-backlight/brightness
-Save and exit. Then delete file .bak
-Set Permission : Read V V V, Write V V V, Execute V V V.
Reboot and enjoy.
Just install screen filter app from play store ...
Put the filter to 100% and tick the option disable hardware key backlight .....
Very simple:thumbup::thumbup:
Sent from my LG-P690 using xda app-developers app

Categories

Resources