popeye1128
Member
- Feb 14, 2011
- 186
- 16
Thanks for these Ridgeland. I have gotten around to using any of them but plan on checking them out. Your work is appreciated.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
#! /bin/bash
# Android/PurgeBloat.sh
# written for AndroidTablets.NET
# by member Ridgeland
# April 4, 2011
# source Stock Android 2.1 Apps List | Market 4 Android
# also reviewed http://www.androidtablets.net/forum...562-deleting-preinstalled-apps-bloatware.html
# First fill an array with the apps to be purged
# Season to taste
# declare an array
declare -a App2Purge
# Assign the values to the array
App2Purge[0]="AlarmClock.apk"
App2Purge[1]="Browser.apk"
App2Purge[2]="Calculator.apk"
App2Purge[3]="Email.apk"
App2Purge[4]="HTMLViewer.apk"
App2Purge[5]="LiveWallpapers.apk"
App2Purge[6]="LiveWallpapersPicker.apk"
App2Purge[7]="MagicSmokeWallpapers.apk"
App2Purge[8]="Phone.apk"
App2Purge[9]="PicoTts.apk"
App2Purge[10]="SoundRecorder.apk"
App2Purge[11]="TelephonyProvider.apk"
App2Purge[12]="Term.apk"
App2Purge[13]="TtsService.apk"
App2Purge[14]="VisualizationWallpapers.apk"
# echo the element count
element_count=${#App2Purge
[*]}
echo "Number of elements in App2Purge array: " $element_count
adb shell mkdir /sdcard/Android/
adb shell mkdir /sdcard/Android/StockApps/
# make a loop to copy then remove the apps in the array (just mv just doesn't work)
i="0"
while [ $i -lt $element_count ]
do
echo $i " --- " ${App2Purge[$i]}
adb shell cp /system/app/${App2Purge[$i]} /sdcard/Android/StockApps/${App2Purge[$i]}
adb shell rm /system/app/${App2Purge[$i]}
# step by 1
i=$[$i+1]
done
adb sync
adb reboot
# Android shell script - gscript
mount -o rw,remount -t yaffs2 /dev/block/mtdblock2
chmod 755 /system
#! /bin/bash
# Android/RemountSystemCyan.sh
# written for AndroidTablets.NET
# by member Ridgeland
# April 19, 2011
# Remount /system to have read+write - default is read-only
adb shell mount -o rw,remount -t yaffs2 /dev/block/mtdblock2
adb shell chmod 755 /system
#! /bin/bash
# Android/PurgeBloatCyan.sh
# written for AndroidTablets.NET
# by member Ridgeland
# April 20, 2011
# # # THIS IS ONLY FOR CYANOGENMOD ANDROID 2.2 # # #
# # # Season to taste # # #
# Fill an array with the apps to be purged
# declare an array
declare -a App2Purge
# Assign the values to the array
App2Purge[0]="Bluetooth.apk"
App2Purge[1]="Browser.apk"
App2Purge[2]="Calculator.apk"
App2Purge[3]="Calendar.apk"
App2Purge[4]="CalendarProvider.apk"
App2Purge[5]="Camera.apk"
App2Purge[6]="DeskClock.apk"
App2Purge[7]="Email.apk"
App2Purge[8]="HTMLViewer.apk"
App2Purge[9]="LiveWallpapers.apk"
App2Purge[10]="LiveWallpapersPicker.apk"
App2Purge[11]="Phone.apk"
App2Purge[12]="PicoTts.apk"
App2Purge[13]="RomManager.apk"
App2Purge[14]="SoundRecorder.apk"
App2Purge[15]="TelephonyProvider.apk"
App2Purge[16]="TtsService.apk"
App2Purge[17]="VisualizationWallpapers.apk"
App2Purge[18]="VoiceDialer.apk"
App2Purge[19]="QuickSearchBox.apk"
App2Purge[20]="CMParts.apk"
App2Purge[21]="CMPartsHelper.apk"
App2Purge[22]="CMStats.apk"
App2Purge[23]="CMWallpapers.apk"
App2Purge[24]="Protips.apk"
# echo the element count
element_count=${#App2Purge
[*]}
echo "Number of elements in App2Purge array: " $element_count
adb shell mkdir /sdcard/Android/
adb shell mkdir /sdcard/Android/StockAppsCyan/
# Remount /system to have read+write - default is read-only
adb shell mount -o rw,remount -t yaffs2 /dev/block/mtdblock2
adb shell chmod 755 /system
# make a loop to show the array's values
i="0"
while [ $i -lt $element_count ]
do
echo $i " --- " ${App2Purge[$i]}
adb shell cp /system/app/${App2Purge[$i]} /sdcard/Android/StockAppsCyan/${App2Purge[$i]}
adb shell rm /system/app/${App2Purge[$i]}
# step by 1
i=$[$i+1]
done
echo "Running sync..."
adb shell sync
echo "Running reboot..."
adb shell reboot