Seems there is a way to backup our roms with the /cust/ partition. Gulyuk on 4pda/XDA developped a script to do so with Alcatel OT-990 that got a /custpack/ partition. Perhaps a small mod on the script can do the trick.
Edit: OK, done!
I took
the great work made by Gulyuk and modded it to our u8350. Our custom partition isn't "/custback" but "/cust" and for unknown reasons we got 2 userdata partitions, plus some minor differences on the partition table. You'll find the files attached.
How to use (again, i'll take Gulyuk's explanations):
Backup boot, system, cust via CWM recovery- Download
backup_by_Gulyuk.zip 445.33K
19 downloads and put it on the microSD card (do not unzip). - Ensure that you have enough (about 261 MB) free space on the microSD card.
- Enter ClockworkMod Recovery.
- 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.
- 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);
- recovery.img — dump of the recovery partition (the one you installed);
- system.img — dump of the system partition in yaffs2 format;
- cust.img — dump of the cust partition in yaffs2 format.
- data.img — dump of the userdata partition in yaffs2 format.
- data2.img — dump of the userdata 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, cust via CWM recovery- Download
restore_by_Gulyuk.zip 260.83K
8 downloads and put it on the microSD card (do not unzip). - Ensure that you have the firmware directory on your microSD card with valid firmware image files (boot.img, recovery.img, system.img, cust.img, data.img, data2.img).
- Enter ClockworkMod Recovery.
- 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.
- Select "reboot system now" to exit from recovery.
Warning! Warning! Warning!
-
I tested both scripts on by own u8350 and it's still working, but I give absolutely no warranty about these scripts and how they works. If your phone burns, bricks, looses faith in you or try to run away in love with the neighbourg's dog IT IS YOUR RESPONSIBILITY.
- If you want to share your wonderfull customised ROM with these scripts delete
data.img and
data2.img before sharing as they contains your personnal datas (google accounts, emails, and so on...).
- before to try someone else's ROM, backup yours, then copy the "firmware" drawer from the SDCard in a safe place (dedicated to a french fellow that lost its keyboard configuration

).
Edited by Anolnx, 01 April 2012 - 09:48 AM.