| Prev |   7     8   9   10     11   | Next
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-17 21:50

Re: [Android] Eclair NITDroid (WIP)
 
1 Attachment(s)
I attached a copy of my updated patch file. I also packaged another N900 rootfs and kernel, with modules to use. This isn't for dual booting, only for testing android. Use at your own risk as always.

Files:
http://nitdroid.loadsofspace.net/n90...0-03-17.tar.gz
http://nitdroid.loadsofspace.net/zImage-20100317

You need a minimum of two partitions on your microsd card, vfat and ext3 with the vfat being the first partition. I'm going to assume you already have these. You also need to have bootmenu installed with the correct android.ext.item in your /etc/bootmenu.d/ folder.

  1. Download the android filesystem and extract it onto your ext3 partition as root
  2. Enable R&D mode on your n900
    Code:

    flasher-3.5 --enable-rd-mode --set-rd-flags=no-omap-wd,no-ext-wd
  3. Flash the kernel
    Code:

    flasher-3.5 --flash --flash-only=kernel --kernel zImage-20100317 -R
    You can also boot from the kernel if you want your original kernel to stay intact when you reboot.
    Code:

    flasher-3.5 --load --boot --kernel zImage-20100317
  4. Boot your N900 with the keyboard open and choose the android partition from bootmenu

That should be enough for a booting android install.

I'm testing out the page flipping patch, so let me know how it goes :D

taril 2010-03-17 21:53

Re: [Android] Eclair NITDroid (WIP)
 
have you tried motorola milestones' kernel and andorid 2.1 system?

bdogg64 2010-03-17 21:56

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

Originally Posted by taril (Post 571138)
have you tried motorola milestones' kernel and andorid 2.1 system?

I have not tried it. There is a git repository though built for the us droid at http://github.com/koush based on 2.1

dj_steve 2010-03-18 19:30

Re: [Android] Eclair NITDroid (WIP)
 
ok, has anyone got any ideas how to RESTRICT the omapfb driver to a res of 320x240 at 12bpp ? as i suspect i have found the problem with the pageflipping woes partially.

i think they are trying to partially use the 5MBit of sram on the n8x0 which is roughly enough to handle 800x480 @ 12bpp but not enough to do double that (as the pageflipping requires) so im looking for how to restrict the framebuffer to a smaller display size and to let the lcd controller zoom it to full screen... any ideas ?

mingw 2010-03-19 01:16

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

Originally Posted by dj_steve (Post 572326)
ok, has anyone got any ideas how to RESTRICT the omapfb driver to a res of 320x240 at 12bpp ? as i suspect i have found the problem with the pageflipping woes partially.

i think they are trying to partially use the 5MBit of sram on the n8x0 which is roughly enough to handle 800x480 @ 12bpp but not enough to do double that (as the pageflipping requires) so im looking for how to restrict the framebuffer to a smaller display size and to let the lcd controller zoom it to full screen... any ideas ?

When I test my Gumstix Overo platform, there is a bootargs option which set omapfb.mode to dvi:${dvimode} where dvimode is something like 1024x768MR-16@60. I used a monitor to be the display, I ever changed it to 640x480MR-16@60 and it works for me. So I guess there is a similar configuration for you LCD like 320x240MR-12@60. You can refer to /drivers/video/modedb.c to learn the meaning of the format 1024x768MR-16@60.

Hope it helps.

Best regards,
Ming

mingw 2010-03-19 01:34

Re: [Android] Eclair NITDroid (WIP)
 
Has anyone tried bdogg64's kernel and rootfs? N900 is so expensive that I can not afford it. But I tried the page http://maemo.nokia.com/firefox/# to win one.:) Hope I can make it!

Best regards,
Ming

mrdally204 2010-03-19 07:01

Re: [Android] Eclair NITDroid (WIP)
 
i found this to be an interesting read

http://www.linuxfordevices.com/c/a/L...-a-new-device/

Termana 2010-03-20 15:16

Re: [Android] Eclair NITDroid (WIP)
 
I thought I'd update this thread with my progress:

http://www.youtube.com/watch?v=JAJP90mnhzw

Sorry for the low resolution of the video. You'll see it sit at the command prompt for a little while, but just wait and then you'll see the boot animation.

andoreasu 2010-03-20 18:26

Re: [Android] Eclair NITDroid (WIP)
 
Very cool :)

Did you boot from the internal flash, "internal card" or flash?

dj_steve 2010-03-20 20:41

Re: [Android] Eclair NITDroid (WIP)
 
ok finally an update worthy post :)

we have very close to workign sound on the n810 (n800 sound chip is going to be more challenging due to it being part of the touch screen chip - going to have to backprot drivers from other kernel i suspect)

but yep n810 sound chip is detected by kernel so just trying to sort out persuading android to see it now

bdogg64 2010-03-20 20:58

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

Originally Posted by dj_steve (Post 575103)
ok finally an update worthy post :)

we have very close to workign sound on the n810 (n800 sound chip is going to be more challenging due to it being part of the touch screen chip - going to have to backprot drivers from other kernel i suspect)

but yep n810 sound chip is detected by kernel so just trying to sort out persuading android to see it now

Good work ; -) You might want to check out

http://groups.google.com/group/android-porting

You have to sift through the posts to find some good information though

Termana 2010-03-20 23:51

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

Originally Posted by dj_steve (Post 575103)
ok finally an update worthy post :)

we have very close to workign sound on the n810 (n800 sound chip is going to be more challenging due to it being part of the touch screen chip - going to have to backprot drivers from other kernel i suspect)

but yep n810 sound chip is detected by kernel so just trying to sort out persuading android to see it now

Do you already have Android Eclair (2.0, 2.0.1 or 2.1) running on the n810, or are you just using the old NITdroid rootfs and kernel? I haven't seen any posts saying you have Eclair working, nor has nitdroid.com been updated to suggest such. Obviously, I'd rather not duplicate effort in getting it to run :P, so if you do have Eclair running, can you post your rootfs and kernel?

Quote:

Originally Posted by andoreasu (Post 575009)
Very cool :)

Did you boot from the internal flash, "internal card" or flash?

My boot video was booting directly from external MMC on the n810. The boot animation is obviously from the Nexus One :P

michalurban 2010-03-21 10:12

Re: [Android] Eclair NITDroid (WIP)
 
Do you think that it would be possible (in the future times, of course) to install android on N900 in that simple way you flash Maemo5 today? Or even better, to flash both systems this simple? Wihout so much messing with config files, R&D and stuff ... ? Just curious, Im pretty satisfied with Maemo ... :)

dj_steve 2010-03-21 16:49

Re: [Android] Eclair NITDroid (WIP)
 
flashing is a minor thing that will be sorted once we have a stable build. and no i am still using solca root, (my build system doesn make usuable builds for some reason (probably becasue im using debian not ubuntu).

termana any chance you can post up your root fs? i can provide a ftp for it if needed, pm me

superg05 2010-03-22 06:04

Re: [Android] Eclair NITDroid (WIP)
 
i can't wait till you guy make a stable build for the n900 cause i'm having to many problems with meamo 5 and nokias to many over sights this is the first device i have ever had any problems with at all the most ******ing thing being that a soft reset which is suppose to wipe a phone clean fresh slate does not work on the n900 all it ended up doing was wiping all the apns make it a phone that can only make phone calls not text or get on the web or make apns using fanp and i have windows 7 so flasher wont work lucky Microsoft is gonna bail my @$$ out with xp mode that im downloading now so when u guy make a permanent android build you will be like gods among men to me

dj_steve 2010-03-24 20:36

Re: [Android] Eclair NITDroid (WIP)
 
right havent made an update in a while :)

i have successfully got my linux kernel to recognise the n800 & n810 sound chips so just trying to persuade android to work with it now. :)

EDIT:
wondering if anyone with a n8x0 could tell me the contents of /usr/shar/alsa if they have it and also of /etc/asound.conf . my n800 is currently minus its maemo kernel so qwont boot and its otu of power for now so need help finding this

rahulg247 2010-03-24 20:48

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

Originally Posted by superg05 (Post 576666)
i can't wait till you guy make a stable build for the n900 cause i'm having to many problems with meamo 5 and nokias to many over sights this is the first device i have ever had any problems with at all the most ******ing thing being that a soft reset which is suppose to wipe a phone clean fresh slate does not work on the n900 all it ended up doing was wiping all the apns make it a phone that can only make phone calls not text or get on the web or make apns using fanp and i have windows 7 so flasher wont work lucky Microsoft is gonna bail my @$$ out with xp mode that im downloading now so when u guy make a permanent android build you will be like gods among men to me

Maemo flasher 3.5 seems to work fine for me with Windows 7.

azz 2010-03-24 21:40

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

Originally Posted by dj_steve (Post 580971)
right havent made an update in a while :)

i have successfully got my linux kernel to recognise the n800 & n810 sound chips so just trying to persuade android to work with it now. :)

EDIT:
wondering if anyone with a n8x0 could tell me the contents of /usr/shar/alsa if they have it and also of /etc/asound.conf . my n800 is currently minus its maemo kernel so qwont boot and its otu of power for now so need help finding this

I would help you but I don't know how to print a list. I am using mc and am able to navigate to the folder but is there a command to just print the directory to a text file? It would be easier instead of having to hand-write everything.

Or even in xterm. Just tell me what to type and I will do it for you.

dj_steve 2010-03-24 21:42

Re: [Android] Eclair NITDroid (WIP)
 
for ls its easy even via notmal xterm

ls -Ra /dev >> /media/mmc1/dev.txt

azz 2010-03-24 21:55

Re: [Android] Eclair NITDroid (WIP)
 
2 Attachment(s)
Here it is....I hope it has what you wanted....It does look a bit weird tho....

Edit: I also added the "usr/share/alsa" directory as well. Don't know if you still need it but I will put it here anyway.

michalurban 2010-03-25 20:49

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

Originally Posted by rahulg247 (Post 580986)
Maemo flasher 3.5 seems to work fine for me with Windows 7.

Not for me (Win7 X64 Ultimate CZ). But WinXP x86 + Ubuntu x86 AOK ... :) Too bad theres no x64 version of flasher ...

qkall 2010-03-26 01:49

Re: [Android] Eclair NITDroid (WIP)
 
i don't know if it would work well or even well or even at all... but see if you can flash through virtualbox with a 32bit system.

michalurban 2010-03-26 08:43

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

Originally Posted by qkall (Post 582732)
i don't know if it would work well or even well or even at all... but see if you can flash through virtualbox with a 32bit system.

Good idea, unfortunately Ive got no pc with 64bit system installed. Hopefully someone else would try that! Or maybe I'll stop being so lazy and make a multiboot on my computer. Maybe ... :D

dj_steve 2010-03-26 12:21

Re: [Android] Eclair NITDroid (WIP)
 
ok update time :D i have a working copy of 'donut' on my n800 - fair few things to fix etc but it does run and fairly quickly to.

video :
http://www.youtube.com/watch?v=r-DZn-QPU-I

and yes thats a few force closes you see their as well as a battery warning since i didnt have battery module in kernel attime

twoboxen 2010-03-26 13:00

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

Originally Posted by dj_steve (Post 583101)
ok update time :D i have a working copy of 'donut' on my n800 - fair few things to fix etc but it does run and fairly quickly to.

video :
http://www.youtube.com/watch?v=r-DZn-QPU-I

and yes thats a few force closes you see their as well as a battery warning since i didnt have battery module in kernel attime

Great progress... congrats! Is it going to be easier to get eclair running now that you have donut working that well?

Can't wait to hear if anyone has tried following your latest steps on the n900....

dj_steve 2010-03-26 13:49

Re: [Android] Eclair NITDroid (WIP)
 
i dont know re eclair, i can get pageflipping to work now but it tends to cause tearing on screen, so need to look at that

~phoenix~ 2010-03-26 14:11

Re: [Android] Eclair NITDroid (WIP)
 
hmm... nice.... and how to get this workin with dualboot on n900??

dj_steve 2010-03-26 14:14

Re: [Android] Eclair NITDroid (WIP)
 
thats something someone else will need to explain - i dont have a n900 at the moment (~1 month till i should have one :D )

HtheB 2010-03-26 17:49

Re: [Android] Eclair NITDroid (WIP)
 
Now let's get it working on the N900, and everybody will be happy :p :D

bdogg64 2010-03-26 21:23

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

Originally Posted by dj_steve (Post 583101)
ok update time :D i have a working copy of 'donut' on my n800 - fair few things to fix etc but it does run and fairly quickly to.

video :
http://www.youtube.com/watch?v=r-DZn-QPU-I

and yes thats a few force closes you see their as well as a battery warning since i didnt have battery module in kernel attime

Nice work! Do you get the page flipping error on donut?

bglf83 2010-03-27 01:15

Re: [Android] Eclair NITDroid (WIP)
 
Is there a reason why we dont use the code for the Moto Milestone?

https://opensource.motorola.com/sf/s...=1269652447829

The reason I ask is because the Ti setup seems almost the same, with the same video processor.

bdogg64 2010-03-27 01:29

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

Originally Posted by bglf83 (Post 583930)
Is there a reason why we dont use the code for the Moto Milestone?

https://opensource.motorola.com/sf/s...=1269652447829

The reason I ask is because the Ti setup seems almost the same, with the same video processor.

That source code could help some, but I wish they open sourced the sgx acceleration. That would be very helpful :D

dj_steve 2010-03-27 12:09

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

Originally Posted by bdogg64 (Post 583781)
Nice work! Do you get the page flipping error on donut?

i dont if i enable the correct part of the fb code but that code causes lots of tearign of screen graphics. but donut boots without page flipping anyway without edits, (thats how i was usingit in that video, )

bdogg64 2010-04-01 21:22

Re: [Android] Eclair NITDroid (WIP)
 
anyone tried the N900 rootfs and kernel?

Kurele 2010-04-01 23:45

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

Originally Posted by michalurban (Post 582429)
Not for me (Win7 X64 Ultimate CZ). But WinXP x86 + Ubuntu x86 AOK ... :) Too bad theres no x64 version of flasher ...

Tried using Windows 7 x64
I had to dual boot in to XP 32 bit to use it

Cant wait for full android on n900 so i could show off to my GF :P

bdogg64 2010-04-01 23:54

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

Originally Posted by Kurele (Post 592064)
Tried using Windows 7 x64
I had to dual boot in to XP 32 bit to use it

Cant wait for full android on n900 so i could show off to my GF :P

What's your definition of "full android"?

Kurele 2010-04-02 00:08

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

Originally Posted by bdogg64 (Post 592070)
What's your definition of "full android"?

Marketplace, working GUI and phone with little bugs. Haha basically just to download apps and show off while still using it as my phone

twoboxen 2010-04-02 00:23

Re: [Android] Eclair NITDroid (WIP)
 
@DJ_Steve
Still waiting for your n900 to test/dev?

dj_steve 2010-04-04 15:16

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

Originally Posted by twoboxen (Post 592088)
@DJ_Steve
Still waiting for your n900 to test/dev?

yea i aint due my upgrade until may 1st so ill have n900 sometime that month, (when i get time away from work to pay a visit to the local phone shop :) )

secondly i am uploading videos on youtube fairly often now of any progress i make, currently im going to be uplaoding a video later today/ tommorrow of my progress at getting bluetooth working - it is to the point of android being able to activate, scan and see devices but cant pair devices or find any data about them yet.

youtube channel : http://www.youtube.com/user/djsteve1030?feature=mhw5

bdogg64 2010-04-04 15:48

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

Originally Posted by dj_steve (Post 595002)
yea i aint due my upgrade until may 1st so ill have n900 sometime that month, (when i get time away from work to pay a visit to the local phone shop :) )

secondly i am uploading videos on youtube fairly often now of any progress i make, currently im going to be uplaoding a video later today/ tommorrow of my progress at getting bluetooth working - it is to the point of android being able to activate, scan and see devices but cant pair devices or find any data about them yet.

youtube channel : http://www.youtube.com/user/djsteve1030?feature=mhw5

Making some great progress DJ_Steve. Keep it up ;-)


| Prev |   7     8   9   10     11   | Next
All times are GMT. The time now is 23:12.

vBulletin® Version 3.8.8