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
  Android Things OS dqvsra 2 902 12-03-2019, 09:52 AM
Last Post: hangglider
  Is there another link for Android images? Maalth 3 171 10-10-2019, 07:57 AM
Last Post: tophneal
Question Android SDK Oreo NGC6691 2 353 07-15-2019, 08:29 PM
Last Post: dazza5000
  Putting Android 9 RockPro64 source into easier to manage repositories dazza5000 0 144 07-15-2019, 08:29 PM
Last Post: dazza5000
  Android 6.0 Tablet and TV (release candidate, maintained) ayufan 226 64,099 06-03-2019, 11:39 AM
Last Post: modsbyus
  Android 5.1.1 TV (old-stable, no longer maintained) ayufan 194 53,887 03-12-2019, 04:53 PM
Last Post: neosapien
  Issues with SD Card and Running Android Twistedx 0 264 02-26-2019, 11:58 AM
Last Post: Twistedx
  Android 7.1 (PINE A64(+)) pineadmin 59 27,098 02-10-2019, 07:44 PM
Last Post: mmmarcus
  +LTS/SOPINE Android SDK support and Customization biplab777 1 320 01-07-2019, 01:21 AM
Last Post: tllim
  WIFI on Android OS Berkut 2 547 10-08-2018, 09:59 PM
Last Post: Berkut

Forum Jump:


Users browsing this thread: 1 Guest(s)