Lanchon / REPIT

A Device-Only Data-Sparing Repartitioning Tool For Android
162 stars 26 forks source link

Samsung Galaxy Trend Plus GT-S7580 #40

Closed YossiA1 closed 8 years ago

YossiA1 commented 8 years ago

TWRP recovery version: 3.0.2-0 from here: https://www.androidfilehost.com/?w=files&flid=42027 ROM from here: https://jenkins.sandpox.org/job/KYLEPROXX_CM13.0/ ROM #11 jun 30 2016 CM13 based ROM. <<< Sysinfo Summary (English).txt

(I'm getting 'This file is empty' error when trying to copy REPIT log file to here. I'm doing the submission using my phone)

YossiA1 commented 8 years ago

getprop ro.product.device

kylepro

grep ro.product.device default.prop

grep: default.prop: No such file or directory

getprop ro.build.product

kylepro

grep ro.build.product default.prop

grep: default.prop: No such file or directory

checkTools

parted: /tmp/flashize/bin/parted sort: /sbin/sort blockdev: /sbin/blockdev sed: /sbin/sed awk: /sbin/awk readlink: /sbin/readlink basename: /sbin/basename dirname: /sbin/dirname dd: /sbin/dd fdisk: /sbin/fdisk gdisk:

sfdisk:

sgdisk: /tmp/flashize/bin/sgdisk

checkTools_fs_ext4

mke2fs: /sbin/mke2fs e2fsck: /sbin/e2fsck resize2fs: /sbin/resize2fs

checkTools_fs_vfat

mkdosfs:

mkfs.fat: /sbin/mkfs.fat dosfsck:

fsck.fat: /sbin/fsck.fat

checkTools_fs_f2fs

mkfs.f2fs:

fsck.f2fs:

checkTools_fs_swap

mkswap: /sbin/mkswap

checkTools_fs_raw

ls -l /sys/block/mmcblk0

bionic_open_tzdata: couldn't find any tzdata when looking for WET-2WET,M3.5.0,M10.5.0! bionic_open_tzdata: couldn't find any tzdata when looking for posixrules! lrwxrwxrwx 1 root root 0 Jul 5 01:51 /sys/block/mmcblk0 -> ../devices/platform/sdhci.1/mmc_host/mmc0/mmc0:0001/block/mmcblk0

parted -s /dev/block/mmcblk0 unit MiB print free unit s print free

Model: MMC K5XYMB (sd/mmc) Disk /dev/block/mmcblk0: 3728MiB Sector size (logical/physical): 512B/512B Partition Table: gpt

Number Start End Size File system Name Flags 0.02MiB 4.00MiB 3.98MiB Free Space 1 4.00MiB 5.00MiB 1.00MiB cal 2 5.00MiB 5.25MiB 0.25MiB sysparm_dep 3 5.25MiB 5.50MiB 0.25MiB parm-spml_dep 4 5.50MiB 5.75MiB 0.25MiB RF_CAL_FILE 5 5.75MiB 13.7MiB 8.00MiB KERNEL 6 13.8MiB 21.7MiB 8.00MiB RECOVERY 7 21.8MiB 40.5MiB 18.8MiB modem 8 40.5MiB 41.0MiB 0.50MiB reserved 9 41.0MiB 43.0MiB 2.00MiB SBL1 10 43.0MiB 45.0MiB 2.00MiB SBL2 11 45.0MiB 53.0MiB 8.00MiB PARAM 12 53.0MiB 53.5MiB 0.50MiB DTSBK 13 53.5MiB 54.0MiB 0.50MiB DTS 14 54.0MiB 54.2MiB 0.25MiB FOTA_SIG 15 54.3MiB 74.2MiB 20.0MiB ext4 efs 16 74.3MiB 274MiB 200MiB ext4 CSC 17 274MiB 1429MiB 1155MiB ext2 system 18 1429MiB 1459MiB 30.0MiB linux-swap(v1) HIDDEN 19 1459MiB 3723MiB 2264MiB ext4 userdata 3723MiB 3728MiB 5.05MiB Free Space

Model: MMC K5XYMB (sd/mmc) Disk /dev/block/mmcblk0: 7634944s Sector size (logical/physical): 512B/512B Partition Table: gpt

Number Start End Size File system Name Flags 34s 8191s 8158s Free Space 1 8192s 10239s 2048s cal 2 10240s 10751s 512s sysparm_dep 3 10752s 11263s 512s parm-spml_dep 4 11264s 11775s 512s RF_CAL_FILE 5 11776s 28159s 16384s KERNEL 6 28160s 44543s 16384s RECOVERY 7 44544s 82943s 38400s modem 8 82944s 83967s 1024s reserved 9 83968s 88063s 4096s SBL1 10 88064s 92159s 4096s SBL2 11 92160s 108543s 16384s PARAM 12 108544s 109567s 1024s DTSBK 13 109568s 110591s 1024s DTS 14 110592s 111103s 512s FOTA_SIG 15 111104s 152063s 40960s ext4 efs 16 152064s 561663s 409600s ext4 CSC 17 561664s 2926447s 2364784s ext2 system 18 2926448s 2987887s 61440s linux-swap(v1) HIDDEN 19 2987888s 7624559s 4636672s ext4 userdata 7624560s 7634910s 10351s Free Space

sgdisk /dev/block/mmcblk0 --set-alignment 1 --print

Disk /dev/block/mmcblk0: 7634944 sectors, 3.6 GiB Logical sector size: 512 bytes Disk identifier (GUID): 52444E41-494F-2044-4D4D-43204449534B Partition table holds up to 128 entries First usable sector is 34, last usable sector is 7634910 Partitions will be aligned on 1-sector boundaries Total free space is 18509 sectors (9.0 MiB)

Number Start (sector) End (sector) Size Code Name 1 8192 10239 1024.0 KiB 0700 cal 2 10240 10751 256.0 KiB 0700 sysparm_dep 3 10752 11263 256.0 KiB 0700 parm-spml_dep 4 11264 11775 256.0 KiB 0700 RF_CAL_FILE 5 11776 28159 8.0 MiB 0700 KERNEL 6 28160 44543 8.0 MiB 0700 RECOVERY 7 44544 82943 18.8 MiB 0700 modem 8 82944 83967 512.0 KiB 0700 reserved 9 83968 88063 2.0 MiB 0700 SBL1 10 88064 92159 2.0 MiB 0700 SBL2 11 92160 108543 8.0 MiB 0700 PARAM 12 108544 109567 512.0 KiB 0700 DTSBK 13 109568 110591 512.0 KiB 0700 DTS 14 110592 111103 256.0 KiB 0700 FOTA_SIG 15 111104 152063 20.0 MiB 0700 efs 16 152064 561663 200.0 MiB 0700 CSC 17 561664 2926447 1.1 GiB 0700 system 18 2926448 2987887 30.0 MiB 0700 HIDDEN 19 2987888 7624559 2.2 GiB 0700 userdata

getprop

[ro.build.date]: [Sat Jun 4 09:15:48 UTC 2016] [ro.build.description]: [cm_kylepro-eng 4.4.4 KTU84Q d7aad63a5f test-keys] [ro.build.display.id]: [cm_kylepro-eng 4.4.4 KTU84Q d7aad63a5f test-keys]

cat /default.prop

#

ADDITIONAL_DEFAULT_PROPERTIES

# ro.secure=0 ro.adb.secure=0 ro.allow.mock.location=1 ro.debuggable=1 persist.sys.usb.config=mtp,adb

begin build properties

autogenerated by buildinfo.sh

ro.build.id=KTU84Q ro.build.display.id=cm_kylepro-eng 4.4.4 KTU84Q d7aad63a5f test-keys ro.build.version.incremental=d7aad63a5f ro.build.version.sdk=19 ro.build.version.codename=REL ro.build.version.release=4.4.4 ro.build.version.security_patch=2016-05-01 ro.build.version.base_os= ro.build.date=Sat Jun 4 09:15:48 UTC 2016 ro.build.date.utc=0 ro.build.type=eng ro.build.user=root ro.build.host=build.sandpox.org ro.build.tags=test-keys ro.product.brand=samsung ro.product.name=cm_kylepro ro.product.board=hawaii ro.product.cpu.abi=armeabi-v7a ro.product.cpu.abi2=armeabi ro.product.manufacturer=samsung ro.product.locale.language=hdpi ro.wifi.channels= ro.board.platform=hawaii

ro.build.product is obsolete; use ro.product.device

ro.build.product=kylepro ro.product.model=GT-S7580 ro.product.device=kylepro

Do not try to parse ro.build.description or .fingerprint

ro.build.description=cm_kylepro-eng 4.4.4 KTU84Q d7aad63a5f test-keys ro.build.fingerprint=samsung/cm_kylepro/kylepro:4.4.4/KTU84Q/d7aad63a5f:eng/test-keys ro.build.characteristics=phone ro.cm.device=kylepro

end build properties

#

from device/samsung/kylepro/system.prop

# #

KYLEPRO (GT-S7580)

#

persist.brcm.log=none persist.brcm.cp_crash=none persist.brcm.ap_crash=none

rild.libpath=/system/lib/libbrcm_ril.so

rild.libargs=-d /dev/ttyS0

ro.sf.lcd_density=240 ro.lcd_brightness=160 ro.lcd_min_brightness=10

MultiTouch support

ro.product.multi_touch_enabled=true ro.product.max_num_touch=2

net.streaming.rtsp.uaprof=http://wap.samsungmobile.com/uaprof/

ro.opengles.version=131072 debug.hwui.render_dirty_regions=false ro.tvout.enable=false gralloc.use_sync_mode=true

Adative video encoding

video.enc.h264.adaptive_quality=1 video.enc.h264.timing_window_sz=4 video.enc.h264.timing_thr0=295 video.enc.h264.timing_thr1=215 video.enc.h264.timing_thr2=145

sf.metadata_use_plat_sw_codecs=1

ro.ril.hsxpa=1 ro.ril.gprsclass=10

#

ADDITIONAL_BUILD_PROPERTIES

# ro.rommanager.developerid=cyanogenmod ro.com.google.clientidbase=android-google keyguard.no_require_sim=true 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.com.android.wifi-watchlist=GoogleGuest ro.setupwizard.enterprise_mode=1 ro.com.android.dateformat=MM-dd-yyyy ro.com.android.dataroaming=false ro.build.selinux=1 persist.sys.dalvik.multithread=false persist.sys.dun.override=0 persist.sys.root_access=1 ro.cm.version=11-20160604-UNOFFICIAL-kylepro ro.cm.releasetype=UNOFFICIAL ro.modversion=11-20160604-UNOFFICIAL-kylepro ro.cmlegal.url=https://cyngn.com/legal/privacy-policy persist.sys.recovery_update=false ro.cm.display.version=11-20160604-UNOFFICIAL-kylepro ro.config.notification_sound=Argon.ogg ro.config.alarm_alert=Hassium.ogg ro.config.ringtone=Orion.ogg ro.ksm.default=1 ro.config.nocheckin=1 wifi.interface=wlan0 mobiledata.interfaces=rmnet0 ro.telephony.ril_class=SamsungBCMRIL persist.radio.multisim.config=none ro.multisim.simslotcount=1 cm.updater.uri=http://ota.sandpox.org/api ro.telephony.call_ring.multiple=0 camera2.portability.force_api=1 ro.telephony.call_ring=0 ro.com.google.locationfeatures=1 ro.com.google.networklocation=1 ro.kernel.android.checkjni=0 ro.kernel.checkjni=0 dalvik.vm.checkjni=false persist.sys.media.use-awesome=true dalvik.vm.heapstartsize=8m dalvik.vm.heapgrowthlimit=64m dalvik.vm.heapsize=256m dalvik.vm.heaptargetutilization=0.75 dalvik.vm.heapminfree=2m dalvik.vm.heapmaxfree=8m ro.hwui.texture_cache_size=72 ro.hwui.layer_cache_size=48 ro.hwui.r_buffer_cache_size=8 ro.hwui.path_cache_size=32 ro.hwui.gradient_cache_size=1 ro.hwui.drop_shadow_cache_size=6 ro.hwui.texture_cache_flushrate=0.4 ro.hwui.text_small_cache_width=1024 ro.hwui.text_small_cache_height=1024 ro.hwui.text_large_cache_width=2048 ro.hwui.text_large_cache_height=1024 ro.carrier=unknown persist.sys.dalvik.vm.lib=libdvm.so net.bt.name=Android dalvik.vm.stack-trace-file=/data/anr/traces.txt

env

FLASHIZE_ENV_VERSION=2016-04-06 EXTERNAL_STORAGE=/sdcard LD_LIBRARY_PATH=/tmp/flashize/bin:.:/sbin SHLVL=2 OLDPWD=/ FLASHIZE_EXT_VERSION=2016-04-06 ANDROID_DATA=/data PATH=/tmp/flashize/bin:/sbin:/system/bin ANDROID_ROOT=/system FLASHIZE_VERSION=2016-04-06 ANDROID_PROPERTY_WORKSPACE=19,32768 PWD=/tmp/flashize TZ=WET-2WET,M3.5.0,M10.5.0

set

ANDROID_DATA='/data' ANDROID_PROPERTY_WORKSPACE='19,32768' ANDROID_ROOT='/system' EXTERNAL_STORAGE='/sdcard' FLASHIZE_ENV_VERSION='2016-04-06' FLASHIZE_EXT_VERSION='2016-04-06' FLASHIZE_VERSION='2016-04-06' IFS='
' LD_LIBRARY_PATH='/tmp/flashize/bin:.:/sbin' OLDPWD='/' PATH='/tmp/flashize/bin:/sbin:/system/bin' PPID='1167' PS1='\w \$ ' PS2='> ' PS4='+ ' PWD='/tmp/flashize' SHLVL='2' TZ='WET-2WET,M3.5.0,M10.5.0' base='/tmp/flashize'

ls -lR /sbin

bionic_open_tzdata: couldn't find any tzdata when looking for WET-2WET,M3.5.0,M10.5.0! bionic_open_tzdata: couldn't find any tzdata when looking for posixrules! /sbin: lrwxrwxrwx 1 root root 7 Jan 1 1970 [ -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 [[ -> busybox -rwxr-x--- 1 root root 211420 Jan 1 1970 adbd lrwxrwxrwx 1 root root 7 Jan 1 1970 adjtimex -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 arp -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 ash -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 awk -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 base64 -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 basename -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 bbconfig -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 blkid -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 blockdev -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 brctl -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 bunzip2 -> busybox -rwxr-x--- 1 root root 538200 Jan 1 1970 busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 bzcat -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 bzip2 -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 cal -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 cat -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 catv -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 chattr -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 chcon -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 chgrp -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 chmod -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 chown -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 chroot -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 chvt -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 clear -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 cmp -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 comm -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 cp -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 cpio -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 crond -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 crontab -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 cut -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 date -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 dc -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 dd -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 deallocvt -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 depmod -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 devmem -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 df -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 diff -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 dirname -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 dmesg -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 dnsd -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 dos2unix -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 du -> busybox -rwxr-x--- 1 root root 5412 Jan 1 1970 dump_image -rwxr-x--- 1 root root 122572 Jan 1 1970 e2fsck lrwxrwxrwx 1 root root 7 Jan 1 1970 echo -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 ed -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 egrep -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 env -> busybox -rwxr-x--- 1 root root 5412 Jan 1 1970 erase_image -rwxr-x--- 1 root root 99988 Jan 1 1970 exfat-fuse lrwxrwxrwx 1 root root 7 Jan 1 1970 expand -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 expr -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 false -> busybox -rwxr-x--- 1 root root 21856 Jan 1 1970 fatlabel lrwxrwxrwx 1 root root 7 Jan 1 1970 fbsplash -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 fdisk -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 fgconsole -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 fgrep -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 find -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 findfs -> busybox -rwxr-x--- 1 root root 5360 Jan 1 1970 flash_image lrwxrwxrwx 1 root root 7 Jan 1 1970 flash_lock -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 flash_unlock -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 flashcp -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 flock -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 fold -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 free -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 freeramdisk -> busybox lrwxrwxrwx 1 root root 11 Jan 1 1970 fsck.exfat -> mount.exfat -rwxr-x--- 1 root root 38288 Jan 1 1970 fsck.fat lrwxrwxrwx 1 root root 7 Jan 1 1970 fstrim -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 fsync -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 ftpget -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 ftpput -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 fuser -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 getenforce -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 getopt -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 getprop -> toolbox lrwxrwxrwx 1 root root 7 Jan 1 1970 getsebool -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 grep -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 groups -> busybox lrwxrwxrwx 1 root root 12 Jan 1 1970 gunzip -> /sbin/unpigz lrwxrwxrwx 1 root root 10 Jan 1 1970 gzip -> /sbin/pigz lrwxrwxrwx 1 root root 7 Jan 1 1970 halt -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 head -> busybox -rwxr-x--- 1 root root 128976 Jan 1 1970 healthd lrwxrwxrwx 1 root root 7 Jan 1 1970 hexdump -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 hwclock -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 id -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 ifconfig -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 inetd -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 insmod -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 install -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 ionice -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 iostat -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 ip -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 kill -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 killall -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 killall5 -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 less -> busybox -rwxr-x--- 1 root root 17592 Jan 1 1970 libaosprecovery.so -rwxr-x--- 1 root root 108292 Jan 1 1970 libblkid.so -rwxr-x--- 1 root root 5252 Jan 1 1970 libbmlutils.so -rwxr-x--- 1 root root 310656 Jan 1 1970 libc.so -rwxr-x--- 1 root root 13492 Jan 1 1970 libcorkscrew.so -rwxr-x--- 1 root root 5264 Jan 1 1970 libcrecovery.so -rwxr-x--- 1 root root 42292 Jan 1 1970 libcutils.so -rwxr-x--- 1 root root 9296 Jan 1 1970 libdl.so -rwxr-x--- 1 root root 29908 Jan 1 1970 libexfat_twrp.so -rwxr-x--- 1 root root 32240 Jan 1 1970 libext2_blkid.so -rwxr-x--- 1 root root 9404 Jan 1 1970 libext2_com_err.so -rwxr-x--- 1 root root 18224 Jan 1 1970 libext2_e2p.so -rwxr-x--- 1 root root 13552 Jan 1 1970 libext2_profile.so -rwxr-x--- 1 root root 9404 Jan 1 1970 libext2_uuid.so -rwxr-x--- 1 root root 108172 Jan 1 1970 libext2fs.so -rwxr-x--- 1 root root 42168 Jan 1 1970 libext4_utils.so -rwxr-x--- 1 root root 9400 Jan 1 1970 libflashutils.so -rwxr-x--- 1 root root 361716 Jan 1 1970 libft2.so -rwxr-x--- 1 root root 9352 Jan 1 1970 libfusesideload.so -rwxr-x--- 1 root root 21700 Jan 1 1970 libgccdemangle.so -rwxr-x--- 1 root root 17604 Jan 1 1970 liblog.so -rwxr-x--- 1 root root 103700 Jan 1 1970 libm.so -rwxr-x--- 1 root root 46636 Jan 1 1970 libminadbd.so -rwxr-x--- 1 root root 17600 Jan 1 1970 libmincrypttwrp.so -rwxr-x--- 1 root root 150080 Jan 1 1970 libminuitwrp.so -rwxr-x--- 1 root root 17544 Jan 1 1970 libminzip.so -rwxr-x--- 1 root root 9380 Jan 1 1970 libmmcutils.so -rwxr-x--- 1 root root 13504 Jan 1 1970 libmtdutils.so -rwxr-x--- 1 root root 13412 Jan 1 1970 libopenaes.so -rwxr-x--- 1 root root 124204 Jan 1 1970 libpng.so -rwxr-x--- 1 root root 46468 Jan 1 1970 libselinux.so -rwxr-x--- 1 root root 17688 Jan 1 1970 libsparse.so -rwxr-x--- 1 root root 5308 Jan 1 1970 libstdc++.so -rwxr-x--- 1 root root 210332 Jan 1 1970 libstlport.so -rwxr-x--- 1 root root 25792 Jan 1 1970 libtar.so -rwxr-x--- 1 root root 124636 Jan 1 1970 libtwrpmtp.so -rwxr-x--- 1 root root 9348 Jan 1 1970 libusbhost.so -rwxr-x--- 1 root root 58628 Jan 1 1970 libutil-linux.so -rwxr-x--- 1 root root 87336 Jan 1 1970 libutils.so -rwxr-x--- 1 root root 95572 Jan 1 1970 libz.so -rwxr-x--- 1 root root 67768 Jan 1 1970 linker lrwxrwxrwx 1 root root 7 Jan 1 1970 ln -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 load_policy -> toolbox lrwxrwxrwx 1 root root 7 Jan 1 1970 losetup -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 ls -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 lsattr -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 lsmod -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 lspci -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 lsusb -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 lzcat -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 lzma -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 lzop -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 lzopcat -> busybox -rwxr-x--- 1 root root 9572 Jan 1 1970 make_ext4fs lrwxrwxrwx 1 root root 7 Jan 1 1970 man -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 matchpathcon -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 md5sum -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 mesg -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 mkdir -> busybox -rwxr-x--- 1 root root 38264 Jan 1 1970 mke2fs -rwxr-x--- 1 root root 19572 Jan 1 1970 mkexfatfs lrwxrwxrwx 1 root root 7 Jan 1 1970 mkfifo -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 mkfs.ext2 -> busybox -rwxr-x--- 1 root root 22328 Jan 1 1970 mkfs.fat lrwxrwxrwx 1 root root 7 Jan 1 1970 mknod -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 mkswap -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 mktemp -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 modinfo -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 modprobe -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 more -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 mount -> busybox -rwxr-x--- 1 root root 0 Jan 1 1970 mount.exfat lrwxrwxrwx 1 root root 7 Jan 1 1970 mountpoint -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 mpstat -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 mv -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 nanddump -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 nandwrite -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 nbd-client -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 nc -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 netstat -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 nice -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 nmeter -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 nohup -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 nslookup -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 ntpd -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 od -> busybox -rwxr-x--- 1 root root 9504 Jan 1 1970 openaes lrwxrwxrwx 1 root root 7 Jan 1 1970 openvt -> busybox prwSrwS--- 1 root root 0 Jul 5 01:51 orsin prwSrwSrw- 1 root root 0 Jul 5 01:51 orsout lrwxrwxrwx 1 root root 7 Jan 1 1970 patch -> busybox -rwxr-x--- 1 root root 287 Jan 1 1970 permissive.sh lrwxrwxrwx 1 root root 7 Jan 1 1970 pgrep -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 pidof -> busybox -rwxr-x--- 1 root root 42444 Jan 1 1970 pigz lrwxrwxrwx 1 root root 7 Jan 1 1970 ping -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 pipe_progress -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 pkill -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 pmap -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 poweroff -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 printenv -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 printf -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 ps -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 pstree -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 pwd -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 pwdx -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 rdate -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 rdev -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 readlink -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 realpath -> busybox -rwxr-x--- 1 root root 5356 Jan 1 1970 reboot -rwxr-x--- 1 root root 333348 Jan 1 1970 recovery lrwxrwxrwx 1 root root 7 Jan 1 1970 renice -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 reset -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 resize -> busybox -rwxr-x--- 1 root root 25892 Jan 1 1970 resize2fs lrwxrwxrwx 1 root root 7 Jan 1 1970 restorecon -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 rev -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 rm -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 rmdir -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 rmmod -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 route -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 run-parts -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 runcon -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 rx -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 sed -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 selinuxenabled -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 seq -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 sestatus -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 setconsole -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 setenforce -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 setfiles -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 setkeycodes -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 setprop -> toolbox lrwxrwxrwx 1 root root 7 Jan 1 1970 setsebool -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 setserial -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 setsid -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 sh -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 sha1sum -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 sha256sum -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 sha3sum -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 sha512sum -> busybox -rwxr-x--- 1 root root 5364 Jan 1 1970 simg2img lrwxrwxrwx 1 root root 7 Jan 1 1970 sleep -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 smemcap -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 sort -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 split -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 start -> toolbox lrwxrwxrwx 1 root root 7 Jan 1 1970 stat -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 stop -> toolbox lrwxrwxrwx 1 root root 7 Jan 1 1970 strings -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 stty -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 sum -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 swapoff -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 swapon -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 sync -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 sysctl -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 tac -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 tail -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 tar -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 taskset -> busybox -rwxr-x--- 1 root root 1 Jan 1 1970 teamwin lrwxrwxrwx 1 root root 7 Jan 1 1970 tee -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 telnet -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 telnetd -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 test -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 tftp -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 tftpd -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 time -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 timeout -> busybox -rwxr-x--- 1 root root 9556 Jan 1 1970 toolbox lrwxrwxrwx 1 root root 7 Jan 1 1970 top -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 touch -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 tr -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 traceroute -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 true -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 ttysize -> busybox -rwxr-x--- 1 root root 25964 Jan 1 1970 tune2fs -rwxr-x--- 1 root root 5408 Jan 1 1970 twrp lrwxrwxrwx 1 root root 7 Jan 1 1970 ueventd -> ../init lrwxrwxrwx 1 root root 7 Jan 1 1970 umount -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 uname -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 uncompress -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 unexpand -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 uniq -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 unix2dos -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 unlzma -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 unlzop -> busybox lrwxrwxrwx 1 root root 4 Jan 1 1970 unpigz -> pigz lrwxrwxrwx 1 root root 7 Jan 1 1970 unxz -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 unzip -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 uptime -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 usleep -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 uudecode -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 uuencode -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 vi -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 watch -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 watchdogd -> ../init lrwxrwxrwx 1 root root 7 Jan 1 1970 wc -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 wget -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 which -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 whoami -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 xargs -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 xz -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 xzcat -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 yes -> busybox lrwxrwxrwx 1 root root 7 Jan 1 1970 zcat -> busybox

ls -l /dev/block

bionic_open_tzdata: couldn't find any tzdata when looking for WET-2WET,M3.5.0,M10.5.0! bionic_open_tzdata: couldn't find any tzdata when looking for posixrules! brw------- 1 root root 7, 0 Jul 5 01:51 loop0 brw------- 1 root root 7, 1 Jul 5 01:51 loop1 brw------- 1 root root 7, 2 Jul 5 01:51 loop2 brw------- 1 root root 7, 3 Jul 5 01:51 loop3 brw------- 1 root root 7, 4 Jul 5 01:51 loop4 brw------- 1 root root 7, 5 Jul 5 01:51 loop5 brw------- 1 root root 7, 6 Jul 5 01:51 loop6 brw------- 1 root root 7, 7 Jul 5 01:51 loop7 brw------- 1 root root 179, 0 Jul 5 01:51 mmcblk0 brwxrwx--- 1 radio system 179, 1 Jul 5 01:51 mmcblk0p1 brw------- 1 root root 179, 10 Jul 5 01:51 mmcblk0p10 brw-rw---- 1 system root 179, 11 Jul 5 01:51 mmcblk0p11 brw------- 1 root root 179, 12 Jul 5 01:51 mmcblk0p12 brw------- 1 root root 179, 13 Jul 5 01:51 mmcblk0p13 brw------- 1 root root 179, 14 Jul 5 01:51 mmcblk0p14 brw------- 1 root root 179, 15 Jul 5 01:51 mmcblk0p15 brw------- 1 root root 179, 16 Jul 5 01:51 mmcblk0p16 brw------- 1 root root 179, 17 Jul 5 01:51 mmcblk0p17 brw------- 1 root root 179, 18 Jul 5 01:51 mmcblk0p18 brw------- 1 root root 179, 19 Jul 5 01:51 mmcblk0p19 brw------- 1 root root 179, 2 Jul 5 01:51 mmcblk0p2 brw------- 1 root root 179, 3 Jul 5 01:51 mmcblk0p3 brw------- 1 root root 179, 4 Jul 5 01:51 mmcblk0p4 brw------- 1 root root 179, 5 Jul 5 01:51 mmcblk0p5 brw------- 1 root root 179, 6 Jul 5 01:51 mmcblk0p6 brw------- 1 root root 179, 7 Jul 5 01:51 mmcblk0p7 brw------- 1 root root 179, 8 Jul 5 01:51 mmcblk0p8 brw------- 1 root root 179, 9 Jul 5 01:51 mmcblk0p9 brw------- 1 root root 179, 32 Jul 5 01:51 mmcblk1 brw------- 1 root root 179, 33 Jul 5 01:51 mmcblk1p1 brw------- 1 root root 179, 34 Jul 5 01:51 mmcblk1p2 drwxr-xr-x 4 root root 80 Jul 5 01:51 platform

ls -l /sys/block

bionic_open_tzdata: couldn't find any tzdata when looking for WET-2WET,M3.5.0,M10.5.0! bionic_open_tzdata: couldn't find any tzdata when looking for posixrules! lrwxrwxrwx 1 root root 0 Jul 5 01:51 loop0 -> ../devices/virtual/block/loop0 lrwxrwxrwx 1 root root 0 Jul 5 01:51 loop1 -> ../devices/virtual/block/loop1 lrwxrwxrwx 1 root root 0 Jul 5 01:51 loop2 -> ../devices/virtual/block/loop2 lrwxrwxrwx 1 root root 0 Jul 5 01:51 loop3 -> ../devices/virtual/block/loop3 lrwxrwxrwx 1 root root 0 Jul 5 01:51 loop4 -> ../devices/virtual/block/loop4 lrwxrwxrwx 1 root root 0 Jul 5 01:51 loop5 -> ../devices/virtual/block/loop5 lrwxrwxrwx 1 root root 0 Jul 5 01:51 loop6 -> ../devices/virtual/block/loop6 lrwxrwxrwx 1 root root 0 Jul 5 01:51 loop7 -> ../devices/virtual/block/loop7 lrwxrwxrwx 1 root root 0 Jul 5 01:51 mmcblk0 -> ../devices/platform/sdhci.1/mmc_host/mmc0/mmc0:0001/block/mmcblk0 lrwxrwxrwx 1 root root 0 Jul 5 01:51 mmcblk1 -> ../devices/platform/sdhci.0/mmc_host/mmc2/mmc2:aaaa/block/mmcblk1

parted -s /dev/block/loop0 unit MiB print free unit s print free

Warning: Unable to determine geometry of file/device /dev/block/loop0. You should not use Parted unless you REALLY know what you're doing! Error: /dev/block/loop0: unrecognised disk label

parted -s /dev/block/loop1 unit MiB print free unit s print free

Warning: Unable to determine geometry of file/device /dev/block/loop1. You should not use Parted unless you REALLY know what you're doing! Error: /dev/block/loop1: unrecognised disk label

parted -s /dev/block/loop2 unit MiB print free unit s print free

Warning: Unable to determine geometry of file/device /dev/block/loop2. You should not use Parted unless you REALLY know what you're doing! Error: /dev/block/loop2: unrecognised disk label

parted -s /dev/block/loop3 unit MiB print free unit s print free

Warning: Unable to determine geometry of file/device /dev/block/loop3. You should not use Parted unless you REALLY know what you're doing! Error: /dev/block/loop3: unrecognised disk label

parted -s /dev/block/loop4 unit MiB print free unit s print free

Warning: Unable to determine geometry of file/device /dev/block/loop4. You should not use Parted unless you REALLY know what you're doing! Error: /dev/block/loop4: unrecognised disk label

parted -s /dev/block/loop5 unit MiB print free unit s print free

Warning: Unable to determine geometry of file/device /dev/block/loop5. You should not use Parted unless you REALLY know what you're doing! Error: /dev/block/loop5: unrecognised disk label

parted -s /dev/block/loop6 unit MiB print free unit s print free

Warning: Unable to determine geometry of file/device /dev/block/loop6. You should not use Parted unless you REALLY know what you're doing! Error: /dev/block/loop6: unrecognised disk label

parted -s /dev/block/loop7 unit MiB print free unit s print free

Warning: Unable to determine geometry of file/device /dev/block/loop7. You should not use Parted unless you REALLY know what you're doing! Error: /dev/block/loop7: unrecognised disk label

parted -s /dev/block/mmcblk0 unit MiB print free unit s print free

Model: MMC K5XYMB (sd/mmc) Disk /dev/block/mmcblk0: 3728MiB Sector size (logical/physical): 512B/512B Partition Table: gpt

Number Start End Size File system Name Flags 0.02MiB 4.00MiB 3.98MiB Free Space 1 4.00MiB 5.00MiB 1.00MiB cal 2 5.00MiB 5.25MiB 0.25MiB sysparm_dep 3 5.25MiB 5.50MiB 0.25MiB parm-spml_dep 4 5.50MiB 5.75MiB 0.25MiB RF_CAL_FILE 5 5.75MiB 13.7MiB 8.00MiB KERNEL 6 13.8MiB 21.7MiB 8.00MiB RECOVERY 7 21.8MiB 40.5MiB 18.8MiB modem 8 40.5MiB 41.0MiB 0.50MiB reserved 9 41.0MiB 43.0MiB 2.00MiB SBL1 10 43.0MiB 45.0MiB 2.00MiB SBL2 11 45.0MiB 53.0MiB 8.00MiB PARAM 12 53.0MiB 53.5MiB 0.50MiB DTSBK 13 53.5MiB 54.0MiB 0.50MiB DTS 14 54.0MiB 54.2MiB 0.25MiB FOTA_SIG 15 54.3MiB 74.2MiB 20.0MiB ext4 efs 16 74.3MiB 274MiB 200MiB ext4 CSC 17 274MiB 1429MiB 1155MiB ext2 system 18 1429MiB 1459MiB 30.0MiB linux-swap(v1) HIDDEN 19 1459MiB 3723MiB 2264MiB ext4 userdata 3723MiB 3728MiB 5.05MiB Free Space

Model: MMC K5XYMB (sd/mmc) Disk /dev/block/mmcblk0: 7634944s Sector size (logical/physical): 512B/512B Partition Table: gpt

Number Start End Size File system Name Flags 34s 8191s 8158s Free Space 1 8192s 10239s 2048s cal 2 10240s 10751s 512s sysparm_dep 3 10752s 11263s 512s parm-spml_dep 4 11264s 11775s 512s RF_CAL_FILE 5 11776s 28159s 16384s KERNEL 6 28160s 44543s 16384s RECOVERY 7 44544s 82943s 38400s modem 8 82944s 83967s 1024s reserved 9 83968s 88063s 4096s SBL1 10 88064s 92159s 4096s SBL2 11 92160s 108543s 16384s PARAM 12 108544s 109567s 1024s DTSBK 13 109568s 110591s 1024s DTS 14 110592s 111103s 512s FOTA_SIG 15 111104s 152063s 40960s ext4 efs 16 152064s 561663s 409600s ext4 CSC 17 561664s 2926447s 2364784s ext2 system 18 2926448s 2987887s 61440s linux-swap(v1) HIDDEN 19 2987888s 7624559s 4636672s ext4 userdata 7624560s 7634910s 10351s Free Space

sgdisk /dev/block/mmcblk0 --set-alignment 1 --print

Disk /dev/block/mmcblk0: 7634944 sectors, 3.6 GiB Logical sector size: 512 bytes Disk identifier (GUID): 52444E41-494F-2044-4D4D-43204449534B Partition table holds up to 128 entries First usable sector is 34, last usable sector is 7634910 Partitions will be aligned on 1-sector boundaries Total free space is 18509 sectors (9.0 MiB)

Number Start (sector) End (sector) Size Code Name 1 8192 10239 1024.0 KiB 0700 cal 2 10240 10751 256.0 KiB 0700 sysparm_dep 3 10752 11263 256.0 KiB 0700 parm-spml_dep 4 11264 11775 256.0 KiB 0700 RF_CAL_FILE 5 11776 28159 8.0 MiB 0700 KERNEL 6 28160 44543 8.0 MiB 0700 RECOVERY 7 44544 82943 18.8 MiB 0700 modem 8 82944 83967 512.0 KiB 0700 reserved 9 83968 88063 2.0 MiB 0700 SBL1 10 88064 92159 2.0 MiB 0700 SBL2 11 92160 108543 8.0 MiB 0700 PARAM 12 108544 109567 512.0 KiB 0700 DTSBK 13 109568 110591 512.0 KiB 0700 DTS 14 110592 111103 256.0 KiB 0700 FOTA_SIG 15 111104 152063 20.0 MiB 0700 efs 16 152064 561663 200.0 MiB 0700 CSC 17 561664 2926447 1.1 GiB 0700 system 18 2926448 2987887 30.0 MiB 0700 HIDDEN 19 2987888 7624559 2.2 GiB 0700 userdata

parted -s /dev/block/mmcblk0p1 unit MiB print free unit s print free

Error: /dev/block/mmcblk0p1: unrecognised disk label

parted -s /dev/block/mmcblk0p10 unit MiB print free unit s print free

Error: /dev/block/mmcblk0p10: unrecognised disk label

parted -s /dev/block/mmcblk0p11 unit MiB print free unit s print free

Error: /dev/block/mmcblk0p11: unrecognised disk label

parted -s /dev/block/mmcblk0p12 unit MiB print free unit s print free

Error: /dev/block/mmcblk0p12: unrecognised disk label

parted -s /dev/block/mmcblk0p13 unit MiB print free unit s print free

Error: /dev/block/mmcblk0p13: unrecognised disk label

parted -s /dev/block/mmcblk0p14 unit MiB print free unit s print free

Error: /dev/block/mmcblk0p14: unrecognised disk label

parted -s /dev/block/mmcblk0p15 unit MiB print free unit s print free

Model: Unknown (unknown) Disk /dev/block/mmcblk0p15: 20.0MiB Sector size (logical/physical): 512B/512B Partition Table: loop

Number Start End Size File system Flags 1 0.00MiB 20.0MiB 20.0MiB ext4

Model: Unknown (unknown) Disk /dev/block/mmcblk0p15: 40960s Sector size (logical/physical): 512B/512B Partition Table: loop

Number Start End Size File system Flags 1 0s 40959s 40960s ext4

sgdisk /dev/block/mmcblk0p15 --set-alignment 1 --print

Creating new GPT entries. Disk /dev/block/mmcblk0p15: 40960 sectors, 20.0 MiB Logical sector size: 512 bytes Disk identifier (GUID): A7190860-9EA9-4330-A064-A7767EA0D826 Partition table holds up to 128 entries First usable sector is 34, last usable sector is 40926 Partitions will be aligned on 1-sector boundaries Total free space is 40893 sectors (20.0 MiB)

Number Start (sector) End (sector) Size Code Name

parted -s /dev/block/mmcblk0p16 unit MiB print free unit s print free

Model: Generic SD/MMC Storage Card (sd/mmc) Disk /dev/block/mmcblk0p16: 200MiB Sector size (logical/physical): 512B/512B Partition Table: loop

Number Start End Size File system Flags 1 0.00MiB 200MiB 200MiB ext4

Model: Generic SD/MMC Storage Card (sd/mmc) Disk /dev/block/mmcblk0p16: 409600s Sector size (logical/physical): 512B/512B Partition Table: loop

Number Start End Size File system Flags 1 0s 409599s 409600s ext4

sgdisk /dev/block/mmcblk0p16 --set-alignment 1 --print

Creating new GPT entries. Disk /dev/block/mmcblk0p16: 409600 sectors, 200.0 MiB Logical sector size: 512 bytes Disk identifier (GUID): 20CF2C66-F077-4D11-9E0F-CDBFE34E205D Partition table holds up to 128 entries First usable sector is 34, last usable sector is 409566 Partitions will be aligned on 1-sector boundaries Total free space is 409533 sectors (200.0 MiB)

Number Start (sector) End (sector) Size Code Name

parted -s /dev/block/mmcblk0p17 unit MiB print free unit s print free

Model: Unknown (unknown) Disk /dev/block/mmcblk0p17: 1155MiB Sector size (logical/physical): 512B/512B Partition Table: loop

Number Start End Size File system Flags 1 0.00MiB 1155MiB 1155MiB ext2

Model: Unknown (unknown) Disk /dev/block/mmcblk0p17: 2364784s Sector size (logical/physical): 512B/512B Partition Table: loop

Number Start End Size File system Flags 1 0s 2364783s 2364784s ext2

sgdisk /dev/block/mmcblk0p17 --set-alignment 1 --print

Creating new GPT entries. Disk /dev/block/mmcblk0p17: 2364784 sectors, 1.1 GiB Logical sector size: 512 bytes Disk identifier (GUID): 5A97CE26-145C-42D6-B059-01CD19B8E077 Partition table holds up to 128 entries First usable sector is 34, last usable sector is 2364750 Partitions will be aligned on 1-sector boundaries Total free space is 2364717 sectors (1.1 GiB)

Number Start (sector) End (sector) Size Code Name

parted -s /dev/block/mmcblk0p18 unit MiB print free unit s print free

Model: Unknown (unknown) Disk /dev/block/mmcblk0p18: 30.0MiB Sector size (logical/physical): 512B/512B Partition Table: loop

Number Start End Size File system Flags 1 0.00MiB 30.0MiB 30.0MiB linux-swap(v1)

Model: Unknown (unknown) Disk /dev/block/mmcblk0p18: 61440s Sector size (logical/physical): 512B/512B Partition Table: loop

Number Start End Size File system Flags 1 0s 61439s 61440s linux-swap(v1)

sgdisk /dev/block/mmcblk0p18 --set-alignment 1 --print

Creating new GPT entries. Disk /dev/block/mmcblk0p18: 61440 sectors, 30.0 MiB Logical sector size: 512 bytes Disk identifier (GUID): 297D1195-CF87-4961-AB66-9DB1A3B6E0BC Partition table holds up to 128 entries First usable sector is 34, last usable sector is 61406 Partitions will be aligned on 1-sector boundaries Total free space is 61373 sectors (30.0 MiB)

Number Start (sector) End (sector) Size Code Name

parted -s /dev/block/mmcblk0p19 unit MiB print free unit s print free

Model: Unknown (unknown) Disk /dev/block/mmcblk0p19: 2264MiB Sector size (logical/physical): 512B/512B Partition Table: loop

Number Start End Size File system Flags 1 0.00MiB 2264MiB 2264MiB ext4

Model: Unknown (unknown) Disk /dev/block/mmcblk0p19: 4636672s Sector size (logical/physical): 512B/512B Partition Table: loop

Number Start End Size File system Flags 1 0s 4636671s 4636672s ext4

sgdisk /dev/block/mmcblk0p19 --set-alignment 1 --print

Creating new GPT entries. Disk /dev/block/mmcblk0p19: 4636672 sectors, 2.2 GiB Logical sector size: 512 bytes Disk identifier (GUID): BBE1E241-20BD-4E94-BEFA-13B032EDA35A Partition table holds up to 128 entries First usable sector is 34, last usable sector is 4636638 Partitions will be aligned on 1-sector boundaries Total free space is 4636605 sectors (2.2 GiB)

Number Start (sector) End (sector) Size Code Name

parted -s /dev/block/mmcblk0p2 unit MiB print free unit s print free

Error: /dev/block/mmcblk0p2: unrecognised disk label

parted -s /dev/block/mmcblk0p3 unit MiB print free unit s print free

Error: /dev/block/mmcblk0p3: unrecognised disk label

parted -s /dev/block/mmcblk0p4 unit MiB print free unit s print free

Error: /dev/block/mmcblk0p4: unrecognised disk label

parted -s /dev/block/mmcblk0p5 unit MiB print free unit s print free

Error: /dev/block/mmcblk0p5: unrecognised disk label

parted -s /dev/block/mmcblk0p6 unit MiB print free unit s print free

Error: /dev/block/mmcblk0p6: unrecognised disk label

parted -s /dev/block/mmcblk0p7 unit MiB print free unit s print free

Error: /dev/block/mmcblk0p7: unrecognised disk label

parted -s /dev/block/mmcblk0p8 unit MiB print free unit s print free

Error: /dev/block/mmcblk0p8: unrecognised disk label

parted -s /dev/block/mmcblk0p9 unit MiB print free unit s print free

Error: /dev/block/mmcblk0p9: unrecognised disk label

parted -s /dev/block/mmcblk1 unit MiB print free unit s print free

Model: SD SP64G (sd/mmc) Disk /dev/block/mmcblk1: 60906MiB Sector size (logical/physical): 512B/512B Partition Table: gpt

Number Start End Size File system Name Flags 0.02MiB 1.00MiB 0.98MiB Free Space 1 1.00MiB 17.0MiB 16.0MiB ntfs android_meta 2 17.0MiB 60906MiB 60889MiB android_expand

Model: SD SP64G (sd/mmc) Disk /dev/block/mmcblk1: 124735488s Sector size (logical/physical): 512B/512B Partition Table: gpt

Number Start End Size File system Name Flags 34s 2047s 2014s Free Space 1 2048s 34815s 32768s ntfs android_meta 2 34816s 124735454s 124700639s android_expand

sgdisk /dev/block/mmcblk1 --set-alignment 1 --print

Disk /dev/block/mmcblk1: 124735488 sectors, 59.5 GiB Logical sector size: 512 bytes Disk identifier (GUID): 82C6E096-F8DE-45A7-AFC1-49F66D09D590 Partition table holds up to 128 entries First usable sector is 34, last usable sector is 124735454 Partitions will be aligned on 1-sector boundaries Total free space is 2014 sectors (1007.0 KiB)

Number Start (sector) End (sector) Size Code Name 1 2048 34815 16.0 MiB FFFF android_meta 2 34816 124735454 59.5 GiB FFFF android_expand

parted -s /dev/block/mmcblk1p1 unit MiB print free unit s print free

Error: /dev/block/mmcblk1p1: unrecognised disk label

parted -s /dev/block/mmcblk1p2 unit MiB print free unit s print free

Error: /dev/block/mmcblk1p2: unrecognised disk label

parted -s /dev/block/platform unit MiB print free unit s print free

Error: Error opening /dev/block/platform: Invalid argument

ls -lR /dev/block

bionic_open_tzdata: couldn't find any tzdata when looking for WET-2WET,M3.5.0,M10.5.0! bionic_open_tzdata: couldn't find any tzdata when looking for posixrules! /dev/block: brw------- 1 root root 7, 0 Jul 5 01:51 loop0 brw------- 1 root root 7, 1 Jul 5 01:51 loop1 brw------- 1 root root 7, 2 Jul 5 01:51 loop2 brw------- 1 root root 7, 3 Jul 5 01:51 loop3 brw------- 1 root root 7, 4 Jul 5 01:51 loop4 brw------- 1 root root 7, 5 Jul 5 01:51 loop5 brw------- 1 root root 7, 6 Jul 5 01:51 loop6 brw------- 1 root root 7, 7 Jul 5 01:51 loop7 brw------- 1 root root 179, 0 Jul 5 01:51 mmcblk0 brwxrwx--- 1 radio system 179, 1 Jul 5 01:51 mmcblk0p1 brw------- 1 root root 179, 10 Jul 5 01:51 mmcblk0p10 brw-rw---- 1 system root 179, 11 Jul 5 01:51 mmcblk0p11 brw------- 1 root root 179, 12 Jul 5 01:51 mmcblk0p12 brw------- 1 root root 179, 13 Jul 5 01:51 mmcblk0p13 brw------- 1 root root 179, 14 Jul 5 01:51 mmcblk0p14 brw------- 1 root root 179, 15 Jul 5 01:51 mmcblk0p15 brw------- 1 root root 179, 16 Jul 5 01:51 mmcblk0p16 brw------- 1 root root 179, 17 Jul 5 01:51 mmcblk0p17 brw------- 1 root root 179, 18 Jul 5 01:51 mmcblk0p18 brw------- 1 root root 179, 19 Jul 5 01:51 mmcblk0p19 brw------- 1 root root 179, 2 Jul 5 01:51 mmcblk0p2 brw------- 1 root root 179, 3 Jul 5 01:51 mmcblk0p3 brw------- 1 root root 179, 4 Jul 5 01:51 mmcblk0p4 brw------- 1 root root 179, 5 Jul 5 01:51 mmcblk0p5 brw------- 1 root root 179, 6 Jul 5 01:51 mmcblk0p6 brw------- 1 root root 179, 7 Jul 5 01:51 mmcblk0p7 brw------- 1 root root 179, 8 Jul 5 01:51 mmcblk0p8 brw------- 1 root root 179, 9 Jul 5 01:51 mmcblk0p9 brw------- 1 root root 179, 32 Jul 5 01:51 mmcblk1 brw------- 1 root root 179, 33 Jul 5 01:51 mmcblk1p1 brw------- 1 root root 179, 34 Jul 5 01:51 mmcblk1p2 drwxr-xr-x 4 root root 80 Jul 5 01:51 platform

/dev/block/platform: drwxr-xr-x 4 root root 140 Jul 5 01:51 sdhci.0 drwxr-xr-x 4 root root 480 Jul 5 01:51 sdhci.1

/dev/block/platform/sdhci.0: drwxr-xr-x 2 root root 80 Jul 5 01:51 by-name drwxr-xr-x 2 root root 80 Jul 5 01:51 by-num lrwxrwxrwx 1 root root 18 Jul 5 01:51 mmcblk1 -> /dev/block/mmcblk1 lrwxrwxrwx 1 root root 20 Jul 5 01:51 mmcblk1p1 -> /dev/block/mmcblk1p1 lrwxrwxrwx 1 root root 20 Jul 5 01:51 mmcblk1p2 -> /dev/block/mmcblk1p2

/dev/block/platform/sdhci.0/by-name: lrwxrwxrwx 1 root root 20 Jul 5 01:51 android_expand -> /dev/block/mmcblk1p2 lrwxrwxrwx 1 root root 20 Jul 5 01:51 android_meta -> /dev/block/mmcblk1p1

/dev/block/platform/sdhci.0/by-num: lrwxrwxrwx 1 root root 20 Jul 5 01:51 p1 -> /dev/block/mmcblk1p1 lrwxrwxrwx 1 root root 20 Jul 5 01:51 p2 -> /dev/block/mmcblk1p2

/dev/block/platform/sdhci.1: drwxr-xr-x 2 root root 420 Jul 5 01:51 by-name drwxr-xr-x 2 root root 420 Jul 5 01:51 by-num lrwxrwxrwx 1 root root 18 Jul 5 01:51 mmcblk0 -> /dev/block/mmcblk0 lrwxrwxrwx 1 root root 20 Jul 5 01:51 mmcblk0p1 -> /dev/block/mmcblk0p1 lrwxrwxrwx 1 root root 21 Jul 5 01:51 mmcblk0p10 -> /dev/block/mmcblk0p10 lrwxrwxrwx 1 root root 21 Jul 5 01:51 mmcblk0p11 -> /dev/block/mmcblk0p11 lrwxrwxrwx 1 root root 21 Jul 5 01:51 mmcblk0p12 -> /dev/block/mmcblk0p12 lrwxrwxrwx 1 root root 21 Jul 5 01:51 mmcblk0p13 -> /dev/block/mmcblk0p13 lrwxrwxrwx 1 root root 21 Jul 5 01:51 mmcblk0p14 -> /dev/block/mmcblk0p14 lrwxrwxrwx 1 root root 21 Jul 5 01:51 mmcblk0p15 -> /dev/block/mmcblk0p15 lrwxrwxrwx 1 root root 21 Jul 5 01:51 mmcblk0p16 -> /dev/block/mmcblk0p16 lrwxrwxrwx 1 root root 21 Jul 5 01:51 mmcblk0p17 -> /dev/block/mmcblk0p17 lrwxrwxrwx 1 root root 21 Jul 5 01:51 mmcblk0p18 -> /dev/block/mmcblk0p18 lrwxrwxrwx 1 root root 21 Jul 5 01:51 mmcblk0p19 -> /dev/block/mmcblk0p19 lrwxrwxrwx 1 root root 20 Jul 5 01:51 mmcblk0p2 -> /dev/block/mmcblk0p2 lrwxrwxrwx 1 root root 20 Jul 5 01:51 mmcblk0p3 -> /dev/block/mmcblk0p3 lrwxrwxrwx 1 root root 20 Jul 5 01:51 mmcblk0p4 -> /dev/block/mmcblk0p4 lrwxrwxrwx 1 root root 20 Jul 5 01:51 mmcblk0p5 -> /dev/block/mmcblk0p5 lrwxrwxrwx 1 root root 20 Jul 5 01:51 mmcblk0p6 -> /dev/block/mmcblk0p6 lrwxrwxrwx 1 root root 20 Jul 5 01:51 mmcblk0p7 -> /dev/block/mmcblk0p7 lrwxrwxrwx 1 root root 20 Jul 5 01:51 mmcblk0p8 -> /dev/block/mmcblk0p8 lrwxrwxrwx 1 root root 20 Jul 5 01:51 mmcblk0p9 -> /dev/block/mmcblk0p9

/dev/block/platform/sdhci.1/by-name: lrwxrwxrwx 1 root root 21 Jul 5 01:51 CSC -> /dev/block/mmcblk0p16 lrwxrwxrwx 1 root root 21 Jul 5 01:51 DTS -> /dev/block/mmcblk0p13 lrwxrwxrwx 1 root root 21 Jul 5 01:51 DTSBK -> /dev/block/mmcblk0p12 lrwxrwxrwx 1 root root 21 Jul 5 01:51 FOTA_SIG -> /dev/block/mmcblk0p14 lrwxrwxrwx 1 root root 21 Jul 5 01:51 HIDDEN -> /dev/block/mmcblk0p18 lrwxrwxrwx 1 root root 20 Jul 5 01:51 KERNEL -> /dev/block/mmcblk0p5 lrwxrwxrwx 1 root root 21 Jul 5 01:51 PARAM -> /dev/block/mmcblk0p11 lrwxrwxrwx 1 root root 20 Jul 5 01:51 RECOVERY -> /dev/block/mmcblk0p6 lrwxrwxrwx 1 root root 20 Jul 5 01:51 RF_CAL_FILE -> /dev/block/mmcblk0p4 lrwxrwxrwx 1 root root 20 Jul 5 01:51 SBL1 -> /dev/block/mmcblk0p9 lrwxrwxrwx 1 root root 21 Jul 5 01:51 SBL2 -> /dev/block/mmcblk0p10 lrwxrwxrwx 1 root root 20 Jul 5 01:51 cal -> /dev/block/mmcblk0p1 lrwxrwxrwx 1 root root 21 Jul 5 01:51 efs -> /dev/block/mmcblk0p15 lrwxrwxrwx 1 root root 20 Jul 5 01:51 modem -> /dev/block/mmcblk0p7 lrwxrwxrwx 1 root root 20 Jul 5 01:51 parm-spml_dep -> /dev/block/mmcblk0p3 lrwxrwxrwx 1 root root 20 Jul 5 01:51 reserved -> /dev/block/mmcblk0p8 lrwxrwxrwx 1 root root 20 Jul 5 01:51 sysparm_dep -> /dev/block/mmcblk0p2 lrwxrwxrwx 1 root root 21 Jul 5 01:51 system -> /dev/block/mmcblk0p17 lrwxrwxrwx 1 root root 21 Jul 5 01:51 userdata -> /dev/block/mmcblk0p19

/dev/block/platform/sdhci.1/by-num: lrwxrwxrwx 1 root root 20 Jul 5 01:51 p1 -> /dev/block/mmcblk0p1 lrwxrwxrwx 1 root root 21 Jul 5 01:51 p10 -> /dev/block/mmcblk0p10 lrwxrwxrwx 1 root root 21 Jul 5 01:51 p11 -> /dev/block/mmcblk0p11 lrwxrwxrwx 1 root root 21 Jul 5 01:51 p12 -> /dev/block/mmcblk0p12 lrwxrwxrwx 1 root root 21 Jul 5 01:51 p13 -> /dev/block/mmcblk0p13 lrwxrwxrwx 1 root root 21 Jul 5 01:51 p14 -> /dev/block/mmcblk0p14 lrwxrwxrwx 1 root root 21 Jul 5 01:51 p15 -> /dev/block/mmcblk0p15 lrwxrwxrwx 1 root root 21 Jul 5 01:51 p16 -> /dev/block/mmcblk0p16 lrwxrwxrwx 1 root root 21 Jul 5 01:51 p17 -> /dev/block/mmcblk0p17 lrwxrwxrwx 1 root root 21 Jul 5 01:51 p18 -> /dev/block/mmcblk0p18 lrwxrwxrwx 1 root root 21 Jul 5 01:51 p19 -> /dev/block/mmcblk0p19 lrwxrwxrwx 1 root root 20 Jul 5 01:51 p2 -> /dev/block/mmcblk0p2 lrwxrwxrwx 1 root root 20 Jul 5 01:51 p3 -> /dev/block/mmcblk0p3 lrwxrwxrwx 1 root root 20 Jul 5 01:51 p4 -> /dev/block/mmcblk0p4 lrwxrwxrwx 1 root root 20 Jul 5 01:51 p5 -> /dev/block/mmcblk0p5 lrwxrwxrwx 1 root root 20 Jul 5 01:51 p6 -> /dev/block/mmcblk0p6 lrwxrwxrwx 1 root root 20 Jul 5 01:51 p7 -> /dev/block/mmcblk0p7 lrwxrwxrwx 1 root root 20 Jul 5 01:51 p8 -> /dev/block/mmcblk0p8 lrwxrwxrwx 1 root root 20 Jul 5 01:51 p9 -> /dev/block/mmcblk0p9

ls -lR /sys/block

bionic_open_tzdata: couldn't find any tzdata when looking for WET-2WET,M3.5.0,M10.5.0! bionic_open_tzdata: couldn't find any tzdata when looking for posixrules! /sys/block: lrwxrwxrwx 1 root root 0 Jul 5 01:51 loop0 -> ../devices/virtual/block/loop0 lrwxrwxrwx 1 root root 0 Jul 5 01:51 loop1 -> ../devices/virtual/block/loop1 lrwxrwxrwx 1 root root 0 Jul 5 01:51 loop2 -> ../devices/virtual/block/loop2 lrwxrwxrwx 1 root root 0 Jul 5 01:51 loop3 -> ../devices/virtual/block/loop3 lrwxrwxrwx 1 root root 0 Jul 5 01:51 loop4 -> ../devices/virtual/block/loop4 lrwxrwxrwx 1 root root 0 Jul 5 01:51 loop5 -> ../devices/virtual/block/loop5 lrwxrwxrwx 1 root root 0 Jul 5 01:51 loop6 -> ../devices/virtual/block/loop6 lrwxrwxrwx 1 root root 0 Jul 5 01:51 loop7 -> ../devices/virtual/block/loop7 lrwxrwxrwx 1 root root 0 Jul 5 01:51 mmcblk0 -> ../devices/platform/sdhci.1/mmc_host/mmc0/mmc0:0001/block/mmcblk0 lrwxrwxrwx 1 root root 0 Jul 5 01:51 mmcblk1 -> ../devices/platform/sdhci.0/mmc_host/mmc2/mmc2:aaaa/block/mmcblk1

[OK]

Lanchon commented 8 years ago

what is this? is this a port request?

Lanchon commented 8 years ago

if so, can you please try attaching the file instead of pasting it as a comment, if you don't mind?

YossiA1 commented 8 years ago

Yes, I'm requesting a port for my phone. Sorry for the log, I will try again.

Lanchon commented 8 years ago

oh never mind about the log. i think it's ok.

i see very little room for improvement in this device:

16 152064 561663 200.0 MiB 0700 CSC 17 561664 2926447 1.1 GiB 0700 system 18 2926448 2987887 30.0 MiB 0700 HIDDEN 19 2987888 7624559 2.2 GiB 0700 userdata

HIDDEN is small already. 1.1GB system is not that bad. what is it that you would like to achieve?

and btw, what is the CSC partition, do you know? which one is the /cache partition?

Lanchon commented 8 years ago

i found this online:

CSC is an acronym for Carrier/Country Specific Code. The csc.rfs file is a partition image file that, as far as I can tell, is merged with the contents of the system.rfs partition. In our case, the CSC file would contain the APN settings, as well as the Bell proprietary apps like self-serve and remote PVR.

Instead, since I took the system partition from a live phone, the CSC content is already in the system.rfs partition. I think the idea behind this is that Samsung can release new CSC packages without having to update the whole firmware when "new" carriers add the phone to their lineup.

Lanchon commented 8 years ago

so this phone doesn't have a cache partition?

YossiA1 commented 8 years ago

Thank you for the instant reply. I want to install the Open gapps super package... :-) not pico You can take the user data partition, can't you? I don't mind. I'm using a 64GB sandisk external SD card as an adopted storage.

YossiA1 commented 8 years ago

How to check if I have a cash partition? Diskinfo app? Storage space app?

Lanchon commented 8 years ago

yes, i suppose DiskInfo would work.

or you can look in TWRP, it should be there in the MOUNT section. you can mount everything there and then do a cat /proc/mounts via adb shell to TWRP or in the terminal in TWRP's UI.

YossiA1 commented 8 years ago

Diskinfo.txt

YossiA1 commented 8 years ago

screenshot_20160705-040239

YossiA1 commented 8 years ago

Is there any news with my phone port?

Lanchon commented 8 years ago

ok so CSC has been repurposed as /cache:

i have all the info i need to proceed but...

I want to install the Open gapps super package... :-) not pico You can take the user data partition, can't you? I don't mind. I'm using a 64GB sandisk external SD card as an adopted storage.

this is not recommended. userdata is already very small. i can make it smaller to grow system, but i would do exactly the opposite: grow userdata by making system smaller.

though i can make userdata arbitrarily small, this one is the partition where all the apps are installed, including all app updates. for this reason, it is very unwise to install big gapps on small devices: the original gapps will be stored in system, and the updates to those apps in userdata, using twice the space compared to a simple play store installation. you should install as many gapps from the store as possible.

on the other hand, the sdcard is not userdata. you can have a huge sdcard and a small and full userdata and you wont be able to install apps.

you can tackle this in two ways:

but... even if you do either of these, you have to keep in mind that the external sdcard is much much slower than the internal flash and, although it would technically work, your phone will probably slow down to a crawl. so again, not recommended.

also, to complicate matters, you should always have at least 20% free space in userdata, ALWAYS. failing to take this advice will make your phone slow down considerably.

so to recap:

if REPIT is of any use to you, it would be to grow userdata by shrinking system. install your phone with minimal gapps, then use DiskInfo to find out how much free space you have left in /system. that is the space that could be moved to userdata with REPIT.

your phone has little storage, there is no way around it, no free lunch. external storage is MUCH slower and shouldn't be used as internal storage.

your sdcard is not design for the kind of heavy workload imposed on internal storage, and would probably die in little time under this load. and to top it all, sdcards tend to use a lot of power compared to internal storage, so your battery will die sooner.

YossiA1 commented 8 years ago

Thank you for the elaborate explanation! The bottom line as I see it is to keep the current state of the phone, maybe it's for the better. Again, ad I mentioned earlier

YossiA1 commented 8 years ago

=== Previous post was accidentally closed. I'm using my phone to write these posts ===

Thank you for the elaborate explanation! The bottom line as I see it is to keep the current state of the phone, maybe it's for the better. Again, as I mentioned earlier in my first post, I'm using Android MM 6.0.1 with adopted storage. I now have a UHS-II 64GB Extreme Pro sandisk microSD card that I'm planning to use as an adopted storage. It is the fastest card on the market as far as I know.

samarium commented 8 years ago

It seems to me that there are a couple of deeper issues if you are using adoptable storage.

The easier one is microSD card speed and applicability for adopted storage. It seems that there are at least 4 combinations read/write vs random/sequential, and the question is which is the better match for normal usage as adopted storage. My guess would be write/random would be a better proxy for good performance, and anything USH-II that had good write random would have good enough everything else. I'd be interested if you had considered this issue, and how you came to your conclusions if so.

Then there is adopted storage and repit. IIRC adopted storage seems to join userdata partition and microsd into one block device, not sure if lanchon has got that covered in repit, or it the current version would require a wipe of userdata / adopted partition, or if Yossi is intending to do a wipe of userdata anyway. Seems like trying to resize a flash partition and not realizing it was part of a larger pseudo device would result in file system corruption.

Lanchon commented 8 years ago

@YossiA1 whatever the speed of the sdcard, i dont think they will ever perform near an emmc. and i am talking a really wide margin here. sdcards are not designed for that use case:

you can buy the fastest card on the market. but unless samsung seriously screwed up with your phone model (i doubt it, they own emmc IP, so they have it "for free" on cheaper phones), your phone will be disappointingly slow running /data from an sdcard.

@samarium yes, random I/O and queued command performance are the dominant factors. but as i said, i do not think you will find anything noteworthy on the market (due to market forces, not technical reasons).

i am not familiar with android 6 adoption. it could be as you say, a block-level joining of devices in the line of what LVM does. on the plus side, it is a very simple solution to implement, and it provides a full solution in the sense that the system cannot run out of space for some particular type of resource. but it affords no control of what gets to be in the faster internal memory, and causes catastrophic failure if access to the adopted storage is lost.

an alternative is moving some /data folders to the adopted storage, but keeping the file systems separate. for example, complete apps could be moved; only they would be slow. or the APKs could be moved but their data (databases, etc) be kept in internal flash. or some data could be kept (DBs) and other moved (cache). regarding the APKs, maybe the APKs are moved but the compiled oat files kept fast. maybe an adaptive algorithm is used, where more is moved to external the less space there is in internal, choosing to move first the largest data pieces, or space hog apps, or seldom used apps.

some of these strategies allow for partial recovery of the environment if the adopted storage is lost. some apps could be uninstalled. some resource types can be regenerated (eg: oat). loss of some resources can be tolerated (eg: app caches).

yet another solution is to use only the adopted device for storage, and use internal storage as a fast cache. this could be interesting for performance, but could be a little wasteful of power, though not necessarily. the cache layer could be block-based, using stuff like bcache or facebook's flashcache, or file level.

there are millions of possibilities, but the take away regarding REPIT is this: whatever method used for adoption, if the internal partition keeps on being ext4, then REPIT will resize it. otherwise it will fail without touching the disk at all. in the latter case you can still choose to wipe the internal partition with REPIT, and this will reset the phone and de-adopt the storage. the ex- adopted storage is encrypted, and the key was in the internal /data partition; so when you wipe internal, you effectively wipe adopted too given that you loose the key. after doing this you can only format it or adopt it again.

YossiA1 commented 8 years ago

@Lanchon What is the 30.0 MiB HIDDEN partition? What is it for? Is it an empty partition or does it include some files and/or folders?

Thanx

Lanchon commented 8 years ago

on samsung devices, it is typically mounted on /preload. i think the idea was to place operator customization there, separate from the main rom. for all i know samsung was unable to implement this, and they started to simply split the rom in two to make it fit the separate /system and /preload partitions (which are eg 512MB each on the i9100). your 30MB preload tells me that samsung abandoned the idea completely. why is it still there at all is anybody's guess. some custom rom of yours formatted it at some point as swap space and so in your phone it is probably being used as swap.