[Q] Use ZTE Blade with arduino ADK. - Blade General

I want use a arduino ADK board with a ZTE Blade.
I'm trying to install the DemoKit app that google supply on a ZTE blade, but can't, always get this error 'INSTALL_FAILED_MISSING_SHARED_LIBRARY'.
I have CyanogenMod 7.1.0 installed.
Someone knows how to fix this? Or if this rom support Accessory Mode?
Thanks

ivolima said:
I want use a arduino ADK board with a ZTE Blade.
I'm trying to install the DemoKit app that google supply on a ZTE blade, but can't, always get this error 'INSTALL_FAILED_MISSING_SHARED_LIBRARY'.
I have CyanogenMod 7.1.0 installed.
Someone knows how to fix this? Or if this rom support Accessory Mode?
Thanks
Click to expand...
Click to collapse
Pretty sure you need USB host mode for that arduino kit, there is a kernel out that supports it but you would still need to external power it yourself. It riský and probably buggy. Also not sure if the usb host mode is sufficient to get the ADK working.

Related

Android on Beagleboard - Drivers etc.

Hey there, im a software engineering student and i'm pretty new to android development and i'm looking to port android on a custom device
I hope this is the right place to ask. Basically i was wondering if there is a driver list of the available drivers on the kernel supported by android.
Second thing, what's the basic idea of porting usb drivers? i'm looking to use a beagleboard as a base for the prototype with a usb hub. So really i need to know if the usb peripherals attached would work on the android os and what would i need to do if they are not supported.
And basic question... are the drivers in the kernel specific for android? or are they generic? and how are they exposed to the os?
Been doing a bit of research right now and I'm sorta piecing together and trying to understand how everything works
Thanks!!
You are trying to port Android to the BeagleBoard? This is already available:
http://code.google.com/p/rowboat/
I have worked with this code and successfully got it up and running on a C3 BeagleBoard, including keyboard, mouse, Ethernet and HDMI...
LOL... you mood killer!!

ADK - OTG host mode

Hi There,
I see that the SGS2 supports OTG. Has anyone tried to use the phone with googles ADK? Based on documentation the android dev site, the requirement is that the phone has 2.3.4 loaded. Where the SGS2 supports OTG (host mode), I would be especially interested in whether the phone could work in host mode with the ADK. It appears that that based on this quote from the android dev site that the ADK will not support host mode on 2.3.4 firmware.
USB accessory and host modes are directly supported in Android 3.1 (API level 12) or newer platforms. USB accessory mode is also backported to Android 2.3.4 (API level 10) as an add-on library to support a broader range of devices.
Click to expand...
Click to collapse
But, Based on the Demo of the SGS2 here USB host mode is clearly supported in the firmware : (I could not post the you tube link, but the video title is "Samsung Galaxy S2 USB OTG demo ".
So I am looking for some clarification on how and what USB capability can be used and developed with in the android SDK using ADK.
Has anyone tried to use the SGS2 with the ADK?
hallo
i tried the OTG, it is perfect , exactly like a video demo.
i bought it from ebay 9.99€
goodluck
Sent from my GT-I9100 using Tapatalk
So do you think we could have joypad support?
Sent from my GT-I9100 using XDA Premium App
I can confirm that otg works. But I think Samsung added some framework, since all sgs2 firmwares include it. That mostly means not 2.3.4
Sent from my GT-I9100 using XDA App
tank u very nice
As the original question was about the ADK, I can say that my S2 running 2.3.3 has OTG support, but not for the ADK USB accessory mode.
I have also tried ADK on my Galaxy S and various ROMs - two leaked 2.3.4 and CM7.1 all had to have the permissions .XML and JAR fixes to even install an ADK app, but even after doing that it still wouldn't switch into USB accessory mode.
Hoping the UK Xoom 3.1 update includes accessory mode...
Hey i want also doing some test with ADK on my Samsung Galaxy S2 ... Does anyone write to Samsung Support and /or asked some Developer (Android) direct if ADK could work on S2 ? I want to develope with Microcontroller and S2 USB Host .. but without ADK Support i have to rewrite a lot of Source Code to get Controller work like USB Client on S2... and than have to write App...
if you take a look at this http://www.hardkernel.com/renewal_2011/main.php
you could find great Hardware for ADK and these information:
Controlling hardware with the Android smartphone application is another challenge for developers.
We've test our ODROID-A, ODROID-7, Samsung Galaxy-S and Galaxy-S2 Gingerbread 2.3.4 update. But only the Galaxy-S2 doesn't work with ADK open accessory library. We don't know why !!
Click to expand...
Click to collapse
hope Kernel Patch could help to get ADK working !!!!
would it be possible for someone to build this module for me ...
http://android.serverbox.ch/?p=285
its the usb to serial adapter driver for usb otg,
i dont have the ndk or sdk installed for someone with knowledge its a small job compared to hours for me
i just need the .ko
hi,
I tried getting the ADK accessory mode working on SGS2 (with mbed) for several days/weeks now without success. Must admit i'm a newbie with compiling android kernels. I tried several USB flags in the .config file, but no luck.
The .xml and .jar file in order to install an usb accessory .apk are installed on the device, that was the easy part. Never got into accessory mode, the get protocol version (mbed --> sgs2) always returns an error, so it seems that call does not get through to android (?).
I'm not up to speed with android but I avr program in assembler w avr studio and just took a look at arduino. I ordered the mega adk board and it communicates fine as a serial device over usb. The baud is 9600, 1 stop bit, 8 data bits, no parity, no flow control as is most microcontrollers. Hyperterminal works fine, visual studio .net with system.io.ports works fine for windows applications.
I am curious what android offers for serial comms over usb. There has to be something and I don't. Understand why a kernal has to be compiled vs just an application. A blue tooth shield is available also.
Hey was anyone successful in using the ADK with an SGS2? I found the following "solution" but I'm not sure if this works.
Code:
push a android.hardware.usb.accessory.xml with the content
<?xml version="1.0" encoding="utf-8"?>
<permissions>
<feature name="android.hardware.usb.accessory" />
<library name="com.android.future.usb.accessory"
file="/system/framework/com.android.future.usb.accessory.jar" />
</permissions>
into the device's "/etc/permissions" folder.
That might a be a silly question but is there any way to do this without rooting the phone?

[Q] Accessory mode possible?

I would like to use USB accessory mode on my GT540 - I have an Android Open Accessory Development kit that I want to connect to the phone. I have installed the latest Swiftdroid RC4 which has Android 2.3.5 (2.3.4 is needed for accessory mode), but my phone cannot see the device. I am not sure if the problem is the phone in general, or whether the kernel version is too old. Would a newer kernel (if one is eventually ported to this phone ) solve the problem?
Are you trying via PC suit? Some roms are not compatible with it
Sent from my GT540 using XDA App
I am not trying to connect the phone to the computer, rather I want to connect the phone to other USB devices, using the new Android Open Accessory standard (new user so I can't post a link to it). The web pages say you need 2.3.4, but I cannot get it to work with the latest SwiftDroid which has 2.3.5. I think the problem may be the kernel version but I am not sure.

[Q] Loop Kernel Rom?

Hey, I've been searching the ZTE Blade forums for everything that has anything to do with installing Ubuntu but I found nothing. I found out that CM7 for ZTE doesn't have Loop Devices support.
I can find out how to install Debian or make a CHroot Debian img for ZTE Blade but to be able to start testing that I need a rom with Loop Devices support.
Can a dev release a CM7 (or anything else I don't mind) with Loop Devices activated, or atleast give me a few pointers on how to edit an Open-Source Rom to activate it myself?
MiniDemonic said:
Hey, I've been searching the ZTE Blade forums for everything that has anything to do with installing Ubuntu but I found nothing. I found out that CM7 for ZTE doesn't have Loop Devices support.
I can find out how to install Debian or make a CHroot Debian img for ZTE Blade but to be able to start testing that I need a rom with Loop Devices support.
Can a dev release a CM7 (or anything else I don't mind) with Loop Devices activated, or atleast give me a few pointers on how to edit an Open-Source Rom to activate it myself?
Click to expand...
Click to collapse
Same situation: HELP GUYS!

[Q]Wifi Direct / USB OTG on defy?

I would like to raise the question about the ability of defy to support the above function.
Is it possible for defy to support them?
If not, why they can't be supported?
Due to hardware problem or software problem?
Thx to all of you first
cuz of a locked bootloader if im not wrong.. we cant change kernel
Adding things to kernel is easy: with kernel-modules.
Changing is possible but very hard. (some modules like mmcfix are doing that)
I just saw, that USB-OTG is enabled in our standard kernel-config. EDIT: http://forum.xda-developers.com/showthread.php?t=960633&page=11
And there is a driver for the HDMI-Chip "TDA19989". Does defy have this chip?
I don't know if anyone tried USB or MHL-adapters (i read something about usb-adapters in the past but don't remember where and can't find it again).

Categories

Resources