[SCRIPT] Set minimum backlight setting on boot. - Atrix 4G Android Development

This is a script I put together to use in conjunction with RogerPodacter's MOD for minimum backlight brightness from this thread: http://forum.xda-developers.com/showthread.php?t=1245332
1. You must first be running one of these 3 ROMs
-Cyanogen PreBeta 3, 4, or Beta (the PreBeta 4 frameworks work on CM7 Beta)
-HomeBase
-4.5.91 Stock (I have not tested the stock rom, if it supports init.d then it will work)
2. Flash one of the framwork.zip that corresponds with the ROM you are running from the thread linked at the top of this post then reboot.
3. Download the file using your computer, then copy it over to your phone.
4. Using RootExplorer or some other root filemanager, copy and paste the file into system/etc/init.d folder. Set the permissions, reboot and your done. This sets the minimum brightness to
Code:
echo 17 05 > registers
You can change this by editing the script with the built in text editor in RootExplorer.
If you do not know how to set the permissions in RootExplorer, using terminal run these commands:
Code:
su
chmod 0777 /system/etc/init.d/97minbacklight
Directions to install script from your computer:
Code:
adb push 97minbacklight /system/etc/init.d/
Set permissions
Code:
adb shell chmod 0777 /system/etc/init.d/97minbacklight
Reboot
As I said before, I have tested this on HomeBase and CM7. Not stock!
Link to script: (download using your computer, right click and select Save Link As...)
http://dl.dropbox.com/u/3722804/97minbacklight

Hi I dont have an init.d folder in system/etc/. What can I do?

eriktch said:
Hi I dont have an init.d folder in system/etc/. What can I do?
Click to expand...
Click to collapse
What ROM are you running?
Sent from my Atrix using XDA Premium

Home Base 2.2+ 4.9

Is this any different than the auto brightness setting in cm7?
Sent from my MB860 using Tapatalk

Clienterror said:
Is this any different than the auto brightness setting in cm7?
Sent from my MB860 using Tapatalk
Click to expand...
Click to collapse
this lowers the voltage to your backlight, allowing you to make the screen a lot darker.

Alcapone263 said:
this lowers the voltage to your backlight, allowing you to make the screen a lot darker.
Click to expand...
Click to collapse
So even though cm7 let's you set your brightness at "1" which is barely anything this makes it more dim? I don't think I'd be able to see it if it got any more dim even in pitch black.
Sent from my MB860 using Tapatalk

eriktch said:
Home Base 2.2+ 4.9
Click to expand...
Click to collapse
I tested it on HomeBase 3.1 DeBlur. Try using root explorer and creating the init.d folder in system/etc/ then copy and paste the 97minbacklight inside.
Sent from my Atrix using XDA Premium
---------- Post added at 03:26 PM ---------- Previous post was at 03:17 PM ----------
Clienterror said:
Is this any different than the auto brightness setting in cm7?
Sent from my MB860 using Tapatalk
Click to expand...
Click to collapse
I am currently running CM7 and using this setting it is darker, but just enough to make the phone the dimmest it can be without loosing visuals. Before using this script setting, the brightness in CM7, to me, never went below the default experienced in all the other ROMs including stock.

Thanks for this... 02 was a little too dark.. the 05 is perfect, and I like the fact that it can easily be edited!

amwbt said:
Before using this script setting, the brightness in CM7, to me, never went below the default experienced in all the other ROMs including stock.
Click to expand...
Click to collapse
did you try editing the brightness levels in CM settings to put the lower level at '2'? 2 is the lowest, but by default it is set to 20.

dLo GSR said:
did you try editing the brightness levels in CM settings to put the lower level at '2'? 2 is the lowest, but by default it is set to 20.
Click to expand...
Click to collapse
Just did. Still doesn't go as low as me running my script commands in terminal.
Edit: Nevermind, lol, figured it out.
Sent from my Atrix using XDA Premium

Related

[Tools] – SU/BusyBox/Misc – Galaxy Tab 10.1 (Update: 6/18/11)

-SU/BusyBox/Misc Tools/Utilities for the Samsung Galaxy Tab 10.1
-Compiled from CyanogenMod's, CM7 repo for Harmony, and use the supplied update-script as a base
-Statically compiled busybox-1.18.4 with optimisations used for gtab-2632, via CodeSourcery’s 2009q1-203
-VI/VIM/HTOP/SSH/DropBear/BASH, etc., etc.
-set ro.secure=0 (adb root shell)
http://droidbasement.com/db-blog
Awesome, thanks for this. Any specifications on what the "misc tools/utilities" are besides busybox and SU?
Thanks worked great! Now to get Netflix/Hulu working..
kentoe said:
Awesome, thanks for this. Any specifications on what the "misc tools/utilities" are besides busybox and SU?
Click to expand...
Click to collapse
check in xbin and some things in bin as well.
Tools – SU/BusyBox/Misc – Galaxy Tab 10.1 - http://droidbasement.com/db-blog
I try it not working will
B.r.
Sent from my GT-P7510 using Tapatalk
??
It flashes, boots and works fine (I've flashed multiple times).
Did you follow the instructions?
This is made for the galaxy tab IO version (altho it would probably boot on the 'v' also, provided you have a recovery which can flash test key signed images).
sweet thanks a lot been wanting sqlite3! Do you know is it possible to add python to the mix? I've been able to get the python binary working on the tab but don't know how to link up the libraries.
Ill look in to it.
pershoot said:
??
It flashes, boots and works fine (I've flashed multiple times).
Did you follow the instructions?
This is made for the galaxy tab IO version (altho it would probably boot on the 'v' also, provided you have a recovery which can flash test key signed images).
Click to expand...
Click to collapse
It I/o edition
All done well but when using some apps like titanium backup or screen shot
First time ask for root I allow it
Then when I run it again it says no root
Where's the problem ?
Sent from my GT-P7510 using Tapatalk
sadlove said:
It I/o edition
All done well but when using some apps like titanium backup or screen shot
First time ask for root I allow it
Then when I run it again it says no root
Where's the problem ?
Sent from my GT-P7510 using Tapatalk
Click to expand...
Click to collapse
Check the superuser app. Clear cache for it and ensure you are saving the state of the allowance.
pershoot said:
Check the superuser app. Clear cache for it and ensure you are saving the state of the allowance.
Click to expand...
Click to collapse
Still same problem !!!
Sent from my GT-P7510 using Tapatalk
Try to delete the app completly(with data for it), and reflash.
Works fine over here (ex: su state is saved and always launches and going to app shows su as saved).
pershoot said:
Try to delete the app completly(with data for it), and reflash.
Works fine over here (ex: su state is saved and always launches and going to app shows su as saved).
Click to expand...
Click to collapse
All apps su are saved with no problem but when I try to run the apps again it shows no root all
Sent from my GT-P7510 using Tapatalk
Post logs if you can't get it to go after full deletion and reflash.
Just tested with autostarts.
Works fine (tested twice, each time closing the app and relaunching).
After flashing this I now have two su files. One in xbin and one on bin. Its causing issues with some apps can not get su access. Any idea how to fix?
Sent from my GT-P7510 using XDA Premium App
schwiz said:
After flashing this I now have two su files. One in xbin and one on bin. Its causing issues with some apps can not get su access. Any idea how to fix?
Sent from my GT-P7510 using XDA Premium App
Click to expand...
Click to collapse
this does not put an su file/binary in bin.
you must have had other things in prior to flashing this.
remove the su file from bin, and reflash the .zip for good measure (in case you have broken links elsewhere, etc.).
That fixed it thanks. Not sure how the other su got there just followed root instructions from other thread
Sent from my GT-P7510 using XDA Premium App
when you flash this you will be rooted/have root capabilities when you return to the OS, so there is no need to do another method on top of this.

Overcome 2.0.0 RC1 Unthemed?

Is it possible to untheme the RC1 rom?
I'm thinking about going back from gold because of video issues. RC1 was perfect for me with exception of the theme.
Sent from my GT-P1000 using XDA App
amujee said:
Is it possible to untheme the RC1 rom?
I'm thinking about going back from gold because of video issues. RC1 was perfect for me with exception of the theme.
Sent from my GT-P1000 using XDA App
Click to expand...
Click to collapse
if u know what u are duin . just go trough the framework and systemUI , and make the change there ? if u don't know what u are doing , check my theme for RC1 ... maybe u'll like it
amujee said:
Is it possible to untheme the RC1 rom?
I'm thinking about going back from gold because of video issues. RC1 was perfect for me with exception of the theme.
Sent from my GT-P1000 using XDA App
Click to expand...
Click to collapse
Same video issues - had to edit stagfright media player in blade buddy app to get rid of stutter.
Then changed build.prop to make settings permanent. However, not all codecs play on this but i found flash, h264 work fine.
Might help.
hi,
for untheme the overcome 2.0.0-rc1, just do it in recovery:
- extract system/app/SystemUI.apk from overcome-2.0.0-b2 and copy to /system/app in your phone
- extract system/framework/framework-res.apk and system/framework/framework.jar from overcome-2.0.0-b2 and copy to /system/framework in your phone
- do permission of the 3 files to 0644
- reboot
bartito said:
hi,
for untheme the overcome 2.0.0-rc1, just do it in recovery:
- extract system/app/SystemUI.apk from overcome-2.0.0-b2 and copy to /system/app in your phone
- extract system/framework/framework-res.apk and system/framework/framework.jar from overcome-2.0.0-b2 and copy to /system/framework in your phone
- do permission of the 3 files to 0644
- reboot
Click to expand...
Click to collapse
By 0644, he means to select;
Read Write
Read
Read
Sent from my GT-P1000 using XDA Premium App
if you dont have access to b2, try the ones from b1.
i attach the files from b1. i dont have b2 at this moment
GANJDROID said:
By 0644, he means to select;
Read Write
Read
Read
Sent from my GT-P1000 using XDA Premium App
Click to expand...
Click to collapse
if you replace the framework-res.apk using root explorer, you provably (soft) brick your device.
i recommend to replace the framework-res in recovery mode, using "adb push framework-res.apk /system/framework" command and "adb shell chmod 0644 /system/framework/framework-res.apk"
Thanks for everyone's reply.
I'll try your method bartito once I do my full install of RC1.
And thank you for the files from b1, I don't have access to either betas.
What about using the files from gold? I compared the file sizes and modified dates and they are the same from the b1. I guess it doesn't matter then?
On second thought, couldn't I just replace the necessary files in the RC1 and then do the full install as normal?
I went ahead and replaced the two framework files and systemui file inside the RC1 zip file and did the full install starting from the gb stock 1. I skipped re-stock this time, hopefully I won't have any problems in the future. But everything seems to be working as before with stock theme!
One thing I am not sure about is that total internal memory shows 12.83gb. I think I had more than that when I previously had RC1. Maybe just my imagination.

[APP] ICS Launcher With 3/7 Home Screens

I find it very annoying that the stock launcher comes with 5 screens and you are completely unable to add or remove any of them. I have never needed or used more than 3 screens so it is quite inconvenient to have a launcher with 5 screens that I cannot edit. So, I decompiled the stock ICS launcher and edited the layout to contain 3 screens. I would add an option to edit the screen count in the app itself but I have not compiled ICS on my computer and I do not plan to do so (at least until I upgrade my RAM).
I have also uploaded a version with 7 screens. I tried to allow screen rotation as well but ran into some issues when editing the AndroidManifest.xml. I'll see if I can get it working though.
Download 3 screens: http://www.multiupload.com/ZE4AY4IUM2
Download 7 screens: http://www.multiupload.com/ECCSUYTKI8
To install (rename to Launcher2.apk)
via adb:
Code:
adb push /path/to/downloaded/Launcher2.apk /system/app/
via root file manager:
- copy modified Launcher2.apk to sdcard. Copy from sdcard to /system/app/ and overwrite existing Launcher2.apk
matt_stang said:
I find it very annoying that the stock launcher comes with 5 screens and you are completely unable to add or remove any of them. I have never needed or used more than 3 screens so it is quite inconvenient to have a launcher with 5 screens that I cannot edit. So, I decompiled the stock ICS launcher and edited the layout to contain 3 screens. I would add an option to edit the screen count in the app itself but I have not compiled ICS on my computer and I do not plan to do so (at least until I upgrade my RAM).
I may upload a version with 7 home screens if anyone would be interested. Also a version which supports screen rotation. If anyone wants it let me know, as I do not.
Download: http://www.multiupload.com/ZE4AY4IUM2
To install (rename to Launcher2.apk)
via adb:
Code:
adb push /path/to/downloaded/Launcher2.apk /system/app/
via root file manager:
- copy modified Launcher2.apk to sdcard. Copy from sdcard to /system/app/ and overwrite existing Launcher2.apk
Click to expand...
Click to collapse
downloading now, will report back. what did you use to decompile? i was using apk manager 4.9 when i was on the Epic but that was failing to decompile (i wanted to mess around myself). i updated apktool.jar and smali/baksmali and still no go.
Thanks. I would like a 7 home screen launcher if u don't mind. . That would be great.
Sent from my Nexus S 4G using xda premium
If you could do a 3 screen version that can rotate I would flash instantly
Sent from my Nexus S 4G using Tapatalk
Bookmarking to flash tomorrow.. Good work
ps. Screen Rotation - HELL YES. Definitely upload please!
adaimespechip said:
ps. Screen Rotation - HELL YES. Definitely upload please!
Click to expand...
Click to collapse
Check in themes and apps section
Sent from my Nexus S using XDA App
amosher13 said:
downloading now, will report back. what did you use to decompile? i was using apk manager 4.9 when i was on the Epic but that was failing to decompile (i wanted to mess around myself). i updated apktool.jar and smali/baksmali and still no go.
Click to expand...
Click to collapse
I second this question. I'm having a lot of trouble working on ics apks.
Sent from my Nexus S using xda premium
amosher13 said:
downloading now, will report back. what did you use to decompile? i was using apk manager 4.9 when i was on the Epic but that was failing to decompile (i wanted to mess around myself). i updated apktool.jar and smali/baksmali and still no go.
Click to expand...
Click to collapse
jakeisouttolunch said:
I second this question. I'm having a lot of trouble working on ics apks.
Sent from my Nexus S using xda premium
Click to expand...
Click to collapse
I had some trouble too but realized you need a modified apktool.jar. I got it from the issues page on apktool. Here's the link: http://www.multiupload.com/YWJHOSZ7GJ
Just replace your current apktool.jar (I am assuming you use apktool) with this one.
Awesome, thank you much!
Sent from my Nexus S 4G using Tapatalk
--
EDIT: dropped in the new apktool and i still get errors decompiling, any ideas? did you just drag and drop? (yes i renamed to apktool.jar)
thank you
could u make one with only one screen ?
matt_stang said:
I had some trouble too but realized you need a modified apktool.jar. I got it from the issues page on apktool. Here's the link: http://www.multiupload.com/YWJHOSZ7GJ
Just replace your current apktool.jar (I am assuming you use apktool) with this one.
Click to expand...
Click to collapse
You also need to update your SDK package and pull the newest aapt.exe from the platform-tools folder and place that in APK Manager along with the updated APK Tool.
The new apktool gets you decompiling but you need the aapt.exe to complete the package so you can re compile....
DynamicRam said:
thank you
could u make one with only one screen ?
Click to expand...
Click to collapse
Ditto for me too?
Sent from my Nexus S using xda premium
Yes, I'd love a one screen version too!! Plz
you think it's possible to use in NO ics rom?it's only for ICS rom?
If anyone is interested, I've created one with 1 homescreen here:
http://forum.xda-developers.com/showthread.php?t=1373851
Can you add the modifications brenix added in the one homescreen launcher?
I'm having trouble installing. After you copy and overwrite in the system/app folder what do now?
Sent from my Nexus S 4G using xda premium
RushAOZ said:
I'm having trouble installing. After you copy and overwrite in the system/app folder what do now?
Sent from my Nexus S 4G using xda premium
Click to expand...
Click to collapse
ordinarily, you would fix permissions to rw-r--r-- and reboot
or if adb:
adb shell chmod 644 /system/app/Launcher2.apk
adb reboot
.. or reboot into recovery -- advanced, fix permissions. But I was having trouble with FCing after. Anyone else? I'm gonna give it another go. Realllly need 2 more screens
decalex said:
ordinarily, you would fix permissions to rw-r--r-- and reboot
or if adb:
adb shell chmod 644 /system/app/Launcher2.apk
adb reboot
.. or reboot into recovery -- advanced, fix permissions. But I was having trouble with FCing after. Anyone else? I'm gonna give it another go. Realllly need 2 more screens
Click to expand...
Click to collapse
Fixed permissions. Still not getting an option for ics launcher when I reset defaults in launcher pro
Sent from my Nexus S 4G using xda premium
Ok, I just tried this again. I dl the file on my pc. Renamed to launcher2.apk. pushed it to my sd card. Opened root explorer. Copied file. Went to system/app. Enabled r/w. Hit paste. Overwrite. Reboot into recovery. Advanced/fix permissions. Reboot. Still nothing. Am I doing something wrong here? Btw running cm7 nightlies 174.
Sent from my Nexus S 4G using xda premium

[Q] GingerDX v29 Overclock doesn't work

i am using GingerDX v29 and i when i installed the rom i installed the overclocking zip. Then i downloaded the SetCPU app and i clicked on the recommended settings, then it didn't let me overclock over 600mhz. i tried reinstalling the rom and it installing it again and it still doesn't work. it worked fine with GingerDX v28b. i think its something to do with the overclock module not being compatible with v29.
I am using stock kernel.
[UPDATE]
i fixed it, all i had to do was to delete the # in system/etc/hw_config.sh file
gagan_sj said:
i am using GingerDX v29 and i when i installed the rom i installed the overclocking zip. Then i downloaded the SetCPU app and i clicked on the recommended settings, then it didn't let me overclock over 600mhz. i tried reinstalling the rom and it installing it again and it still doesn't work. it worked fine with GingerDX v28b. i think its something to do with the overclock module not being compatible with v29.
Click to expand...
Click to collapse
You didn't need to reinstall. I take it you are using the stock kernel?
Go back to the GingerDX thread and reread the first post. In it, it explains how to activate the overclock module.
I've got the exact same problem. There is nothing on the first post. I tried to manually install de x8oc.ko, I tried the cwm automatic instalation, I tried using set cpu, antutu cpu, nothing works....
I think the module doesn't work with v29
Sent from my X8 using xda app-developers app
I have v29 and the overclock works but u can't set it at which MHz u want.But u still have the governors. If it's not enough for you,u can simple download an oveclock app from the market.
PRESS THE FU¢√!NG THANKS BUTTON
It's my matter how I send this.
Everyone I fixed it! Just got the hw_config file and the find the overclock module then take the # out of the module
Sent from my X8 using xda app-developers app
highfive!
i uncomment those x8oc location configuration inside these files( hw_config.sh.bak , hw_config.sh , hw_config.bak.bak)
don't know if the other 2(w/ .bak) are useless coz the files got the same code inside,.
thanks for the thread btw :highfive:
sorry for my sh*tty english^^
Ronald Rosanes said:
i uncomment those x8oc location configuration inside these files( hw_config.sh.bak , hw_config.sh , hw_config.bak.bak)
don't know if the other 2(w/ .bak) are useless coz the files got the same code inside,.
thanks for the thread btw :highfive:
sorry for my sh*tty english^^
Click to expand...
Click to collapse
Afaik .bak files are backups.
Sent from my rooted tomato using xda app
cascabel said:
Afaik .bak files are backups.
Sent from my rooted tomato using xda app
Click to expand...
Click to collapse
owh,. just like in database ,.but why when i reboot without set on boot option on governors,. a clone of hw_sh.bak files was generated and the x8oc.ko module was not working again and need to uncomment again the location config,.
Ronald Rosanes said:
owh,. just like in database ,.but why when i reboot without set on boot option on governors,. a clone of hw_sh.bak files was generated and the x8oc.ko module was not working again and need to uncomment again the location config,.
Click to expand...
Click to collapse
delete the .bak files. i read somewhere here in xda that sometimes you need to delete the .bak files for the new files to work. not 100% sure though. and not all files behave like this from what i've read.
Sent from my rooted tomato using xda app
weird!!
cascabel said:
delete the .bak files. i read somewhere here in xda that sometimes you need to delete the .bak files for the new files to work. not 100% sure though. and not all files behave like this from what i've read.
Sent from my rooted tomato using xda app
Click to expand...
Click to collapse
my frequencies are acting weird!,. i install the x8oc.ko module manually by moving it to /system/lib/module then i uncomment the location config inside hw_config.sh then reboot,. then a hw_config.bak file generated and i uncomment again then reboot then another hw_config.bak.bak file generated again but this time i deleted the two .bak files ,. then visited the CPU settings and confirmed successfully overclocked to 691(max)
BUT AFTER A FEW MINUTES AFTER TURN THE SCREEN OFF(not reboot) MY MAX CPU RETURN TO 600 MHz (,. then i try to reboot again then it return to 691 and then again when the screen turns off it return to 600(
Note: make sure you have downloaded SetCPU app
1.First install the overclock .zip files one.
2.Then Go to the original hw.config.
Scroll through and try and find 'modules'
3.Then in the modules it should have the 'x8oc' line.
4.On the beginning of that line there should be a # sign.
5.Remove the # sign and reboot.
6.After that check SetCPU.
Press thanks if I helped
Sent from my X8 using xda app-developers app
?
gagan_sj said:
Note: make sure you have downloaded SetCPU app
1.First install the overclock .zip files one.
2.Then Go to the original hw.config.
Scroll through and try and find 'modules'
3.Then in the modules it should have the 'x8oc' line.
4.On the beginning of that line there should be a # sign.
5.Remove the # sign and reboot.
6.After that check SetCPU.
Press thanks if I helped
Sent from my X8 using xda app-developers app
Click to expand...
Click to collapse
i already did that and it can be done without the SetCPU app and i successfully overclocked my W8(691 max)
my problem is when i turn the screen off and wait for like 10 mins,. it returns to its normal clock speed(600 max)

[Q] Software buttons?

Is there any way how I can disable my 3 physical buttons, and trade them for 3 software buttons?
Please be more specific, at least tell us what ROM you're using...
luuk.vandeven said:
Is there any way how I can disable my 3 physical buttons, and trade them for 3 software buttons?
Click to expand...
Click to collapse
i think someone was able to do this by adding a code to the build.prop.
BlackDuty said:
Please be more specific, at least tell us what ROM you're using...
Click to expand...
Click to collapse
I'm running on cyanogenmod 10.1 nighty so android 4.2.2
a month ago I search for the screen buttons and there are the steps.
open a file manager with root ( Solid Explorer or Root Explorer), go to /system and open build.prop (backup it!!):thumbup:
add this line at the end of the file build.prop:
qemu.hw.mainkeys=0
restart your phone.
nicely done!
but i don't know how to disable physic buttons, someone know how?
sorry for my bad english
Sent from my LG-P880 using xda app-developers app
UncleRipper said:
a month ago I search for the screen buttons and there are the steps.
open a file manager with root ( Solid Explorer or Root Explorer), go to /system and open build.prop (backup it!!):thumbup:
add this line at the end of the file build.prop:
qemu.hw.mainkeys=0
restart your phone.
nicely done!
but i don't know how to disable physic buttons, someone know how?
sorry for my bad english
Sent from my LG-P880 using xda app-developers app
Click to expand...
Click to collapse
Thank you very much!
I will try this out tomorrow, but I found out how to disable the physical buttons in cyanogenmod 10.1, it's really east, you can just disable them in the phone settings. the only problem is that they will still light up when you're touching the screen, does somebody know how to disable that?
I'm running my o4x with cyanogenmod 10.1 so android 4.2.2
hit the thanks button please!!
I need that
Sent from my LG-P880 using xda app-developers app
---------- Post added at 10:36 AM ---------- Previous post was at 10:19 AM ----------
Prerequisites:
Root
SManager (play store)
SManager widget (play store)
Your phone
this script: https://www.dropbox.com/s/iz6t5eql0w2kzxd/softkeyscript.zip
First install the app SManager and accept the SU request.
Use a root file browser and move the script from the SD Card your system/etc/init.d folder
Go into SManager and locate the 2 scripts. Click on them and tap the little star button in the top left to make them a favorite. And click the little SU icon while your at it! (optional: click also on run on boot the gear near "su" command)
Add the widget to your home screen, run the script and turn off the display and then turn it back on.
Enjoy a light free phone
Sent from my LG-P880 using xda app-developers app
to disable the button remap they!
Use "button remapper" (search it on google cause isn't on play store) and assign "focus" to home, back and menu buttons.
The app is simple to use and the values to change are last in the list.
focus work only when you are on camera app.
Sent from my LG-P880 using xda app-developers app
UncleRipper said:
a month ago I search for the screen buttons and there are the steps.
open a file manager with root ( Solid Explorer or Root Explorer), go to /system and open build.prop (backup it!!):thumbup:
add this line at the end of the file build.prop:
qemu.hw.mainkeys=0
restart your phone.
nicely done!
but i don't know how to disable physic buttons, someone know how?
sorry for my bad english
Sent from my LG-P880 using xda app-developers app
Click to expand...
Click to collapse
Got it! Only having some trouble stopping the physical buttons from lighting up..
but what phone you have?
my buttons are different.:sly:
EDIT: you use a theme, don't you??
Sent from my LG-P880 using xda app-developers app
Haha, no I've got a 4x HD running cyanogenmod 10.1 with the alloy red theme (which looks very dope)
Sent from my LG-P880 using xda app-developers app
UncleRipper said:
hit the thanks button please!!
I need that
Sent from my LG-P880 using xda app-developers app
---------- Post added at 10:36 AM ---------- Previous post was at 10:19 AM ----------
Prerequisites:
Root
SManager (play store)
SManager widget (play store)
Your phone
this script: https://www.dropbox.com/s/iz6t5eql0w2kzxd/softkeyscript.zip
First install the app SManager and accept the SU request.
Use a root file browser and move the script from the SD Card your system/etc/init.d folder
Go into SManager and locate the 2 scripts. Click on them and tap the little star button in the top left to make them a favorite. And click the little SU icon while your at it! (optional: click also on run on boot the gear near "su" command)
Add the widget to your home screen, run the script and turn off the display and then turn it back on.
Enjoy a light free phone
Sent from my LG-P880 using xda app-developers app
Click to expand...
Click to collapse
I managed to get it right, and it works fine. The lights will still show about 5 seconds after boot, but when the script starts running they dissapear, so that's good to me. So thank you very much!

Categories

Resources