When you connect USB OTG Adapter to the phone it is switched into USB Host mode. The board of HTC Sensation isn't capable of giving power to USB peripherals, so USB Y Cable or USB Hub with external power supply is required to connect USB peripherals to the phone. You can connect different types of USB peripherals: USB Hub, USB mass storage devices (e. g. USB HDD, USB Stick, MP3 player), USB HID devices (e. g. USB mouse, USB keyboard, Wireless mouse or keyboard with USB receiver).
Requirements:
Micro USB Host OTG Cable with USB power
or
USB OTG Adapter + USB Y Cable
or
USB OTG Adapter + USB Hub with external power supply
My Overclocked kernel (v1.5.2 or newer) for HTC Sensation
My Overclocked kernel (v1.4.0 or newer) for HTC Rezound
/sdcard/usb
Create usb directory on the root of your SD card.
/system/etc/vold.fstab
If you want to enable automatic mounting of USB mass storage devices to /sdcard/usb directory by the system, you need modified vold.fstab. This file is included in my kernel package and will be updated during install.
Tested USB peripherals:
LogiLink USB Hub with 4 USB ports.
Seagate 250GB USB HDD.
Sandisk CRUZER 4 GB USB stick.
Sandisk Sansa Clip MP3 with 2 GB storage.
Logitech USB mouse.
Logitech Wireless mouse and keyboard with USB receiver.
USB mass storage devices:
If you connect USB mass storage device then first FAT/FAT32 partition (if any) will be mounted automatically to /sdcard/usb directory and Media Library will index its content. Files can be viewed using Gallery, Music or any file manager. It won't happen if other USB mass storage device already has automatically mounted partition.
You can manually mount FAT, FAT32 and NTFS partitions.
For example, to mount first, FAT/FAT32 partition to /sdcard/usb1 directory:
To mount third, NTFS partition to /sdcard/usb2 directory:
To unmount:
su
umount /sdcard/usb1
Requirements:
Micro USB Host OTG Cable with USB power
or
USB OTG Adapter + USB Y Cable
or
USB OTG Adapter + USB Hub with external power supply
My Overclocked kernel (v1.5.2 or newer) for HTC Sensation
My Overclocked kernel (v1.4.0 or newer) for HTC Rezound
/sdcard/usb
Create usb directory on the root of your SD card.
/system/etc/vold.fstab
If you want to enable automatic mounting of USB mass storage devices to /sdcard/usb directory by the system, you need modified vold.fstab. This file is included in my kernel package and will be updated during install.
Tested USB peripherals:
LogiLink USB Hub with 4 USB ports.
Seagate 250GB USB HDD.
Sandisk CRUZER 4 GB USB stick.
Sandisk Sansa Clip MP3 with 2 GB storage.
Logitech USB mouse.
Logitech Wireless mouse and keyboard with USB receiver.
USB mass storage devices:
If you connect USB mass storage device then first FAT/FAT32 partition (if any) will be mounted automatically to /sdcard/usb directory and Media Library will index its content. Files can be viewed using Gallery, Music or any file manager. It won't happen if other USB mass storage device already has automatically mounted partition.
You can manually mount FAT, FAT32 and NTFS partitions.
For example, to mount first, FAT/FAT32 partition to /sdcard/usb1 directory:
Code:
[b]su
mkdir /sdcard/usb1
mount -t vfat -o rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=1015,dmask=0702 /dev/block/sda1 /mnt/sdcard/usb1[/b]
To mount third, NTFS partition to /sdcard/usb2 directory:
Code:
[b]su
mkdir /sdcard/usb2
mount -t ntfs -o rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=1015,dmask=0702 /dev/block/sda3 /mnt/sdcard/usb2[/b]
To unmount:
su
umount /sdcard/usb1
Last edited: