I am trying to follow these directions and I get stopped on the first step:
# cat /proc/mtd
/proc/mtd: No such file or directory
Help?
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It only takes a minute to sign up.
Sign up to join this communityI am trying to follow these directions and I get stopped on the first step:
# cat /proc/mtd
/proc/mtd: No such file or directory
Help?
That doesn't exist on your device. It doesn't on my Vibrant either, though I can get somewhat similar info via cat /proc/partitions
.
mount
shows me where /system
and /cache
are (etc) but nothing about boot and recovery.
Jun 28, 2012 at 15:20
Some (newer?) phones do not use /dev/mtd*
devices.
Instead, you must look for your device file in the /dev/block/platform/*/by-name
directory (*
is expanded to the usually single subdirectory below platform/
). While the exact name varies depending on the device, it should remain something meaningful (like boot
, or LNX
as an acronym for "Linux", etc.).
You should end-up with a path similar to /dev/block/platform/sdhci-tegra.3/by-name/LNX
that you will then be able to use to pull the boot.img
file (FYI I cover this more deeply in my answer to this other question).