Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,730,580 Members 40,746 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
MrHassell
Old
(Last edited by MrHassell; 24th March 2011 at 12:49 PM.) Reason: xPerfect service release - hotfix 0.01 issued
#1  
Senior Member - OP
Thanks Meter 245
Posts: 389
Join Date: Dec 2010
Location: Melbourne

 
DONATE TO ME
Post [ISO] xPerfect virtual appliance - Android SDK r10 / NDK r5b - dev

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:	3160
Size:	39.1 KB
ID:	541798   Click image for larger version

Name:	Screenshot.jpg
Views:	15093
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, 720 views)
You like my work? Feel free to buy me a cool beer
The Following 25 Users Say Thank You to MrHassell For This Useful Post: [ Click to Expand ]
 
MrHassell
Old
#2  
Senior Member - OP
Thanks Meter 245
Posts: 389
Join Date: Dec 2010
Location: Melbourne

 
DONATE TO ME
Default 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!
You like my work? Feel free to buy me a cool beer
 
svtfmook
Old
#3  
Senior Member
Thanks Meter 230
Posts: 1,304
Join Date: Aug 2007

 
DONATE TO ME
Quote:
Originally Posted by MrHassell View Post
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.
 
xtrmshadow
Old
#4  
xtrmshadow's Avatar
Senior Member
Thanks Meter 90
Posts: 455
Join Date: Oct 2010
Location: Castellon , Spain
Quote:
Originally Posted by svtfmook View Post
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
Current Phone: Nexus 4 16GB 4.2.2 Paranoid 3.56 Halo + Franco Kernel R140
Current Tablet: Acer Iconia A500 10.1 Tegra 2 OC @ 1.8GHz - Jelly Bean 4.1.1 S.U'd
Last Phone: Sony NXT U - ICS 4.0.4 - S.U'd
Other Phones: Xperia X10 - Stock 2.3.3
 
PoTi_96
Old
(Last edited by PoTi_96; 14th March 2011 at 11:55 AM.)
#5  
PoTi_96's Avatar
Senior Member
Thanks Meter 36
Posts: 704
Join Date: Aug 2010
Location: Wels
Quote:
Originally Posted by xtrmshadow View Post
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
If you like someones post pls press the "THANKS" button

AND PLEASE USE THE SEARCH BUTTON BEFORE ASKING
 
hammer2k2
Old
#6  
hammer2k2's Avatar
Member
Thanks Meter 4
Posts: 53
Join Date: Sep 2010
nice, been looking for something like this
HTC Sensation Z710e
Samsung Galaxy S 2 I9100

Previous Android Phones:
HTC Desire HD, HTC Desire, Google Nexus S, Samsung Galaxy S i9000, SE Xperia X10i, Samsung Galaxy Spica
 
DooMLoRD
Old
#7  
DooMLoRD's Avatar
Recognized Developer
Thanks Meter 37961
Posts: 13,044
Join Date: Jul 2010
Location: Noida
Quote:
Originally Posted by MrHassell View Post
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'
 
Crowds
Old
#8  
Crowds's Avatar
Recognized Contributor
Thanks Meter 1999
Posts: 3,425
Join Date: Jun 2008
Location: Azeitão

 
DONATE TO ME
i`m sure this is my fault but...WTF ist that for?!
Follow me on
Follow me on

Bela Lugosi`s Dead Rom


If you want to donate HERE I promise that i will use your money wisely
 
jase81
Old
#9  
jase81's Avatar
Senior Member
Thanks Meter 10
Posts: 177
Join Date: Jul 2010

 
DONATE TO ME
Quote:
Originally Posted by rendeiro2005 View Post
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
 
Crowds
Old
#10  
Crowds's Avatar
Recognized Contributor
Thanks Meter 1999
Posts: 3,425
Join Date: Jun 2008
Location: Azeitão

 
DONATE TO ME
Quote:
Originally Posted by jase81 View Post
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?
Follow me on
Follow me on

Bela Lugosi`s Dead Rom


If you want to donate HERE I promise that i will use your money wisely

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

Advanced Search
Display Modes