yashsingh1/xdaforums huggingface dataset:
[HTC Rezound] SuperFan86:
I've seen it with my own eyes, he is running standard battery. No service on the phone. He just charged it and unplugged it. I doubt he ever even turned the screen on.

Been sitting idle since he picked up his Rezound haha.
[HTC Amaze 4G] blast0id:
the below method was taken from here. Thanks to [MENTION=2880885]morrislee[/MENTION] !
[HTC Amaze 4G] aj_2423:
I just ran it in terminal emulator and it said no such file or directory found, but it still shut them off so i guess that it works that way too!

Sent from my NRGized Amaze...

via xda premium
[HTC Amaze 4G] blast0id:
yeah, but they'll come back after reboot I'm pretty sure... the way i posted above reapplies at every boot...
[HTC Amaze 4G] aj_2423:
Thats wat i figured

Sent from my NRGized Amaze...

via xda premium
[HTC Amaze 4G] dharvey4651:
Worked like a charm. Fantastic!

Thanks for sharing!
[HTC Amaze 4G] william tanaya:
hm... for turn the button backlight off, i use screen filter, put it on 100% and kill the back light. voila. you don't have to do anything beside that, and the best part is, you can turn it back on.
[HTC Amaze 4G] morrislee:
use the init.post_boot.sh in this zip should disable all the button lights completely. given that you have perm root, this method is permanent until you restore the files or nand restore.

Dont forget to set the permissions to 644
[HTC Amaze 4G] misfit61871:
Can I just flash this zip in recovery?

Sent from the Morgue!
[HTC Amaze 4G] morrislee:
extract the zip, adb push it to sdcard, and then move it to etc folder and set permisrto 644
[HTC Amaze 4G] misfit61871:
Ok thanks, I'm not at my PC right now, that's why I was curious if I could flash it.

Ok got it working with Root Explorer, Yay! Just extracted it, c/p'd the file to /etc and set perms to rw-r--r--, rebooted and no more backlights!

Thanks morrislee for the zip file!

Sent from the Morgue!
[HTC Amaze 4G] misfit61871:
Now that I like, simple app and back lights are gone! Just wish it didn't have the ongoing notification, but oh Wells.

Sent from the Morgue!
[HTC Amaze 4G] glacierguy:
It doesn't stick after reboot though... Gets old quick having to reactivate the app. Plus the notification icon in status bar
[HTC Amaze 4G] morrislee:
just get used to the button locations and disable the lights all together. saves battery anyway haha, battery on the amaze is as bad as it is
[HTC Amaze 4G] misfit61871:
Ya I agree, I don't need them lit up all the time and having that bleed gone us a big plus!

Sent from the Morgue!
[HTC Amaze 4G] Turboboxer:
Confirmed adding this file in ETC does kill lights and lasts after rebooting and a battery pull. Thank you for the tip!!!
[HTC Amaze 4G] AndroidAutobot:
Thanks for posting what you did =) worked perfectly for me, and Its rare that I find the time to boot up my computer these days he he =)
[HTC Amaze 4G] yo2boy:
The only disadvantage of using screen filter is that you can't install apk files when it's in use.

But yeah now I don't need screen filter anymore, thanks morrislee!! :)
[HTC Amaze 4G] -FuRBz-:
Worked perfectly... Thanks
[HTC Amaze 4G] Nshih422:
Love this, thanks for the zip and making it's permanent without the use of a computer.
[HTC Amaze 4G] Lunaillij:
Copied the root explorer way. Worked great even after reboot. No need for screen filter anymore. Thanks!

$ sudo make me a sandwich
[HTC Amaze 4G] :
My computer has a broken screen atm... So I'm trying this through root explorer. I downloaded the zip and extracted it. I'm trying to move to etc folder in SD card but can't find that folder... Any ideas?
[HTC Amaze 4G] misfit61871:
Make sure you have show hidden files checked in settings, but you should see that folder in the very first screen that comes up when you launch root explorer. It is not on the sd card.

Sent from the Morgue!
[HTC Amaze 4G] :
Lol there it is! :o

Ok I moved the.....sh file to etc folder and replaced the stock file. How do I set the permissions to 644 now?

Thanks
[HTC Amaze 4G] RavenWulf:
it needs to be RW-R--R--

or

Owner = Read, Write

Group = Read

Others = Read
[HTC Amaze 4G] :
And all three execute... Right?

Here's my edited permissions...

THANKS MORRISLEE AND RAVENWULF...

JUST SUCCESSFULLY KILLED MY CAP LIGHTS FRO ROOT EXPLORER AND IT LASTED AFTER REBOOT! NO MORE LIGHT BLEED! :D

Happy Easter
[HTC Amaze 4G] misfit61871:
No you shouldn't have to check execute, I don't on mine. It's weird that it still worked for you.

Sent from the Morgue!
[HTC Amaze 4G] morrislee:
It works because those permissions are extra. Not required. As long as needed permissions are granted, it should work just fine
[HTC Amaze 4G] peter0206:
mine still doest work.. I copied the file in to etc folder cover the old file, then I just root explor to change permision to the pic like above, once i reboot, the button lights are still there. any suggestion plz ?

Thanks a lot
[HTC Amaze 4G] :
Did you extract the zip and copy the init.post_boot.sh FILE to the etc folder? If you just moved the zip, that wouldn't work. If you're using root explorer, long press the zip and select extract all.
[HTC Amaze 4G] frodoboy:
So you guys use this to completely turn off the cap lights? I tried that on my own several months ago and couldn't hit the right buttons in the dark so I just dimmed them to get less bleed. Does this mean that they will stay off in

any

lighting conditions and you'd have to restore to get them back?
[HTC Amaze 4G] :
Correct... Mine didn't come back on until I superwiped and flashed a new ROM... Now that you mention it, I gotta do this again now... :banghead:

Sent from my HTC Amaze running Sense 3.5
[HTC Amaze 4G] RavenWulf:
How did you dim them? Only thing I could find was adjusting when they come on
[HTC Amaze 4G] peter0206:
i used pc to unzip it then use root explore on phone to move it to etc folder it ask me if i want to cover the old one i choose yes.. then using root explore to change permission. even select all. still did not work
[HTC Amaze 4G] blast0id:
I don't use root explorer so I'm not sure here, but does it have an option to mount as R/W first? I have to do this with total commander...

so steps would be:

1. mount as R/W

2. overwrite file

3. fix permissions

4. reboot
[HTC Amaze 4G] peter0206:
thanks for your reply but that was all i did. no working on mine ：（
[HTC Amaze 4G] :
If this is how it looks and is in the /etc folder then idk what else to say. Make sure you reboot :D

Sent from my HTC Amaze running Sense 3.5
[HTC Amaze 4G] misfit61871:
Hmmmm.....I just flashed a new ROM, and had to redo the process and it worked just fine.

Make sure you are copying the actual file and not just the folder. I say this because when you extract there is a folder with the exact same name, you need the file inside the folder.

Sent from the morgue.
[HTC Amaze 4G] peter0206:
yup. I copied the init.post_boot.sh file and overwrite it into etc folder. I just tried again after I restore the phone. still doest work:(
[HTC Amaze 4G] misfit61871:
Maybe you should try to DL the zip again, it's possible that it could have been a bad DL.

Sent from the morgue.
[HTC Amaze 4G] peter0206:
Thanks so much for your quick reply

I tired more than 5 times,, I used the root explore to view the file, I can see the code

"mount -o rw,remount /dev/block/mmcblk0p29 /system

chmod 777 /sys/devices/platform/leds-pm8058/leds/button-backlight/brightness

echo 0 > /sys/devices/platform/leds-pm8058/leds/button-backlight/brightness

chmod 444 /sys/devices/platform/leds-pm8058/leds/button-backlight/brightness

mount -o ro,remount /dev/block/mmcblk0p29 /system"

is on the bottom. but doest work... very strange..
[HTC Amaze 4G] :
mount -o rw,remount /dev/block/mmcblk0p29 /system

chmod 777 /sys/devices/platform/leds-pm8058/leds/button-backlight/brightness

echo 0 > /sys/devices/platform/leds-pm8058/leds/button-backlight/brightness

chmod 444 /sys/devices/platform/leds-pm8058/leds/button-backlight/brightness

mount -o ro,remount /dev/block/mmcblk0p29 /system

This is what I have on my file and it works :/

from my HTC Amaze running Sense 3.5
[HTC Amaze 4G] blast0id:
if you don't already have it, download 4ext recovery, install it, then use it to fix permissions, then reboot and try again... I think maybe the etc folder permissions may be miffed... what rom are you on?
[HTC Amaze 4G] morrislee:
I am not sure if it is just what you have added as a reply but have you notice the quotations right at the beginning of mount and at the end of system. If you have those in the scripts, it will not work. maybe that is it?
[HTC Amaze 4G] blast0id:
excellent point... haha... sometimes it's the simplest things that can be so frustrating... but other times it's the most convoluted... life's a crap-shoot, so carry your ****-shield... haha
[HTC Amaze 4G] peter0206:
I am using

[ROM][*NEW*] |March 10| Energy :D

I will try that then... Thanks

---------- Post added at 06:05 PM ---------- Previous post was at 06:04 PM ----------

the quotations mark that I added.. not from the file :p
[HTC Amaze 4G] Lunaillij:
Just want to confirm that this trick does work with the new ICS ROM that Football leaked.
[HTC Amaze 4G] pbcal:
In ICS version there is a file max_brightness in the same folder (/sys/devices/platform/leds-pm8058/leds/button-backlight/). Write 0 to that file will completely turn off the led lights. the default value is 255. You can also write a small number ( like 100) to make it turn on at dark without the bleed.

The value will go back to default if you reboot the device. I think there is no init.d support in the stock ICS kernel. You can use Script Manager to run the script at boot (Have not tested yet).
[HTC Amaze 4G] stratax:
Just tried and it worked woo :)
[HTC Amaze 4G] lgtsanev:
And the changes remained after reboot? What did you do?
[HTC Amaze 4G] :
U got this to work on stock 3.6? Cuz there's no init.post_boot.sh file on the stock release... There is on ARHD 2.1, but not stock. There is a init.qcom.post_boot.sh... Maybe related?

All these girls excited Oooo ya know they like it I'm so icy, so icy Girl don't try to fight it All yo friends invited I'm so icy, so icy
[HTC Amaze 4G] AndroidAutobot:
There isn't, hut strangely when I pasted it into etc it still worked =). Just do it... You won't be disappointed =)
[HTC Amaze 4G] :
Dude you're brilliant!

Worked perfectly

All these girls excited Oooo ya know they like it I'm so icy, so icy Girl don't try to fight it All yo friends invited I'm so icy, so icy
[HTC Amaze 4G] xManMythLegend:
Etc folder won't remount as rw thus cant paste that file.

Editing the Max brightness didn't change anything. I pasted it and it just reverted back to the default.

Screen filter app no longer appears to work.

Any ideas? (Ics leak)
[HTC Amaze 4G] AndroidAutobot:
He he he. Thanks man. Always happy to help others on here when I can the way many others on here have helped me =)
[HTC Amaze 4G] lgtsanev:
Dude, I dont understand, if there is no init.post_boot.sh where exactly do you paste the text, into which file? And did settings remain after reboot?
[HTC Amaze 4G] mrmako777:
i understand that some of you will want to kill the soft keys lights regardless, but if you havent noticed yet (see glacierguy's screenie), ics has a natural dark to light gradient, so the light bleed we normally experience actually blends in with ics. just giving you guys a heads up for those that dont know ;)
[HTC Amaze 4G] stratax:
it does blend in with some of it, but that is if we had asop. sense doesnt really have it themed like that and we are still effected when watching videos xD
[HTC Amaze 4G] Lunaillij:
Download and extract the zip file from morrislee post on the first page. In root explorer, copy the file to the \etc folder. you need to Mount R/O first. once copied, change permissions to 644 (rx-r--r--). then reboot.

I noticed that in the ice leak that football released, the file didn't exist untill i copy it.

I just flashed Revolution ICS, there is a init.post_boot.sh file already there, i just copied over it. it works great.

Hope this makes sense.
[HTC Amaze 4G] AndroidAutobot:
Just paste the modified init.post_boot.sh into the etc folder. Don't ask me how it does, but for some reason even though there isn't one there to begin with it still works lol
[HTC Amaze 4G] AndroidAutobot:
I noticed that earlier today actually. I was a bit confused by it at first since is already disabled the backlight for the buttons below lol
[HTC Amaze 4G] CalicoJeb:
Thanks to the All The XDA Brainiacs - this works like a charm - using ICS
[HTC Amaze 4G] asimons81:
Worked great for me!

Awesome mod! Thanks guys. Just did this with the Root Explorer method and it worked as advertised. One more thing I can check off of my list of why my battery drains so quickly.
[HTC Amaze 4G] blast0id:
yes, and thanks to all the brainiacs that came before XDA otherwise there would be no XDA... shall we keep going, to infinity and beyond? lol...

thank you though, I did need a good laugh =)
[HTC Amaze 4G] xManMythLegend:
How are you guys pasting this ?

Root explorer wont allow me to mount R/RW the ETC folder and it keeps giving me error messages when I do.
[HTC Amaze 4G] pbcal:
Are you rooted?
[HTC Amaze 4G] Fedway:
Anyone found a way to make this dim light (not off) hack stick after a reboot on ICS?
[HTC Amaze 4G] :
Yes... Exact same as GB (except no file to replace).

Re-read instructions and try again. It works for me

Sent from my iced out HTC Ruby
[HTC Amaze 4G] Fedway:
Okay. I'm not sure what I am missing here. As pbcal's instructions in post #47 indicate, the value returns to default when the device is rebooted. I'd sure like to make this stick. Glacierguy, did you get it working by using Script Manager or what did you do?
[HTC Amaze 4G] :
Download the zip. Extract using file manager. Move "init.post_boot.sh" to the folder in the instructions and pics and change the permissions.

Sent from my HTC Ruby running Sense 3.6
[HTC Amaze 4G] Fedway:
Doesn't this turn off the LEDs entirely? The tweak that pbcal posted lets you set a maximum brightness, so the LEDs can still light dimly if you are in a really dark room. It works great, but the setting returns to default after a reboot.
[HTC Amaze 4G] blast0id:
I've tried everything, the "DIM hack" doesn't work... I get light bleed no matter what... killing them is the best and by far the easiest way, and it takes all of about 5min of using it in the dark to get used to where the buttons are...
[HTC Amaze 4G] :
Oh my bad. I figured u wanted to kill the lights, since ics already dimmed them.

Like Benjammin said, there is NO PERM FIX for dimming them.

Sent from my HTC Ruby running Sense 3.6
[HTC Amaze 4G] hzm82:
If you have emergy rom ics, it comes with leedroid tweak app which has the option to turn off or dim the capacitive backlight, sadly both dim and off turn them off. It works on ics, you can turn it back on any time, and its perm off.
[HTC Amaze 4G] spudkinks:
THANK YOU!
[HTC Amaze 4G] jvx333:
wow thanks! This worked
[HTC Amaze 4G] edmcrocker:
this does not work for me. i'm using the revolution ROM. i recently had my buttons backlight come on permanently and it will not shut off. even when the phone is sleeping and the screen is black they are still always on.

i extracted the zip in this thread, c/p'd the file to /etc and set perms to rw-r--r--, rebooted, did a battery pull, but the light is still on. VERY annoying!
[HTC Amaze 4G] Double0EK:
Copy this file and put it in /system/etc/init.d as a new file. Set permissions to rwxrwxrwx reboot and you'll be good.
[HTC Amaze 4G] edmcrocker:
thank you for the reply, but it is still not working. so frustrating!
[HTC Amaze 4G] Mashkawizii:
While this thread is still zombified, thanks, it worked.

XML
[HTC Amaze 4G] Double0EK:
The file that I attached is an image. You have to manually type it out as a new file either using Notepad++ or a script maker...but if I have time I'll upload it.
[HTC Amaze 4G] edmcrocker:
is there a difference between your script and what comes at the end of init.post_boot.sh posted on the first page of this thread? i copied that one to init.d, and deleted the excess code to make it look like your screenshot.
[HTC Amaze 4G] Double0EK:
No that's the same one I used and modified to get it to work. I don't know what else to tell you.
[HTC Amaze 4G] edmcrocker:
do you have your script and the original script running or just the one you made for init.d?
[HTC Amaze 4G] blast0id:
what rom are you on? that might be part of the problem... not all roms support init.d

that's why it's best to add it to the init.post_boot.sh or init.qcom.post_boot.sh file found in /system/etc
[HTC Amaze 4G] Double0EK:
^ I only have just the modified script running in init.d.

I took the script found in the first page (post #7) (1st pic) and edited it. (2nd pic) Put it in init.d and checked every box for permissions.
[HTC Amaze 4G] edmcrocker:
i'm on Evolution so init.d is supported. i added it both in init.pos_boot.sh and init.d...problem with this?
[HTC Amaze 4G] blast0id:
no having it in both places is not an issue...
[HTC Amaze 4G] edmcrocker:
I don't know what's going on here. The backlight refuses to turn off.

The only time the backlight isn't on is when the phone is powered down! I thought flashing a new ROM would fix this, but it didn't. Still the same problem! And I have run the scripts in this thread on the new ROM as well.

Here's how I got into this predicament. I had been using the Revolution ROM for about a week and everything was working just fine. Went out for a bike ride and used the GPS tracking app Strava to map my ride. Got home and the battery had been run down to nothing. Phone showed a black screen with just the backlight being on. Was locked like this, wouldn't wake up for ****. Did a battery pull, plugged the phone into the charger. Ever since, the backlight has not shut off. It's been a week since this incident.
[HTC Amaze 4G] Mashkawizii:
Wait you know this is for the soft buttons right? If that's what you mean then I dunno how to help you, if you really mean the backlight try going back to stock.

If stock doesnt work then its probably a hardware issue.

XML
[HTC Amaze 4G] edmcrocker:
yes, soft button glow/backlight. how can it be a hardware issue?
[HTC Amaze 4G] Mashkawizii:
Well, have you tried fully wiping and going to stock?

XML
[HTC Amaze 4G] edmcrocker:
yes, didn't change anything
[HTC Amaze 4G] Mashkawizii:
Late response but honestly if its ongoing its gotta be hardware.
[HTC Amaze 4G] AwayFromReality:
I've been having problems with my button lights staying on no matter what. Even when the I turn off the screen by pressing the power button once, the lights stay on. I tried this mod by replacing the file in the /etc folder using file explorer and it didn't help. I've tried Screen Filter app and Kernel Tuner but the lights won't turn off. I've tried multiple ROMs and none of them make a difference. Anyone know if there is anything else I can do?
[HTC Amaze 4G] yo2boy:
Try this https://play.google.com/store/apps/details?id=com.deskangel.kblight&hl=en
[HTC Amaze 4G] AwayFromReality:
Installed it and checked Lock off bklight, didn't do anything. Thanks anyway though. Anything else that could help?
[HTC Amaze 4G] josegalre:
your current Kernel supports init.d?

If your answer is yes: Try this! Install from recovery
[HTC Amaze 4G] blacksapphire08:
Thanks for the link, shut them off for me :highfive:
[HTC Amaze 4G] AwayFromReality:
I have nightmare kernel on so I'm pretty sure it supports init.d. Do I flash it from recovery just like how I flash a ROM?
[HTC Amaze 4G] g1-and-only:
Yep, root file explore worked great, no more back light BS. Thank you. Extract, place in etc, over write existing file( you can back it up if you want lights back in the future but I didn't ) set permissions to rw, r r.
[HTC Amaze 4G] mansa_noob:
Hi all,

I had to change the screen on mine and fixed the bleed issue by pasting a bit of the black tape in the groove next to the lights... Had to cut a piece of the right size. As a result no bleed and in complete darkness I can see a bit of the buttons too (exactly when I need to :D). Just wanted to share so it may help someone else in a similar situation.
[HTC Amaze 4G] danyal241:
He guys I had used this script before and it worked like a charm. Recently I upgraded to latest stock ruu .30 710rd and this doesn't work anymore cam someone help me? Want to turn off these lights
[HTC Amaze 4G] Hassaan.W:
Perfect. Thanks
[HTC Amaze 4G] ravike14:
Is it only me who finds it really hard without the back lights?? It drains the battery but I miss it when it's off lol
[HTC Amaze 4G] KT-82166:
You miss screen bleed???
[HTC Amaze 4G] chevycowboyusa:
Screen bleed is a pain. Then again trying to hit the right button in the right place in the dark is also a pain.

The button backlight enable and disable is a feature in the venom tweaks.

:)
[HTC Amaze 4G] ravike14:
thats what i'm talking bout since i work mostly in the night it's a pain well in the afternoon my lights are off at night i select the dim option which is a GREAT feature in venom tweaks
[HTC Amaze 4G] KT-82166:
I guess im just good at finding things in the dark
[HTC Amaze 4G] kemihansome:
Why not try LMT???

Works fine, both night n day,u wont need ur button/light.
[HTC Amaze 4G] chevycowboyusa:
Hardware fix

There's no way to do that without tearing it apart, right?
[HTC Amaze 4G] mansa_noob:
Yeah, but I figure most of us have done that at one time or another :D.

-- The noob says:

A bootloop is android trying to rationalize pi.
[HTC Amaze 4G] ravike14:
LMT?
[HTC Amaze 4G] kemihansome:
Yeah.... LMT Launcher, Gives access to all pie control, kindda wat i use.

But aint the developer,

ATTACHMENT BELOW.
[HTC Amaze 4G] chevycowboyusa:
Launcher

I saw another launcher like that. It was really cool!
[HTC Amaze 4G] kemihansome:
Really.....

Mind sharing?
[HTC Amaze 4G] chevycowboyusa:
launcher

Splay launcher! Neat app
[HTC Amaze 4G] kemihansome:
Yeah......cool though but I prefer LMT to that app....why because Splay is a full launcher while LMT is just an app on it own and only work on your command...
[HTC Amaze 4G] chevycowboyusa:
Cool.
[HTC Amaze 4G] GuyInDogSuit:
Tried this script just now and it doesn't work on CM10.1. I'm gonna try the KB backlight app.

EDIT: Hell yeah! This works!
[HTC Amaze 4G] blast0id:
that's absurdity! it works on every rom... pebkac =P
[HTC Amaze 4G] GuyInDogSuit:
No, I'm serious. Did exactly as the instructions in post 7 described, and I got nothing.
[HTC Amaze 4G] junxracr:
I clicked thanks it worked on ics that I'm running, but didn't work on jb rom. Switched to ics just for this. Thanks again.
[HTC Amaze 4G] blast0id:
did you only try putting it in the init.post_boot.sh / init.qcom.post_boot.sh file, or did you also try putting it into an init.d script? if the init.post_boot.sh method doesn't work, just try it in an init.d script, that should work for sure...

jb, might not use the init.(qcom).post_boot.sh method... but I'm positive that jb still supports init.d scripts, so just add it to the end of one of the already present init.d scripts, it won't matter which one...
[LG Optimus 2x] tablighs:
Hi,

Do anyone knows where to get best deals for o2x genuine battery? Mine's a P990 if it matters. If can provide links will be much appreciated..Thanks.