how to enable OTG - Nexus 4 Q&A, Help & Troubleshooting

I have tried with different kernels and roms but without success. I have often found it difficult to find recent kernel to use.
You can help me solve this problem?

walterego221 said:
I have tried with different kernels and roms but without success. I have often found it difficult to find recent kernel to use.
You can help me solve this problem?
Click to expand...
Click to collapse
It needs Y cable like this one. Do you have it?
Nitin

nitin.chobhe said:
It needs Y cable like this one. Do you have it?
Nitin
Click to expand...
Click to collapse
Yes

walterego221 said:
Yes
Click to expand...
Click to collapse
Then flash Nitrogen OS and you should be able to get the OTG working
Nitin

If you have Otg Y cable and a kernel with otg support
Still you may need StickMount app

nitin.chobhe said:
Then flash Nitrogen OS and you should be able to get the OTG working
Nitin
Click to expand...
Click to collapse
how the kernel works? what number of recommended version?

walterego221 said:
how the kernel works? what number of recommended version?
Click to expand...
Click to collapse
Did you try what I said?
Nitin

walterego221 said:
I have tried with different kernels and roms but without success. I have often found it difficult to find recent kernel to use.
You can help me solve this problem?
Click to expand...
Click to collapse
Hey there i also had trouble with otg. But now i have no issues.
1. If you are at 4.4.4 - 5.0.2 flash franco kernel sabermod and ukm. If you are above flash quanta kernel and ukm
2. Otg-y cable is mandatory. (Nexus 4 cant afford the voltage)
3. Make sure you are using synapse. In the misc section enable usb-otg
4. Make sure you are using supersu for root operations
5. Install stickmount from google play.
6. Connect your flash drive or whatever you want to mount to otg y cable's usb port.
7. Connect a power source
8. Open stickmount and press mount button. Give it superuser permissions.
9. Check the message below the screen. It must say it mounted a usbdrive
Thats all. Cheers

Related

[Kernel 3.0.xx][ROM]CM 10.1[4.2.2]for GT-P1000[GSM/N/L/C]

Some good news for the good old G-Tab! Cdesai, koxudaxi, humberos have finished debugging the 3. kernel for now. I've made one new build yet (it was posted from OsitKP, because i've not enough posts for yet). This build is here. Help our great developers to enhance the kernel and test it.
Some details to the build: build number: 4.2.2 JDQ39E, kernel: 3.0.70.
All Thanks to alroger for his tutorials, to cdesai, humberos , angel666, koxudaxi, pawitp, jt1134, sbradymobile etc.
Sorry for my bad english.
First results on testing the kernel:
1. Charge works only when Tab is off
2. Some Advanced settings don't work
3. No USB connection to PC
4. Wi-Fi works
5. BT works partially, just like with 2.x kernel
For those who wants to try the new kernel for GT-P1000 I've attached two CWM zips with 3.x and 2.x (for rollback) kernels
OsitKP said:
First results on testing the kernel:
1. Charge works only when Tab is off
2. Some Advanced settings don't work
3. No USB connection to PC
4. Wi-Fi works
5. BT ....
For those who wants to try the new kernel for GT-P1000 I've attached two CWM zips with 3.x and 2.x (for rollback) kernels
Click to expand...
Click to collapse
6. Sound is ok, also with headphones, bt headphones not tested.
7. Voodoo works not?
8. Monitor colors are different than before
9. Power consumption seems better then before:good:
10. Some users report that vibration works not (with me also)
Are you saying that tab doesn't charge when on?
Sent from my GT-P1000 using xda app-developers app
adi6262 said:
Are you saying that tab doesn't charge when on?
Sent from my GT-P1000 using xda app-developers app
Click to expand...
Click to collapse
It seems like the tab consumed to much power if the tab is on... I'm not sure, but i think galaxy s has or had similar problem... Probably the new kernel from alroger ( 3.0.74) fix it.
Alroger has reported that external sd is not mounted and tab has no usb yet. I have these bugs too..
Alroger has made its own build yet with kernel 3.0.74 and humberos fixed furthermore the bugs.
storm31 said:
Alroger has made its own build yet with kernel 3.0.74 and humberos fixed furthermore the bugs.
Click to expand...
Click to collapse
For my P1000 this kernel is much better:
Charge works now
Tab connects to PC by USB
It seems to me that tab now isn't as hot as yesterday with 3.0.70 kernel.
Emmc is mounted, but once after some gaming I saw it unmounted.
OsitKP said:
For my P1000 this kernel is much better:
Charge works now
Tab connects to PC by USB
It seems to me that tab now isn't as hot as yesterday with 3.0.70 kernel.
Emmc is mounted, but once after some gaming I saw it unmounted.
Click to expand...
Click to collapse
Humberto has commited now 3.0.75 and fixed yesterday vabrations. I try to compile today later the kernel
3.0.75 kernel for P1000
storm31 has compiled new kernel - 3.0.75.
Have not tested too much, but charge and emmc mounting works. As well as connection to PC. Youcan try attached recovery zip for P1000.
Warning!
The kernel contains broken recovery. To rollback you have to flash previous kernel via Heimdall or make a full restock.
Help meee
OsitKP said:
storm31 has compiled new kernel - 3.0.75.
Have not tested too much, but charge and emmc mounting works. As well as connection to PC. Youcan try attached recovery zip for P1000.
Warning!
The kernel contains broken recovery. To rollback you have to flash previous kernel via Heimdall or make a full restock.
Click to expand...
Click to collapse
hai @OsitKP,, i have already installed your kernel 3.0.75 but why the emmc cannot mounting?? can you help me?? can you give step for installation in my GT-P1000 europe
agus.suginantra said:
hai @OsitKP,, i have already installed your kernel 3.0.75 but why the emmc cannot mounting?? can you help me?? can you give step for installation in my GT-P1000 europe
Click to expand...
Click to collapse
I made no special steps for emmc mounting. The only thing I can assume is I've flashed last ROM (with 2.6.35 kernel) after restock. While last kernel was installed from CWM. By the way last ROM i use was compiled by storm31 who as well compiled 3.0.75 kernel (it's not mine!).
agus.suginantra said:
hai @OsitKP,, i have already installed your kernel 3.0.75 but why the emmc cannot mounting?? can you help me?? can you give step for installation in my GT-P1000 europe
Click to expand...
Click to collapse
My emmc cannot mount also. OsitKP has one build with same old components, i have one mit newer components. It is possible that they have one or more bugs. We must wait for humberos, he is the "big man" by kernel developing. I would like to mention that the kernel 3.0.xx is very experimental. The next bad thing is that recovery seems to be brocken
3.0.75 kernel compiled by storm31
CWM zip, now with working recovery.
As for emmc it is my fault (I meant usial work. But when connected to PC it's not mounted).
Vibration and display colors are not fixed yet.
And charge is very weak.
new p1 kernel:
Thanks a lot to humberos!
kmesg and kmsg for humberos:
storm31 said:
kmesg and kmsg for humberos:
Click to expand...
Click to collapse
This files are incomplete. T_T
Please, can you try to get them again.
Thanks!
humberos said:
This files are incomplete. T_T
Please, can you try to get them again.
Thanks!
Click to expand...
Click to collapse
Sorry, I noticed it too late.
dmesg:
kmsg:
i'm not sure if it complete, but it was very hard to copy the flying text from the shell to a text file
I unfortunately could not create a text file.
Sorry if it was to long
Bye
storm31 said:
new p1 kernel:
Thanks a lot to humberos!
Click to expand...
Click to collapse
CWM version of the p1 kernel.

[Q] How to enable USB otg?

Is there any way to enable usb otg in android one phones?Natively it doesn't support.Can we make it work with any 3rd party software?
manojnagendra said:
Is there any way to enable usb otg in android one phones?Natively it doesn't support.Can we make it work with any 3rd party software?
Click to expand...
Click to collapse
there are 2 things that should matter the kernel and the software...hopefully Thunderzap kernel adds that feature !:good:
Kunal.Kene.1797 said:
there are 2 things that should matter the kernel and the software...hopefully Thunderzap kernel adds that feature !:good:
Click to expand...
Click to collapse
But I could not see anything for usb host support in thunderzap kernel.Where did you find it?
Root your device and install stick mount, it may work
Saif Suse said:
Root your device and install stick mount, it will works perfectly
Click to expand...
Click to collapse
android one doesn't support otg i've tried 16gb pendrive ..
Saif Suse said:
Root your device and install stick mount, it will works perfectly
Click to expand...
Click to collapse
I have tried and not working

[Q] Problems with USB OTG

Hello. My phone is Samsung Galaxy S3 Neo (GT-I9301I) with custom ROM installed on it (CyanogenMod 12). today I bought and USB OTG cable (Y type). I connected it to the power source, then plug the usb flash memory to the port and then I inserted the micro usb plug in my phone. And nothing happend (no notification on the status bar, nothing in file explorer). Any ideas how to fix this?
Link to ROM I installed:
http://forum.xda-developers.com/galaxy-s3-neo/orig-development/rom-cyanogenmod-12-s3-neo-t2983109
Tell me if you need more info.
ZemoDroid said:
Hello. My phone is Samsung Galaxy S3 Neo (GT-I9301I) with custom ROM installed on it (CyanogenMod 12). today I bought and USB OTG cable (Y type). I connected it to the power source, then plug the usb flash memory to the port and then I inserted the micro usb plug in my phone. And nothing happend (no notification on the status bar, nothing in file explorer). Any ideas how to fix this?
Link to ROM I installed:
http://forum.xda-developers.com/galaxy-s3-neo/orig-development/rom-cyanogenmod-12-s3-neo-t2983109
Tell me if you need more info.
Click to expand...
Click to collapse
Im sorry, but samsung haven't add support for otg for our s3 neo... this is an hardware issues...
HAlexer said:
Im sorry, but samsung haven't add support for otg for our s3 neo... this is an hardware issues...
Click to expand...
Click to collapse
But thats ridicolous. There are some videos on YT thats shows S3 neo working with mouse, keyboard, usb and even PS3 controller. Like this for example: www . youtube . com / watch?v=GQkBr78kF2k
Next, the original Samsung Galaxy S3 was reported to be supporting OTG so why the upgraded version shouldn't support it as well?
Maybe that's just a kernel issue. I haven't tried it on stock ROM but maybe I will be desperate enough to do it
Anyway thanks for your reply. For a moment I thought no one will ever look at this thread.
ZemoDroid said:
But thats ridicolous. There are some videos on YT thats shows S3 neo working with mouse, keyboard, usb and even PS3 controller. Like this for example: www . youtube . com / watch?v=GQkBr78kF2k
Next, the original Samsung Galaxy S3 was reported to be supporting OTG so why the upgraded version shouldn't support it as well?
Maybe that's just a kernel issue. I haven't tried it on stock ROM but maybe I will be desperate enough to do it
Anyway thanks for your reply. For a moment I thought no one will ever look at this thread.
Click to expand...
Click to collapse
To make otg work yu need otg y cable and a power supply and yes otg is kernel related i hope it helps
I guess I should do it earlier but here is the pic of USB Y cable I was using. It is good? I'm not sure anymore I got in form a electronic store and they told me its an OTG cable.
Maryus_Razor said:
To make otg work yu need otg y cable and a power supply and yes otg is kernel related i hope it helps
Click to expand...
Click to collapse
If that's true then why the kernel with OTG function wasn't released?
ZemoDroid said:
I guess I should do it earlier but here is the pic of USB Y cable I was using. It is good? I'm not sure anymore I got in form a electronic store and they told me its an OTG cable.
If that's true then why the kernel with OTG function wasn't released?
Click to expand...
Click to collapse
You need stock rom to make otg work and a power supply i hope it helps
Maryus_Razor said:
You need stock rom to make otg work and a power supply i hope it helps
Click to expand...
Click to collapse
I just installed stock firmware and still dosen't work. Damm why it must be so diffilcut to simply plug some usb stick in your phone.
ZemoDroid said:
I just installed stock firmware and still dosen't work. Damm why it must be so diffilcut to simply plug some usb stick in your phone.
Click to expand...
Click to collapse
You have extern battery? and if you have more questions give me your facebook and i will answer there
Maryus_Razor said:
You have extern battery? and if you have more questions give me your facebook and i will answer there
Click to expand...
Click to collapse
No I don't. Also I disabled my FB profile sometime ago becausse I wasn't using it.
ZemoDroid said:
No I don't. Also I disabled my FB profile sometime ago becausse I wasn't using it.
Click to expand...
Click to collapse
you need external battery bcouse s3 neo can't deliver curently power to otg cable untill someone make a otg kernell i hope it helps
Maryus_Razor said:
you need external battery bcouse s3 neo can't deliver curently power to otg cable untill someone make a otg kernell i hope it helps
Click to expand...
Click to collapse
I pluged the OTG cable to the power source and it didn't work. What diffirence it will make if I plug it to external battery?
ZemoDroid said:
I pluged the OTG cable to the power source and it didn't work. What diffirence it will make if I plug it to external battery?
Click to expand...
Click to collapse
i dont know the difference but i have seen a guy who plugged a externel battery on otg cabble and the phone detect usb stick and anyway i will make a otg kernel when my new pc will arive
Maryus_Razor said:
i dont know the difference but i have seen a guy who plugged a externel battery on otg cabble and the phone detect usb stick and anyway i will make a otg kernel when my new pc will arive
Click to expand...
Click to collapse
Can you send me the link to that person? Or at least the model of external battery he used?

Lolipop and USB-Host Charging?

Are there any roms/kernels that will allow me to be on Lolipop and also charge/power my devices at the same time using a OTG Y-Cable?
phnxdestroyer said:
Are there any roms/kernels that will allow me to be on Lolipop and also charge/power my devices at the same time using a OTG Y-Cable?
Click to expand...
Click to collapse
Check this out: http://forum.xda-developers.com/nexus-7/development/oxydo-revamped-kernel-nexus-7-2012-t2978950
Lemme know how it works out for you.

[ROM] Nexus 7 (2013) Timur's v4.0 Android 6.0.1 MOB30X (Flo/Deb)

Howdy...
Starting today Timur announces on his website his final "ROM modification" "Timur's Kernel" in it's latest version for stock Android 6.0.1 MOB30X as a xmas giveaway until January 21st, 2017. It's availavle for the Nexus 7 (2013) Flo and Deb:
https://timur.mobi/timurs-kernel-v4/
You may also find it rather amusing, that he's giving access to the sources on github:
https://github.com/mehrvarz/msm-marshmallow-tm-usbhost-charge
As this is not my work, all credits goes to Timur Mehrvarz.
Regards
Shinson
Will this work with f2fs?
thanks for the info! I tested an older Version of Timurs Kernel - v4.0 beta2 for Android 6.0.1 "MMB29V" (03/2016) - and i cant say i was that happy with it.
But i will give it a second try.
Errors in v4.0 beta2 fixed in final?
mariosmax said:
I tested an older Version [v4.0 beta2] - and i cant say i was that happy with it.
Click to expand...
Click to collapse
What kind of problems do you run into!?
SGH-i200 said:
What kind of problems do you run into!?
Click to expand...
Click to collapse
it wasnt so stable to be honest it crashed 2-3 times in one day.
Can I install this kernel on Pure Rom 6.0.1 or I must install the factory image 6.0.1 first? I'd like to stay on PureRom..
Anta said:
Can I install this kernel on Pure Rom 6.0.1 or I must install the factory image 6.0.1 first? I'd like to stay on PureRom..
Click to expand...
Click to collapse
No answers? come on
Anta said:
No answers? come on
Click to expand...
Click to collapse
Seems pretty apparent that nobody knows... Why don't you try it and let us know?
Been testing this Kernel out for a couple weeks now, was aiming for a permanent install but decided to test it out before I went ahead and made the mods to the center console. My hardware includes a UCA202, a Sweex 4 Port USB Hub, a USB2.0 Digital DVB-T SDR+DAB+FM HDTV TV Tuner Receiver Stick RTL2832U+R820T all bought from Amazon. Now am not sure if my hardware is just plain crap coz am forced to reboot the tablet quite a lot. USB communications drops a lot, while poweramp can regain communication with USB and continue to send signal to the amp I always have to reboot for wavesink and SDRtouch to regain communication with the DVB dongle. At this stage I've ruled out permanent install.
What is everybody else's experience?
Can't the features be extracted and implemented to other roms?
Slightly off topic -> has anyone used the 2013 for a dash install and found anything with reasonable battery life?
im DL'ing this kernel right now for a test run, but has anyone used any rom/kernel combo that can stay in standby for more than a few days?
xellion said:
Slightly off topic -> has anyone used the 2013 for a dash install and found anything with reasonable battery life?
Click to expand...
Click to collapse
Plesse ask the guys in the car install thread:
https://forum.xda-developers.com/showthread.php?t=2753941
xellion said:
Slightly off topic -> has anyone used the 2013 for a dash install and found anything with reasonable battery life?
im DL'ing this kernel right now for a test run, but has anyone used any rom/kernel combo that can stay in standby for more than a few days?
Click to expand...
Click to collapse
It depends. I've had it, with Lollipop, lose 2% over 48hours on my stripped system. That's unusual though.
Anta said:
Can I install this kernel on Pure Rom 6.0.1 or I must install the factory image 6.0.1 first? I'd like to stay on PureRom..
Click to expand...
Click to collapse
It may work but he doesn't recommend it and wouldn't support issues.
where do you get these files?
USBHost kernel (flo601) + service installer.....aka, timur-services + timur-usbhost
With TWRP recovery running, the tablet should now appear as a USB drive on your PC. This lets you copy the three zip archives required for the next step over: timur-services, timur-usbhost and SuperSU. Make sure these three files are available on the tablet's internal sdcard. Then install the three zip files (timur-services + timur-usbhost before SuperSU!), using the TWRP on-screen UI. Note that whenever you update the kernel (usbhost), you will also need to re-install SuperSU afterwards. - OK, done. You can now restart system and boot into Android OS.
Click to expand...
Click to collapse
I'm also getting error during install..."Could not find 'META-INF/com/google/android/update-binary' in the zip file. error installing zip file '/sdcard/1_ROMs/Nexus7 2013/timur-kernel-n7-2013-v4.0-final-flo.zip'
on PureNexus 6.0.1-20160821-OFFICIAL.zip
File download locations
I guys I am trying to locate the files for this Rom can anyone point me to the right location to download them I have the second gen 2013 nexus 7
Look here:
timur-m
https://www.reddit.com/user/timur-m
Reddit
https://www.reddit.com/r/timurskernel/
Timur's Kernel v4.0 for Android 6.0.1 MOB30X
https://www.reddit.com/r/timurskernel/comments/51lhgf/v40_for_android_601/
timur-kernel
https://www.reddit.com/r/timurskernel/comments/5x96uo/new_download_locations/
hachiroku said:
where do you get these files?
USBHost kernel (flo601) + service installer.....aka, timur-services + timur-usbhost
I'm also getting error during install..."Could not find 'META-INF/com/google/android/update-binary' in the zip file. error installing zip file '/sdcard/1_ROMs/Nexus7 2013/timur-kernel-n7-2013-v4.0-final-flo.zip'
on PureNexus 6.0.1-20160821-OFFICIAL.zip
Click to expand...
Click to collapse
Did you unpack the zip file in windows first? Should end up with two separate zips that can then be flashed with twrp...
didn't use Timur...went with elementalX v5.16
I use an Arduino Leonardo as Keyboard.
If I wake my Tablet and have the Arduino connected it will show 1 sek the wake Video and then it starts the suspend Video. And It show the connected USB device "Arduino Dll" although I don't aktivated the option to show the divces.
After the video is over, everything is okay.
It only happen if I have the Arduino connected.
If I have my extern usb soundcard connected it only have the error that it shows the USB devices on start although i haven't activated it.
Is there a fix?
hachiroku said:
didn't use Timur...went with elementalX v5.16
Click to expand...
Click to collapse
Timur is the only kernel that works with OTTG+Charge and on/off auto detect. Has the elementalx fixed all these issues?
---------- Post added at 03:01 AM ---------- Previous post was at 02:59 AM ----------
And the hardware is really old, and the battery aged. Are there any replacement tablet model good for fixed install?

Categories

Resources