GithubHelp home page GithubHelp logo

doytsujin / glodroid_manifest Goto Github PK

View Code? Open in Web Editor NEW

This project forked from glodroid/glodroid_manifest

0.0 1.0 0.0 94 KB

Android manifest for GloDroid (AOSP for the world's most accessible development platforms)

License: Apache License 2.0

Dockerfile 100.00%

glodroid_manifest's Introduction

Manifest for GloDroid

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

This version is based on Android 11.0.0 Release 31.

Supported devices:

SUNXI platform:

  • Orange PI Plus 2 (Not tested)
  • Orange PI Plus 2E
  • Orange PI Prime (Not tested)
  • Orange PI PC
  • Orange PI PC 2 (Not tested)
  • Orange PI 3
  • Pinephone
  • Pinetab (Not tested)
  • Orange PI WIN (Not tested)

Broadcom platform:

  • Raspberry PI 4b

Not tested remark means that GloDroid team does not have real device to test before publishing release. We maintain them in buildable state and can accept requests to fix bugs, but reporter is responsible for testing

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
repo sync -cq

You should install additional packages in order to build GloDroid

(Ubuntu 20.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

  • Install additional packages (for building mesa3d and other meson-based components)
sudo apt-get install -y meson python3-pip pkg-config python3-dev
sudo pip3 install mako

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!

glodroid_manifest's People

Contributors

rsglobal avatar icenowy avatar julianbraha avatar romanmarchenko22 avatar

Watchers

 avatar

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.