[Q] Accessory mode possible? - GT540 Optimus General

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.

Related

[Q] Install Flash player on optimus one

Can we do something about flash player on optimus one?
the only solution that I am aware is installing skyfire beta browser..
let the phone get some a bit older and the guys gonna find a solution for that i mean there is a plugin for the iphone 3g to support flash.
and the iphone 3g is much slower as the lg
but on my device also skyfire don't plays flash videos...why?
Because Lg have set not permission to use flash with this phone...
personalweb said:
Because Lg have set not permission to use flash with this phone...
Click to expand...
Click to collapse
No, because the cpu of the phone does not support certain instructions required for the actual flash player.
thats not really right the cpu got enough power but adobe set it to v7 cpus only so i dosent work maybe if someone do a modification its gonna work on v6 aswell.
and like i say this phone is alot faster as the 3g iphone so probley we can get it to work.
...but skyfire don't use Flash, works well on iphone
natedogg20050 said:
thats not really right the cpu got enough power but adobe set it to v7 cpus only so i dosent work
Click to expand...
Click to collapse
I did not talk about the cpu power, but about instructions which do not run on the P500s cpu, but only with v7 cpus.
I just use Skyfire for flash video sites. Works great.
The Indian version of Optimus 1 P500 has the flash player installed by default!
Hi,
Searching on LG's Indian site i've found the same info.
www_lg_com/in/mobile-phones/all-phones/LG-P500.jsp
In "Features" says:
Anroid OS 2.2 (Froyo)
The new LG Optimus One comes with Android 2.2 Froyo version with advanced benefits like improved speed, USB Tethering, Android Market, installation of apps in MicroSD Card, Adobe Flash 10.1 and lots more.
I just bought this phone and, here in Brazil, it came without Flash.
*Sorry my english.
allsalvati said:
Hi,
Searching on LG's Indian site i've found the same info.
www_lg_com/in/mobile-phones/all-phones/LG-P500.jsp
In "Features" says:
Anroid OS 2.2 (Froyo)
The new LG Optimus One comes with Android 2.2 Froyo version with advanced benefits like improved speed, USB Tethering, Android Market, installation of apps in MicroSD Card, Adobe Flash 10.1 and lots more.
I just bought this phone and, here in Brazil, it came without Flash.
*Sorry my english.
Click to expand...
Click to collapse
It seems that currently the only version to have the flash player is that of India. Perhaps it has a firmware update with unlocked flash player.
someone needs to track that firmware down so the devs can cook up the files.
If someone owning this indian version of the phone would install the custom recovery, make a nandroid backup and make this available this would be great.
If someone has a download link to download this version of the ROM somewhere from LG (as *.kdz) this would be even better.
I just have found this: http://www.gadgetsreview.eu/2010/10/install-flash-on-lg-optimus-one-p500.html
But it does not work on my phone. Browser just closes while loading a page (even those without flash).
Can somebody try it? (After uninstalling the browser works again without problems...)
corwin42 said:
I just have found this: http://www.gadgetsreview.eu/2010/10/install-flash-on-lg-optimus-one-p500.html
But it does not work on my phone. Browser just closes while loading a page (even those without flash).
Can somebody try it? (After uninstalling the browser works again without problems...)
Click to expand...
Click to collapse
Tested it too. Same behavior tho... Well we just need to wait some Koothrappali to bring us a nand of an indian P500 :>
member silver_ramu has an indian version.. if you see this please nand backup your rom and send it too corwin asap!!!!!!
i dont see any flash support on there site maybe they take it out ?
I am from India and have been using this cell since a week now. There is no flash support *10.1 or Lite* whatsoever. The information published on the box and website is false as I have been unable to load any flash content of any kind on any site.
Eg:- gsm arena 360 phone view, youtube desktop version, any other video sites, newsground etc.
Flash support, is dependant on the processor an LG Optimus is not compatible in the world nor in India with it. *just registered on the forum to negate this view that we are lucky 'cos we have flash 10.1 (we DONT) *

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?

Overcome 10.1 Series v2.1.1

OK, so I`ve installed this ROM and it was very easy to do. However, what am I supposed to "see" different? My "settings" screen looks the same and not the same as the screenshot in the forum (Overcome 10.1 Series v2.1.1). Also,I can confirm I`m on Overcome 10.1 Series v2.1.1 since the about device screen tells me. I`ve seen the changelog etc but don`t fully understand the differences to the standard Samsung ROM. Also, now it`s a custom ROM, will this allow me to charge via USB (from PC) or do I need to enable something to allow this? Sorry for the noobs question!! Ta
okeycokey said:
OK, so I`ve installed this ROM and it was very easy to do. However, what am I supposed to "see" different? My "settings" screen looks the same and not the same as the screenshot in the forum (Overcome 10.1 Series v2.1.1). Also,I can confirm I`m on Overcome 10.1 Series v2.1.1 since the about device screen tells me. I`ve seen the changelog etc but don`t fully understand the differences to the standard Samsung ROM. Also, now it`s a custom ROM, will this allow me to charge via USB (from PC) or do I need to enable something to allow this? Sorry for the noobs question!! Ta
Click to expand...
Click to collapse
Since Overcome doesn't have any extra themes or anything, you won't "see" anything different. You probably noticed that some of the applications you had are now gone (the ones installed by your carrier etc.) and that you now have root access (superuser application). It also has an extended power menu, allowing you to reboot to recovery and download mode directly.
There are also some other changes that you can't see, like the ROM being zipaligned and deodexed - those changes cannot be "seen", but they should make the ROM run smoother. Also, if you updated from stock 3.1 or something, you're now on android 3.2.
As this ROM has a stock kernel, it will not allow you to charge via USB, for that you will need pershoots kernel (look in the development part of the forums or click the link in my sig ). After you flash the kernel, you'll also need to enable USB charging. Again, search is your friend here, I think there is even a sticky that has all the info needed.
Thanks for the reply.Excellent!
No problem, if you have any other questions I'm sure someone will have the answer .
Oh and feel free to click the "thanks" button ;-)
okeycokey said:
OK, so I`ve installed this ROM and it was very easy to do. However, what am I supposed to "see" different? My "settings" screen looks the same and not the same as the screenshot in the forum (Overcome 10.1 Series v2.1.1). Also,I can confirm I`m on Overcome 10.1 Series v2.1.1 since the about device screen tells me. I`ve seen the changelog etc but don`t fully understand the differences to the standard Samsung ROM. Also, now it`s a custom ROM, will this allow me to charge via USB (from PC) or do I need to enable something to allow this? Sorry for the noobs question!! Ta
Click to expand...
Click to collapse
i too have overcome v2.1.1, usb charging is working fine but it will be slow (it was same when i had stock rom without rooting) dont know i see in some thread people raising this issue.
nightmarebadger said:
Since Overcome doesn't have any extra themes or anything, you won't "see" anything different. You probably noticed that some of the applications you had are now gone (the ones installed by your carrier etc.) and that you now have root access (superuser application). It also has an extended power menu, allowing you to reboot to recovery and download mode directly.
There are also some other changes that you can't see, like the ROM being zipaligned and deodexed - those changes cannot be "seen", but they should make the ROM run smoother. Also, if you updated from stock 3.1 or something, you're now on android 3.2.
As this ROM has a stock kernel, it will not allow you to charge via USB, for that you will need pershoots kernel (look in the development part of the forums or click the link in my sig ). After you flash the kernel, you'll also need to enable USB charging. Again, search is your friend here, I think there is even a sticky that has all the info needed.
Click to expand...
Click to collapse
This helps. Been searching for solutions for enable USB charging on Overcome ROM. Was not dare to simply flash Pershoot kernel but sounds working great on u so will do try it. Thanks!!

[Q&A] [USB OTG] [11DEC13] [PATCH] Externally Powered USB OTG

Q&A for [USB OTG] [11DEC13] [PATCH] Externally Powered USB OTG
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [USB OTG] [11DEC13] [PATCH] Externally Powered USB OTG. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
Paranoid Android 4.4
Hello!
first of all, thanks for your work. :good:
I would like to try the patch but I don't know which version to choose: I have a Paranoid Android 4.4
Could you help me?
Wifi Crash, Media Crash, Settings "Storage" Crash
Hey guys, I'm on PA 4.6 BETA5, when I flash the aosp or franko kernel (after going back to stock kernel before flashing the new one) my Wifi won't enable, android.something.media crashes and in the settings app, when I tap storage the app crashes...any way to solve this problem or an alternative? Thanks!
PS: I'm really sorry if this was asked before, I read the hole last 10 sites of the forum and didnt found anythings related to my problem, "just" 10 sites because I think its related to 4.4.4 and maybe PA.
Which OTG mod to download for stock 4.4.4?
Which OTG mod to download for stock 4.4.4? There are so many I can not figure out what is the correct one to use.
OTG Android Lollipop
Anything to Android 5.0? I have looking and I think that it isn't incorporate in the stock kernel
thanks
piedra96 said:
Anything to Android 5.0? I have looking and I think that it isn't incorporate in the stock kernel
thanks
---------- Post added at 11:38 AM ---------- Previous post was at 11:34 AM ----------
I have looking and I think that it isn't incorporate in the stock kernel. So, anything to Android 5.0?
thanks
Click to expand...
Click to collapse
There are custom kernels (unleased kernel series, Hells Doctor, Hellscore, ...) which supports OTG and also supports Lolipop.
Stock Lollipop
A zip file where i can make a modification to my stock kernel on the N4! I want to use the stock for a few days to test it!
pm_dsp_ra said:
There are custom kernels (unleased kernel series, Hells Doctor, Hellscore, ...) which supports OTG and also supports Lolipop.
Click to expand...
Click to collapse
mm okey! so, have you test Hells Doctor on Lollipop? I will try out it this afternoon. I'm running a 4.3 stock perfectly with the otg, but Lollipop look like so excited.
Lollipop
Is there a patch for android lollipop for OTG support? I have franco.Kernel installed.
Lollipop
Is there a patch for Lollipop? Or does the kitkat patch work on lollipop?
dangerelvis said:
Is there a patch for Lollipop? Or does the kitkat patch work on lollipop?
Click to expand...
Click to collapse
I have no idea! I have tested Hells Doctor and Hell Core kernels on my Nexus 4 running Stock Lollipop and anyone work. :crying: :crying:
Anyone tried this patch on stock Lollipop kernel? Does it work?
How does one "Simply install the zip in recovery"?
My screen is broken (just the touch; everything is still visible). I was hoping I could install this mod without being able to touch the lower half of my screen so that I could plug in a mouse so that I could copy some files off my device.
I can reboot into recovery mode, but USB debugging is *not* enabled. I've never used "adb" on this device before (I just says "offline" when I try to run it from my PC).
I have no idea how to "install a zip".
Phone is an Nexus 4, running android 4.something.
OTG on Paranoid 4.6 beta 6
Hello,
When I flash the kernel (R199) and the system load I can't turn on the wifi and every time I enter the storege settings they crash.
also tried the other versions of the kernel, no help.
please help.
Thanks,
Is the OP willing to develop the patch for lollipop too? Or is there any nice kernel with USB host support?
nexus 4 lolipop 5.0.1 and xbox wireless gamepad
Hello. I want use xbox360 wireless gamepad on my nexus 4 lolipop 5.0.1. I think first I need kernel with OTG support. What kernel I can download on 5.0.1 android? I need y-cable for receiver of xbox360. what about mouses and keyboards they also need y-cable?
What can be the problem, why OTG still doesn't work
Hey guys,
however I'm completely new to this stuff, I managed to get through every barriers, and I put Cyanogenmod 11 snapshot M12 on my Nexus 4 and after that flashed the suggested kernel and patch successfully to try out OTG. The phone works withput problem, the installations seem to be successful, therefore I tried to connect an external storage to the phone to check if OTG works on it.
For that, I used a SIMPLE OTG cable like this:
<<<LINK CANNOT BE SHOWN SINCE I AM NEW TO THE FORUM - picture is the second picture of the first post in this thread>>>
connected to an Y-cable SIMILAR to this:
<<<NO LINK AGAIN - the 3rd picture of the first post in this thread>>>
The difference from the one on the picture is that mine has a male mini USB end instead of a female normal USB end as in the picture. My cable is the cable of an external wichester otherwise.
So, I tried with this cable setup, the result was that both the phone and the connected storage received electricity from the external power source, but the storage was not detected by the phone. I had a feeling that it doesn't get enogh power, so I attached it to a USB phone charger just to be sure, but the situation remained the same: the light on the storage was green, which means it is charging, the light on the phone was also on, but the storage was not detected.
My question is if I should try with the exact same cable set that can be found in the first post of this thread on the first picture or mine also should do the job, and there should be still some software related problem?
Please also tell me if you need more information on this to answer it, however I tried to be specific.
Thank you for your help in advance.
Hello. What i can do on lolipop? There is no solution? I have a 32gb flash drive, y-otg cable, standart power adapter micro-usb-male. Rooted nexus4
Which zip I need to download?
Hi, i'm really beggining on Android stuffs, since I didnt had one until the last week, so I'm really in doubt about which one of the zip files i need to install in my system to make the OTG cable work properly.
Once I downloaded a random ziddley zip on the internet and when I installed it in recovery mode, i needed to reinstall the android system on my phone, since the phone wont boot anymore.
So, can anyone help me? I'm sharing in this post a screenshot of the Android Version screen on the settings. I've rooted my phone using the King Root app
Considering that my android version is 4.4.4, I consider that I may download one of the following:
4.4.x: 2013.12.11 1604ET: [fk r199] [fk r199-CM]
4.4.x: 2013.12.06 1445ET: [aosp r7]
But which one?
And just another noob question. Is this the right way to install the ziddley zip on my phone?
(www).addictivetips.com/mobile/how-to-install-a-rom-or-app-from-zip-file-to-android-device-from-recovery/
Sorry for the noob questions and thanks to anyone who helps, because I REALLY need the otg cable to work, so I can develop some things using the XBOX 360 cable!
Removed

More recent ROM similar to Timur's USB ?

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?

Categories

Resources