ameer1234567890 / OnlineNandroid

Nandroid Backup without Reboot
Other
117 stars 46 forks source link

TWRP Argument list too long #36

Closed JimyKK closed 10 years ago

JimyKK commented 10 years ago

I receive the following error when backing up the Data partition via adb shell:

Backing up /data... /system/bin/onandroid[1876]: busybox: Argument list too long

The backups had been working just recently and I can't think of any changes to the system I have done. I am running the Xposed framework but disabling that doesn't fix the issue. If I backup using -o instead of -w I encounter no errors.

Recovery log:

Online Nandroid v9.20
Started at Wed Apr  9 10:22:17 WST 2014
###########################

Run with options: -w -md -pp -xg -xd --custom 2014-04-09 --storage /sdcard -cg -r

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

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,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,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/cache on /cache type ext4 (rw,seclabel,nosuid,nodev,noatime,nomblk_io_submit,noauto_da_alloc,errors=panic,data=ordered)
/dev/block/platform/msm_sdcc.1/by-name/persist on /persist type ext4 (rw,seclabel,nosuid,nodev,relatime,nomblk_io_submit,nodelalloc,errors=panic,data=ordered)
/dev/block/platform/msm_sdcc.1/by-name/modem on /firmware type vfat (ro,relatime,uid=1000,gid=1000,fmask=0337,dmask=0227,codepage=cp437,iocharset=iso8859-1,shortname=lower,errors=remount-ro)
/dev/block/dm-0 on /data type ext4 (rw,seclabel,nosuid,nodev,noatime,nomblk_io_submit,noauto_da_alloc,errors=panic,data=ordered)
/dev/fuse on /mnt/shell/emulated type fuse (rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other)
###########################

Device Details:
ro.product.model=Nexus 5
ro.product.brand=google
ro.product.name=hammerhead
ro.product.device=hammerhead
ro.product.board=hammerhead
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=LGE
###########################

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

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

02:22:17 Using busybox from: busybox
02:22:17 Checking for root permissions...
02:22:17 Root permissions acquired!
02:22:17 Analysing battery level...
02:22:17 Sufficient battery available!
02:22:17 Checking version of BusyBox installed...
02:22:17 BusyBox version 1.20 or above installed!
02:22:17 Searching for SD card...
02:22:17 Alternate storage media provided!
02:22:17 This device has a patch file installed!
02:22:17 TWRP backup mode selected at run time!
02:22:17 TWRP compression (gzip) enabled at run time!
02:22:17 Checking for required tools...
02:22:17 All required tools available!
02:22:17 Replace backup mode selected at run time!
02:22:17 Checking disk space...
02:22:18 SD Card Free Space: 23572 MB
02:22:18 Required Space: 3596 MB
02:22:18 Necessary disk space available!
02:22:18 Detecting mountpoints to exclude...
02:22:18 Backing up to /sdcard/TWRP/BACKUPS/032a9e25d0234661/2014-04-09
02:22:18 Backing up the old backup for replace operation...\c
02:22:20 Backing up /boot...\c
02:22:22 Backing up /recovery...\c
02:22:24 Backing up /system...\c
02:33:17 Backing up /data...\c
02:55:23 Backing up /cache...\c
02:55:27 Replacing old backup with new backup...\c
02:55:31 Online Nandroid Backup Completed in 33 minutes 14 seconds!
###########################

Files Backed-up:
"-rw-rw----    1         0 Apr  9 02:09 .list_generating
-rw-rw----    1  23068672 Apr  9 02:22 boot.emmc.win
-rw-rw----    1      4829 Apr  9 02:55 cache.ext4.win
-rw-rw----    1         0 Apr  9 02:09 data.ext4.win
-rw-rw----    1 853537084 Apr  9 02:55 data.ext4.win000
-rw-rw----    1  23068672 Apr  9 02:22 recovery.emmc.win
-rw-rw----    1 419712945 Apr  9 02:33 system.ext4.win
drwxrwx---    2      4096 Apr  9 02:09 tmp"

Device: Nexus 5 Recovery: TWRP 2.7 Android Version: 4.4.2 (Stock) Kernel: 3.4.0-gadb2201 (Stock)

ameer1234567890 commented 10 years ago

This is a busybox issue, Try using a different busybox.

JimyKK commented 10 years ago

OK sorry about that. Any recommendations for which busy box to use? I have used the installers on the play store: BusyBox by Stephen (Stericson), BusyBox Installer by JRummy Apps Inc, BusyBox X by Robert NEDIYAKALAPARAMBIL and Busybox On Rails by Team Trickster. They all kick up the same error

As far as I can tell they are installing the latest version of busy box