[Q] Xperia L Otg Support - Sony Xperia L

Friends as we all know Xperia L doesn't support Otg on stock.
Wanted to ask if any Custom Rom will be.able to provide Otg support for our XperiaL.
Also on rooting the phone Otg is not working using the normal Otg cable due to no power source.
So provide a solution as to.using the Otg cable( not a Y otg cable)
Also guide as to how to use Ps3 dualshock controller on our xperia L( have seen sum videos showing ps3 controller with XperiaL)

We do have support for OTG.
Our phone does support OTG, but doesn't give enough power.
We can provide an external power supply to support it
I dont think its possible to deliver that power in some ROM manipulation.
You can try asking some kernel develpers if you want. I believe its a hardware limitation. Or thats what i have learnt so far!

As far as I know, OTG cables need a certain output voltage in Usb port. But I think that kernel makers can do something about it, cause they can change the input voltage to low the battery recharging time, I think they can increase the output voltage to, but my knowledge about this is very very poor, and I don't know about the risks to hardware doing this...
Sent from my C2104 using XDA Premium 4 mobile app

Exactly!
DsvCdsSoftware said:
As far as I know, OTG cables need a certain output voltage in Usb port. But I think that kernel makers can do something about it, cause they can change the input voltage to low the battery recharging time, I think they can increase the output voltage to, but my knowledge about this is very very poor, and I don't know about the risks to hardware doing this...
Sent from my C2104 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
THAT is what exactly i was thinking!!

Sixasis Controller works fine for using Dualshock (bluetooth)

Yoru9102 said:
Sixasis Controller works fine for using Dualshock (bluetooth)
Click to expand...
Click to collapse
Ya. did the same yesterday and it is working like a charm.

hi ,
my advice is the otg doesn't work because electricaly dont power the usb , it's not from kernel , because i try other kernels in other on not mine ( because mine its bootloader unlock not allowed) is the same problem it work only with external power supply . then the phone doesn't supply power on the otg , the OTG doesn't give any voltage at front end OTG. i search for the schematic of xperia l but i haven't found any thing about it for revising this information.

Related

problems with usb otg cable

I recently bought an otg cable for my tab 2 7.0, a d I tried keyboards , mouses and flash drivers, but when I plug a controller of any type, it just powers but the tab doesnt read it,and also when I plug in my phone it just charges without any data transmission .
But I found out recently that by connecting a USB hub I could use the controllers and the phone normally without any problem , so can any one please help me here as I don't want to make a series of connections just to connect a simple controller.
Try plug your external device to the OTG cable first and then plug the OTG to your Tab 2.
ketut.kumajaya said:
Try plug your external device to the OTG cable first and then plug the OTG to your Tab 2.
Click to expand...
Click to collapse
Didnt work and i tried the card reader and it doesn't work also
Edit : only wireless mouses and keyboards work
How would it work with a normal hub and it doesn't work without it?
So you could try,
Plug the usb otg
Then plug in a usb hub (with 3/4/6 usb ports on it.)
And I believe it needs to be a power based hub, that would possibly Work then.
Sent from my C6603 using Tapatalk 2
DarkKrypt said:
So you could try,
Plug the usb otg
Then plug in a usb hub (with 3/4/6 usb ports on it.)
And I believe it needs to be a power based hub, that would possibly Work then.
Sent from my C6603 using Tapatalk 2
Click to expand...
Click to collapse
The problem is that i don't need to plug in a POWERED hub, the ordinary hub works well with it @[email protected]
Sounds to me like you have some sort of a connection issue -captain obvious- and gonna guess your usb on the go cable does not give a solid connection
Sent from my GT-P3110 using xda app-developers app
can you to be more specific? cause if what you say is correct then how does every thing work when i connect the hub to a damaged cable?
Here's an idea.
My Xperia s could not use a ps3 wired controller it used to say 'power output unavailable etc etc' (but wired mouse and kboard Work fine )
But my Xperia z and Asus tf300 can use the ps3 controller wired with no issues
With shadowgun deadzone, gta 3 , max Payne etc..
This is why I recommended a powered hub.
As mouse and keyboard don't need much power to operate
But the controller does for some odd reason
Sent from my C6603 using Tapatalk 2
i can use a non powered hub without any problem , i don't think it is a power problem at all
the problem is that there is not data transmission with some devices like wired mouses, keyboards and controllers while some others work fine like flash drivers and wireless mouses and keyboards.
But when i plug in a simple USB hub all work just fine the wired and wireless devices.
could it be that the otg doesn't work with usb 2.0 devices?
U need to download an app called usb jostick center 7 its an app that u use so I recognizes the remote(i leave link below) I use my tab 2 7.0 (p3110) with xbox controller with dead trigger, gta vice city, gta3 etc. But u need this app fir it to work!
Regards. Mitchell
Press thanks if I helped!
Sent from my MT11i using xda premium
Actually i am using Usb Host Controller to see if the device is read by the tab or not, and when i plug in the controller without the hub , nothing is detected at all
Sounds like you have a bad OTG. Check my signature for a good OTG cheap on Amazon ($6.99). Hope this helps.

Help Me Choose OTG Cable

Hello, I need an OTG cable that has usb power. I mean i want to connect a wireless adapter to my nexus 4 but these adapters consume a lot of battery so i need to connect adapter to otg cable and the other otg cable to nexus 4 charger so the adapter won't need nexus's battery but only the charger to take power of. Im pretty sure that this can be done but i need your help to choose the right one.
Thanks in advance
loran_t said:
Hello, I need an OTG cable that has usb power. I mean i want to connect a wireless adapter to my nexus 4 but these adapters consume a lot of battery so i need to connect adapter to otg cable and the other otg cable to nexus 4 charger so the adapter won't need nexus's battery but only the charger to take power of. Im pretty sure that this can be done but i need your help to choose the right one.
Thanks in advance
Click to expand...
Click to collapse
Better yet, the Nexus 4 NEEDS external power as the Nexus 4 cannot supply enough power for USB OTG to work without. See also: http://forum.xda-developers.com/nexus-4/orig-development/usb-otg-externally-powered-usb-otg-t2181820
Look for a USB OTG Y-cable preferably. Mine just came over. Though I need to flash a kernel supporting USB OTG before I can test it out.
I didn't test it yet, but the one I bought is this one.
SirHat said:
Better yet, the Nexus 4 NEEDS external power as the Nexus 4 cannot supply enough power for USB OTG to work without. See also: http://forum.xda-developers.com/nexus-4/orig-development/usb-otg-externally-powered-usb-otg-t2181820
Look for a USB OTG Y-cable preferably. Mine just came over. Though I need to flash a kernel supporting USB OTG before I can test it out.
I didn't test it yet, but the one I bought is this one.
Click to expand...
Click to collapse
I checked the thread and i have some questions. I thought that i could plug the otg cable to the phone and the usb (male) i could plug it in to nexus's charger (is this possible?) and everything would work as should. So I have to flash franco kernel to make this happen? Can I plug otg to nexus's charger or I should buy another charger for the externel device (wireless adapter)?
This will work only if i have CM? Once you test it please post your results here.
loran_t said:
I checked the thread and i have some questions. I thought that i could plug the otg cable to the phone and the usb (male) i could plug it in to nexus's charger (is this possible?) and everything would work as should. So I have to flash franco kernel to make this happen? Can I plug otg to nexus's charger or I should buy another charger for the externel device (wireless adapter)?
This will work only if i have CM? Once you test it please post your results here.
Click to expand...
Click to collapse
Theoretically the Nexus charger, or any other device (like a battery pack) that could provide sufficient power should work.
Franco kernel doesn't have OTG support by default. The ROM isn't important, the kernel is. The kernel needs OTG support. There are some out there that support OTG. There is even a thread one someone patching for example to Franco kernel to have OTG support. Though the releases aren't very up-to-date, see: http://forum.xda-developers.com/nexus-4/development/kernel-patch-multiple-kernels-usb-t2586524 .
Dimfish should have OTG support. Has versions for AOSPish roms and CM roms.
Hell's Doctor should also have OTG, among a lot of other features. Also has versions for AOSPish roms and CM roms.
I am going to give it a try soon.
[EDIT]
Just gave it a try by using an old franco kernel that is patched (first link).. Works! Though the kernel doesn't work well with the latest rom I have, so Wifi doesn't work.. so I am going back. But it's confirmed. I used a battery pack to power the USB stick.
SirHat said:
Theoretically the Nexus charger, or any other device (like a battery pack) that could provide sufficient power should work.
Franco kernel doesn't have OTG support by default. The ROM isn't important, the kernel is. The kernel needs OTG support. There are some out there that support OTG. There is even a thread one someone patching for example to Franco kernel to have OTG support. Though the releases aren't very up-to-date, see: http://forum.xda-developers.com/nexus-4/development/kernel-patch-multiple-kernels-usb-t2586524 .
Dimfish should have OTG support. Has versions for AOSPish roms and CM roms.
Hell's Doctor should also have OTG, among a lot of other features. Also has versions for AOSPish roms and CM roms.
I am going to give it a try soon.
[EDIT]
Just gave it a try by using an old franco kernel that is patched (first link).. Works! Though the kernel doesn't work well with the latest rom I have, so Wifi doesn't work.. so I am going back. But it's confirmed. I used a battery pack to power the USB stick.
Click to expand...
Click to collapse
I flashed CM11 and I think I will keep the stock kernel for now. Once i get my Antenna & OTG Cable i will try them on Stock CM Kernel, If they won't work I will flash one of the kernels you suggested me. I will buy an OTG Cable like the one you bought.
Thanks again.:good:
Regards

HDMI Display drivers for LG-H955?

Hi,
Some time ago I bought an OTG (Male microUSB, female USB) cable, and recently I have also found a USB to HDMI cable. Being the curious person I am, I bought it and connected the two. My TV saw the phone, however it says "No signal" which probably means I need some drivers. Does anyone know if such drivers exist and if so then where?
P.S I know - I should have bought a miracast adapter instead, and I will, but I want to know if I can get this working first.
Thanks,
Matt
You need a mhl cable and TV.
Sent from my LG-H950
Kukubski said:
You need a mhl cable and TV.
Sent from my LG-H950
Click to expand...
Click to collapse
Does an HDMI cable not work? Why?
Why would it work?
You can't just plug an USB output into hdmi and expect it to magically work. Standard is called MHL.
Sent from my LG-H950
LG uses the other standard named SlimPort that work without external power and is micro-usb to HDMI directly. MHL needs power from external source to output to HDMI and it does not work with our phones at all
Rodoo said:
LG uses the other standard named SlimPort that work without external power and is micro-usb to HDMI directly. MHL needs power from external source to output to HDMI and it does not work with our phones at all
Click to expand...
Click to collapse
In this case I have to apologise for providing incorrect info above.
Sent from my LG-H950
Rodoo said:
LG uses the other standard named SlimPort that work without external power and is micro-usb to HDMI directly. MHL needs power from external source to output to HDMI and it does not work with our phones at all
Click to expand...
Click to collapse
That is absolutely true!!!
Well first of all - I don't know why it would work... I just did that to see if it would work and it didn't and so I went on here to see whether it's me doing something wrong or whether it's just not gonna happen. And secondly - thanks for telling me it's SlimPort, but now it's a bit too late. Next time make sure your information is accurate before you post it.
P.S Just posting this off of another account, I forgot the password to my chmodder one, and didn't have time to reset it.

Connect Xperia to TV using USB-C to HDMI cable? HDMI alt mode capable?

Does the XZ or the XZ Premium support HDMI alternative or alt mode through the USB-C port?
This is what I'm talking about :
https://www.theverge.com/circuitbreaker/2016/9/1/12758384/usb-c-hdmi-alt-mode-cables-specifications
I think Sony dropped MHL support because of the google cast.
Not sure if usb C to HDMI works, but you can find out and let us know
Apparently the Snapdragon 835 natively supports Displayport alt mode.
https://m.youtube.com/watch?v=ZWlkkM8SkDQ
I've bought this HUB with HDMI recently: https://www.amazon.de/Delivery-Auflösung-Ladefunktion-Macbook-ChromeBook/dp/B01BXOW3V0 but haven't got the HDMI Port to work so far, I'll try again later propably.
Any news?
pribambas said:
Any news?
Click to expand...
Click to collapse
I've tried it again but it didn't work. The Device might not support Displayport over USB C at all or we just need to wait for an Software Update.
Check if your device supports Displayport alt mode.
Or you could try it with a Displayport alt mode capable USB-C to HDMI cable or adapter.
C to HDMI cable didn't work.
AndroPlus said:
C to HDMI cable didn't work.
Click to expand...
Click to collapse
Hi @AndroPlus.
Thanks for chiming in.
May I ask which USB-C to HDMI cable you tried to use on your Sony Xperia XZ Premium for direct audiovisual output to TV ?
Is your cable DisplayPort alt mode capable?
Thanks.
lebigmac said:
Hi @AndroPlus.
Thanks for chiming in.
May I ask which USB-C to HDMI cable you tried to use on your Sony Xperia XZ Premium for direct audiovisual output to TV ?
Is your cable DisplayPort alt mode capable just like this one? This cable here is marketed as DisplayPort alt mode capable and it's supposed to work with Samsung Galaxy S8 which also uses the Snapdragon 835 chipset. So theoretically it should also work with Sony Xperia XZ Premium out of the box.
https://www.amazon.com/Thunderbolt-Compatible-Galaxy-MacBook-ChromeBook/dp/B01LYS3Q5A
Thanks for the info.
Click to expand...
Click to collapse
I used this one (it supports Galaxy S8):
https://www.amazon.com/dp/B071FNG86N/
I tried with multiple TV and monitor, but it didn't work.
[UPDATE]
I checked with HTC U11 and it works, so cable itself is good.
Unfortunately I can confirm that the Sony Xperia XZ Premium does not support Displayport alt mode at this moment in time. Perhaps Sony developers might add Displayport support in the near future though but don't hold your breath.
The hardware capability is there thanks to the incredible Snapdragon 835 but for some reason Sony decided to remove this feature through software or rather a lack thereof.
It's a shame really. Now I need to return this phone and buy a flagship smartphone from one of the competitors just to get this displayport functionality.
Hi, Oreo update has been just released for Sony Xperia XZ Premium. Any new info about USB-C to HDMI output compatibility? Can someone test it? Im thinking of buying this phone, but this is a must have feature for me. No luck with Google search.
Ditto-- any news since Oreo update?
Anyone try since the Oreo update? Results?
I just try to plug in the phone with a switch to usb C dock (capable to use with nintendo switch) but it still didn´t work for me, and nothing appears on the screen. The charging and usb are working correctly, so Oreo still haven´t HDMI support for our Phones
I connected the adapter I bought, and my phone did recognize my TV, but it didn't actually stream video to it.
https://forum.xda-developers.com/xz-premium/how-to/displayport-alt-mode-t3739553
just because a chipset supports something doesn't mean its physically connected, not even having the pins connected on the PCB will determine if it can support it, the hardware could be disabled in multiple locations and supporting chips may not even be present. yes it may well be software limited but don't hold your breath, since time began manufactures have be dropping functions from chipsets
Yes it's possible and feasible. Ignore that lame know-it-all naysayer and doubter above ^^
@Inerent
Thanks for creating a bounty thread for it.
You might want to turn it into a crowd funded fundraiser though.
100 bucks is not much of an incentive for the talented and hard working developers. Keep in mind they do this in their spare time. We must support their hard work.
Lirannl said:
I connected the adapter I bought, and my phone did recognize my TV, but it didn't actually stream video to it.
Click to expand...
Click to collapse
How were you able to tell the phone recognized the TV? Was it data transfer protocol maybe?
mikeymop said:
How were you able to tell the phone recognized the TV? Was it data transfer protocol maybe?
Click to expand...
Click to collapse
I have an app called Sentio desktop. It activates if an external display is connected, or a keyboard is connected. I didn't connect a keyboard at that time, so it must've detected an external display. I tried using OTG for plenty of other things. It doesn't make mistakes. Sentio only launched when I connected a keyboard, not external storage, or even a mouse. Only when I connected a 2 in one (mouse+keyboard) did Sentio launch.
And when I hooked my phone up to the TV with the HDMI cable.
Do you think that that piece of information could be useful in making a kernel mod to make it work?

Question Enable USB OTG & Charging Simultaneously?

Hey Guys, I tried searching here but couldn't find my specific answer. I just recently got a model XT2043-4 to use along with Octo4a to run my 3D printer remotely. The problem I am having is that I cannot use USB OTG and Charge the phone simultaneously with a Y splitter. I have been reading around and it seems like it is a Kernel issue with stock. Do any of you know if there is a Kernel that will enable this phone to charge while also using OTG? Or if this is even possible with this device?
Looks like your usb driver supports usb pd and pr_swap at first glance. Is your splitter supposed to be able to negotiate the role swap over the pd protocol or is it just a regular y-cable?
Hmm.. with it being a cheap Y splitter from amazon, I don't think it was supposed to negotiate the role swap. It advertised being able to, but did not specifically mention the Moto G stylus. Do you know of one that would allow and handle it?
For reference, this is the one I got: https://www.amazon.com/dp/B08Y6VQN99?psc=1&ref=ppx_yo2ov_dt_b_product_details
Lil B Rules All said:
Hmm.. with it being a cheap Y splitter from amazon, I don't think it was supposed to negotiate the role swap. It advertised being able to, but did not specifically mention the Moto G stylus. Do you know of one that would allow and handle it?
For reference, this is the one I got: https://www.amazon.com/dp/B08Y6VQN99?psc=1&ref=ppx_yo2ov_dt_b_product_details
Click to expand...
Click to collapse
Looks like it should be able to do the job, if you have a multimeter check the pinouts
Lil B Rules All said:
For reference, this is the one I got: https://www.amazon.com/dp/B08Y6VQN99?psc=1&ref=ppx_yo2ov_dt_b_product_details
Click to expand...
Click to collapse
That looks like it should work from the listing. It looks like your kernel config does build the nessery modules
Code:
CONFIG_USB_PD_POLICY=y
CONFIG_QPNP_USB_PDPHY=y
After you plug it into your phone, try running dmesg as root to see if there are any recent kernel messages involving PD.
maddog3030 said:
Looks like it should be able to do the job, if you have a multimeter check the pinouts
Click to expand...
Click to collapse
I'll give it a shot when I get home this weekend. Thanks for the path. It's a USB type C but I'll verify the pins.
fddm said:
That looks like it should work from the listing. It looks like your kernel config does build the nessery modules
Code:
CONFIG_USB_PD_POLICY=y
CONFIG_QPNP_USB_PDPHY=y
After you plug it into your phone, try running dmesg as root to see if there are any recent kernel messages involving PD.
Click to expand...
Click to collapse
Thank you, for some reason when I have the splitter plugged in and OTG is connected and working fine, but I plug the power into the other side of the splitter and it drops the USB OTG connection and starts charging instead.
I'll attempt what you've suggested here when I get back to the house. Thanks for the tip.
I use this USB-c "Splitter" and it works perfectly. My primary use is with an external USB-C portable monitor from Asus. I plug in a USB-C PD power supply on one side and monitor on the other. Also have the other version with a 3.5mm headphone input with USB-C PD on the other, and you can additionally use a USB-C hub in tandem..
https://www.amazon.com/Headphone-Adapter-CableCreation-Charging-Splitter/dp/B07YD3BF4N/ref=sr_1_3?crid=3KM0TLMQPB2GB&keywords=cablecreation%2Busb-c%2Bsplitter&qid=1678723406&s=electronics&sprefix=cablecreation%2Busb-c%2Bsplitter%2Celectronics%2C125&sr=1-3&th=1
I am interested in making this work as well. I have a Moto G Pure and it drops the charging connection via software. I can watch this happen in connections with developer mode enabled.
I have actually gotten it to work by unplugging/plugging it in and changing it from connected device to this device in settings. Is there a dev that can modify the kernel to prevent it switching and leave it to charge the phone instead? I am pretty sure this is a kernel level issue but I am not a dev and cannot speak intelligently on this.

Categories

Resources