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)

bdogg64 2010-03-14 17:04

Re: [Android] Eclair NITDroid (WIP)
 
Sorry guys for the lack of updates. I don't have an N900 anymore as it was becoming impossible to use as a phone, so I had to part with it. I would have loved to keep it as a tinker box, but its a little too expensive for that for me.

Has anyone been able to boot the android 2.1 kernel and filesystem I posted for the N900?

azz 2010-03-14 19:57

Re: [Android] Eclair NITDroid (WIP)
 
sorry to hear that, bdogg....I feel your pain....hope you can get another one soon....

dj_steve 2010-03-14 21:39

Re: [Android] Eclair NITDroid (WIP)
 
sorry to here that bdogg, will be a sad loss to the team

twoboxen 2010-03-14 22:56

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

Originally Posted by bdogg64 (Post 566960)
Sorry guys for the lack of updates. I don't have an N900 anymore as it was becoming impossible to use as a phone, so I had to part with it. I would have loved to keep it as a tinker box, but its a little too expensive for that for me.

Has anyone been able to boot the android 2.1 kernel and filesystem I posted for the N900?

bdogg, you'll be missed.

Actually, yeah, I tried to boot it, but nothing ever happened when I selected the bootmenu option. Eventually it would just boot into the regular maemo installation.

Cpasjuste 2010-03-15 07:24

Re: [Android] Eclair NITDroid (WIP)
 
I did try to, but without the modules ( you didnt posted them i think ) i just get the nokia logo at startup and it hang there. I tried in R&D mode and non-R&D mode and it's the same problem. If i reflash the stock kernel i get the bootmenu prompt back. I'll compile a kernel today and see what happen.

Cpasjuste 2010-03-15 11:06

Re: [Android] Eclair NITDroid (WIP)
 
Some reports : the phone now successfully boot with the compiled (patched) kernel and modules, and i did replace the new tsc2005.ko with the backed up one, but touchscreen isnt working under maemo. I can't pass the pincode screen :x

For android, i do have a little "tsc2005.ko: module symbol disagree" or something like this, then i see the android logo then it poweroff itself. Is the vfat partiton really needed ? i try to boot android from mmcblk1p2 (ext3) and mmcblk1p1 is used for maemo (ext3).

Edit : w00t, it did boot android, i had to be in R&D mode to do so. Wifi isnt working tought, i get an "disagree about version symbol" too on it.

azz 2010-03-15 13:44

Re: [Android] Eclair NITDroid (WIP)
 
great job! Cpajuste...keep it up....:O

dj_steve 2010-03-15 13:54

Re: [Android] Eclair NITDroid (WIP)
 
Ok update: got kernel etc to boot on my n800 but have no display yet... related to framebufferso fixing that later. . Android itself boots as can hapily use adb

Cpasjuste 2010-03-15 14:27

Re: [Android] Eclair NITDroid (WIP)
 
If someone could offer/support an n900 to bdogg64 that would really help :)

andrewfblack 2010-03-15 14:33

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

Originally Posted by Cpasjuste (Post 567827)
If someone could offer/support an n900 to bdogg64 that would really help :)

Didn't he have one that he sold?

Cpasjuste 2010-03-15 14:43

Re: [Android] Eclair NITDroid (WIP)
 
Yep, but i can understand that it's a little expensive device for playing with ... so he sold it.

attila77 2010-03-15 15:39

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

Originally Posted by Cpasjuste (Post 567827)
If someone could offer/support an n900 to bdogg64 that would really help :)

As a minimum, he should add himself to this list, so it is apparent, that the interest is there, even if he's without a device at the moment:

https://wiki.maemo.org/Fremantle_Developer_Device_Queue

bdogg64 2010-03-15 17:29

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

Originally Posted by attila77 (Post 567926)
As a minimum, he should add himself to this list, so it is apparent, that the interest is there, even if he's without a device at the moment:

https://wiki.maemo.org/Fremantle_Developer_Device_Queue

Thanks for the link. I'll see if I can be added even though its not maemo development.

mingw 2010-03-16 02:37

Re: [Android] Eclair NITDroid (WIP)
 
It seems that you guys are looking for a patch to the omap2 dss driver for Android's double buffer feature. I worked on a gumstix overo platform recently, and got the eclair worked on android-omap-2.6.29 kernel. The patch has been listed on http://elinux.org/Android_on_OMAP wiki page. Hope it helps your N90o porting -:)

Best regards,
Ming

bdogg64 2010-03-16 02:47

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

Originally Posted by mingw (Post 568698)
It seems that you guys are looking for a patch to the omap2 dss driver for Android's double buffer feature. I worked on a gumstix overo platform recently, and got the eclair worked on android-omap-2.6.29 kernel. The patch has been listed on http://elinux.org/Android_on_OMAP wiki page. Hope it helps your N90o porting -:)

Best regards,
Ming

Nice! So simple it seems.

Cpasjuste 2010-03-16 10:32

Re: [Android] Eclair NITDroid (WIP)
 
bdogg64, did you successfully get a working dual boot env. ?

Here is what i get : Android working (except wlan, but i guess i have to replace the "/system/lib/modules/wl*" module with my compiled one on the android fs) but not maemo (reboot loop) :

- Compile the kernel with your kernel patch.
- Copy the compiled modules to the maemo partition (Not sure to understand that, the kernel load some modules from the maemo partition and some from the android one ?)
- Enable R&D

Else the strange thing is with my compiled kernel and modules, without applying the android patchs, all seems fine, but the phone reboot as soon as i try to scan for a wifi access point, and the partitions are strangly mounted ... well, i'll do more testing on that.

dj_steve 2010-03-16 14:12

Re: [Android] Eclair NITDroid (WIP)
 
ok even with patched files i am still getting a blank screen, im in progress downloading the donut source to see if that can be persuaded to boot then ill try and port eclair bits back to it (similar to how cyanogen is doing on the g1

bdogg64 2010-03-16 15:49

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

Originally Posted by Cpasjuste (Post 568935)
bdogg64, did you successfully get a working dual boot env. ?

Here is what i get : Android working (except wlan, but i guess i have to replace the "/system/lib/modules/wl*" module with my compiled one on the android fs) but not maemo (reboot loop) :

- Compile the kernel with your kernel patch.
- Copy the compiled modules to the maemo partition (Not sure to understand that, the kernel load some modules from the maemo partition and some from the android one ?)
- Enable R&D

Else the strange thing is with my compiled kernel and modules, without applying the android patchs, all seems fine, but the phone reboot as soon as i try to scan for a wifi access point, and the partitions are strangly mounted ... well, i'll do more testing on that.

Not completely. I was in the same spot you're in as far as the weird mounting but I hadn't worked through that yet. Basically you will have copies of the compiled android modules in two places. In android they will be in /system/lib/modules/. In Maemo they will be in /lib/modules/current/. They will be the same in both places with the exception of the touchscreen driver. I'll have to look through the patches again to find the issue with mounting. I could boot both systems but things like wifi weren't working on the maemo side yet. I was more focused on getting the android side working at the time.

You also have to disable the watchdogs to get out of the reboot loop.

Code:


flasher-3.5 --set-rd-flags=no-omap-wd,no-ext-wd -R


bdogg64 2010-03-16 15:57

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

Originally Posted by dj_steve (Post 569204)
ok even with patched files i am still getting a blank screen, im in progress downloading the donut source to see if that can be persuaded to boot then ill try and port eclair bits back to it (similar to how cyanogen is doing on the g1

Are you getting the page flipping error still ?

twoboxen 2010-03-16 16:49

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

Originally Posted by bdogg64 (Post 569395)
Are you getting the page flipping error still ?

I bet you're flipping tired of the page flipping error.

dj_steve 2010-03-16 16:59

Re: [Android] Eclair NITDroid (WIP)
 
indeed i am, trying a few hacked mods now and im also downloading the 1.6 donut base to try and modify that, i dont mind a bit of backporting from eclair if donut works :)

Cpasjuste 2010-03-16 20:42

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

Originally Posted by bdogg64 (Post 569370)
Not completely. I was in the same spot you're in as far as the weird mounting but I hadn't worked through that yet. Basically you will have copies of the compiled android modules in two places. In android they will be in /system/lib/modules/. In Maemo they will be in /lib/modules/current/. They will be the same in both places with the exception of the touchscreen driver. I'll have to look through the patches again to find the issue with mounting. I could boot both systems but things like wifi weren't working on the maemo side yet. I was more focused on getting the android side working at the time.

You also have to disable the watchdogs to get out of the reboot loop.

Code:


flasher-3.5 --set-rd-flags=no-omap-wd,no-ext-wd -R


Thanks for the help, i'll try again soon.

mack07018 2010-03-17 02:30

Re: [Android] Eclair NITDroid (WIP)
 
So android just hit 30,000 apps, where can i donate tor this effort

cashclientel 2010-03-17 10:12

Re: [Android] Eclair NITDroid (WIP)
 
Is any of the work on this thread affiliated with the following youtube video?
http://www.youtube.com/watch?v=yri4qOfP8T0

dj_steve 2010-03-17 10:13

Re: [Android] Eclair NITDroid (WIP)
 
im gueessing since said video was recorded by bdogg64 he did it :)

cashclientel 2010-03-17 11:36

Re: [Android] Eclair NITDroid (WIP)
 
thanks dj_steve.

Just wanted to add to this thread that in my personal opinion this is the most important project for the N900, so best of luck to the guys working on it.

dj_steve 2010-03-17 11:41

Re: [Android] Eclair NITDroid (WIP)
 
once i can get a build working on my n8x0 i will be examineing doing builds for the n900 but obviously im going to need people to test my attempts as i dont have a 900

Cpasjuste 2010-03-17 12:09

Re: [Android] Eclair NITDroid (WIP)
 
Well, bdogg64 seems to have done a pretty good start, so you (we) should start with that. I'm actually looking at it, so we could see that on irc when the time will come.

Quote:

Originally Posted by dj_steve (Post 570275)
once i can get a build working on my n8x0 i will be examineing doing builds for the n900 but obviously im going to need people to test my attempts as i dont have a 900


dj_steve 2010-03-17 12:10

Re: [Android] Eclair NITDroid (WIP)
 
sounds sweet to me :)

currently forward porting an older menelaus.c file as the 2.6.28 one seems to not power up the mmcs

bdogg64 2010-03-17 12:15

Re: [Android] Eclair NITDroid (WIP)
 
I can upload N900 builds if people with are willing to test them out. I applied that page flipping patch to the kernel and will upload a new build this evening to see if it works.

Cpasjuste 2010-03-17 12:19

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

Originally Posted by bdogg64 (Post 570322)
I can upload N900 builds if people with are willing to test them out. I applied that page flipping patch to the kernel and will upload a new build this evening to see if it works.

bdogg64 for me i would just need your updated kernel patches, and the rootfs. If possible :D

Edit: i was going to try/apply the new patch too ... i guess i will wait :)

dj_steve 2010-03-17 12:30

Re: [Android] Eclair NITDroid (WIP)
 
lol. im also about to try out 2.6.29 which i think has the dss2 fb driver doesnt it ?

Cpasjuste 2010-03-17 12:33

Re: [Android] Eclair NITDroid (WIP)
 
Yep true :)

dj_steve 2010-03-17 12:35

Re: [Android] Eclair NITDroid (WIP)
 
can someone check the source for 2.6.29 - drivers/video folder is it just me or is their an mbx folder in their (mbx being the gfx on n8x0

EDIT: scratch that its for intel PXA systems

Cpasjuste 2010-03-17 15:23

Re: [Android] Eclair NITDroid (WIP)
 
A few notes :

- When using the droid patched kernel with the vanilla modules, the weird mouting append. It's also impossible to mount partitions manually. This do not happen with the vanilla kernel, no matter the modules used. So the mounting problem under maemo comes from a kernel patch, not a module patch.

- When using the droid patched kernel (no matter the modules again), usb do not work at all on maemo (no usb mass storage or usb/ip available) and under android too it seems (no adb connection seems possible) which render my work difficult :)

- Internet only work with the vanilla kernel ( i'm not talking about wifi, but data plan ).


Edit : well, i don't know what i'm doing but can't get the android ts to work anymore ...
I think i should write a little "bootmenu" script which would restore a vanilla kernel/modules. Would make my life easier.

dj_steve 2010-03-17 15:25

Re: [Android] Eclair NITDroid (WIP)
 
lol thats a pain

HtheB 2010-03-17 18:06

Re: [Android] Eclair NITDroid (WIP)
 
So, whats the satutos of this project now? :)
I've read alot of posts here, but...

Could someone clear this whole thing up for me? :D

mockillo 2010-03-17 20:13

Re: [Android] Eclair NITDroid (WIP)
 
Stupid question, but I keep getting a error from preinit that it didn't find /usr/sbin/chroot - However I have in maemo /usr/sbin/chroot symlinked to /bin/busybox and on my android partition I have /usr/sbin/chroot symlinked to /system/bin/busybox/sbin/chroot.

Why on earth does it fail?

mrdally204 2010-03-17 20:29

Re: [Android] Eclair NITDroid (WIP)
 
I'd like to point out that on the nitdroid.com site, there is a link to connect to an IRC chat. There are a few people in the Nitdroid channel that may be able to answer questions faster than on here. Plus it makes for having a discussion much easier. Need help connecting to irc freenode, pm me and i will try and help

bdogg64 2010-03-17 21:18

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

Originally Posted by mockillo (Post 570972)
Stupid question, but I keep getting a error from preinit that it didn't find /usr/sbin/chroot - However I have in maemo /usr/sbin/chroot symlinked to /bin/busybox and on my android partition I have /usr/sbin/chroot symlinked to /system/bin/busybox/sbin/chroot.

Why on earth does it fail?

Are you using your own custom build? If you are, in your init.rc you may need to add these two to your PATH. And you have to have your own static build of busybox

/system/bin/busybox/sbin
/system/bin/busybox/bin


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

vBulletin® Version 3.8.8