mercredi 29 janvier 2014

[TUTORIAL]How to reinstall user apps (Quickly/Safely) topic




This was created in response to several people asking the safest way to reinstall user apps after flashing a ROM. Titanium Backup is a great tool, but not everyone uses/likes it.

As the title implies, this will show you an easy and safe way to reinstall your apps after a clean ROM flash. I made this easy to do and easy to understand, so experts and new users can figure it out.

YOU WILL OBVIOUSLY NEED TO BE ROOTED FOR THIS.

To do this you will need 3 or 4 things things on your phone.

1. Download the attached file below named "AppBackup.zip". This is the file structure to correctly flash user apps. I built it to only install apps in /data/app. More advanced users may edit it to include system files, but that is beyond the scope of this tutorial (for now).

2. From the Play Store, install a file explorer with root access capability. For this tutorial, I will be using ES File Explorer. (ROOT REQUIRED)

3. From the Play Store, install ZArchiver. this app creates zip and other format archive files.

4. (Optional) From the Play Store, install ZipSigner. This app signs the zip file.

Attachment 2547107

>>ES File Explorer

To enable ES File Explorer's root functions:


Quote:









Open the app and press the menu key. Select tools, and Root Explorer

Attachment 2547108

Your super User app will request permissions for ES File Explorer. Allow it, then choose "Mount R/W"

Attachment 2547109

Make sure that "/" and "/system" is chosen as r/w.

Attachment 2547110

ES File Explorer is now able to r/w your /data folders




----continued


Quote:









In the file explorer app, navigate to where "AppBackup.zip" is located and decompress (upzip) it.

In the file explorer app, navigate to /data/app, and select all the apps you want to copy.

Attachment 2547137

Then navigate to the "AppBackup" file and past them into data/app.

Attachment 2547138




>>ZArchiver

**Note: ZArchiver's default location for completed zip files is in /storage/emulated/0/archives. You may change the destination in settings.


Quote:









Using ZArchiver, navigate to INSIDE the "AppBackup" file! If you navigate only to the folder that "AppBackup" is inside, the zip will not work.

Choose the multi-select button.

Attachment 2547146

Select data and META-INF folders, then press the checkmark

Attachment 2547147

Press the tools button and select compress

Attachment 2547148

In the resulting pop up menu, ensure the highlighted values are selected. Press OK.

Attachment 2547149

This will take a minute or two, depending on how many apps you chose. When finished you will have a zip file!

Attachment 2547182




>>Optional ZipSigner

I list this as optional, because the "AppBackup" file should flash fine without being re-signed. But, I will show it to you, nonetheless!


Quote:









Open ZipSigner and select "Choose in/out"

Attachment 2547191

Navigate to the new zip file you created.

Attachment 2547192

Select Sign the file. It will take a minute or two depending on how big the zip file size is.

Attachment 2547193

When it is done, close the app and navigate to where the original new zip file was. You will see one with the same name + "-signed".

Attachment 2547194

This is your new zip, and you may delete the old one and delete the "AppBackup" file if you wish to free up space.





YOU ARE DONE!

If you have questions or suggestions on how to make this tutorial better, please let me know!!

Attachment 2547232








Attached Thumbnails


Click image for larger version<br/><br/>Name:	01Apps.jpg<br/>Views:	N/A<br/>Size:	39.4 KB<br/>ID:	2547107
 

Click image for larger version<br/><br/>Name:	02ESsetup1.png<br/>Views:	N/A<br/>Size:	153.3 KB<br/>ID:	2547108
 

Click image for larger version<br/><br/>Name:	03ESsetup2.png<br/>Views:	N/A<br/>Size:	172.7 KB<br/>ID:	2547109
 

Click image for larger version<br/><br/>Name:	04ESsetup3.png<br/>Views:	N/A<br/>Size:	170.5 KB<br/>ID:	2547110
 

Click image for larger version<br/><br/>Name:	04SelectApps.jpg<br/>Views:	N/A<br/>Size:	160.2 KB<br/>ID:	2547137
 


Click image for larger version<br/><br/>Name:	05PasteApps.png<br/>Views:	N/A<br/>Size:	86.3 KB<br/>ID:	2547138
 

Click image for larger version<br/><br/>Name:	06Z01.jpg<br/>Views:	N/A<br/>Size:	130.9 KB<br/>ID:	2547146
 

Click image for larger version<br/><br/>Name:	07Z02.jpg<br/>Views:	N/A<br/>Size:	123.0 KB<br/>ID:	2547147
 

Click image for larger version<br/><br/>Name:	08Z03.jpg<br/>Views:	N/A<br/>Size:	126.2 KB<br/>ID:	2547148
 

Click image for larger version<br/><br/>Name:	09Z04.jpg<br/>Views:	N/A<br/>Size:	120.2 KB<br/>ID:	2547149
 


Click image for larger version<br/><br/>Name:	10ZipDone.png<br/>Views:	N/A<br/>Size:	94.2 KB<br/>ID:	2547182
 

Click image for larger version<br/><br/>Name:	11Sign1.jpg<br/>Views:	N/A<br/>Size:	144.8 KB<br/>ID:	2547191
 

Click image for larger version<br/><br/>Name:	12Sign2.png<br/>Views:	N/A<br/>Size:	90.6 KB<br/>ID:	2547192
 

Click image for larger version<br/><br/>Name:	13Sign3.jpg<br/>Views:	N/A<br/>Size:	134.0 KB<br/>ID:	2547193
 

Click image for larger version<br/><br/>Name:	14Done.png<br/>Views:	N/A<br/>Size:	119.9 KB<br/>ID:	2547194
 












Attached Files





File Type: zip AppBackup.zip -
[Click for QR Code]
(156.6 KB)









Aucun commentaire:

Enregistrer un commentaire