5

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?

2 Answers 2

3

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.

2
  • Any idea how I figure out which ones are the boot and recovery images? Jun 28, 2012 at 13:16
  • 1
    @TestPlanManagement.com Not sure. The output of mount shows me where /system and /cache are (etc) but nothing about boot and recovery. Jun 28, 2012 at 15:20
2

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).

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .