[How to] Verändern der Partitionierung mit/ohne Datenerhalt mittels Flashscript in TWRP-Recovery

Und wenn du dann machst, was unmittelbar vor dem Error 1 empfohlen wird?
Dass Script kopiert sich, weil es die Emmc nicht sauber unmounten kann extra nach /tmp (also ins RAM).
Im Normalfall klappt es im Anschluss, wenn man also sofort von dort noch einmal versucht die repit.zip zu flashen.
EDIT: Danke Fireburner, warst schneller. ;-)
 
Vom /tmp installiert:

__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 3.0.2-1 on Sat Jan 1 00:01:25 2000
(pid 1830)
TW_NO_REBOOT_BOOTLOADER := true
I:Lun file '/sys/class/android_usb/android0/f_mass_storage/lun0/file'
TW_HAS_DOWNLOAD_MODE := true
TW_INCLUDE_CRYPTO := 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
I:LANG: en
Starting the UI...setting DRM_FORMAT_RGB565 and GGL_PIXEL_FORMAT_RGB_565
Skipping drm graphics -- not present in build tree
fb0 reports (possibly inaccurate):
vi.bits_per_pixel = 32
vi.red.offset = 16 .length = 8
vi.green.offset = 8 .length = 8
vi.blue.offset = 0 .length = 8
setting GGL_PIXEL_FORMAT_BGRA_8888
double buffered
framebuffer: 0 (480 x 800)
Using fbdev graphics.
I:TWFunc::Set_Brightness: Setting brightness control to 255
I:Loading package: splash (/twres/splash.xml)
I:Load XML directly
I:pageManager::LoadFileToBuffer loading filename: '/twres/splash.xml' directly
I:Checking resolution...
I:Loading resources...
I:Loading variables...
I:Loading mouse cursor...
I:Loading pages...
I:Loading page splash
I:Switching packages (splash)
=> Linking mtab
Renaming regular /etc/recovery.fstab -> /etc/recovery.fstab.bak
Moving /etc/twrp.fstab -> /etc/recovery.fstab
=> Processing recovery.fstab
I:processing '/boot'
I:processing '/recovery'
I:processing '/cache'
I:processing '/system'
I:processing '/data'
I:processing '/preload'
I:processing '/sdcard0'
I:Created '/sdcard0' folder.
I:processing '/sdcard1'
I:Created '/sdcard1' folder.
I:processing '/usbotg'
I:Created '/usbotg' folder.
I:Created '/and-sec' folder.
I:Creating Android Secure: /sdcard0/.android_secure
I:mount -o bind '/sdcard0/.android_secure' '/and-sec' process ended with RC=0
I:Backup folder set to '/sdcard0/TWRP/BACKUPS/0009f7096fc17f'
I:Settings storage is '/sdcard0'
I:Decrypt adopted storage starting
I:pageManager::LoadFileToBuffer loading filename: '/data/system/storage.xml' directly
I:failed to open ''
Updating partition details...
I:Unable to mount '/sdcard1'
I:Actual block device: '/dev/block/mmcblk1p1', current file system: 'ntfs'
I:Unable to mount '/usbotg'
I:Actual block device: '', current file system: 'vfat'
...done
I:Unmounting main partitions...

Partition Logs:
/boot | /dev/block/mmcblk0p5 | Size: 8MB
Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img
Primary_Block_Device: /dev/block/mmcblk0p5
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/mmcblk0p6 | Size: 8MB
Flags: IsPresent Can_Flash_Img
Primary_Block_Device: /dev/block/mmcblk0p6
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
/cache | /dev/block/mmcblk0p7 | Size: 98MB Used: 4MB Free: 94MB Backup Size: 4MB
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/mmcblk0p7
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
/system | /dev/block/mmcblk0p9 | Size: 503MB Used: 11MB Free: 491MB Backup Size: 11MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_Available_in_GUI IsPresent
Primary_Block_Device: /dev/block/mmcblk0p9
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
/data | /dev/block/mmcblk0p10 | Size: 2015MB Used: 35MB Free: 1980MB Backup Size: 35MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent Can_Be_Encrypted Can_Encrypt_Backup Use_Userdata_Encryption
Primary_Block_Device: /dev/block/mmcblk0p10
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
/preload | /dev/block/mmcblk0p12 | Size: 503MB Used: 8MB Free: 495MB Backup Size: 8MB
Flags: Can_Be_Mounted Can_Be_Wiped Wipe_Available_in_GUI IsPresent
Primary_Block_Device: /dev/block/mmcblk0p12
Display_Name: Preload
Storage_Name: Preload
Backup_Path: /preload
Backup_Name: preload
Backup_Display_Name: Preload
Storage_Path: /preload
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files
/sdcard0 | /dev/block/mmcblk0p11 | Size: 11781MB Used: 3860MB Free: 7920MB Backup Size: 0MB
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: /sdcard0/.android_secure
Symlink_Mount_Point: /and-sec
Primary_Block_Device: /dev/block/mmcblk0p11
Display_Name: Internal-Storage
Storage_Name: Internal-Storage
Backup_Path: /and-sec
Backup_Name: and-sec
Backup_Display_Name: Android Secure
Storage_Path: /sdcard0
Current_File_System: vfat
Fstab_File_System: vfat
Backup_Method: files
MTP_Storage_ID: 65537
/sdcard1 | /dev/block/mmcblk1p1 | Size: 0MB Used: 0MB Free: 0MB Backup Size: 0MB
Flags: Can_Be_Mounted Can_Be_Wiped Wipe_Available_in_GUI Removable IsPresent Is_Storage
Primary_Block_Device: /dev/block/mmcblk1p1
Display_Name: External-Storage
Storage_Name: External-Storage
Backup_Path: /sdcard1
Backup_Name: sdcard1
Backup_Display_Name: External-Storage
Storage_Path: /sdcard1
Current_File_System: ntfs
Fstab_File_System: vfat
Backup_Method: files
MTP_Storage_ID: 65538
/usbotg | | 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
Display_Name: USB-OTG
Storage_Name: USB-OTG
Backup_Path: /usbotg
Backup_Name: usbotg
Backup_Display_Name: USB-OTG
Storage_Path: /usbotg
Current_File_System: vfat
Fstab_File_System: vfat
Backup_Method: files
MTP_Storage_ID: 65539
I:Loading package: TWRP (/sdcard0/TWRP/theme/ui.zip)
I:Loading zip theme
I:Loading package: TWRP (/twres/ui.xml)
I:Load XML directly
I:pageManager::LoadFileToBuffer loading filename: '/twres/languages/cz.xml' directly
I:pageManager::LoadFileToBuffer loading filename: '/twres/languages/de.xml' directly
I:pageManager::LoadFileToBuffer loading filename: '/twres/languages/el.xml' directly
I:pageManager::LoadFileToBuffer loading filename: '/twres/languages/en.xml' directly
I:pageManager::LoadFileToBuffer loading filename: '/twres/languages/es.xml' directly
I:pageManager::LoadFileToBuffer loading filename: '/twres/languages/fr.xml' directly
I:pageManager::LoadFileToBuffer loading filename: '/twres/languages/hu.xml' directly
I:pageManager::LoadFileToBuffer loading filename: '/twres/languages/it.xml' directly
I:pageManager::LoadFileToBuffer loading filename: '/twres/languages/nl.xml' directly
I:pageManager::LoadFileToBuffer loading filename: '/twres/languages/pl.xml' directly
I:pageManager::LoadFileToBuffer loading filename: '/twres/languages/pt_BR.xml' directly
I:pageManager::LoadFileToBuffer loading filename: '/twres/languages/ru.xml' directly
I:pageManager::LoadFileToBuffer loading filename: '/twres/languages/sk.xml' directly
I:pageManager::LoadFileToBuffer loading filename: '/twres/languages/sl.xml' directly
I:pageManager::LoadFileToBuffer loading filename: '/twres/languages/sv.xml' directly
I:pageManager::LoadFileToBuffer loading filename: '/twres/languages/tr.xml' directly
I:pageManager::LoadFileToBuffer loading filename: '/twres/languages/uk.xml' directly
I:pageManager::LoadFileToBuffer loading filename: '/twres/languages/en.xml' directly
parsing languageFile
parsing languageFile done
I:pageManager::LoadFileToBuffer loading filename: '/twres/ui.xml' directly
I:Checking resolution...
I:Loading resources...
I:Failed to load image from indeterminate013, error -1
I:Loading variables...
I:Loading mouse cursor...
I:Loading pages...
I:Including file: /twres/portrait.xml...
I:pageManager::LoadFileToBuffer loading filename: '/twres/portrait.xml' directly
I:Loading resources...
I:Loading variables...
I:Loading mouse cursor...
I:Loading pages...
I:Loading page main
I:Loading page main2
I:Loading page install
I:Unable to open '/sdcard'
I:Unable to open '/sdcard'
I:Loading page flash_confirm
I:Loading page flash_zip
I:Loading page flash_done
I:Loading page flashimage_confirm
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 checkpartitionlist
I:Loading page partitionoptions
I:Loading page refreshfilesystem
I:Loading page selectfilesystem
I:Loading page backup
I:Loading page backup_options
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:Unable to open '/sdcard0/TWRP/BACKUPS/0009f7096fc17f'
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 mount
I:Loading page usb_mount
I:Loading page usb_umount
I:Loading page system_readonly_check
I:Loading page reboot
I:Loading page system_readonly
I:Loading page settings
I:Loading page settings_timezone
I:Loading page settings_screen
I:Loading page settings_vibration
I:Loading page settings_language
I:Loading page advanced
I:Loading page partsdcardsel
I:Loading page partsdcardcheck
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 filemanageraction
I:Loading page decrypt
I:Loading page decrypt_pattern
I:Loading page trydecrypt
I:Loading page terminalcommand
I:Loading page sideload
I:Loading page fixcontexts
I:Loading page installsu
I:Loading page slideout
I:Loading page select_storage
I:Loading page select_language
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Switching packages (TWRP)
SELinux contexts loaded from /file_contexts
Full SELinux support is present.
I:Not using /misc, not defined in fstab.
I:Not using /misc, not defined in fstab.
Startup Commands:
ro.bq.gpu_to_cpu_unsupported=1
ro.cm.build.version.plat.rev=0
ro.cm.build.version.plat.sdk=2
ro.cm.device=i9100
ro.cm.display.version=12.1-20160425-UNOFFICIAL-i9100
ro.cm.version=12.1-20160425-UNOFFICIAL-i9100
ro.cm.releasetype=UNOFFICIAL
ro.sf.lcd_density=240
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.ftm=0
ro.boot.hardware=smdk4210
ro.boot.serialno=0009f7096fc17f
ro.twrp.boot=1
ro.twrp.version=3.0.2-1
ro.vold.primary_physical=1
ro.wifi.channels=
ro.allow.mock.location=1
ro.board.platform=exynos4
ro.build.id=LVY48F
ro.build.date=Mon Apr 25 14:12:48 EDT 2016
ro.build.date.utc=1461607968
ro.build.host=build
ro.build.tags=test-keys
ro.build.type=eng
ro.build.user=jenkins
ro.build.flavor=cm_i9100-eng
ro.build.display.id=cm_i9100-eng 5.1.1 LVY48F 39d683fefc test-keys
ro.build.product=GT-I9100
ro.build.selinux=1
ro.build.version.sdk=22
ro.build.version.release=5.1.1
ro.build.version.codename=REL
ro.build.version.incremental=39d683fefc
ro.build.version.all_codenames=REL
ro.build.description=GT-I9100-user 4.1.2 JZO54K I9100XWMS2 release-keys
ro.build.fingerprint=samsung/GT-I9100/GT-I9100:4.1.2/JZO54K/I9100XWMS2:user/release-keys
ro.build.characteristics=default
ro.config.ringtone=Orion.ogg
ro.config.alarm_alert=Helium.ogg
ro.config.notification_sound=Argon.ogg
ro.dalvik.vm.native.bridge=0
ro.kernel.android.checkjni=1
ro.secure=0
ro.zygote=zygote32
ro.zygote.disable_gl_preload=true
ro.carrier=unknown
ro.cmlegal.url=https://cyngn.com/legal/privacy-policy
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.name=GT-I9100
ro.product.board=smdk4210
ro.product.brand=Samsung
ro.product.model=GT-I9100
ro.product.device=GT-I9100
ro.product.locale.region=US
ro.product.locale.language=en
ro.product.manufacturer=samsung
ro.baseband=unknown
ro.bootmode=unknown
ro.hardware=smdk4210
ro.opengles.version=131072
ro.revision=14
ro.serialno=0009f7096fc17f
ro.telephony.call_ring.delay=3000
ro.telephony.call_ring.multiple=false
ro.telephony.ril_class=SamsungExynos4RIL
ro.bootloader=unknown
ro.debuggable=1
ro.modversion=12.1-20160425-UNOFFICIAL-i9100
ro.rommanager.developerid=cyanogenmod
ro.factorytest=0
ro.setupwizard.enterprise_mode=1
net.bt.name=Android
net.change=net.bt.name
net.tethering.noprovisioning=true
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/ril-wrapper.so
twrp.crash_counter=0
twrp.action_complete=0
wifi.interface=wlan0
wifi.supplicant_scan_interval=15
debug.hwui.render_dirty_regions=false
media.sf.omx-plugin=libffmpeg_omx.so
media.sf.extractor-plugin=libffmpeg_extractor.so
dalvik.vm.isa.arm.features=default
dalvik.vm.heapsize=128m
dalvik.vm.dex2oat-Xms=64m
dalvik.vm.dex2oat-Xmx=512m
dalvik.vm.heapmaxfree=2m
dalvik.vm.heapminfree=512k
dalvik.vm.dexopt-flags=m=y
dalvik.vm.heapstartsize=5m
dalvik.vm.dex2oat-filter=interpret-only
dalvik.vm.heapgrowthlimit=48m
dalvik.vm.stack-trace-file=/data/anr/traces.txt
dalvik.vm.image-dex2oat-Xms=64m
dalvik.vm.image-dex2oat-Xmx=64m
dalvik.vm.image-dex2oat-filter=verify-none
dalvik.vm.heaptargetutilization=0.75
persist.sys.dun.override=0
persist.sys.usb.config=mtp,adb
persist.sys.dalvik.vm.lib.2=libart.so
persist.sys.root_access=0
persist.sys.isUsbOtgEnabled=true
persist.sys.recovery_update=false
service.adb.root=1
keyguard.no_require_sim=true
mobiledata.interfaces=pdp0,gprs,ppp0,rmnet0,rmnet1
I:Copying file /cache/recovery/log to /cache/recovery/last_log
I:Attempt to load settings from settings file...
I:InfoManager loading from '/sdcard0/TWRP/.twrps'.
I:Backup folder set to '/sdcard0/TWRP/BACKUPS/0009f7096fc17f'
I:Copying file /etc/recovery.fstab to /cache/recovery/recovery.fstab
I:Version number saved to '/cache/recovery/.version'
I:Unable to mount '/sdcard1'
I:Actual block device: '/dev/block/mmcblk1p1', current file system: 'ntfs'
I:Unable to mount '/usbotg'
I:Actual block device: '', current file system: 'vfat'
__bionic_open_tzdata: couldn't find any tzdata when looking for CST6CDT,M3.2.0,M11.1.0!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
I:TWFunc::Set_Brightness: Setting brightness control to 255
I:pageManager::LoadFileToBuffer loading filename: '/twres/languages/de.xml' directly
parsing languageFile
parsing languageFile done
I:Translating partition display names
I:Backup folder set to '/sdcard0/TWRP/BACKUPS/0009f7096fc17f'
I:Enabling MTP during startup
I:Starting MTP
Starting MTP
I:sending message to add 65537 '/sdcard0' 'Internal-Storage'
I:Message sent, add storage ID: 65537
I:Unable to mount '/sdcard1'
I:Actual block device: '/dev/block/mmcblk1p1', current file system: 'ntfs'
MTP aktiviert
I:Check_Lifetime_Writes result: '5764'
I:Switching packages (TWRP)
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
created new mtpserver object
MtpServer::run fd: 20
mtppipe add storage 65537 '/sdcard0'
MtpStorage id: 65537 path: /sdcard0
I:Set page: 'advanced'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:TWFunc::Set_Brightness: Setting brightness control to 5
I:TWFunc::Set_Brightness: Setting brightness control to 0
I:TWFunc::Set_Brightness: Setting brightness control to 255
I:Set overlay: ''
I:Set page: 'install'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'install'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'install'
I:Set page: 'flash_confirm'
I:Set page: 'flash_zip'
I:operation_start: 'Flashing'
Installiere Zip '/sdcard0/lanchon-repit-20170115-system=1G-data=same-sdcard=max-preload=min+wipe-i9100.zip'
Suche nach MD5-Datei...
MD5-Prüfung übersprungen: keine MD5-Datei gefunden
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: 2017-01-15
Device: i9100
Copyright 2016, Lanchon (GPLv3)
####################################

===== PRELIMINARY CHECKS =====
info: valid package names: <prefix>[-(system|data|sdcard|preload)=<conf>]...<suffix>
info: valid partition <conf> values: [<size>(G|M)|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:1G + 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
umount: can't umount /sdcard0: Device or resource busy

FATAL: unable to unmount all partitions (this package copied itself to '/tmp'; please run it again from there)

[ERROR 1]

Prozess Updater endete mit FEHLER: 1
I:Legacy property environment disabled.
Fehler beim Installieren von ZIP '/sdcard0/lanchon-repit-20170115-system=1G-data=same-sdcard=max-preload=min+wipe-i9100.zip'
Partitions-Informationen werden aktualisiert...
I:Unable to mount '/sdcard1'
I:Actual block device: '/dev/block/mmcblk1p1', current file system: 'ntfs'
I:Unable to mount '/usbotg'
I:Actual block device: '', current file system: 'vfat'
...Fertig
I:Set page: 'flash_done'
I:operation_end - status=1
I:Set page: 'clear_vars'
I:Set page: 'install'
I:Set page: 'flash_confirm'
I:Set page: 'flash_zip'
I:operation_start: 'Flashing'
Installiere Zip '/tmp/lanchon-repit-20170115-system=1G-data=same-sdcard=max-preload=min+wipe-i9100.zip'
Suche nach MD5-Datei...
MD5-Prüfung übersprungen: keine MD5-Datei gefunden
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: 2017-01-15
Device: i9100
Copyright 2016, Lanchon (GPLv3)
####################################

===== PRELIMINARY CHECKS =====
info: valid package names: <prefix>[-(system|data|sdcard|preload)=<conf>]...<suffix>
info: valid partition <conf> values: [<size>(G|M)|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:1G + 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: 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): 512 MiB
info: current size: partition #10 'data' (DATAFS): 2048 MiB
info: current size: partition #11 'sdcard' (UMS): 11784 MiB
info: current size: partition #12 'preload' (HIDDEN): 512 MiB
info: checking new partition layout
info: new size: partition #9 'system' (FACTORYFS): 1024 MiB
info: new size: partition #10 'data' (DATAFS): 2048 MiB
info: new size: partition #11 'sdcard' (UMS): 11776 MiB
info: new size: partition #12 'preload' (HIDDEN): 8 MiB

===== DRY-RUN =====
##### processing heap 'main'
----- analyzing partition #9 'system' (FACTORYFS)
info: partition #9 'system' (FACTORYFS) will expand into storage area currently used by partition #10 'data' (DATAFS)
info: deferring processing of partition #9 'system' (FACTORYFS) until required space is freed
----- analyzing partition #10 'data' (DATAFS)
info: partition #10 'data' (DATAFS) will expand into storage area currently used by partition #11 'sdcard' (UMS)
info: deferring processing of partition #10 'data' (DATAFS) until required space is freed
----- analyzing partition #11 'sdcard' (UMS)
info: partition #11 'sdcard' (UMS) will expand into storage area currently used by partition #12 'preload' (HIDDEN)
info: deferring processing of partition #11 'sdcard' (UMS) until required space is freed
----- analyzing partition #12 'preload' (HIDDEN)
***** processing partition #12 'preload' (HIDDEN)
info: will format the partition in ext4 and trim it
***** processing partition #11 'sdcard' (UMS)
info: will move/resize the vfat partition
info: checking the file system
fsck.fat 3.0.28 (2015-05-16)
/dev/block/mmcblk0p11: 715 files, 123530/376995 clusters
***** processing partition #10 'data' (DATAFS)
info: will move the ext4 partition
WARNING: moving a big ext4 partition can take a very long time; it requires copying the complete partition, including its free space
info: will resize the ext4 file system if needed to fit its partition
info: checking and trimming the file system
/dev/block/mmcblk0p10: Duplicate or bad block in use!
/dev/block/mmcblk0p10: Multiply-claimed block(s) in inode 2: 8838
/dev/block/mmcblk0p10: Multiply-claimed block(s) in inode 16392: 66057
/dev/block/mmcblk0p10: Multiply-claimed block(s) in inode 16393: 66058
/dev/block/mmcblk0p10: Multiply-claimed block(s) in inode 16394: 66059
/dev/block/mmcblk0p10: Multiply-claimed block(s) in inode 16395: 66060
/dev/block/mmcblk0p10: Multiply-claimed block(s) in inode 16396: 66061
/dev/block/mmcblk0p10: Multiply-claimed block(s) in inode 16397: 66062
/dev/block/mmcblk0p10: Multiply-claimed block(s) in inode 16398: 66063
/dev/block/mmcblk0p10: Multiply-claimed block(s) in inode 16399: 66064
/dev/block/mmcblk0p10: Multiply-claimed block(s) in inode 16400: 66065
/dev/block/mmcblk0p10: Multiply-claimed block(s) in inode 16401: 66066
/dev/block/mmcblk0p10: Multiply-claimed block(s) in inode 16402: 66067
/dev/block/mmcblk0p10: Multiply-claimed block(s) in inode 16403: 66068
/dev/block/mmcblk0p10: Multiply-claimed block(s) in inode 16404: 66069
/dev/block/mmcblk0p10: Multiply-claimed block(s) in inode 16405: 66070
/dev/block/mmcblk0p10: Multiply-claimed block(s) in inode 16406: 66071
/dev/block/mmcblk0p10: Multiply-claimed block(s) in inode 16407: 66072
/dev/block/mmcblk0p10: Multiply-claimed block(s) in inode 16783: 66057
/dev/block/mmcblk0p10: Multiply-claimed block(s) in inode 16784: 66058
/dev/block/mmcblk0p10: Multiply-claimed block(s) in inode 16785: 66059
/dev/block/mmcblk0p10: Multiply-claimed block(s) in inode 16787: 66060
/dev/block/mmcblk0p10: Multiply-claimed block(s) in inode 16788: 66061
/dev/block/mmcblk0p10: Multiply-claimed block(s) in inode 16791: 66062
/dev/block/mmcblk0p10: Multiply-claimed block(s) in inode 16792: 66063
/dev/block/mmcblk0p10: Multiply-claimed block(s) in inode 16793: 66064
/dev/block/mmcblk0p10: Multiply-claimed block(s) in inode 16795: 66065
/dev/block/mmcblk0p10: Multiply-claimed block(s) in inode 16796: 66066
/dev/block/mmcblk0p10: Multiply-claimed block(s) in inode 16801: 66067
/dev/block/mmcblk0p10: Multiply-claimed block(s) in inode 16803: 66068
/dev/block/mmcblk0p10: Multiply-claimed block(s) in inode 16804: 66069
/dev/block/mmcblk0p10: Multiply-claimed block(s) in inode 16815: 66070
/dev/block/mmcblk0p10: Multiply-claimed block(s) in inode 16816: 66071
/dev/block/mmcblk0p10: Multiply-claimed block(s) in inode 16817: 66072
/dev/block/mmcblk0p10: Multiply-claimed block(s) in inode 65567: 8838
/dev/block/mmcblk0p10: (There are 34 inodes containing multiply-claimed blocks.)

/dev/block/mmcblk0p10: File / (inode #2, mod time __bionic_open_tzdata: couldn't find any tzdata when looking for CST6CDT,M3.2.0,M11.1.0!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
Sat Jan 1 08:45:10 2000)
has 1 multiply-claimed block(s), shared with 1 file(s):
/dev/block/mmcblk0p10: ... (inode #65567, mod time Mon Feb 10 15:19:59 2014)
/dev/block/mmcblk0p10:

/dev/block/mmcblk0p10: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
(i.e., without -a or -p options)

FATAL: file system errors in partition #10 'data' (DATAFS) could not be automatically fixed (try running 'e2fsck -f /dev/block/mmcblk0p10')

[ERROR 1]

Prozess Updater endete mit FEHLER: 1
I:Legacy property environment disabled.
Fehler beim Installieren von ZIP '/tmp/lanchon-repit-20170115-system=1G-data=same-sdcard=max-preload=min+wipe-i9100.zip'
Partitions-Informationen werden aktualisiert...
I:mount -o bind '/sdcard0/.android_secure' '/and-sec' process ended with RC=0
I:sending message to remove 65537
mtppipe remove storage 65537
I:Message sent, remove storage ID: 65537
I:Unable to mount '/sdcard1'
I:Actual block device: '/dev/block/mmcblk1p1', current file system: 'ntfs'
I:Unable to mount '/usbotg'
I:Actual block device: '', current file system: 'vfat'
...Fertig
I:mount -o bind '/sdcard0/.android_secure' '/and-sec' process ended with RC=0
I:Set page: 'flash_done'
I:operation_end - status=1
I:Set page: 'clear_vars'
I:Set page: 'install'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'backup'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'mount'
Truncating string cache entries.
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:operation_start: 'Copy Log'
I:Copying file /tmp/recovery.log to /sdcard0/recovery.log
 
Also entweder dem Rat folgen und den Befehl tatsächlich in der Trrminal Sitzung ausführen oder einfach das gesamte Skript noch mal laufen lassen Denn es versucht immer nur einen file system Fehler zu beheben, tauchen mehrere auf bricht es aus Sicherheitsgründen ab.
Willst du aber ohnehin auf ein anderes ROM wechseln so würde ich gleich auch data auf wipe setzen. Geht viel schneller, weil dann anstatt die Daten zu erhalten alles gleich formatiert wird und keine aufwendigen Verschiebungen vorgenommen werden. Dabei würde ich auch fireburners Rat folgen und data ebenfalls auf mindestens 4 Gigabyte vergrößern.
 
  • Danke
Reaktionen: Pazuzu-13
Ich kann halt nich auf die SD zugreifen, auch mit der 2.8.7.0 bekomme ich die gleiche Meldung.
Wenn ich also Data mit einbinde wäre ja alles weg???
Gib mir BITTE ne kurze Anleitung für's (twrp?) Terminal, was muß ich schreiben?
Is es korrekt, daß ich nur den .zip_Namen ändern muß (für ne andere Größe) oder noch wo anders - klingt ein wenig unlogisch...

NACHTRAG: Also wenn ich die .zip umbenenne, inkl. 'data=4G+wipe', läuft sie auch durch, nur kommt dann auch Fehler "FATAL: file System errors in partition #9 'system' (FACTORYFS) could not automatically fixed (try running 'e2fsck -f /dev/block/mmcblk0p9)"
 
Zuletzt bearbeitet:
Was klingt unlogisch?
Hat du die Einleitung auch nur im Ansatz gelesen?
Da sind quasi alle deine aufgetretenen Probleme bereits behandelt gewesen.
Aich die Frage, wie man die Größen konfiguriert. (Ja, einfach nur durch umbenennen)
Und dass deine MicroSD (die externe) nicht angezeigt wird liege einfach daran dass dein aktueller Kernel nicht das NTFS-Dateisystem der Karte mounten kann. Also nimm doch sonst zur Not eine andere SD wenn du sie nicht umformatieren möchtest.
Der Befehl den du in Terminal tippen sollst steht doch bereits ebenfalls in der Ausgabe und das Termine Programm findest du unter advanced.
Aber wie gesagt du kannst auch das Script immer wieder neu starten und es wird jedesmal einen Dateisystem Fehler beheben. Vielleicht sind es ja nur 2 oder 3....
Edit: wenn du Data nicht wipest, kannst du die Partition dennoch vergrößern aber es dauert dann eben länger und die Dateisystemfehler müssen dann eben zuvor behoben werden
 
  • Danke
Reaktionen: Pazuzu-13
Klingt vieles für mich unlogisch, da ich's einfach nich versteh...ich hab meine Probleme damit, is mir zu hoch, deswegen frage ich ja nach Hilfe.
Bei mir is es gleich halb3, bei dir bestimmt auch, bin schon echt erstaunt, daß ihr mir um die Uhrzeit (vorhin) noch geantwortet habt! DANKE!!!
Ich kann das Script so oft durchlaufen lassen wie ich will, es kommt immer der gleiche Fehler.
Versuche jetzt noch die umformatierte SD, dann leg ich mich ne Runde hin & meld mich in den nächsten 2Tagen mit nem Ergebnis.
 
So, der Denkanstoss mit dem simplen umbenennen hat gefruchtet!
Ich mußte einfach zum 'Data wipe' auch vorher das 'System wipe' schreiben.
Großes Sorry für die nächtliche Störung!
 
  • Danke
Reaktionen: the.gangster
@Pazuzu-13
@fireburner
@the.gangster

Nicht wundern, ich habe eure Beiträge aus dem Lineage Thread nun noch hier hergeschoben.
Damit wäre die Problemstellung und -lösung in einem Thread. ;)
 
  • Danke
Reaktionen: Pazuzu-13 und the.gangster
Halb off-topic:

Erstmal vielen Dank für die Anleitung, hat alles prima geklappt.

Nun meine Frage: Ich musste das empfohlene Recovery installieren und den empfohlenen Kernel. Sollte/Müsste ich das nun rückgängig machen, oder kann ich das einfach so lassen. Ich habe das Tesla ROM drauf (5.1.1, das neueste soweit ich weiß).

Das mit dem Recovery ist, glaub ich, nur immer dann relevant, wenn ich es aufrufen will, im normalen Betrieb wird das gar nicht verwendet. So habe ich das jedenfalls verstanden. Aber das mit dem Kernel? Ich dachte immer das ist der wichtigste Teil des Betriebssystems...

Danke für einen kleinen Tip!
 
@EsteChico
kenne das Tesla ROM nicht näher, aber laut kurzer Suche scheint es ja nicht die IsoRec-Unterstützung zu enthalten.
Somit kannst Du einfach das ROM nochmal drüber flashen und hättest wieder den Kernel Deines ROMs aktiv.
Der würde dann auch nur noch seine im Kernel eingebettete Recovery starten. Solltest Du irgendwann auf ein ROM wechseln, welches IsoRec-fähig ist, würde automatisch wieder die jetzt geflashte aktiv. Solange schlummert sie ungenutzt in der Recovery-Partition. Solltest Du also später nochmal Partitionen anpassen wollen, reicht das erneute flashen eines IsoRec-fähigen Kernels zur Vorbereitung (und im Anschluss wieder zurück auf's ROM, so wie jetzt).
 
  • Danke
Reaktionen: EsteChico
Hab mal den OP etwas aktualisiert. Beim Tool selbst hat sich nichts geändert. Nur mal die alte Syntax rausgeworfen und Bezüge zu neueren ROMs und Links zu neueren Recoveries darin aufgenommen. Also nichts neues für Kenner. Eher für Newbies, falls sie hier dann doch mal lesen.
:)
 
  • Danke
Reaktionen: fireburner
Hallo Freunde! :rolleyes2:

Ich habe mir auf einem anderen Smartphone das Image von MoKee geladen und fand es so toll, dass ich mein altes S2 (i9100G) herausgesucht und damit geflasht habe, weil MoKee dafür auch noch ein Image anbietet. Zwar nur Lollipop, aber es geht genau so flüssig. (Hinweis für Interessierte: MoKee ist nach dem Start auch auf Deutsch, auch wenn die Optimierung am Anfang erst mal in Chinesisch angezeigt wird. GAPPS für 5.1 verwenden!)

Ich habe wegen des Speichermangels auf dem S2 diverse PITs gesucht, damit ich den nicht genutzten internen Speicher für das System verwenden kann. Für das i9100 ohne G habe ich Dateien bis 12GB gefunden, für das mit G leider nur bis 8GB. Ich würde aber gerne mindestens noch 2-3 GB internen Speicher frei bekommen. Leider weiß ich nicht, wie man die PIT Datei dazu anpassen muss. Vielleicht ist hier jemand mit Ahnung, damit auch das G die 10-11 GB bekommt.

Im Rahmen der Solidarität und für später Interessierte bitte hier antworten und die PITs mit anhängen. Sicher sind auch diese Euch später dafür dankbar nicht lange suchen und nachfragen zu müssen. :thumbsup:

LG. :love:
 

Anhänge

  • PIT-Magic_1.3.10.zip
    164,8 KB · Aufrufe: 64
  • i9100G_16GB-Version_PITs_1-8GB_!!!NICHT_FUER_i9100!!!.zip
    3,7 KB · Aufrufe: 68
  • i9100_16GB-Version_PITs_1-12GB_!!!NICHT_FUER_i9100G!!!.zip
    13,9 KB · Aufrufe: 71
@miramanee
Eigentlich: Thema verfehlt.
In diesem Thread geht es ja gerade darum, keine PIT Files mehr zu brauchen und komfortabler und flexibel partitionieren zu können.
Also wärst Du mit Deiner Frage in dem im ersten Post verlinkten Nachbar-Thread, wo es um die PIT-Variante geht, richtiger. Ebenso mit dem Angebot Deiner gefundenen PIT Dateien für das gt-i9100g.
Daher würde ich eigentlich gerne Deinen Beitrag durch einen Moderator verschieben lassen.
Nicht jedoch, ohne Dich noch darauf hinzuweisen, dass Du hier ebenfalls eine Variante für das i9100G findest, falls Du dich eben doch für den komfortableren und flexibleren Weg entscheiden möchtest.
Die Anleitung im OP gilt prinzipiell analog für alle unterstützten Geräte.
Also: schluckst Du die rote Pille oder die blaue Pille? Aber bedenke: Es gibt keinen Löffel! (sorry, ich schweife ab...)
 
  • Danke
Reaktionen: Nick Knight

Ähnliche Themen

fireburner
  • Angepinnt
  • fireburner
2
Antworten
27
Aufrufe
8.454
fireburner
fireburner
S
Antworten
210
Aufrufe
138.962
cyrux
cyrux
C
  • Angepinnt
  • Umfrage
  • CHEF-KOCH
Antworten
4
Aufrufe
9.535
Dickens1412
D
Zurück
Oben Unten