• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root SGH-T589W Partition table

McGanon

Lurker
Hello android developers!

I'm trying to extract the partition table from this rooted phone using adb: SGH-T589W. More specifically, I want to identify the boot.img and recovery.img. I pulled some files using adb, here are the results.

$ cat /proc/mounts
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
/dev/stl14 /cache rfs rw,nosuid,nodev,relatime,vfat,llw,check=no,gid/uid/rwx,iocharset=utf8 0 0
/dev/stl13 /data rfs rw,nosuid,nodev,relatime,vfat,llw,check=no,gid/uid/rwx,iocharset=utf8 0 0
/dev/stl12 /system rfs ro,relatime,vfat,log_off,check=no,gid/uid/rwx,iocharset=utf8 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/vold/179:1 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:1 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0

Here are the contents of /proc/partitions
major minor #blocks name

7 0 16664 loop0
7 1 2111 loop1
7 2 2111 loop2
7 3 11466 loop3
7 4 12506 loop4
7 5 5229 loop5
179 0 31166976 mmcblk0
179 1 31162880 mmcblk0p1
137 0 513024 bml0/c
137 1 1536 bml1
137 2 512 bml2
137 3 768 bml3
137 4 25600 bml4
137 5 9216 bml5
137 6 5120 bml6
137 7 2048 bml7
137 8 10240 bml8
137 9 10240 bml9
137 10 768 bml10
137 11 25600 bml11
137 12 233984 bml12
137 13 161792 bml13
137 14 25600 bml14
138 12 226304 stl12
138 13 155648 stl13
138 14 21760 stl14
254 0 16663 dm-0
254 1 2110 dm-1
254 2 2110 dm-2
254 3 11466 dm-3
254 4 12505 dm-4
254 5 5229 dm-5

Here are the contents of /proc/LinuStoreIII/bmlinfo
FSR VERSION: FSR_1.2.1p1_b139_RTM
minor position size units id
1: 0x00000000-0x00180000 0x00180000 6 1
2: 0x00180000-0x00200000 0x00080000 2 2
3: 0x00200000-0x002c0000 0x000c0000 3 3
4: 0x002c0000-0x01bc0000 0x01900000 100 4
5: 0x01bc0000-0x024c0000 0x00900000 36 23
6: 0x024c0000-0x029c0000 0x00500000 20 25
7: 0x029c0000-0x02bc0000 0x00200000 8 5
8: 0x02bc0000-0x035c0000 0x00a00000 40 6
9: 0x035c0000-0x03fc0000 0x00a00000 40 7
10: 0x03fc0000-0x04080000 0x000c0000 3 8
11: 0x04080000-0x05980000 0x01900000 100 9
12: 0x05980000-0x13e00000 0x0e480000 914 21
13: 0x13e00000-0x1dc00000 0x09e00000 632 22
14: 0x1dc00000-0x1f500000 0x01900000 100 24

(0)(0) bad mapping information
No BadUnit RsvUnit

Based on the information about the size of the partitions and looking at bml8 with a hex editor, I have identified the following so far
partition use
/dev/stl14 /cache
/dev/stl13 /data
/dev/stl12 /system
/dev/bml8 boot.img
/dev/bml9 recovery.img
Can anybody tell me if I got it right? Thanks in advance.
 
Back
Top Bottom