Difference between revisions of "SDK Download and Build"

From Lindenis Wiki
Jump to: navigation, search
(Linux host setup)
Line 7: Line 7:
 
* OS: Ubuntu 14.04 (tested) or higher
 
* OS: Ubuntu 14.04 (tested) or higher
 
* Network: internet connection
 
* Network: internet connection
 
== Downloading ==
 
 
The SDK is available on [https://github.com/lindenis-org github].
 
 
We use Repo manage Git repositories. Clone Repo from [https://android.googlesource.com/tools/repo android Git repositories] or other mirrors and install it.
 
 
For Lindenis V5, download the SDK via:
 
<pre>
 
$ repo init -u https://github.com/lindenis-org/manifest.git -b v5
 
$ repo sync
 
</pre>
 
The Download time depends on your network connection speed. After finish the download, you should get below directories:
 
<pre>
 
build  build.sh  debian  device  kernel  tools  u-boot
 
</pre>
 
 
Start a branch for local workspace:
 
<pre>
 
$ repo start v5 --all
 
</pre>
 
  
 
== Linux host setup ==
 
== Linux host setup ==
Line 50: Line 29:
 
<pre>james ALL=(ALL) NOPASSWD: ALL</pre>
 
<pre>james ALL=(ALL) NOPASSWD: ALL</pre>
 
Ctrl-X to leave, save your changes, and you're done!
 
Ctrl-X to leave, save your changes, and you're done!
 +
 +
== Downloading ==
 +
 +
The SDK is available on [https://github.com/lindenis-org github].
 +
 +
We use Repo manage Git repositories. Clone Repo from [https://android.googlesource.com/tools/repo android Git repositories] or other mirrors and install it.
 +
 +
For Lindenis V5, download the SDK via:
 +
<pre>
 +
$ repo init -u https://github.com/lindenis-org/manifest.git -b v5
 +
$ repo sync
 +
</pre>
 +
The Download time depends on your network connection speed. After finish the download, you should get below directories:
 +
<pre>
 +
build  build.sh  debian  device  kernel  tools  u-boot
 +
</pre>
 +
 +
Start a branch for local workspace:
 +
<pre>
 +
$ repo start v5 --all
 +
</pre>
  
 
== Building ==
 
== Building ==
  
 
== Installation ==
 
== Installation ==

Revision as of 06:26, 1 August 2018

System requirements

Listed below are the recommended requirements for downloading and building the SDK:

  • CPU: x86_64 or better family processor
  • Memory: 8GB or higher
  • Disk: 10GB free hard disk space
  • OS: Ubuntu 14.04 (tested) or higher
  • Network: internet connection

Linux host setup

Ubuntu 14.04

HINT: later version should also work.

Install qemu and debootstrap

$ sudo apt-get install qemu qemu-user-static debootstrap

Sudo without password

$ sudo visudo

Add this line at the end (change “james” to your username):

james ALL=(ALL) NOPASSWD: ALL

Ctrl-X to leave, save your changes, and you're done!

Downloading

The SDK is available on github.

We use Repo manage Git repositories. Clone Repo from android Git repositories or other mirrors and install it.

For Lindenis V5, download the SDK via:

$ repo init -u https://github.com/lindenis-org/manifest.git -b v5
$ repo sync

The Download time depends on your network connection speed. After finish the download, you should get below directories:

build  build.sh  debian  device  kernel  tools  u-boot

Start a branch for local workspace:

$ repo start v5 --all

Building

Installation