[Sony Xperia M] cian hackett:
Hah took me a while to figure out what you meant there sorry. Am currently trying to dump boot.IMG however I am having trouble identifying which is the correct partition/block number. Haven't tried this before so I'm going to hope someone can point me in the right direction.

Partitions on device

127|u0_a180@android:/ $ cat /proc/partitions

major minor #blocks name

179 0 3866624 mmcblk0

179 1 2048 mmcblk0p1

179 2 128 mmcblk0p2

179 3 256 mmcblk0p3

179 4 256 mmcblk0p4

179 5 512 mmcblk0p5

179 6 512 mmcblk0p6

179 7 512 mmcblk0p7

179 8 128 mmcblk0p8

179 9 256 mmcblk0p9

179 10 256 mmcblk0p10

179 11 512 mmcblk0p11

179 12 512 mmcblk0p12

179 13 512 mmcblk0p13

179 14 512 mmcblk0p14

179 15 512 mmcblk0p15

179 16 16384 mmcblk0p16

179 17 20480 mmcblk0p17

179 18 65536 mmcblk0p18

179 19 3072 mmcblk0p19

179 20 3072 mmcblk0p20

179 21 3072 mmcblk0p21

179 22 5120 mmcblk0p22

179 23 16384 mmcblk0p23

179 24 4096 mmcblk0p24

179 25 1228800 mmcblk0p25

179 26 256000 mmcblk0p26

179 27 2183151 mmcblk0p27

179 32 30760960 mmcblk1

179 33 30759936 mmcblk1p1

u0_a180@android:/ $

Mount points on device

u0_a180@android:/ $ cat /proc/mounts

rootfs / rootfs rw,relatime 0 0

tmpfs /dev tmpfs rw,nosuid,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

none /dev/cpuctl cgroup rw,relatime,cpu 0 0

/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,relatime,data=ordered 0 0

/dev/block/platform/msm_sdcc.1/by-name/cache /cache ext4 rw,nosuid,nodev,relatime,data=ordered 0 0

/dev/block/platform/msm_sdcc.1/by-name/persist /persist ext4 rw,nosuid,nodev,relatime 0 0

/dev/block/platform/msm_sdcc.1/by-name/modem /firmware vfat ro,relatime,uid=1000,gid=1000,fmask=0337,dmask=0227,codepage=cp437,iocharset=iso8859-1,shortname=lower,errors=remount-ro 0 0

/dev/block/platform/msm_sdcc.1/by-name/userdata /data ext4 rw,nosuid,nodev,relatime,noauto_da_alloc,data=ordered 0 0

/dev/block/platform/msm_sdcc.1/by-name/LTALabel /lta-label ext4 ro,nosuid,nodev,noatime,nobarrier,data=ordered 0 0

/dev/fuse /storage/sdcard0 fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0

/dev/block/vold/179:33 /storage/sdcard1 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

u0_a180@android:/ $

And I'm pretty sure that the boot IMG is listed here just need to figure out which one it is

atform/msm_sdcc.1 <

s -l <

drwxr-xr-x root root 1970-01-12 08:34 by-name

drwxr-xr-x root root 1970-01-12 08:34 by-num

lrwxrwxrwx root root 1970-01-12 08:34 mmcblk0 -> /dev/block/mmcblk0

lrwxrwxrwx root root 1970-01-12 08:34 mmcblk0p1 -> /dev/block/mmcblk0p1

lrwxrwxrwx root root 1970-01-12 08:34 mmcblk0p10 -> /dev/block/mmcblk0p10

lrwxrwxrwx root root 1970-01-12 08:34 mmcblk0p11 -> /dev/block/mmcblk0p11

lrwxrwxrwx root root 1970-01-12 08:34 mmcblk0p12 -> /dev/block/mmcblk0p12

lrwxrwxrwx root root 1970-01-12 08:34 mmcblk0p13 -> /dev/block/mmcblk0p13

lrwxrwxrwx root root 1970-01-12 08:34 mmcblk0p14 -> /dev/block/mmcblk0p14

lrwxrwxrwx root root 1970-01-12 08:34 mmcblk0p15 -> /dev/block/mmcblk0p15

lrwxrwxrwx root root 1970-01-12 08:34 mmcblk0p16 -> /dev/block/mmcblk0p16

lrwxrwxrwx root root 1970-01-12 08:34 mmcblk0p17 -> /dev/block/mmcblk0p17

lrwxrwxrwx root root 1970-01-12 08:34 mmcblk0p18 -> /dev/block/mmcblk0p18

lrwxrwxrwx root root 1970-01-12 08:34 mmcblk0p19 -> /dev/block/mmcblk0p19

lrwxrwxrwx root root 1970-01-12 08:34 mmcblk0p2 -> /dev/block/mmcblk0p2

lrwxrwxrwx root root 1970-01-12 08:34 mmcblk0p20 -> /dev/block/mmcblk0p20

lrwxrwxrwx root root 1970-01-12 08:34 mmcblk0p21 -> /dev/block/mmcblk0p21

lrwxrwxrwx root root 1970-01-12 08:34 mmcblk0p22 -> /dev/block/mmcblk0p22

lrwxrwxrwx root root 1970-01-12 08:34 mmcblk0p23 -> /dev/block/mmcblk0p23

lrwxrwxrwx root root 1970-01-12 08:34 mmcblk0p24 -> /dev/block/mmcblk0p24

lrwxrwxrwx root root 1970-01-12 08:34 mmcblk0p25 -> /dev/block/mmcblk0p25

lrwxrwxrwx root root 1970-01-12 08:34 mmcblk0p26 -> /dev/block/mmcblk0p26

lrwxrwxrwx root root 1970-01-12 08:34 mmcblk0p27 -> /dev/block/mmcblk0p27

lrwxrwxrwx root root 1970-01-12 08:34 mmcblk0p3 -> /dev/block/mmcblk0p3

lrwxrwxrwx root root 1970-01-12 08:34 mmcblk0p4 -> /dev/block/mmcblk0p4

lrwxrwxrwx root root 1970-01-12 08:34 mmcblk0p5 -> /dev/block/mmcblk0p5

lrwxrwxrwx root root 1970-01-12 08:34 mmcblk0p6 -> /dev/block/mmcblk0p6

lrwxrwxrwx root root 1970-01-12 08:34 mmcblk0p7 -> /dev/block/mmcblk0p7

lrwxrwxrwx root root 1970-01-12 08:34 mmcblk0p8 -> /dev/block/mmcblk0p8

lrwxrwxrwx root root 1970-01-12 08:34 mmcblk0p9 -> /dev/block/mmcblk0p9

u0_a180@android:/dev/block/platform/msm_sdcc.1 $

Pretty sure once I know the correct block number its just a case of running this command

cat /dev/block/boot_partition_block number > /mnt/sdcard/boot.img