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 now I can’t imagine using my android phone without it.

App GScript
This isn’t new to the market, it is an app I have been using for a couple of years 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 of the time 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

App GScript

 

Here are a few of the scripts I use 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
Android market link: GScript

Have fun,

Speed. If we are getting throttled, is that a bad thing?
Smartphone Sales Overtake PC in 2011