1. Check out our companion app, Forums for Android! Download from Google Play

Root [Tool] SaveMyApp - Preinstall Your Apps

Discussion in 'Android Devices' started by Steven58, Nov 17, 2010.

  1. Steven58

    Steven58 Reformed PH
    Thread Starter

    Feb 19, 2010
    Credit to csscmaster3 @ XDA

    OP NOTE: This looked very interesting to me.

    Link with d/l's: [Tool] SaveMyApp - Preinstall Your Apps - xda-developers

    Tired of having to redownload and reinstall all of your apps when you reflash your phone? SaveMyApp can help.

    This script will setup your phone so that after your flash to your favorite rom, all* of your apps will be install on the first boot. These apps will show up in the market too!

    Also, the script will allow you to backup your /data/data folder to your sdcard and then restore it after your reflash. The /data/data is where Most of your user data is stored. This is not guaranteed to fully restore everything. This also does not backup your Google, Android, or Motorola settings; this is to improve compatibility with roms.

    *The /preinstall folder is limited to 120MB, so if you have more then of apps this script will not fully work.

    This should work with all phones, however it has only been tested on the Droid 2/X.
    If you want to test this script on a different phone, let me know the /preinstall size and if it worked or not.

    v0.1.4.1 - 11/17/2010
    -Improve safety of removing /preinstall/app

    v0.1.4 - 11/16/2010
    -Added option to clear the /preinstall/app folder
    -Added messages to support clear /preinstall/app

    v0.1.3 - 11/12/2010
    -Added backup of /data/data
    -Added messages to support Data Backup

    v0.1.2 - 11/11/2010
    -Added Backup /data/app-private
    -Show /data/app size, prompt user for continue
    -Additional messages added to improve user experience

    v0.1.1 - 11/10/2010
    -First Release
    -Backup and Restore /data/app

    WARNING: This steps must be completed as listed, failure to do so may result in unexpected errors which I am not responsible for.

    1. Enable USB debugging and make sure Sdcard is mounted on phone
    1. adb push apps.sh /data
    2. adb shell
    3. cd /data
    4. chmod 775 apps.sh
    5. ./apps.sh
    a. Follow the onscreen directions
    6. Reboot and proceed to wipe and reflash
    7. On boot, wait between 5 and 10 minutes depending on how many apps you have before logging into your account. (30 apps takes about 4-5 minutes)
    8. Login to your account
    9. Droid 2/X Bootstrapper -> Bootstrap Recovery
    10. Enable USB debugging and make sure Sdcard is mounted on phone
    11. adb shell
    12. tar --overwrite -xvzf /sdcard/savemyapp/backup.tgz

    Market isn't showing apps!
    settings->applications->Manage Applications->All->Market->Force Stop, Clear data

    Why is there a MACOSX file when I extract the archive?
    Because I am lazy and I zipped it using Mac's built in archiver.

    The script isn't working right away!
    Redownload the newest script, just to make sure


  2. lexluthor

    lexluthor Well-Known Member

    May 15, 2010
    Long Island, NY
    Wouldn't it just be a lot easier to do it with Titanium backup? Or is this doing something different?
  3. Steven58

    Steven58 Reformed PH
    Thread Starter

    Feb 19, 2010
    I thought the same thing. Apparently this runs itself without having to go through titanium and selecting your apps to restore..I believe. Don't quote me, I'll deny it! ;)
  4. gmenfan83

    gmenfan83 Well-Known Member

    the only thing that i dont like is i believe it will only reinstall up to 120mb worth of apps
  5. eraursls1984

    eraursls1984 Well-Known Member

    Sep 7, 2010
    It says it syncs to the market, when I've used titanium a few apps sync but most don't
  6. Justintoxicated

    Justintoxicated Well-Known Member

    Sep 2, 2010
    Java Developer
    But Froyo and Appbrain Will do this for you as well wont they? I always backup sync app brain before flashing, just in case the OS forgets to re-install something since I'm not sure how to see what is synced with the cloud, and to keep track of apps I did not install from the market like the Droid-X Bootstrapper.

    I always just let android re-install all my apps by logging in after flashing when the phone runs setup, then reinstall data bookmarks etc (on a per app basis) selectively using ti-backup. I don't like to re-install data for apps that don't really need it.

    Just wondering why this would be any better?
  7. MikeAce00

    MikeAce00 Well-Known Member

    Sep 8, 2010
    I use TI and its pretty simple whether you hand pick the apps or batch install, its really quite simple. And my apps all sync with Market...

    I'm not sure I'm seeing the benefit here?

    What I'd like is a "SaveMyWidgets" app, I hate having to reinstall all the widgets when flashing new ROMS... also don't like setting up corporate sync email every time. Its like I forget how every frickin time lol
  8. binary visions

    binary visions Well-Known Member

    May 14, 2010

    I don't understand what this means. "Syncs" to market? You mean the market app recognizes which apps you have installed and will give you updates and stuff? Titanium Backup does this. I've done wipes of my phone probably 6 or 7 times now changing ROMs, themes, etc. and always use Titanium Backup to restore my apps, never had any that don't show updates in the market.

Share This Page