Or Continue to Thread: [Q] Alcatel OT-990 root and ro…
Find Your Device:
10th March 2012, 12:29 PM   |  #269  
Senior Member
Thanks Meter: 139
 
123 posts
Join Date:Joined: Jan 2012
Quote:
Originally Posted by Mr-m07

is there any other way to backup the whole thing ?

For now there are just two update files for the existing CWM recovery version which could be used as some crude form of backup and restore. These files were not made by me (all thanks should go to "gulyuk" from the 4pda.ru forum), and might not be the best method to do backups, but at least they are better than nothing.

Update: A newer version of these scripts is available now with support for backing up /data.

Backup boot, system, custpack via CWM recovery
  1. Download backup_by_Gulyuk.zip and put it on the microSD card (do not unzip).
  2. Ensure that you have at least 216 MB of free space on the microSD card.
  3. Enter ClockworkMod Recovery as described here.
  4. Select "install zip from sdcard" in the menu, then select the backup_by_Gulyuk.zip file. Wait for several minutes while the backup script works.
  5. Select "reboot system now" to exit from recovery.
The backup script should create the firmware directory on the microSD card (seen as /sdcard/firmware from the phone) with these files:
  • boot.img dump of the boot partition (kernel and initramfs);
  • sys.img dump of the system partition in yaffs2 format;
  • cus.img dump of the custpack partition in yaffs2 format.
Running the backup script when the /sdcard/firmware directory already exists overwrites the previous contents of this directory (including any extra files which were placed there). Currently there is no way to keep more than one firmware backup by this method, unless you rename the firmware directory manually (but then the backup cannot be restored until you rename or copy the directory back).

Restore boot, system, custpack via CWM recovery
  1. Download restore_by_Gulyuk.zip and put it on the microSD card (do not unzip).
  2. Ensure that you have the firmware directory on your microSD card with valid firmware image files (boot.img, sys.img, cus.img).
  3. Enter ClockworkMod Recovery as described here.
  4. Select "install zip from sdcard" in the menu, then select the restore_by_Gulyuk.zip file. Wait for several minutes while the restore script works.
  5. Select "reboot system now" to exit from recovery.
The restore operation erases all user data from the phone (unlike the nandroid restore, which can restore userdata from the backup).

The restore_by_Gulyuk.zip update file could also be used for flashing a new ROM image version instead of fastboot flashing from a computer just place ROM image files into the firmware directory on the microSD card, rename them to fixed filenames used by the update script (boot.img, sys.img, cus.img), then apply restore_by_Gulyuk.zip via CWM recovery. But restrictions on version compatibility are still the same a Gingerbread image won't work on a phone which was not updated to Gingerbread by the official updater (OTU).

The restore_by_Gulyuk.zip update file also includes Superuser.apk and the su binary, so any ROM image restored by this update file will be rooted, even if it was not before doing the backup.

Update: A newer version of these scripts is available now with support for backing up /data.
Last edited by sigprof; 29th March 2012 at 08:39 PM. Reason: this version is now obsolete
The Following 4 Users Say Thank You to sigprof For This Useful Post: [ View ]