Skip to content

[EFIDroid] Getting Started

Harry Cheng edited this page Apr 22, 2017 · 19 revisions

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

Installing dependencies

Ubuntu/Debian

apt-get install acpica-tools autoconf autopoint bash bison build-essential bzip2 cmake diffutils file findutils flex git grep hostname perl python2.7 sed tar xz-utils uuid-dev zlib1g-dev zip curl libtool pkg-config gettext automake

Arch Linux

Add multilib to your pacman.conf and run

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

Then install flex-git from the AUR

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)