1. Introducing Channels - a new way to chat with other Android users!
    Dismiss Notice

GScript * Easily launch/save shell scripts from within Android UI


Last Updated:

  1. Raidersram

    Raidersram Active Member This Topic's Starter

    Joined:
    Mar 9, 2009
    Messages:
    28
    Likes Received:
    6
    [​IMG]
    This was posted by dev rogro82 on xda, this is an awesome app for all us root users!!! DONT USE UNLESS YOU KNOW HOW TO, NOT RESPONSIBLE FOR YOUR PHONE IF SOMETHING GOES WRONG Quote from site...............

    Hi all,

    Ive created a small application, for people like me who dont like typing the same thing over and over. I use it for things like tethering and reboot.

    Its basically a small database in which you can save your scripts and run them easily from within Android ( either with normal shell or su ).

    Ive decided to make it open source ( project can be found on google code, a link is listed below ), so people don't have to be afraid something else is executed as root.

    Here are some scripts that have been created so far

    script that calls the bootdeb.sh - su /sdcard/debian/bootdeb

    Make lite version for themes, basically deletes system ringtones, notifications and alarms so themes install properly on rc33 update

    mount -o rw,remount -t yaffs2, /dev/block/mtdblock /system
    rm -r /system/media/audio/ringtones
    rm -r /system/media/audio/notifications
    reboot

    Backup system sounds to sdcard -
    cp -r /system/media/audio /sdcard/audio
     

    Attached Files:


    Advertisement
  2. Raidersram

    Raidersram Active Member This Topic's Starter

    Joined:
    Mar 9, 2009
    Messages:
    28
    Likes Received:
    6
    #Deletes browser cache
    rm -R /data/data/com.android.browser/cache/webviewCache


    #Deletes Maps cache
    rm -R /data/data/com.google.android.apps.maps/files


    #Deletes StreetView
    rm -R /data/data/com.google.android.street/cache

    #Deletes Market cache
    rm -R /data/data/com.android.vending/cache

    #Deletes Tunewiki cache
    rm -R /data/data/com.tunewiki.lyricplayer.android/cache/webviewCache

    #Deletes Myspace cache
    rm -R /data/data/com.myspace.android/files

    #Deletes GMail cache
    rm -R /data/data/com.google.android.gm/cache/webviewCache

    Reboot Recovery - reboot recovery

    Reboot - reboot

    Delete Amazon .apk

    mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
    rm /system/app/com.amazon.mp3.apk

    View apps on sdcard - ls -l /system/sd/app

    View ext2 - ls -l /system/sd

    Cache to sd

    #mkdir /data/local/bin
    #cp /sdcard/transfer.sh /data/local/bin
    #chmod 0755 /data/local/bin/transfer.sh
    #transfer.sh

    If you get error message no worries, its normal and changes have went thru!
     
    -V-O-Y-A-G-E-R- likes this.

Share This Page

Loading...