Enable Otg support - Nokia X

Hello everybody !!!
I've just buy the Nokia XL, and i'm happy on it for the price!
I've checked in the threads, but on these lot of page, i hadn't seen anything on it... Or i hadn't look right...
In my opinion, that will be good to have otg support...
So, that's my question.
Is it possible to implement USB OTG support in a kernel/ROM?
Or just tell me how to do, and i will try to do it...
I had just port few MTK's roms, and compile 1 or 2 MTK's kernels (not really ok, that's not the same thing than porting) but i can do it with the good informations...
Many Thanks​
PS: Sorry if i'm in the wrong section. There's a lot of time i hadn't post on XDA Forum (Since my LG-P920)

Bnz25 said:
Hello everybody !!!
I've just buy the Nokia XL, and i'm happy on it for the price!
I've checked in the threads, but on these lot of page, i hadn't seen anything on it... Or i hadn't look right...
In my opinion, that will be good to have otg support...
So, that's my question.
Is it possible to implement USB OTG support in a kernel/ROM?
Or just tell me how to do, and i will try to do it...
I had just port few MTK's roms, and compile 1 or 2 MTK's kernels (not really ok, that's not the same thing than porting) but i can do it with the good informations...
Many Thanks​
PS: Sorry if i'm in the wrong section. There's a lot of time i hadn't post on XDA Forum (Since my LG-P920)
Click to expand...
Click to collapse
I guess the MSM8625 chipset in nokia x doesn't support OTG . Some claiming the same chipset on htc desire x had OTG support on custom rom but i can't find concrete evidence about it till now. Some one enlighten me if i'm wrong. :cyclops: I had custom rom on my nokia x and used usb otg helper , diagnostic and end up in failure to use OTG. The device didn't get detected. May be i was wrong .I don't knw. Kernel devs mdzhfi or anmol thakur may have idea about it...

vrp_pradep said:
I guess the MSM8625 chipset in nokia x doesn't support OTG . Some claiming the same chipset on htc desire x had OTG support on custom rom but i can't find concrete evidence about it till now. Some one enlighten me if i'm wrong. :cyclops: I had custom rom on my nokia x and used usb otg helper , diagnostic and end up in failure to use OTG. The device didn't get detected. May be i was wrong .I don't knw. Kernel devs mdzhfi or anmol thakur may have idea about it...
Click to expand...
Click to collapse
First, thanks for our reply !
I use OTG Helper too, and the 1st time it said that don't works, but after a new try, it installed an xml, and tell me that an another one is not here...
You know it check 2 xml files... The 1st is not here, but it has installed the 2nd... So, that's why i'm asking this question...
I'm on Cm11 with my XL, and i don't know if its possible too...
PS: If you search on google "MSM8625+usb otg" you will see that Sanei's phone have otg cables so i think that's can be possible... And some cable are in selling for and any internet's site, like this one....
http://www.actablet.com/micro-usb-otg-cable-for-sanei-n10-ampe-a10-dual-core-3g-qualcomm-msm8625-tablet-pc_p5678.html
but here that's different...
https://www.qualcomm.com/products/snapdragon/processors/s4-s1
So... maybe...

Bnz25 said:
First, thanks for our reply !
I use OTG Helper too, and the 1st time it said that don't works, but after a new try, it installed an xml, and tell me that an another one is not here...
You know it check 2 xml files... The 1st is not here, but it has installed the 2nd... So, that's why i'm asking this question...
I'm on Cm11 with my XL, and i don't know if its possible too...
PS: If you search on google "MSM8625+usb otg" you will see that Sanei's phone have otg cables so i think that's can be possible... And some cable are in selling for and any internet's site, like this one....
http://www.actablet.com/micro-usb-otg-cable-for-sanei-n10-ampe-a10-dual-core-3g-qualcomm-msm8625-tablet-pc_p5678.html
but here that's different...
https://www.qualcomm.com/products/snapdragon/processors/s4-s1
So... maybe...
Click to expand...
Click to collapse
May be ...it will work..I don't know about the xml files used as config in OTG..i'm noob on that... ..I don't know how to proceed on that..

Related

[Q] USB Host

Is there any chance to make USB Host for wildfire?
I guess not, as USB-Hosts have a different hardware than simple ports.
I heard somewhere that msm 7227 chip supports that feature. But wildfire has msm 7225 and haven't heard that it supports.
And hardware support along with required kernel is needed I think.
Sent from my HTC Wildfire using XDA App
AIR a guy made a circuit and gave the USB-Host to unsupported devices. I may remember wrong.
USB Host again
Hi all,
searching through the forum I found this thread and I very much like to raise the debate again. I am not fully convinced that USB-Host may not work at all on Wildfire.
On the hardware-side: can you completely say that the hardware might not support it at all? Many forum threads (not only on XDA) showed ambiguous signals concerning the chipsets.
On the software-side: The official point is the following:
[I wanted to post a link but was not allowed because I do not have 8posts yet. Type in google: "android developer usb host" and it will lead you to the official page]
So from Android 3.1 and higher USB-Host is supported.
As the development for the ICS (Android 4) mods (CG9 etc.) for wildfire is advancing, I am playing with the idea of trying the beta versions to see whether USB host works.
It would be really helpful to hear the ideas of advanced people on this issue. Can you exclude the hardware-capability? Are the e.g. CM9 mods not made for things like USB-Host?
Currently I unrooted my Wildfire and am trying to get things started for flashing it. So yes, quite a noob.
Thanks a lot and kind regards,
Nebi
Ok, I tried the newest version of CM9 'AOSP Based "Original Development" / Source Built ROMs' by arco68.
Unfortunately my wildfire is not reacting when I put in a usb-stick connected to an adapter USB-A (female) to USB-B (male) adapter.
Am I doing sth wrong? Do I need an USB-hub to power 5volt?
Thanks and kind regards,
Nebi
Ok sorry for writing again. My last post today - promise.
On the hardware-side I found out following:
As I still cannot post any links here:
qualcomm.com/chipsets/snapdragon
You can also click on that site on the link below with more detailed specs.
USB OTG is only supported from Snapdragon Generation 3 on. Wildfire (MSM7225) is Generation 1.
I was also egg-headed and still tried another software, too:
I tried the AOSP Based Derivative MIUI V4 Beta1 bystelios97.
He doesnt reckognize anything.
A last thing: I think that in any case the adapter that I am using is wrong. Instead of using a USB-A to USB-Micro adapter you better need a USB-OTG cable to connect both devices.
Game over I guess?

[Kernel][Both] USB host mode support added (github link)

Hi ya'll,
I've just added USB host mode support for the Galaxy Tabs. ( Can some mod move this post to the Android developer forum and bless me for posting in that forum? I'm happy to answer questions/discuss but I can't post there yet because I just created this account)
[Ugh! because I have less than eight posts I can't include github links - you'll need to linkify yourself... ]
The github site is here:
github.../humcycles/galaxy-tab-modified
Documentation on the changes:
github.../humcycles/galaxy-tab-modified/blob/master/Kernel/Documentation/usb/s3c-otg-host.txt
The changelist you probably want if you are want to cherry-pick into another kernel tree:
github.../humcycles/galaxy-tab-modified/commit/99388abf98f8b8583dcfb31339c8673a9fea62bd
These changes fix a number of bugs in the Samsung host mode software but are probably not well suited for regular end users. I would recommend that developers who are generating Galaxy Tab kernels consider picking up these changes.
https://github.com/humcycles/galaxy-tab-modified
https://github.com/humcycles/galaxy...ter/Kernel/Documentation/usb/s3c-otg-host.txt
https://github.com/humcycles/galaxy-tab-modified/commit/99388abf98f8b8583dcfb31339c8673a9fea62bd
Links for the lazy..
Wait it so long
Sent from my GT-P1000 using XDA App
Does P1000 have the right hw, can it provide 5 volts to usb client or we also need a power injector (usb hub)?
It really works? That would be superb news! Thank you very much for investing your time in it. Can`t wait to see it in a kernel on my tab.
Mjoelnir77 said:
It really works? That would be superb news! Thank you very much for investing your time in it. Can`t wait to see it in a kernel on my tab.
Click to expand...
Click to collapse
Yes. It works for me on a Sprint SPH-P100, but I bet it will work on all 7" tabs (the USB hw seems the same). I look forward to some other dev trying it out and letting me know how it works for them. From looking at the samsung sample code, I bet it will work on most samsung chipset based devices (certainly the S5PC100 based ones).
*** Can some mod move this thread to the Galaxy Tab Development forum and bless me for posting there? ***
mdalacu said:
Does P1000 have the right hw, can it provide 5 volts to usb client or we also need a power injector (usb hub)?
Click to expand...
Click to collapse
I bet it will also need power for the 5V USB. In the samsung code they have bits that look like it is turning on the right LDO to have power, but nothing comes out on my SPH-P100. Either the sw init needs more work, or they didn't stuff some part when they built up the units.
[ Ugh - I can only reply once every 5 mins because I don't have enough posts ]
punkgeek said:
Yes. It works for me on a Sprint SPH-P100, but I bet it will work on all 7" tabs (the USB hw seems the same). I look forward to some other dev trying it out and letting me know how it works for them. From looking at the samsung sample code, I bet it will work on most samsung chipset based devices...
Click to expand...
Click to collapse
Does that mean this hasn't actually been tested on a SGT yet?
Blittz said:
Does that mean this hasn't actually been tested on a SGT yet?
Click to expand...
Click to collapse
I've tested it on a few Sprint 7" SGT's here, but it would be great for another dev to try it in their kernel.
It is a great thing, you deserve so many thanks!...
Now what I need is a kernel with usb host and swap enabled.
Can somebody explain why it is needed? What is it good for?
odysseus84 said:
Can somebody explain why it is needed? What is it good for?
Click to expand...
Click to collapse
It allows the Tab to act as the controller for USB devices, rather than the other way around. In practice, it means that you can use things like usb sticks, keyboards, mice and the like which usually require a computer (the host) with the Tab.
Anyone more knowledgeable, feel free to correct me.
for months I wait this,
SGS also waiting it too, Shall you post in their forum?
zoftdev said:
for months I wait this,
SGS also waiting it too, Shall you post in their forum?
Click to expand...
Click to collapse
Sure. And since I haven't seen a mod move this to the right forum yet, I hope ya'll don't mind if I bump up my post count to 10 by replying to this thread. After I have ten posts I can post in their forum.
bumping my post count
bumping my post count
This is great!!
bumping my post count
lol, don`t get banned over this - it is for a good cause, but one never knows if the Mods that see this see it the same way
Mjoelnir77 said:
lol, don`t get banned over this - it is for a good cause, but one never knows if the Mods that see this see it the same way
Click to expand...
Click to collapse
Hmm - I just want to be able to discuss this in the right forum. I hope I don't get banned, but I don't really care to much - I made these fixes because I needed host mode for my application. I'm almost there - just need one more post

[q] wfs usb otg rom

Hello all.
Last week I had some tries to integrate USB OTG features to @alquez ROM. The idea was to port USB OTG functionality from ZTE BLADE kernel (both of them are msm7227 based), but I had no luck. The difference between 2.6.32 and 2.6.36 kernels made me sick. Does anybody knew of similar projects?
Sorry my posting here, can't post to developer forum.
usb otg for the wfs (marvelc) was the reason I joined XDA
vladshikhov,
The reason I converted from a longtime lurker to an actual member was so I could get USB OTG working on my HTC Wildfire S (Marvel C). When It comes to android kernels I may be a noob, but I'm learning slowly. I just want to say please don't give up your (re)search. If you need another wfs to experiment on, let me know. I also offer my help; let me know what you don't yet know and I'll try to find it.
V/R,
Kalumnus
p.s.:
This is my first post so please excuse its formal style.
Wow... Thats cool... I actually neva knew sucha feature existed!!!!!
Hope someone helps u out and u get it working asap!
try contacting eoghan2t7 who might help u out, If u already tried contacting alquez!!
Don't worry you posted in the right place
Sent from my HTC_A510c using Tapatalk

[Q] USB OTG Problems

just got a chance to try out a USB OTG cable. my current setup well not allow me to explore files on my flash drive. I know the flash drive and cable is good because I plugged the same setup into a friend's SGS3 and it worked right away.
the question is, is this more likely a problem with my kernel or my ROM?
Sent from my Galaxy Nexus using Tapatalk 2
Maybe both. Vague problem, vague answer.
Sent from my i9250
bk201doesntexist said:
Maybe both. Vague problem, vague answer.
Sent from my i9250
Click to expand...
Click to collapse
ok, fair enough. the ROM is an alpha that is not released to Toroplus yet. the kernel is tuna faux123. the problem is when I plug in my thumbdrive I am unable to explore files. I even installed Stickmount from the market. it tries to mount the drive, to no avail.
Sent from my Galaxy Nexus using Tapatalk 2
so, besides the troll who popped in to flame me, does anyone have an idea about this? i am not looking for specifics, just a general idea about if USB OTG is controlled more by the ROM or more by kernel choice.
USB OTG is controlled by you. Just plug the cable. You're doing it wrong.
Now, that's me just trolling too.
Either way, maybe you can help me on one thing here. I have a 2005 Accord diesel. Can I use an oil filter from the 2007 facelift version?
joooe said:
USB OTG is controlled by you. Just plug the cable. You're doing it wrong.
Now, that's me just trolling too.
Either way, maybe you can help me on one thing here. I have a 2005 Accord diesel. Can I use an oil filter from the 2007 facelift version?
Click to expand...
Click to collapse
you're right, you're trolling. move along.
Sent from my Galaxy Nexus using Tapatalk 2
So simple. You ask the questions, then give the answers.
It's because of your alpha rom? Maybe. Try another.
It's because of the kernel? Try another.
See? Simple. No one can go to your place and do that for you. Test, test, test.
C'mon guys...he just wants to know if anyone has used it successfully...if you can't answer why post?
Too specific problem. User should try other setups and give feedback. Be proactive, people.
joooe said:
Too specific problem. User should try other setups and give feedback. Be proactive, people.
Click to expand...
Click to collapse
just because you didn't know the answer, doesn't make it a flawed question. it wasn't too specific, it didn't require testing. someone out there smarter than both of us probably knew the answer. is the USB OTG function controlled by ROM or the kernel? instead of an answer i got my thread clogged with your smartass comments and non-answers. i'm sure if there's an opening in the question police squad on XDA you'll be the first to apply, but until then your self appointed opinion on the validity of questions in the Q&A thread isnt appreciated or needed. not by me anyway.
Make pancakes not war!
Swype'ed on my CM10 Galaxy Nexus
Hey noob, i'm not trolling. You asked which was more likely. I said maybe both, because it is!
Kernel because of fs support, rom because of vold and enforced permissions. Now go search and learn.
Sent from my i9250
bk201doesntexist said:
You asked which was more likely. I said maybe both, because it is!
Kernel because of fs support, rom because of vold and enforced permissions.
Sent from my i9250
Click to expand...
Click to collapse
Thank you for that answer and your time. :good:

Please help me navigate menus blindly

Hi!
I am looking for someone with a moto z on stock, and a ruler. I have a moto z with a broken display (but functional touch panel). I need someone to go through, measure out where to click to enable usb debugging (also computer RSA key confirmation thing).
This would help me tremendously.
try using mhl out..as scene in one of the section...and use TV to do what u want..fyi...itd in the news and discussion section.
Ravi Venugopal said:
try using mhl out..as scene in one of the section...and use TV to do what u want..fyi...itd in the news and discussion section.
Click to expand...
Click to collapse
MHL out is not technically a supported feature. Only a few adapters work and all the ones I've tried so far have not. The ones people have reported working are no longer available, or they simple haven't stated which one they bought specifically

Categories

Resources