6

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?

ConsultUtah
  • 161
  • 1
  • 1
  • 3

2 Answers2

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.

Matthew Read
  • 50,567
  • 30
  • 145
  • 273
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).

WhiteWinterWolf
  • 919
  • 1
  • 11
  • 25