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?
Related
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!!
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.
I have a Galaxy Tab 4 10.1, model SM-T530NU with rooted stock ROM 5.0.2. I tried connecting my Xbox 360 controllers (wired and wireless) in order to use Moonlight client to play games over IP by streaming from my host Windows PC (via NVIDIA Gamestream). It seems that the Samsung kernels- at least for this device- don't support gamepads. I have found some threads for enabling Xbox 360 controllers with other Samsung devices and kernel versions, but the instructions did not work for me.
For example, I tried to insmod xpad.ko as root and obtained an exec format error: http://forum.xda-developers.com/gal...krn-modules-xpad-ko-xbox-360-gamepad-t1797439
Is there some source code for xpad kernel module that I can compile for my device, and some instructions for how to do this? I imagine I'm out of luck unless I find recent kernel sources that are configured to work with my device. Are there alternative kernels that have built-in support for xbox gamepads that are also compatible with my particular model? What's my best bet? Thanks
Hi!
I recently bought a USB-Ethernet Adaptater (this one actually). I also just rooted my phone, trying to follow this tutorial.
But I just read that Android 6.0.x phones don't have the "netcfg" binary, and are supposed to support natively USB-Ethernet.
But I don't see the <...> icon I'm supposed to get when connected. Looks like Samsung don't want us to use the driver. So how can I do?
Thanks
Hey everyone!
I'm running the Nexus Player with the 3.10.20-g43ab991 kernel and Android 7.1.1. I've bought a Micro USB to LAN adapter and it has the RD9700 chipset which is sadly not supported by default. However, I've found this post and they made a driver - unfortunately, for a very old kernel version.
Has someone this driver for newer kernels or could compile it for new kernels (unfortunately, I'm a total noob at this)?
Thanks!
I have no experience with that particular product but I can tell you that the TP-Link UE330 works with an OTG adapter cable.