maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   [Android] Eclair NITDroid (WIP) (https://talk.maemo.org/showthread.php?t=35112)

dj_steve 2010-03-03 17:48

Re: [Android] Eclair NITDroid (WIP)
 
Quote:

Originally Posted by mrdally204 (Post 554383)
dj_steve you are the coolest

would'nt go that far yet lol i havent managed to boot my kernel yet am abut to start comparing configs

mrdally204 2010-03-04 20:07

Re: [Android] Eclair NITDroid (WIP)
 
Bump!

If anyone is interested in helping, whether its documentation, coding, testing ect.. please head over to the new site Helmy created. Your help is welcomed and appreciated!

http://nitdroid.co.nr/

dj_steve 2010-03-04 20:43

Re: [Android] Eclair NITDroid (WIP)
 
Http://nitdroid.com should work too now

Apoc 2010-03-04 22:19

Re: [Android] Eclair NITDroid (WIP)
 
Already bookmarked ^_^

dj_steve 2010-03-04 22:21

Re: [Android] Eclair NITDroid (WIP)
 
:) good good, now anyone onm here know if solca left any details on his kernel source >

mrdally204 2010-03-04 22:57

Re: [Android] Eclair NITDroid (WIP)
 
I'm sure you have seen this but I figured I would post any ways.
http://code.google.com/p/nitdroid/

At the bottom of the link below he has precompiled and patch sources.
http://guug.org/nit/nitdroid/

Hope something helps ;)

dj_steve 2010-03-04 23:06

Re: [Android] Eclair NITDroid (WIP)
 
yep those dont tell me alot as i still cant see the kernel issue ill have a loosie at the omap patch though as im basing off the linux-omap kernel

bdogg64 2010-03-04 23:13

Re: [Android] Eclair NITDroid (WIP)
 
2 Attachment(s)
Quote:

Originally Posted by dj_steve (Post 556155)
:) good good, now anyone onm here know if solca left any details on his kernel source >

He did post his kernel and android patches online. Thats what I modified and used to get android working on the n900. Here are my patches against the kernel and android to get it booting. I also included folder from the android build details I used. Here is a quick and dirty.

You need to have bootmenu installed, and a file in your /etc/bootmenu.d/ called android.ext.item which contains

Code:

ITEM_NAME="Android (external SD, partition 3)"
ITEM_ID="android3"                       
ITEM_DEVICE="${EXT_CARD}p3"                                                 
ITEM_MODULES="mbcache jbd ext3 fat vfat"
ITEM_FSTYPE="ext3"                                           
ITEM_FSOPTIONS="noatime"

In the android-patches.tar.gz there are 2 files
n900_kernel.patch - you need to install maemo sdk and download the kernel source. After you patch the kernel, you can do a make ARCH=arm rx51_android_defconfig. You can compile using the scratchbox compiler (e.g. make ARCH=arm CROSS_COMPILE=/scratchbox/compilers/cs2007q3-glibc2.5-arm7/bin/arm-none-linux-gnueabi- -j4 zImage)

android_gralloc.patch - this allows android to boot past the android text console because of the "page flipping is not supported" issue. I couldn't find a patch to double the yres_virtual in the framebuffer driver, so this is a workaround which I believe is similiar to what bri3d did about the pmem stuff. Place this file in the root directory of your android source and patch it (e.g. patch -p1 <./android_gralloc.patch

In android-vendor.tar.gz there is one folder
bdogg64 - extract this folder to your android source/vendor directory. Feel free to rename it :). After you do that, you should be able to build the android source (e.g. make TARGET_PRODUCT=n900)

You will also need a static build of busybox.

You will need a vfat partition on the first partition of your microsd card if you want android to mount it.

Copy your android build to the sd card, extract the busybox folder into the /system/bin/ directory.

After you copy everything to your partition on your microsd, you will need a couple of additional links.
1. /sbin/init which points to /init
2. /usr/sbin/chroot which links to /system/bin/busybox/sbin/chroot
3. /dev/console (e.g. mknod dev/console c 5 1)

These instructions are for the n900, so I suppose you are using the n8x0, you will skip the kernel patching and just build the source and modify the wifi section.

I will try to guide anyone through issues if I can. I will edit this post to clear up any confusion also :D

dj_steve 2010-03-04 23:17

Re: [Android] Eclair NITDroid (WIP)
 
ill have a looksie at those patches tomorrow as im finished playing with my vmware vm for tonight

mrdally204 2010-03-04 23:18

Re: [Android] Eclair NITDroid (WIP)
 
bdogg64,
great info, thanks for it. When you clean it up as you see fit, would you mind posting it on the NITdroid discussion area please.


All times are GMT. The time now is 16:00.

vBulletin® Version 3.8.8