Skip to content

Commit

Permalink
Updated compress script to allow updating apps
Browse files Browse the repository at this point in the history
-- Uses adb pull to grab the updated versions from the phone (Google Play)
Removed LauncherPro
Added Go Launcher Ex
Added Go Launcher Ex ICS theme
Added MX Video Player Video Plugin (For more video codec support)
  • Loading branch information
Fernando Barillas committed Apr 30, 2012
1 parent 7013882 commit 639b888
Show file tree
Hide file tree
Showing 17 changed files with 37 additions and 6 deletions.
43 changes: 37 additions & 6 deletions compress.sh
Expand Up @@ -3,14 +3,45 @@ input_file="installer.zip"
remote_dir="/sdcard"
remote_file="update.zip"

if [ "$1" == "backup" ]; then
adb push tools/data-backup /tmp/
adb push tools/data-restore /tmp/
adb push system/xbin/busybox /tmp/
adb shell 'chmod +x /tmp/*'
exit
clear

if [ "$1" == "update" ]; then
# This is where we update the apps. Normally you'll want to update the app on
# the VB install on your phone, then run this.

# TitaniumBackup is the only app that we'll grab from the web
wget -O data/app/com.keramidas.TitaniumBackupPro-1.apk http://matrixrewriter.com/android/files/TitaniumBackup_latest.apk

# All these apps we're going to pull from the phone
cd data/app
apps=(
com.alensw.PicFolder-1.apk
neldar.bln.control.free-1.apk
com.boatbrowser.free-1.apk
com.jb.gosms-1.apk
com.gau.go.launcherex-1.apk
kov.theme.ics-1.apk
com.mxtech.ffmpeg.v7_neon-1.apk
com.mxtech.videoplayer.ad-1.apk
QuickBoot.apk
com.touchtype.swiftkey.phone.trial-1.apk
name.markus.droesser.tapeatalk-1.apk
jackpal.androidterm-1.apk
)

# Now we go through each app in the list and pull it off the phone
for app in "${apps[@]}"; do
echo "Pulling ${app}"
adb pull /data/app/${app}
done

echo "Update complete. Exiting."
exit 0
fi


exit

# Main script
echo "Removing old zip file"
rm -f $input_file
Expand Down
Binary file removed data/app/LauncherPro-0.8.6.apk
Binary file not shown.
Binary file removed data/app/MX-Video-Player.apk
Binary file not shown.
Empty file modified data/app/QuickBoot.apk 100755 → 100644
Empty file.
Binary file removed data/app/Terminal Emulator.apk
Binary file not shown.
File renamed without changes.
Binary file renamed data/app/BoatBrowser.apk → data/app/com.boatbrowser.free-1.apk 100755 → 100644
Binary file not shown.
Binary file added data/app/com.gau.go.launcherex-1.apk
Binary file not shown.
Binary file renamed data/app/GoSMS.apk → data/app/com.jb.gosms-1.apk 100755 → 100644
Binary file not shown.
Binary file not shown.
Binary file added data/app/com.mxtech.ffmpeg.v7_neon-1.apk
Binary file not shown.
Binary file added data/app/com.mxtech.videoplayer.ad-1.apk
Binary file not shown.
File renamed without changes.
Binary file added data/app/jackpal.androidterm-1.apk
Binary file not shown.
Binary file added data/app/kov.theme.ics-1.apk
Binary file not shown.
File renamed without changes.
File renamed without changes.

0 comments on commit 639b888

Please sign in to comment.