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!!
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?
Can anyone make and upload kernel support tp-link wireless adapter any version and work on Motion rom -- im installed nethunter on my device and it not work wireless adapter please that was helpful and thanks so much
Hello,
is there anywhere a kernel with usb 2 lan driver?
i am currently on touchwiz mm 6.0.1 with root and the h-vitamin kernel.
i thought i could compile a kernel with lan drivers but it seems to be very difficult
as far as i know galaxy tablets do have lan driver; would it be possible to extract the files and then put them into my note 4?
i have an anker gigabit usb 2 ethernet adapter
any new about this?
is there any android app able to install(*) drivers for the eth chipset ?
(*) with root
I have a Nexus 2012 (Grouper) with Timur's USB ROM / Cyanogenmod 10.1 on there (my brother installed this - it's installed in the car).
I would like to upgrade to a newer ROM (Cyanogen 12?) but unsure of compatibility - every website I've read seems to be information overload (I'm new to android world).
I've been told I need a ROM that supports a Y-split OTG cable which runs into a powered USB hub.
The reason I'm wanting to upgrade is for BLE compatibility as I believe from what I've read, that this is possible on the Grouper with more recent versions of Cyanogenmod
alexmallaburn said:
I have a Nexus 2012 (Grouper) with Timur's USB ROM / Cyanogenmod 10.1 on there (my brother installed this - it's installed in the car).
I would like to upgrade to a newer ROM (Cyanogen 12?) but unsure of compatibility - every website I've read seems to be information overload (I'm new to android world).
I've been told I need a ROM that supports a Y-split OTG cable which runs into a powered USB hub.
The reason I'm wanting to upgrade is for BLE compatibility as I believe from what I've read, that this is possible on the Grouper with more recent versions of Cyanogenmod
Click to expand...
Click to collapse
I don't utilize OTG on my Nexus 7 at all so I don't have an answer for you. What I can tell you is that you should probably try what I did, flash them all. Also I don't recommend any rom above android 4.4.x due to the very "slow" nature of the Nexus 7
What’s is the newest one that is under 4.4?