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)

twoboxen 2010-05-11 13:46

Re: [Android] NITDroid V2 Development Topic
 
is there a way to see what the phone /dev node is back tracking from the network interface phonet0?

dj_steve 2010-05-11 13:48

Re: [Android] NITDroid V2 Development Topic
 
im going to guess maybe cmt_speech as theirs no phonet0

Siggen 2010-05-11 14:04

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by dj_steve (Post 653478)
im going to guess maybe cmt_speech as theirs no phonet0

Im not sure if this would work, but what about SSHing into the phone and launching the phone application through the terminal there, so you could se the terminal output when the phone application is in use?

dj_steve 2010-05-11 16:26

Re: [Android] NITDroid V2 Development Topic
 
UPDATE::
serious progress is being made today, wifi now powers up but will not scan for networks (not much of a problem realyl)

phone/sound is still MIA,
boot time is silly fast - as in i could boot from off to home in about 10 secs if that and whole os is very very fast

using my own rootfs now with few parts stolen from previosu and loading a variety of modules

progres is none the less being made fairly quickly now

edit: if anyone could advise me as to how to do the overclock edits id be willing to add them into my kernel also

DaSilva 2010-05-11 16:30

Re: [Android] NITDroid V2 Development Topic
 
Great to hear!
Maybe we can get something like "Easy Debian" in extras-devel with a simple image file and dual boot working.
Would be awesome, especially if the Google Apps would work.

dj_steve 2010-05-11 16:31

Re: [Android] NITDroid V2 Development Topic
 
until phone side is working i cant touch google apps (i suspect from my attempts at them on n8x0 they need a data connection

OptX 2010-05-11 16:32

Re: [Android] NITDroid V2 Development Topic
 
Nice to hear that it is getting better and better. Thx 4 all your effort dj_steve.
I hope that this will work someday with other then the original kernels :)

dj_steve 2010-05-11 16:34

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by OptX (Post 653784)
Nice to hear that it is getting better and better. Thx 4 all your effort dj_steve.
I hope that this will work someday with other then the original kernels :)

unless android rapidly changes its design that wont happen due to the way it interfaces with kernel drivers

OptX 2010-05-11 16:43

Re: [Android] NITDroid V2 Development Topic
 
sorry, maby i wrote it the wrong way ? I thought about patching titans kernel :)

dj_steve 2010-05-11 16:44

Re: [Android] NITDroid V2 Development Topic
 
yea id love to patch titans kern but currently i dont think source released for it ?

OptX 2010-05-11 16:47

Re: [Android] NITDroid V2 Development Topic
 
dont think so too. Will the patch have any side effects to the maemo system ?If not, why not asking him ? He included patches from others too :)

dj_steve 2010-05-11 16:48

Re: [Android] NITDroid V2 Development Topic
 
currently the kernel im using wont even touch maemo (as in it boots directly to the sd card not to internal storage - though ive just got android to see and mount the internal MyDocs partition so i have 27gb sdcard available lol

OptX 2010-05-11 16:57

Re: [Android] NITDroid V2 Development Topic
 
LOL and damn ... I think booting direct sd is not a good option for a patch for titans kernel :(
Maby he can make us a own android one hehe. Booting direct = no bootloader atm ?

dj_steve 2010-05-11 16:59

Re: [Android] NITDroid V2 Development Topic
 
yea mainly for testing at min, saves screwing up maemo so much as currently i dont touch anything in maemo fs

Siggen 2010-05-11 20:00

Re: [Android] NITDroid V2 Development Topic
 
I dont know if I did something redundant, but I sent Titan a PM with pretty please about helping you with the overclocking of NITdroid. I said you were interested :)

dj_steve 2010-05-11 20:01

Re: [Android] NITDroid V2 Development Topic
 
lol sounds like a plan to me :)

Siggen 2010-05-11 20:07

Re: [Android] NITDroid V2 Development Topic
 
If the overclocking module would make Android faster and last longer on battery, then THINK OF HOW AWESOME IT WOULD BE!!

I hope to see a comparison between how fast Android is on the N900 (with and without overclocking) and the fastest Android phone on the marked.

titan 2010-05-11 20:13

Re: [Android] NITDroid V2 Development Topic
 
just got Siggen's PM. I'm not familiar with NITdriod, but the source for my kernel is in extras
and in git repository https://garage.maemo.org/projects/kernel-power
If your kernel patches don't conflict with Maemo5 we could integrate them into my kernel,
otherwise there is the option to boot another kernel with kexec (I have added the latest patches but couldn't find time to really test them) from bootmenu.

dj_steve 2010-05-11 20:46

Re: [Android] NITDroid V2 Development Topic
 
id appreciate the input titan, nitdroid a resurrected project so im not surprised you havent heard ;)

Siggen 2010-05-11 22:59

Re: [Android] NITDroid V2 Development Topic
 
So would the easiest way be to modify the OC kernel, or to add the OC modules to the NITdroid kernel?

ScottE 2010-05-12 01:41

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by dj_steve (Post 652255)
next thing im looking at is activation maemos swap and disabling android Low mem killer (somehow suspect its not really going to be needed much on 200+mb ram

It's still needed. The Android process manager is actually very efficient for a pretty decent range of system sizes. You should look at tuning the /sys/module/lowmemorykiller/parameters/minfree variable (check out the thread at http://forum.xda-developers.com/showthread.php?t=622666 for some investigation), but certainly don't disable it.

Even on my Nexus one (which has ~400MB of usable RAM for userspace applications), Android is reliant on the memory killer.

Also note that you don't want a huge swap, unless the N900's NAND access is _really_ fast. It's often faster to suspend/resume processes in Android than page parts back into working memory.

BTW, great work. Hoping you get back to the N8x0 port sometime, so I can use my N800 again. :-)

twoboxen 2010-05-12 02:10

Re: [Android] NITDroid V2 Development Topic
 
I guess this question is for either titan or DJ_Steve...

How do we leverage kexec in titan's kernel to boot Android off of the microsd card? Do you still need bootmenu or how do you configure the Android boot option?

Termana 2010-05-12 03:42

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by twoboxen (Post 654389)
I guess this question is for either titan or DJ_Steve...

How do we leverage kexec in titan's kernel to boot Android off of the microsd card? Do you still need bootmenu or how do you configure the Android boot option?

kexec allows you to boot one kernel and then transfer to another (as well as another rootfs). So if you were looking for a dual boot situation with titans kernel for Maemo and a kernel for Android, you can run a script in Maemo (with titans kernel) to change over to the Android kernel and boot MMC.

dj_steve 2010-05-12 06:31

Re: [Android] NITDroid V2 Development Topic
 
that soujnds like best way if we can do it.

dj_steve 2010-05-12 06:39

Re: [Android] NITDroid V2 Development Topic
 
ok just had to post this link here when i saw it on twitter - - http://www.engadget.com/2010/05/12/n...und-the-edges/ << im beginning to get slightly famous ere

notnarb 2010-05-12 06:47

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by dj_steve (Post 654590)
ok just had to post this link here when i saw it on twitter - - http://www.engadget.com/2010/05/12/n...und-the-edges/ << im beginning to get slightly famous ere

Yes, I agree, there's clearly too much at stake to continue this highly rewarding effort of porting android to the n900. I think I speak for everyone when i say that this port is now a lost cause, and that work on porting android to the n8X0 devices should resume as usual.


jk have fun with your new, cool friends :'(

dj_steve 2010-05-12 06:50

Re: [Android] NITDroid V2 Development Topic
 
lol n8x0 will be back soon :) im still thinking on how toget sound working on them

nosa101 2010-05-12 06:51

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by dj_steve (Post 654590)
ok just had to post this link here when i saw it on twitter - - http://www.engadget.com/2010/05/12/n...und-the-edges/ << im beginning to get slightly famous ere


I sent that last night. I thought they were never going to post it. Hahah

dj_steve 2010-05-12 06:54

Re: [Android] NITDroid V2 Development Topic
 
lol looks like ya wrong :) ive got more progress than that vid neway now just need to get vidd done later

bandora 2010-05-12 08:38

Re: [Android] NITDroid V2 Development Topic
 
Now all we need is Android 2.2 running on the N900.... xD <3

brog 2010-05-12 09:58

Re: [Android] NITDroid V2 Development Topic
 
Could anyone make a step-by-step guiide on how to install Android on the N900? Would really, really like to try it out :)

bcjenkins 2010-05-12 10:06

Re: [Android] NITDroid V2 Development Topic
 
I was looking at the status here and I didn't notice GPS in the list of components. Will it be supported as part of the cellular chip?

Thanks for doing this!

B

dj_steve 2010-05-12 12:12

Re: [Android] NITDroid V2 Development Topic
 
gps will get supported but as yet e dont have phone support of wifi/bt so its not too high on the list :)

qwazix 2010-05-12 12:22

Re: [Android] NITDroid V2 Development Topic
 
A little spin-off question, but as Android is running "on" a linux kernel (am I right?) can't it just run as an app in maemo? So that we could take advantage of all the android apps, but at the same time being able to switch to the loveable pc-ish style of maemo whenever we want.

dj_steve 2010-05-12 12:23

Re: [Android] NITDroid V2 Development Topic
 
not exactly as android uses special kernel modules to run, and takes over the graphics etc systems which io doubt maemo would appreciate

twoboxen 2010-05-12 12:29

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by Termana (Post 654455)
kexec allows you to boot one kernel and then transfer to another (as well as another rootfs). So if you were looking for a dual boot situation with titans kernel for Maemo and a kernel for Android, you can run a script in Maemo (with titans kernel) to change over to the Android kernel and boot MMC.

So when you kexec a second kernel it shuts down the first session or is that still live? I imagine leaving all the Maemo processes running wouldn't be the best for performance.

Also, where is documentation or an example of how the script should look. We should probably start writing one to be able to boot DJ's rootfs when he's ready.

dj_steve 2010-05-12 12:33

Re: [Android] NITDroid V2 Development Topic
 
cheers twoboxen

in-effect 2010-05-12 17:03

Re: [Android] NITDroid V2 Development Topic
 
Given that Android has just overtaken iPhoneOS in market share (in the US at least), why doesn't Google code an n900 build? Given it's similarity to the Droid it shouldn't be much trouble (with respect to the great efforts made here) and would add another Android device to their list.

Saying that, I'm not as naive as I'm sounding - obviously the small issue of the n900 being a Nokia device has something to do with it. Just dreaming really...

nikul.padhya 2010-05-12 17:21

Re: [Android] NITDroid V2 Development Topic
 
Hey dj_steve, Nice work dude.

Well I have N900 (US, T-Mobile) and if you need any testing to be done. I can do it for you on my device.

I am a software engg. new to Linux and would be happy to contribute in any way in this project.

Thanx for your work.

twoboxen 2010-05-12 17:39

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by nikul.padhya (Post 655465)
Hey dj_steve, Nice work dude.

Well I have N900 (US, T-Mobile) and if you need any testing to be done. I can do it for you on my device.

I am a software engg. new to Linux and would be happy to contribute in any way in this project.

Thanx for your work.

join us on the #nitdroid channel.


All times are GMT. The time now is 15:33.

vBulletin® Version 3.8.8