maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   [Android] NITDroid V2 Development Topic (https://talk.maemo.org/showthread.php?t=49811)

nielsvg 2010-05-18 17:14

Re: [Android] NITDroid V2 Development Topic
 
ah ok thanks

dj_steve 2010-05-18 17:15

Re: [Android] NITDroid V2 Development Topic
 
nielsvg if you can get into irc in a bit (like an hour or so's time) ill talk you through it

nielsvg 2010-05-18 17:20

Re: [Android] NITDroid V2 Development Topic
 
ok say: is there a program for partitioning for windows a good one?

titi974 2010-05-18 17:22

Re: [Android] NITDroid V2 Development Topic
 
not sure, cause' you'll need to acces ext2 partition and windows (correct me if i'm wrong) doesn't support it =(

Optln 2010-05-18 17:25

Re: [Android] NITDroid V2 Development Topic
 
Aahh, I can't find my MicroSD card :( . Anyway I have some questions:

-Is it possible to use SGX driver of Maemo with Android? As far as I know, they're closed source drivers. I mean, are we going to able to run live wallpapers for example.

-A similar question about GSM module: Isn't it a type of modem that needs a driver to work with the OS? Are you going to reverse engineer it or use another device's driver(Motorola Milestone for example)?

-Is this page yours: http://code.google.com/p/nitdroid/ If it is, do you plan to release the source code in here? It might speed up the project I guess(with bug tracing etc.).

Descalzo 2010-05-18 17:33

Re: [Android] NITDroid V2 Development Topic
 
Why does it need the GSM connection for Google Apps? Is this a GSM data connection or would just the voice connection do it?
I'm too busy to try this just yet (and also fear voiding my warranty), but I'm trying to wrap my brain around it just the same.

titi974 2010-05-18 17:41

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by Optln (Post 664523)
Aahh, I can't find my MicroSD card :( . Anyway I have some questions:

-Is it possible to use SGX driver of Maemo with Android? As far as I know, they're closed source drivers. I mean, are we going to able to run live wallpapers for example.

-A similar question about GSM module: Isn't it a type of modem that needs a driver to work with the OS? Are you going to reverse engineer it or use another device's driver(Motorola Milestone for example)?

-Is this page yours: http://code.google.com/p/nitdroid/ If it is, do you plan to release the source code in here? It might speed up the project I guess(with bug tracing etc.).

if you look at my 3rd video, you'll see that it works, but not very optimised yet lol so we'll need SGX drivers yes, but if you look, android market is closed source too, and i got it from a rom, so i'll maybe be able to get it from another rom !

google apps can't work without an internet connection, even the calendar, since it's related to your google account

he will have to answer that lol

Quote:

Originally Posted by Descalzo (Post 664533)
Why does it need the GSM connection for Google Apps? Is this a GSM data connection or would just the voice connection do it?
I'm too busy to try this just yet (and also fear voiding my warranty), but I'm trying to wrap my brain around it just the same.

look at was i just said ;)

ivnvir 2010-05-18 17:44

Re: [Android] NITDroid V2 Development Topic
 
a fast question:

do you (dj_steve or the others too) think that it'll be usable and stable any day? with all the features and everything working?

I mean, maybe you know that it's not possible or you THINK that it's not possible and vice-versa...

I actually have no clue...

twoboxen 2010-05-18 17:48

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by ivnvir (Post 664545)
a fast question:

do you (dj_steve or the others too) think that it'll be usable and stable any day? with all the features and everything working?

I mean, maybe you know that it's not possible or you THINK that it's not possible and vice-versa...

I actually have no clue...

Look at the iPhone... they now have Android pretty much fully working there. If they can do that, then, yes, it's possible. The key is finding the right people. Also, consider the USB Host question. So many people thought that was IMPOSSIBLE, but the right individuals, when dedicated, can do it. If we were able to get DJ_Steve some good help it might be pretty easy.

Perhaps all of us following this topic (though unable to help technically) can start trying to get help from others?

beagleboard devs, Android on iPhone devs, cyanogen, Android developers from Google, etc. Be creative and TRY to be helpful. Just continuing to come in and ask when it will be ready doesn't help anyone.

simons 2010-05-18 17:59

Re: [Android] NITDroid V2 Development Topic
 
is there a constantly update wiki for nitdroid, in addition to this thread? or where can i get the last updated install howto without spending hours reading the whole thread.

dj_steve 2010-05-18 18:02

Re: [Android] NITDroid V2 Development Topic
 
ok ill try and answer these questions in one post :

Quote:

-Is it possible to use SGX driver of Maemo with Android? As far as I know, they're closed source drivers. I mean, are we going to able to run live wallpapers for example.
i have the sgx drivers from the milestone in the android build (check folder /system/lib/egl) but currently they wont work on the n900 - not entirely certain why yet though i suspect its due to me using an older kernel than the milestone does (and noone has pointed me in the direction of a decent 2.6.29 kernel yet.- about to try a omap one thoug just for a laugh)

Quote:

-A similar question about GSM module: Isn't it a type of modem that needs a driver to work with the OS? Are you going to reverse engineer it or use another device's driver(Motorola Milestone for example)?
yes its a type of modem but as per usual for most nokia devices it has a propriety interface to access it called phonet (google it theirs pages of info on it) that basicly emulates a fake network link to the modem hardware, android by default wants a serial interface so im likely going to need to hack that a bit to work.
Quote:

-Is this page yours: http://code.google.com/p/nitdroid/ If it is, do you plan to release the source code in here? It might speed up the project I guess(with bug tracing etc.).
thats the old nitdroid code group, ill will be setting up a git repo when i get time - as im on a slow upload connection it takes ages to upload 2-3gb of files (android source is ~1.5-1.8gb)

Quote:

Why does it need the GSM connection for Google Apps? Is this a GSM data connection or would just the voice connection do it?
I'm too busy to try this just yet (and also fear voiding my warranty), but I'm trying to wrap my brain around it just the same.
it requires a normal mobile gsm connection as i suspect that google apps tie to the phones IMEI number/phone number - hence why you can activate a t-mobile g1 with google apps via wifi but only with a active sim(i have tried this myself and know its fact)

Quote:

a fast question:

do you (dj_steve or the others too) think that it'll be usable and stable any day? with all the features and everything working?

I mean, maybe you know that it's not possible or you THINK that it's not possible and vice-versa...

I actually have no clue...
its always been my belief that i will not give up until i get it working or get to an obsticle that cannot be routed/bodged/hacked around. i have more than enough free time after/before work and on days off and incentive to do this (ive used android for the last 2+ years on various devices and know its abilitys) and i think with the exception of nokias annoying gsm stack it should be doable

Quote:

is there a constantly update wiki for nitdroid, in addition to this thread? or where can i get the last updated install howto without spending hours reading the whole thread.
i try to keep nitdroid.com updated as best i can but i only have so much time :) anyone fancy helping out keeping it up to date throw me a message :)

excuse the mega post :)

dj_steve 2010-05-18 18:09

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by twoboxen (Post 664554)
Look at the iPhone... they now have Android pretty much fully working there. If they can do that, then, yes, it's possible. The key is finding the right people. Also, consider the USB Host question. So many people thought that was IMPOSSIBLE, but the right individuals, when dedicated, can do it. If we were able to get DJ_Steve some good help it might be pretty easy.

Perhaps all of us following this topic (though unable to help technically) can start trying to get help from others?

beagleboard devs, Android on iPhone devs, cyanogen, Android developers from Google, etc. Be creative and TRY to be helpful. Just continuing to come in and ask when it will be ready doesn't help anyone.

agreed their, i could especially use info/details on how nokia interface with the CMT (cell modem) from maemo and also if theirs any way to get access to it without phonet

ivnvir 2010-05-18 18:17

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by twoboxen (Post 664554)
Look at the iPhone... they now have Android pretty much fully working there. If they can do that, then, yes, it's possible. The key is finding the right people. Also, consider the USB Host question. So many people thought that was IMPOSSIBLE, but the right individuals, when dedicated, can do it. If we were able to get DJ_Steve some good help it might be pretty easy.

Perhaps all of us following this topic (though unable to help technically) can start trying to get help from others?

beagleboard devs, Android on iPhone devs, cyanogen, Android developers from Google, etc. Be creative and TRY to be helpful. Just continuing to come in and ask when it will be ready doesn't help anyone.

I don't know if you got what I was tryin' to say fully, anyway, I was just asking to know what to expect, I'm sure guys are doing an AMAZING job, even if it doesn't go "full features".

I just would like to know if I can expect it to work in a stable manner, usable...

If I had time and knowledge, I would support the effort, for sure!

dj_steve 2010-05-18 18:18

Re: [Android] NITDroid V2 Development Topic
 
well at min ive just borked my eclair build folder so thats a goot 6 hours of downloading to do again :( oh well

twoboxen 2010-05-18 18:23

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by dj_steve (Post 664592)
well at min ive just borked my eclair build folder so thats a goot 6 hours of downloading to do again :( oh well

git branch! It will save you.

titi974 2010-05-18 18:34

Re: [Android] NITDroid V2 Development Topic
 
how ??? and btw, is it a special kernel that you need ? one compiled for the milestone ? or just one working with nexus one will be ok ?

dj_steve 2010-05-18 18:35

Re: [Android] NITDroid V2 Development Topic
 
how what ? that post doesnt make much sense out of context titi

Descalzo 2010-05-18 18:39

Re: [Android] NITDroid V2 Development Topic
 
More questions about the GSM connection. I'm on a pay-as-you-go plan (NO real data plan) with only t-zones for mobile Internet. I get my gmail and google voice on it, though, so theoretically it should be all right, it sounds like.

dj_steve 2010-05-18 18:40

Re: [Android] NITDroid V2 Development Topic
 
yep, i dont think it strictly needs a data connection but needs a live active mobile signal

titi974 2010-05-18 18:40

Re: [Android] NITDroid V2 Development Topic
 
sorry ^^ how did you bork your eclair's build ?? and you did not answer my question about the kernel ^^

dj_steve 2010-05-18 18:41

Re: [Android] NITDroid V2 Development Topic
 
i ran rm -rf instead of rm -rf out

titi974 2010-05-18 18:43

Re: [Android] NITDroid V2 Development Topic
 
whoops... and what did it actually do ?

dj_steve 2010-05-18 18:44

Re: [Android] NITDroid V2 Development Topic
 
deleted half my build dir before i realised, what you refering to about kernel ?

titi974 2010-05-18 18:49

Re: [Android] NITDroid V2 Development Topic
 
this

Quote:

Originally Posted by dj_steve (Post 664639)
i have the sgx drivers from the milestone in the android build (check folder /system/lib/egl) but currently they wont work on the n900 - not entirely certain why yet though i suspect its due to me using an older kernel than the milestone does (and noone has pointed me in the direction of a decent 2.6.29 kernel yet.- about to try a omap one thoug just for a laugh)

and by the way, shouldn't you use the droid's build instead of the milestone ?? i just read this : https://supportforums.motorola.com/t...node0?tstart=0

dj_steve 2010-05-18 18:50

Re: [Android] NITDroid V2 Development Topic
 
milestones rootfs is not signed hence how i have extrated copy of it :)

titi974 2010-05-18 18:58

Re: [Android] NITDroid V2 Development Topic
 
ok'ay i'll stop talking :D

dj_steve 2010-05-18 19:00

Re: [Android] NITDroid V2 Development Topic
 
Lol.........

byte_76 2010-05-18 20:43

Re: [Android] NITDroid V2 Development Topic
 
It makes more sense to use the Milestone build because its the gsm version like N900 while the Droid is CDMA.
Do you agree or am I missing something?

dj_steve 2010-05-18 20:44

Re: [Android] NITDroid V2 Development Topic
 
agreed, shame the modems different :(

pingu 2010-05-18 21:47

Re: [Android] NITDroid V2 Development Topic
 
dj_steve: I've followed this topic from the beginning and the progress is amazing! and seems very usable and snapy. Do 3D android games work and take advantage of the gpu and Open-GL ES 2?

dj_steve 2010-05-18 21:49

Re: [Android] NITDroid V2 Development Topic
 
as said a few posts above the hw 3d is not running currently due to a mystery issue. - i have a new kernel to test but wont be doing that till 2morrow now,

twoboxen 2010-05-18 21:50

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by pingu (Post 664914)
dj_steve: I've followed this topic from the beginning and the progress is amazing! and seems very usable and snapy. Do 3D android games work and take advantage of the gpu and Open-GL ES 2?

No hardware accelerated graphics yet... which makes the performance all that much more impressive. It's going to be awesome when it leverages the graphics chip.

Siggen 2010-05-18 21:50

Re: [Android] NITDroid V2 Development Topic
 
Okay dj_steve,

Are you able to buy a new/better internet connection?
And I believe you said something about ruining your speaker on your N900?

So thats something you need money for, is there anything else you feel you need money for to develop Android for the N900 faster? like Coffe, or pizza to persuade good programming friends to come help you?

Please tell us if there is something you need and I just saw that you have a link for donating in your signature, but if there is something you need and can quantify (im not asking you to beg, but just state what we are able to help you with money for development)

Thanks

dj_steve 2010-05-18 21:57

Re: [Android] NITDroid V2 Development Topic
 
internets out of question because of where i live (max i can get is this crap 2.5mb down/800kbps up)

basicly what i need help with currently is getting info /help from nokia devs oin how maemo interfaces with phonet and if theirs any way to bypass said and access modem directly via a serial interface.

no i said the speaker system i used to demo the bluetooth audio on n8x0 has decided the bluetooth recieve on it doesnt want to work now for some reason hence i cant test the bluetooth on nitdroid n900 except to say it detects my other phone.

tho having said the mention of money as some of you know currently im building the entire os on a single core pc thats not exactly the fastest (~4-6hours for android build from scratch) so probably only thing that id really find useful at min would be that upgrade (other than the motivation it gives me to actualyl see people wanting this to happen.. ok mega post no 2 finished lol

dj_steve 2010-05-18 22:00

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by twoboxen (Post 664921)
No hardware accelerated graphics yet... which makes the performance all that much more impressive. It's going to be awesome when it leverages the graphics chip.

indeed, especially considering android 2.x base system relies heavily on opengles also.

as i said i have a new 2.6.29 based kernel to test (actually built off the offical android tree kernel) to test tomorrow

Siggen 2010-05-18 22:00

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by dj_steve (Post 664929)
ok mega post no 2 finished lol

I like your mega posts, their not exactly walls of text to people with the attention span of more than a 7 year old. So you would like money for a new CPU or a computer?

dj_steve 2010-05-18 22:06

Re: [Android] NITDroid V2 Development Topic
 
well persoanlly i like the system i have lol just i need to update this damn sempron 3000+ and unfortuantly the motehrboard that system runs doesnt do multi-core systems either :(

cb22 2010-05-18 22:33

Re: [Android] NITDroid V2 Development Topic
 
Have you looked at pnatd re the phone subsystem? It provides an AT interface... Maybe it would be possible to use psuedo-ttys and pnatd to emulate a normal serial-type modem?

EDIT: It seems pnatd can already do this:
Code:


Nokia-N900:~# pnatd --help
pnatd: invalid option -- -
Usage: pnatd [/dev/<tty_device_name> | -p] [-r]
Open a TTY line and handle AT commands from it using Phonet.
 -h  print this help and exit
 -p  create a pseudo-terminal instead of opening an existing terminal
 -r  restart whenever the terminal is hung up (until fatal error)
 -V  print version informations and exit


dj_steve 2010-05-18 22:42

Re: [Android] NITDroid V2 Development Topic
 
Yep ive seen pnatd but im not sure what at commands it accepts and dont know what tty it would use ?Would appreciate more info though...me and modems is not something im hugely experianced in yet

cb22 2010-05-18 22:48

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by dj_steve (Post 664980)
Yep ive seen pnatd but im not sure what at commands it accepts and dont know what tty it would use ?Would appreciate more info though...me and modems is not something im hugely experianced in yet

Well, if you run this command:
Code:

Nokia-N900:~# pnatd -p
/dev/pts/2

It outputs the name of the psuedo-terminal that it runs on... You can ln -s this to another device:

Code:

Nokia-N900:~# ln -s /dev/pts/2 /dev/modem
And then it can be accessed as if it were a bog standard serial device:

Code:

Nokia-N900:~# screen /dev/modem

AT
OK

ATDT100;
OK

<number is dialed>



All times are GMT. The time now is 01:38.

vBulletin® Version 3.8.8