Success with AndroVM

 Just as i was about to leave i was asked to complete my work.That work was actually this compilation , might sound similar to what my previous post was but trust me it wasn't.
Okay bear with me,As i am gonna write this blog like a story and gonna tell the compilation process as i during it.
In the beginning it was all so well and kept my fingers crossed while the source was downloading using the repo tool.
NOTE:
The step till lunch command you can follow as mentioned in my previous blog , but what changes is the way the "make" is done.

The android build is accustomed so that it will result in few needed images (.img).But as i went through the blog of the guy who discussed about it said the AndroVM has a dependency ie:openGL which emulator won't be able to fulfill.
So something struck me while i was building it that something other than emulator is required, then i came across the AndroVM player.
So the question i asked was - Is it required in order to play that images???
Well the answer was blowing in the air :-) --- No , Actually AndroVM player loads the VM list using the VBoxManage command on the background , so that meant i need some Virtual disk files and what i eventually got was only a raw img files after building the andro vm source code and only the emulator knew how to load and run them.

#VBoxManage
This command comes bundled along with the virtual box.This command is used to list the VM's in the virtual box created using the vdi , vmdk ,vhd files.If you want to see how it works install the virtual box using the
"sudo apt-get install virtual-box"
and then after that
"VBoxManage list vms"

But lets not talk more about the Virtual box more.Lets get back to where we left off.
The Virtual disk files were the VDI's (Virtual Disk Image),but now the question was how to generate them using the make command.I was new to the make environment so was not so sure how to generate a VDI file.After days of searching i found a command to actually make a VDI.

Here's a command which you can use instead of "make ful-eng" as in my previous blog.

make android_disk_vdi

sounds obvious but was tuff to find it.Now i had Virtual box and vdi and so full of excitement made a step towards the final step of running the vdi's.So attached the vdi's to the VirtualBox and that's it .And now started the AndroVm player it showed me my built files in virtual box.Just press yes and it will run.
So basically i was missing the "make android_disk_vdi".
Oracle-VM-VirtualBox-Manager_002.png (1065×710)
The above image shows how to attach vdi to the storage menu from settings of a image.


NOTE : 
Now AndroVM code anymore on the repository so you all can pull the code from the branch named 
genymotion_4.1.1_r6.1

So thats it for now , watch out for my next blog in which ill tell you about what to do with it after that like the IMEI,MAC and much more. 

Comments

  1. Would you send me a copy of androidvm source code if you still keep it?
    my email is : 2798371512@qq.com
    thanks.

    ReplyDelete
    Replies
    1. This comment has been removed by the author.

      Delete
    2. I have it on my hard disk , but due to limited data plan , uploading it will not be possible. Although i found this link which is hosting that code i suppose..

      https://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0ahUKEwjs6ZaH5qvKAhUPcI4KHUCtC_wQFggbMAA&url=https%3A%2F%2Fwww.openhub.net%2Fp%2FAndroVM&usg=AFQjCNGlrAIXf6gJSmSM5-sKTtOlfZq7pg&sig2=ZQZ-D3V_Ie6Q6Z8myGRYqg&bvm=bv.112064104,d.c2E

      Delete

Post a Comment

Popular posts from this blog

Digging deep inside the build

Another day of sheer gratefulness

What's lined up for Marshmallow ?