[Android Q&A, Help & Troubleshooting] Mnemonic_Blast:
Partition Listing- CM Port

Post 1

---------- Post added at 02:10 PM ---------- Previous post was at 02:06 PM ----------

I'm trying to port this to Cyanogenmod. Does any have the required driver list that I need to strip from vs880 24?

via adb
shell@x10:/ $ su
root@x10:/ # ls -al /dev/block/platform/msm_sdcc.1/by-name
lrwxrwxrwx root root 1970-01-04 04:34 DDR -> /dev/block/mmcblk0p21
lrwxrwxrwx root root 1970-01-04 04:34 aboot -> /dev/block/mmcblk0p6
lrwxrwxrwx root root 1970-01-04 04:34 abootb -> /dev/block/mmcblk0p9
lrwxrwxrwx root root 1970-01-04 04:34 boot -> /dev/block/mmcblk0p16
lrwxrwxrwx root root 1970-01-04 04:34 cache -> /dev/block/mmcblk0p33
lrwxrwxrwx root root 1970-01-04 04:34 drm -> /dev/block/mmcblk0p24
lrwxrwxrwx root root 1970-01-04 04:34 eksst -> /dev/block/mmcblk0p31
lrwxrwxrwx root root 1970-01-04 04:34 encrypt -> /dev/block/mmcblk0p22
lrwxrwxrwx root root 1970-01-04 04:34 eri -> /dev/block/mmcblk0p30
lrwxrwxrwx root root 1970-01-04 04:34 factory -> /dev/block/mmcblk0p26
lrwxrwxrwx root root 1970-01-04 04:34 fota -> /dev/block/mmcblk0p28
lrwxrwxrwx root root 1970-01-04 04:34 fsc -> /dev/block/mmcblk0p19
lrwxrwxrwx root root 1970-01-04 04:34 fsg -> /dev/block/mmcblk0p18
lrwxrwxrwx root root 1970-01-04 04:34 grow -> /dev/block/mmcblk0p35
lrwxrwxrwx root root 1970-01-04 04:34 laf -> /dev/block/mmcblk0p15
lrwxrwxrwx root root 1970-01-04 04:34 misc -> /dev/block/mmcblk0p13
lrwxrwxrwx root root 1970-01-04 04:34 modem -> /dev/block/mmcblk0p1
lrwxrwxrwx root root 1970-01-04 04:34 modemst1 -> /dev/block/mmcblk0p11
lrwxrwxrwx root root 1970-01-04 04:34 modemst2 -> /dev/block/mmcblk0p12
lrwxrwxrwx root root 1970-01-04 04:34 operatorlogging -> /dev/block/mmcblk0p27
lrwxrwxrwx root root 1970-01-04 04:34 pad -> /dev/block/mmcblk0p10
lrwxrwxrwx root root 1970-01-04 04:34 persist -> /dev/block/mmcblk0p14
lrwxrwxrwx root root 1970-01-04 04:34 rct -> /dev/block/mmcblk0p23
lrwxrwxrwx root root 1970-01-04 04:34 recovery -> /dev/block/mmcblk0p17
lrwxrwxrwx root root 1970-01-04 04:34 rpm -> /dev/block/mmcblk0p3
lrwxrwxrwx root root 1970-01-04 04:34 rpmb -> /dev/block/mmcblk0p7
lrwxrwxrwx root root 1970-01-04 04:34 sbl1 -> /dev/block/mmcblk0p2
lrwxrwxrwx root root 1970-01-04 04:34 sbl1b -> /dev/block/mmcblk0p29
lrwxrwxrwx root root 1970-01-04 04:34 sdi -> /dev/block/mmcblk0p5
lrwxrwxrwx root root 1970-01-04 04:34 sns -> /dev/block/mmcblk0p25
lrwxrwxrwx root root 1970-01-04 04:34 system -> /dev/block/mmcblk0p32
lrwxrwxrwx root root 1970-01-04 04:34 tz -> /dev/block/mmcblk0p4
lrwxrwxrwx root root 1970-01-04 04:34 tzb -> /dev/block/mmcblk0p8
lrwxrwxrwx root root 1970-01-04 04:34 userdata -> /dev/block/mmcblk0p34
root@x10:/ #

_______________________________________________________________________________________
Whats loaded as the root directory, very dynamic, script to actually set emmc size

root@x10:/ # ls
acct
cache
charger
config
d
data
default.prop
dev
eri
etc
file_contexts
firmware
fstab.x10
init
init.class_main.sh
init.environ.rc
init.lge.cmm.usb.sh
init.lge.diag.rc
init.lge.early.rc
init.lge.fs.rc
init.lge.log.rc
init.lge.modem_log.rc
init.lge.power.rc
init.lge.rc
init.lge.svelte.rc
init.lge.usb.post-fs-data.s
init.lge.usb.rc
init.lge.usb.sh
init.lge.usb_over.sh
init.lge.vzw.usb.sh
init.lge.wifi.rc
init.mdm.sh
init.qcom.class_core.sh
init.qcom.early_boot.sh
init.qcom.factory.sh
init.qcom.rc
init.qcom.sh
init.qcom.ssr.sh
init.qcom.syspart_fixup.sh
init.rc
init.recovery.x10.rc
init.target.rc
init.trace.rc
init.usb.rc
init.x10.rc
init.x10_core.rc
init.x10_product.rc
init.zetaw.bt_vendor.rc
init.zetaw.sensor.sh
init.zetaw_core.rc
init.zygote32.rc
lgdms.fota.rc
lgdms.fota_update.rc
mnt
persist
persist-lg
pkg
proc
property_contexts
res
root
sbin
sdcard
seapp_contexts
selinux_version
sepolicy
service_contexts
set_emmc_size.sh
smpl_boot
sns
storage
sys
system
tmp-mksh
tombstones
ueventd.rc
ueventd.x10.rc
vendor
vzw

________________________________________________________________________________________________________________

root@x10:/ # cat /proc/partitions
major minor #blocks name

253 0 347260 zram0
179 0 7634944 mmcblk0
179 1 65536 mmcblk0p1
179 2 1024 mmcblk0p2
179 3 512 mmcblk0p3
179 4 512 mmcblk0p4
179 5 512 mmcblk0p5
179 6 2048 mmcblk0p6
179 7 512 mmcblk0p7
179 8 512 mmcblk0p8
179 9 2048 mmcblk0p9
179 10 2048 mmcblk0p10
179 11 3072 mmcblk0p11
179 12 3072 mmcblk0p12
179 13 16384 mmcblk0p13
179 14 32768 mmcblk0p14
179 15 22528 mmcblk0p15
179 16 22528 mmcblk0p16
179 17 22528 mmcblk0p17
179 18 3072 mmcblk0p18
179 19 512 mmcblk0p19
179 20 512 mmcblk0p20
179 21 512 mmcblk0p21
179 22 512 mmcblk0p22
179 23 512 mmcblk0p23
179 24 8192 mmcblk0p24
179 25 8192 mmcblk0p25
179 26 20480 mmcblk0p26
179 27 16384 mmcblk0p27
179 28 32768 mmcblk0p28
179 29 1024 mmcblk0p29
179 30 8192 mmcblk0p30
179 31 512 mmcblk0p31
259 0 2097152 mmcblk0p32
259 1 921600 mmcblk0p33
259 2 4235776 mmcblk0p34
259 3 32751 mmcblk0p35
179 32 4096 mmcblk0rpmb

________________________________________________________________________________________________________________

root@x10:/ # df
Filesystem Size Used Free Blksize
/dev 678.24M 84.00K 678.16M 4096
/sys/fs/cgroup 678.24M 12.00K 678.23M 4096
/mnt/asec 678.24M 0.00K 678.24M 4096
/mnt/obb 678.24M 0.00K 678.24M 4096
/system 1.97G 1.91G 56.34M 4096
/data 3.97G 2.20G 1.77G 4096
/cache 884.61M 14.41M 870.20M 4096
/persist 31.46M 4.04M 27.42M 4096
/firmware 63.95M 55.62M 8.33M 16384
/sns 7.83M 4.04M 3.80M 4096
/persist-lg 7.83M 4.43M 3.41M 4096
/eri 7.83M 4.02M 3.82M 4096
/vzw/quality 15.71M 4.01M 11.70M 4096
/mnt/shell/emulated 3.97G 2.20G 1.77G 4096
/storage/emulated/legacy: No such file or directory
/storage/emulated 686.05M 0.00K 686.05M 4096
/storage/emulated/0 3.97G 2.20G 1.77G 4096
/storage/emulated/0/Android/obb 3.97G 2.20G 1.77G 4096

___________________________________________________________________________________

1|root@x10:/ # cat /proc/mounts
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,size=694520k,nr_inodes=112828,mode=755 0 0
devpts /dev/pts devpts rw,seclabel,relatime,mode=600 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,seclabel,relatime 0 0
selinuxfs /sys/fs/selinux selinuxfs rw,relatime 0 0
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
none /sys/fs/cgroup tmpfs rw,seclabel,relatime,size=694520k,nr_inodes=112828,mode=750,gid=1000 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,seclabel,relatime,size=694520k,nr_inodes=112828,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,seclabel,relatime,size=694520k,nr_inodes=112828,mode=755,gid=1000 0 0
/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,seclabel,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/userdata /data ext4 rw,seclabel,nosuid,nodev,noatime,discard,noauto_da_alloc,resuid=1000,errors=continue,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/cache /cache ext4 rw,seclabel,nosuid,nodev,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/persist /persist ext4 rw,seclabel,nosuid,nodev,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/modem /firmware vfat ro,context=u:object_r:firmware_file:s0,relatime,uid=1000,gid=1000,fmask=0337,dmask=0227,codepage=cp437,iocharset=iso8859-1,shortname=lower,errors=remount-ro 0 0
/dev/block/bootdevice/by-name/sns /sns ext4 rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc,errors=continue,data=ordered 0 0
/dev/block/bootdevice/by-name/drm /persist-lg ext4 rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc,errors=continue,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/eri /eri ext4 rw,seclabel,nodev,relatime,noauto_da_alloc,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/operatorlogging /vzw/quality ext4 rw,seclabel,nosuid,nodev,noatime,data=ordered 0 0
/dev/fuse /mnt/shell/emulated fuse rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/fuse /storage/emulated/legacy fuse rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
tmpfs /storage/emulated tmpfs rw,seclabel,nosuid,nodev,relatime,mode=050,gid=1028 0 0
/dev/fuse /storage/emulated/0 fuse rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/fuse /storage/emulated/0/Android/obb fuse rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
root@x10:/ #

________________________________________________________________________________________________________________________________________________________________________________________________________________________________________

root@x10:/dev/block # fdisk mmcblk0
Found valid GPT with protective MBR; using GPT

Command (m for help): ←[6nroot@x10:/dev/block # blkid
/dev/block/zram0: TYPE="swap"
/dev/block/mmcblk0p1: SEC_TYPE="msdos" UUID="00BC-614E" TYPE="vfat"
/dev/block/mmcblk0p14: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4"
/dev/block/mmcblk0p24: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4"
/dev/block/mmcblk0p25: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4"
/dev/block/mmcblk0p27: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4"
/dev/block/mmcblk0p30: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4"
/dev/block/mmcblk0p32: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4"
/dev/block/mmcblk0p33: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4"
/dev/block/mmcblk0p34: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4"
root@x10:/dev/block #

ps: This is a qualcomm 400 so bootloader unlocking is attainable through a vulnerability here (link removed by xda) l, just need some time to play with it get a padded boot image to prevent the signed partitions from causing the Boot loop security to go off.

The memory is a mess. I look forward to porting this to Cyanogen and accept any assistance that can be provided. It was a nice midgrade piece of hardware ruined by bloated and used partitions.