Android manifest for GloDroid (AOSP for the world's most accessible development platforms)
Go to file
2023-12-17 15:15:08 +02:00
.ci CI: Move opi3 to standard build set 2022-10-23 16:54:18 +03:00
.docker Require ubuntu 22.04 2023-01-11 20:37:32 +02:00
.github Create FUNDING.yml 2022-03-31 14:39:18 +03:00
aosp.xml Bump AOSP to refs/tags/android-13.0.0_r11 2022-10-22 16:23:56 +03:00
default.xml Bump AOSP to Android 11.0.0 Release 3 2020-09-23 20:50:29 +03:00
glodroid.xml Prepare v0.8.2 pre-release 2023-01-13 11:36:27 +02:00
LICENSE Create LICENSE 2020-10-09 00:27:06 +03:00
README.md Add branch parameter to repo init cmd in README.md 2023-12-17 15:15:08 +02:00

Manifest for GloDroid

Free and opensource AOSP based Android for the world's most accessible development platforms.

This version is based on Android 13.0.0 Release 11.

Supported devices:

Rockchip platform:

  • PinephonePro (U-Boot only, Tow-Boot unsupported)

SUNXI platform:

  • Orange PI Plus 2E (temporary unsupported)
  • Orange PI PC (temporary unsupported)
  • Orange PI PC Plus (temporary unsupported)
  • Orange PI 3
  • Pinephone
  • Pinetab (temporary unsupported)

Broadcom platform:

  • Raspberry PI 4b

Fetching Android sources

  • Installing 'repo' tool:
sudo apt-get install -y python-is-python3 wget
wget -P ~/bin http://commondatastorage.googleapis.com/git-repo-downloads/repo
chmod a+x ~/bin/repo
  • Cloning the GloDroid
mkdir -p GloDroid
cd GloDroid
repo init -u https://github.com/glodroid/glodroid_manifest -b master -g all,-darwin
repo sync -cq

You should install additional packages in order to build GloDroid

(Ubuntu 22.04 LTS is only supported. Building on other distributions can be done using docker)

sudo apt-get install -y git-core gnupg flex bison build-essential zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z1-dev libgl1-mesa-dev libxml2-utils xsltproc unzip fontconfig

  • Install additional packages
sudo apt-get install -y swig libssl-dev flex bison device-tree-compiler mtools git gettext libncurses5 libgmp-dev libmpc-dev cpio rsync dosfstools kmod gdisk lz4 meson cmake libglib2.0-dev

  • Install additional packages (for building mesa3d, libcamera and other meson-based components)
sudo apt-get install -y python3-pip pkg-config python3-dev ninja-build
sudo pip3 install mako jinja2 ply pyyaml

Building GloDroid

cd GloDroid
source ./build/envsetup.sh
lunch
# After that you have to select your device from the list
make images

Deploying GloDroid

After successful build you should see images.tar.gz in product output folder: (out/target/product/<name>/images.tar.gz)

Content of archive:

  • Utilities: adb, fastboot. mke2fs
  • Partition images: bootloader-sd.img, bootloader-emmc.img, env.img, boot.img, boot_dtbo.img, super.img
  • Recovery GPT image: deploy-gpt.img
  • Recovery sdcard images: deploy-sd.img, deploy-sd-for-emmc.img
  • Scripts: flash-sd.sh, flash-emmc.sh

Step 1

Using any available iso-to-usb utility prepare recovery SDCARD.
In case you want to flash Android on sdcard, use deploy-sd.img
In case you want to flash Android on eMMC, use deploy-sd-for.emmc.img

Step 2

Insert recovery sdcard into the target board.
Connect microusb cable to OTG connector and your PC.
Power-up the board.

Step 3

Ensure you have installed adb package: $ sudo apt install adb (required to setup udev rules)
Run ./flash-sd.sh utility for flashing Android to sdcard or ./flash-emmc.sh for flashing Android to eMMC

After several minutes flashing should complete and Android should boot

NOTE: Monitor has to be connected to the board and powered-up during flashing!

You can find GloDroid community discord chat here.

Licensed under the Apache-2.0.