Guida Backup totale e completo su Smartphone Android Ice Cream Sandwich senza Root o Unlock

Come sicuramente saprete Google ha rilasciato l’ultima versione di Android, Ice Cream Sandwich (ICS), insieme allo smartphone Samsung Galaxy Nexus nel mese di ottobre 2011.

Ice Cream Sandwich ? dotato di molte nuove funzionalit? e una interfaccia utente e un look completamente nuovi. Qui sul Blog abbiamo gi? discusso molte caratteristiche di ICS e oggi vogliamo condividere con voi una Guida su come eseguire un backup completo del telefono, senza dover avere, per forza, il root installato.

Il backup completo si intente tutto il sistema operativo tra cui le applicazioni apk e i loro rispettivi dati cos? come il salvataggio della memoria interna. Anche se non esiste un modo diretto da interfaccia per poterlo eseguire ? possibile farlo utilizzando strumenti contenuti in Android SDK.

Il tutorial ? stato pubblicato grazie al membro del forum XDA Developer

Nota: La procedura ? a vostro rischio e pericolo e non saremo responsabili di eventuali problemi causati al vostro smartphone.

Qui di seguito il tutorial integrale:

Requirements:
  1. Android SDK installed on your Windows
  2. Latest version of the ADB platform tools (for Android 4.0+)
  3. Phone drivers to be installed on PC.
Taking Backup:

1. In the phone, go to settings and open Developer options. Check the box against USB debugging.

USB debugging

2. Now connect the phone to PC using the USB cable. Navigate to folder where the Android SDK is installed (mostly in program files) and open the folder ?platform tools?. Now right click on any vacant space holding the Shift key and then select Open command prompt here. This will open a command prompt. Alternatively, you can simply open the command prompt from start menu and navigate to this folder.

3. Now type the command adb devices to ensure that the device is detected. You will see a serial number as the result, this means the device is connected properly. In case you are seeing any error, you need to re-install the phone drivers based on the phone manufacturer.

Serial number

4. Now you need to run the command for backup. The command parameters format is:
adb backup [-f <file>] [-apk|-noapk] [-shared|-noshared] [-all] [-system|nosystem] [<packages...>]
The most basic command is adb backup ?all. This will default to backup only app and device data (not the APKs themselves) to the current directory as ?backup.ab?. Other parameters in the command are;

  • -f <file> This defines the path where you save the backup
  • -apk|-noapk This states whether or not the APKs should be included in the backup or just the apps? respective data.
  • shared|-noshared This flag is used to enable/disable backup of the device?s shared storage / SD card contents; the default is noshared.
  • -all This flag is just an easy way to say to backup ALL apps.
  • -system|-nosystem This flag sets whether or not the -all flag also includes system applications or not.

5. So you can choose your commands based on your requirement. I personally used the command adb backup -apk -shared -all -f /GNexusBackup/backup.ab. This means I?m backing up the data to folder GNexusBackup on C drive ( or your default drive) as a file backup.ab. Enter the command on the command prompt and go back to your phone. You can see a new message for Full backup on the phone.

Full Backup?Start Backup

You will be prompted to enter a encryption password for the data backed up. Click on Back up my Data option. This will start the backup process and you can see individual components and apps being copied to PC. Once the backup is complete, you get a message on screen or you can see the command prompt returned. You can open the folder and see the backup file saved.

Restoring the backup:

6. To restore the backup, you need to unlock the bootloader and for this you can use the tool Galaxy Nexus Root Toolkit (if you are using Galaxy Nexus)

7. After booting the device, connect to USB and then open the command prompt once again and type the command adb restore /GNexusBackup/backup.ab. Now you can see the phone prompting for Full Restore. Type in the encryption password you used to backup and also the restore data password (if used).

Full Restore

8. Click Restore my Data and the process starts. It might take some time based on the amount of files and apps you have backed up.

9. Once complete, you can see your device in the same condition with all the apps and settings working.

Note: Although it might be able to restore the apps and settings, certain widgets as well as SD card files might not be restored. This process will not backup SMS in your phone.

This process should work on all phones running Android ICS (4.0+), we tested it on Galaxy Nexus running ICS 4.0.1

from

Lascia un commento