[Android Software Development] hertzschi:
Hi [MENTION=1806623]beerbong[/MENTION]

I have a problem with making a backup before flashing on twrp based recovery .

With cwm it worked.

The problem is as I read out of the logs is that as backup name is given the name plus the full path by your openrecoveryscript.

And so the twrp refuses to continue as invalid character / is specified in backup name.

Here is the log :

_bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
Starting TWRP 2.6.3.0 on Thu Feb 13 17:20:32 2014
TW_NO_PARTITION_SD_CARD := true
I:Internal path defined: '/sdcard'
I:External path defined: '/emmc'
TW_NO_REBOOT_BOOTLOADER := true
I:Lun file '/sys/devices/platform/s3c-usbgadget/gadget/lun0/file'
Starting the UI...Pixel format: 480x800 @ 32bpp
Pixel format: BGR_565
framebuffer: fd 4 (480 x 800)
=> Linking mtab
Renaming regular /etc/recovery.fstab -> /etc/recovery.fstab.bak
Moving /etc/twrp.fstab -> /etc/recovery.fstab
=> Processing recovery.fstab
I:Processing '/recovery'
I:Processing '/boot'
I:Processing '/radio'
I:Processing '/data'
I:Processing '/cache'
I:Processing '/datadata'
I:Created '/datadata' folder.
I:Processing '/sdcard'
I:Created '/sdcard' folder.
I:Created '/and-sec' folder.
I:Creating Android Secure: /sdcard/.android_secure
I:mount '/sdcard/.android_secure' '/and-sec' process ended with RC=0
I:Backup folder set to '/sdcard/TWRP/BACKUPS/36309727E88F00EC'
I:Settings storage is '/sdcard'
I:Processing '/system'
I:Processing '/emmc'
I:Created '/emmc' folder.
Updating partition details...
I:Unmounting main partitions...

Partition Logs:
/recovery | /dev/block/mtdblock1 | Size: 7MB
Flags: Can_Be_Backed_Up IsPresent
Primary_Block_Device: /dev/block/mtdblock1
Display_Name: Recovery
Storage_Name: recovery
Backup_Path: /recovery
Backup_Name: recovery
Backup_Display_Name: Recovery
Storage_Path: /recovery
Current_File_System: mtd
Fstab_File_System: mtd
MTD_Name: recovery
Backup_Method: flash_utils

/boot | /dev/block/mtdblock0 | Size: 7MB
Flags: Can_Be_Backed_Up IsPresent
Primary_Block_Device: /dev/block/mtdblock0
Display_Name: Boot
Storage_Name: boot
Backup_Path: /boot
Backup_Name: boot
Backup_Display_Name: Boot
Storage_Path: /boot
Current_File_System: mtd
Fstab_File_System: mtd
MTD_Name: boot
Backup_Method: flash_utils

/radio | /dev/block/mtdblock5 | Size: 16MB
Flags: IsPresent
Primary_Block_Device: /dev/block/mtdblock5
Display_Name: radio
Storage_Name: radio
Backup_Path: /radio
Backup_Name: radio
Backup_Display_Name: radio
Storage_Path: /radio
Current_File_System: mtd
Fstab_File_System: mtd
MTD_Name: radio
Backup_Method: flash_utils

/data | /dev/mapper/lvpool-userdata | Size: 1295MB Used: 790MB Free: 504MB Backup Size: 790MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI Has_SubPartition IsPresent Can_Encrypt_Backup Use_Userdata_Encryption
Primary_Block_Device: /dev/mapper/lvpool-userdata
Length: -16384
Display_Name: Data
Storage_Name: Data
Backup_Path: /data
Backup_Name: data
Backup_Display_Name: Data
Storage_Path: /data
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files

/cache | /dev/block/mtdblock3 | Size: 17MB Used: 2MB Free: 15MB Backup Size: 2MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent
Primary_Block_Device: /dev/block/mtdblock3
Display_Name: Cache
Storage_Name: Cache
Backup_Path: /cache
Backup_Name: cache
Backup_Display_Name: Cache
Storage_Path: /cache
Current_File_System: yaffs2
Fstab_File_System: yaffs2
MTD_Name: cache
Backup_Method: files

/datadata | /dev/block/mtdblock2 | Size: 422MB Used: 145MB Free: 276MB Backup Size: 145MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Is_SubPartition IsPresent Can_Encrypt_Backup
SubPartition_Of: /data
Primary_Block_Device: /dev/block/mtdblock2
Display_Name: DataData
Storage_Name: DataData
Backup_Path: /datadata
Backup_Name: datadata
Backup_Display_Name: DataData
Storage_Path: /datadata
Current_File_System: yaffs2
Fstab_File_System: yaffs2
MTD_Name: datadata
Backup_Method: files

/sdcard | /dev/block/mmcblk0p1 | Size: 5774MB Used: 5159MB Free: 615MB Backup Size: 43MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_Available_in_GUI IsPresent Has_Android_Secure Is_Storage Is_Settings_Storage
Symlink_Path: /sdcard/.android_secure
Symlink_Mount_Point: /and-sec
Primary_Block_Device: /dev/block/mmcblk0p1
Display_Name: sdcard
Storage_Name: sdcard
Backup_Path: /and-sec
Backup_Name: and-sec
Backup_Display_Name: Android Secure
Storage_Path: /sdcard
Current_File_System: vfat
Fstab_File_System: vfat
Backup_Method: files

/system | /dev/mapper/lvpool-system | Size: 590MB Used: 340MB Free: 249MB Backup Size: 340MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_Available_in_GUI IsPresent
Primary_Block_Device: /dev/mapper/lvpool-system
Display_Name: System
Storage_Name: System
Backup_Path: /system
Backup_Name: system
Backup_Display_Name: System
Storage_Path: /system
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files

/emmc | /dev/block/mmcblk1p1 | Size: 14726MB Used: 12044MB Free: 2681MB Backup Size: 12044MB
Flags: Can_Be_Mounted Can_Be_Wiped Wipe_Available_in_GUI Removable IsPresent Is_Storage
Primary_Block_Device: /dev/block/mmcblk1p1
Display_Name: emmc
Storage_Name: emmc
Backup_Path: /emmc
Backup_Name: emmc
Backup_Display_Name: emmc
Storage_Path: /emmc
Current_File_System: vfat
Fstab_File_System: vfat
Backup_Method: files

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 main2
I:Loading page install
I:Loading page flash_confirm
I:Loading page flash_zip
I:Loading page flash_done
I:Loading page clear_vars
I:Loading page confirm_action
I:Loading page action_page
I:Loading page singleaction_page
I:Loading page action_complete
I:Loading page filecheck
I:Loading page rebootcheck
I:Loading page wipe
I:Loading page advancedwipe
I:Loading page formatdata
I:Loading page formatdata_confirm
I:Loading page backup
I:Loading page backupname1
I:Loading page backupname2
I:Loading page backupencryption
I:Loading page backupencryption2
I:Loading page checkbackuppassword
I:Loading page backup_run
I:Loading page restore
I:Loading page restore_read
I:Loading page restore_decrypt
I:Loading page try_restore_decrypt
I:Loading page restore_select
I:Loading page renamebackup
I:Loading page restore_run
I:Loading page selectstorage
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 timezone
I:Loading page screen
I:Loading page advanced
I:Loading page appselect
I:Loading page apprun
I:Loading page partsdcard
I:Loading page htcdumlock
I:Loading page lock
I:Loading page filemanagerlist
I:Loading page filemanageroptions
I:Loading page choosedestinationfolder
I:Loading page filemanagerrenamefile
I:Loading page filemanagerrenamefolder
I:Loading page filemanagerchmod
I:Loading page filemanagerconfirm
I:Loading page filemanageracction
I:Loading page decrypt
I:Loading page trydecrypt
I:Loading page terminalfolder
I:Loading page terminalcommand
I:Loading page sideload
I:Loading page installsu
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Switching packages (TWRP)
SELinux contexts loaded from /file_contexts
E:Cannot load volume /misc!
E:Cannot load volume /misc!
Startup Commands: ro.bq.gpu_to_cpu_unsupported=1
ro.cm.device=galaxysmtd
ro.cm.display.version=Mackay_ROM_4.2.1
ro.cm.version=Mackay_ROM_4.2.1
ro.sf.lcd_density=240
ro.adb.qemud=1
ro.com.google.clientidbase=android-google
ro.com.google.networklocation=1
ro.com.google.locationfeatures=1
ro.com.android.dateformat=MM-dd-yyyy
ro.com.android.dataroaming=false
ro.com.android.wifi-watchlist=GoogleGuest
ro.ril.hsxpa=1
ro.ril.gprsclass=10
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.boot.emmc=0
ro.boot.serialno=36309727E88F00EC
ro.emmc=0
ro.hwui.disable_scissor_opt=true
ro.vold.umsdirtyratio=20
ro.wifi.channels=
ro.allow.mock.location=0
ro.board.platform=s5pc110
ro.build.id=KOT49H
ro.build.date=do jan 23 06:44:09 CET 2014
ro.build.date.utc=0
ro.build.host=UbuntuDesktop
ro.build.tags=test-keys
ro.build.type=userdebug
ro.build.user=kasper
ro.build.display.id=cm_galaxysmtd-userdebug 4.4.2 KOT49H 4f9babe494 test-keys
ro.build.product=GT-I9000
ro.build.selinux=1
ro.build.version.sdk=19
ro.build.version.release=4.4.2
ro.build.version.codename=REL
ro.build.version.incremental=4f9babe494
ro.build.description=GT-I9000-user 2.3.5 GINGERBREAD XXJVT release-keys
ro.build.fingerprint=samsung/GT-I9000/GT-I9000:2.3.5/GINGERBREAD/XXJVT:user/release-keys
ro.build.characteristics=default
ro.config.low_ram=false
ro.config.ringtone=Orion.ogg
ro.config.alarm_alert=Hassium.ogg
ro.config.notification_sound=Argon.ogg
ro.kernel.android.checkjni=0
ro.secure=1
ro.carrier=unknown
ro.cmlegal.url=http://www.cyanogenmod.org/docs/privacy
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.name=GT-I9000
ro.product.board=aries
ro.product.brand=samsung
ro.product.model=GT-I9000
ro.product.device=GT-I9000
ro.product.locale.region=US
ro.product.locale.language=en
ro.product.manufacturer=samsung
ro.baseband=unknown
ro.bootmode=unknown
ro.hardware=aries
ro.opengles.version=131072
ro.revision=48
ro.serialno=36309727E88F00EC
ro.telephony.ril.v3=icccardstatus,datacall,signalstrength,facilitylock
ro.telephony.ril_class=SamsungExynos3RIL
ro.bootloader=unknown
ro.debuggable=1
ro.modversion=Mackay_ROM_4.2.1
ro.rommanager.developerid=cyanogenmod
ro.factorytest=0
ro.setupwizard.enterprise_mode=1
net.bt.name=Android
net.change=net.bt.name
sys.usb.state=mass_storage,adb
sys.usb.config=mass_storage,adb
init.svc.adbd=stopping
init.svc.healthd=running
init.svc.ueventd=running
init.svc.recovery=running
rild.libargs=-d /dev/ttyS0
rild.libpath=/system/lib/libsec-ril.so
wifi.interface=wlan0
dalvik.vm.checkjni=false
dalvik.vm.heapsize=128m
dalvik.vm.lockprof.threshold=500
dalvik.vm.heapmaxfree=2m
dalvik.vm.heapminfree=512k
dalvik.vm.dexopt-flags=m=y
dalvik.vm.heapstartsize=5m
dalvik.vm.heapgrowthlimit=48m
dalvik.vm.dexopt-data-only=1
dalvik.vm.stack-trace-file=/data/anr/traces.txt
dalvik.vm.heaptargetutilization=0.25
persist.sys.usb.config=mass_storage,adb
persist.sys.vold.switchexternal=1
persist.sys.dalvik.vm.lib=libdvm.so
persist.sys.root_access=1
service.adb.root=1
keyguard.no_require_sim=true
mobiledata.interfaces=pdp0,eth0,gprs,ppp0

I:Copying file /cache/recovery/log to /cache/recovery/last_log
I:Attempt to load settings from settings file...
I:Loading settings from '/sdcard/TWRP/.twrps'.
I:Backup folder set to '/emmc/TWRP/BACKUPS/36309727E88F00EC'
I:Copying file /etc/recovery.fstab to /cache/recovery/recovery.fstab
I:Version number saved to '/cache/recovery/.version'
__bionic_open_tzdata: couldn't find any tzdata when looking for NFT-1DFT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
I:Switching packages (TWRP)
I:Set page: 'action_page'
I:Script file found: '/cache/recovery/openrecoveryscript'
I:Copying file /cache/recovery/openrecoveryscript to /tmp/openrecoveryscript
Processing OpenRecoveryScript file...
I:command is: 'backup' and I:value is: 'C123O /emmc/TWRP/BACKUPS/2014-02-13.18.20.01test'
Backup folder set to '/emmc/TWRP/BACKUPS/2014-02-13.18.20.01test'
E:Backup name '/emmc/TWRP/BACKUPS/2014-02-13.18.20.01testckup folder set to '/emmc/TWRP/BACKUPS/2014-02-13.18.20.01test'' contains invalid character: '/'
Done processing script file
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Switching packages (TWRP)
I:Set page: 'reboot'
I:Set page: 'rebootcheck'
I:Copying file /cache/recovery/log to /cache/recovery/last_log
Rebooting...