Related
--- copied with permission from nathanpfry.com ---
---If you would prefer a Builduntu install disc, click here to check out this post for an ISO---
BuilduntuVM is a custom branch of the Ubuntu operating system for compiling Android ROMs from source. It includes everything you need to sync with the repo of your choice (Cyanogenmod, AOSP, etc) and start building.
Features:
- Xubuntu 16.04 base
- Installed all necessary software for compiling (list available in the guide link above)
- Unnecessary programs removed (media players, games etc.)
- Geany for editing code
- Repo located in ~/bin and added to PATH
- Quick access drop-down terminal (Ctrl-F12)
All you have to do is download the source!
The only requirement is that your host machine supports a 64 bit OS. 32 bit systems will not work!
Instructions:
1. Download and install VirtualBox for your host system from here.
2. Download the latest builduntu zip archive and extract builduntu.ova to your hard drive.
3. Start VB, click File > Import Appliance. Select "Open Appliance" and choose builduntu.ova, then click Next to import the virtual machine.
4. Highlight builduntu in VirtualBox Manager and open Settings. Under "System" you will want to give it more RAM and Processor Cores. The higher these values are, the faster you will compile ROMs.
5. Start the machine, pull up a terminal and initialize a git repo. Once the source is finished downloading, you're ready to go!
Download:
Click here for mirrors!
Username/Password: android/android
Feel free to donate to the new hardware fund (donate) if you like my work. It would be greatly appreciated!
Please hit the "Thanks" button if this post helps you out!
Code:
[U][B]Changelog:[/B][/U]
v1 - Initial Release Dec 26, 2013
v1.0.1 - Released Jan 03, 2014
.. Added swap space
.. Increased dynamic drive max to 100 GB
.. Installed latest VirtualBox Guest Additions
.. Updated
.. Optimized
v1.1 - Jan 16, 2014
.. Updated and repackaged OVA file for VMWare
v1.2 - Feb 04, 2014
.. System updated
.. Packaged Manifest for data integrity verification
.. FINAL 13.10 edition (future releases will be based on 14.04)
v1.3 - Feb 08, 2014
.. Revised version numbering because I felt like it
.. Rebuilt with Ubuntu 14.04 base system
.. Increased swap space to 4 gb
.. Increased max disk size to 500 GB
v1.3.1 - Mar 02, 2014
.. Rebuilt from scratch using the latest Xubuntu 14.04 Beta 1 release
.. Testing semi-automated environment script
.. Began torrent distribution
v1.3.2 - Mar 20, 2014
.. Rebuilt from scratch again with new Builduntu Install Disc
.. It's just plain better
v1.4 - Apr 20, 2014
.. Rebuilt using Xubuntu 14.04 LTS Official Release base (via Builduntu Install Disc)
.. Added Guake drop-down terminal for more efficient command line, check it out!
.. HD space reduced to 250 GB dynamically allocated (was anyone ever getting close to 500 before?)
.. Shared folders should be working now (you can build in a directory on your host system, add the folder via Settings in VirtualBox)
v1.5 - Dec 27, 2014
.. Xubuntu 14.10 base
.. Installed ccache
.. JDK7 for Android L builds
v1.6 - Jul 17, 2015
.. Xubuntu Core 15.04 base
.. Switch to LVM
.. Reduced OVA size (almost 1 GB smaller!)
.. Removed Guake in favor of xterm drop-down. Ctrl-F12 for the terminal hotkey
.. Cleaned up package list
v2.0 - Apr 29, 2016
.. Rebase to Xubuntu 16.04 with Builduntu ISO v2
.. Transition to OpenJDK 8 for Android M builds
Thanks, downloading it...
Wow! Thank you very much! Will try soon! :good:
Sent from my HTC One using XDA Premium 4 mobile app
Giving it a shot
Been oddly having trouble setting up my environment. Your previous post got me further then any other instructions. I'll give this a shot and see if it resolves my problem. Thanks in advance!
So far its working great! Thanks again! :good: :good:
I am on vmware fusion on Mac OSX 10.9.1, can I install your pre configured ubuntu on it?
Edited:
Oracle seems better in this circumstance anyhow. I was able to optimize ram and cpu settings but how to increase virtual drive. Its a PCIe SSD 1TB. I wanted to increase the VM up to 150GB. I did not see any easy way of doing it?
EDITED:
Figured out with some googling and using the cloneHD and ModifyHD tools built into virtual box and using terminal commands. I was able to resize the VWMK. The real tricky part is once that is done you have to resize in Linux because its still 60GB again google search found an easy way using gparted and modifying the /etc/fstab!!
Edited again:
I think the swap file was really set too low. I made it 16GB which is recommend by the source.android site. I know this helped a lot because it was lagging until I changed it.
Hi
Is it ok to export appliance using virtual box and import it from vmware?
Cos i use vmware workstation 10
Jaskaran498 said:
Hi
Is it ok to export appliance using virtual box and import it from vmware?
Cos i use vmware workstation 10
Click to expand...
Click to collapse
You can load it up perfectly fine in vmware :good: did that myself as I prefer vmware myself ^^
Sent from my HTC One using XDA Premium 4 mobile app
not working for me.
that's what i get when i try to import in VMware.
c4cyro said:
not working for me.
that's what i get when i try to import in VMware.
Click to expand...
Click to collapse
I imported the download into VMware workstation with no problems. I didn't try exporting from virtual box nor with VM player although the player should work the same as workstation.. Maybe try importing the original download without messing with virtual box?
Sent from my HTC One using XDA Premium 4 mobile app
i downloaded and just imported into vmware nothing else.
did not work. using the same file on virtual box works okay.
Hmm idk then, like I said, using VMware Workstation 10 I had NO problems importing and running it
Sent from my HTC One using XDA Premium 4 mobile app
Thanks a lot for providing Builduntu, saves alot of trouble
i was wondering..
how much free space do i need to have to get the compiling done? i mean...how much is recommended?
Nice one, thanks!
I think this needs to get a sticky!
Uzayr said:
Thanks a lot for providing Builduntu, saves alot of trouble
i was wondering..
how much free space do i need to have to get the compiling done? i mean...how much is recommended?
Click to expand...
Click to collapse
i also want to know same thing
mor_1228 said:
i also want to know same thing
Click to expand...
Click to collapse
All said and done you're looking at 40-50 Gb.
It's 10 or so for the repo source of your choice and device trees (AOKP, CM, etc.) then the build process itself takes another 30ish. You can "make clobber" in between builds to free up that 30 gig, but any time you compile a ROM it's going to need that space again.
By the way - the virtual hard drive on the VM is dynamically allocated, so it will only expand out the space as it is required. However, it won't "shrink" back down again, even after you delete the files.
sylentprofet said:
All said and done you're looking at 40-50 Gb.
It's 10 or so for the repo source of your choice and device trees (AOKP, CM, etc.) then the build process itself takes another 30ish. You can "make clobber" in between builds to free up that 30 gig, but any time you compile a ROM it's going to need that space again.
By the way - the virtual hard drive on the VM is dynamically allocated, so it will only expand out the space as it is required. However, it won't "shrink" back down again, even after you delete the files.
Click to expand...
Click to collapse
i have one till this step now what to do ?
1. Download and install VirtualBox for your host system from here.
2. Download the latest builduntu zip archive and extract builduntu.ova to your hard drive.
3. Start VB, click File > Import Appliance. Select "Open Appliance" and choose builduntu.ova, then click Next to import the virtual machine.
4. Highlight builduntu in VirtualBox Manager and open Settings. Under "System" you may want to give it more RAM and Processor Cores. The higher these values are, the faster you will compile ROMs.
5. Start the machine, pull up a terminal and initialize a git repo. Once the source is finished downloading, you're ready to go!
now how to get psx rom latest build ? can make tutorial to add or remove or merge features of different roms into 1 ? :highfive:
sylentprofet said:
All said and done you're looking at 40-50 Gb.
It's 10 or so for the repo source of your choice and device trees (AOKP, CM, etc.) then the build process itself takes another 30ish. You can "make clobber" in between builds to free up that 30 gig, but any time you compile a ROM it's going to need that space again.
By the way - the virtual hard drive on the VM is dynamically allocated, so it will only expand out the space as it is required. However, it won't "shrink" back down again, even after you delete the files.
Click to expand...
Click to collapse
i tried the 2.0 build with virtual box. i get to choose whether i need to start ubuntu normally or in recovery..and after i make my choice i'm stuck in a black screen....nothing happens
i'm going to try 2.1 and give it another shot.
When I open terminal and enter su to grant root permission and enter password android, it says Authentication Failure
what is the password in that instance? how do i get root permission?
jblazea50 said:
When I open terminal and enter su to grant root permission and enter password android, it says Authentication Failure
what is the password in that instance? how do i get root permission?
Click to expand...
Click to collapse
yeah su doesnt work but sudo command work well with password android.
i tried to change password but system hang
--- copied with permission from nathanpfry.com ---
Architekt is a custom Virtual Machine that can be used with Mac OSX, Windows, and Linux. It includes everything you need to sync with the repo of your choice (Cyanogenmod, AOKP, AOSP, etc) and start compiling Android ROMs. This version includes Java 6 for compiling Gingerbread thru Kitkat. To compile Android L, switch to OpenJDK7.
Features:
- Latest Arch system
- XFCE Desktop Environment
- All necessary packages for compiling
- No junk (games, etc)
- Geany for editing code
All you have to do is download the source!
The only requirement is that your host machine supports a 64 bit OS. 32 bit systems will not work!
Instructions:
1. Download and install VirtualBox for your host system from here.
2. Download the latest architekt zip archive and extract architekt.ova to your hard drive.
3. Start VB, click File > Import Appliance. Select "Open Appliance" and choose architekt.ova, then click Next to import the virtual machine.
4. Highlight architekt in VirtualBox Manager and open Settings. Under "System" you will want to give it more RAM and Processor Cores. The higher these values are, the faster you will compile ROMs.
5. Start the machine, pull up a terminal and initialize a git repo. Once the source is finished downloading, you're ready to go!
Download:
Click here for download mirrors
Username/Password: android/android
Feel free to buy me a Zico coconut water (donate) if you like my work. It would be greatly appreciated!
Please hit the "Thanks" button if this post helps you out!
please can you help me how to change java version jdk6 to jdk7 using command?I've tried command that used in ubuntu but Those command are not working in this virtual machine. Also there is no app to extract file and can't edit xml file
Røbin said:
please can you help me how to change java version jdk6 to jdk7 using command?I've tried command that used in ubuntu but Those command are not working in this virtual machine. Also there is no app to extract file and can't edit xml file
Click to expand...
Click to collapse
You might want to try BuilduntuVM instead.
Architekt is getting pretty dated, and I don't have any time or plans to update it. BuilduntuVM received a lot more attention and is up to date with the latest versions of OpenJDK etc. for compiling Android M.
sylentprofet said:
You might want to try BuilduntuVM instead.
Architekt is getting pretty dated, and I don't have any time or plans to update it. BuilduntuVM received a lot more attention and is up to date with the latest versions of OpenJDK etc. for compiling Android M.
Click to expand...
Click to collapse
Thank you
In short, the xpad module that is used in the official builds of Android-x86 do not work with my xbox one controller. This is frustrating especially when emulators on pc that run android do not deliver the same levels of performance when compared to running android on physical hardware.
What I need someone to do is to compile the android-x86 iso with the following patch to the xpad module;
https: // github .com /cgutman /xpad (Remove Spaces) Essentially, replace the current xpad.c with the one found in that github repository.
I have tested this module under linux ubuntu 15.04 a while back, and it worked with my controller.
I cannot compile this myself because of limited hard drive space and very limited bandwidth. The android-x86 repo is something like 10gb according to their website.
And again if someone could compile this and upload the iso for me to download somewhere, I would be extremely appreciative.
Thanks.
Hello Friends~!
I decided to write out a step by step guide to install WSL - Windows Subsystem for Linux, with an Ubuntu Distro, and integrated GUI using Xserver. As well as how to update WSL to WSL2.
Spoiler: GUIDE
Begin by Enabling the Virtual Machine Platform Windows Feature and WSL. (simply search feature and it will popup)
Spoiler: PIC
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Open Powershell as Admin, then paste:
Code:
wsl --install -d Ubuntu
Spoiler: PIC
Set a Username and Password when prompted, then paste:
Code:
sudo apt update
Close Ubuntu
Download and install the WSL Kernel update from Microsoft
https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi
To Upgrade our WSL to WSL 2, Open Powershell as Admin and paste:
Code:
wsl --set-version Ubuntu 2
wsl --update
wsl --shutdown
Spoiler: PIC
Download X Server
VcXsrv Windows X Server
Download VcXsrv Windows X Server for free. Windows X-server based on the xorg git sources (like xming or cygwin's xwin), but compiled with Visual C++ 2012 Express Edition. Source code can also be compiled with VS2008, VS2008 Express Edition and VS2010 Express Edition, although current project...
sourceforge.net
Change X Server's desktop shortcut Target property to:
"C:\Program Files\VcXsrv\vcxsrv.exe" :0 -ac -terminate -lesspointer -multiwindow -clipboard -wgl -dpi auto
Spoiler: PIC
Run the shortcut
Open Powershell as Admin and paste:
Code:
netstat -abno|findstr 6000
Spoiler: PIC
Open Ubuntu and Paste:
Code:
sudo apt-get install terminator -y
Then Paste:
Code:
DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2}'):0 terminator &
This will open the Terminator app allowing us to have GUI for our Apps we install.
This next step sets up a system and script that will allow us to easily run Terminator, IE the GUI for Ubuntu.
Open Run, paste:
Code:
shell:startup
Paste the shortcut in this folder
Spoiler: PIC
Create a new text document on your desktop, name it what you like. Mine will be terminator.
Open the text document and add this code:
Code:
args = "-c" & " -l " & """DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2}'):0 terminator"""
WScript.CreateObject("Shell.Application").ShellExecute "bash", args, "", "open", 0
Save and change the filetype to .vbs
I used the command sudo apt install nautilus, then sudo nautilus to run the file explorer app, it loaded a window successfully~!
If you learn better seeing it done first, here is a video of the steps
Spoiler: REFS
Using WSL 2 with X-Server — Linux on Windows
What is WSL 2
medium.com
Run Linux GUI apps with WSL
Learn how WSL support running Linux GUI apps.
docs.microsoft.com
Install Ubuntu on WSL2 and get started with graphical applications | Ubuntu
Ubuntu is an open source software operating system that runs from the desktop, to the cloud, to all your internet connected things.
ubuntu.com
Spoiler: PREMADE UBUNTU VIRTUAL MACHINE
I made a vmware machine with ubuntu preinstalled, jdk, python and other needed components to run certain Android Kitchens, as I found WSL to be Lacking for what I need..
VMWARE 17
UBUNTU PREMADE VMWARE MACHINE:
Ubuntu.zip (3.5G)
PASSWORD IS 0110
How to install:
Extract the folder and save it anywhere you like (the default vm area for vmware is in Documents\VirtualMachines)
In vmware, select open a new machine, navigate to where you saved your ubuntu folder and open the .vmx file
If you want a premade Virtual Box Ubuntu Machine
SUPERR'S KITCHEN
Super Guide write up! Kudos
I've made a short video guide for any other nerds out there looking for a working method to unpack Android 11 system images. It involves the use of the PREMADE UBUNTU VM, located in the OP, and SuperR's Kitchen. (Or make your own linux machine~!)
I have updated the prebuilt Ubuntu machine listed in the OP. I will leave the original link in the OP as the file size is smaller, the only sacrifice with that edition is your time in updating.
If you value your time and would like a machine with jdk, python, adb and fastboot preinstalled and working, here is the updated copy:
Ubuntu.zip
drive.google.com
Ubuntu.zip (5.4G)
My Nvidia Shield posted to the VM immediately after running adb connect 192.168.0.5:5555 no fastboot drivers needed unlike windows. Adb pull commands work better in linux as well, as the windows file system is a little wonky and it wants to treat some items that are files on linux as folders in windows, which is obviously bad..
The linux machine was able to run 10-12 pull requests at once without bogging down the adb shell to the shield, allowing me to research and explore while pulling.... where as 2 pull requests at once in windows will cause a noticeable lag within the adb shell
To Use:
And you are all set~!
0110 = PASSWORD
Hello I wanted to share something I found too funny and made a mirror of it. If you haven't seen it already, deep on the interwebz lies the most Spooky of Spooky Linux distro...
That of, Miss Hannah Montana Herself~!
Here is a mirror of this silly piece of history, linking it here cause idk what else to do with it and I want to remember where I put it XD
hannahmontanalinux.iso
drive.google.com
Original links
hannahmontana.sourceforge.net
Hannah Montana Linux - ArchiveOS
Web site: hannahmontana.sourceforge.net/ Origin: Category: Desktop Desktop environment: KDE Architecture: x86 Based on: Ubuntu Wikipedia: Media: Live CD The last version | Released: 2 | June 30, 2009 Hannah Montana Linux - a live Linux distribution based on Kubuntu with a Hannah Montana...
archiveos.org
Was able to run it in VMWARE without any troubles. Just too funny I can't even
This is a work in progress for another thread I am going to eventually create. This is in regards to known android x86_64 working images in vmware, as well as forks for that OS and Forks of Chrome OS. None of these are perfect but are still awesome in their own ways, and their nuances will be explained at a later date in the thread I will create
Spoiler: android box premades and knowledge backup
DOWNLOADS
ANBOX BUILT ON UBUNTU: Is super difficult to install this year idk why. I installed it last year no problem. Will be relooked into later
ANDROID X86_64:
Android9.zip
drive.google.com
BLISS OS:
BlissOS.zip
drive.google.com
CHROME OS:
ChromeOS.zip
drive.google.com
FLINT OS:
FlintOS.zip
drive.google.com
FYDE OS:
FydeOS.zip
drive.google.com
PRIME OS:
PrimeOS-Classic.zip
drive.google.com
REFERENCES FOR KNOWLEDGE
ANBOX BUILT ON UBUNTU:
Anbox - Android in a box
anbox/README.md at master · anbox/anbox
Anbox is a container-based approach to boot a full Android system on a regular GNU/Linux system - anbox/README.md at master · anbox/anbox
github.com
ANDROID OS:
Android-x86
Android-x86: Free software download for windows, linux.
www.fosshub.com
BLISS OS:
Bliss OS For PC
Open Source OS for PC's, based on AOSP
blissos.org
FLINT OS:
Flint OS - ArchiveOS
Web site: flintos.io Origin: United Kingdom Category: Desktop Desktop environment: Chromium Architecture: ARM, x86_64 Based on: Chromium OS Wikipedia: Media: Live IMG The last version | Released: 1.3 | September 30, 2017 Zobacz po polsku: Flint OS Flint OS - a fast, simple and productive...
archiveos.org
FYDE OS:
FydeOS - Your lightning-fast, rock-solid and always-ready OS
FydeOS offers a choice for regular PCs to behave like Chromebooks with alternative supporting services, on-premise or in the cloud, with or without Google. More choices, greater possibilities.
fydeos.io
GOOGLE CHROME OS -CLOUDREADY:
How to Install Chrome OS Flex on VMware [Guide]
Want to try out the brand new Chrome OS Flex on your PC? Here is a step by step guide on how to install it onto a Virtual Machine.
www.ytechb.com
PRIME OS:
Download | PrimeOS
Download the PrimeOS ISO image or exe installer for Windows from here and install/live-boot on your PC. Choose the ISO according to your PC hardware age.
www.primeos.in
PrimeOS Virtual Machine Images for VMware and VirtualBox
www.osboxes.org
HOW TO INSTALL CHROME OS TO USB:
Chromebook Recovery Utility
Create recovery media for your Chromebook.
chrome.google.com
How to Download and Install Chrome OS
The Chrome operating system (OS) is reserved only for Chromebook users, but now, you can install Chromium OS on other devices because it's the open-source version of Chrome OS. It's a little different than Chrome OS but
www.alphr.com
Quick Start Guide
HOW TO FIX YOUR USB IF THE RECOVERY TOOL BREAKS IT INTO 13 SEPARATE PARTITIONS...
Using Diskpart to re-partition a USB stick
Some USB keys have been found to have various partition table set-ups that the USB software will not work with. You can use Windows Diskpart to re-format a USB key and re-partition it. Open a Command Window (cmd) Enter disk...
tabernusupport.freshdesk.com
HOW TO INSTALL ANDROID IN VMWARE:
How to Install Android on VMware: A Step-by-Step Guide
The advantages of using an Android VMware VM include the possibility of creating snapshots and cloning a VM during the development or testing process.
www.nakivo.com
HOW TO BOOT OFF OF USB IN VMWARE:
HOW TO EDIT SCREEN RESOLUTION:
How to Change the Screen Resolution + DPI on Android x86
Everybody knows that lowering your screen resolution reduces the strain on your graphic card and stuff on your screen becomes larger, but there’s no obvious way to change it in Android x86, is ther…
helpahoy.tech.blog
VMWARE TOOLS DIRECT DOWNLOAD LINK:
https://customerconnect.vmware.com/downloads/details?downloadGroup=VMTOOLS10310&productId=742
vmtools.zip
drive.google.com
I found that the vmware workstation comes with vmware tools isos for all the distros, they are just not aptly named as such..
POSSIBLE VMWARE TOOLS FIX?
GitHub - vmware/open-vm-tools: Official repository of VMware open-vm-tools project
Official repository of VMware open-vm-tools project - GitHub - vmware/open-vm-tools: Official repository of VMware open-vm-tools project
github.com
https://kb.vmware.com/s/article/1018414
BUILD ANDROID FROM SOURCE
anbox/docs/build-android.md at master · anbox/anbox
Anbox is a container-based approach to boot a full Android system on a regular GNU/Linux system - anbox/docs/build-android.md at master · anbox/anbox
github.com
Source control tools | Android Open Source Project
source.android.com
I need help fixing vmware tools in the machine. I have gotten really close and can explain how if anyone is bored enough to try. I get hung up here ---THIS USES PRIMEOS
I think this may be the one to make me make a stack exchange account XD
A LINK WITH TONS OF PREBUILT BOXES TO PLAY WITH
OSBoxes - Virtual Machines for VirtualBox & VMware
Homepage of site that offers virtual machines (VDI & VMDK & VHD) for VirtualBox and VMware. Run VMs inside VirtualBox and VMware on any host.
www.osboxes.org
Here's a prebuilt Ubuntu Machine Similar to the one in the OP except it's for vbox
Spoiler: PREMADE VIRTUALBOX MACHINE
Ubuntu.zip (3.9G)
HOW TO INSTALL:
Hi,
You can run Debian Bullseye XFCE Linux desktop on any rooted Android 11 S905X4 based TV Box .
This runs as an application on top of Android. This mean that you will still have all your Android capabilities.
You can download a free distribution from volkspc.org.
Vasant
Can VolksPC create a common area in memory for data exchange with the android host, like termux or otherwise?
You can copy paste text between Android and Linux applications. Besides that files in the internal sdcard folder is accessible by both Linux and Android.
Our Linux desktop is now based on Debian Bookworm XFCE 4.18. We also provide a SDK so that users can build their own custom Debian Bookworm based image. More details at volkspc.org.