Project:Android/tarball

Overview
This guide covers the installation of Gentoo RAP on Android devices by using a precompiled stage3 tarball.

Prepare for the RAP Directory
Gentoo RAP hardcodes the directory prefix (also known as EPREFIX) at build time in many places, most notably the interpreter field of ELF and config files of portage. The precompiled stage3 tarball points its EPREFIX to /data/gentoo. A minimum of 500MB is required, although a free space of 2GB is recommended.

/data/gentoo can be located either in internal flash (often mounted as ext3 at /data) or in external SD card. root previledge is usually required either to make a new directory in /data or to mount an ext4 partition at /data/gentoo. To prepare the partitions on the SD card, follow the instructions on SDCard.

The Stage3 Tarball

 * 1) Download the zip archive.
 * 2) Extract the zip into /data.

If you don't know how to extract zip archive, it is recommended to use the Ghost Commander.

Start Gentoo RAP
Open a terminal emulater, and type /data/gentoo/startprefix.

If you don't know a terminal emulator yet, it is recommended to use the Android Terminal Emulator

Beyond
Congratulations! Now you have a full functional Gentoo on your favorite Android device. As long as you are familiar with Gentoo, you can unleash its power immediately. If not, the sections of Working with Gentoo and Working with Portage of the Gentoo Handbook are your good starting points.