Be sure to have you're device in recovery mode. Not in fastboot mode or hboot.
It's important that adb devices will list your device. Else adb can't do anything.
Try another USB port on you're pc, hopefully it's gonna load some drivers so adb can recognize you're device.
i have booted up in recovery. I sucessfully executed the fist 3 commands;
* adb push mkfs.ext4 /tmp
* adb shell
* chmod 777 /tmp/mkfs.ext4
but the 4th one generates an error saying;
chmod: invalid option -- O
BusyBox v1.21.1-jb bionic (2013-07-25 21:23 +0100) multi-call binary.
Usage: chmod [-R] MODE[,MODE]... FILE...
Last edited: