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)

Bundyo 2008-12-20 20:23

Re: Another Android port: NITdroid
 
Yes, the first FAT partition is automatically mounted as an SD card.

Bundyo 2008-12-20 20:36

Re: Another Android port: NITdroid
 
Quote:

Originally Posted by mrp (Post 251170)
ok, that is enough info for me. I'm sure you guys know what you are doing. Bundyo, sorry to rush you again, but have you made any progress with 770 yet?

Where i was before - at the MMC driver. Seems like there were some commits this year that broke the driver, then two weeks ago they fixed it but it doesn't initialize for me. I'm starting to think to port the initialization from the old 2.6.16 kernel (it doesn't look too hard), since i can't get this one to initialize properly. If someone knows the meaning of

Code:

mmc0: error -22 whilst initialising MMC card
please do tell. Also the correct power and switch gpio pins may help.

gte619n 2008-12-20 20:54

Re: Another Android port: NITdroid
 
WOW! Sounds like this is getting REALLLLLY close!

Question: does the gmail and gcal/contacts applications work??

I'm PUMPED! This is great! Thanks for all your hard work guys!

Thesandlord 2008-12-20 21:32

Re: Another Android port: NITdroid
 
I had the same WiFi problem, but I managed to back up my settings before hand, so it works.

Where do you put the calibration tool? logcat still says that it is not found...
Code:

D/WifiService(  704): WifiService starting up with Wi-Fi enabled
I//system/bin/wlan_loader(  736): stlc45xx-cal calibration tool not present.
I//system/bin/wlan_loader(  736): Device will operate sub-obtimal.
I//system/bin/wlan_loader(  736): Download it from: http://stlc45xx.garage.maemo.org/
I//system/bin/wlan_loader(  736): Then place it at: /sdcard

I put it in the fat partition while in Maemo, is that right? Or should I push it with adb?

Also, I noticed this

W/HeadsetObserver( 704): This kernel does not have wired headset support

What does that mean?

Loving the LCD screen support, makes android "usable" as a full time device.

The soft keyboard, on the other hand, is horrible. Its hypersensitive, and pops up randomly. Is there a way for N810 users to disable it?

Also, SD card over USB works! Yes!

But still not time! Booo! <- (IMO, most important)

solca 2008-12-20 22:24

Re: Another Android port: NITdroid
 
Quote:

Originally Posted by spjndizzy (Post 251147)
I had to restore the Internal Keyboard layout file for the N800.

Quote:

Originally Posted by aek (Post 251173)
Sadly, but in this userspace image there is no correct keymap for n800 hardware buttons. Menu button works, but strange — it blocks device, and no way to unblock it (except reboot throught battery magic (: ).

Sorry, I forgot to include that layout file in the new userspace but is fixed now.

Quote:

Originally Posted by Bundyo (Post 251160)
Android requires newer kernel, i think it was 2.6.25. It was mentioned before and probably Solca can tell you more.

New Android Cupcake requires >=2.6.27 BTW.

Quote:

Originally Posted by Bundyo (Post 251229)
Seems like there were some commits this year that broke the driver, then two weeks ago they fixed it but it doesn't initialize for me. I'm starting to think to port the initialization from the old 2.6.16 kernel (it doesn't look too hard), since i can't get this one to initialize properly.

I plan too to port missing drivers to latest kernels, but I'm busy ATM with the selector.

Quote:

Originally Posted by Thesandlord (Post 251253)
Where do you put the calibration tool? logcat still says that it is not found...
...
I put it in the fat partition while in Maemo, is that right? Or should I push it with adb?

You must place it on the FAT partition (mmcblk0p1).

Quote:

Originally Posted by Thesandlord (Post 251253)
The soft keyboard, on the other hand, is horrible. Its hypersensitive, and pops up randomly. Is there a way for N810 users to disable it?

You can disable it in Settings.

Quote:

Originally Posted by Thesandlord (Post 251253)
But still not time! Booo! <- (IMO, most important)

Yes, I'm aware :eek: hopefully for the next release...

Thx to all for the massive support!

cyrus 2008-12-20 22:25

Re: Another Android port: NITdroid
 
Quote:

Originally Posted by Thesandlord (Post 251253)
I had the same WiFi problem, but I managed to back up my settings before hand, so it works.

Where do you put the calibration tool? logcat still says that it is not found...
Code:

D/WifiService(  704): WifiService starting up with Wi-Fi enabled
I//system/bin/wlan_loader(  736): stlc45xx-cal calibration tool not present.
I//system/bin/wlan_loader(  736): Device will operate sub-obtimal.
I//system/bin/wlan_loader(  736): Download it from: http://stlc45xx.garage.maemo.org/
I//system/bin/wlan_loader(  736): Then place it at: /sdcard

I put it in the fat partition while in Maemo, is that right? Or should I push it with adb?

Also, I noticed this

W/HeadsetObserver( 704): This kernel does not have wired headset support

What does that mean?

Loving the LCD screen support, makes android "usable" as a full time device.

The soft keyboard, on the other hand, is horrible. Its hypersensitive, and pops up randomly. Is there a way for N810 users to disable it?

Also, SD card over USB works! Yes!

But still not time! Booo! <- (IMO, most important)

How are you getting SD card over USB? Does it just show up on your PC when the cable is plugged in?

cyrus 2008-12-20 22:32

Re: Another Android port: NITdroid
 
Quote:

Originally Posted by Bundyo (Post 251227)
Yes, the first FAT partition is automatically mounted as an SD card.

If I have the SD card in while booting it hangs at boot. If I put the SD card in after booting it is not automatically mounted - I have to do it by hand running:

mount -t vfat /dev/block/mmcblk1p1 /sdcard

However, if I then run the Media player for instance it gives me an error stating "Unable to access SD card" and logcat shows

Code:

I/ActivityManager(  710): Starting activity: Intent { action=android.intent.action.MAIN categories={android.intent.category.LAUNCHER} flags=0x10200000 comp={com.android.music/com.android.music.MusicBrowserActivity} }
I/ActivityManager(  710): Start proc com.android.music for activity com.android.music/.MusicBrowserActivity: pid=1004 uid=10020 gids={3003}
I/ActivityManager(  710): Displayed activity com.android.music/.MusicBrowserActivity: 800 ms
I/ActivityManager(  710): Starting activity: Intent { action=android.intent.action.PICK data= type=vnd.android.cursor.dir/track comp={com.android.music/com.android.music.TrackBrowserActivity} }
D/MusicUtils( 1004): sd card: unmountable


Bundyo 2008-12-20 22:38

Re: Another Android port: NITdroid
 
@cyrus: We were talking that the first partition on the same card is mounted automatically, not the second card. :) However from what you say it seems that Android prefers to mount it itself, maybe it should be defined somewhere (e.g. in an fstab way)...

Bundyo 2008-12-21 01:23

Re: Another Android port: NITdroid
 
Quote:

Originally Posted by Bundyo (Post 251229)
Code:

mmc0: error -22 whilst initialising MMC card

Passed that stage - used fanoush's high speed kernel to build a correct and updated omap_mmc_platform_data structure to pass for initialization. Now i'm getting the error

Code:

mmc0: error -110 whilst initialising MMC card
:)

At least i'm sure that it happens later in the initialization :D

memson 2008-12-21 02:06

Re: Another Android port: NITdroid
 
Does the backlight now fade to black when not in use? That would be cool and make me not reflash back to Maemo right away next time round.

What is the best LINUX distro for Android dev? I'm thinking of ditching Ubuntu and going with OpenSuSE, as I want up to date Mono and Novel favours SuSE on that front. I figured out the Maemo dev kit should install as it uses tar.gz on non debian. So that was the thing holding me back. Don't want to jump ship if I'm on the best platform already.


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

vBulletin® Version 3.8.8