ameer1234567890 / OnlineNandroid

Nandroid Backup without Reboot
Other
117 stars 46 forks source link

data partition recovery includes sd-ext partition also, unable to restore #37

Closed lejukurian closed 10 years ago

lejukurian commented 10 years ago

Device : LG Optimus One P500 ROM : stock gingerbread Recovery : CWM 6.0.4.6 Noticed that after recovery from backup the device bootloops Noticed that the /data partition backup file is over 400MB (For the device it is 200MB Only) Using link2sd to move apps to sdcard. ( Which I think is the underlying problem !) IS there any way to distinguish the files in device /data and /sd-ext, because after link2sd, /data =/data+sd-ext2

ameer1234567890 commented 10 years ago

Can you post log file?

lejukurian commented 10 years ago

Online Nandroid v9.20 Started at Wed May 7 21:50:27 IST 2014 ###########################

Run with options: -c onand

###########################

Busybox: BusyBox v1.22.1-Stericson (2014-01-25 17:27:18 CET) multi-call binary.

###########################

File System Layout: rootfs on / type rootfs (ro,relatime) tmpfs on /dev type tmpfs (rw,relatime,mode=755) devpts on /dev/pts type devpts (rw,relatime,mode=600) proc on /proc type proc (rw,relatime) sysfs on /sys type sysfs (rw,relatime) none on /acct type cgroup (rw,relatime,cpuacct) tmpfs on /mnt/asec type tmpfs (rw,relatime,mode=755,gid=1000) tmpfs on /mnt/obb type tmpfs (rw,relatime,mode=755,gid=1000) none on /dev/cpuctl type cgroup (rw,relatime,cpu) /dev/block/mtdblock1 on /system type yaffs2 (ro,relatime) /dev/block/mtdblock9 on /data type yaffs2 (rw,nosuid,nodev,relatime) /dev/block/mtdblock8 on /cache type yaffs2 (rw,nosuid,nodev,relatime) /dev/block/mtdblock3 on /lgdrm type yaffs2 (rw,nosuid,nodev,relatime) /dev/block/mmcblk0p2 on /data/sdext2 type ext3 (rw,relatime,errors=continue,user_xattr,barrier=0,data=writeback) /dev/block/vold/179:1 on /mnt/sdcard type vfat (rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro) /dev/block/vold/179:1 on /mnt/secure/asec type vfat (rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro) tmpfs on /mnt/sdcard/.android_secure type tmpfs (ro,relatime,size=0k,mode=000) ###########################

Device Details: ro.product.model=LG-P500 ro.product.brand=lge ro.product.name=thunderg ro.product.device=thunderg ro.product.board=thunderg ro.product.cpu.abi=armeabi ro.product.manufacturer=LGE ###########################

Recovery: CWM-based Recovery v6.0.4.6 ###########################

Language File: Not found! ###########################

16:20:27 Using busybox from: busybox 16:20:27 Checking for root permissions... 16:20:27 Root permissions acquired! 16:20:27 Analysing battery level... 16:20:27 Sufficient battery available! 16:20:27 Checking version of BusyBox installed... 16:20:27 BusyBox version 1.20 or above installed! 16:20:27 Searching for SD card... 16:20:28 SD card found! 16:20:28 This is an MTD based device! 16:20:28 Split backup mode selected by default! 16:20:28 Checking for required tools... 16:20:28 All required tools available! 16:20:28 Checking disk space... 16:20:29 SD Card Free Space: 15997 MB 16:20:29 Required Space: 679 MB 16:20:29 Necessary disk space available! 16:20:29 Detecting mountpoints to exclude... 16:20:29 Backing up to /mnt/sdcard/clockworkmod/backup/onand 16:20:30 Backing up /boot...\c 16:20:32 Backing up /recovery...\c 16:20:34 Backing up /system...\c 16:21:44 Backing up /data...\c 16:25:31 Backing up /cache...\c 16:25:33 Backing up /.android_secure...\c 16:25:36 Backing up /sd-ext...\c 16:27:49 Generating md5sum...\c 16:29:20 Verifying md5sum...\c 16:29:21 Online Nandroid Backup Completed in 8 minutes 54 seconds! ###########################

Files Backed-up: "----rwxr-x 1 0 May 7 16:25 .android_secure.vfat.tar ----rwxr-x 1 1536 May 7 16:25 .android_secure.vfat.tar.a ----rwxr-x 1 4456448 May 7 16:20 boot.img ----rwxr-x 1 21120 May 7 16:25 cache.yaffs2.img ----rwxr-x 1 526244928 May 7 16:25 data.yaffs2.img ----rwxr-x 1 465 May 7 16:29 nandroid.md5 ----rwxr-x 1 5242880 May 7 16:20 recovery.img ----rwxr-x 1 0 May 7 16:25 sd-ext.ext3.tar ----rwxr-x 1 360855040 May 7 16:27 sd-ext.ext3.tar.a ----rwxr-x 1 165308352 May 7 16:21 system.yaffs2.img"

lejukurian commented 10 years ago

Hope that is the one you asked !
"recovery.log" Or is it something else ?

ameer1234567890 commented 10 years ago

Can you try running it like this?

onandroid -e /data/sdext2
lejukurian commented 10 years ago

No change in the size of /data partition

Here is the log: Note: By the way I changed the ROM to a custom KK one (mukulsoni's)

Online Nandroid v9.20 Started at Tue May 13 22:22:53 IST 2014 ###########################

Run with options: -e /data/sdext2

###########################

Busybox: BusyBox v1.21.1-kk bionic (2013-11-24 11:52 +0100) multi-call binary.

###########################

File System Layout: rootfs on / type rootfs (ro,seclabel,relatime) tmpfs on /dev type tmpfs (rw,seclabel,nosuid,relatime,mode=755) devpts on /dev/pts type devpts (rw,seclabel,relatime,mode=600) proc on /proc type proc (rw,relatime) sysfs on /sys type sysfs (rw,seclabel,relatime) selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime) /sys/kernel/debug on /sys/kernel/debug type debugfs (rw,relatime) none on /acct type cgroup (rw,relatime,cpuacct) none on /sys/fs/cgroup type tmpfs (rw,seclabel,relatime,mode=750,gid=1000) none on /sys/fs/cgroup/memory type cgroup (rw,relatime,memory) tmpfs on /mnt/asec type tmpfs (rw,seclabel,relatime,mode=755,gid=1000) tmpfs on /mnt/obb type tmpfs (rw,seclabel,relatime,mode=755,gid=1000) tmpfs on /mnt/fuse type tmpfs (rw,seclabel,relatime,mode=775,gid=1000) none on /dev/cpuctl type cgroup (rw,relatime,cpu) /dev/block/mtdblock1 on /system type yaffs2 (ro,seclabel,relatime) /dev/block/mtdblock9 on /data type yaffs2 (rw,seclabel,nosuid,nodev,relatime) /dev/block/mtdblock8 on /cache type yaffs2 (rw,seclabel,nosuid,nodev,relatime) /dev/block/mmcblk0p2 on /data/sdext2 type ext4 (rw,seclabel,relatime,user_xattr,barrier=1,data=ordered) /dev/block/vold/179:1 on /mnt/media_rw/sdcard0 type vfat (rw,dirsync,nosuid,nodev,noexec,relatime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro) /dev/block/vold/179:1 on /mnt/secure/asec type vfat (rw,dirsync,nosuid,nodev,noexec,relatime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro) /dev/fuse on /storage/sdcard0 type fuse (rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other) ###########################

Device Details: ro.product.brand=lge ro.product.name=lge_p500 ro.product.board=p500 ro.product.cpu.abi=armeabi ro.product.cpu.abi2=armeabi-v6l ro.product.manufacturer=LGE ro.product.model=Optimus One ro.product.device=lg-p500 ro.product.camera=msm7x27 ###########################

Recovery: CWM-based Recovery v6.0.4.6 ###########################

Language File: Not found! ###########################

22:22:54 Using busybox from: busybox 22:22:54 Checking for root permissions... 22:22:54 Root permissions acquired! 22:22:54 Analysing battery level... 22:22:54 Sufficient battery available! 22:22:54 Checking version of BusyBox installed... 22:22:55 BusyBox version 1.20 or above installed! 22:22:55 Searching for SD card... 22:22:55 SD card found! 22:22:55 This is an MTD based device! 22:22:56 Split backup mode selected by default! 22:22:57 Checking for required tools... 22:22:57 All required tools available! 22:22:57 Checking disk space... 22:22:59 SD Card Free Space: 15427 MB 22:22:59 Required Space: 672 MB 22:22:59 Necessary disk space available! 22:22:59 Detecting mountpoints to exclude... 22:23:01 Backing up to /storage/sdcard0/clockworkmod/backup/2014-05-13.16.52.53 22:23:01 Backing up /boot...\c 22:23:04 Backing up /recovery...\c 22:23:08 Backing up /system...\c 22:25:18 Backing up /data...\c 22:29:20 Backing up /cache...\c 22:30:00 Backing up /.android_secure...\c 22:30:03 Backing up /sd-ext...\c 22:32:15 Generating md5sum...\c 22:34:18 Verifying md5sum...\c 22:34:20 Online Nandroid Backup Completed in 11 minutes 26 seconds! ###########################

Files Backed-up: "-rwxrwx--- 1 0 May 13 22:30 .android_secure.vfat.tar -rwxrwx--- 1 1536 May 13 22:30 .android_secure.vfat.tar.a -rwxrwx--- 1 4456448 May 13 22:23 boot.img -rwxrwx--- 1 61666176 May 13 22:29 cache.yaffs2.img -rwxrwx--- 1 451442048 May 13 22:29 data.yaffs2.img -rwxrwx--- 1 465 May 13 22:34 nandroid.md5 -rwxrwx--- 1 5242880 May 13 22:23 recovery.img -rwxrwx--- 1 0 May 13 22:30 sd-ext.ext4.tar -rwxrwx--- 1 289457664 May 13 22:32 sd-ext.ext4.tar.a -rwxrwx--- 1 193178304 May 13 22:25 system.yaffs2.img"

ameer1234567890 commented 10 years ago

Does it happen same with the new ROM as well.