Skip to content

[EFIDroid] Getting Started

Michael Zimmermann edited this page Aug 9, 2016 · 19 revisions

To get started with EFIDroid, you'll need to get familiar with Git and Repo.

Installing dependencies

Ubuntu/Debian

apt-get install flex cmake bison zlib1g-dev autopoint autoconf libtool uuid-dev git-core build-essential zip curl gcc-multilib g++-multilib

Arch Linux

pacman -S iasl ruby base-devel xz cmake cpio git python2 gcc-multilib zlib zip curl

Downloading the Source

To initialize your local repository using the EFIDroid trees, use a command like this:

repo init -u git://github.com/efidroid/manifest.git -b master

Then to sync up:

repo sync

Building

Please see Build system for building instructions.

Ubuntu: libfl.so.2 error

error while loading shared libraries: /usr/lib/x86_64-linux-gnu/libfl.so.2: invalid ELF header

if you see this error in Ubuntu you need to do the following:

  • download this file: libfl.so.2
  • copy it to /usr/lib/x86_64-linux-gnu/libfl.so.2 and overwrite the existing file(you need root for that)