[RECOVERY][pyramid] TWRP 3.1.1-0 touch recovery [2017-05-19]

Search This thread

husky69

Senior Member
Oct 8, 2011
982
210
Samsung Galaxy Tab 4
LG G6
Hi,
I'm trying to put together a zip-file to flash some ca-certificates - but TWRP won't flash it :(

OK, here's what I did:
First, I got a sample.zip from somewhere in XDA that was made just to allow easy creation of zip files. I unpacked it and put together the necessary files and dirs:
Code:
.
├── META-INF
│   └── com
│       └── google
│           └── android
│               ├── update-binary
│               └── updater-script
└── system
    └── etc
        └── security
            └── cacerts
                ├── 5ed36f99.0
                └── e5662767.0
Then I modded updater-script to my needs:
Code:
show_progress(0.1, 1);
ui_print("Now mounting /system ...");
mount("yaffs2", "MTD", "system", "/system");
show_progress(0.1, 1)
ui_print("Installing CAcert Root certificates");
package_extract_dir("system", "/system");
show_progress(0.2, 1);
ui_print("Unmounting /system ...");
unmount("/system");
ui_print(" ");
ui_print("Done! CAcert root certificates should be in system keystore now ...");
show_progress(1,5);
and zipped it again. Then I pushed it to the phone.

But - trying to flash it resulted in an error:
E: Error Executing updater binary in zip '/sdcard/OpenDelta/FlashAfterUpdate/CAcert.zip'

Somewhere I read in order to get rid of this I should replace update-binary with the file from a zip that flashes fine - so I did. But the result was the same :(

Any hints anyone? Device etc. are in my signature.
 
Last edited:

husky69

Senior Member
Oct 8, 2011
982
210
Samsung Galaxy Tab 4
LG G6
Code:
show_progress(0.1, 1);
ui_print("Now mounting /system ...");
mount("yaffs2", "MTD", "system", "/system");
show_progress(0.1, 1)
ui_print("Installing CAcert Root certificates");
package_extract_dir("system", "/system");
show_progress(0.2, 1);
ui_print("Unmounting /system ...");
unmount("/system");
ui_print(" ");
ui_print("Done! CAcert root certificates should be in system keystore now ...");
show_progress(1,5);

There are two culprits in that script:
  • Line 4: mount() only takes three arguments now, not four, like it did in earlier versions
  • Line 5 lacks a ; at the end
So, after correcting these two lines to read
Code:
mount("yaffs2", "system", "/system");
show_progress(0.1, 1);
flashing ran OK.

Maybe this helps somebody some day :)

Props go to helicopter at freenode/#twrp for pointing me towards the log and thus pointing me in the right direction :D
 
  • Like
Reactions: Mv101

PhilCapron

Senior Member
Dec 26, 2011
155
33
2.6.3.0 on GT-I9305 LTE

Just installed the .tar file using Mobile Odin Pro.Had a problem with CWM and thought I'd give this a try.Install went fine and the rooted stock 4.3 firmware XXUEML5 stayed rooted.Tried a couple of reboots and some root required apps.All went well,nice and stable.Like the touch screen(s).My first impressions are that this is a pretty solid "recovery" system.To all those involved in compiling this code,thanks very much for all your efforts.
 

txr33

Senior Member
Jan 17, 2011
2,143
4,957
QLD
@Dees_Troy just to let you know with twrp 2.7 I am unable to do a backup but works fine with 2.6.3.0. I have attached the recovery log for you guys to see maybe why it is failing the backup. As far as I could see

I:createTarFork() process ended with ERROR=255

appears to be the error

Thanks
 

Foxlife

Senior Member
Feb 23, 2010
133
22
2.7 is... broken. 2.7.0.1 is out- flashing and backup issues are solved.

Wysłane z mojego GT-I9305 przy użyciu Tapatalka
 

Foxlife

Senior Member
Feb 23, 2010
133
22
As far as i know it is not yet available on 9305, so far only nexus devices

Wysłane z mojego Nexus 10 przy użyciu Tapatalka
 

Keksdt

Member
Jan 10, 2013
33
7
Thanks for the great recovery!!
Is there any chance on receiving further updates for the i9305?
 

hardythaker

Senior Member
Dec 14, 2014
173
26
29
Mumbai
OnePlus 6
__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.8.3.0 on Sun Mar 8 07:53:39 2015
(pid 1849)
BOARD_HAS_NO_REAL_SDCARD := true
TW_NO_REBOOT_BOOTLOADER := true
RECOVERY_SDCARD_ON_DATA := true
I:CPU temperature file '/sys/class/thermal/thermal_zone0/temp' not found, disabling CPU temp.
TW_NO_USB_STORAGE := true
TW_HAS_DOWNLOAD_MODE := true
I:TW_BRIGHTNESS_PATH := /sys/class/backlight/panel/brightness
I:Found brightness file at '/sys/class/backlight/panel/brightness'
I:TWFunc::Set_Brightness: Setting brightness control to 255
Starting the UI...Pixel format: 800x1280 @ 32bpp
Pixel format: BGR_565
Not using qualcomm overlay, 's3cfb'
framebuffer: fd 4 (800 x 1280)
=> Linking mtab
Renaming regular /etc/recovery.fstab -> /etc/recovery.fstab.bak
Moving /etc/twrp.fstab -> /etc/recovery.fstab
=> Processing recovery.fstab
I:processing '/system'
I:processing '/efs'
I:Created '/efs' folder.
I:processing '/cache'
I:processing '/data'
I:Setting up '/data' as data/media emulated storage.
I:Created '/sdcard' folder.
I:mount '/data/media' '/sdcard' process ended with RC=0
I:mount '/data/media/0' '/sdcard' process ended with RC=0
I:processing '/external_sd'
I:Created '/external_sd' folder.
I:processing '/usb-otg'
I:Created '/usb-otg' folder.
I:processing '/boot'
I:processing '/recovery'
I:processing '/modem'
I:Backup folder set to '/data/media/0/TWRP/BACKUPS/4d003a0bcb1e50fd'
I:Settings storage is '/data/media/0'
Updating partition details...
I:Data backup size is 1981MB, free: 4087MB.
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
...done
I:Unmounting main partitions...


Partition Logs:
/system | /dev/block/mmcblk0p20 | Size: 2098MB Used: 686MB Free: 1412MB Backup Size: 686MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_Available_in_GUI IsPresent
Primary_Block_Device: /dev/block/mmcblk0p20
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

/efs | /dev/block/mmcblk0p3 | Size: 19MB Used: 6MB Free: 13MB Backup Size: 6MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up IsPresent
Primary_Block_Device: /dev/block/mmcblk0p3
Display_Name: EFS
Storage_Name: EFS
Backup_Path: /efs
Backup_Name: efs
Backup_Display_Name: EFS
Storage_Path: /efs
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files

/cache | /dev/block/mmcblk0p19 | Size: 401MB Used: 6MB Free: 394MB Backup Size: 6MB
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/mmcblk0p19
Display_Name: Cache
Storage_Name: Cache
Backup_Path: /cache
Backup_Name: cache
Backup_Display_Name: Cache
Storage_Path: /cache
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files

/data | /dev/block/mmcblk0p21 | Size: 12027MB Used: 1981MB Free: 4087MB Backup Size: 1981MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent Has_Data_Media Can_Encrypt_Backup Use_Userdata_Encryption Is_Storage Is_Settings_Storage
Symlink_Path: /data/media/0
Symlink_Mount_Point: /sdcard
Primary_Block_Device: /dev/block/mmcblk0p21
Display_Name: Data
Storage_Name: Internal Storage
Backup_Path: /data
Backup_Name: data
Backup_Display_Name: Data
Storage_Path: /data/media/0
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files
MTP_Storage_ID: 65537

/external_sd | /dev/block/mmcblk1p1 | Size: 7638MB Used: 6633MB Free: 1004MB Backup Size: 6633MB
Flags: Can_Be_Mounted Can_Be_Wiped Wipe_Available_in_GUI Removable IsPresent Is_Storage
Primary_Block_Device: /dev/block/mmcblk1p1
Display_Name: External SDcard
Storage_Name: External SDcard
Backup_Path: /external_sd
Backup_Name: external_sd
Backup_Display_Name: External SDcard
Storage_Path: /external_sd
Current_File_System: vfat
Fstab_File_System: vfat
Backup_Method: files
MTP_Storage_ID: 65538

/usb-otg | | Size: 0MB Used: 0MB Free: 0MB Backup Size: 0MB
Flags: Can_Be_Mounted Can_Be_Wiped Wipe_Available_in_GUI Removable Is_Storage
Primary_Block_Device: /dev/block/sda1
Alternate_Block_Device: /dev/block/sda
Display_Name: USB-OTG
Storage_Name: USB-OTG
Backup_Path: /usb-otg
Backup_Name: usb-otg
Backup_Display_Name: USB-OTG
Storage_Path: /usb-otg
Current_File_System: vfat
Fstab_File_System: vfat
Backup_Method: files
MTP_Storage_ID: 65539

/boot | /dev/block/mmcblk0p9 | Size: 8MB
Flags: Can_Be_Backed_Up IsPresent
Primary_Block_Device: /dev/block/mmcblk0p9
Display_Name: Boot
Storage_Name: boot
Backup_Path: /boot
Backup_Name: boot
Backup_Display_Name: Boot
Storage_Path: /boot
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd

/recovery | /dev/block/mmcblk0p10 | Size: 8MB
Flags: IsPresent
Primary_Block_Device: /dev/block/mmcblk0p10
Display_Name: Recovery
Storage_Name: recovery
Backup_Path: /recovery
Backup_Name: recovery
Backup_Display_Name: Recovery
Storage_Path: /recovery
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd

/modem | /dev/block/mmcblk0p13 | Size: 20MB
Flags: IsPresent
Primary_Block_Device: /dev/block/mmcblk0p13
Display_Name: modem
Storage_Name: modem
Backup_Path: /modem
Backup_Name: modem
Backup_Display_Name: modem
Storage_Path: /modem
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd

I:Loading package: TWRP (/script/ui.xml)
I:Load XML directly
I:Loading package: TWRP (/data/media/0/TWRP/theme/ui.zip)
I:Loading zip theme
I:Loading package: TWRP (/res/ui.xml)
I:Load XML directly
I:Loading resources...
I:Loading variables...
I:Loading mouse cursor...
I:Loading pages...
I:pageSet::CheckInclude loading filename: ''
I:Loading included resources...
I:Loading included variables...
I:Loading mouse cursor...
I:Loading included pages...
I:Loading page main
I:Loading page main2
I:Cannot find file /sys/class/thermal/thermal_zone0/temp
I:Loading page install
I:Cannot find file /sys/class/thermal/thermal_zone0/temp
I:Loading page flash_confirm
I:Cannot find file /sys/class/thermal/thermal_zone0/temp
I:Loading page flash_zip
I:Cannot find file /sys/class/thermal/thermal_zone0/temp
I:Loading page flash_done
I:Cannot find file /sys/class/thermal/thermal_zone0/temp
I:Loading page clear_vars
I:Loading page confirm_action
I:Cannot find file /sys/class/thermal/thermal_zone0/temp
I:Loading page action_page
I:Cannot find file /sys/class/thermal/thermal_zone0/temp
I:Loading page singleaction_page
I:Cannot find file /sys/class/thermal/thermal_zone0/temp
I:Loading page action_complete
I:Cannot find file /sys/class/thermal/thermal_zone0/temp
I:Loading page filecheck
I:Loading page rebootcheck
I:Loading page wipe
I:Cannot find file /sys/class/thermal/thermal_zone0/temp
I:Loading page advancedwipe
I:Cannot find file /sys/class/thermal/thermal_zone0/temp
I:Loading page formatdata
I:Cannot find file /sys/class/thermal/thermal_zone0/temp
I:Loading page formatdata_confirm
I:Loading page checkpartitionlist
I:Loading page partitionoptions
I:Cannot find file /sys/class/thermal/thermal_zone0/temp
I:Loading page refreshfilesystem
I:Loading page selectfilesystem
I:Cannot find file /sys/class/thermal/thermal_zone0/temp
I:Loading page backup
I:Cannot find file /sys/class/thermal/thermal_zone0/temp
I:Loading page backupname1
I:Loading page backupname2
I:Cannot find file /sys/class/thermal/thermal_zone0/temp
I:Loading page backupencryption
I:Cannot find file /sys/class/thermal/thermal_zone0/temp
I:Loading page backupencryption2
I:Cannot find file /sys/class/thermal/thermal_zone0/temp
I:Loading page checkbackuppassword
I:Loading page backup_run
I:Cannot find file /sys/class/thermal/thermal_zone0/temp
I:Loading page restore
I:Cannot find file /sys/class/thermal/thermal_zone0/temp
I:Loading page restore_read
I:Loading page restore_decrypt
I:Cannot find file /sys/class/thermal/thermal_zone0/temp
I:Loading page try_restore_decrypt
I:Cannot find file /sys/class/thermal/thermal_zone0/temp
I:Loading page restore_select
I:Cannot find file /sys/class/thermal/thermal_zone0/temp
I:Loading page renamebackup
I:Cannot find file /sys/class/thermal/thermal_zone0/temp
I:Loading page restore_run
I:Cannot find file /sys/class/thermal/thermal_zone0/temp
I:Loading page selectstorage
I:Cannot find file /sys/class/thermal/thermal_zone0/temp
I:Loading page mount
I:Cannot find file /sys/class/thermal/thermal_zone0/temp
I:Loading page usb_mount
I:Cannot find file /sys/class/thermal/thermal_zone0/temp
I:Loading page usb_umount
I:Loading page reboot
I:Cannot find file /sys/class/thermal/thermal_zone0/temp
I:Loading page settings
I:Cannot find file /sys/class/thermal/thermal_zone0/temp
I:Loading page timezone
I:Cannot find file /sys/class/thermal/thermal_zone0/temp
I:Loading page screen
I:Cannot find file /sys/class/thermal/thermal_zone0/temp
I:Loading page Vibrate
I:Cannot find file /sys/class/thermal/thermal_zone0/temp
I:Loading page advanced
I:Cannot find file /sys/class/thermal/thermal_zone0/temp
I:Loading page partsdcard
I:Cannot find file /sys/class/thermal/thermal_zone0/temp
I:Loading page htcdumlock
I:Cannot find file /sys/class/thermal/thermal_zone0/temp
I:Loading page lock
I:Loading page filemanagerlist
I:Cannot find file /sys/class/thermal/thermal_zone0/temp
I:Loading page filemanageroptions
I:Cannot find file /sys/class/thermal/thermal_zone0/temp
I:Loading page choosedestinationfolder
I:Cannot find file /sys/class/thermal/thermal_zone0/temp
I:Loading page filemanagerrenamefile
I:Cannot find file /sys/class/thermal/thermal_zone0/temp
I:Loading page filemanagerrenamefolder
I:Cannot find file /sys/class/thermal/thermal_zone0/temp
I:Loading page filemanagerchmod
I:Cannot find file /sys/class/thermal/thermal_zone0/temp
I:Loading page filemanagerconfirm
I:Cannot find file /sys/class/thermal/thermal_zone0/temp
I:Loading page filemanageracction
I:Cannot find file /sys/class/thermal/thermal_zone0/temp
I:Loading page decrypt
I:Cannot find file /sys/class/thermal/thermal_zone0/temp
I:Loading page trydecrypt
I:Cannot find file /sys/class/thermal/thermal_zone0/temp
I:Loading page terminalfolder
I:Cannot find file /sys/class/thermal/thermal_zone0/temp
I:Loading page terminalcommand
I:Cannot find file /sys/class/thermal/thermal_zone0/temp
I:Loading page sideload
I:Cannot find file /sys/class/thermal/thermal_zone0/temp
I:Loading page fixperms
I:Cannot find file /sys/class/thermal/thermal_zone0/temp
I:Loading page installsu
I:Cannot find file /sys/class/thermal/thermal_zone0/temp
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Switching packages (TWRP)
SELinux contexts loaded from /file_contexts
Full SELinux support is present.
E:Cannot load volume /misc!
E:Cannot load volume /misc!
Startup Commands:
ro.bq.gpu_to_cpu_unsupported=1
ro.cm.device=lt013g
ro.cm.display.version=11-20150106-UNOFFICIAL-lt013g
ro.cm.version=11-20150106-UNOFFICIAL-lt013g
ro.cm.hardware.cabc=/sys/class/mdnie/mdnie/cabc
ro.cm.releasetype=UNOFFICIAL
ro.sf.lcd_density=213
ro.adb.secure=0
ro.com.google.clientidbase=android-google
ro.com.android.dateformat=MM-dd-yyyy
ro.com.android.dataroaming=false
ro.com.android.wifi-watchlist=GoogleGuest
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.sec_atd.tty=/dev/ttySAC2
ro.boot.selinux=enforcing
ro.boot.serialno=4d003a0bcb1e50fd
ro.boot.bootloader=T311XXUBNH6
ro.boot.debug_level=0x4f4c
ro.boot.warranty_bit=0
ro.boot.emmc_checksum=3
ro.boot.odin_download=1
ro.emmc=0
ro.hwui.disable_scissor_opt=true
ro.twrp.boot=1
ro.twrp.version=2.8.3.0
ro.wifi.channels=
ro.allow.mock.location=0
ro.board.platform=exynos4
ro.build.id=KTU84Q
ro.build.date=Tue Jan 6 11:24:55 EST 2015
ro.build.date.utc=0
ro.build.host=noletude
ro.build.tags=test-keys
ro.build.type=userdebug
ro.build.user=dave
ro.build.display.id=cm_lt013g-userdebug 4.4.4 KTU84Q 30241a5374 test-keys
ro.build.product=lt013g
ro.build.selinux=1
ro.build.version.sdk=19
ro.build.version.release=4.4.4
ro.build.version.codename=REL
ro.build.version.incremental=30241a5374
ro.build.description=lt013gxx-user 4.2.2 JDQ39 T311XWUAMG2 release-keys
ro.build.fingerprint=samsung/lt013gxx/lt013g:4.2.2/JDQ39/T311XWUAMG2:user/release-keys
ro.build.characteristics=tablet
ro.config.ringtone=Orion.ogg
ro.config.alarm_alert=Hassium.ogg
ro.config.notification_sound=Argon.ogg
ro.secure=0
ro.zygote.disable_gl_preload=1
ro.carrier=unknown
ro.cmlegal.url=https://www.cyanogenmod.org/docs/privacy
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.name=lt013gxx
ro.product.board=smdk4x12
ro.product.brand=samsung
ro.product.model=SM-T311
ro.product.device=lt013g
ro.product.locale.region=US
ro.product.locale.language=en
ro.product.manufacturer=samsung
ro.baseband=unknown
ro.bootmode=unknown
ro.hardware=smdk4x12
ro.opengles.version=131072
ro.revision=7
ro.serialno=4d003a0bcb1e50fd
ro.telephony.call_ring.delay=3000
ro.telephony.call_ring.multiple=false
ro.telephony.ril_class=SamsungExynos4RIL
ro.bootloader=T311XXUBNH6
ro.debuggable=1
ro.modversion=11-20150106-UNOFFICIAL-lt013g
ro.rommanager.developerid=cyanogenmod
ro.factorytest=0
ro.setupwizard.enterprise_mode=1
ro.switch_code.sw_lid=0x15
ro.switch_code.sw_lid_invert=true
ro.lcd_min_brightness=20
net.bt.name=Android
net.change=net.bt.name
init.svc.adbd=running
init.svc.healthd=running
init.svc.ueventd=running
init.svc.recovery=running
init.svc.set_permissive=stopped
rild.libargs=-d /dev/ttyS0
rild.libpath=/system/lib/libsec-ril.so
twrp.crash_counter=0
wifi.interface=wlan0
wifi.supplicant_scan_interval=15
debug.hwui.render_dirty_regions=false
dalvik.vm.heapsize=512m
dalvik.vm.lockprof.threshold=500
dalvik.vm.heapmaxfree=8m
dalvik.vm.heapminfree=512k
dalvik.vm.dexopt-flags=m=y
dalvik.vm.heapstartsize=16m
dalvik.vm.heapgrowthlimit=192m
dalvik.vm.dexopt-data-only=1
dalvik.vm.stack-trace-file=/data/anr/traces.txt
dalvik.vm.heaptargetutilization=0.75
persist.sys.dun.override=0
persist.sys.usb.config=mtp,adb
persist.sys.dalvik.vm.lib=libdvm.so
persist.sys.dalvik.multithread=false
persist.sys.root_access=1
persist.sys.recovery_update=false
service.adb.root=1
keyguard.no_require_sim=true
mobiledata.interfaces=rmnet0,pdp0,wlan0,gprs,ppp0

I:Copying file /cache/recovery/log to /cache/recovery/last_log
tw_get_context got selinux context: u:eek:bject_r:media_rw_data_file:s0
I:Got default contexts and file mode for storage files.
I:Attempt to load settings from settings file...
I:Loading settings from '/data/media/0/TWRP/.twrps'.
I:Backup folder set to '/data/media/0/TWRP/BACKUPS/4d003a0bcb1e50fd'
I:Copying file /etc/recovery.fstab to /cache/recovery/recovery.fstab
I:Version number saved to '/cache/recovery/.version'
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
__bionic_open_tzdata: couldn't find any tzdata when looking for CST6CDT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
I:TWFunc::Set_Brightness: Setting brightness control to 140
I:Enabling MTP during startup
I:Starting MTP
I:Get_Max_FileSize::maxFileSize:
twrp addStorage /data/media/0, mtpstorageid: 65537, maxFileSize: 17592186044415
I:Get_Max_FileSize::maxFileSize:
I:Get_Max_FileSize::maxFileSize:
twrp addStorage /external_sd, mtpstorageid: 65538, maxFileSize: 4294967295
I:Get_Max_FileSize::maxFileSize:
Starting MTP
MTP Enabled
I:Switching packages (TWRP)
I:Starting command line thread
created new mtpserver object
adding internal storage
MtpStorage id: 65537 path: /data/media/0
MtpStorage id: 65538 path: /external_sd
MtpServer::run fd: 53
I:Set page: 'wipe'
I:Set page: 'advancedwipe'
I:Set page: 'action_page'
I:eek:peration_start: 'Format'
I:wipe list 'DALVIK;/system;/cache;/data;'
I:wipe_path 'DALVIK'

Wiping Dalvik Cache Directories...
Cleaned: /data/dalvik-cache...
Cleaned: /cache/dalvik-cache...
-- Dalvik Cache Directories Wipe Complete!

I:wipe_path '/system'
Formatting System using make_ext4fs function.
Creating filesystem with parameters:
Size: 2235564032
Block size: 4096
Blocks per group: 32768
Inodes per group: 8032
Inode size: 256
Journal blocks: 8528
Label:
Blocks: 545792
Block groups: 17
Reserved block group size: 135
Created filesystem with 11/136544 inodes and 17921/545792 blocks
I:wipe_path '/cache'
Formatting Cache using make_ext4fs function.
Creating filesystem with parameters:
Size: 427819008
Block size: 4096
Blocks per group: 32768
Inodes per group: 6528
Inode size: 256
Journal blocks: 1632
Label:
Blocks: 104448
Block groups: 4
Reserved block group size: 31
Created filesystem with 11/26112 inodes and 3374/104448 blocks
I:Recreating /cache/recovery folder.
I:Copying file /etc/recovery.fstab to /cache/recovery/recovery.fstab
I:Version number saved to '/cache/recovery/.version'
I:wipe_path '/data'
Wiping data without wiping /data/media ...
I:Unable to unlink '/data/bugreports'
I:Unable to unlink '/data/.psm.info'
I:Unable to unlink '/data/.cid.info'
I:Unable to unlink '/data/.wifiver.info'
Done.
I:Get_Max_FileSize::maxFileSize:
I:sending message to add 65537 '/data/media/0'
mtppipe add storage 65537 '/data/media/0'
MtpStorage id: 65537 path: /data/media/0
E:MtpServer::addStorage Storage for storage ID 65537 already exists.
I:Message sent, add storage ID: 65537
Updating partition details...
I:Data backup size is 0MB, free: 6090MB.
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
...done
I:Set page: 'action_complete'
I:eek:peration_end - status=0
I:Set page: 'clear_vars'
I:Set page: 'advancedwipe'
I:Set page: 'wipe'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'restore'
I:Set page: 'selectstorage'
I:Backup folder set to '/external_sd/TWRP/BACKUPS/4d003a0bcb1e50fd'
I:Set page: 'clear_vars'
I:Set page: 'restore'
E: Unable to locate partition by backup name: 'preload' //this error coming every time since i install TWRP
I:Set page: 'restore_read'
I:Set page: 'restore_select'
I:Set page: 'restore_run'
I:eek:peration_start: 'Nandroid'

[RESTORE STARTED]

Restore folder: '/external_sd/TWRP/BACKUPS/4d003a0bcb1e50fd/2015-02-21--15-09-37'
Skipping MD5 check based on user setting.
Calculating restore details...
I:InfoManager file '/external_sd/TWRP/BACKUPS/4d003a0bcb1e50fd/2015-02-21--15-09-37/boot.info' not found.
I:Restore file system is: 'emmc'.
I:InfoManager file '/external_sd/TWRP/BACKUPS/4d003a0bcb1e50fd/2015-02-21--15-09-37/cache.info' not found.
I:Restore file system is: 'ext4'.
I:Single archive
I:InfoManager file '/external_sd/TWRP/BACKUPS/4d003a0bcb1e50fd/2015-02-21--15-09-37/data.info' not found.
I:Restore file system is: 'ext4'.
I:Single archive
I:InfoManager file '/external_sd/TWRP/BACKUPS/4d003a0bcb1e50fd/2015-02-21--15-09-37/efs.info' not found.
I:Restore file system is: 'ext4'.
I:Single archive
I:InfoManager file '/external_sd/TWRP/BACKUPS/4d003a0bcb1e50fd/2015-02-21--15-09-37/modem.info' not found.
I:Restore file system is: 'emmc'.
I:InfoManager file '/external_sd/TWRP/BACKUPS/4d003a0bcb1e50fd/2015-02-21--15-09-37/recovery.info' not found.
I:Restore file system is: 'emmc'.
I:InfoManager file '/external_sd/TWRP/BACKUPS/4d003a0bcb1e50fd/2015-02-21--15-09-37/system.info' not found.
I:Restore file system is: 'ext4'.
I:Single archive
Restoring 7 partitions...
Total restore size is 2547MB
I:Restore filename is: boot.emmc.win
I:Restore file system is: 'emmc'.
Restoring Boot...
I:Restore command: 'dd bs=4096 if='/external_sd/TWRP/BACKUPS/4d003a0bcb1e50fd/2015-02-21--15-09-37/boot.emmc.win' of=/dev/block/mmcblk0p9'
2048+0 records in
2048+0 records out
8388608 bytes (8.0MB) copied, 0.761735 seconds, 10.5MB/s
I:dd bs=4096 if='/external_sd/TWRP/BACKUPS/4d003a0bcb1e50fd/2015-02-21--15-09-37/boot.emmc.win' of=/dev/block/mmcblk0p9 process ended with RC=0
[Boot done (1 seconds)]

I:Restore filename is: cache.ext4.win
I:Restore file system is: 'ext4'.
Wiping cache...
Formatting cache using make_ext4fs function.
Creating filesystem with parameters:
Size: 427819008
Block size: 4096
Blocks per group: 32768
Inodes per group: 6528
Inode size: 256
Journal blocks: 1632
Label:
Blocks: 104448
Block groups: 4
Reserved block group size: 31
Created filesystem with 11/26112 inodes and 3374/104448 blocks
I:Recreating /cache/recovery folder.
I:Copying file /etc/recovery.fstab to /cache/recovery/recovery.fstab
I:Version number saved to '/cache/recovery/.version'
Restoring Cache...
I:Single archive
I:Extracting uncompressed tar
prefix: /cache
==> tar_extract_all(TAR *t, "/cache")
tar_extract_all(): calling th_get_pathname()
tar_extract_all(): calling tar_extract_file(t, "/cache/./backup/")
item name: './backup/'
dir
==> extracting: /cache/./backup/ (mode 40700, directory)
==> setting perms: /cache/./backup/ (mode 40700, uid 1000, gid 1000)
tar_extract_all(): calling th_get_pathname()
tar_extract_all(): calling tar_extract_file(t, "/cache/./lost+found/")
item name: './lost+found/'
dir
==> extracting: /cache/./lost+found/ (mode 40770, directory)
*** using existing directory ==> setting perms: /cache/./lost+found/ (mode 40770, uid 0, gid 0)
tar_extract_all(): calling th_get_pathname()
tar_extract_all(): calling tar_extract_file(t, "/cache/./recovery/")
item name: './recovery/'
dir
==> extracting: /cache/./recovery/ (mode 40770, directory)
*** using existing directory ==> setting perms: /cache/./recovery/ (mode 40770, uid 1000, gid 2001)
tar_extract_all(): calling th_get_pathname()
tar_extract_all(): calling tar_extract_file(t, "/cache/./recovery/last_log")
item name: './recovery/last_log'
reg
==> tar_extract_regfile(t=0x40613d88, realname="/cache/./recovery/last_log")
==> extracting: /cache/./recovery/last_log (file size 17816 bytes)
### done extracting /cache/./recovery/last_log
==> setting perms: /cache/./recovery/last_log (mode 100640, uid 0, gid 0)
I:extractTarFork() process ended with RC=0
[Cache done (1 seconds)]

I:Restore filename is: data.ext4.win
I:Restore file system is: 'ext4'.
Wiping Data...
Wiping data without wiping /data/media ...
Done.
I:Get_Max_FileSize::maxFileSize:
I:sending message to add 65537 '/data/media/0'
I:Message sent, add storage ID: 65537
Restoring Data...
mtppipe add storage 65537 '/data/media/0'
MtpStorage id: 65537 path: /data/media/0
E:MtpServer::addStorage Storage for storage ID 65537 already exists.
I:Single archive
I:Extracting uncompressed tar
prefix: /data
==> tar_extract_all(TAR *t, "/data")
tar_extract_all(): calling th_get_pathname()
tar_extract_all(): calling tar_extract_file(t, "/data/./anr/")
item name: './anr/'
dir
==> extracting: /data/./anr/ (mode 40775, directory)
==> setting perms: /data/./anr/ (mode 40775, uid 1000, gid 1000)
.
.
.
.
.
.
.
.
.(application data)
.
.
.
.
.
.
.
.
.
tar_extract_all(): calling th_get_pathname()
tar_extract_all(): calling tar_extract_file(t, "/efs/./wv.keys")
item name: './wv.keys'
reg
==> tar_extract_regfile(t=0x4355edb8, realname="/efs/./wv.keys")
==> extracting: /efs/./wv.keys (file size 220 bytes)
### done extracting /efs/./wv.keys
==> setting perms: /efs/./wv.keys (mode 100644, uid 1001, gid 1001)

I:extractTarFork() process ended with RC=0
[EFS done (1 seconds)]

I:TWFunc::Set_Brightness: Setting brightness control to 0
I:Restore filename is: modem.emmc.win
I:Restore file system is: 'emmc'.
Restoring modem...
I:Restore command: 'dd bs=4096 if='/external_sd/TWRP/BACKUPS/4d003a0bcb1e50fd/2015-02-21--15-09-37/modem.emmc.win' of=/dev/block/mmcblk0p13'
1024+0 records in
1024+0 records out
4194304 bytes (4.0MB) copied, 0.368979 seconds, 10.8MB/s
I:dd bs=4096 if='/external_sd/TWRP/BACKUPS/4d003a0bcb1e50fd/2015-02-21--15-09-37/modem.emmc.win' of=/dev/block/mmcblk0p13 process ended with RC=0
[modem done (0 seconds)]

I:Restore filename is: recovery.emmc.win
I:Restore file system is: 'emmc'.
E:Size (20MB) of backup '/external_sd/TWRP/BACKUPS/4d003a0bcb1e50fd/2015-02-21--15-09-37/recovery.emmc.win' is larger than target device '/dev/block/mmcblk0p10' (8MB)
I:Set page: 'action_complete'
I:TWFunc::Set_Brightness: Setting brightness control to 140
I:eek:peration_end - status=1
I:Set page: 'clear_vars'
I:Set page: 'restore_select'
I:Set page: 'restore'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'advanced'
I:Set page: 'confirm_action'
I:Set page: 'action_page'
I:eek:peration_start: 'Copy Log'
I:Copying file /tmp/recovery.log to /external_sd/recovery.log
 

西村大一

Senior Member
Dec 7, 2012
857
342
Sagamihara\Tōkyō
I don't want to bump an old thread for nothing, so pleaase listen to me.
One of the mods please change the thread title to [RECOVERY][i9305] TWRP 2.8.7.0 touch recovery [2015-06-23] because pyramid is the code name of the HTC Sensation (as per download.cyanogenmod.com. Again, I just wanted to clear the name because someone may get :confused: and accidentaly download the wrong recovery and end up bricking their HTC. Thank you again.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 34
    Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.




    CHANGELOG for 3.0.2-0:

    -Backups will now include adopted storage keys (Dees_Troy)
    -Fixed an adb restore issue (bigbiff)
    -Fixed rebooting when no OS is present (Dees_Troy)
    -Fixed line wrapping in the GUI terminal (_that)
    -Updated TWRP source code to AOSP 7.1.2 (Dees_Troy)


    CHANGELOG for 3.1.0-0:

    -vold decrypt on a few select HTC devices, TWRP will now attempt to use the system partition's vold and vdc binaries and libraries to decrypt the data partition (nkk71 and CaptainThrowback)
    -adb backup to stream a backup directly to or from your PC, see documentation here: https://github.com/omnirom/android_bootable_recovery/commit/ce8f83c48d200106ff61ad530c863b15c16949d9 (bigbiff)
    -tweak MTP startup routines (mdmower)
    -support new Android 7.x xattrs for backup and restore to fix loss of data after a restore (Dees_Troy)
    -support POSIX file capabilities backup and restore to fix VoLTE on HTC devices and possibly other issues (Dees_Troy)
    -better indicate to users that internal storage is not backed up (Dees_Troy)
    -improve automatic determination of TW_THEME (mdmower)
    -minimal getcap and setcap support (_that)
    -try mounting both ext4 and f2fs during decrypt (jcadduono and Dees_Troy)
    -shut off backlight with power key (mdmower)
    -timeout during FDE decrypt (Dees_Troy and nkk71)
    -support for FBE decrypt and backing up and restoring FBE policies (Dees_Troy)
    -boot slot support (Dees_Troy)
    -TWRP app install prompt during reboot (Dees_Troy)
    -support for AB OTA zips (Dees_Troy)
    -support new Android 7.x log command (Dees_Troy)
    -update recovery sources to AOSP 7.1 (Dees_Troy)
    -numerous bugfixes and improvements by too many people to mention

    CHANGELOG for 3.0.2-0:

    -Fix a bug with the input box that affected masked inputs (passwords). This fixes decrypt of full device encryption on devices that support decrypt. This bug also impacts encrypted backups. Users are highly encouraged to stop using 3.0.1 if you use encrypted backups or if you need decrypt of data in TWRP.
    -Add Greek translation to some builds.

    CHANGELOG for 3.0.1-0:

    -support new CM 13.0 pattern encryption (sultanqasim)
    -fix slow flashing issue due to modprobe (present on only some devices) (#twrp)
    -libtar updated to latest upstream and fixes (jcadduono)
    -fixes for loading custom themes (_that)
    -TWRP will now detect and install TWRP themes automatically through the normal zip install process (Dees_Troy)
    -translation updates - added Italian, Czech and Polish and significant updates to Dutch
    -progress bar improvements - progress bar updates during image flashing and better tracks progress during file system backups (tar) (Dees_Troy)
    -fix input box text display (Dees_Troy)
    -reboot option after zip install complete (bigbiff)
    -other mostly invisible bug fixes and improvements

    CHANGELOG for 3.0.0-0:

    -Completely new theme - Much more modern and much nicer looking (by z31s1g)
    -True Terminal Emulator - Includes arrow keys, tab and tab completion, etc. (by _that)
    -Language translation - It won’t be perfect and especially some languages that require large font files like Chinese & Japanese won’t be availble on most devices. Also some languages may only be partially translated at this time. Feel free to submit more translations to OmniROM’s Gerrit. (mostly by Dees_Troy)
    -Flashing of sparse images - On select devices you will be able to flash some parts of factory images via the TWRP GUI (by HashBang173)
    -Adopted storage support for select devices - TWRP can now decrypt adopted storage partitions from Marshmallow
    -Reworked graphics to bring us more up to date with AOSP - includes support for adf and drm graphics (by Dees_Troy)
    -SuperSU prompt will no longer display if a Marshmallow ROM is installed
    -Update exfat, exfat fuse, dosfstools (by mdmower)
    -Update AOSP base to 6.0
    -A huge laundry list of other minor fixes and tweaks

    WARNING: This is our first release in a long time. We have a lot of new and somewhat aggressive changes in this new release. The changes to the graphics back-end may cause some devices to not boot up properly or have other display-related issues. If you are not in a position to reflash an older build of TWRP, then wait until you are or at least wait until others have tried the new version for your specific device. You don’t want to end up with a non-working recovery and have to wait several hours or days to get to a computer to be able to fix it.

    Notes for themers: In addition to the udpated theme, we have introduced a theme version variable to the TWRP theme system. If the theme version does not match the version that TWRP expects, TWRP will reject the custom theme and load its stock theme. This change will ensure that people who update TWRP without updating their theme will still have a workable recovery. We have removed libjpeg support. The stock theme was only using a jpeg image for the splash / curtain. This change means that any custom themes will no longer be able to use jpeg images. It also means that tools used to repack recovery images with a different curtain / splash will need to be updated to use the new method.

    Version number notes: For a while we’ve been using a 4 digit version number and reserved the 4th digit for device-specific updates. For instance, we find and fix a device-specific issue like decryption of data on Nexus 5, we would release that as a 2.8.7.1. After a while, some people would start asking where 2.8.7.1 was for other devices. So, going forward we have decided to change the numbering scheme to 3.0.0-2, etc. Our hope is that this version numbering scheme will more clearly identify that the 4th digit does not indicate a version change for the code base.

    We need your help! The bulk of TWRP work is done by 3 people on a volunteer basis. We have pushed most of our device files to our github and we have a gerrit instance. If you have the ability, please help us maintain our official devices and/or add your device to our official device list. Thanks in advance!

    DOWNLOAD:
    1) Install the TWRP app from the Play Store or grab the apk from our website
    2) Open the app, agree to the terms, and enable root access
    3) Select TWRP Flash
    4) Search for your device and select the version you wish to download
    5) Once the download is complete, select the file (it's usually in your downloads folder) and then Flash Recovery
    OR:
    Most devices can be updated quickly and easily within TWRP if you already have version 2.8.4.0 or higher installed
    1) Download the latest version from our website on your device
    2) Reboot to TWRP
    3) Hit Install and tap the "Images..." button in the lower right
    4) Browse to the location of the TWRP image on your device and select it
    5) Select recovery from the partition list and swipe to flash
    OR:
    You can find more information and download links on our website.

    BUGS:
    If you have found a bug, please consider posting it to our github issues log. It's pretty much impossible for us to keep up with the more than 40 threads that we have for the devices that we "directly" support. If you have a significant problem that cannot be answered in this thread, your best bet is to PM me directly, contact us via our website, or find us in our IRC channel below. If you see someone that's struggling, feel free to point it out to us. We need your help to help us keep track of all of our devices! Thanks!

    SUPPORT:
    Live support is available via #twrp on Freenode with your IRC client or just click this link.
    6
    [RECOVERY] TWRP 2.5.0.0 touch recovery [2013-04-09]
    4
    [RECOVERY] TWRP 2.4.4.0 touch recovery [2013-03-12]
    3
    [RECOVERY] TWRP 2.4.2.0 touch recovery [2013-02-25]
    3
    As a work around, you can install it using mobile Odin and select the tar file.