I recently installed Ubuntu 13.04 on my PC and i decided it's time to make a custom rom for my phone (MIUI V5 in this case) I used the instructions from the patchrom developer guide from the MIUI Porting contest running till 31 October 2013. Every time after entering a series of commands including adb reboot recovery(which means my device is enabled in ADB) and it's working. But when i come to the part when i have to enter (tools folder directory)/ota_target_from_phone -r i get an error that the command is not found. Can someone tell me what's the problem. I have the latest versions of Android SDK, and Android Kitchen on my pc. I still don't know what causes this problem.
See this image and please see what's the problem
Now the command works but I get another error It say's device not found. About the previous error: I wasn't entering the directory right
uname -a
,file (tools folder directory)/ota_target_from_phone
andstat (tools folder directory)/ota_target_from_phone
.