F-Unction / treble_experimentations

Notes about tinkering with Android Project Treble

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Community

How to build

  • clone this repository
  • call the build scripts from a separate directory

For example:

git clone https://github.com/phhusson/treble_experimentations
mkdir Lineage; cd Lineage
bash ../treble_experimentations/build-rom.sh android-8.1 lineage

More flexible build script

(this has been tested much less)

bash ../treble_experimentations/build-dakkar.sh rr
arm-aonly-gapps-su
arm64-ab-go-nosu

The script should provide a help message if you pass something it doesn't understand

Using Docker

clone this repository, then:

docker build -t treble docker/

docker container create --name treble treble

docker run -ti \
    -v $(pwd):/treble \
    -v $(pwd)/../treble_output:/treble_output \
    -w /treble_output \
    treble \
    /bin/bash /treble/build-dakkar.sh rr \
    arm-aonly-gapps-su \
    arm64-ab-go-nosu

Conventions for commit messages:

  • [UGLY] Please make this patch disappear as soon as possible
  • [master] tag means that the commit should be dropped in a future rebase
  • [device] tag means this change is device-specific workaround
  • ::device name:: will try to describe which devices are concerned by this change
  • [userfriendly] This commit is NOT used for hardware support, but to make the rom more user friendly

About

Notes about tinkering with Android Project Treble


Languages

Language:Smali 84.2%Language:Shell 14.5%Language:Python 1.0%Language:Dockerfile 0.2%Language:Java 0.1%