DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!
Page 1 of 10 123 ... LastLast
Results 1 to 10 of 98

Thread: SS 4.x - bkapps and rstapps - What R They?

  1. Developer
    ChevyNo1's Avatar
    Member #
    20299
    Join Date
    Dec 2009
    Posts
    5,355
    Liked
    26 times
    Phone
    Enter Current Phone Here
    DroidForums.net Developer
    Premium Member
    #1

    Cool SS 4.x - bkapps and rstapps - What R They?

    bkapps/rstapps


    These two scripts are certain to become your total backup/restore procedure if you flash ROMS as frequently as I do! They are still a work in progress, so I welcome comments and suggestions. In addition, there is some new functionality in 4.1 only; it's option is simply '-c':

    bkapps -c and
    rstapps -c

    This option is to be used alone, no others apply. This represents a COMPLETE backup/restore. What do I mean by complete? EVERYTHING, with the exception of on-screen widgets. If you know how they are programmed that would be obvious as to why. So, this even includes all of your accounts, Google/Facebook/Corporate/Twitter, and background wallpaper. It even includes your MMS messages!

    How quick are they?

    How about 46 seconds to backup 51 market apps, including all data, mms, etc?

    How about 2 minutes, 26 seconds, to restore all of that back?




    Note that only '-c' saves everything. '-a' will back up apps + data, but no accounts, no mms, desktop, etc.

    I will also note this, since I've stated this is a 'progress in works': Either use just '-c' or just '-a' along with app lists; the two right now are not playing well together. I recommend '-c' since it does everything, and I presume that's what 99% of you are looking for. In addition - this currently only stores ONE backup. Which means if you have a full backup taken, and you accidentally run bkapps again say on a fresh ROM with no apps ... you just blew away your backup. So only run this when you are doing a FULL backup. Future version will allow for multiple.




    BKAPPS

    Usage: bkapps -a [app1 app2 app3]

    -a -> Backup ALL apps and their data
    -c -> COMPLETE backup, including accounts, mms msgs, desktop, etc

    App lists are separated by spaces

    If you specify -a, everything will be backed up.
    If you want only certain apps, specify them without
    the -a option. In addition, only partial names of
    apps need to be specified, ie faceb will match on
    com.facebook.katana.

    Use rstapps to restore.




    RSTAPPS

    Usage: rstapps [app1 app2 app3] -a -f -np -nd -p -x [app1 app2 app3]

    -a -> Restore ALL apps and their data
    -c -> COMPLETE restore, including accounts, mms msgs, desktop, etc
    -f -> force reinstallation, even if local is more recent
    -np -> Don't set permissions
    -nd -> Don't restore data files
    -x -> Exclude following apps from restoration
    -p -> Fix permissions only

    App lists are separated by spaces; the list ends when the next
    parameter (ie. -f) is specified.

    In addition, only partial names of apps need to be specified,
    ie faceb will match on com.facebook.katana.

    NOTE: If apps are running when you try to restore them, they WILL be killed
    Last edited by ChevyNo1; 06-16-2010 at 10:40 AM.
    D1 GB (10/17/2011) - Simply Stunning Gingerbread v5.6 (2.3.7) - from Source - 10/17/2011
    DX GB (10/17/2011) - Simply Stunning X Gingerbread v2.2 (2.3.7, GB Kernel) - from Source - 10/17/2011

    Follow me on Twitter @ http://twitter.com/ChevyNo1Droid

    If you enjoy my ROM's, feel free to help support my efforts by donating. I spend quite a few hours making sure you get the best ROM out there Your support is much appreciated! Paypal
  2.  
     
     
     
  3. Droid
    joshk's Avatar
    Member #
    77665
    Join Date
    Jun 2010
    Location
    Far Far Away....
    Posts
    43
    Phone
    Moto Droid - SS 4.6!!
    #2
    When I run terminal emulator on my phone I get permission denied no matter what I try to run. For instance I just tried bkapps -a and it says denied but then says be patient then says cant open /data/data
    cannot create /sdcard/chevyno1/apps/myapps.1st:: directory nonexsistant

    Says the above a couple times then finishes by saying all apps backed up??? Am I an idiot or doing something wrong. Thanks in advance for anyone who helps. By the way its all command or scripts I try not just backup or restore.

    JOSH
  4. Developer
    ChevyNo1's Avatar
    Member #
    20299
    Join Date
    Dec 2009
    Posts
    5,355
    Liked
    26 times
    Phone
    Enter Current Phone Here
    DroidForums.net Developer
    Premium Member
    #3
    Quote Originally Posted by joshk View Post
    When I run terminal emulator on my phone I get permission denied no matter what I try to run. For instance I just tried bkapps -a and it says denied but then says be patient then says cant open /data/data
    cannot create /sdcard/chevyno1/apps/myapps.1st:: directory nonexsistant

    Says the above a couple times then finishes by saying all apps backed up??? Am I an idiot or doing something wrong. Thanks in advance for anyone who helps. By the way its all command or scripts I try not just backup or restore.

    JOSH
    Hi Josh, there was a 'bug' in the first implementation of bkapps - if you make sure to create the directory on your sdcard first (chevyno1/apps) it should work. This is fixed in the next release.
    D1 GB (10/17/2011) - Simply Stunning Gingerbread v5.6 (2.3.7) - from Source - 10/17/2011
    DX GB (10/17/2011) - Simply Stunning X Gingerbread v2.2 (2.3.7, GB Kernel) - from Source - 10/17/2011

    Follow me on Twitter @ http://twitter.com/ChevyNo1Droid

    If you enjoy my ROM's, feel free to help support my efforts by donating. I spend quite a few hours making sure you get the best ROM out there Your support is much appreciated! Paypal
  5. Droid
    joshk's Avatar
    Member #
    77665
    Join Date
    Jun 2010
    Location
    Far Far Away....
    Posts
    43
    Phone
    Moto Droid - SS 4.6!!
    #4
    Thanks for the quick reply!!

    JOSH
  6. Droid
    stewp97's Avatar
    Member #
    44817
    Join Date
    Mar 2010
    Posts
    31
    Phone
    DROID
    #5
    I think I got it to work. I have a file called /sdcard/chevyno1/apps/backup.tgz It is 5231374 bytes in size. I will try a restore when I update to 4.1 Thanks for your work on it!

    peter
  7. Droid
    stewp97's Avatar
    Member #
    44817
    Join Date
    Mar 2010
    Posts
    31
    Phone
    DROID
    #6
    I wiped and installed 4.1. After I rstapps -c and rebooted the phone a couple of times with a battery pull, I was getting FCs on most apps. I tried the ulv kernel as well since it worked well on 4.0 for me. Same FCs. I ended up re-wipping and reinstalled a nandroid backup of 4.0, then upgraded to 4.1 without wipping. Everything seems to working fine now.

    peter
  8. Developer
    ChevyNo1's Avatar
    Member #
    20299
    Join Date
    Dec 2009
    Posts
    5,355
    Liked
    26 times
    Phone
    Enter Current Phone Here
    DroidForums.net Developer
    Premium Member
    #7
    Quote Originally Posted by stewp97 View Post
    I wiped and installed 4.1. After I rstapps -c and rebooted the phone a couple of times with a battery pull, I was getting FCs on most apps. I tried the ulv kernel as well since it worked well on 4.0 for me. Same FCs. I ended up re-wipping and reinstalled a nandroid backup of 4.0, then upgraded to 4.1 without wipping. Everything seems to working fine now.

    peter
    OK thanks for the feedback - hmmm, odd. I've tested this exact scenario myself several times ...
    D1 GB (10/17/2011) - Simply Stunning Gingerbread v5.6 (2.3.7) - from Source - 10/17/2011
    DX GB (10/17/2011) - Simply Stunning X Gingerbread v2.2 (2.3.7, GB Kernel) - from Source - 10/17/2011

    Follow me on Twitter @ http://twitter.com/ChevyNo1Droid

    If you enjoy my ROM's, feel free to help support my efforts by donating. I spend quite a few hours making sure you get the best ROM out there Your support is much appreciated! Paypal
  9. Droid
    stewp97's Avatar
    Member #
    44817
    Join Date
    Mar 2010
    Posts
    31
    Phone
    DROID
    #8
    Quote Originally Posted by ChevyNo1 View Post
    OK thanks for the feedback - hmmm, odd. I've tested this exact scenario myself several times ...
    Could always be user error too!

    I did log into my Google account before I did the restore, and I think my apps started to download automatically from the market before I did the restore. I wonder if that might have been the problem?
  10. Developer
    ChevyNo1's Avatar
    Member #
    20299
    Join Date
    Dec 2009
    Posts
    5,355
    Liked
    26 times
    Phone
    Enter Current Phone Here
    DroidForums.net Developer
    Premium Member
    #9
    Quote Originally Posted by stewp97 View Post
    Quote Originally Posted by ChevyNo1 View Post
    OK thanks for the feedback - hmmm, odd. I've tested this exact scenario myself several times ...
    Could always be user error too!

    I did log into my Google account before I did the restore, and I think my apps started to download automatically from the market before I did the restore. I wonder if that might have been the problem?
    That is a possibility - I'll test it out
    D1 GB (10/17/2011) - Simply Stunning Gingerbread v5.6 (2.3.7) - from Source - 10/17/2011
    DX GB (10/17/2011) - Simply Stunning X Gingerbread v2.2 (2.3.7, GB Kernel) - from Source - 10/17/2011

    Follow me on Twitter @ http://twitter.com/ChevyNo1Droid

    If you enjoy my ROM's, feel free to help support my efforts by donating. I spend quite a few hours making sure you get the best ROM out there Your support is much appreciated! Paypal
  11. Droid
    stewp97's Avatar
    Member #
    44817
    Join Date
    Mar 2010
    Posts
    31
    Phone
    DROID
    #10
    Quote Originally Posted by ChevyNo1 View Post
    Quote Originally Posted by stewp97 View Post
    Quote Originally Posted by ChevyNo1 View Post
    OK thanks for the feedback - hmmm, odd. I've tested this exact scenario myself several times ...
    Could always be user error too!

    I did log into my Google account before I did the restore, and I think my apps started to download automatically from the market before I did the restore. I wonder if that might have been the problem?
    That is a possibility - I'll test it out
    I tried it again without logging into Google first. Several apps were still giving me FCs, but mainly it was NewsRob. I tried to reinstall from the market and restore from Titanium. No luck with either method. A couple of the other apps I was having problems with seemed to work this time though.

    It looks like a great way to backup and restore the phone. I will try it again next time!

    thanks, peter
Page 1 of 10 123 ... LastLast

Links

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Search tags for this page

android awk not found
,
android busybox sed: not found
,

bkapps

,
bkapps rstapps
,
droidx sed: not found
,
problem with droidx supercharger script awk not found
,
rstapp
,
rstapp.com
,

rstapps

,
sed not found android
Click on a term to search our site for related topics.

Tags for this Thread

Find us on Google+