OTG *NOT* working in TWRP and also inside OS [Oneplus 5] - OnePlus 5 Questions & Answers

My OTG was working fine on my device before. But from some time I am not able to mount OTG (I did change ROM's in between). OTG is not detected in TWRP (I'm using this TWRP ) nor it is detected inside the OS.
Has anyone faced this before? Can anyone help me with it.
PS. I have included the android.hardware.usb.host.xml file. My device didn't have the file tablet_core_hardware.xml or handheld_core_hardware.xml .
But I manually added those files. Still with no luck.

Related

Sm-N900 I can't copy files from phone to pc

As said above,ı can't copy any files from phone to pc.
Samsung usb driver is installed.
Usb Debug mode on or off doesn't make a difference.
I can't copy to desktop or c/d drives.
I tried to make a new folder and copy(Sometimes that worked before.) but the same again.
I am using Aurora rom with stock kernel.
None of the things worked this time.
ı am trying to copy a 56 kb photo and am unsuccessful
Please,help
Not sure if it matters but is the computer a trusted computer? Is there anyway to change the USB mode to mtp?

Problems with WiFi & Recovery with rk3036 board used in Mega Drive Flashback Consol

Problems with WiFi & Recovery with rk3036 board used in Mega Drive Flashback Consol
Hi guys,
I am a (bad) developer who is trying to obtain the maximum from the recently released Mega Drive Flashback console.
It is an Android 4.4.4 unit with an rk3036 SoC. The problems I am facing are 2:
1 - WiFi module seems not to be laoded and all .ko modules present in /system/lib/modules give "invalid exec format" for the exception of the mali.ko (gpu) one (when instmod it says "already present"). I would like to know what I have to do to find/build a correct wifi module; reading on the web it seems to be a kernel-related problem so I need to recompile the .ko or find another kernel or find a precompiled .ko which "fits" with the used kernel. I found other kernel.img, system.img and boot.img from other Rockchip devices but I do not know which .ko file to "reuse" (wifi.ko ?). Which WiFi USB dongle do you suggest me for this "challenge" ?
2 - I "stole" a TWRP 3.1.1 from an Android TV firmware using another Rockchip SoC and it is booting fine (I cannot control it via touch screen because the Mega Drive Flashback has not a screen but it is controllable via mouse) but it seems not to recognize/mount any console partition and the mounted ones (the ones present inside the recovery) are 0 bytes and I cannot save options. Can someone help me in making this recovery in a working state ? If needed I can post the recovery.img file.
The device is correctly rooted with SuperSU and has Busybox installed. ADB and MTP drivers are working fine.
Sorry for all those noob questions but we are trying to describe how the console works; you can find what we found out here: https://mdfbrew.org.

OTG *NOT* working in TWRP and also inside OS [Oneplus 5]

My OTG was working fine on my device before. But from some time I am not able to mount OTG. OTG is not detected in TWRP nor it is detected inside the OS.
Has anyone faced this before? Can anyone help me with it.
PS. I have include the android.hardware.usb.host.xml file. My device didn't have file tablet_core_hardware.xml or handheld_core_hardware.xml .
But manually added those files. Still with no luck.
Uzumaki said:
My OTG was working fine on my device before. But from some time I am not able to mount OTG. OTG is not detected in TWRP nor it is detected inside the OS.
Has anyone faced this before? Can anyone help me with it.
PS. I have include the android.hardware.usb.host.xml file. My device didn't have file tablet_core_hardware.xml or handheld_core_hardware.xml .
But manually added those files. Still with no luck.
Click to expand...
Click to collapse
Does you phone detect PC connection? Try to clean usb using moistened in alcohol cloth.
jsergan said:
Does you phone detect PC connection? Try to clean usb using moistened in alcohol cloth.
Click to expand...
Click to collapse
My phone is detected on PC. Only problem is OTG.
Uzumaki said:
Only problem is OTG.
Click to expand...
Click to collapse
Anyway try to clean USB port
jsergan said:
Anyway try to clean USB port
Click to expand...
Click to collapse
Still no luck, I don't know what's wrong

OTG not working

I tried various ways such as editing the system file located in system>vendor>etc>permissions>handheld_core_hardware.xml and even updating firmware (currently at 432)....my usb host working properly (as said by USB OTG Troubleshoot app) but still my flashdrive(works in my laptop) is not working on my phone (not lighting and already formatted it to fs fat32)... PLS HELP ME
Current OS: Nusantara EOL
Current Kernel: Darkonah 4.4.243

OTG support

Device: huawei p9 lite vns-l31 android 7 rooted using TWRP and magisk
Im trying to enable OTG support for a usb keyboard with an OTG cable
- moved (android.hardware.usb.host.xml) to (/system/etc/permissions) and verified (USB Host) using an app (USB OTG Checker)
- tried to use RevolutionOTG apk (https://forum.xda-developers.com/t/activate-otg-support.3476369/post-69049971)(spanish) and
(https://forum.xda-developers.com/t/activate-otg-support.3476369/post-69086637)(english) but it's not detecting root !
- tried running the two scripts (echo hoston > /sys/devices/ff100000.hisi_usb/plugusb) and (echo hostoff > /sys/devices/ff100000.hisi_usb/plugusb)
and then modified the directory to (/sys/devices/platform/ff100000.hisi_usb/plugusb) but again nothing happens !
- tried this (https://goo.gl/5uLcwW) (Elite OTG for huawei p9 lite) from an old post (https://forum.xda-developers.com/t/...9-lite-by-hassanmirza01.3701052/post-74423429) but the link is no longer available
- tried using (USB OTG Helper) but the app is unable to create mount directory
- Can someone help me in any direction ?
aramous said:
Device: huawei p9 lite vns-l31 android 7 rooted using TWRP and magisk
Im trying to enable OTG support for a usb keyboard with an OTG cable
- moved (android.hardware.usb.host.xml) to (/system/etc/permissions) and verified (USB Host) using an app (USB OTG Checker)
- tried to use RevolutionOTG apk (https://forum.xda-developers.com/t/activate-otg-support.3476369/post-69049971)(spanish) and
(https://forum.xda-developers.com/t/activate-otg-support.3476369/post-69086637)(english) but it's not detecting root !
- tried running the two scripts (echo hoston > /sys/devices/ff100000.hisi_usb/plugusb) and (echo hostoff > /sys/devices/ff100000.hisi_usb/plugusb)
and then modified the directory to (/sys/devices/platform/ff100000.hisi_usb/plugusb) but again nothing happens !
- tried this (https://goo.gl/5uLcwW) (Elite OTG for huawei p9 lite) from an old post (https://forum.xda-developers.com/t/...9-lite-by-hassanmirza01.3701052/post-74423429) but the link is no longer available
- tried using (USB OTG Helper) but the app is unable to create mount directory
- Can someone help me in any direction ?
Click to expand...
Click to collapse
Download Elite kernel 2.1.zip,
https://mega.nz/file/YtUgzLaB#fIo23EtM6NlgxZoxN023raDuo7GzNUiI6uJJMI8Qp28
flash it in TWRP, wipe dalvik/art cache , reboot. Backup your stock boot.img!
But if I remember correctly, OTG may not work properly with Magisk. So use SuperSu 2.7.9 or 2.8.2 (uninstall Magisk first!).
worked like a charm ! don't know how to thank you
aramous said:
worked like a charm ! don't know how to thank you
Click to expand...
Click to collapse
Not a problem.

Categories

Resources