Lanchon / REPIT

A Device-Only Data-Sparing Repartitioning Tool For Android
159 stars 25 forks source link

partition #11 'sdcard' (UMS) could not be fixed #36

Closed aensley closed 8 years ago

aensley commented 8 years ago

SPH-D710

Recovery: TWRP 3.0.2-1 - patched with lanchon-twrp-patcher-20160417-crossflash-d710.zip ROM + Kernel: CM11 Nightly 20160612 d710

Tried flashing: lanchon-repit-20160415-system=1.0-data=same-sdcard=max-preload=min+wipe-d710.zip

From my external SD card and ran into the following error.

Installing zip file '/sdcard1/lanchon-repit-20160415-system=1.0-data=same-sdcard=max-preload=min+wipe-d710.zip'
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment initialized.

 ####################################
  Lanchon REPIT
  A Data-Sparing Repartitioning Tool
  Version: 2016-04-15
  Device: d710
  Copyright 2016, Lanchon (GPLv3)
 ####################################

=====  PRELIMINARY CHECKS  =====
info: valid package names: <prefix>[-(system|data|sdcard|preload)=<conf>]...<suffix>
info: valid partition <conf> values: [<size-in-GiB>|same|min|max][+[keep|wipe][+[ext4|vfat|f2fs|swap|raw]]]

-----  DEFAULTS  -----
system = size:same + content:keep + fs:ext4
data = size:same + content:keep + fs:ext4
sdcard = size:same + content:keep + fs:vfat
preload = size:same + content:keep + fs:ext4

info: parsing package name

-----  CONFIGURATION  -----
system = size:1.0 + content:keep + fs:ext4
data = size:same + content:keep + fs:ext4
sdcard = size:max + content:keep + fs:vfat
preload = size:min + content:wipe + fs:ext4

info: disabling swap
info: copying package to '/tmp'
info: unmounting all partitions
info: rereading partition table

=====  PREPARATION  =====
info: determining usable sector range of block device
info: checking existing partitions
#####  processing heap 'main'
info: checking existing partition layout
info: current size: partition #9 'system' (FACTORYFS): 1024 MiB
info: current size: partition #10 'data' (DATAFS): 6144 MiB
info: current size: partition #11 'sdcard' (UMS): 7480 MiB
info: current size: partition #12 'preload' (HIDDEN): 8 MiB
info: checking new partition layout
info: new size: partition #9 'system' (FACTORYFS): 1024 MiB
info: new size: partition #10 'data' (DATAFS): 6144 MiB
info: new size: partition #11 'sdcard' (UMS): 7480 MiB
info: new size: partition #12 'preload' (HIDDEN): 8 MiB

=====  DRY-RUN  =====
#####  processing heap 'main'
-----  analyzing partition #9 'system' (FACTORYFS)
*****  processing partition #9 'system' (FACTORYFS)
info: will resize the ext4 file system if needed to fit its partition
info: checking and trimming the file system
/dev/block/mmcblk0p9: 1794/65536 files (0.5% non-contiguous), 114031/262144 blocks
-----  analyzing partition #10 'data' (DATAFS)
*****  processing partition #10 'data' (DATAFS)
info: will resize the ext4 file system if needed to fit its partition
info: checking and trimming the file system
/dev/block/mmcblk0p10: 1357/393216 files (11.5% non-contiguous), 99691/1572864 blocks
-----  analyzing partition #11 'sdcard' (UMS)
*****  processing partition #11 'sdcard' (UMS)
info: checking the file system
Logical sector size is zero.
fsck.fat 3.0.28 (2015-05-16)
info: errors detected, retrying the file system check
Logical sector size is zero.
fsck.fat 3.0.28 (2015-05-16)

FATAL: file system errors in partition #11 'sdcard' (UMS) could not be fixed

[ERROR 1]

Updater process ended with ERROR: 1
I:Legacy property environment disabled.
Error installing zip file '/sdcard1/lanchon-repit-20160415-system=1.0-data=same-sdcard=max-preload=min+wipe-d710.zip'

Not sure what to do from here. I don't have anything I need to save on internal storage, so I can wipe/format anything necessary to try again.

Full log: recovery.log.txt

Lanchon commented 8 years ago

your internal sdcard (WARNING: not /data, but sdcard):

you can:

aensley commented 8 years ago

So if I just change it to:

lanchon-repit-20160415-system=1.0-data=same-sdcard=max+wipe+ext4-preload=min+wipe-d710.zip

That should work?

aensley commented 8 years ago

Update: That's what I did, and it worked. Thank you!

Lanchon commented 8 years ago

cool!

monemihir commented 7 years ago

i had to rename the file for my i9100....worked like a charm mate!