[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)

Memory full
Started by ktorp
Last post by okeefe.vincenza
55 minutes ago
Last post by dianna.dibbert
1 hour ago
Last post by eino98
1 hour ago
Last post by ernser.elise
2 hours ago
Last post by aliza72
2 hours ago
Last post by mathew.west
3 hours ago
Last post by junius47
26 minutes ago
video editor
Started by ariel83
Last post by hettinger.ardith
2 hours ago
What can i do?
Started by qgrimes
Last post by vincenza.bergstrom
18 minutes ago