Parted binary
Hi badge2033
Thank you for writing this post, I found it very helpful. It was exactly was I was looking for.
Nevertheless, I have run into a problem while trying to execute the parted instruction (parted /dev/block/mmcblock0). My phone does not have a parted binary, and so I cannot execute that instruction. This is what I have tried to solve it:
I searched for a binary in the parted website and I downloaded the .gz for the last version. It consists of a big folder with a lof of files and subdirectories, but it does not have a file called parted or something like that, that would indicate which file is the actual binary.
Also, I thought of running the parted command from my computer (Ubuntu 14.04 64 bits) and passing it to the phone though adb, but I have not figured out how to do that. All I have achieved is running a root shell from Ubuntu, but when calling parted, it would search in the PATH of the mobile phone, and not Ubuntu (which has the binary). I tried copying the binary from Ubuntu to Android, but when executing it in Android, it would return an error "cannot execute binary file".
I have got stuck at this step. My question is: is there anyway to find a binary in the internet that is compatible with Android or passing the parted command located in Ubuntu to Android?
Thank you again
Hi badge2033
Thank you for writing this post, I found it very helpful. It was exactly was I was looking for.
Nevertheless, I have run into a problem while trying to execute the parted instruction (parted /dev/block/mmcblock0). My phone does not have a parted binary, and so I cannot execute that instruction. This is what I have tried to solve it:
I searched for a binary in the parted website and I downloaded the .gz for the last version. It consists of a big folder with a lof of files and subdirectories, but it does not have a file called parted or something like that, that would indicate which file is the actual binary.
Also, I thought of running the parted command from my computer (Ubuntu 14.04 64 bits) and passing it to the phone though adb, but I have not figured out how to do that. All I have achieved is running a root shell from Ubuntu, but when calling parted, it would search in the PATH of the mobile phone, and not Ubuntu (which has the binary). I tried copying the binary from Ubuntu to Android, but when executing it in Android, it would return an error "cannot execute binary file".
I have got stuck at this step. My question is: is there anyway to find a binary in the internet that is compatible with Android or passing the parted command located in Ubuntu to Android?
Thank you again