Android on Beagleboard - Drivers etc. - Android Software Development

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!!

Related

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} Custom ROMS (AOSP/CM) for Galaxy A8 (SM-A800F)? Any possibility in Future??

Hello all
I was wondering if there will be AOSP/CM ROM for this device, not a single ROM is available and no dev is interested to work on such a great device.
Such a totally crap device, still stucked on 5.1.1 since launch, no dev is interested in the development either, where android n announced already, we are still waiting for Android M update, i wasted my money on such a **** device, will never buy a sammy mid range in future, m totally fed up with this
I think because there are few developer with that phone and they can't test their work. You can port ROMs such as CM to you phone by your self. There are tons of guides and forums. All u need is a linux OS (such as ubuntu, debian and others) and sources.
DeadSquirrel01 said:
I think because there are few developer with that phone and they can't test their work. You can port ROMs such as CM to you phone by your self. There are tons of guides and forums. All u need is a linux OS (such as ubuntu, debian and others) and sources.
Click to expand...
Click to collapse
Ok i want to port Resurrection Remix on my A8, i need a simplest guide for android build environment startup, using windows 10, with no knowledge about programming languages such as C++ etc etc which is required to be used on Linux OS, can you plz help me, i will install ubuntu OS on my laptop, but i am worried can i install two different os in one machine, i.e. Windows 10 & Ubuntu
shubham540 said:
Ok i want to port Resurrection Remix on my A8, i need a simplest guide for android build environment startup, using windows 10, with no knowledge about programming languages such as C++ etc etc which is required to be used on Linux OS, can you plz help me, i will install ubuntu OS on my laptop, but i am worried can i install two different os in one machine, i.e. Windows 10 & Ubuntu
Click to expand...
Click to collapse
yep, I'm on kali and I use windows 10 to play games, so the only thing is: take care when partitioning. After you installed ubuntu there is a bootloader called "GRUB" and there you can choose if you want to boot windows or linux

RD9700 drivers for Nexus Player

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.

Ubuntu Touch Port?

Hi, i recently found out that ubuntu has a version for phones. Is called ubuntu touch. Is there any possibility that any developer could port the halium kernel to this device? Im not an expert on porting things, so, if anyone could, it would be really great. i think it will give a bit more life to this phone

Can i install a good custom rom on my amdroid tv box?

Hi guys,
I have an androod tv box which has android 9
It's already rooted by the manufacture and the bootloader obviously unlocked
So, i think my only problem is that my device doesn't have a MicroUSB/Type-C port
It has a Usb3 and a Usb2 port
Even if i am able to install a custom how should i connect through ADB? Without a micro or type-c port
I read another forum on XDA and it looks like i shoukd know the board manufacture, the chipset and so many things but i don't want to open it up i just want a better rom on my android box brcause it's a bit bloated by the manufacture and it annoys me that i can't install good launchers for some reason i tried many launvhers but they never work
I only got AndroidTV Launcher running which too simole and doesn't have many features
Please help me
Thank you so much

Categories

Resources