ameer1234567890 / OnlineNandroid

Nandroid Backup without Reboot
Other
117 stars 46 forks source link

error on restore #44

Open stela5 opened 9 years ago

stela5 commented 9 years ago

using onandroid -w I was able to create a backup but when I tried to restore I got errors like "unable to locate partition by backup name" for "and-sec" and "modem" and then sends you into a bootloop when you try to restart. I'm using TWRP 2.8.6.0 on a RAZR M

ameer1234567890 commented 8 years ago

Can you post log file inside backup folder?

stela5 commented 8 years ago

Sorry for the delay. Here's the log:

Online Nandroid v9.52
Started at Mon Oct 26 16:40:18 MST 2015
###########################

Run with options: -w

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

Busybox: BusyBox v1.23.2-Stericson (2015-04-10 10:51:32 CDT) 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)
debugfs on /sys/kernel/debug type debugfs (rw,seclabel,relatime)
none on /acct type cgroup (rw,relatime,cpuacct)
none on /sys/fs/cgroup type tmpfs (rw,seclabel,relatime,mode=750,gid=1000)
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)
none on /dev/cpuctl type cgroup (rw,relatime,cpu)
/dev/block/platform/msm_sdcc.1/by-name/system on /system type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/platform/msm_sdcc.1/by-name/userdata on /data type f2fs (rw,seclabel,nosuid,nodev,noatime,nodiratime,background_gc=on,user_xattr,inline_xattr,acl,inline_data,active_logs=6)
/dev/block/platform/msm_sdcc.1/by-name/cache on /cache type ext4 (rw,seclabel,nosuid,nodev,noatime,data=ordered)
/dev/block/platform/msm_sdcc.1/by-name/fsg on /fsg type ext4 (ro,context=u:object_r:firmware_file:s0,nosuid,nodev,relatime,nobarrier)
/dev/block/platform/msm_sdcc.1/by-name/modem on /firmware type ext4 (ro,context=u:object_r:firmware_file:s0,nosuid,nodev,relatime,nobarrier,data=ordered)
/dev/block/platform/msm_sdcc.1/by-name/persist on /persist type ext4 (rw,seclabel,nosuid,nodev,relatime,nodelalloc,data=ordered)
/dev/block/loop0 on /pds type ext3 (rw,seclabel,relatime,barrier=1,data=writeback)
/dev/fuse on /mnt/shell/emulated type fuse (rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other)
/dev/fuse on /storage/emulated/legacy type fuse (rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other)
/dev/block/vold/179:33 on /mnt/media_rw/sdcard1 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:33 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/sdcard1 type fuse (rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other)
###########################

Device Details:
ro.product.brand=motorola
ro.product.name=XT907_verizon
ro.product.board=MSM8960
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.cpu.abilist=armeabi-v7a,armeabi
ro.product.cpu.abilist32=armeabi-v7a,armeabi
ro.product.cpu.abilist64=
ro.product.manufacturer=motorola
ro.product.model=DROID RAZR M
ro.product.device=scorpion_mini
###########################

Recovery:
Generic recovery.
###########################

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

23:40:20 Using busybox from: busybox
23:40:20 Checking for root permissions...
23:40:20 Root permissions acquired!
23:40:20 Analysing battery level...
23:40:20 Sufficient battery available!
23:40:20 Checking version of BusyBox installed...
23:40:20 BusyBox version 1.20 or above installed!
23:40:20 Searching for SD card...
23:40:20 SD card found!
23:40:20 This device has a patch file installed!
23:40:20 TWRP backup mode selected at run time!
23:40:20 Checking for required tools...
23:40:20 All required tools available!
23:40:21 Checking disk space...
23:40:21 SD Card Free Space: 7246 MB
23:40:21 Required Space: 3265 MB
23:40:21 Necessary disk space available!
23:40:21 Detecting mountpoints to exclude...
23:40:21 Backing up to /storage/sdcard1/TWRP/BACKUPS/TA22805OFJ/2015-10-26--23-40-20
23:40:21 Backing up /boot...\c
23:40:26 Backing up /recovery...\c
23:40:28 Backing up /modem...\c
23:40:45 Backing up /system...\c
23:43:34 Backing up /data...\c
23:49:13 Backing up /cache...\c
23:49:15 Backing up /.android_secure...\c
23:49:19 Generating md5sum for and-sec.vfat.win...\c
23:49:23 Generating md5sum for boot.emmc.win...\c
23:49:26 Generating md5sum for cache.ext4.win...\c
23:49:29 Generating md5sum for data.f2fs.win...\c
23:50:38 Generating md5sum for modem.emmc.win...\c
23:50:46 Generating md5sum for recovery.emmc.win...\c
23:50:49 Generating md5sum for system.ext4.win...\c
23:51:10 Online Nandroid Backup Completed in 10 minutes 50 seconds!
###########################

Files Backed-up:
"-rwxrwx---    1   4282368 Oct 26 23:49 and-sec.vfat.win
-rwxrwx---    1        51 Oct 26 23:49 and-sec.vfat.win.md5
-rwxrwx---    1  10485760 Oct 26 23:40 boot.emmc.win
-rwxrwx---    1        48 Oct 26 23:49 boot.emmc.win.md5
-rwxrwx---    1   5317120 Oct 26 23:49 cache.ext4.win
-rwxrwx---    1        49 Oct 26 23:49 cache.ext4.win.md5
-rwxrwx---    1 2284618240 Oct 26 23:49 data.f2fs.win
-rwxrwx---    1        48 Oct 26 23:50 data.f2fs.win.md5
-rwxrwx---    1 104857600 Oct 26 23:40 modem.emmc.win
-rwxrwx---    1        49 Oct 26 23:50 modem.emmc.win.md5
-rwxrwx---    1  10485760 Oct 26 23:40 recovery.emmc.win
-rwxrwx---    1        52 Oct 26 23:50 recovery.emmc.win.md5
-rwxrwx---    1 669438464 Oct 26 23:43 system.ext4.win
-rwxrwx---    1        50 Oct 26 23:51 system.ext4.win.md5"

20151026_165404

stela5 commented 8 years ago

P.S. In case it helps, here's a working recovery log file from using TWRP in recovery mode to create a valid working backup: https://gist.github.com/stela5/f423b0c5dee5ba0b3501