TeamWin/Team-Win-Recovery-Project — Issue #29: Nandroid Backup
Author: TheBurgh
Created: 2011-12-20 13:33:02+00:00
State: open

Below is the error that I get when I try to nandroid backup. I have flashed other recoveries and have no problem with nandroid backups. Please Help:

Starting recovery on Tue Dec 20 13:08:32 2011
Pixel format: 480x800 @ 32bpp
Pixel format: RGB_565
framebuffer: fd 3 (480 x 800)
Loading volume table...
recovery filesystem table
=========================
0 /tmp ramdisk (null) (null)
1 /sdcard vfat /dev/block/platform/s3c-sdhci.0/by-name/media (null)
2 /system ext4 /dev/block/platform/s3c-sdhci.0/by-name/system (null)
3 /cache yaffs2 cache (null)
4 /data ext4 /dev/block/platform/s3c-sdhci.0/by-name/userdata (null)
5 /misc mtd misc (null)
6 /boot mtd boot (null)
7 /recovery mtd recovery (null)
8 /bootloader mtd bootloader (null)
9 /radio mtd radio (null)
10 /wimax mtd wimax (null)
11 /efs yaffs2 efs (null)

E:failed to mount /sdcard (No such file or directory)
I:Loading package: TWRP (/script/ui.xml)
I:Loading package: TWRP (/sdcard/TWRP/theme/ui.zip)
I:Loading package: TWRP (/res/ui.xml)
I:Loading resources...
I:Loading variables...
I:Loading pages...
I:Loading page main
I:Loading page install
I:Loading page flash_confirm
I:Loading page flash_zip
I:Loading page flash_done
I:Loading page wipe_cachedalvik
I:Loading page wipe_installdone
I:Loading page wipe
I:Loading page wipe_cache_confirm
I:Loading page wipe_cache
I:Loading page wipe_dalvik_confirm
I:Loading page wipe_dalvik
I:Loading page wipe_rotate_confirm
I:Loading page wipe_rotate
I:Loading page wipe_data_confirm
I:Loading page wipe_data
I:Loading page wipe_system_confirm
I:Loading page wipe_system
I:Loading page wipe_sdcard_confirm
I:Loading page wipe_sdcard
I:Loading page wipe_sdext_confirm
I:Loading page wipe_sdext
I:Loading page wipe_battery_confirm
I:Loading page wipe_battery
I:Loading page wipe_done
I:Loading page backup
I:Loading page backup_run
I:Loading page backup_done
I:Loading page backup_success
I:Loading page backup_failed
I:Loading page restore
E:error opening /sdcard/TWRP/BACKUPS/37339852924200EC
I:Loading page restore_setrestoredata
I:Loading page restore_select
I:Loading page restore_run
I:Loading page restore_done
I:Loading page restore_success
I:Loading page restore_failed
I:Loading page mount
I:Loading page usb_mount
I:Loading page usb_umount
I:Loading page reboot
I:Loading page settings
I:Loading page timezonemain
I:Loading page timezoneminus
I:Loading page timezoneplus
I:Loading page advanced
I:Loading page copylog_done
I:Loading page partsdcard
I:Loading page partsdcardaction
I:Loading page partsdcard_done
I:Loading page fixperms
I:Loading page fixperms_done
I:Switching packages (TWRP)
Processing arguments (1)...
Fixing execute permissions for /cache
mtd: successfully wrote block at 0
I:Set boot command "boot-recovery"
I:=> Installing busybox into /sbin
I:=> Linking mtab
I:=> Getting locations
W:Device does not support /proc/emmc
I:=> Let's update filesystem types.
I:=> And update our fstab also.
I:=> Created /efs folder.
I:=> Update the usage statistics.

E:Unable to stat '/sd-ext/.'
+----------+-----------------------------+------+----------+----------+---+---+
| Mount | Block Device | fst | Size(KB) | Used(KB) | M | B |
+----------+-----------------------------+------+----------+----------+---+---+
| | | mtd | 0 | 0 | 0 | u |
| system | /dev/block/mmcblk0p1 | ext4 | 524288 | 213040 | 1 | f |
| data | /dev/block/mmcblk0p2 | ext4 | 1048576 | 262984 | 1 | f |
| boot | /dev/block/mtdblock2 | mtd | 8192 | 8192 | 0 | i |
| recovery | /dev/block/mtdblock3 | mtd | 8192 | 8192 | 0 | i |
| cache | /dev/block/mtdblock4 | yaffs2 | 480768 | 2840 | 1 | f |
| sdcard | /dev/block/mmcblk0p3 | vfat | 13978607 | 5930928 | 1 | n |
| | | | 0 | 0 | 0 | n |
| andsec | /sdcard/.android_secure | vfat | 4 | 4 | 0 | f |
| sd-ext | /dev/block/mmcblk0p4 | | 0 | 0 | 1 | f |
| efs | /dev/block/mtdblock6 | yaffs2 | 6912 | 1600 | 1 | f |
| | | | 0 | 0 | 0 | n |
| | | | 0 | 0 | 0 | n |
+----------+-----------------------------+------+----------+----------+---+---+
Command: "/sbin/recovery"

ro.secure=0
ro.allow.mock.location=1
ro.debuggable=1
persist.service.adb.enable=1
ro.build.id=GRJ90
ro.build.display.id=GRJ90
ro.build.version.incremental=138666
ro.build.version.sdk=10
ro.build.version.codename=REL
ro.build.version.release=2.3.5
ro.build.date=Fri Dec 16 20:13:30 CST 2011
ro.build.date.utc=0
ro.build.type=eng
ro.build.user=TeamWin
ro.build.host=teamw.in
ro.build.tags=test-keys
ro.product.model=Nexus S 4G
ro.product.brand=google
ro.product.name=sojus
ro.product.device=crespo4g
ro.product.board=herring
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=samsung
ro.product.locale.language=hdpi
ro.product.locale.region=
ro.wifi.channels=
ro.board.platform=s5pc110
ro.build.product=crespo4g
ro.build.description=sojus-user 2.3.5 GRJ90 138666 release-keys
ro.build.fingerprint=google/sojus/crespo4g:2.3.5/GRJ90/138666:user/release-keys
rild.libpath=/vendor/lib/libsec-ril.so
rild.libargs=-d /dev/ttyS0
ro.sf.lcd_density=240
ril.ecclist=911,#911,*911
ro.cdma.home.operator.numeric=310120
ro.cdma.home.operator.alpha=Sprint
ro.telephony.default_network=4
ro.wimax.interface=uwbr0
ro.opengles.version=131072
wifi.interface=eth0
wifi.supplicant_scan_interval=15
dalvik.vm.heapsize=32m
keyguard.no_require_sim=true
ro.ril.hsxpa=1
ro.ril.gprsclass=10
ro.config.notification_sound=OnTheHunt.ogg
ro.config.alarm_alert=Alarm_Classic.ogg
ro.rommanager.developerid=cyanogenmod
ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html
ro.com.google.clientidbase=android-google
ro.com.android.wifi-watchlist=GoogleGuest
ro.setupwizard.enterprise_mode=1
ro.com.android.dateformat=MM-dd-yyyy
ro.com.android.dataroaming=false
ro.config.ringtone=Playa.ogg
ro.modversion=CyanogenMod-7.1.0-RC1-NS4G-KANG
ro.kernel.android.checkjni=1
ro.setupwizard.mode=OPTIONAL
dalvik.vm.dexopt-flags=m=y
net.bt.name=Android
net.change=net.bt.name
dalvik.vm.stack-trace-file=/data/anr/traces.txt
ro.factorytest=0
ro.serialno=37339852924200EC
ro.bootmode=unknown
ro.baseband=D720SPRKE1
ro.carrier=SPR
ro.bootloader=D720SPRKC5
ro.hardware=herring
ro.revision=34
init.svc.dmesg=stopped
init.svc.recovery=running
init.svc.adbd=running

mtd: successfully wrote block at 0
I:Set boot command ""
I:Switching packages (TWRP)
I:Set page: 'settings'
I:Set page: 'main'
I:Set page: 'advanced'
Copied recovery log to /sdcard.
I:Set page: 'copylog_done'
I:Set page: 'advanced'
I:Set page: 'main'
I:Set page: 'backup'
I:Set page: 'backup_run'

[BACKUP STARTED]
* Backup Folder: /sdcard/TWRP/BACKUPS
* Verifying filesystems...
* Verifying partition sizes...
E:Unable to stat '/sd-ext/.'
+----------+-----------------------------+------+----------+----------+---+---+
| Mount | Block Device | fst | Size(KB) | Used(KB) | M | B |
+----------+-----------------------------+------+----------+----------+---+---+
| | | mtd | 0 | 0 | 0 | u |
| system | /dev/block/mmcblk0p1 | ext4 | 524288 | 213040 | 1 | f |
| data | /dev/block/mmcblk0p2 | ext4 | 1048576 | 262984 | 1 | f |
| boot | /dev/block/mtdblock2 | mtd | 8192 | 8192 | 0 | i |
| recovery | /dev/block/mtdblock3 | mtd | 8192 | 8192 | 0 | i |
| cache | /dev/block/mtdblock4 | yaffs2 | 480768 | 2852 | 1 | f |
| sdcard | /dev/block/mmcblk0p3 | vfat | 13978607 | 5930944 | 1 | n |
| | | | 0 | 0 | 0 | n |
| andsec | /sdcard/.android_secure | vfat | 4 | 4 | 0 | f |
| sd-ext | /dev/block/mmcblk0p4 | | 0 | 0 | 1 | f |
| efs | /dev/block/mtdblock6 | yaffs2 | 6912 | 1600 | 1 | f |
| | | | 0 | 0 | 0 | n |
| | | | 0 | 0 | 0 | n |
+----------+-----------------------------+------+----------+----------+---+---+
* Total number of partition to back up: 3
* Total size of all data, in KB: 484216
* Available space on the SD card, in KB: 8047663
I:Estimated Total time: 162 Estimated remaining time: 162
I:=> Filename: system.ext4.win
I:=> Size of /system is 213040 KB.

[SYSTEM (208 MB)]
...Backing up /system partition.
* Done.
* Verifying backup size.
* File size: 207889408 bytes.
* Generating md5...
....MD5 Created.
[SYSTEM DONE (35 SECONDS)]

I:Partition Backup time: 35
I:Estimated Total time: 162 Estimated remaining time: 89
I:=> Filename: data.ext4.win
I:=> Size of /data is 262984 KB.

[DATA (256 MB)]
...Backing up /data partition.
tar: ./gps/secgpsd.socket: socket ignored
tar: ./misc/wifi/sockets/wpa_ctrl_152-2: socket ignored
tar: ./misc/wifi/sockets/wpa_ctrl_152-3: socket ignored
* Done.
* Verifying backup size.
* File size: 252594688 bytes.
* Generating md5...
....MD5 Created.
[DATA DONE (53 SECONDS)]

I:Partition Backup time: 53
I:Estimated Total time: 162 Estimated remaining time: 0

I:=> Filename: boot.mtd.win
I:=> Size of boot is 8192 KB.

[BOOT (8 MB)]
...Backing up boot partition.
mtd: ECC errors (0 soft, 64 hard) at 0x00000000
mtd: ECC errors (0 soft, 64 hard) at 0x00040000
mtd: ECC errors (0 soft, 64 hard) at 0x00080000
mtd: ECC errors (0 soft, 64 hard) at 0x000c0000
mtd: ECC errors (0 soft, 64 hard) at 0x00100000
mtd: ECC errors (0 soft, 64 hard) at 0x00140000
mtd: ECC errors (0 soft, 64 hard) at 0x00180000
mtd: ECC errors (0 soft, 64 hard) at 0x001c0000
mtd: ECC errors (0 soft, 64 hard) at 0x00200000
mtd: ECC errors (0 soft, 64 hard) at 0x00240000
mtd: ECC errors (0 soft, 64 hard) at 0x00280000
mtd: ECC errors (0 soft, 64 hard) at 0x002c0000
* Done.
* Verifying backup size.
* File size: 5242880 bytes.
I: * Expected size: 8388608 Got: 5242880
E: File size is incorrect. Aborting.

I:Set page: 'backup_done'
I:Set page: 'backup_failed'
-- Error occured, check recovery.log. Aborting.
I:Set page: 'main'
I:Set page: 'advanced'