| Prev |   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)

dj_steve 2010-04-05 21:03

Re: [Android] Eclair NITDroid (WIP)
 
ok i have a eclair build booting now :) 2.1r1 anybody :D seems to be properly fast to compared to donut, ive also started to try and build source using the android 'MID' policy instead of the phone one as the phone policy is really surplus for the n8x0 series due to them not fully being phones (i.e. the signal bar is always shown and useless)

imperiallight 2010-04-05 21:35

Re: [Android] Eclair NITDroid (WIP)
 
A stable android build in which I can install .apk files would make the n900 an almost overnight purchase for me:)

twoboxen 2010-04-05 22:08

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

Originally Posted by dj_steve (Post 596845)
ok i have a eclair build booting now :) 2.1r1 anybody :D seems to be properly fast to compared to donut, ive also started to try and build source using the android 'MID' policy instead of the phone one as the phone policy is really surplus for the n8x0 series due to them not fully being phones (i.e. the signal bar is always shown and useless)

As if it weren't obvious... you are the man, dj_steve. Your may n900 purchase can't get here soon enough :)

dj_steve 2010-04-05 22:12

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

Originally Posted by twoboxen (Post 596942)
As if it weren't obvious... you are the man, dj_steve. Your may n900 purchase can't get here soon enough :)

lol coding is something i am actualyl decent at - im one of few people who can basicly look at code for a while then understand parts of what it does - very useful ability with android code :) i decided not to use the mid profile as its stupidly outdated, just modified the android statusbar to remove the network icon *hopefully* anyway.

EDIT/UPDATE: ok edit done and works, no more annoying network icons :D am uploading a video as i type of the current build. basic for moment

HtheB 2010-04-05 23:23

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

Originally Posted by dj_steve (Post 596945)
lol coding is something i am actualyl decent at - im one of few people who can basicly look at code for a while then understand parts of what it does - very useful ability with android code :) i decided not to use the mid profile as its stupidly outdated, just modified the android statusbar to remove the network icon *hopefully* anyway.

EDIT/UPDATE: ok edit done and works, no more annoying network icons :D am uploading a video as i type of the current build. basic for moment

Damn, I just can't wait for the N900 build :D

andoreasu 2010-04-06 11:25

Re: [Android] Eclair NITDroid (WIP)
 
Wow, great progress.
I hope there will be test images soon :)

imperiallight 2010-04-06 11:47

Re: [Android] Eclair NITDroid (WIP)
 
You can see his impressive video yesterday here:

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

farmatito 2010-04-06 12:09

Re: [Android] Eclair NITDroid (WIP)
 
Hi, i'm very interested in running android on the N900, I'm just wondering
if the phone part works or will work?

dj_steve 2010-04-06 15:36

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

Originally Posted by farmatito (Post 597584)
Hi, i'm very interested in running android on the N900, I'm just wondering
if the phone part works or will work?

at the moment i dont have a N900 so the only progress is what bdog64 posted a few pages back in this thread, once i get my n900 (next month - under 30 days now :D) i will be devving for it also so more progress will be seen then

dj_steve 2010-04-06 21:46

Re: [Android] Eclair NITDroid (WIP)
 
ok time for some big info methinks..

ive just uploaded a rootfs and kernel image (via a 3g connction since my broadband router decided to crash earlier)

links below
http://www.loadsofspace.net/nitdroid...s-djsteve.tbz2 << root Filesystem

http://www.loadsofspace.net/nitdroid/zImage
<< kernel image for the above.

PLEASE BE AWARE THIS IS NOT A TOTALLY USABLE SYSTEM AS A LOT OF THINGS DO NOT WORK
i am releasing it purely as a development tool and to show my current progress.

Current Status:
Android Eclair 2.1R1 based, modified init files to allow dsp controller init
WiFI and bluetooth NOT working currently - wifi module will load but the calibration tool gives me errors < looking for ideas /help on that
modifed status bar toremove network signal icon,
lcd density set to 120 as it is a better size for the screen resolution in my opinion
battery NOT detected/charging as yet (due to major code changes between donut and eclair - also why everythign else has broken :( )
swap is autoenabled on boot using a seperate sd partition(see below)
disabled the default voldsdcard mounting and reverted to mountd as it seems to work better
sdcard is detected and mounted


quick howto flash below as this is VERY different from the orig nitdroid info

2gb minimum memory card is recommended due to partitioning i have setup

HOW-TO:
1. download above files to a workign folder.
2. load up your favourite disk partitionign tool and partition the sd card as follows

example below is for my 8gb card

Code:

primary partition 1 = 1.43gb win95 lba type (vfat)
pri partition 2 = 1.86gb linux swap
pri partition 3 = 1.86gb linux (ext3)
pri partition 4 = 2.48gb linux (ext3)

format the above partitions as needed. parts 3 and 4 MUST be ext 3 as kernel does not have ext2 support currently

4. mount partition 3 as the root partition (for me using command mount /dev/sdb3 /mnt )

5. create the data folder (mkdir /mnt/data) and mount partition 4 on it (mount /dev/sdb4 /mnt/data)

6. extract the rootfs to the root and it should place files into the correct folders.

7. unmount both partitions as they are now finished with.

8. if you havent already grab the nokia flasher tool (search the forums for linK)

9. run the command
Code:

./flasher-3.0-static -f -k zImage --enable-rd-mode -R
assuming you put flasher in same folder as zimage.

IMPORTANT: WHEN DEVICE REBOOTS AFTER FLASH PULL THE BATTERY AND PUT IT BACK IN AND BOOT AS THE KERNEL WILL PANIC IF YOU DONT
also the boot does take time as i have kernel set to boot direct to sd card but the mmc driver in linux-omap sucks so i have to delay boot for 5 secs to let the sd get detected. on the n800 the sd card must go in the ext slot and must be no card in the internal one

hopefully thats good enough to understand :)

any ideas, suggestions etc welcome, especially on how to get the wifi to work.
also kernel and android both have alsa support built in, but i cannot persuade the alsa-dsp module to load so i doubt sound will work (could possibly be persuaded to on the n810 with correct asound.conf as the n810 has direct access to the sound codec unlike 800) - feel freeto look though

system seems to run fairly well and pretty stable for the most part. usually calender storage does crash though on boot.

MoJo 2010-04-07 00:21

Re: [Android] Eclair NITDroid (WIP)
 
Below is what I place in the Google Groups for the NitDroid community:

http://groups.google.com/group/nitdroid

Quote:

I remember reading about a phone called the freerunner designed to be
open that got converted to running Android. The methodology, and
insight is made public online, so maybe someone with more Linux
understanding can give these links a look:

1) http://wiki.openmoko.org/wiki/Android

2) http://wiki.openmoko.org/wiki/Android_usage

3) http://code.google.com/p/android-on-freerunner/

Hope the information proves useful, and helps in getting a proper
Android build on the N900.

superg05 2010-04-07 04:22

Re: [Android] Eclair NITDroid (WIP)
 
http://elinux.org/Android_on_OMAP#Patch_extraction

byte_76 2010-04-07 08:36

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

Originally Posted by dj_steve (Post 598424)
ok time for some big info methinks..

ive just uploaded a rootfs and kernel image (via a 3g connction since my broadband router decided to crash earlier)

links below
http://www.loadsofspace.net/nitdroid...s-djsteve.tbz2 << root Filesystem

http://www.loadsofspace.net/nitdroid/zImage
<< kernel image for the above.

PLEASE BE AWARE THIS IS NOT A TOTALLY USABLE SYSTEM AS A LOT OF THINGS DO NOT WORK
i am releasing it purely as a development tool and to show my current progress.

Current Status:
Android Eclair 2.1R1 based, modified init files to allow dsp controller init
WiFI and bluetooth NOT working currently - wifi module will load but the calibration tool gives me errors < looking for ideas /help on that
modifed status bar toremove network signal icon,
lcd density set to 120 as it is a better size for the screen resolution in my opinion
battery NOT detected/charging as yet (due to major code changes between donut and eclair - also why everythign else has broken :( )
swap is autoenabled on boot using a seperate sd partition(see below)
disabled the default voldsdcard mounting and reverted to mountd as it seems to work better
sdcard is detected and mounted


quick howto flash below as this is VERY different from the orig nitdroid info

2gb minimum memory card is recommended due to partitioning i have setup

HOW-TO:
1. download above files to a workign folder.
2. load up your favourite disk partitionign tool and partition the sd card as follows

example below is for my 8gb card

Code:

primary partition 1 = 1.43gb win95 lba type (vfat)
pri partition 2 = 1.86gb linux swap
pri partition 3 = 1.86gb linux (ext3)
pri partition 4 = 2.48gb linux (ext3)

format the above partitions as needed. parts 3 and 4 MUST be ext 3 as kernel does not have ext2 support currently

4. mount partition 3 as the root partition (for me using command mount /dev/sdb3 /mnt )

5. create the data folder (mkdir /mnt/data) and mount partition 4 on it (mount /dev/sdb4 /mnt/data)

6. extract the rootfs to the root and it should place files into the correct folders.

7. unmount both partitions as they are now finished with.

8. if you havent already grab the nokia flasher tool (search the forums for linK)

9. run the command
Code:

./flasher-3.0-static -f -k zImage --enable-rd-mode -R
assuming you put flasher in same folder as zimage.

IMPORTANT: WHEN DEVICE REBOOTS AFTER FLASH PULL THE BATTERY AND PUT IT BACK IN AND BOOT AS THE KERNEL WILL PANIC IF YOU DONT
also the boot does take time as i have kernel set to boot direct to sd card but the mmc driver in linux-omap sucks so i have to delay boot for 5 secs to let the sd get detected. on the n800 the sd card must go in the ext slot and must be no card in the internal one

hopefully thats good enough to understand :)

any ideas, suggestions etc welcome, especially on how to get the wifi to work.
also kernel and android both have alsa support built in, but i cannot persuade the alsa-dsp module to load so i doubt sound will work (could possibly be persuaded to on the n810 with correct asound.conf as the n810 has direct access to the sound codec unlike 800) - feel freeto look though

system seems to run fairly well and pretty stable for the most part. usually calender storage does crash though on boot.

I only have an N900 and it's the first Nokia product that I have ever owned so this info is irrelevant to me at this time but I just want to say that your work is impressive and interesting to follow.
Well done on your achievements to far! I'm sure many users of N800 and N810 will be very pleased to be able to extend the life of their devices by loading future releases of your Android rom and as an N900 user, I look forward to what is to come for N900.

I believe that your experiences with Android 2.1 on N800/N810 will make the process of porting Android to N900 faster and easier.

Thanks!

dj_steve 2010-04-07 15:16

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

Originally Posted by byte_76 (Post 598958)
I only have an N900 and it's the first Nokia product that I have ever owned so this info is irrelevant to me at this time but I just want to say that your work is impressive and interesting to follow.
Well done on your achievements to far! I'm sure many users of N800 and N810 will be very pleased to be able to extend the life of their devices by loading future releases of your Android rom and as an N900 user, I look forward to what is to come for N900.

I believe that your experiences with Android 2.1 on N800/N810 will make the process of porting Android to N900 faster and easier.

Thanks!

Really could not say that better myself :) am really looking forward to n900 development though when I get mine

gazza_d 2010-04-07 20:25

Re: [Android] Eclair NITDroid (WIP)
 
{QUOTE}HOW-TO:
1. download above files to a workign folder.
2. load up your favourite disk partitionign tool and partition the sd card as follows

example below is for my 8gb card

Code:

primary partition 1 = 1.43gb win95 lba type (vfat)
pri partition 2 = 1.86gb linux swap
pri partition 3 = 1.86gb linux (ext3)
pri partition 4 = 2.48gb linux (ext3)

format the above partitions as needed. parts 3 and 4 MUST be ext 3 as kernel does not have ext2 support currently

4. mount partition 3 as the root partition (for me using command mount /dev/sdb3 /mnt )

5. create the data folder (mkdir /mnt/data) and mount partition 4 on it (mount /dev/sdb4 /mnt/data)

6. extract the rootfs to the root and it should place files into the correct folders.

7. unmount both partitions as they are now finished with.

8. if you havent already grab the nokia flasher tool (search the forums for linK)

9. run the command
Code:

./flasher-3.0-static -f -k zImage --enable-rd-mode -R
assuming you put flasher in same folder as zimage.

also the boot does take time as i have kernel set to boot direct to sd card but the mmc driver in linux-omap sucks so i have to delay boot for 5 secs to let the sd get detected. on the n800 the sd card must go in the ext slot and must be no card in the internal one

hopefully thats good enough to understand :)

any ideas, suggestions etc welcome, especially on how to get the wifi to work.
[/QUOTE]

I think I may have done summat wrong somewhere.

downloaded the files.
created 4 partitions on a 4GB SD card.
mounted partition 3 as /media/root
mounted partition 4 as /media/root/data
extracted the root image and extracted to /media/root
flashed N800
removed internal card, inserted 4GB card into ext slot.

boots so far, but then I just get repeating errors...
init: cannot execve('/system/bin/mediaserver'): Permission denied
init: cannot execve('/system/bin/dbus-daemon'): Permission denied

I have repeated the process a couple of time, but cannot work out what I am doing wrong!

TheHMan 2010-04-07 21:13

Re: [Android] Eclair NITDroid (WIP)
 
Steve, what's the status on some of the Android applications and their functionality? Have you tried out a couple applications, and if so... how well do they run on the N800?

I'm not the greatest with the technical bits of flashing a new OS to my N810, but I'm really looking forward to getting a newer, more polished OS than Diablo or Mer. I'll definitely give this a shot when you can get the sound and wifi working. Keep up the good work!

dj_steve 2010-04-07 21:53

Re: [Android] Eclair NITDroid (WIP)
 
gazza_d, run chmod 755 * in .system/bin that should solve the issue (do it for /system/etc aswell just to be safe :) ) - feel free to throw me a PM if you still have issues as its quite likely just some stupid permissions issue (linux is rather b*tchy in that respect - but it sure as hell makes it bomb proof to run as i found out when i decided to accidently delete the /lib folder on my build box and it still workd slightly :D )

TheHman
i have the Gapps inbuild on my donut build but get LOADS of force closes currently (which could just be down to the fact theirs no network connectivity for said apps due to wifi being borked). though considering my n800 is runing android with its normal ram + ~2gb of swap on a class 6 sd card id suspect fairly quick is the word

ive gone back to donut for moment since eclair is going to be a achallenge and a half becuase of all the changes and realisticly i think 1.6 is more likely to be usable for the n8x0 series, eclair is more for n900 with its hw3d and the likes.

currently building a modded donut which may give me camera support aswell as to try and get the wifi to run again

dj_steve 2010-04-09 00:38

Re: [Android] Eclair NITDroid (WIP)
 
quick update; i have wifi working now but touch screen is not calibrated properly by looks of it so having problems typing my wep key

mrdally204 2010-04-09 01:37

Re: [Android] Eclair NITDroid (WIP)
 
screen calibration should be an android software option no?

*edit any luck with webcam?

dj_steve 2010-04-09 08:41

Re: [Android] Eclair NITDroid (WIP)
 
wbcam no, i do have v4l2 support in android just gotta get indroid itself to work with it (not so easy)

and since android is primarily targeted at capacitive touchscreens(which dont need calibrating) its not a standard part of the os

dj_steve 2010-04-09 15:15

Re: [Android] Eclair NITDroid (WIP)
 
gazza_d did you get chanmce to try the rootfs ? curious to weather it worked,

gazza_d 2010-04-09 16:15

Re: [Android] Eclair NITDroid (WIP)
 
in a word Steve, No. did not get time last night, although I am hoping to tonight.

Really excited after seeing your recent post that wifi was working after all. May also have bash at chucking it on my N810 if the N800 is sucessful.

Really appreciate your efforts in all of this.

gazza_d 2010-04-09 19:47

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

Originally Posted by dj_steve (Post 602987)
gazza_d did you get chanmce to try the rootfs ? curious to weather it worked,

Just had a play, and changing the permissions as you suggested did not work, and neither did flattening and starting from scratch.

mounting P3 as /media/root
mounting P4 as /media/root/data
extracting the tarball to /media/root as root using on Ubuntu 9.10

Checked the permissions on /media/root/system/bin* using ls -al and the permissions are 755.

Reflashed as well, still no joy.

ymartin59 2010-04-09 21:43

Re: [Android] Eclair NITDroid (WIP)
 
I got latest Android sources to build Dvalik VM directly on Maemo SDK.
My aim is to get Android Market applications run on N900/Maemo.
As I already know libc and linux kernel have been "tuned" in Android, my idea is to create a small library layer to wrap or divert method calls.
As a last step, maybe run Dvalik binaries from a Android ARM image with a dynamic library layer wrapping (like fakeroot does or ld_preload).
As Android experts, what is your "chance of success" estimation of these operations ?
Thank you for your advice and help

dj_steve 2010-04-09 22:03

Re: [Android] Eclair NITDroid (WIP)
 
My opin would be very slim as android apps don't just use dalvik they depends on jus about every part of the os.

dj_steve 2010-04-10 01:57

Re: [Android] Eclair NITDroid (WIP)
 
Ok this has not been tested yet (literally tared it up using ssh via me g1 while at work tonight) so imnot sure what may happen.. links below to android 2.1r2 rootfs wifi hopefully wifi and new kernel. Install same as above

Http://www.loadsofspace.net/nitdroid/mnt.tbz2
Http://www.loadsofspace.net/nitdroid/zImage-new

gazza_d 2010-04-10 08:00

Re: [Android] Eclair NITDroid (WIP)
 
Latest gives the following...

Freeing init memory: 132K
Warning: Unable to open an initial console.
Failed to execute /init. Attempting defaults...
Kernel paninc - not syncing: No init found. try passing init= option to kernel.

dj_steve 2010-04-10 08:46

Re: [Android] Eclair NITDroid (WIP)
 
That's certainly some form permissions.. what commands are you running to extract archive

gazza_d 2010-04-10 09:05

Re: [Android] Eclair NITDroid (WIP)
 
in the top level of the root partition, then the following command

sudo tar -jxvf /home/gary/Downloads/mnt.tbz2

extracts fine with no errors.

the flash command is

sudo ./flasher-3.0 -f -k zImage-new --enable-rd-mode -R

and again works without errors, although to be fair to get it working I had to blacklist the phonat drivers, with it being Ubuntu

byte_76 2010-04-10 09:25

Re: [Android] Eclair NITDroid (WIP)
 
Have a look at this link:

http://forum.xda-developers.com/forumdisplay.php?f=577

These guys have android running on multiple WinMo handsets. Maybe you can use some of the info.

For calibration they use a text file that is loaded at startup and automatically calibrates the screen.

dj_steve 2010-04-10 09:28

Re: [Android] Eclair NITDroid (WIP)
 
Gazza_d check the folders on mem card are not all inside one called mnt and also. Tar xjvvpf

edit: doesnt really matter anyway as it doesnt boot too well (LOADSSS of force closes - all because of google apps not being the 2.0 versions, am downloading the nexus one gapps now to merge in

dj_steve 2010-04-11 11:53

Re: [Android] Eclair NITDroid (WIP)
 
ok thought id add this update since it looks highly promising if it works when i test.

have got bluetooth on 1.6 to see my bt speakers and connect quite hapily to them, so once i get music app to see the music on my sd card im going to be testing the sound output over BT, most likely will not work though

dj_steve 2010-04-11 12:09

Re: [Android] Eclair NITDroid (WIP)
 
UPDATE: IT WORKS!! i have A2DP support working, this thing plays audio more stable than my g1 does over BT :S
youtube video going up shortly

EDIT: video uploading as i type. device is still hapily playing music also

http://www.youtube.com/watch?v=mZBzBOSgV_g << once youtube processes it :)

gazza_d 2010-04-11 13:40

Re: [Android] Eclair NITDroid (WIP)
 
Don't ask me why Steve, but your Eclair build has decided to boot on my N800. the device has been turned off since yesterday, but I did plug the charger in for a while, so it was possibly a battery charge issue causing the boot to fail.

Getting Google App force close messages fairly constantly though, as well as the android setup wizard.

Just watched the new 1.6 video, and it looks very promising. Can't wait to try a build of that

dj_steve 2010-04-11 13:42

Re: [Android] Eclair NITDroid (WIP)
 
yeah the gapps are expected lol. not 100% why yet though :)

dj_steve 2010-04-11 22:40

Re: [Android] Eclair NITDroid (WIP)
 
WE HAVE LIFE got wifi running too, posting this message from my n800 directly :) still a bit slow but i suspect thats due to the init.rc needing some edits to memory management

EDIT: uploading rootfs and kernel now, could really do with having other testthis for me,


ok links

kernel: http://www.loadsofspace.net/nitdroid/zImage
Rootfs: http://www.loadsofspace.net/nitdroid...-0.5.0.tar.bz2

excuse the ts calibrate app that loads its not really needed i just havent removed the lines out of one of the init files yet.

please test and advise folks, instructions on install are few pages back :)

HtheB 2010-04-11 23:48

Re: [Android] Eclair NITDroid (WIP)
 
Damn... I can't wait until you get your N900!! :(

hehehe.. we're all waiting for you dj_steve... :D

mrdally204 2010-04-12 05:45

Re: [Android] Eclair NITDroid (WIP)
 
DJ_Steve I wouldn't mind if you linked to another thread and started new. There has been so much progress and change to the project that a second thread with updates you can post on the first post to be ever helpful to everyone. That way when something major happens or there is a change to the flashing process it it on the first post, no searching.

Fantastic progress you have made. The sound quality appears to be much better than that of the current implementation on maemo. The actual response time does not appear to be too bad once the OS is loaded. I am a little busy in school the next few days but will be testing this soon. For anyone who does test it, if you have any tricks or shortcuts to flashing feel free to share :)

DJ can you give us a road map as to what you still see you need to overcome on the 810 port?

dj_steve 2010-04-12 09:29

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

Originally Posted by mrdally204 (Post 606350)
DJ_Steve I wouldn't mind if you linked to another thread and started new. There has been so much progress and change to the project that a second thread with updates you can post on the first post to be ever helpful to everyone. That way when something major happens or there is a change to the flashing process it it on the first post, no searching.

Fantastic progress you have made. The sound quality appears to be much better than that of the current implementation on maemo. The actual response time does not appear to be too bad once the OS is loaded. I am a little busy in school the next few days but will be testing this soon. For anyone who does test it, if you have any tricks or shortcuts to flashing feel free to share :)

DJ can you give us a road map as to what you still see you need to overcome on the 810 port?

well firstly i need to sort out a rather annoying issue with clock (like it only gets updated on boot then starts losing time ALOT (my n800 been running all night with screen off and it thinks its 1217am :S)) then we need sound sorting out but i need to have someone with a n810 willing to test to do that as obviously i cant on n800 (may have to make do with just a2dp on the 800 unless i can master this alsa plugin crap

ares 2010-04-12 09:45

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

Originally Posted by HtheB (Post 606121)
Damn... I can't wait until you get your N900!! :(

hehehe.. we're all waiting for you dj_steve... :D

Sorry dj steve but I hope that it will take a few month till you get your N900. That would mean more progress for my N810. Oh yeah :p

Thanks a lot for your affort.

ares


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

vBulletin® Version 3.8.8