[Jan 06] Arch Linux (20171225-1) PINE A64(+) Pinebook A64-LTS/SOPINE | [Jan 04] Linux (0.5.15-136) ROCK64 | [Jan 04] Android (20171204) ROCK64 | [Dec 22] Stretch Mate (0.5.15-136-20171222) ROCK64 | [Dec 21] openHAB 2 (v1.4) PINE A64(+) | [Dec 11] Volumio (2.315) PINE A64(+) A64-LTS/SOPINE | [Dec 11] Armbian (5.35) PINE A64(+) Pinebook A64-LTS/SOPINE | [Dec 8] OpenMediaVault (0.5.15-136) ROCK64

Getting Started | Visit the WIKI | IRC Logs | Forum Rules/Policy


New procedure for building Android from source
#31
I have a question about The steps:
$ cd lichee
$ repo init -u https://gitlab.com/pine64-android/manifest.git -b master
$ repo sync

The lichee is Linux kernel right? But what I see is this step try to download all android repository.
It take a lot of space. Why we need to get android repository in Lichee folder?

Thank you!
Reply
#32
(02-06-2017, 10:49 AM)MikeGao Wrote: I have a question about The steps:
$ cd lichee
$ repo init -u https://gitlab.com/pine64-android/manifest.git -b master
$ repo sync

The lichee is Linux kernel right? But what I see is this step try to download all android repository.
It take a lot of space. Why we need to get android repository in Lichee folder?

Thank you!

You can do just the lichee steps and ignore the android build.
Reply
#33
That is for lichee steps which sync from gitlab not from github for android.
What is the different the repository from gitlab and github?
What is the sync url for Lichee only repository?
Thank you,
Reply
#34
(02-06-2017, 01:01 PM)MikeGao Wrote: That is for lichee steps which sync from gitlab not from github for android.
What is the different the repository from gitlab and github?
What is the sync url for Lichee only repository?
Thank you,

The Android 5 source is split between gitlab and github. The Android parts are on github and the lichee parts are at gitlab. 

The reason for this is that I initially uploaded everything to github and ran into their 100MB file limit. Some of the files in lichee are over 100MB so I put lichee part up on gitlab.

If I did it over again I would just put all of it on gitlab. I didn't know about the github 100MB file limit until after I had all of Android loaded onto github and then my lichee upload failed.
Reply
#35
(08-08-2016, 12:31 PM)jonsmirl Wrote: https://gitlab.com/pine64-android/manifest/wikis/home

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.
extract-bsp: command not found. Can you tell me why it is happening?
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  How to use UART under Android? AI_newsettler 0 31 01-18-2018, 01:13 PM
Last Post: AI_newsettler
  [PINE A64 2GB Kickstarter]How to boot android from external SSD v1n1c1uS 1 93 01-15-2018, 11:05 PM
Last Post: tllim
  Android 6.0 Tablet and TV (release candidate, maintained) ayufan 218 38,973 01-11-2018, 03:12 PM
Last Post: jebivetar
  Kickstarter edition wont boot to android bilbo6209 1 102 01-09-2018, 08:03 PM
Last Post: tllim
  Android 7.1 Tablet and TV (alpha, proposal) ayufan 45 11,040 01-05-2018, 09:40 PM
Last Post: tllim
  Android 7.1 (PINE A64(+)) pineadmin 49 9,796 01-02-2018, 02:15 AM
Last Post: dkryder
  2nd ethernet in PINE64 with android daniele 2 110 12-07-2017, 05:09 AM
Last Post: daniele
  Use Android as navigation system JulianM 9 680 12-06-2017, 03:19 PM
Last Post: JulianM
  Kodi on Android Mikiya 81 37,303 12-06-2017, 10:36 AM
Last Post: Wizardknight
  Android 6.0 How to turn the screen back on modsbyus 4 256 11-28-2017, 01:03 PM
Last Post: modsbyus

Forum Jump:


Users browsing this thread: 1 Guest(s)