Post Reply

[ISO] xPerfect virtual appliance - Android SDK r10 / NDK r5b - dev

OP MrHassell

14th March 2011, 01:26 AM   |  #1  
OP Senior Member
Flag Melbourne
Thanks Meter: 245
 
391 posts
Join Date:Joined: Dec 2010
Donate to Me
More
xPerfect provides a full Android development environment in the form of a virtual machine and is free for anyone to download and use as required for building and developing Android sources, kernels, drivers, diff patches or anything else.

Built using Virtual Box and Ubuntu 10.10 x64. Latest sources and builds for Froyo and beyond require this 64bit environment and as a result I've made available this as a virtual machine for the xda community or anyone interested in Android development to use as they wish

This is a work in progress and is in initial release 0.1. I'm uploading this as a public torrent due to the size being 8.6GB - TAR.GZ - I'd like to invite everyone (with adequate bandwidth) to share your thoughts, idea's and suggestions for inclusion or addition and in any way to improve or perhaps remove!

HOT FIX UPDATE 0.01
xPerfect patch 0.01

fixes: sets udev filesystem - adb vendor id to sony ericsson ( 0fce )
fixes: updated ARM environment variables.
fixes: cleans apttitude and schedtool.
fixes: recheck package dependancies.
fixes: fixes libc build error in make.
fixes: missing docs directory CM7 make
fixes: returns all permissions to xperia
fixes: updates Cyanogen - repo sync.
Option to repo sync if the latest cyanogen sources are required.
Include latest Google Apps for Gingerbread
Option to fix /etc/hosts block adverts and spam - someonewhocares.org

This shell script is executed in a terminal within xPerfect. You may adapt this script to suit any Linux operating system, however it is specifically designed for the user account 'xperia' and is written with the currently distributed architecture of xPerfect without being modified.

Download xPerfect service release hotfix 0.01

Instructions: Download to xPerfect and unzip the shell script. Launch a terminal and issue the following commands;

1: Extract to ~/Documents (anywhere you like)
xperia@xperia-devBox:~/Documents$ unzip xPerfect.update.env.01.sh.zip
2: Make executable
xperia@xperia-devBox:~/Documents$ chmod 755 xPerfect.update.env.01.sh
3: Execute script as root
xperia@xperia-devBox:~/Documents$ sudo ./xPerfect.update.env.01.sh

NOTICE: This targets the xPerfect Kitchen and Sony Ericsson devices.

THANKS Ubuntu Linux, Oracle / Sun Microsystems, Eclipse, Motorola, Sony Ericson,
Android open source project (AOSP), QtADB, XDA Developer forums,
Cyanogen Mod, Zdzihu, Jerpelea, Bin4ry, Goroh_Kun, marylandcookie
ChangeLog Initial release
NEWS Build andconfiguration complete. Provides a stable environment
for android application and firmware (rom) development.
INSTALL Latest Virtual Box - http://www.virtualbox.org/

EDIT: 23-03-2011
Added myUbuntu as it is a sensational utility developed by Joseph Maillardet. myUbuntu can easily assist with tuning your installation, adding codecs, themes, fonts, and instantly providing a crisp interface better suited to programming and developers needs

INTERFACE UPDATE: http://www.perso.iut-nimes.fr/jmaillardet/myUbuntu/


About myUbuntu:
"myUbuntu is a script of post-installation with who you can record text files that describe all the modification you want to apply to a Ubuntu distribution freshly installed. After the text files written, execute the script on all target system and select between the options you have created the interesting elements for each one. Since the 10.04 release, myUbuntu have been totally re-written in ruby."

Copyright and licensing - Apache Open source licence respective licences contained within image MUST remain intact.

BUGS Known issues and instructions here at the original thread

PROVIDES:

Ubuntu 10.10 x64
Sun Java 6 JDK Hotspot JVM
Android SDK r10 Linux
Android NDK r5b Linux
Qt ADB - Phone explorer
Motoroloa - MotoDevStudio (eclipse ide)
Environment variables exported
Required libs & packages pre-installed and compiled


BACKGROUND:

Too much time spent messing with environments, rebuilding this and that, time and again..
It became clear a virtual machine for compiling Android sources and building applications
might be useful for anyone with the same motivations and interests. Unable to find a live-cd
or 'kitchen' for cooking roms, I decided to build my own and release it to share with other
developers and hope to find comments and suggestions for future improvments and to serve as
a way to find the perfect development environment, ready to work with and save time that is
better used creating methods, cutting code and flaming in forums (joke Mr Clown.. chill!

INSTRUCTIONS:

Download and install Virtual Box, extract the package to a folder and import as desired.
Due to the size of the disc image this is the essential files and environment only. Many of
the 'add-ons' such as AVD devices, samples and other files have been excluded to maintain as
small download size as possible. Easily add the required files back in by directly downloading
or using the aptitude package manager: apt-get

1: Start Virtualbox
2: Inside the Virtualbox Menu click: File > Import Appliance (Ctrl+I)
3: Click the “Choose” button.
4: Locate and select the OVF file from where you extracted the files.
5: Click Open.
6: Verify your xPerfect settings are correct.
7: Make any changes to the device such as memory etc..
8: Verify the disk size.
9: Click Import

Disc space has been restricted to minimum for downloading. To increase disc size you can use
the following command within Linux after importing the virtual appliance.

cd ~/.VirtualBox/HardDisks
VBoxManage clonehd xPerfect.vdi yourName.vdi

For Windows users running Virtual Box the same syntax would be done with the MS-DOS command

Start > Run > type CMD (enter)

cd c:\program files\

In the format or application syntax of;
<application> <command> <source> <target>

Sun VirtualBox Command Line Management Interface
(C) 2005-2010 Sun Microsystems, Inc.
All rights reserved.

Usage:

VBoxManage clonehd <uuid>|<filename> <outputfile>
[--format VDI|VMDK|VHD|RAW|<other>]
[--variant Standard,Fixed,Split2G,Stream,ESX]
[--type normal|writethrough|immutable]
[--remember] [--existing]

This command duplicates the appliance and creates a new UUID for the appliance, removing a
issue with id duplication and virtual drives sharing the same properties, already registered in Virtual Box.

When creating the new Virtual machine / appliance, allocate any desired disc space such as
40GB - 60GB or any number you feel comfortable with, just ensure you have enough disc space!

VBox 4.0+ supports resizing of VDIs.
This appliance was made with Virtual Box 3.1.6

VMWARE:

Anyone running VMware should download the VMware Open Virtualization Format (OVF) Tool.

http://www.vmware.com/downloads/down...p=OVF-TOOL-1-0


WHY VIRTUAL BOX?

VirtualBox is a powerful x86 / AMD64 / Intel64 virtualization product for enterprise and
free home use. It's a feature rich, high performance product for enterprise customers and
is the only professional solution freely available as Open Source Software under the terms
of the GNU General Public License (GPL).

http://www.virtualbox.org/wiki/Changelog

Thank you to everyone who made this possible and for any questions, credits, requests, suggestions or you just feel like saying thank's! contact me private message

Update: 100% complete and uploading to public trackers now. Thanks to Qt ADB for authority to include the phone browser, Cyanogen for latest Gingerbread branch and everyone who has contributed to the numerous packages included.


Thank you to rendeiro2005 who pointed out a few other "kitchen" alternatives available, which will help with development and may be better suited to your individual needs and requirements.

MoDaCo Online Kitchen

dsixda's HTC Android Kitchen

Goon droid Online Kitchen

sztupy Android Compiler VM

Video showing most of the steps taken in the creation of this virtual machine / virtual appliance

Torrent seeded -two peers - Demonoid public tracker:

http://goo.gl/w0yqg
Attached Thumbnails
Click image for larger version

Name:	xPerfect.inst2.jpg
Views:	3162
Size:	39.1 KB
ID:	541798   Click image for larger version

Name:	Screenshot.jpg
Views:	15171
Size:	60.9 KB
ID:	542895  
Attached Files
File Type: zip xPerfect.torrent.zip - [Click for QR Code] (88.1 KB, 591 views)
File Type: zip xPerfect.update.env.01.sh.zip - [Click for QR Code] (2.3 KB, 721 views)
Last edited by MrHassell; 24th March 2011 at 12:49 PM. Reason: xPerfect service release - hotfix 0.01 issued
The Following 25 Users Say Thank You to MrHassell For This Useful Post: [ View ]
14th March 2011, 01:36 AM   |  #2  
OP Senior Member
Flag Melbourne
Thanks Meter: 245
 
391 posts
Join Date:Joined: Dec 2010
Donate to Me
More
64Bit Exclusive
Already the question has been asking about building this for 32bit platforms;

Quote:

Can you some how post a 32 bit version as well

Froyo+ requires a 64bit environment for build. 32bit is not supported when building Android sources past 2.1 so although it is possible, it's not directly supported or possible without modifying lot's of lib's etc.. so it will be 64bit only as per the requirements for building AOSP Sources beyond Éclair.

If anyone has created or worked on fixing make to work with 32bit PM me and we can include this if you wish!
14th March 2011, 02:21 AM   |  #3  
Senior Member
Thanks Meter: 237
 
1,341 posts
Join Date:Joined: Aug 2007
Donate to Me
More
Quote:
Originally Posted by MrHassell

Already the question has been asking about building this for 32bit platforms;



Froyo+ requires a 64bit environment for build. 32bit is not supported when building Android sources past 2.1 so although it is possible, it's not directly supported or possible without modifying lot's of lib's etc.. so it will be 64bit only as per the requirements for building AOSP Sources beyond Éclair.

If anyone has created or worked on fixing make to work with 32bit PM me and we can include this if you wish!

easy solution, if your cpu supports 64bit (which is hard to imagine that anyone would still be running a machine that does not support 64bit), set up a dual boot. normal 32bit OS on one end, this on the other.
14th March 2011, 10:41 AM   |  #4  
xtrmshadow's Avatar
Senior Member
Flag Castellon , Spain
Thanks Meter: 90
 
455 posts
Join Date:Joined: Oct 2010
More
Quote:
Originally Posted by svtfmook

easy solution, if your cpu supports 64bit (which is hard to imagine that anyone would still be running a machine that does not support 64bit), set up a dual boot. normal 32bit OS on one end, this on the other.

99.9% of the CPU's of today have 64bit support,but lets not forget,to use 64bit you need at least 1.5Gb of RAM (Recommended 2+ or even 3+),
And maybe 45% of today's computers have 1.5+ Gb of RAM.
Most of us here have 4Gb+ thats for sure but there are people who dont so,thats gonna be a bit complicated.

Respect
14th March 2011, 11:53 AM   |  #5  
PoTi_96's Avatar
Senior Member
Flag Wels
Thanks Meter: 36
 
704 posts
Join Date:Joined: Aug 2010
More
Quote:
Originally Posted by xtrmshadow

And maybe 45% of today's computers have 1.5+ Gb of RAM.
Most of us here have 4Gb+ thats for sure but there are people who dont so,thats gonna be a bit complicated.

Respect

Rlly? Woow
Yea i have also got 4Gb+ (8)
I think those 32bit ppl will change fast ^^
~~~~~~~
Gr8 work dude, this will be great!

Sent from my X10i using XDA App
Last edited by PoTi_96; 14th March 2011 at 11:55 AM.
14th March 2011, 12:55 PM   |  #6  
hammer2k2's Avatar
Member
Thanks Meter: 4
 
53 posts
Join Date:Joined: Sep 2010
nice, been looking for something like this
14th March 2011, 02:38 PM   |  #7  
DooMLoRD's Avatar
Recognized Developer
Flag Noida
Thanks Meter: 38,813
 
13,113 posts
Join Date:Joined: Jul 2010
Quote:
Originally Posted by MrHassell

Already the question has been asking about building this for 32bit platforms;



Froyo+ requires a 64bit environment for build. 32bit is not supported when building Android sources past 2.1 so although it is possible, it's not directly supported or possible without modifying lot's of lib's etc.. so it will be 64bit only as per the requirements for building AOSP Sources beyond Éclair.

If anyone has created or worked on fixing make to work with 32bit PM me and we can include this if you wish!


if i remember correctly VirtualBox/VMware support 64bit OS even if host OS is 32bit.. just that the processor should have 64bit support...

yup virtualbox supports it: http://www.virtualbox.org/wiki/Changelog

for those who are not sure if they have 32-bit or 64-bit processor... atleast for windows there is a great tool: CPU-Z... just check for EM64T under supported 'Instructions'
14th March 2011, 10:00 PM   |  #8  
Crowds's Avatar
Recognized Contributor
Flag Azeitão
Thanks Meter: 2,044
 
3,539 posts
Join Date:Joined: Jun 2008
Donate to Me
More
i`m sure this is my fault but...WTF ist that for?!
14th March 2011, 10:19 PM   |  #9  
jase81's Avatar
Senior Member
Thanks Meter: 10
 
177 posts
Join Date:Joined: Jul 2010
Donate to Me
More
Quote:
Originally Posted by rendeiro2005

i`m sure this is my fault but...WTF ist that for?!

lol this is a set up so you can learn/build your own android from sources
14th March 2011, 10:22 PM   |  #10  
Crowds's Avatar
Recognized Contributor
Flag Azeitão
Thanks Meter: 2,044
 
3,539 posts
Join Date:Joined: Jun 2008
Donate to Me
More
Quote:
Originally Posted by jase81

lol this is a set up so you can learn/build your own android from sources

that`s what i thought but...i mean, why this if we had kitchen?
what the advantage? pros/cons?
or the objective of these is to create/push source like any other app on ubuntu?

Post Reply Subscribe to Thread

Tags
android sdk, android source, development platform, live-cd, ubuntu x64
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes