[Android 9] OTG Charging on Krieg Kernel - OnePlus 5 Questions & Answers

Has anybody successfully charged the OP5 (the phone, not external devices) while using OTG? This is supposed to be possible based on the Krieg Kernel description (see "OTG power supply support"). It doesn't work for me using a USB-C (male) to HDMI/USB-A/USB-C (female) adapter like this. Is there something that needs to be done to enable the charging while using OTG?

Related

[Q] Nexus 4 OTG Ethernet Adapter Support

I have a custom kernel for the Nexus 4 phone with an updated ASIX driver. When I plug in the ASIX USB Ethernet Adapter it should be detected and install an eth0 port but it is not working. Is there no support for plugable USB Ethernet adapters in the Nexus 4 kernel? Is there a way to turn this on in the kernel?
jhoyle75 said:
I have a custom kernel for the Nexus 4 phone with an updated ASIX driver. When I plug in the ASIX USB Ethernet Adapter it should be detected and install an eth0 port but it is not working. Is there no support for plugable USB Ethernet adapters in the Nexus 4 kernel? Is there a way to turn this on in the kernel?
Click to expand...
Click to collapse
Any answer?

USB - RJ45 on Lollipop

Has anyone tried USB RJ-45 adapter on Nexus 7? Did it work? I have CM12 and M-Kernel but it doesn't work. The problem is not in adapter - on KitKat it worked fine. Does someone know about kernel that usb ethernet work with?

usb flash memory stick

Dear devoleder
I asked about how to connect flash memory stick to my huawei p8lite
Does it support otg or not?
I see in the sitting / storage/ usb mount what can i do with it
P8 lite doesn't support otg.
Sent from my ALE-L21 using Tapatalk
I don't get it too the phone does not detect the usb flash stick and many people said that the phone does not support OTG but in storage settings there that usb mount ****, really weird...
Maybe it will work with some OTG cable not by pluging the usb stick directly into the phone who knows lol
I think it's just missing a kernel driver to support it.
AIDA64 in pheripherals shows DWC OTG Controller, pheripheral ID 1D6B-0002
Hello, OK the p8 lite didn't support otg cable/stick but with twrp and a otg stick it's working fine for flashing process
dkonect said:
Hello, OK the p8 lite didn't support otg cable/stick but with twrp and a otg stick it's working fine for flashing process
Click to expand...
Click to collapse
Really? TWRP mounts usb stick?
In this case it's only needed a kernel driver to have it working in rom
The OTG chip exists, but the kernel lacks support for USB OTG.
then rooting the phone and installing stickmount and using an usb otg cable will solve the problem I guess
AmINoS007 said:
then rooting the phone and installing stickmount and using an usb otg cable will solve the problem I guess
Click to expand...
Click to collapse
No, a kernel driver is needed before everything else.
ItalianWolf said:
No, a kernel driver is needed before everything else.
Click to expand...
Click to collapse
oups
I think the driver is not a problem. The driver is present in the kernel.
The problem is probably a stock rom or stock system problem.
There could be a possible solution with a different rom like CM or AOSP.
https://github.com/XePeleato/android_ALE-L21_kernel/search?utf8=✓&q=otg
At last, a spark of hope for OTG! Honor 4x supports OTG and they almost have the same specs....
I'm looking to push a CWM for the P8 Lite soon when I have the time... will look into USB OTG kernel support.
I think kernel suports fully USB OTG but it's only simply disabled.
The issue is most likely that the USB port isn't providing enough power (if any) to the USB device.
Can anyone who's patched their kernel with USB OTG support (there are many apps on the Play store which do this) confirm whether this is true, using a USB Y cable?
Somebody try to use something from Huawei Honor 4C? It's almost identical phone but with smaller internal memory and USB OTG support. It also runs on Kirin 620.
MGNConflict said:
The issue is most likely that the USB port isn't providing enough power (if any) to the USB device.
Can anyone who's patched their kernel with USB OTG support (there are many apps on the Play store which do this) confirm whether this is true, using a USB Y cable?
Click to expand...
Click to collapse
Please tell me some app name on google play
---------- Post added at 11:00 AM ---------- Previous post was at 10:24 AM ----------
If you have a honor 4x please post usb-storage module, please
I used a Y cable without effect. But I will still try.
Ps. Whole true about USB OTG Now I'm dumping memory. May be soon I will upload image with USB OTG enabled. If somebody can help me, I appreciate it.
01-16 23:17:10.786 <3>[ 5.996673s][pid:1,cpu0,swapper/0][USB][OTG_DEBUG]g_otg_enable is 0
Click to expand...
Click to collapse
Please try this: https://play.google.com/store/apps/details?id=org.tauruslabs.usbhostcheck , reboot, then use Y cable.
You need to be rooted to use that app
You can maybe build our own kernel with support of OTG?
Try changing line 1988 in the hisi_hi6210sft_defconfig: CONFIG_USB_OTG=y
https://github.com/XePeleato/androi...r/arch/arm64/configs/hisi_hi6210sft_defconfig
http://forum.xda-developers.com/p8lite/orig-development/kernel-boot-stock-android-6-0-t3344841
Don't know if it will work.
Attention! Flashing a kernel or changing a kernel can damage your phone

USB OTG ethernet functionality possible for S4?

Would anyone know if there is a ROM/kernel which has the usb otg ethernet connectivity (ie asix chipset drivers). Stock android L and above has this feature.....

USB OTG and charging at the same time (ACA mode) with LineageOS?

Does LineageOS support ACA mode, i.e. simultaneously charging the phone and using OTG devices via an ACA enabled USB OTG hub?
This adapter works well with Samsung Fold2 and Note10. It is possible activate ACA
Tried compile kernel with
Code:
#
# USB Power Delivery
#
CONFIG_USB_PD=y
nothing helped.
Found it POWER_SUPPLY_TYPE_USB_ACA how to activate it or check is it working?

Categories

Resources