burtbot
20th March 2009, 03:13
helo friends, i find verry nice app on site i go to for many informations on g1 :)
app is call Gscript, will allow yuo to run script macros and such. very usful, you also can on home screenn post shortcut to script.
i attach gscript and show you few sample script, one include is to copie apps to sd card possilby to upload purchasd apps to here for us to share, right? :exactly:
nowe, with many script require root acces remember. if not work for you, look tutorials on google and join the fun!!
burtbot
20th March 2009, 03:23
scripts:
-debian run
cd /sdcard/debian #(or your debian folder here)
modprobe ext2
sh bootdeb
*note: wil only run if you haev debian installd already on sdcard. !!
-cleer all cachs
#Deletes all caches in one fell swoop :]
#Locations of the caches were taken from various sites, including xda and androidcommunity.com
#written by indiekid97
#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
-backup soudns (use BEFOR make lite!!!!!! othrwise will copy NOTHINGS)
cp -r /system/media/audio /sdcard/audio
-make lite (remove sound to sav space, for large theems)
mount -o rw,remount -t yaffs2, /dev/block/mtdblock/system
rm -r /system/media/audio/ringtones
rm -r /system/media/audio/notifications
-backup apps to sdcard
cp -a /data/app /sdcard/app
cp -a /data/app-private /sdcard/app-private
-reboot
reboot
-reboot to recov mode
reboot recovery
-auto install update.zip frrom /sdcard/wherever
echo "boot-recovery
--update_package=/sdcard/update.zip" > /cache/recovery/command
reboot recovery
ps:
back up apps script will show eror for permisions, but ignore error jsut go to sdcard and look at new folders wiht apks in them :) you see!
Ghost Rider
21st March 2009, 00:56
Yeah this app is awesome, saves a ton of time and very easy to use!
burtbot
21st March 2009, 02:12
remember, if anyone else hav useful script, very much welcomed and apreciate!
duramas
21st March 2009, 04:10
Script to remove default apps and the accompanying data file.
mount -o rw,remount -t yaffs2 /dev/block/mtdblock03 /system
rm /system/app/<app name>.apk
rm /system/app/<app name>.odex
[Only registered and activated users can see links]
These commands need superuser access.
Some of the apps you can safely remove are:
AlarmClock.apk
Email.apk
IM.apk
SoundRecorder.apk
Talk.apk
VoiceDialer.apk
com.amazon.mp3.apk
Some apps to leave alone:
gtalkservices.apk (causes error on startup)
Camera.apk (causes issues with wallpaper)
For other default apps you can navigate to "/system/app/" on your phone's internal memory using your favorite file manager.
I suggest backing up using nandroid, but I was able to remove the ones I listed without issue.
You can also use these commands from your computer to backup apps with the SDK:
for built in apps:
adb pull /system/app/xxx.apk xxx.apk
for downloaded apps:
adb pull /data/app/xxx.apk xxx.apk
Refer to this thread:
[Only registered and activated users can see links]
And these posts explain the commands:
[Only registered and activated users can see links]
[Only registered and activated users can see links]
Edit:
Oh and ignore errors relating to the file you are trying to remove not existing, only one of those last two removals will work, those files are stored differently based on region/app.
Ghost Rider
25th March 2009, 23:23
For those people who have apps to sdcard
1. Verify apps to sd card
busybox df -h
should see something like this if you were successful
/dev/mmcblk0p2 1.5G 6.3M 1.4G 0% /system/sd
/dev/block/mmcblk0p1 5.9G 61.7M 5.9G 1% /sdcard
2. View ext2
ls -l /system/sd