Giter Site home page Giter Site logo

Comments (2)

reardenlife avatar reardenlife commented on August 29, 2024

Took me awhile to figure it out, but it appears to be completed. Build was produced on Ubuntu 18.04 Server.

Hey, it would be nice to update the documentation to specify all the tools required for a successful build.

sudo apt -y install git gcc curl make repo xmllint flex m4
sudo apt -y install openjdk-8-jdk lib32stdc++6 libelf-dev
export branch=pie-x86
mkdir android-x86
cd android-x86
repo init -u git://git.osdn.net/gitroot/android-x86/manifest -b $branch
repo sync --no-tags --no-clone-bundle
apt install repo -y
source build/envsetup.sh
lunch android_x86_64-userdebug
sudo apt install python-pip libyaml-dev
sudo pip install prettytable Mako pyaml dateutils --upgrade
sudo apt install git fakeroot build-essential ncurses-dev xz-utils libssl-dev bc
apt install gettext
export LC_ALL=C
apt install zip
apt install vim
apt install curl
apt install mtools -y
command -v mmd
command -v mcopy
command -v mdel
apt install genisoimage
apt install syslinux
apt install syslinux-utils
vi build/buildspec.mk
#TARGET_PRODUCT := android_x90_64
#TARGET_BUILD_VARIANT := userdebug
#TARGET_BUILD_TYPE := release
#TARGET_KERNEL_CONFIG := android-x86_64_defconfig
make -j6 iso_img 2>&1 | tee build.log
updatedb
locate --regexp .iso$
cp out/target/product/x86_64/android_x86_64.iso /tmp
ll /tmp
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=9
TARGET_PRODUCT=android_x86_64
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=x86_64
TARGET_ARCH_VARIANT=x86_64
TARGET_2ND_ARCH=x86
TARGET_2ND_ARCH_VARIANT=x86_64
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.15.0-58-generic-x86_64-Ubuntu-18.04.3-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=PQ2A.190305.002
OUT_DIR=out
============================================
ninja: no work to do.
ninja: no work to do.
No need to regenerate ninja file
No need to regenerate ninja file
ninja: no work to do.

�[0;32m#### build completed successfully (22 seconds) ####�[00m

... it was r34 I believe.

It took about 6 hours to build on 6 processors about 3GHz each with 16GB RAM. About 250GB required.

from android-x86.github.io.

reardenlife avatar reardenlife commented on August 29, 2024

Doesn't work with qemu. Sad.
"There is an internal problem with your device. Contact your manufacturer for details."

from android-x86.github.io.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.