What is the best way to kill the button lights on jb roms? Is it the same as ics?
geomega said:
What is the best way to kill the button lights on jb roms? Is it the same as ics?
Click to expand...
Click to collapse
Personally I use an app called capacitative buttons brightness
https://play.google.com/store/apps/details?id=org.sleepydragon.capbutnbrightness&hl=en
Sent from my Nexus 10 using XDA Premium HD app
do you have to reset after each reboot?
geomega said:
do you have to reset after each reboot?
Click to expand...
Click to collapse
No it kills it automatically but you have to wait for about a minute for super user to start
Sent from my Amaze 4G using xda app-developers app
When I use CM10, I put this in a text file
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
sysro
Then put it in the system/etc/init.d folder and remove the txt extension from the file. You can name the file what ever you want, then fix permissions and reboot. If your ever want your lights back just erase the file and reboot.
I forgot where I got it from but I do remember blast0id or dcacklam posted it.. I think.. So thank them both just to be safe
Sent from my HTC_Amaze_4G using Tapatalk 2
Related
Can someone please post zip for aosp messaging. Thanks.
Sent from my SGH-T959 using XDA App
Here you go.
Thanks a bunch
Sent from my SGH-T959 using XDA App
How would you install this? I found something similar but had no luck at installing it
trigger1974 said:
How would you install this? I found something similar but had no luck at installing it
Click to expand...
Click to collapse
With this you would use Root Explorer or similar app to just drop it in your system/app folder
jrharvey said:
With this you would use Root Explorer or similar app to just drop it in your system/app folder
Click to expand...
Click to collapse
Code:
adb push mms.apk /sdcard && adb shell
su
mount -o remount,rw /dev/block/stl9 /system
cp /sdcard/moms.apk /system/app
Sent from my SGH-T959 using XDA App
dasunsrule32 said:
Code:
adb push mms.apk /sdcard && adb shell
su
mount -o remount,rw /dev/block/stl9 /system
cp /sdcard/[B]mms.apk[/B] /system/app
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
I could be wrong, but I am sure you meant the above.
I'll push your mom into my system/app.... lol j/k
lol @ moms.apk
Is there a list of commands somewhere for the terminal emulator? Please and thanks.
Sent from my DROID RAZR using xda premium
No.
But to see some of the available:
Code:
busybox #prints available busybox commands
ls /bin #prints all files in /bin
ls /usr/bin #prints all files in /usr/bin
ls /sbin
ls /usr/sbin
OK, how would I change the su perms for an application?
Sent from my DROID RAZR using xda premium
Find chmod manual
Sent from my XT910 using XDA App
XxSinisteRxX said:
OK, how would I change the su perms for an application?
Click to expand...
Click to collapse
sorry but I don't understand.
Is it:
You use su to become root.
You may use chmod to change permissions on a file
You use the superuser app to change witch apps that automatically approves or denies superuser access.
pajn said:
sorry but I don't understand.
Is it:
You use su to become root.
You may use chmod to change permissions on a file
You use the superuser app to change witch apps that automatically approves or denies superuser access.
Click to expand...
Click to collapse
I got this issue straightened out, thanks tho pain. I appreciate the effort.
Sent from my DROID RAZR using xda premium
the below method was taken from here. Thanks to @morrislee !
benjamminzIS said:
morrislee said:
And no, this will not be able to disable the button lights, you need to do them in the init.post_boot.sh file under etc
Click to expand...
Click to collapse
I apologize for thread jacking with this question, but what would you put in this file, I am asking here, rather than via PM because I think others might like to know... you could make a new thread if you prefer... thanks!
edit: ok did a little digging, would this work?
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
edit2: confirmed, the above works, just edited the file (init.post_boot.sh) and adb pushed it, then rebooted... nice, no more bleed!
Click to expand...
Click to collapse
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
aj_2423 said:
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!
Click to expand...
Click to collapse
yeah, but they'll come back after reboot I'm pretty sure... the way i posted above reapplies at every boot...
benjamminzIS said:
yeah, but they'll come back after reboot I'm pretty sure... this reapplies at every boot...
Click to expand...
Click to collapse
Thats wat i figured
Sent from my NRGized Amaze...
via xda premium
benjamminzIS said:
the below method was taken from here. Thanks to morrislee!
Click to expand...
Click to collapse
Worked like a charm. Fantastic!
Thanks for sharing!
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.
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
morrislee said:
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
Click to expand...
Click to collapse
Can I just flash this zip in recovery?
Sent from the Morgue!
misfit61871 said:
Can I just flash this zip in recovery?
Sent from the Morgue!
Click to expand...
Click to collapse
extract the zip, adb push it to sdcard, and then move it to etc folder and set permisrto 644
morrislee said:
extract the zip, adb push it to sdcard, and then move it to etc folder and set permisrto 644
Click to expand...
Click to collapse
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!
william tanaya said:
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.
Click to expand...
Click to collapse
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!
misfit61871 said:
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!
Click to expand...
Click to collapse
It doesn't stick after reboot though... Gets old quick having to reactivate the app. Plus the notification icon in status bar
Sent from my HTC_Amaze_4G using Tapatalk
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
morrislee said:
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
Click to expand...
Click to collapse
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!
Confirmed adding this file in ETC does kill lights and lasts after rebooting and a battery pull. Thank you for the tip!!!
misfit61871 said:
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!
Click to expand...
Click to collapse
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 =)
Sent from my HTC_Amaze_4G using xda premium
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!!
Worked perfectly... Thanks
Sent from my HTC Amaze 4G using xda premium
Love this, thanks for the zip and making it's permanent without the use of a computer.
Sent from my HTC_Amaze_4G using Tapatalk 2 Beta-5
misfit61871 said:
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!
Click to expand...
Click to collapse
Copied the root explorer way. Worked great even after reboot. No need for screen filter anymore. Thanks!
$ sudo make me a sandwich
Guys most of us encountered a similar problem like this - for no reason the lockscreen and power option menu wont work
sometimes you will get red warning like 'factory mode is on' some features wont work properly :crying::crying::crying:
Guys it's because of Corrupted EFS folder
So here is the exact solution to get rid of factory mode into user mode [get back your lockscreen and power option menu]
Its a proven method :victory::victory::victory:
You have to root your phone and install Terminal Emulator from Google Play.
Open terminal emulator and type as ;
su
rm /efs/FactoryApp/keystr
rm /efs/FactoryApp/factorymode
echo -n ON >> /efs/FactoryApp/keystr
echo -n ON >> /efs/FactoryApp/factorymode
chown 1000.1000 /efs/FactoryApp/keystr
chown 1000.1000 /efs/FactoryApp/factorymode
chmod 0744 /efs/FactoryApp/keystr
chmod 0744 /efs/FactoryApp/factorymode
reboot
You now should not see the that message anymore. Its because of an EFS corruption.
Hope it helps!!!
Time to enjoy 'hurray' i got my lockscreen and power option menu
Anybody guys is that helped you...if yes please press thanks button...dont just see the post.
Sent from my GT-I8552 using Tapatalk 2
reserved
Hey please help me
When I type these code
Su
Bla bla bla
In terminal emulator
I get error
No such directory or file found
Please I want my lock screen anf power button back
Sent from my GT-I8262 using xda app-developers app
Omkar$ said:
Hey please help me
When I type these code
Su
Bla bla bla
In terminal emulator
I get error
No such directory or file found
Please I want my lock screen anf power button back
Sent from my GT-I8262 using xda app-developers app
Click to expand...
Click to collapse
Which means keystr and factorymode file already been removed...
Then you have to type only this:
Don't type just copy paste these codes
su
echo -n ON >> /efs/FactoryApp/keystr
echo -n ON >> /efs/FactoryApp/factorymode
chown 1000.1000 /efs/FactoryApp/keystr
chown 1000.1000 /efs/FactoryApp/factorymode
chmod 0744 /efs/FactoryApp/keystr
chmod 0744 /efs/FactoryApp/factorymode
reboot
It will work definitely all the best..
Feedback me after u got ur buttons and lockscreen back
Sent from my GT-I8552 now Free
Got it?
Sent from my GT-I8552 now Free
Not working bro same error
I have addon.d, app,lost+found,reg_backup in my efs folder
Sent from my GT-I8262 using xda app-developers app
Omkar$ said:
Not working bro same error
I have addon.d, app,lost+found,reg_backup in my efs folder
Sent from my GT-I8262 using xda app-developers app
Click to expand...
Click to collapse
Do this manually
Install root explorer and open.
Go to efs/Factoryapp folder
Create a new file 'factorymode'
Open the file and type 'ON' and click save.
Create a new file 'keystr'
Open the file and type 'ONON' and click save
For both files permissions should be rwe-r-r
Reboot.
If it still don't work do the copy paste commands in emulator which is in first post after this..
It should work..I have successfully got my lockscreen and power menu button by this on my grand Quattro running JB 4.1.2
This is the only method to get back those...even u try reflashing your stock firmware u won't get it.do it again without mistakes in code..
In the code the first two line is to remove those two corrupted files and the next two steps is to add those two files and the following codes is to set permission which it needs minimum 777 permissions to work.....:beer::beer::beer: so if u get error like no such file directry exclude two lines below su.
Sent from my GT-I8552 now Free
Followed all above steps but not working
Alll codes worked
But after reboot no chage
I am using galaxy core jb 4.1.2
Can I use other galaxy core efs folderband flash it on my core
Btw I don't have factoryapp folder in efs instead I have app folder
Can u show your efs folder
Btw quattro is same as galaxy core
It should work
Sent from my GT-I8262 using xda app-developers app
How to take backup of efs folder for grand quattro? Please help me as I am new here.
Sent from my GT-I8552 using XDA Premium 4 mobile app
I have galaxy grand I9082 and your method worked fine but If i flash miui rom i cant get network signal, and i surprised that calls are coming but i cant make a call it says turn off flight mode how to resolve this.
efs folder empty after every reboot
fix?? plzzzzz
still no help
cannot create a file in efs mode as it says "file system is read-only"
what should i do ??????
i have rooted my phone ,installed terminal emulator and root explorer.
i have samsung galaxy quattro
Crap post...nothing worked !!
really need help
I 've followed step by step , the code runs fine but no change , lockscreen and power button menu still does not appear , I 've used a lot of ways such as EFS proffesional still no change , is there someone who can help me ? please
Hello I recently rooted because of my small internal storage that will not allow me to install apps. Like modern combat 4 and Nfs most wanted because I cannot move them to extsdcard I tried link2sd but had the same result dose anyone know if I can get apps to install to the extsdcard instead of the internal without flashing? Any help would be appreciated
Sent from my LG-P769 using xda app-developers app
realbro657 said:
Hello I recently rooted because of my small internal storage that will not allow me to install apps. Like modern combat 4 and Nfs most wanted because I cannot move them to extsdcard I tried link2sd but had the same result dose anyone know if I can get apps to install to the extsdcard instead of the internal without flashing? Any help would be appreciated
Sent from my LG-P769 using xda app-developers app
Click to expand...
Click to collapse
If you have root & busybox installed you can run this script.
Code:
#!/system/bin/sh
busybox mount -t vfat -o umask=0000 /dev/block/vold/179:61 /mnt/sdcard
busybox sleep 3
if busybox mount | grep vold/179:61; then
mount -o bind /data/media /storage/external_SD
rm /storage/external_SD/external_sd
chmod -R 777 /sdcard
chmod -R 777 /data/media
fi
Sent from my LGMS769 using XDA Premium 4 mobile app
kuma82 said:
If you have root & busybox installed you can run this script.
Code:
#!/system/bin/sh
busybox mount -t vfat -o umask=0000 /dev/block/vold/179:61 /mnt/sdcard
busybox sleep 3
if busybox mount | grep vold/179:61; then
mount -o bind /data/media /storage/external_SD
rm /storage/external_SD/external_sd
chmod -R 777 /sdcard
chmod -R 777 /data/media
fi
Sent from my LGMS769 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
where do you run this command from? i tried to run it from adb and it didn't work it said "#! wasn't found"
pitbullmommy45245 said:
where do you run this command from? i tried to run it from adb and it didn't work it said "#! wasn't found"
Click to expand...
Click to collapse
Try running with terminal app... It's there in play store...and you don't input #... You open terminal... Type su... Then try running script...
Sent from my Xperia Neo V using xda app-developers app
pitbullmommy45245 said:
where do you run this command from? i tried to run it from adb and it didn't work it said "#! wasn't found"
Click to expand...
Click to collapse
place this file "swapint2ext.txt" on your sdcard and type the following
with a terminal emulator
Code:
su
./sdcard/swapint2ext.txt [B](if on your internal sdcard)[/B]
./sdcard/external_sd/swapint2ext.txt [B](if placed in your external sd)[/B]
with adb
Code:
adb shell
su
./sdcard/swapint2ext.txt [B](if on your internal sdcard)[/B]
./sdcard/external_sd/swapint2ext.txt [B](if placed in your external sd)[/B]
There is a lot more info on the subject in the general section. Look for the titles starting with swap internal or something similar. There are like 3 different threads on the subject. I'll send you a link later with some more info, but that will be later later
kuma82 said:
place this file "swapint2ext.txt" on your sdcard and type the following
with a terminal emulator
Code:
su
./sdcard/external_sd/swapint2ext.txt [B](if placed in your external sd)[/QUOTE]
Hi,
i have "don´t permission", when i type this one in terminal emulator.
Any idea? My phone is rooted. I rename the "swapint2ext.txt in .sh", is this correct? And the path is "sdcard0", is this also correct?
And also i try to execute the "swapint2ext.sh" with the Root Explorer. Works fine, but i can´t install Fifa 14 for example. Not enough place...
Thanks Thomas
Click to expand...
Click to collapse
+1 from the above post. i tried to run it in smanager and it said permission denied. i tried to do adb and terminal on the phone and it said it couldn't find the file.
pitbullmommy45245 said:
+1 from the above post. i tried to run it in smanager and it said permission denied. i tried to do adb and terminal on the phone and it said it couldn't find the file.
Click to expand...
Click to collapse
You are getting permission denied because it needs root access. Read this
http://forum.xda-developers.com/showpost.php?p=45268460&postcount=1
More info coming Hold up.
Sent from my LGMS769 using XDA Premium 4 mobile app
kuma82 said:
You are getting permission denied because it needs root access. Hold up.
Sent from my LGMS769 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
We have root access!
thomasoeli said:
Hi,
i have "don´t permission", when i type this one in terminal emulator.
Any idea? My phone is rooted. I rename the "swapint2ext.txt in .sh", is this correct? And the path is "sdcard0", is this also correct?
And also i try to execute the "swapint2ext.sh" with the Root Explorer. Works fine, but i can´t install Fifa 14 for example. Not enough place...
Thanks Thomas
Click to expand...
Click to collapse
Read this post
http://forum.xda-developers.com/showpost.php?p=45268460&postcount=1
Sent from my LGMS769 using XDA Premium 4 mobile app
---------- Post added at 03:12 PM ---------- Previous post was at 03:05 PM ----------
More info
http://forum.xda-developers.com/showthread.php?p=36627662
http://forum.xda-developers.com/showthread.php?p=36948542
Sent from my LGMS769 using XDA Premium 4 mobile app
realbro657 said:
Hello I recently rooted because of my small internal storage that will not allow me to install apps. Like modern combat 4 and Nfs most wanted because I cannot move them to extsdcard I tried link2sd but had the same result dose anyone know if I can get apps to install to the extsdcard instead of the internal without flashing? Any help would be appreciated
Sent from my LG-P769 using xda app-developers app
Click to expand...
Click to collapse
You can also try this guide if you are still searching for solution