07-09-2017, 12:32 AM
(08-08-2016, 12:31 PM)jonsmirl Wrote: https://gitlab.com/pine64-android/manifest/wikis/homeextract-bsp: command not found. Can you tell me why it is happening?
This procedure is new so it may have issues. The key feature is that all of Android and lichee are in git. That means you can clone the repos (look in the manifest files), make changes, and then send pull requests. Then use 'repo sync' to get everyone's changes.
Anyone up for getting this working on the longsleep kernel so that we can get rid of lichee?
You need 100GB free disk space, it uses 96GB.
This takes around nine hours to run depending on network and CPU speeds.
$ mkdir ~/bin
$ PATH=~/bin:$PATH
Download the Repo tool and ensure that it is executable:
$ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
$ chmod a+x ~/bin/repo
$ mkdir android
$ cd android
$ repo init -u https://github.com/pine64-android/manifest.git -b master
$ repo sync
$ . ./build/envsetup.sh
$ lunch (tulip_chiphd-user, Baomi/db1000)
$ make -j 5
$ cd ..
$ mkdir lichee
$ cd lichee
$ repo init -u https://gitlab.com/pine64-android/manifest.git -b master
$ repo sync
$ ./build.sh config (choose '0' for all)
$ ./build.sh
$ cd brandy
$ ARCH=aarch64 ./build.sh
$ cd ../../android
$ extract-bsp
$ pack
image in:
../lichee/tools/pack/sun50iw1p1_android_Baomi-db1000_uart0.img
This makes a Phoenix card image.
Lot's of tools for installing here: lichee/tools/tools_win
To get a 'dd' image, install it to an SD Card. Boot it. Then use 'dd' to copy the image off from the SD Card.
Google Play login seems to be working in this build.
Also note that by adding items to the manifest apps like Kodi can be included in the build.