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)

rwijnhov 2008-12-18 10:38

Re: Another Android port: NITdroid
 
ok a non command line version would be cool. I'll wait till next week then. thany verry much in advance.

spjndizzy 2008-12-18 10:54

Re: Another Android port: NITdroid
 
Hi BundYo

The touch screen was totally unresponsive with the new Framework.

gowen 2008-12-18 10:56

Re: Another Android port: NITdroid
 
1 Attachment(s)
If anyone is having trouble with adb not seeing your N8x0 on Windows XP, I have found a solution. The usb driver that comes with the SDK is only configured for the G1 and the HTC Touch. It does not have the vendor (VID) and product (PID) numbers for the the N8x0 port in the android_usb.inf file.

Using the Microsoft USBView - USB Connection Viewer from http://www.ftdichip.com/Resources/Utilities.htm I determined the PID needed to be 0001.

With this value added to android_usb.inf, the driver installed on Windows XP and running "adb devices" listed my N800.

I've attached a zip of my modified android_usb.inf, If it doesn't work for you try using USBView to check your VID and PID numbers.

fredoll 2008-12-18 11:01

Re: Another Android port: NITdroid
 
Quote:

Originally Posted by maxkilla (Post 250353)
if you can boot from usb try http://unetbootin.sourceforge.net/ it will download and make a linux usb stick for you..

The Ubuntu CD (taht you can receive by post for free) can do that for you : Boot from CD then choose install to USB ! et voila !

Fred

gowen 2008-12-18 11:40

Re: Another Android port: NITdroid
 
I installed the files as specified, but now none of the hardware keys on my N800 work, so I can't get past the screen lock and I will have to take the battery out to shut it down.

<edit>Copying the original files back in has restored the hardware key functionality.</edit>

I have also tried installing aKeyUI.apk, but it the device to reboot.

Quote:

Originally Posted by Bundyo (Post 250541)
Okay, compiled, but no time to try.

If someone wants to check if the keyboard works, download http://bundyo.dyndns.org/storage/framework.tar.bz2 and replace /system/framework on your card...


mrp 2008-12-18 12:54

Re: Another Android port: NITdroid
 
Quote:

Originally Posted by fredoll (Post 250568)
The Ubuntu CD (taht you can receive by post for free) can do that for you : Boot from CD then choose install to USB ! et voila !

Fred

simply install wubi inside windows

meizirkki 2008-12-18 13:38

Re: Another Android port: NITdroid
 
Wubi is soo shitty, i hate it, every computer i have installed ubuntu with wubi shows now busybox.

mrp 2008-12-18 14:41

Re: Another Android port: NITdroid
 
choose amount of disk space, create user and give password. For a noob like me could it get any easier?

gowen 2008-12-18 14:54

Re: Another Android port: NITdroid
 
Has anyone managed to install any applications on an N800 through adb. All my attempts have been met with a reboot. Here is the logcat output after running: adb -d install aKeyUI.apk

Code:

D/AndroidRuntime( 1249): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
D/AndroidRuntime( 1249): CheckJNI is OFF
D/AndroidRuntime( 1249): --- registering native functions ---
E/PackageManager( 1057): Couldn't create temp file for downloaded package file.
W/dalvikvm( 1057): threadid=25: thread exiting with uncaught exception (group=0x40013e28)
E/AndroidRuntime( 1057): Uncaught handler: thread PackageManager exiting due to uncaught exception
E/AndroidRuntime( 1057): *** EXCEPTION IN SYSTEM PROCESS.  System will crash.
E/AndroidRuntime( 1057): java.lang.NullPointerException
E/AndroidRuntime( 1057):        at com.android.server.PackageManagerService.installPackageLI(PackageManagerService.java:3299)
E/AndroidRuntime( 1057):        at com.android.server.PackageManagerService$4.run(PackageManagerService.java:3008)
E/AndroidRuntime( 1057):        at android.os.Handler.handleCallback(Handler.java:542)
E/AndroidRuntime( 1057):        at android.os.Handler.dispatchMessage(Handler.java:86)
E/AndroidRuntime( 1057):        at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 1057):        at android.os.HandlerThread.run(HandlerThread.java:60)
I/Process ( 1057): Sending signal. PID: 1057 SIG: 9
D/AndroidRuntime( 1249): Shutting down VM
D/dalvikvm( 1249): DestroyJavaVM waiting for non-daemon threads to exit
I/ActivityThread( 1111): Removing dead content provider: settings
I/ActivityThread( 1091): Removing dead content provider: settings
I/dalvikvm( 1249): DestroyJavaVM shutting VM down
D/dalvikvm( 1249): HeapWorker thread shutting down
D/dalvikvm( 1249): HeapWorker thread has shut down
D/jdwp    ( 1249): JDWP shutting down net...
D/dalvikvm( 1249): VM cleaning up


maxkilla 2008-12-18 15:15

Re: Another Android port: NITdroid
 
./adb push program name.apk /data/app i dont know if it is the right way to do it but the programs will show and run on my n800.

gowen 2008-12-18 15:28

Re: Another Android port: NITdroid
 
That worked treat. I now have a working on-screen keyboard although the stretch to fit the landscape screen means there is one column of very wide keys.

The whole copy/paste thing is not the most intuitive solution, but it gets the job done and will allow me to enter my WiFi Keys.

DeeJay_XB 2008-12-18 18:26

Re: Another Android port: NITdroid
 
gowen please tell me how did you install the virtual keyboard?
I have installed androin on my n800 but i don't have a virual keyboard and i cannot enter my wifi key...

meizirkki 2008-12-18 18:32

Re: Another Android port: NITdroid
 
look at the end of the page 25

DeeJay_XB 2008-12-18 20:04

Re: Another Android port: NITdroid
 
cannot install the adb driver on vista x32...it says the folder doesnt contain a compatible software driver (i have tryed this even on vista test mode...)

edit: works now :P

qole 2008-12-18 22:26

Re: Another Android port: NITdroid
 
Quote:

Originally Posted by meizirkki (Post 250675)
look at the end of the page 25

Just a note; not everyone has the same page length on this forum. For example, this thread is only 7 pages long with my settings.

Benson 2008-12-19 00:15

Re: Another Android port: NITdroid
 
Yeah, the thing to do is refer to post numbers, or better yet, link to them. The post number (blue, next to the report (http://www.internettablettalk.com/fo...ons/report.gif) button, in the default theme) is a link to that post (in a single-post view), and from there you can easily conjure a link to the thread, but bringing that post onscreen. (Something of the form http://www.internettablettalk.com/fo...634#post250634, which I think is the post meizirkki meant.)

zmartell 2008-12-19 01:03

Re: Another Android port: NITdroid
 
I have the N800 and i followed the guide on how to get it working but my nokia keeps showing the robot for like five minutes and then rebooting, and repeating.. like a reboot loop.

any ideas?
Would really like to get android working.

qole 2008-12-19 05:09

Re: Another Android port: NITdroid
 
Quote:

Originally Posted by zmartell (Post 250757)
...my nokia keeps showing the robot for like five minutes and then rebooting, and repeating.. like a reboot loop.

Well, actually, it would be better described as a robot loop.

:o

soupus 2008-12-19 05:28

Re: Another Android port: NITdroid
 
Quote:

Originally Posted by zmartell (Post 250757)
I have the N800 and i followed the guide on how to get it working but my nokia keeps showing the robot for like five minutes and then rebooting, and repeating.. like a reboot loop.

any ideas?
Would really like to get android working.

That was happening to me until i ran mkfs.vfat on the first partition of the 3 partitions that the guide tells you to make (so something like sudo mkfs.vfat /dev/mmcblk0p1). The guide doesn't explicitly say that this is required (it only mentions running mkfs.ext3 on /dev/mmcblk0p3), but after I did that it worked (I also reflashed the kernel after doing that, but I dont know if that's required).

Let me know if I can help any further!

sleepy_sanchez 2008-12-19 06:04

Re: Another Android port: NITdroid
 
probably everyone's heard of this, but there's going to be a bunch of updates to the android code
http://source.android.com/roadmap/cupcake
one of the new features is a virtual keyboard.

thanks a lot to all the people involved for all the port effort. Hopefully nokia 770 version will progress enough for me to try and return feedback. Correct me if I'm wrong, but there is no open source wireless drivers for it, right?

gowen 2008-12-19 06:18

Re: Another Android port: NITdroid
 
Using aKeyUI I was able to set up my WPA key and configure the email client to access googlemail through imap. It was painfully slow though. I have to press the top left corner of each button to make it register correctly and the whole switch app/type/copy/switch app/paste thing is cumbersome. However, for now it's the only working solution.

Bundyo 2008-12-19 08:08

Re: Another Android port: NITdroid
 
The other keyboard will probably be better, I'll give another go at compiling it tonight. Or maybe Solca can add it to his userspace.

Then I'll get back to trying to get 770 kernel MMC support working.

jcl 2008-12-19 09:35

Re: Another Android port: NITdroid
 
Quote:

Originally Posted by daperl (Post 250269)
<booming voice>And the OS God looked down upon the tablet and said, "I shall port Android to thee in four days!" And it was so. On the fifth day, audio roamed freely across the speakers. The OS God was pleased.</booming voice>

Truly awe inspiring from all of you.

What is the status of sound support for nitdroid?
It is definitely not in the latest versions @ http://guug.org/nit/nitdroid/.
Who knows?

mrp 2008-12-19 10:33

Re: Another Android port: NITdroid
 
Quote:

Originally Posted by Bundyo (Post 250807)
Then I'll get back to trying to get 770 kernel MMC support working.

please, do that. I´m sure there is an abundance of wanna be NITroid tablets waiting

fpp 2008-12-19 12:53

Re: Another Android port: NITdroid
 
Yup. Down with mothballs ! :-)

cyrus 2008-12-19 14:06

Re: Another Android port: NITdroid
 
I was trying to do a little bit of coding myself (big mistake I guess). I noticed that the kernel only has support for the TSC2005 while the N810 uses the TSC2301 driver. I enabled that driver instead but received some errors when booting. Any idea of the differenet drivers make that big of a deal?

memson 2008-12-19 15:14

Re: Another Android port: NITdroid
 
I'm planning to join the party :-) I just went out an bought a new SD card, so I'll give it a whirl tonight/tomorrow. I'm an N800 owner, by the way.

One question... USB host - is there any chance of that working? It would be nice to use an external keyboard (as I have one I use with my N800), but I don't have a auto switching adapter - I need echo a value to the /dev/somethingotother to get it to switch. Is that likely to work in Android? I wouldn't like host to be on all the time, coz that kills the battery really quickly, but the option to use it would be nice :-)

Bundyo 2008-12-19 17:57

Re: Another Android port: NITdroid
 
Quote:

Originally Posted by cyrus (Post 250872)
I was trying to do a little bit of coding myself (big mistake I guess). I noticed that the kernel only has support for the TSC2005 while the N810 uses the TSC2301 driver. I enabled that driver instead but received some errors when booting. Any idea of the differenet drivers make that big of a deal?

You're probably mistaken, since there is support for TSC2301 in Solca's kernel.

Bundyo 2008-12-19 17:58

Re: Another Android port: NITdroid
 
Quote:

Originally Posted by memson (Post 250883)
I'm planning to join the party :-) I just went out an bought a new SD card, so I'll give it a whirl tonight/tomorrow. I'm an N800 owner, by the way.

One question... USB host - is there any chance of that working? It would be nice to use an external keyboard (as I have one I use with my N800), but I don't have a auto switching adapter - I need echo a value to the /dev/somethingotother to get it to switch. Is that likely to work in Android? I wouldn't like host to be on all the time, coz that kills the battery really quickly, but the option to use it would be nice :-)

Didn't try it, but since the kernel driver is OTG maybe it will work...

memson 2008-12-19 20:59

Re: Another Android port: NITdroid
 
Well - fairly painless. Needed to reboot after the reflash, else it went in to the mass reboot loop. Now to fix WiFi! I can see one of my access points (I have two on different channels), but can't connect to it (even after setting the key). It starts to connect, but then never gets anywhere and states "disconnected"... Could it be something to do with regions? I'm in the UK and we probably use slightly different channel frequencies. I'll look to see if I can get the debugger giving more info I guess :-)

memson 2008-12-19 21:01

Re: Another Android port: NITdroid
 
Quote:

Originally Posted by Bundyo (Post 250913)
Didn't try it, but since the kernel driver is OTG maybe it will work...

Doesn't look like the devices are laid out the same, so I'm unclear it the same trick works. Don't have an OTA dongle, I have to manually flip it to host mode in Maemo.

memson 2008-12-19 21:06

Re: Another Android port: NITdroid
 
Log says:
D/SettingsWifiEnabler( 1261): Received wifi state changed from Disabling to Disabled
I//system/bin/wlan_loader( 1318): stlc45xx calibration tool not present.
I//system/bin/wlan_loader( 1318): Device will operate sub-obtimal.
I//system/bin/wlan_loader( 1318): Download it from: http://stlc45xx.garage.maemo.org/
I//system/bin/wlan_loader( 1318): Then place it at /usr/bin/stlc45xx in the initfs partition.
D/SettingsWifiEnabler( 1261): Received wifi state changed from Disabled to Enabling
V/WifiMonitor( 617): Event [CTRL-EVENT-SCAN-RESULTS Ready]
V/WifiMonitor( 617): Event [Trying to associate with 00:1b:2f:3e:78:52 (SSID='home2' freq=2452 MHz)]
V/WifiMonitor( 617): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=3]
I/BluetoothHeadset( 617): Proxy object is now connected to Bluetooth Headset Service
D/SettingsWifiEnabler( 1261): Received wifi state changed from Enabling to Enabled
V/WifiStateTracker( 617): Connection to supplicant established, state=ASSOCIATING
D/dalvikvm( 617): GC freed 14086 objects / 599112 bytes in 240ms
V/WifiStateTracker( 617): Changing supplicant state: ASSOCIATING ==> ASSOCIATING
V/WifiMonitor( 617): Event [CTRL-EVENT-SCAN-RESULTS Ready]
V/WifiMonitor( 617): Event [CTRL-EVENT-SCAN-RESULTS Ready]
V/WifiMonitor( 617): Event [Authentication with 00:1b:2f:3e:78:52 timed out.]
V/WifiMonitor( 617): Event [CTRL-EVENT-STATE-CHANGE id=0 state=0]
V/WifiStateTracker( 617): Changing supplicant state: ASSOCIATING ==> DISCONNECTED
V/WifiMonitor( 617): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=2]
V/WifiStateTracker( 617): Changing supplicant state: DISCONNECTED ==> SCANNING
V/WifiMonitor( 617): Event [CTRL-EVENT-SCAN-RESULTS Ready]
V/WifiMonitor( 617): Event [Trying to associate with 00:1b:2f:3e:78:52 (SSID='home2' freq=2452 MHz)]
V/WifiMonitor( 617): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=3]
V/WifiStateTracker( 617): Changing supplicant state: SCANNING ==> ASSOCIATING
D/WifiStateTracker( 617): Deconfiguring interface and stopping DHCP
D/SettingsWifiEnabler( 1261): Received network state changed to NetworkInfo: type: WIFI, state: DISCONNECTED/DISCONNECTED, reason: (unspecified), extra: (none), failover: false, isAvailable: true
V/WifiMonitor( 617): Event [Authentication with 00:1b:2f:3e:78:52 timed out.]
V/WifiMonitor( 617): Event [CTRL-EVENT-STATE-CHANGE id=0 state=0]
V/WifiStateTracker( 617): Changing supplicant state: ASSOCIATING ==> DISCONNECTED
V/WifiMonitor( 617): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=2]
V/WifiStateTracker( 617): Changing supplicant state: DISCONNECTED ==> SCANNING
V/WifiMonitor( 617): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=2]
V/WifiStateTracker( 617): Changing supplicant state: SCANNING ==> SCANNING
D/WifiStateTracker( 617): Deconfiguring interface and stopping DHCP
D/SettingsWifiEnabler( 1261): Received network state changed to NetworkInfo: type: WIFI, state: DISCONNECTED/DISCONNECTED, reason: (unspecified), extra: (none), failover: false, isAvailable: true

memson 2008-12-19 21:10

Re: Another Android port: NITdroid
 
Mac address filtering? I have it turned on, but my NIT is already added. However, does Android use that MAC address? Or does the MAC address come out as 00:02:EE:C0:FF:EE ?? I see that one as "available to add".

memson 2008-12-19 21:15

Re: Another Android port: NITdroid
 
YES! The MAC address is coming out screwy. If you have MAC addree filtering on (and mine is at two levels) id doesn't authenticate.

jcl 2008-12-19 21:27

Re: Another Android port: NITdroid
 
Quote:

Originally Posted by memson (Post 250972)
YES! The MAC address is coming out screwy. If you have MAC addree filtering on (and mine is at two levels) id doesn't authenticate.

I can confirm:
had the same prob,
disabled filtering for now untill fixed ;-(

memson 2008-12-19 22:11

Re: Another Android port: NITdroid
 
Quote:

Originally Posted by jcl (Post 250977)
I can confirm:
had the same prob,
disabled filtering for now untill fixed ;-(

The MAC address seems to always be 0002EEC0FFEE, so you could add that to the filter. Probably safer to prevent the casual security cracker.

Thesandlord 2008-12-19 22:28

Re: Another Android port: NITdroid
 
Quote:

Originally Posted by memson (Post 250990)
The MAC address seems to always be 0002EEC0FFEE, so you could add that to the filter. Probably safer to prevent the casual security cracker.

Yeah, but now everyone is going to be checking 0002EEC0FFEE. :D

And Coffee? LOL.....

memson 2008-12-19 22:48

Re: Another Android port: NITdroid
 
Quote:

Originally Posted by Thesandlord (Post 250994)
Yeah, but now everyone is going to be checking 0002EEC0FFEE. :D

And Coffee? LOL.....

But without MAC address filtering, everyone who reads this thread will know how to get past that MAC address.... AND the entire world that doesn't will be able to get on to your network if they can crack the other security, So long as you're at least using WPA, the fact a MAC address is public isn't going to help anymore than not filtering at all - but not everyone reads this thread :-) (assuming that Google didn't set that MAC address..)

memson 2008-12-19 22:54

Re: Another Android port: NITdroid
 
A quick Google shows only NIT hits for that MAC address really. A few for this thread (bloomin' eck that was fast Google!) and some on a thread sating Debian falls bacl to that MAC address. So I'm guessing it's either kernel/driver/chipset doing it?!?!!

solca 2008-12-19 23:51

Re: Another Android port: NITdroid
 
The fake MAC address problem is because you need the binary calibration tool for the new driver as pointed by the logcat output. It can't be shipped with NITdroid as it is not distributable by Nokia but you can download it and place it in the right place (again as suggested by the logcat output) and NITdroid will use it.

It is optional but if present the calibration tool will set the real MAC address, better calibration data plus other undisclosed parameters (maybe region frequencies, etc).


All times are GMT. The time now is 04:27.

vBulletin® Version 3.8.8