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 2009-01-15 15:33

Re: Another Android port: NITdroid
 
sorry only been following this thread..

EasternPA 2009-01-15 16:13

Re: Another Android port: NITdroid
 
Anyone else not trusting the battery charging? I plugged it in at 10% last night and woke up with it at 7%. I quickly reflashed back to Maemo just so I could recharge it all morning, but I'm nervous that I'm going to wake to a completely dead battery one day and not be able to reflash back to Maemo.

memson 2009-01-15 16:22

Re: Another Android port: NITdroid
 
Quote:

Originally Posted by EasternPA (Post 257787)
so while Maemo is an option on the
shutdown menu, no is not a seamless reboot at this time.

You can reboot to Maemo in "some way" is good enough. I got an iPhone last week, so this isn't such a big deal and I might wait, but good to know anyway.

EasternPA 2009-01-15 16:50

Re: Another Android port: NITdroid
 
Quote:

Originally Posted by memson (Post 257813)
You can reboot to Maemo in "some way" is good enough. I got an iPhone last week, so this isn't such a big deal and I might wait, but good to know anyway.

Switching between Nitdroid and Maemo is painless and takes under 2 minutes so long as you have your Linux host handy and the usb cable dangling from it. Power down the nit, run the appropriate nitdroid flasher depending on which direction you wish to switch, hook up the cable, boot the nit up in flash mode, and the flash takes under 5 seconds on my CentOS 5 box. But switching OSes while I'm away from my linux host? Not unless someone can post Windows instructions.

Booting ubuntu live on my thinkpad failed to detect the wifi or the RJ. No internet, no flashing. I would love to see a bootable USB key specifically for this project. I forgot to try Knoppix now that I think about it. Maybe Gentoo as well. I need to be able to flash from my laptop.

memson 2009-01-15 22:15

Re: Another Android port: NITdroid
 
You misunderstand, I don't want to reflash I just want to be able to boot to Maemo if Nitdroid is installed.. I though Solca had mentioned that was in the release he did after Christmas. I thought it was planned to boot to Maemo, but that you'd need to boot to Android first and then Maemo.

I don't have LINUX installed anymore as it imploded (hard drive died in the machine) and so I'd be using OS X to flash.

EasternPA 2009-01-15 22:20

Re: Another Android port: NITdroid
 
Oh hey.. yeah i understood clearly.. that's why I clarified it for you. It appeared that you thought we can switch back and forth somewhat painlessly, but there is a 5 second flash still in the process no matter which way you want to switch. No soft switching at all yet.

macit 2009-01-16 08:32

Re: Another Android port: NITdroid
 
Quote:

Originally Posted by macit (Post 257531)
Newbie question... I used the nitdroid_complete.sh script (thanks jakemaheu). It went fine all the way to "cleanup complete". I got the R&D mode screen, unplugged the USB, got the black screen and then got the NITDROID logo, but it got stuck there.

I tried doing the whole thing over again but still - no luck.

Any ideas?

I got it to work...

The issues I had (btw, all are due to me being newbie... :) )
1. I used Mandriva. It doesn't come with 'sudo' by default. I had to install it. (took me sometime to figure it out..)
2. My N800 was turned off in the first few attempts... :confused:
3. The whole sfdisk part just refused to work using the complete script. I had to run it manually using the "easy-guide" (thanks jakemaheu again).

It works!!! and it is beautiful. Thanks Solca and thank you all for your AMAZING work!

whouweling 2009-01-16 12:34

Re: Another Android port: NITdroid
 
Quote:

Originally Posted by EasternPA (Post 257810)
Anyone else not trusting the battery charging? I plugged it in at 10% last night and woke up with it at 7%. I quickly reflashed back to Maemo just so I could recharge it all morning, but I'm nervous that I'm going to wake to a completely dead battery one day and not be able to reflash back to Maemo.

It seems I have the same problem, battery doesn't seem to be charging. (Or the battery meter doesn't show the right levels, but I think that's not the case because the device powers off a few minutes after I disconnect the charger)

Something does get very hot though, but that might also be wifi outputting on full power. (It tends to get hot in Maemo also on full TX power)

EasternPA 2009-01-16 21:44

Re: Another Android port: NITdroid
 
Quote:

Originally Posted by whouweling (Post 258045)
It seems I have the same problem, battery doesn't seem to be charging. (Or the battery meter doesn't show the right levels, but I think that's not the case because the device powers off a few minutes after I disconnect the charger)

I heard confirmation that the device does not charge (nor discharge, interestingly) when power is applied under nitdroid. I just flash it back to maemo before charging it overnight. Takes literally 15 seconds or less, and another 15 to switch back in the morning.

nadavwr 2009-01-17 03:07

Re: Another Android port: NITdroid
 
I noticed this in an earlier version of NITdroid (haven't tried in a couple of weeks)
Try a neat trick:
1) connect to power
2) boot NITdroid
3) then remove battery

IIRC, NITdroid won't boot w/o a battery, but will run w/o it (Maemo doesn't).
Don't flame me if this doesn't work :)
Oh, and many many thanks to Solca.

EDIT:
Can't remember, but I'm almost certain NITdroid did charge the battery. When I had it in, that is :)

meizirkki 2009-01-17 12:50

Re: Another Android port: NITdroid
 
This "remove battery trick" has been here couple of times...

And yes, battery is charging if the charger is pugged and the battery is in, it does not matter is it Nitdroid, Maemo, Mer, or Deblet...

EasternPA 2009-01-18 03:14

Re: Another Android port: NITdroid
 
Quote:

Originally Posted by meizirkki (Post 258257)
And yes, battery is charging if the charger is pugged and the battery is in, it does not matter is it Nitdroid, Maemo, Mer, or Deblet...

I went to bed the first night with the battery at 8%, plugged in the charger under Nitdroid, and woke up the next day with it at 7%. Reflashed to Maemo, and the battery showed 5%, confirming it does not charge under Nitdroid. I now reflash to Maemo to charge it before bed each night. Charging may have worked under earlier Nitdroid versions, but a number of us confirm that the battery holds steady, but does not charge, under 0.3.2.

meizirkki 2009-01-18 15:17

Re: Another Android port: NITdroid
 
That is really really strange... whatever poweroffs maemo, when battery is removed is not running when nitdroid is up, maybe something to do with that? I tought it would charge for sure, when there is no control for it at all. At least earlier versions were able to charge my n810s battery.

EasternPA 2009-01-18 18:30

Re: Another Android port: NITdroid
 
Quote:

Originally Posted by meizirkki (Post 258420)
That is really really strange... whatever poweroffs maemo, when battery is removed is not running when nitdroid is up, maybe something to do with that? I tought it would charge for sure, when there is no control for it at all. At least earlier versions were able to charge my n810s battery.

Definitely strange. I wonder if its related to the warnings I get at each boot about something in Settings no longer responding.

solca 2009-01-19 06:17

Re: Another Android port: NITdroid
 
Quote:

Originally Posted by EasternPA (Post 258356)
I went to bed the first night with the battery at 8%, plugged in the charger under Nitdroid, and woke up the next day with it at 7%. Reflashed to Maemo, and the battery showed 5%, confirming it does not charge under Nitdroid. I now reflash to Maemo to charge it before bed each night. Charging may have worked under earlier Nitdroid versions, but a number of us confirm that the battery holds steady, but does not charge, under 0.3.2.

Charging works for me in my N810 with 0.3.2 although I always turn off the WiFi before as the open source WiFi driver knows next to nothing about power management and in my observations will drain the battery maybe faster than the charging speed, YMMV.

On other news, Google release many fixes to the master branch which hopefully soon will land in a new NITdroid release. I have been busy testing calibration with tslib and finding why USB in the latest kernel is broken but is very time consuming :mad:

EasternPA 2009-01-19 14:19

Re: Another Android port: NITdroid
 
Quote:

Originally Posted by solca (Post 258560)
Charging works for me in my N810 with 0.3.2 although I always turn off the WiFi before [..] I have been busy testing calibration with tslib and finding why USB in the latest kernel is broken but is very time consuming :mad:

Thanks for the tip about the WiFi, that would be great. Is there anything we can do for you on a daily basis? I wish there was a testing suite we could run for you that would automatically collect data for you showing how well it performs for us.

In particular, we could type a phrase, such as the famous "A quick brown fox jumps over the lazy dog" using the OSK and the app would record how many double (or triple!) letters we get (and have to delete) and where the touches are being registered relative to the respective letters on the OSK. With the right logic behind it, if enough of us run such an app, the best calibration settings could be calculated for you.

EDIT: I can confirm that shutting off WiFi in Nitdroid allows the battery to charge.

EDIT 2: I spoke too soon. I just watched for 6 hours as the battery charge climbed from 5% to 100% under nitdroid with the wifi turned off. I unplugged it and was immediately greeted with a "low battery" warning. I reflashed to Maemo and was given the low battery alarm on powerup. The battery charge % indicator climbs under nitdroid when wifi is turned off, but now after two multi-hour tests, the battery was dead the instant I removed the AC power.

solca 2009-01-19 15:30

Re: Another Android port: NITdroid
 
Quote:

Originally Posted by EasternPA (Post 258611)
Thanks for the tip about the WiFi, that would be great. Is there anything we can do for you on a daily basis? I wish there was a testing suite we could run for you that would automatically collect data for you showing how well it performs for us.

In particular, we could type a phrase, such as the famous "A quick brown fox jumps over the lazy dog" using the OSK and the app would record how many double (or triple!) letters we get (and have to delete) and where the touches are being registered relative to the respective letters on the OSK. With the right logic behind it, if enough of us run such an app, the best calibration settings could be calculated for you.

For that we need to solve first the tslib integration, then any calibration settings can be used although I plan on using the data from the calibration settings in Maemo or the good defaults that ship with it.

EDIT: new release on it's own thread as this is getting massive.

sixaxis 2009-02-05 22:21

Re: Another Android port: NITdroid
 
Hi all!

With the ADP1 (or rooted G1) one have the following firmware options:

Android 1.0 from firmwares US-TMob < RC33, UK-TMob < RC8, ADP1 1.0
Android 1.1 from firmwares US-TMob RC33, UK-TMob RC8, ADP1 1.1*
Android 1.5 (Cupcake) from source.

*shipped with my ADP1.

I flashed yesterday to a Cupcake firmware and it is exactly as NITDroid 0.4.2.

So I was wondering if the developers would like the idea a NITDroid version based on Android 1.1, better if based on US-TMob RC33 which includes the coolest features.

Cupcake is nice but it's in development and not usable for a daily basis as the stable versions. Just my opinion.

Thanks.

solca 2009-02-06 17:16

Re: Another Android port: NITdroid
 
Quote:

Originally Posted by sixaxis (Post 262365)
So I was wondering if the developers would like the idea a NITDroid version based on Android 1.1, better if based on US-TMob RC33 which includes the coolest features.

Maybe... It seems to me that Android 1.1 is all bug fixing that went into the master tree just before the cupcake drop, I could compile a NITdroid version of that so RC33 apps works.

It seems xda-developers is distributing all those goodies without problems, I'm asking Google if I can distribute those Google apps within NITdroid, let's see what happens.

EDIT: Google response: you can't re-distribute.

sixaxis 2009-02-07 20:12

Re: Another Android port: NITdroid
 
If you plan a NITdroid based on Android 1.1 I could help you test all the Google apps and differences between NITdroid and Android 1.1 on a ADP1 if you want.

www.rzr.online.fr 2009-02-12 14:12

./adb shell shows "error: device not found"
 
Quote:

Originally Posted by EasternPA (Post 257704)
./adb shell shows "error: device not found"

Hi I have the same error while it used to work in the past using this procudure on 770 :

http://www.newlc.com/en/nitdroid-dem...d-nokia-n770-0

EasternPA 2009-02-12 15:11

Re: ./adb shell shows "error: device not found"
 
Quote:

Originally Posted by www.rzr.online.fr (Post 263954)
Hi I have the same error while it used to work in the past using this procudure on 770 :

http://www.newlc.com/en/nitdroid-dem...d-nokia-n770-0

Turned out I had a running process that needed to be killed.. on the Linux host (as root):

ps axw | grep adb

look for a process running with adb and "fork-server" in its name. Locate the process id ("PID") at the beginning of the row. Then kill it with

kill <pid>

Next time you start adb, you should see "starting server" before the action you requested. Then it should work.

didjit86 2009-02-15 12:17

Re: Another Android port: NITdroid
 
Having issues w/the softkeypad w/my N800. Any time I select the number input key, the softkeypad crashes, then I have to reboot to get the softkeypad work again.

Any work around for this problem someone could suggest?

Tx
Didjit

solca 2009-02-17 20:01

Re: Another Android port: NITdroid
 
Quote:

Originally Posted by didjit86 (Post 264648)
Having issues w/the softkeypad w/my N800. Any time I select the number input key, the softkeypad crashes, then I have to reboot to get the softkeypad work again.

Any work around for this problem someone could suggest?

Tx
Didjit

Yes, it doesn't work well in other devices with cupcake so it's a problem in the upstream Android project but AFAIK there are people looking into the problem.

jutley 2009-02-26 18:42

Re: Another Android port: NITdroid
 
can someone out there help me get the latest nitdroid on my n810 i dont know how to install as i dont have a pc with linux only vista is there another way i can install i need guidence if someone has the time out there i would really appreciate it thanks.

jakemaheu 2009-02-26 19:08

Re: Another Android port: NITdroid
 
Quote:

Originally Posted by jutley (Post 267353)
can someone out there help me get the latest nitdroid on my n810 i dont know how to install as i dont have a pc with linux only vista is there another way i can install i need guidence if someone has the time out there i would really appreciate it thanks.

[allcaps]GOOD SIR, I WOULD APPRECIATE IT IF YOU WOULD TAKE A BREATH. PROPER PUNCTUATION AND GRAMMAR ARE VERY GOOD THINGS TO POSSESS.[/allcaps]

Now, listen. First of all, you should be posting in the newer thread. Next, you need a what is called a "live CD." Once you acquire it, you'll need to boot from it and follow the proper steps to install NITdroid, which are detailed on both Solca's website and the install thread I created.

andrewfblack 2009-02-27 22:11

Re: Another Android port: NITdroid
 
Quote:

Originally Posted by gowen (Post 250567)
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.

Still not working for me using this driver.

bigr3dd0g 2009-02-27 23:04

Re: Another Android port: NITdroid
 
Quote:

Originally Posted by andrewfblack (Post 267680)
Still not working for me using this driver.

did you use the usb viewer to see what the pid for your n800 is? for me it was 0002 and i used

http://www.internettablettalk.com/fo...1&postcount=16 instead. i tried changing the usbdriver to 0002 for the same driver you're trying but it didn't work but thesandlord's driver did the trick.

if it still doesn't work, usually adb works on linux even if it doesn't work on windows. it seems windows is much more specific for the driver it needs

andrewfblack 2009-02-27 23:39

Re: Another Android port: NITdroid
 
I tried his driver but it didn't work either. I guess I'll try on linux.

bigr3dd0g 2009-02-28 06:33

Re: Another Android port: NITdroid
 
make sure you go to settings > applications > development > enable usb debugging

otherwise adb wont detect a device

andrewfblack 2009-02-28 06:54

Re: Another Android port: NITdroid
 
that did it for me

chortya 2009-03-29 10:15

Re: [Android] Another Android port: NITdroid
 
Is there some timetable for the development, what is the next milestone? Is performance improvement possible.
As a N800 user I would really appriciate a working soft keyboard. Can I help you guys to debug the soft keyboard functionality?

And thanks for this interesting port! I like browsing experience better then with mcirob even on this stage.

danielking 2009-03-30 15:09

Re: [Android] Another Android port: NITdroid
 
I can't boot up android, why?
I am using the debug kernel, zImage-nitdroid-2.6.28_n8x0-5_debug, and the latest 0.4.3 rootfs.

It hangs there with some messages:

init: unable to open persistent property directory /data/property errno: 2
init: cannot find '/system/bin/sh', disabling 'console'
.........
......
enableing abd
abd_open
abd_relase
abd_open

danielking 2009-03-30 15:43

Re: [Android] Another Android port: NITdroid
 
Quote:

Originally Posted by danielking (Post 275765)
I can't boot up android, why?
I am using the debug kernel, zImage-nitdroid-2.6.28_n8x0-5_debug, and the latest 0.4.3 rootfs.

It hangs there with some messages:

init: unable to open persistent property directory /data/property errno: 2
init: cannot find '/system/bin/sh', disabling 'console'
.........
......
enableing abd
abd_open
abd_relase
abd_open


I removed my external minisd card and successfully booted up android.

solca 2009-04-01 01:26

Re: [Android] Another Android port: NITdroid
 
Quote:

Originally Posted by chortya (Post 275461)
Is there some timetable for the development, what is the next milestone? Is performance improvement possible.
As a N800 user I would really appriciate a working soft keyboard. Can I help you guys to debug the soft keyboard functionality?

And thanks for this interesting port! I like browsing experience better then with mcirob even on this stage.

There is not an exact development timetable, next improvements will come from upstream Android development (example the soft keyboard) and from OMAP kernel development which sadly is not improving in 2.6.29 which broke MMC support and completely removed N800 sound support as far as I have followed the commit history.

Basically kernel support for Nokia Internet Tablets is eroding with time, I tried to fix some things but I am not a good kernel developer so someone else will need to step in and fix the kernel.

jukkaekl 2009-05-09 09:17

Re: [Android] Another Android port: NITdroid
 
So.. it means we won't be getting Android 1.5 on tablets?

Rebski 2009-05-09 11:49

Re: [Android] Another Android port: NITdroid
 
Quote:

So.. it means we won't be getting Android 1.5 on tablets?
If this is the case then I can't tell you how massively disappointed I am.

skorianez 2009-05-26 18:05

Re: [Android] Another Android port: NITdroid
 
No 1.5 release?

JayOnThaBeat 2009-06-07 05:35

Re: Another Android port: NITdroid
 
Quote:

Originally Posted by jutley (Post 267353)
can someone out there help me get the latest nitdroid on my n810 i dont know how to install as i dont have a pc with linux only vista is there another way i can install i need guidence if someone has the time out there i would really appreciate it thanks.

Try this (at your own risk, of course)

http://talk.maemo.org/showthread.php...372#post294372

letterb 2009-06-23 13:06

Re: [Android] Another Android port: NITdroid
 
thx,but if you can port it to smartq 5/7 ,it will be benefited to more people in china.


All times are GMT. The time now is 23:22.

vBulletin® Version 3.8.8