You are here

cannot stat 'rageagainstthecage-arm5.bin': No such file or directory

Submitted by Druss on Sat, 2012-07-14 23:10

Today, I'm trying to root one of my Android phones in order to install Cyanogen Mod 7.2! First issue: while attempting to root the phone (a Motorola Defy running Android 2.2.2 Froyo), I ran into the following error message while following this guide:
C:\Users\foo>adb push rageagainstthecage-arm5.bin /data/local/tmp/
cannot stat 'rageagainstthecage-arm5.bin': No such file or directory

While I initially jumped to the conclusion that the issue was with the destination directory (wonder why in hindsight), I later remembered to actually read the bloody error message which essentially states that it cannot find/access the .bin file. It kind of makes sense as the file was being referenced without a path - all the precautions in the guide about installing these files in the same path might have perhaps thrown me off. In any event, the problem is the path in which these commands are being run.

In other words, if you are following the same guide, you will have to run this command from the following path like so:

C:\android-sdk-windows\platform-tools>adb push rageagainstthecage-arm5.bin /data/local/tmp/
337 KB/s (5392 bytes in 0.015s)

Please join me in a collective face-palm. Huzzah!