yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] behnamsarhandi:
are you sure ?

samsung S2 don't need the adapter to connecte the device with phone !

also in last update of one x ..

This is my proof:

http://xdaforums.com/showthread.php?t=1920059

are u kidding me !

plz explain why one x don't need a adapter but sensation need it ?

What needs ?

Changes in Kernel Or Rom Or e.t.c ?
[HTC Sensation] gen129:
In hardware :rolleyes:
[HTC Sensation] vinit91:
i desperately want otg working on my phone... i tried usb hub and different otg cables but it wasnt with a power supply... and i am using viperS rom but not helping.... do i need to change d rom or any changes in the /system/etc/vold.fstab file????? help
[HTC Sensation] hinxnz:
You desperately need to use a power supply :D try using a powered USB hub..

Sent from my HTC Sensation with Beats Audio
[HTC Sensation] vinit91:
Ok thnx will try that :D
[HTC Sensation] SebastianFM:
You are wrong, Samsung Galaxy SII and HTC One X needs USB OTG adapter, but without power Y cable because their boards/chipsets can give power to USB peripherals, unfortunatelly HTC Sensation can't.
[HTC Sensation] vickfred:
SebastianFM is great!

Thanks to SebastianFM, for the wonderfull kernel! :):good:
[HTC Sensation] nuwanmw1988:
I read in open sensation thread that some sensations have a self powered USB mini USB port like s2.is this true?
[HTC Sensation] vinit91:
I am in need of usb hub with power supply and a otg y cable :P i didn't get it anywhere nearby :P
[HTC Sensation] vinit91:
Can i add a power supply to this???????
[HTC Sensation] boomboomer:
Maybe the Chinese added one to their clones? I've not heard that one.

Does it have a power input? Edit: no it doesn't but you could add a 5v to the input usb socket which would also charge your sensation when otg.
[HTC Sensation] vinit91:
U mean like dis ??? N plus d normal Otg...??? Sorry for asking stupido questions
[HTC Sensation] jazzzzzzz:
I have done this same type of hub to use with my sensation....

Gave the power to input port... But don't remove the cable of that input port because you have to connect that to your otg cable.... If you use a male to male cable for connecting to phone from a port that is not input then it may gave you problems.... So try to use ' input usb port ' to connect to otg cable and power that port itself.... I have done this successfully in this same hub itself..... Good luck
[HTC Sensation] vinit91:
thank you for the info actually but i dont get it.. how should i connect the input to otg...

can you show some picture of yours? if its feasible :) thank you :D
[HTC Sensation] boomboomer:
No. You need to go back and read the first post very carefully. For the hub you have you need a y cable to provide power to the input.
[HTC Sensation] vinit91:
ok forget the hub...you mean i just need the y cable???? so that i can connect atleast one external drive to start with???? but i am not getting the y cable nearby my location..thats why its getting so difficult for me :P
[HTC Sensation] boomboomer:
Without the y cable or a powered hub you will not get it working, look at the pictures in the first post.
[HTC Sensation] jazzzzzzz:
U need only one of the two.... Either hub and otg cable or a otg y cable(I have both)....y cable is very handy than hub...

I had make a y cable from an ordinary otg cable.... But it's some thing difficult but it's a cheap way too... Just cut the otg cable and solder red and black cable to another usb male cable... :)
[HTC Sensation] vinit91:
ok thank you so much i will try that now :)
[HTC Sensation] jazzzzzzz:
Remember to solder the cutted red and black wires back.... Don't leave the cable as it is...

Remove insulation, cut the red and black cable and solder another usb cables red and black to the cutted cable.... Then remember to join the cutted cable after that

---------- Post added at 02:32 AM ---------- Previous post was at 02:29 AM ----------

I can post my cables pic after 6hrs..
[HTC Sensation] DimonCJ:
HI! DSLR controller works for anybody? i buy Y-cable with power and SD card reader and noname 1gb flash stick works for me.
[HTC Sensation] Pash0k:
http://www.ebay.com/itm/Juiced-Syst...429952?pt=PDA_Accessories&hash=item2ec23f6440

maybe this controller can combine HDMI and OTG?
[HTC Sensation] boomboomer:
Maybe, but it doesn't specifically say it can do both at once - also the final sentence is ambiguous - MHL NOT COMPATIBLE YET (USB/SD/MICROSD COMPATIBLE) with ROOT.

It's quite expensive for just a cable and a few ports, I'd need proof it can do it all first.
[HTC Sensation] huzaifah29:
Hey, is a miniusb needed for harddrives or can you just use USB Y cable with one male attached to a power source while the other female is used for harddrive? The USB Y cable I'm talking about is 2 male USBs (not mini) and 1 female USB port.
[HTC Sensation] jazzzzzzz:
Yes it's enough... Port change is only physical change... I have tested it with usb female hardisk case
[HTC Sensation] Pash0k:
Trouble with NTFS - not mounted. I tested on USB flash 32gb

Software NTFS mounter - gets an error when i connect.

I think - we can use power +5 from accum battery in phone? - Yes battery have 4,2V but - some keyboard mouses flash - can start with low voltage.

But need to separate + from battery and + from microusb.

Anybody tried this ?
[HTC Sensation] Pash0k:
I tried at the same time conect mhl(hdmi) and short-circuit 4 5 contacts which are used to activate the OTG.

If 4 5 contacts are shorted - HDMI off

Resume : both HDMI and OTG not avaible ((((
[HTC Sensation] Sh1v3rZ:
I have a problem, my device does not recognize anything... I'm running ARHD 6.8.0 and flashed the newest sebastianfm kernel over it. Some pictures here, I hope you can help me :)

Btw, my pc recognizes the USB stick on the hub, so this confuses me..
[HTC Sensation] mykar3z99:
You can read this http://xdaforums.com/showthread.php?t=1828032

Sent from my MZ601
[HTC Sensation] huzaifah29:
Would this cable + adaptor work for USB OTG? I'd put an external battery on the red USB male, the adapter on the black USB male and then plug in any periphiral (usb stick, hard drive [as this would be powered], mouse) and finally put the micro usb into the sensation, right?

Thanks for any answers, Anyyonee??
[HTC Sensation] Quincux:
Yes, works for me.

Sent from my HTC Sensation Z710e
[HTC Sensation] huzaifah29:
Does hard drive work as well as normal usb sticks?
[HTC Sensation] jazzzzzzz:
Yup..But need stick mount or some apps like that if you have more partitions... Also ntfs is not working for me... And un mounting...
[HTC Sensation] SebastianFM:
Kernel log contains all OTG related informations (e. g. support, chip, connected OTG adapter and devices). Reboot your phone (it is important because log buffer has limited capacity and initial part of it can be overwritten), when system starts connect your OTG adapter, connect power to adapter, connect peripheral and immediately obtain kernel log (type dmesg > /sdcard/kernel_log.txt in Terminal Emulator).
[HTC Sensation] LoganLuckey:
camera control via usb otg -HTC Vivid

hey great work! I was just wondering if your kernel will work on the HTC Vivid? finding info on this specific model has been really difficult, thanks
[HTC Sensation] :
(See update first) Confused... Got a y cable, f-f adapter, usb otg cable, but not a keyboard nor a ps3 controller (nor a usb stick) will power up. No lights nada nothing.

It also appears to be similar to this post earlier in the thread (usb host diag too) - > http://xdaforums.com/showpost.php?p=30314631&postcount=151

Update: Usb hub instead of a powered y cable? Results are still the same.

Another otg cable? (What looks like the same otg cable as in the OP) Nope. Doesn't work. Same results.

Tried to manually enable usb hosting for usb drive but there's no /dev/block/sda found. Since the devices do not light up its not a surprise.

Rebooting with otg & hub/y, otg & hub & device, otg only = Nothing.

Everything = nothing.

The only other thing I can come up with is this earlier post here by Vatharian -> http://xdaforums.com/showpost.php?p=31440122&postcount=217 where it could be ROM/code related. I did try it with the official rom at the beginning and it didn't work... so could well be a worthless endeavor to try yet more.

Fortunately, the y and adapter can be converted into a car charger cable as I needed one with micro usb and the usb hub will come in handy so not a big deal. Oh well.
[HTC Sensation] xXXschokiXXx:
Good job ;)
[HTC Sensation] akaHardison:
I don't have a USB- Y cable.I think if I need another power soures.OTG is useless
[HTC Sensation] Gripa98:
I am using Manhattan usb hub and WD my passport 1TB hard drive that is not recognized neither by Samsung galaxy S3 neither by Sony xperia S. My old Verbatim HDD worked just fine. Ideas?
[HTC Sensation] tiigeri:
I've got a strange problem here...

I bought the attached parts. The red cable goes to power (original HTC power plug), the upper black cable is connected to the USB OTG cable and the USB stick is attached to the lower black cable.

Results with 3 sticks (100MB noname, 8GB OPTIMA, 16GB Cruzer, all only one partition with FAT32):

only the 100MB worked.

I noticed that the Sensation was charged only 50%, so I charged it to 100%.

After that I could also get the other sticks to work once.

But this morning I tried to connect the sticks again and I can't get the Cruzer to work anymore.

It starts to blink very shortly, but then it suddenly stops. Yesterday it blinked much longer.

I got the feeling that my power supply is not sufficient somehow (I guess the 16GB Cruzer needs most power).

But when I connect the sticks directly to the OTG cable without power then none of them works.

So my power connection can't be totally wrong!

So is my cabling OK? Do I have to switch the two black cables? Upper to stick, lower to OTG? I could do that with some adapters I have to order...

Any help appreciated...Thanks a lot!
[HTC Sensation] jazzzzzzz:
Your setup is correct...

Without power none of them will work... Thats why we bought that y cable.. :)

Also install stick mount app or any other apps like that which mounts usb...
[HTC Sensation] katmad:
Hello everyone!

Is that USB OTG Adapter + USB Hub with external power supply?

Won't I burn my phone with it?

Can I connect power to USB male?
[HTC Sensation] jazzzzzzz:
Its microusb otg y cable... Connect the usb male to htc charger or any 5v supply, connect pen drive in usb female, connect microusb to phone... U will see pendrive light blinking... :cool:
[HTC Sensation] katmad:
I afraid to burn my phone... :)
[HTC Sensation] jazzzzzzz:
Life is a risky play dude....:D
[HTC Sensation] Manipur:
I have a question though.

Kindly check these configurations.

I have ordered this.

What I want to know is can I connect this otg y Cable to my otg cable, connect it to my note 2, then connect the male USB to the powered hub and hopefully get my device to charge at the same time and hopefully not fry my phone.
[HTC Sensation] jazzzzzzz:
First of all please don't quote the main page in xda again....

For your question charging won't work properly.but your usb device get voltage from hub rather than phone so that rate of discharging will become less and also external hardisks which require more power will work smoothly
[HTC Sensation] Manipur:
Sorry for quoting the main post.

What you are suggesting is that if I connect the male USB if the y Cable to the powered hub, phone might not charge properly.

Now what do you think will happen if I connect the male USB of the y Cable to a 2 amp 5 volt wall charger, connect the powered hub to the female USB of the y Cable, connect the micro usb to the phone, then power up the amkette usb hub with its own wall charger?

I'm really looking for a solution to use all my peripherals and charge the phone as well.
[HTC Sensation] xMinistro:
Hey guys, would you know where I can check if the otg is enabled in kernel level?

How can I enable this? I'm using mtk6577 armv7 jellybean.

Thanks!
[HTC Sensation] TSilvo:
Sensation XL

I can use this for XL version?
[HTC Sensation] TamCore:
No. The XL comes with completetly different hardware than the Sensation.
[HTC Sensation] half orc lufei:
thank you:good:
[HTC Sensation] pyramid-X:
Hi guys is it possible our device support otg like note N7000 I mean auto device detect I'm using grog kernel which I test 3party detect that linux usb1 ok...
[HTC Sensation] ThE_DeamoN:
The phone will not charge at all... Its sucking power from usb too, but this current is not used for charging. There is a big difference betwen usb-client and usb-host.
[HTC Sensation] 850413419:
It seems all right

:)
[HTC Sensation] mr.pnutt:
Does the phone have to be rooted for this to work?:confused:

Sent from Kakarot in the Redlight District.
[HTC Sensation] Pectowhat:
Hi I have modified a usb otg cable so there is a power supply, however there is a problem, sixaxis controller ,usb mouse and my usb microphone works but my 16gb flash drive doesn't work, it doesn't even light up does anyone else have this problem?.

Thanks
[HTC Sensation] Shchelkynchik:
USB Otg unmount problem.

This USB OTG works for me through one place on Sensation XE with the basic a problem consults on 50 % (mounts only flash cards with FAT32) and if business concerns from to mount a flash card the script from mounts it perfectly but as soon as I will pull out USB a flash card - falls off SD Card (in a line of notices jumps out the notice "SD a card has been unexpectedly taken") on pair sek. and it is enough of it that all programs that there would be established, crumbled at start, reboot or safe to mount again sd Card through options of bodies helps only.

Insertion: stoks of Android 4.0.3 (ICS)

Kernel: Overclocked_kernel_v1.5.2_by_SebastianFM

Sorry for my bad English, I communicate in Russian. :)
[HTC Sensation] Wilton:
Friend, I was with my HTC Sensation running only with fat32 using the command line sebastian. Found in the program playstore Usb Otg Helper, could read an external HDD Samsung 500GB NTFS, and Kingston 8GB pendrive NTFS without problems. More using an external battery to feed them. hugs
[HTC Sensation] y0skata:
Is it possible to install the kernel without rooting or if i am using the usb Y cabel without kernel will it work.
[HTC Sensation] Mile_zdr:
No and No :)
[HTC Sensation] t-mobile_mda:
hi.

is there any kernel or app for htc salsa recognize otg cable..?
[HTC Sensation] dnbxvrfx:
i have htc sensation xl and i download your kernel.i need it for working otg cable.i try to instal(flash) and got installation aborted.is there any other kernel that suports for htc sensation xl usb otg?please help.ty
[HTC Sensation] rzr86:
wrong forum man

http://xdaforums.com/sensation-xl
[HTC Sensation] dnbxvrfx:
got link from you tube to this tread,guy was using htc phone and showing how is working on his phone with this kernel. sorry man for i went to wrong forum.
[HTC Sensation] Easily Confused:
Has anyone had any success with USB audio using this kernel? Any idea if it's supported in any way? I know someone asked a similar thing a while back but didn't get a response...

Thanks in advance!
[HTC Sensation] rashad900:
Thanks! Great work!! Now my hTc sensation supports OTG. So amazing!!! so exciting!!! But I have some problem yet. I can't unmount usb drive (pen drive) properly. Though I unmount that usb drive using terminal emulator command, a notification appears that "SD card unexpectedly removed" and than app those are installed on my SD card cannot be run until I manually unmount and again mount SD card from storage setting.

Could you develop some sort of UI that allows me easily and safely mount/unmount/format/manage usb drive. using terminal emulator is so bothering...

Thanks again.

:o
[HTC Sensation] rashad900:
I was faced it first time.

are you using ClockWork Mode recovery? If yes use 4ext touch recovery. first time i face that situation when i used CWM.
[HTC Sensation] jazzzzzzz:
So it will be better to connect USB otg cable to hub by USB male cable and power the hub....am I correct
[HTC Sensation] luis4ever:
If you have the OTG yes. Just connect to phone and to USB Male-Male to HUB(Or if your HUB has USB cable included just connect it to OTG) and HUB to power.
[HTC Sensation] TamCore:
@SebastianFM Which kernel options you've enabled for USB-OTG? Currently I've enabled CONFIG_SCSI, CONFIG_USB_STORAGE and CONFIG_USB_OTG_HOST. NTFS was already enabled. Do I need more? Also it would be nice if you could push your config to your repo.
[HTC Sensation] SebastianFM:
Do you know that you can obtain config directly from kernel (/proc/config.gz)?
[HTC Sensation] TamCore:
That would be an option for me if I had more down speed than GPRS.
[HTC Sensation] HTCfreak!:
Iv tried looking, it would be great if someone could help me buy the same set of cables as shown in the pic.

Thanks:good:
[HTC Sensation] luis4ever:
You can also use this:

Or this:
[HTC Sensation] mike2nl:
I had asked that yesterday too, but still no answer right now ;)
[HTC Sensation] SebastianFM:
You don't need any rare cables. Every USB OTG Adapter with Micro USB Male and USB A Female should work.

There are several ways to connect USB peripherals to USB OTG Adapter, I'll describe this later in more detail.

I found Micro USB Host OTG Cable With USB power which probably could replace both USB OTG Adapter and USB Y Cable.

I know that many of HTC Sensation owners already uses the USB OTG, please give some feedback to the others.

I'm still working on USB OTG. Next version of my kernel will support HID devices.

I succesfully connected at the same time: 250 GB USB HDD, 8 GB USB stick, USB mouse, Logitech wireless keyboard and mouse with USB receiver using USB OTG Adapter and USB Hub with external power supply.
[HTC Sensation] kgs1992:
The cables used in the picture in the OP:

White cable: USB Y cable 2 Type A to mini 5

Black cable: USB cable 1 Female Type A to micro

Not sure this is spot on, but google this, you will get similar cables.
[HTC Sensation] Stephen:
Wow that is awsome! These phones have faster processors than the PC I use in work!! If I could just work out how to connect an external screen I could replace the PC :) I am thinking a hammer or mallet might be needed! This is awsome work Sebastian.
[HTC Sensation] Quincux:
MHL - HDMI adapter, works good.

Sent from my HTC Sensation powered by ViperS 1.1.0

---------- Post added at 05:18 PM ---------- Previous post was at 05:17 PM ----------

Awesome work. Thanks mate.

Sent from my HTC Sensation powered by ViperS 1.1.0
[HTC Sensation] MMoodyB:
Excellent. HID support will be very welcome.

You'll save me £20 as I won't need to buy a PS3 controller, so expect a donation for a few beers once its released :)
[HTC Sensation] luis4ever:
Ok. After trying some things all i can say on ViperS is that USB works. 500 GB HDD don´t work and mouse don't work.
[HTC Sensation] SebastianFM:
I added support for USB HID devices in Overclocked kernel v1.5.2, few minutes ago.
[HTC Sensation] jazzzzzzz:
Are you in stock Rom.?suggest a Rom for testing
[HTC Sensation] SebastianFM:
I test USB OTG on stock ROM, ViperS 1.1.0 and newest Virtuos Inquisition. There is no difference for me.

On ViperS 1.1.0 files from automatically mounted first FAT/FAT32 partition of USB storage won't be added to Media Library because this ROM is based on HTC Ville C2 ROM and it hasn't added /sdcard/usb directory to storage list. I sent PM to m0narx.
[HTC Sensation] luis4ever:
USB is mounting on ViperS without the need of doing something else. If i plug USB on HUB i can see the images and the Music with native apps on Sense. Also DS3 is supported!!!
[HTC Sensation] Quincux:
I I have a issue: when I connect USB hub and ac power on OTG adapter , the screen go crazy!

Kernel 1.5.2, ROM ViperS 1.1.0

Sent from my HTC Sensation powered by ViperS 1.1.0
[HTC Sensation] jazzzzzzz:
It's grounding problem...better not use that hub.
[HTC Sensation] fabi280:
This is exactly the same issue I have when I'm charging my Sensation with my GF's Samsung Galaxy Ace charger - thanks for explanation
[HTC Sensation] jazzzzzzz:
Am on arhd 6.7.0....I have installed it latest kernel...and used your same way for connecting my hardisk by using otg cable and y cable for mini USB for my hardisk...and its not working ...I have created USB folder in sdcard and just connect the whole setup and nothing is happening....

Did I skip any thing.?any need of typing any commands.?

I have 320gb hardisk...the disk is rotating I can feel it on touch....but at the phone side the charging led is on and nothing happens
[HTC Sensation] triffonovm:
FC when removing cable

This is amazing Sebastian. Today a bought a USB OTG cable just to try this and it works like a charm. It's been a long time dream of mine to be able to review the clips on my GoPro camera without the need to bring a laptop. And now that dream has come true. Sensation + OTG cable + USB to miniB Y cable from an old external HDD + GoalZero battery pack = hello lightweight camping :D

I have one question though. Every time I unplug I get a FC for proccess "android.proccess.media" followed by a notification saying "SD card removed unexpectedly". So I thought "Oh stupid me, I have to un-mount first". So I fired TE, su, umount /sdcard/usb, remove cable and FC again this time followed by a notification that says "Removed SD card. SD card removed. Insert a new one."

Is this normal? Does any of you guys get those messages, or am I doing something wrong.

btw I'm on SmartDroid Berserk 2.2 ROM with kernel 1.5.2 (it was the same with 1.5.1 though).
[HTC Sensation] XxXPachaXxX:
When usb stick is mounted in /sdcard/usb when i remove the hardware the .android_secure is unmounted so all the apps on sd not works until i reboot the phone. Same thing if i use the umount /sdcard/usb command

EDIT: Working well without automatic mount in vold.fstab and with usb host controller app

EDIT: to SebFM, i suggest to not use mout points on sdcard but use one like this:

/mnt/usb

/mnt/ehdd

/mnt/ehdd1

So when the usb drive will be removed, this will not affect the sdcard

Or using mount points on sd, these have to be correctly unmounted before hardware remove. It works great with chainfire's stickmount 1.5
[HTC Sensation] SebastianFM:
1. Ensure that you have installed my newest kernel.

2. Reboot phone and wait until boot is finished.

3. Connect USB OTG Adapter.

4. Connect USB peripherals.

To check if USB mass storage device is connected properly run command ls /dev/block in Terminal Emulator.

If output contains sdX and sdXY (where X is a, b, ... for USB mass storage devices, e. g. sda, sdb and Y is 1, 2, ... for partitions, e. g. sda1, sda2) everything is OK. Remember that NTFS partitions won't be mounted automatically to /sdcard/usb directory.

If output doesn't contain any sdX and sdXY items, something is wrong. There are many ways to identify issues. First of all you should save kernel log immediatelly after connect using command dmesg > /sdcard/dmesg.txt. Log should contain useful informations about connected USB OTG Adapter and any connected USB peripherals to OTG Adapter.
[HTC Sensation] alien44:
At last :)

Everything work fine :)
[HTC Sensation] jazzzzzzz:
Is there a way to detect connected cable ?s2 detects it even if cable without device is inserted....I remember that some cable don't have sense pin connected to ground that can become problem...

In my friends galaxy s2 we found that some of the otg cable is not working ...reason is that pin 5 and 4 is not shorted at the phones end
[HTC Sensation] SebastianFM:
Automatic mount isn't perfect yet. It must be supported by ROM. I know how it should work, I tested USB OTG on Galaxy S II.

If I disable automatic mount, files won't be indexed by Media Library and won't visible in Gallery and Music.

If I use different directory by modifing vold.fstab, it won't be indexed too because /sdcard/usb is defined as storage directory by HTC in xml/storage_list.xml in framework-res.apk.

I still try to find best solution.
[HTC Sensation] XxXPachaXxX:
The problem is only how to correctly unmount before to remove hardware. the umonut command doesn't works
[HTC Sensation] heavy_metal_man:
nevermind. being a noob :(
[HTC Sensation] jazzzzzzz:
Omg...!!!
[HTC Sensation] heavy_metal_man:
nevermind. being a noob.