Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,728,832 Members 51,647 Now Online
XDA Developers Android and Mobile Development Forum

Android v4.0.1 ICS VirtualBox VM

Tip us?
 
gborn
Old
#31  
Junior Member
Thanks Meter 9
Posts: 19
Join Date: Nov 2011
Quote:
Originally Posted by Brut.all View Post
And what about the DPI and/or physical screen size? What I'm trying to do is to have development platform for Android apps. Emulator is definitely too slow and if I would be able to run ICS through VBox for different screen configurations, I would be able to use it instead of an emulator.
Maybe it helps to install the application “LCD Resolution” and changing “LCD Dencity” - I havn't tried yet, because till now I wasn't able to connect adb to my VM. If you managed to open adb shell, you should be able to install an .adb file.
 
Brut.all
Old
#32  
Recognized Developer
Thanks Meter 332
Posts: 1,467
Join Date: Jul 2009
Quote:
Originally Posted by gborn View Post
Maybe it helps to install the application “LCD Resolution” and changing “LCD Dencity”
Thanks for suggestion - I'll try this.

Quote:
Originally Posted by gborn View Post
I havn't tried yet, because till now I wasn't able to connect adb to my VM. If you managed to open adb shell, you should be able to install an .adb file.
Open VM settings, change networking to NAT and set port forwarding for TCP from SOMEPORT on a host to 5555 on a guest. Then run ICS, open terminal and run:

Code:
adb connect localhost:SOMEPORT
adb devices
You should be able to see your virtual ICS :)
G+ | apktool | Ingress broot mod | Brut Google Maps (dead)

If you like me you can buy me a droidburger!
The Following User Says Thank You to Brut.all For This Useful Post: [ Click to Expand ]
 
gborn
Old
(Last edited by gborn; 1st December 2011 at 11:40 AM.) Reason: adding text
#33  
Junior Member
Thanks Meter 9
Posts: 19
Join Date: Nov 2011
@Brut.all: Thanks for suggestion, but at least I was able to connect adb using VMware with bridged network - in Virtualbox portable I messed a lot till I was able to define port forwarding in a successful manner.

I have written a small 'how to' to mount a SD card and install .apk files, using adb here: http://www.borncity.com/blog/2011/12...vmlite-vmware/

Perhaps it will be helpful.

BTW: As far as VMLite developers informed me, they are working on guest additions for VMLite and also on automount for SD card. Installing guest addition with new video driver maybe enables to switch video modes/resolutions. The discussion may be found here: http://www.vmlite.com/index.php?opti...&limitstart=18
 
gborn
Old
(Last edited by gborn; 3rd December 2011 at 03:51 PM.)
#34  
Junior Member
Thanks Meter 9
Posts: 19
Join Date: Nov 2011
Default New Virtualbox build

For thouse experimenting with Virtualbox and ICS: There is a new ICS Build from VMLite as a .vdi file available. Now with automount for fake sd card, mouse integration (no mouse trapping) and shared folders working. Also the bug of the previous version, that the memory for apps installing runs low, is fixed. Further information at [1].

There has been also an installable x86 build for AMD Brazos platform at android-x86.org [2] - but this iso isn't bootable on other x86 machines.

1: http://www.borncity.com/blog/2011/12...andwich-build/
2: http://www.android-x86.org
 
unitechy
Old
#35  
Junior Member
Thanks Meter 1
Posts: 3
Join Date: Jan 2010
Quote:
Originally Posted by ciscogee View Post
I get a wrong kernel msg from booting up. Any ideas?

Sent from my SCH-I400 using xda premium
In settings>system>processor> enable PAE/NX
The Following User Says Thank You to unitechy For This Useful Post: [ Click to Expand ]
 
digitaljeff
Old
#36  
digitaljeff's Avatar
Senior Member
Thanks Meter 5
Posts: 377
Join Date: Sep 2009
Location: Vancouver
for those having troubles converting the vdi images to vmdk here ya go.... works fine in VMware player...dont thank me, thank the guy who did the guide on how to convert the images...


ICS vmdk
http://www.megaupload.com/?d=FZWH3G20

SD card vmdk
http://www.megaupload.com/?d=15TLJZ87
"What's a root? You mean like a carrot?"
 
gborn
Old
#37  
Junior Member
Thanks Meter 9
Posts: 19
Join Date: Nov 2011
Default new x86 builds

just like to mention, that android-x86 developers released developer builds for different Intel platforms. Beside the AMD Brazos build I mentioned above (and which won't work on my atom platfoms), I found an Asus iso that bootet on my MSI Wind U100. Guess, there will be many machines, that are able to boot with one of the builds. I wrote a short how to, that should everybody enablet to test ics riskless on x86 hardware.
 
eighty-four
Old
(Last edited by eighty-four; 11th December 2011 at 07:43 AM.)
#38  
Senior Member
Thanks Meter 32
Posts: 336
Join Date: Apr 2010
Location: Moscow
Quote:
Originally Posted by huisinro View Post
You can change this file, cmdline, inside (hd0,2)

init=/init qemu=1 console=ttyS0 console=tty0 vga=788 verbose androidboot.hardware=vbox_x86 androidboot.console=ttyS0 android.qemud=ttyS1

==>

init=/init qemu=1 console=ttyS0 console=tty0 vga=ask verbose androidboot.hardware=vbox_x86 androidboot.console=ttyS0 android.qemud=ttyS1
any idea how to use wide screen resolutions? there only 4:3 and 5:4 resolutions listed in modes


edit: nope, it works. missed it right at the end of list

change one of custom video modes or add a one if no such
<ExtraDataItem name="CustomVideoMode1" value="1280x800x16"/>
 
eighty-four
Old
#39  
Senior Member
Thanks Meter 32
Posts: 336
Join Date: Apr 2010
Location: Moscow
Android x86 released few more 4.0 images - eeepc, tegra2 etc.

eeepc installs on virtualbox. graphics works slightly, but noticeably faster. dhcp does not work automatically. eth0 can be set up manually, but some apps won't work with it like google account, google market, 4pda client, amazon appstore works, but annoys with no connect message

other noticed things - launcher do not crash while adding widgets, background can be set, terminal cursor constantly appears over graphics.
 
gapipro
Old
#40  
Member
Thanks Meter 12
Posts: 31
Join Date: May 2011
http://forum.frandroid.com/topic/890...-custom-build/

Here is a new 4.0 build that supports ethernet and works fast =)

Just awesome for developing ICS applications directly on PC.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes