disable hardware button backlights - Desire Q&A, Help & Troubleshooting

EDIT:
For some reason this isn't surviving reboot like I thought it was, sorry :/
"This drove me nuts after flashing PA 3.00+ as I had an init.d script working before but this is much easier.
Navigate to /sys/devices/i2c-0/0-0066/leds/button-backlight/ in your favourite root explorer
Open brightness and change 255 (if lights are on; 0 if off) to 0 and save. This will turn off the lights. (cli: echo 0 > brightness)
Set permissions to: -r--r--r-- (ie
Code:
chmod brightness 444
as per permissions in this example:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
)
This prevents system from writing 255 to it.
Simples."
Anyone with a working 4.2.2 script would be an amazing help

Re: Solved: disable hardware button backlights
I dont have that file location, so i guess ur method aint for every rom
Sent from my HTC Desire
RSK Sattelite SuperSense4.1

jmcclue said:
I dont have that file location, so i guess ur method aint for every rom
Sent from my HTC Desire
RSK Sattelite SuperSense4.1
Click to expand...
Click to collapse
How about /sys/class/leds/button-backlight (which may be a symlink folder)?

Bingley said:
EDIT:
For some reason this isn't surviving reboot like I thought it was, sorry :/
Click to expand...
Click to collapse
Lol just download the file in my thread, extract it and put the 65disable file in init.d folder, set permissions to the same as the other files and reboot. Works everytime
Sent from my HTC Desire
RSK Sattelite SuperSense4.1

jmcclue said:
Lol just download the file in my thread, extract it and put the 65disable file in init.d folder, set permissions to the same as the other files and reboot. Works everytime
Sent from my HTC Desire
RSK Sattelite SuperSense4.1
Click to expand...
Click to collapse
Which thread/file is that? I've tried a few but see various permissions set in and of the file- what does the 65 file need to be set as, and what should the brightness be set to? Perhaps, as the brightness location is correct:
Code:
#!/system/bin/sh
chmod +w /sys/devices/i2c-0/0-0066/leds/button-backlight/brightness
echo 0 > /sys/devices/i2c-0/0-0066/leds/button-backlight/brightness
chmod -w /sys/devices/i2c-0/0-0066/leds/button-backlight/brightness
then maybe my script above isn't executing?

Bingley said:
Which thread/file is that?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1852503

Thanks. For some reason I'd had this file before but couldn't get it working.
750 permissions in my init.d folder set for this file worked.
Wow, I feel so dumb lol, sorry!

Dont touch/edit that file, just put it in the init.d folder and set permissions to the same as the other files then reboot. Its worked for me in every rom iv tried and trust me iv tried them all lol
Sent from my HTC Desire
RSK Sattelite SuperSense4.1

Related

Request: Urgent to me

i need a splash screen in the form of a update zip i know some other ppl would want this as well
i need it directed to the media folder not a media then bootscreen as most splashcreen i have found do this
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
with if u can the default splsh htc screen added on and the defulat sound or something creative up to you
many thanks
raymando said:
i need a splash screen in the form of a update zip i know some other ppl would want this as well
i need it directed to the media folder not a media then bootscreen as most splashcreen i have found do this
with if u can the default splsh htc screen added on and the defulat sound or something creative up to you
many thanks
Click to expand...
Click to collapse
Well what rom are you running?
Cyanogen- impossible as of right now
Hero- ok I'll do that
Eclair- I'll try that one
its mightymax hero rom i want that androd animation and another animation to go with it prob the standard htc one or u can pick one and a sound file
many thanks
http://www.4shared.com/file/188888618/294ec503/boot.html
Unzip to a folder on your sd called boot, then..
rwsystem
cp /sdcard/boot/* /system/media/bootscreen
then what where do i type that in
raymando said:
then what where do i type that in
Click to expand...
Click to collapse
That would be in terminal, then reboot and watch the magic
cant i do it via the reboot console in my recovery menu
raymando said:
cant i do it via the reboot console in my recovery menu
Click to expand...
Click to collapse
yes, just change "rwsystem" to "mount -a"
hmm notworkig can u tell me the typing instructions again but where to press enter for recovery consle thanks
raymando said:
hmm notworkig can u tell me the typing instructions again but where to press enter for recovery consle thanks
Click to expand...
Click to collapse
Each new line of code is the next command
mount -a <enter>
cp /sdcard/boot/* /system/media/bootscreen <enter>
reboot <enter>
it says cp:cannot stat "/sdcard/boot/*" no such file or diectory
raymando said:
it says cp:cannot stat "/sdcard/boot/*" no such file or diectory
Click to expand...
Click to collapse
Did you place files in the boot folder on your sd card?

[Q] Restored apps wont run

Hi, yesterday I removed a whole load of junk apps thanks to this thread, but I now have a problem and need help with it.
I decided to move 'SemcGallery3D.apk' and 'SemcCamera3D.apk' to the SD card because I didn't want the 3D option, but then afterwards the panorama and 3D panorama don't work also the whole gallery application doesn't work (not just the 3D gallery). I moved the two files back to the system/app folder, but it still doesn't work, is there another step involved in restoring these?
thanks
hold on the app until the dialog box come out, click permissions, check all the read/write/execute box , see if this help
wonggeo said:
hold on the app until the dialog box come out, click permissions, check all the read/write/execute box , see if this help
Click to expand...
Click to collapse
I just tried this, but it made no difference
Put back both to /system/app. Permission should be rw-r-r
Sent from my SO-01C using xda premium
teddymild said:
Put back both to /system/app. Permission should be rw-r-r
Sent from my SO-01C using xda premium
Click to expand...
Click to collapse
I have put them put that in that folder and it still doesn't work.
teddymild said:
Put back both to /system/app. Permission should be rw-r-r
Sent from my SO-01C using xda premium
Click to expand...
Click to collapse
Actually I just checked and the two apps in question aren't rw-r-r, but rwxr-x. So I am guessing that's the problem? I'm still new to all this, so how to I change them back to rw-r-r? Is it to do with how the folder is mounted r/w R/O etc.? Can you explain what's the difference, thanks
adsada arc said:
Actually I just checked and the two apps in question aren't rw-r-r, but rwxr-x. So I am guessing that's the problem? I'm still new to all this, so how to I change them back to rw-r-r? Is it to do with how the folder is mounted r/w R/O etc.? Can you explain what's the difference, thanks
Click to expand...
Click to collapse
use Root explorer (Needs Root) copy the file to the folder, there is a button on the top right side to mount it as RW (re-writable) from RO (Read Only), if you long press on the file, a popup menu will open, from there select permissions, and set it in this order:
R W -
R - -
R - -
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
System files/apps without the correct permissions will not work, and may even result in bootloops.
Okay thanks, I did this and when I restarted the phone it worked again

REQUEST: Please Create a Bootscreen with this Image

Hi all, I came across this interesting image. It's a GIF and I thought it would look great as a bootscreen animation. I would do it myself, but I'm not exactly savvy with this and I'd rather not cause trouble with my phone. So, if anyone would graciously accept my request, I'd be quite grateful.
This is the image:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
PS. Please create one for the resolution of the Wildfire S, which is why I'm posting in this section.
I'll make it for you when I have time.
request done
Here you go dude. delete old one first before copying and set permissions to RW,R,R or 644.
einstein.frat said:
Here you go dude. delete old one first before copying and set permissions to RW,R,R or 644.
Click to expand...
Click to collapse
how to do that??
mhrsolanki2020 said:
how to do that??
Click to expand...
Click to collapse
That comment says a lot about your rom making skills,I hope your joking.
meanmug said:
That comment says a lot about your rom making skills,I hope your joking.
Click to expand...
Click to collapse
Bro I know how to push that bootanimation.zip have been sucessful in doing so earlier but what permision are you talking about that was my exact question .. cuz i never needed to set permision for boot animations before
adb shell
chmod 644 /system/media/bootanimation.zip
Or open root explorer, navigate to to the zip file, press and hold, tap permissions and set to rw, r, r
Sent from my iPod touch using Tapatalk
vbhtt said:
adb shell
chmod 644 /system/media/bootanimation.zip
Or open root explorer, navigate to to the zip file, press and hold, tap permissions and set to rw, r, r
Sent from my iPod touch using Tapatalk
Click to expand...
Click to collapse
but my bootanimations work without it.. nvm will still do that..
can we flash this bootanimation.zip in recovery? i suppose i can since its a zip file. looks nice though
pinkypie said:
can we flash this bootanimation.zip in recovery? i suppose i can since its a zip file. looks nice though
Click to expand...
Click to collapse
:O wow. You don't flash a zip like this kind

[System App] Stock Sense 2.1/2.14 Music Player beats notify in status bar

Intructions:
ADB style:
connect USB charge only, open CMD type this
adb remount
adb push HtcMusic.apk /system/app/
ES File explorer:
copy to sdcard then to /system/app/
Screenshot:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
After installation we can also disable and eneable beats audio in music palyer?
Dude you must have an hangover. It's just an icon can't you see in the pic.
Nice job mate, I was looking to do this a couple of days ago myself, after seeing this mod for the wildfire (buzz).
Thanks again:thumbup:
Perfect ı tried my htc amaze it works just cause of resolution ı dont see forward buttons.İts possible to make size 960 x 540 ?or how can ı edit this apk for htc amaze?
Hi everyone. I hve Wildfire S, rooted, unlocked but still I get
"busybox cp /mnt/sdcard/Downloads/bluetooth/HtcMusic.apk /system/app
cp: can't create '/system/app/HtcMusic.apk': File exists". When I try to change chmod I get message that it's Read-only system. What I'm doing wrong? Can anyone help me?
ok, I found solution. Root Browser (is much better than Astro or ES file explorers) overwrote original file. Now everything works fine.
Used root browser to copy in system/app, changed permissions to rw r r and played music. Worked like a charm. It's pretty sweet seeing that there when playing music. Also have beats by rockodev flashed into the rom so they go well together.
Love it
Sent from my HTC Wildfire S A510e using xda premium
I have lost my mysic player after replace him in my ROM. I am using manual method (rootexploer). Anybody could help me?
reboot your phone.
Those who are facing problems try this easy and simple and even get google music
Getting force close when press menu button in player but it works nice except that.
Sent from my HTC Wildfire S A510e using xda premium
Sorry to ask and to doubt on your work but why is it of double size
You might have changed stats notify icon correct me if am wrong.
Sent from my HTC Wildfire S A510e using XDA

[Q] Phone apk [2.3.7] Abtekk's Custom ROM [V3] [25-JAN-2012]

Hello,
I have a problem with the calling feature of this ROM http://forum.xda-developers.com/showthread.php?t=1458749
and by the way i love this ROM, big thx to Abtekk
The problem is that i can not touch the # and *, there are behind the keyboard and i can not access them during a phone call when the robot on the phone aske me, WTF ???
Is there an extra phone/call apk that i can install or flash someting ?
Thx a lot for your help and sorry for my english
I ran this ROM for quite a while and never experienced any problems with dialer. Sorry, but I don't know what to suggest, only the fact it was fine for me. Might be worth trying a re-flash.
Do you know how can i change the dialer ?
Here is a picture
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
So as you can see i can not access the # and *
Thx a lot
You could try putting this file in System/app with a root explorer then reboot, its from CM 7. Do a nandroid first though just in case.
I can not copy it in my /system/app , it not allow me to copy on /system/app !?
(i try with io file manager)
EDIT: I read some info on the net and my phone is S-On, i try to put it on S-OFF for editing system files
Thx
You need to mount the /system partition as read-write.
Easiest way (and free) is to download ES File Explorer and in the settings tick Root Explorer and Mount File System.
You should be able to copy files into /system/app now.
Ok i install ES explorer, give root eccess, super user permission and mount system but it still not allow me to copy something to /system/app !
Maybe it is because of the S-ON thing ?
Thx again
You should be able to flash it I think, use winrar to place your apk in the /system/app folder in this zip http://db.tt/ji223eQK then mount system and flash it in cwm.
The contacts.apk that's already in the zip is from cm7.2.
Sent from my HTC Wildfire using xda premium
Scratch0805 said:
You should be able to flash it I think, use winrar to place your apk in the /system/app folder in this zip http://db.tt/ji223eQK then mount system and flash it in cwm.
The contacts.apk that's already in the zip is from cm7.2.
Sent from my HTC Wildfire using xda premium
Click to expand...
Click to collapse
I directly use your zip with the contact.apk inside, i reboot on recovery, mount system in the advance recovery menu and flash the zip like a ROM. Flash complete but nothing has change when a make a phone call, it's still the same dialer ...

Categories

Resources