1. neerajlall's Avatar
    I did a user data backup on my xperia c using the android recovery menu. Then I installed cwm recovery and increase_App_space_storage.zip. Everything went fine. Now I want to restore the backup. When I try to restore from cwm I can't find the backup file (Userdataxxxx.xxx.backup) from inside the cwm. It's there on my SD card.
    03-22-2015 07:13 AM
  2. ektoric's Avatar
    I can't help with your unable to restore, but after much hairpulling, I was at least able to extract the data on my desktop and recover some data.

    It's a 512 byte header in front of a "tar.gz"
    hexdump -C userdata_xxxxxxxx_yyyyyy.backup | less
    showed the magical zip header "1f8b0800 00000000" at offset 0x200
    So, skipping 512 bytes, the rest can be gunzip | tar
    dd if=userdata_xxxxxxxx_yyyyyy.backup bs=512 skip=1 | gunzip -c | tar xv
    12-08-2015 05:11 PM
  3. alecxs's Avatar
    stock android recovery extracted files can be restored with nandroid custom recovery, if you simply repack them into tar archive.

    i put this two command lines in a dirty shell script (extract + repack as tar).
    thanks to ektoric figuring out his gunzip method!

    forum rules reject download links for new members, please download at
    forum.xda-developers com /showthread.php?p=65374561#post65374561
    02-17-2016 11:13 AM
  4. farid108's Avatar

    If I using Windows, how to do? Any alternative?

    Thank you.
    02-21-2016 08:42 PM
  5. alecxs's Avatar
    windows cannot handle unix permissions. you should unpack data to any ext4 formatted drive if you need to restore on phone later. easiest way to do it on windows pc is download "UNetbootin" and create a bootable usb-stick. boot from this without installing. then use linux' "gparted" (careful!) to format any sd-card or usb-stick to ext4.
    02-26-2016 02:26 PM

Similar Threads

  1. What happens if I clesr data my Google Service Framework?
    By Jellal in forum Samsung Galaxy Tab 2 10.1
    Replies: 2
    Last Post: 04-21-2015, 08:49 PM
  2. Replies: 4
    Last Post: 03-28-2015, 06:23 AM
  3. How to restore back Xposed modules settings back after factory reset?
    By Livestrong Ajit in forum Legacy Android & Other OS's
    Replies: 1
    Last Post: 03-24-2015, 12:20 AM
  4. How can i prevent my contacts from continuing to duplicat?
    By AC Question in forum Ask a Question
    Replies: 1
    Last Post: 03-23-2015, 06:01 PM
  5. my i phone 4s not showing my files after download..
    By AC Question in forum Ask a Question
    Replies: 1
    Last Post: 03-22-2015, 01:48 AM