Wednesday, 11 May 2011

App GScript

If you find yourself repeating operations on your phone then this app is for you, I can't recall exactly where I found out about this but I do know there is a good thread for this on xda.


This isn't new to the market, it is an app I have been using for about eighteen months or so now and I find it invaluable.


Back in the days of my HTC Magic I used to like moving between the two main recovery images ClockworkMod and Amon_Ra and rather than flashing the images from fastboot there is a binary you can use from the terminal called flash_image so there are input parameters needed for this like the location of the new image and what partition you are writing to, it wasn't much writing really but if you miss spelled anything you had to start over typing it all out again.


Queue GScript: What the market says Running/loading shell scripts from within Android using a single touch.

Which is basically it, you need (I think) to be rooted so you can run commands as su you can probably use it unrooted too but I have never tried it that way


What that means is that you can run scripts from the app rather than going into terminal emulator and typing out all the same stuff again and again.


Go into the UI select add script and start scripting away :)




Once you have made your scripts you can then add them to your home screen as shortcuts


Here are a few of the scripts I sue regularly:


Clear Dalvik:

cd /data/dalvik-cache/
rm *
reboot


Delete Boot Animation:

cd /system/media
rm bootanimation.zip



Add New Boot Animation:


cp /sdcard/bootanimation/bootanimation.zip /system/media/
reboot



Delete Stock CM Apps:

mount -o remount,rw /dev/block/mmcblk0p25 /system 
cd /system/app
rm CarHomeGoogle.apk
rm FileManager.apk


Mute Camera:

mount -o remount,rw /dev/block/mmcblk0p25 /system
rm /system/media/audio/ui/camera_click.ogg




Wipe Battery Stats:

cd data/system/
rm batterystats.bin



G1 xda thread
GScript Android Market link


Have fun, 







No comments:

Post a Comment