[Q][XP][JB] Unable to get kernel using adb

Search This thread

user44

Member
Mar 20, 2014
24
1
> adb shell "dd if=/dev/block/mmcblk0p22 of=/sdcard/Boot.img"

using the above command i cannot get the kernel, the message i get is this: /dev/block/mmcblk0p22: cannot open for read: no such file or directory

tried using the same command on android terminal on the phone, still get similar message that the directory doesn't exist.
command used on terminal:
> su
> dd if=/dev/block/mmcblk0p22 of=/sdcard/Boot.img

any idea how to get the kernel? if you know please help. thanks


device:
- Xperia P LT22i
- Rooted with Locked Bootloader
- Stock Jelly Bean 4.1.2 ROM and Kernel
 

ChikeD

Senior Member
Jun 11, 2013
1,624
464
> adb shell "dd if=/dev/block/mmcblk0p22 of=/sdcard/Boot.img"

using the above command i cannot get the kernel, the message i get is this: /dev/block/mmcblk0p22: cannot open for read: no such file or directory

tried using the same command on android terminal on the phone, still get similar message that the directory doesn't exist.
command used on terminal:
> su
> dd /dev/block/mmcblk0p22 of=/sdcard/Boot.img

any idea how to get the kernel? if you know please help. thanks


device:
- Xperia P LT22i
- Rooted with Locked Bootloader
- Stock Jelly Bean 4.1.2 ROM and Kernel

where did you get =/dev/block/mmcblk0p22 from? There is no such partition.
Kernel is at /dev/block/mmcblk0p9