How to extract , create or edit an android abd backups

Android ADB backup - 

ADB backup is a file with an extension, generated by android's device backup manager when we request via ADB shell. This allows you to backup some data of the phone but is not a replacement of a CWM(clockwork mod) backup. 

If the backup contains the apk+data for an application, restore will work. 

Some app includes a policy where the apk is never backed up even if specified.

There are some bugs present in the Android source code. ADB backup or restore are very slow, between 1 & 2.6 MBps. 

star for Cygwin for the window is attached. Since there is no package available. It can be compiled from the schily (ftp://ftp.berlios.de/pub/schilly/). 

You can also use Java or Perl, although with Perl can be more complicated because requires downloading some modules from CPAN and some SSL headers. 


Also read, "How to Increase Likes On Facebook Photos"

Need these Softwares - 

The whole process can be done from Windows but is better to use a Unix-like operating system, like Linux, OSX or BSD, then we should extract the files on a filesystem that preserves file permissions and owners and repack the tar archive. 


Cygwin - 

Rather 32 bits: has more packages and is less prone to errors. Furthermore, the start for Cygwin attached is 32 bits.


Java 7 or higher

1)   Java 7 or OpenJDK 7 

2)   Oracle JCE (Java Cryptography Extension) unlimited strength jurisdiction Policy Files 7. If you are going to work with password-encrypted backups. 

You just install the files local_policy.jar and US_export_policy.jar under jre's lib/security folder, for example:

For Windows : 

a)  C:\Program Files\Java\jdk1.7.0_09\jre\lib\security\

b)  C:\Program Files\Java\jre7\lib\security\

c)  C:\Program Files (x86)\Java\jdk1.7.0_07\jre\lib\security\

d)  C:\Program Files (x86)\Java\jre7\lib\security\


For more like Linux or BSD click here


Android Backup Extractor 

Android Backup Extractor is the java application that does all the job. It also includes the Perl scripts.


How it works, better with an example

1)   Convert the original ADB backup to tar format 
        Code
           java   - jar abe.jar unpack nexus7.ab nexus7.tar <password>


2)   Extract the contents of the tar archive. 
        Code
           tar  -xvf nexus7.tar

3)    Make a list of all the contents of the original archive in the order they are archived.
         Code
            tar  -tf nexus7.tar > nexus7.list

4)    Create a new tar archive. 
         Code
           cat nexus7.list | grep com.rockstar.gta3 > gta3.list

5)     Create the new archive. Pax works also if paths are up to 100 of length.
        Code
             cat gta.list  | pax -wd > gta3.tar 

6)     Create the ADB backup from the tar archive. Password is optional
            Code
                java  -jar abe.jar pack gta3.tar gta3.ab <password>



For more information click here to view.


Also read, "Best Source To Get High-Quality Follow Backlinks"




SN Tricks is a Tech Blog owned by Shivam Chaurasia. This blog is all about Tricks, Tech - Android, Computer, How To, Blogger, Facebook and WhatsApp Tricks.

  • Join Our FB Group
  • Share this

    Related Posts

    Previous
    Next Post »