Code Monkey home page Code Monkey logo

android_device_halium_halium_arm64's Introduction

Device configuration for generic Halium 10 systemimage

This repository is used to build a generic systemimage for Halium-compatible operating systems.

Building

This is a "device tree", and as such it can be built by loosely following the instructions at docs.halium.org; please see that page for a list of build dependencies and more explicative informations on each of the build steps.

Assuming that you have all the build dependencies and the repo tool, you should run the following commands:

# Get all the needed repositories for a Halium-based build
repo init -u https://github.com/Halium/android -b halium-10.0 --depth=1

A copy of this very repository will be created in device/halium/halium_arm64/; if you are interested in trying out a modification or branch, apply your changes in the repo located in that directory before proceeding:

# Get the required repositories for this specific build
./halium/devices/setup halium_arm64

# Apply Halium patches to the Android source tree
hybris-patches/apply-patches.sh --mb

# Setup the build environment
source build/envsetup.sh && breakfast halium_arm64

# Build the raw system image
mka rawsystemimage

After some time (depending on the machine you build on), the output will be in out/target/product/halium_arm64/android-rootfs.img.

You can replace the android-rootfs.img via ssh:

# Transfer android-rootfs.img to the device
scp out/target/product/halium_arm64/android-rootfs.img [email protected]:/tmp/android-rootfs.img

# Update android-rootfs.img
ssh [email protected] "sudo mount -o rw,remount /"
ssh [email protected] "sudo mv -v /tmp/android-rootfs.img /var/lib/lxc/android/android-rootfs.img"

# Reboot the system to use the new android-rootfs.img
ssh [email protected] "sudo systemctl reboot"

android_device_halium_halium_arm64's People

Contributors

amartinz avatar danct12 avatar erfanoabdi avatar flohack74 avatar mardy avatar notkit avatar rubencarneiro 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.