[HELP] How to make a binary executable in Ubuntu


Please whosoever reads this post and has got a solution to this please reply as i need a solution desperatly.This is my third post of the same help and till now i have not got any help.Is this is what xda all about????

I am using a virtual box with Ubuntu 16.04 as guest and Windows 10 as host
I have downloaded the binaries such as simg2img img2simg,etc...But whenever i am using the command

sudo ./simg2img system.img sys.raw

i am getting the error

:/media/htc_desire$ sudo ./simg2img system.img sys.raw sudo: unable to execute ./simg2img: No such file or directory

I have also tried the command

sudo chmod +x simg2img

but still i am getting the same error.
Is there any other way to make the binaries executable and is there any other way to extract a raw image of out a spare image and then mount the raw image inorder to obtain the system folder so that i can access files and folders such as apks and jars.
Can anyone please help me how to use the binaries such as simg2img,img2simg,make_ext4fs,etc... relations to extracting a rom in Ubuntu 16.04. I have been trying to get the system folder out of the sparse image since a week but i a unable to do so.And i have a system.img file in the rom folder but i do not know weather its a sparse image or a raw image.So can anyone please tell me how to differentiate between a Sparse image and a Raw image so that i can extract it accordingly.

Show Accepted Answer

Guest Quick Reply (No URL, BBcode or HTML)

Last post by yyost
4 hours ago
Last post by roslyn27
1 hour ago
Last post by rogahn.annabelle
1 hour ago
Last post by sydnee60
1 hour ago