Active Topics

 


Reply
Thread Tools
Posts: 12 | Thanked: 23 times | Joined on Jul 2008
#1
NITdroid is working on N8x0 hardware quite well, and I'd like to collect some info on where we can get apps and how well they run. First, here's a quick summary of how to load apps onto NITdroid. To get adb working, follow the instructions at http://code.google.com/intl/fr/andro...devicehardware. If you're using Windows, you'll need gowen's modified android_usb.inf file from http://www.internettablettalk.com/fo...&postcount=243 as well. FYI, the adb program will be in android-sdk-windows-1.0_r2/tools after you've downloaded and unpacked the SDK.

To check that adb can talk to your tablet, run

Code:
myhost:tools> ./adb devices
List of devices attached 
0123456789ABCDEF        device
If adb reports `offline' instead of `device', try unplugging the USB cable. I need to do this after rebooting the tablet to make adb happy again.

You can use adb for lots of things other than loading apps. For example, to start a root shell on the tablet use the command:

Code:
myhost:tools> ./adb shell
# ls
ls
lost+found
data
default.prop
dev
[...]
#exit
exit
myhost:tools>
This provides a handy way for rebooting off the tablet too:

Code:
myhost:tools> ./adb.exe shell  /nit/bin/busybox poweroff -f -n
To load applications onto the tablet, you first need to download the .apk files to your host. For example, http://www.androidfreeware.org/ has a few applications, and Meebo.apk seems to run just fine. To install Meebo, I used the command:

Code:
myhost:tools> ./adb push /path/to/Meebo.apk /data/app
and Meebo showed up in the tray automatically.

So, where can we find more apps? I'd really like to find a native multiprotocol IM app, as the one provided with Android doesn't seem to work on my tablet (I can't find a way to add accounts) and Meebo is actually using an HTTP proxy service rather than talking to the IM servers directly. Is there a way to get apps from the marketplace without using the app shipped with the G1?

Thanks to gowen, maxkilla, and jcl for info I've summarized here.
 

The Following 6 Users Say Thank You to Vid For This Useful Post:
Posts: 607 | Thanked: 296 times | Joined on Jun 2008 @ Finland
#2
There are some apps too, like this great IRC software.
__________________
Touch Book .. do not waste you money on it.
 

The Following 2 Users Say Thank You to meizirkki For This Useful Post:
zehjotkah's Avatar
Posts: 2,361 | Thanked: 3,746 times | Joined on Dec 2007 @ Berlin - Love this city!!
#3
i read there is IM Plus for android...
 
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#4
http://www.androidapps.org/
Reviews: http://www.androidapps.com/
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 
Sevanteri's Avatar
Posts: 48 | Thanked: 10 times | Joined on Jun 2008 @ Oulu, Finland
#5
I'm still having trouble with the adb.
I did just what the instructions said, and it still doesn't work.

Trying to run sudo ./adb devices but it just doesn't show my NIT...

Should the NIT show something on the screen when you plug the USB?
__________________

Jolla, The First One TOH
N9, black 16GB
N810

Last edited by Sevanteri; 2008-12-19 at 19:44.
 
Posts: 12 | Thanked: 23 times | Joined on Jul 2008
#6
Originally Posted by Sevanteri View Post
I'm still having trouble with the adb.
I did just what the instructions said, and it still doesn't work.

Trying to run sudo ./adb devices but it just doesn't show my NIT...

Should the NIT show something on the screen when you plug the USB?
No, there's nothing different on the tablet screen to show that adb is working. If you list the USB devices on your host will see a device named `adb driver' when the USB cable is connected. This device will show `Android' as the manufacturer, with product ID 0x0001, serial number 0123456789ABCDEF, and vendor ID 0x18d1.

What OS are you using for adb?

EDIT: I think I've found the problem, at least for MacOS. The adb source code only recognizes the following vendor and product IDs (see http://android.git.kernel.org/?p=pla...09a44e;hb=HEAD and http://android.git.kernel.org/?p=pla...1a6482;hb=HEAD)

Code:
 355 // Google's USB Vendor ID
 356 #define VENDOR_ID_GOOGLE        0x18d1
 357 // HTC's USB Vendor ID
 358 #define VENDOR_ID_HTC           0x0bb4
 359 
 360 // products for VENDOR_ID_GOOGLE
 361 #define PRODUCT_ID_SOONER       0xd00d  // Sooner bootloader
 362 #define PRODUCT_ID_SOONER_COMP  0xdeed  // Sooner composite device
 363 
 364 // products for VENDOR_ID_HTC
 365 #define PRODUCT_ID_DREAM        0x0c01  // Dream bootloader
 366 #define PRODUCT_ID_DREAM_COMP   0x0c02  // Dream composite device
Since the product ID for NITdroid isn't 0xd00d or 0xdeed, adb doesn't properly attach to the tablet. We either need to build our own adb binaries, or figure out how to get NITdroid to use a different product ID :-(

Note that this isn't a problem for Windows, as the .inf file specifies the product IDs. So for now, adb only works from a Windows host.

Last edited by Vid; 2008-12-19 at 21:48. Reason: Updated info
 
Posts: 1,213 | Thanked: 356 times | Joined on Jan 2008 @ California and Virginia
#7
Good store here: andapps.com

"AndApps is website for those who don't have access to the Android Marketplace. Here will be uploaded as much as possible free and/or open source applications for the Android platform."

And my favorite (for now)

http://andappstore.com/AndroidPhoneApplications/apps/



For those in trouble with adb, do not plug in the device before Android starts. Windows gets confused if it is a Android device or a Nokia. Also, make sure in DevTools, adb is enabled.

Also, you install apps like this:
Code:
 adb install XXX.apk
This is the "proper" way, but makes no difference IMO.
__________________
----------------------------------------------------

www.ezschool.com - The best online educational experience.
 

The Following 2 Users Say Thank You to Thesandlord For This Useful Post:
Posts: 12 | Thanked: 23 times | Joined on Jul 2008
#8
Yep, it looks like solca chose that product ID. Looking at http://guug.org/nit/nitdroid/nitdroid_kernel.patch.bz2, in his version of linux-nitdroid/drivers/usb/gadget/android_adb.c he specifies the following:

Code:
+#define DRIVER_VENDOR_ID       0x18D1
+#define DRIVER_PRODUCT_ID      0x0001
If we change the product ID to 0xDEED, then the precompiled adb binaries may work with NITdroid. Of course, solca may have had a good reason for choosing a different product ID...
 
Posts: 1,213 | Thanked: 356 times | Joined on Jan 2008 @ California and Virginia
#9
Yeah, that part really messed me up. Lucky, I had experience changing the Vendor ID's to support "unsupported" hardware. Was not that bad, and gowen's modified android_usb.inf file (look at first post) makes it even easier.
__________________
----------------------------------------------------

www.ezschool.com - The best online educational experience.
 
solca's Avatar
Posts: 109 | Thanked: 196 times | Joined on Sep 2008 @ Guatemala
#10
Originally Posted by Vid View Post
Yep, it looks like solca chose that product ID...
No, I didn't, was Google.
__________________
NITdroid
 
Reply

Tags
android, nitdroid


 
Forum Jump


All times are GMT. The time now is 09:01.