I keep seeing in other developers roms just run scripts to change things you don't like my question is how do you do that
I keep seeing in other developers roms just run scripts to change things you don't like my question is how do you do that
scripts are just a series of linux commands that run in sequence...
if you have a bash script created you need to "chmod u+x" to make it executable then just run the file either in adb shell or via a root terminal on the phone.
to run the file the command would be "./samplascript" without the quotes
A script is like a batch file in windows. Anything you do often you can put into a script so you don't have to type it all out again.
For instance, if you want to remove something you can do the following:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system
rm /system/app/SomeSortOf.apk
mount -o remount,ro -t yaffs2 /dev/block/mtdblock4 /system
or you can put all of the above into a script file and and then run:
rmSomeSortOfApk
and then run that instead
Chris
If you apply a rom or theme - backup first!
If you don't know how to backup...Stop until you do.
hint: I name my backups like this: sg6.0_20100428 or ss4.2_20100626 to easily find them later. rom and date.
Have a Problem, Click here to Visit the Rescue Squad