Version 19 (modified by anonymous, 3 years ago)

--

The openAOS Android project (ArchDruid)

As no other open effort to bring Android 2.2 to gen7 (A5IT) exists to our knowledge we have decided to bundle the interested people and help them work together on this.

Please use this page to document overall progress and feel free to create new pages (preferably starting with 'Android…' so like AndroidFooBar )

List of people working on Android 2.2 :

  • Gr8K
  • Gaap
  • janis605
  • and many others subscribed to the openaos-android mailing list (see below!)
  • dm8tbr (moral support and general openAOS help)

online chat

On IRC we currently meet on the #openaos channel on Freenode (redirecting to #openpma). Details and WebChat see here:  http://www.openaos.org/chat

Mailing-list

There is now a mailing list you can subscribe to:

 http://www.openpma.org/cgi-bin/mailman/listinfo/openaos-android

How to set up the build environment

Put links to existing resources here, no need to reinvent the wheel.

How to download the Android source code and compile it succesfully

  1. Needed Applications

In order to build android we nedd some Apps, so type for:

-ubuntu 32bit:

sudo apt-get install git-core gnupg sun-java5-jdk flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl libncurses5-dev zlib1g-dev

-ubuntu 64bit:

sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev ia32-libs x11proto-core-dev libx11-dev lib32readline5-dev lib32z-dev

you will also need the Java 5 JDK (and if this entery in on the android site or not), we can't download from the ubuntu sources, so you go to java.sun.com/javase/downloads/5u22/jdk select the version you need and download it. After that you will be asked if you want the rpm.bin or the .bin file, and have to download the .bin file. After the Download open up a terminal and cd to the download directory and type chmod +x jdk-1_5_0_22-linux-[i586 or amd64].bin , after that you can extract the included files with . /jdk-1_5_0_22-linux[i586 or amd64].bin. later we will have to put the bin folder in there to the $PATH...

  1. Directory

We need a directory in which we can work, you can use whatever you want ( i this guide i used /usr/src/android ). So you (in ubuntu) : sudo mkdir /usr/src/android Now you would ever need to be the root to make changes, so simply type : sudo chown [username] /usr/src/android With this modifiction the owener of the directory is your username and you won't need root any more.

  1. Source Download

Now you have to create the source download tool, this one is normale in a /bin directory so in our case: /usr/src/android/bin (just "cd /usr/src/android" then "mkdir bin") to download the download tool type: curl  http://android.git.kernel.org/repo > /usr/src/android/bin/repo So now if we type "repo" there will be an errer which sais that there is no such command, to tix this you include the path to repo in your $PATH (this is a variable, which knows the cmd paths) to do this you simply type into the terminal: export PATH=/usr/src/android/bin:$PATH now the computer finds repo, to be sure make the test with: echo $PATH if the repo directory is in the terminal answer, everything is fine.

What to modify so it will boot on an A5IT

How to package it up and boot it on an A5IT

Currently the easiest way is to just put everything in an loop-mounted ext3 image. (Compare further the ArchDruid PoC image)

Later it would be wiser to put things directly into ubi0:system (NAND storage partition where usually the Archos Android cramfs files reside) as then access also on harddisk models will be a lot faster and performance in general will improve.

Links/Useful? References

 EiNSTeiN's Page about Gen6 Archos devices - Flashing Information, Other HOW-TOs. Especially some of the technical information also applies also to Gen7 devices. Flashing does not apply.