2024-04-24 16:43:22 +08:00
2023-12-19 15:30:30 +08:00
2023-12-19 15:30:30 +08:00
2023-12-19 15:30:30 +08:00
2023-12-19 15:30:30 +08:00
2023-12-18 18:31:06 +08:00
2023-12-19 15:30:30 +08:00
2023-12-18 18:31:06 +08:00
2023-12-19 15:30:30 +08:00
2023-12-19 15:30:30 +08:00
2023-12-19 15:30:30 +08:00
2023-12-29 10:01:41 +08:00
2023-12-18 19:25:28 +08:00
2023-12-18 19:25:28 +08:00
2024-04-24 16:43:22 +08:00
2023-12-19 15:30:30 +08:00
2023-12-19 15:30:30 +08:00
2023-12-19 15:30:30 +08:00
2023-12-19 15:30:30 +08:00
2023-12-29 13:47:14 +08:00
2023-12-19 15:30:30 +08:00
2023-12-19 15:30:30 +08:00
2023-12-19 15:30:30 +08:00
2024-01-25 21:19:01 +08:00
2023-12-18 18:31:06 +08:00
2023-12-18 18:31:06 +08:00
2023-12-18 18:31:06 +08:00
2023-12-18 18:31:06 +08:00
2024-01-22 10:15:31 +08:00
2023-12-18 18:31:06 +08:00

BPI-H618-Android12


Prepare

Get the docker image from Sinovoip Docker Hub , Build the android source with this docker environment.

Other environment requirements, please refer to google Android's official build environment requirements and set up guide


Get source code

$ git clone https://github.com/BPI-SINOVOIP/BPI-H618-Android12

Because github limit 100MB size for single file, please download the oversize files and merge them to correct directory before build.

Another way is get the source code tar archive from BaiduPan(pincode: 8888) or GoogleDrive


Build

Build longan

$ cd longan

# create buildconfig for m4berry build
$ ./build.sh autoconfig -i h618 -o android -n default -a arm64 -k linux-5.4 -b m4berry

# or create buildconfig for m4zero build
# ./build.sh autoconfig -i h618 -o android -n default -a arm64 -k linux-5.4 -b m4zero

$ ./build.sh

Build Android

$ cd ..
$ source build/envsetup.sh

# set variable to true for box image build, false for normal image build
$ export BOARD_BUILD_BOX=false

# build android for m4berry
$ lunch bananapi_m4berry-userdebug

# or build android for m4zero
$ lunch bananapi_m4zero-userdebug

$ make -j20
$ pack

Flash

The target download image is in longan/out/ dir, flash it to your device by Allwinner PhoenixSuit. Please refer to Bananapi M4Berry wiki for how to flash the android image.

Description
No description provided
Readme 20 GiB
Languages
C 35.4%
C++ 31.4%
Java 16.9%
Python 6.8%
Go 2.7%
Other 6.1%