maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   [Android] Another Android port: NITdroid (https://talk.maemo.org/showthread.php?t=25410)

zehjotkah 2008-12-16 13:47

Re: Another Android port: NITdroid
 
so now the home button works... but how do we quit a program?

solca 2008-12-16 17:33

Re: Another Android port: NITdroid
 
Quote:

Originally Posted by cyrus (Post 249819)
Can you post the updated patch on your website? Also, the link to the userspace patch is broken.

Thanks

Both patches plus config for kernel regenerated to match latest release and link fixed.

solca 2008-12-16 17:34

Re: Another Android port: NITdroid
 
Quote:

Originally Posted by zehjotkah (Post 249894)
so now the home button works... but how do we quit a program?

You don't need to, Android automatically will kill programs when needed.

kender 2008-12-16 19:55

Re: Another Android port: NITdroid
 
Quote:

Originally Posted by jcl (Post 249821)
Application installation seems broken:
from shell, from browser crashes&reboots
Any other means?

Found a solution myself:
sudo ./adb push xxx.apk /data/app

I have the same problem, I tried making the partitions bigger, but no luck, I think it must be something about permissions as the error says that the temporary file can't be created (today I found out that they are store in /data/local/tmp

Thanks for the trick, it worked for me :D

(Running latest release with Home button supported and so, thanks again Solca)

skorianez 2008-12-16 20:33

Re: Another Android port: NITdroid
 
I want android in my N800 !!! :p

The keyboard issue seems to be solved by:
http://www.dotphone.org/viewthread.p...extra=page%3D1

best regards for all.

Bundyo 2008-12-16 21:30

Re: Another Android port: NITdroid
 
Now I'm trying on my N800 at least to see what i should get at the end :)

Problem - doesn't boot at all - blinking and stuff, ADB working, logcat shows its choking on media...

Code:

I/ServiceManager( 1185): Waiting for sevice media.audio_flinger...
I/ServiceManager( 1185): Waiting for sevice media.audio_flinger...
W/AudioSystem( 1185): AudioFlinger not published, waiting...
I/ServiceManager( 1185): Waiting for sevice media.audio_flinger...
I/ServiceManager( 1185): Waiting for sevice media.audio_flinger...
I/ServiceManager( 1185): Waiting for sevice media.audio_flinger...
I/ServiceManager( 1185): Waiting for sevice media.audio_flinger...
I/ServiceManager( 1185): Waiting for sevice media.audio_flinger...
W/AudioSystem( 1185): AudioFlinger not published, waiting...
I/ServiceManager( 1185): Waiting for sevice media.audio_flinger...
I/ServiceManager( 1185): Waiting for sevice media.audio_flinger...
I/        ( 1344): ServiceManager: 0xaab8
E/AudioHardwareALSA( 1344): Unable to attach mixer to device AndroidPlayback: No such file or directory
E/AudioHardwareALSA( 1344): Unable to attach mixer to device default: No such file or directory
E/AudioHardwareALSA( 1344): Unable to attach mixer to device AndroidRecord: No such file or directory
E/AudioHardwareALSA( 1344): Unable to attach mixer to device default: No such file or directory
I/DEBUG  (  587): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG  (  587): Build fingerprint: 'nokia/nit/nit/:1.0/TC3/eng.solca.20081215.185205:eng/test-keys'
I/DEBUG  (  587): pid: 1344, tid: 1344  >>> mediaserver <<<
I/DEBUG  (  587): signal 11 (SIGSEGV), fault addr 00000010
I/DEBUG  (  587):  r0 00000000  r1 ab749e8c  r2 0000ac78  r3 00000000
I/DEBUG  (  587):  r4 0000ac78  r5 ab753080  r6 ab753be4  r7 00000000
I/DEBUG  (  587):  r8 0000ac78  r9 00000000  10 00000000  fp beab8b3c
I/DEBUG  (  587):  ip 00000018  sp beab8a98  lr ab715d30  pc ab722ff8  cpsr 00000010
I/ServiceManager( 1185): Waiting for sevice media.audio_flinger...
I/DEBUG  (  587):          #00  pc ab722ff8  /system/lib/libaudio.so
I/DEBUG  (  587):          #01  pc ab715d2c  /system/lib/libaudio.so
I/DEBUG  (  587):          #02  pc ab716044  /system/lib/libaudio.so
I/DEBUG  (  587):          #03  pc ab713c8c  /system/lib/libaudio.so
I/DEBUG  (  587):          #04  pc ab0116be  /system/lib/libaudioflinger.so
I/DEBUG  (  587):          #05  pc ab011828  /system/lib/libaudioflinger.so
I/DEBUG  (  587):          #06  pc 0000875c  /system/bin/mediaserver
I/DEBUG  (  587):          #07  pc afe1e0aa  /system/lib/libc.so
I/DEBUG  (  587):          #08  pc afe0b09c  /system/lib/libc.so
I/DEBUG  (  587):          #09  pc b0000d70  /system/bin/linker
I/DEBUG  (  587): stack:
I/DEBUG  (  587):    beab8a58  00000003 
I/DEBUG  (  587):    beab8a5c  afe20821  /system/lib/libc.so
I/DEBUG  (  587):    beab8a60  ab749e88  /system/lib/libaudio.so


gte619n 2008-12-16 21:51

Re: Another Android port: NITdroid
 
Hey guys,

I'm having a ton of fun tracking the progress of the project on this forum and had a quick question. I think I read on another thread or forum that NITdroid would not be able to include the Google Apps (Mail, Cal, Contact, etc) because of licensing issues?

Is that true?! SAY IT AIN'T SO!!

Thanks! Evan

qole 2008-12-16 22:02

Re: Another Android port: NITdroid
 
Thanks Bundyo, I want to see someone with an N800 get this debugged before I attempt it.

solca 2008-12-17 00:27

Re: Another Android port: NITdroid
 
Quote:

Originally Posted by Bundyo (Post 250001)
Now I'm trying on my N800 at least to see what i should get at the end :)

Problem - doesn't boot at all - blinking and stuff, ADB working, logcat shows its choking on media...

Bundyo:

Thanks for trying and debugging this! right now I'm uploading an experimental userspace without the media (ALSA sound) part, can you check again on your N800?

(If you get 404 is still uploading as my Internet is not very fast)

This one should go past the mediaserver crashing on N800...hopefully...

EDIT: this is in the regular userspace now.

Vid 2008-12-17 00:47

Installing NITdroid from Diablo
 
I don't have access to a Linux system right now, but I was able to install the latest NITdroid directly from diablo. To make this work, you must install bzip2 and e2fsprogs on Maemo first. Note that I had to grab e2fsprogs from chinook, as there doesn't seem to be a .deb for diablo. Just install from

Code:

deb http://repository.maemo.org chinook free non-free extras
Next, you need to download the latest kernel and filesystem from http://guug.org/nit/nitdroid/. Fire up an xterm, and get a root shell using your favorite method (`sudo su' works for me). To repartition the internal flash, use the following commands:

Code:

sudo su
sfdisk -uM --no-reread /dev/mmcblk0
# In sfdisk, use the following commands
,356,C
0,0
,,L
,,
y

# sfdisk exits.  At the command prompt, type:
reboot

After the reboot, start another xterm and get a root shell. Then use the following commands to build new filesystems and flash the kernel:

Code:

sudo su
mkdosfs /dev/mmcblk0p1
mkfs.ext3 /dev/mmcblk0p3
mount /dev/mmcblk0p3 /mnt
cd /mnt
bzcat /path/to/rootfs_nitdroid.tar.bz2 | tar -xpvf -
cd /
umount /mnt
fiasco-flasher -k /path/to/zImage-nitdroid-n8x0 -f
reboot
# Don't forget to remove the mini-SD card!

Note that Android will reboot every 5 min or so as I haven't figured out a way to enable R&D mode using fiasco-flasher, so you'll need to fix that with adb from a Linux system. But this was enough to get me up and running right away :) Great work Solca! And thanks to b-man for the idea that I could get this working without a Linux host too ;)


All times are GMT. The time now is 07:25.

vBulletin® Version 3.8.8