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)

maxkilla 2008-12-20 01:39

Re: Another Android port: NITdroid
 
im lost on where the logcat wants to find the file..i know what it saysto go but where does it go on the device? can i push it there?

memson 2008-12-20 01:43

Re: Another Android port: NITdroid
 
I'll be playing NIT kernel ping pong till Android can be dual booted, so next time I reflash, I'll give that a whirl.

memson 2008-12-20 01:46

Re: Another Android port: NITdroid
 
Quote:

Originally Posted by maxkilla (Post 251015)
im lost on where the logcat wants to find the file..i know what it saysto go but where does it go on the device? can i push it there?

Reading the output, I'd have to ask the same question. Is there an initfs partition for it to go on? should it just go in the equiv place on the Android FS we un-tar?

sachin007 2008-12-20 04:59

Re: Another Android port: NITdroid
 
Quote:

Originally Posted by Thesandlord (Post 250539)
noob friendly, as in no command line? Ok, because solca has better things to do (like fix the time), I'll do it on the weekend.

But, this is it in a nutshell.

You need:

Linux with gparted plus whatever it wants you to install.
Tablet running Maemo.
Free space on your memory card

First, plug in the tablet. The internel card should pop up as a drive.
Next, open gparted
Then, unmount drive.
Then, shrink the FAT32 partition, create a "unallocated" partition, then create a ext3 partition. so (fat,unallocated,ext3)
Then, copy the tar.bz2 file into the ext3 section
Open a terminal, and "change directory" into the card. Usually "cd /media/disk/"
type "sudo tar -xjvpf rootfs_nitdroid.tar.bz2"
Then, off the tablet and pull the charging cord from the tablet.
Hold down the home and switch buttons, and plug in the charger.
The tablet is now in USB update mode.
Download flasher-3.0
make sure the kernel image is in the same directory as the flasher.
Open terminal, and go to where the flasher is.
type "sudo ./flasher -f -k zImage-nitdroid-n8x0 -R" or "sudo ./flasher-3.0 -f -k zImage-nitdroid-n8x0 -R"

DONE!

I came until the last step.... where it says.
sudo: ./flasher-3.0 : command not found.

Someone please help me.

BrentDC 2008-12-20 05:03

Re: Another Android port: NITdroid
 
I think you need to DL the flasher-3.0 program from the Maemo website. If you already did, then make sure to make it executable.

sachin007 2008-12-20 05:05

Re: Another Android port: NITdroid
 
Quote:

Originally Posted by BrentDC (Post 251044)
I think you need to DL the flasher-3.0 program from the Maemo website. If you already did, then make sure to make it executable.

yeah i dowloaded it... how do i make it executable?

Thanks

BrentDC 2008-12-20 05:08

Re: Another Android port: NITdroid
 
You can do it via the GUI of pretty much any file-manager, but "chmod +x flasher-3.0" at the command line works, too.

solca 2008-12-20 11:28

Re: Another Android port: NITdroid
 
New files:

Kernel is now based on 2.6.28-rc9-omap.
Userspace is now based on Android git master which includes all the Cupcake goodies.

Notable changes in NITdroid is on-screen keyboard (double tap the input box), browser updated to Nov webkit, brightness works although is not tuned, install apps should work now and many other small enhancements.

If you download the WiFi calibration tool (stlc45xx-cal-0.1.2) and place it on mmcblk0p1 (/sdcard FAT partition) NITdroid will automatically copy it to it's right place and will use it subsecuently.

Enjoy! :D

anidel 2008-12-20 11:50

Re: Another Android port: NITdroid
 
Enjoying right now... :)

fpp 2008-12-20 12:04

Re: Another Android port: NITdroid
 
Wow, that was fast. I'm tempted to convert my N800 instead of letting it eat up its battery doing nothing under Diablo :-(

anidel 2008-12-20 12:20

Re: Another Android port: NITdroid
 
What could you do in Android that can't be done in diablo?

zehjotkah 2008-12-20 13:00

Re: Another Android port: NITdroid
 
where to i get the original diablo kernel (the kernel only...)

skorianez 2008-12-20 13:17

Re: Another Android port: NITdroid
 
How about any one here in ITT create a youtube video with new cupcake image?

meizirkki 2008-12-20 13:41

Re: Another Android port: NITdroid
 
Quote:

Originally Posted by zehjotkah (Post 251122)
where to i get the original diablo kernel (the kernel only...)

http://personal.inet.fi/surf/deweb/evo/goodimage

Bundyo 2008-12-20 13:57

Re: Another Android port: NITdroid
 
Is this the last one - 43-7?

meizirkki 2008-12-20 14:04

Re: Another Android port: NITdroid
 
nope .

zehjotkah 2008-12-20 14:32

Re: Another Android port: NITdroid
 
that means what?
do you have the newer one?

kender 2008-12-20 14:48

Re: Another Android port: NITdroid
 
Quote:

Originally Posted by solca (Post 251104)
New files:

Kernel is now based on 2.6.28-rc9-omap.
Userspace is now based on Android git master which includes all the Cupcake goodies.

Notable changes in NITdroid is on-screen keyboard (double tap the input box), browser updated to Nov webkit, brightness works although is not tuned, install apps should work now and many other small enhancements.

If you download the WiFi calibration tool (stlc45xx-cal-0.1.2) and place it on mmcblk0p1 (/sdcard FAT partition) NITdroid will automatically copy it to it's right place and will use it subsecuently.

Enjoy! :D

I'm trying right now the new CupCake version that you made on my N810. OnScreen Keyboard works but when you delete things (backspace) and then keep writing they appear again.

But my mayor concern comes from, ADB doesn't work any more and the Wifi is unable to scan even if you can turn it on (I tried twice with and without stlc45xx-cal).

Thanks for the control of the brightness though and all the other fixes (I couldn't try installing apps because I have no network or ADB to move files).

Ah by the way, exporting the /sdcard partition works perfectly :)

spjndizzy 2008-12-20 15:11

Re: Another Android port: NITdroid
 
All Right! This is fantastic. The virtual keyboard is alot better. I saved a copy of my wifi settings, they were stored in /data/misc/wifi/wpa_supplicant.conf. I had to restore the Internal Keyboard layout file for the N800.

Other than that no problems.

Thanks Solca!

jogorman 2008-12-20 15:17

Re: Another Android port: NITdroid
 
Cool upgrade. I am now getting a error that my browser cookie functions are disabled, yet I doubled checked the browser settings and they are turned on. Any ideas?

Thanks.

meizirkki 2008-12-20 15:18

Re: Another Android port: NITdroid
 
Quote:

Originally Posted by kender (Post 251144)
I'm trying right now the new CupCake version that you made on my N810. OnScreen Keyboard works but when you delete things (backspace) and then keep writing they appear again.

But my mayor concern comes from, ADB doesn't work any more and the Wifi is unable to scan even if you can turn it on (I tried twice with and without stlc45xx-cal).

Thanks for the control of the brightness though and all the other fixes (I couldn't try installing apps because I have no network or ADB to move files).

Ah by the way, exporting the /sdcard partition works perfectly :)

ADB works with me.
Wifi turns on but seems to be unable to scan (i did not try with stlc45xx-cal)
Btw, this seems to work really well now... it is possible to install apps via adb, and some of them are really useful.. I am looking forward to see the NITselector :D

mrp 2008-12-20 15:28

Re: Another Android port: NITdroid
 
first of all I've no idea what I'm talking about, but could it be possible to try 770 NITroid with older kernel, one used in os2006 and he2007 as using these it was possible to install Stskeeps´s Deblet on a mmc on 770

Bundyo 2008-12-20 16:01

Re: Another Android port: NITdroid
 
Android requires newer kernel, i think it was 2.6.25. It was mentioned before and probably Solca can tell you more.

maxkilla 2008-12-20 16:33

Re: Another Android port: NITdroid
 
i cant get the wifi to do anything on my n800 anyone else having wifi trouble? i set the access point to no security still nothing shows with a scan..have the calibration file on first fat part.

mrp 2008-12-20 16:35

Re: Another Android port: NITdroid
 
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?

aek 2008-12-20 16:46

Re: Another Android port: NITdroid
 
Quote:

Originally Posted by solca (Post 251104)
New files:
...
Notable changes in NITdroid is on-screen keyboard (double tap the input box), browser updated to Nov webkit, brightness works although is not tuned, install apps should work now and many other small enhancements.
...
Enjoy! :D

Thank you. Virtual keyboard makes nitdroid usable on n800.
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 (: ).

spjndizzy 2008-12-20 17:18

Re: Another Android port: NITdroid
 
Solca published an internal keyboard layout file you need to push into your n800.

http://www.internettablettalk.com/fo...&postcount=190

cyrus 2008-12-20 19:25

Re: Another Android port: NITdroid
 
I have asked this question a few times in this thread but have yet to see a response. How can I access the SD card. If I try to mount it using

mount -t ext3 /dev/block/mmcblk0p1 /sdcard

I get the following error:

mount: invalid argument

Any ideas?

meizirkki 2008-12-20 20:02

Re: Another Android port: NITdroid
 
for me, the first partition of the internal card (FAT) is automatically mounted...

Thesandlord 2008-12-20 20:08

Re: Another Android port: NITdroid
 
Why are you mounting a FAT partition as Ext3? Also, I think its automatically mounted, so look fo /sdcard before trying to mount anything.

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 05:47.

vBulletin® Version 3.8.8