[APP] USB OTG Helper v6 [ROOT] (Stock/Custom kernel) - Xperia Arc Themes and Apps

A one-stop no-pain solution for enabling and using USB OTG mass storage on your android phone!
What is USB OTG?
It stands for USB On-the-Go!
"It is a specification that allows USB devices such as digital audio players or mobile phones to act as a host allowing a USB flash drive, mouse, or keyboard to be attached." - Wikipedia
The stock kernel allows Mouse & Keyboard, but USB storage is missing..
Features:
Stock and custom kernels supported
Mount and Unmount drive with a single click
No Ads!
Full NTFS support built-in!! (from v3.0.3)
Automatically start on device connect (intent broadcast) (from v3.0.3)
Notification when drives mounted! (from v3.0.3)
One click access to unmount (from v3.0.3)
Option to enable UTF-8 if kernel support (from v4)
Automatically open explorer after drive mounted (from v3.0.7)
One click debugging and feedback (in app)
What phones are supported?
Sony Ericsson Xperia Neo, Neo V, Ray, Arc and the Arc S! Modules for stock kernel on second post.
If you get it to work on other devices, please PM me and I will add them to the list.
Please note that this app is an "Helper" app.. it will not magically make your kernel support USB Mass storage
What are the requirements?
root (su binary)
busybox
USB OTG cable
How to use on stock kernel?
See this post to load modules!
WARNING
I will not be held responsible for any damage to your device. Do not use for a long time, u may risk burning the device chip/motherboard due to the voltage supply in host mode.
Screenshots and Screencast:
Download: USB OTG Helper.apk
For modules for stock ROM / other ROMS -> See here.
Changelog:
v5 (2012-10-27):
+ Option to select system busybox or in-app busybox (fixes a lot of bugs in newer devices)
= Updated internal busybox binary
= Bumped version number
v4.3.3 (2012-10-26):
+ App log also saved in debug info [debugging data is much more meaningful now]
+ Settings to enable/disable debugging mode [off by default]
v4.2 (2012-10-24):
+ Supports multiple drives via powered hub [sda to sdz block devices]
= (Fix) Folder open intent (still needs OI or ScriptManager)
v4.1.5 (2012-10-20):
= (Fix) umask error (some users could not mount ext2 and ext3 drives)
= (Fix) folder open intent (but works only with some apps eg., OI file manager or Script Manager)
= minor bugfixes
v4.0.0 (2012-07-29):
+ Lots of visual changes
+ Settings (Preferences) activity
+ Changes for ICS (Action bar)
= (Fix) Choice of file explorer to open the mounted drive
= (Fix) Notification is cleared on Unmount
= Code optimizations
- UTF-8 mode off by default (enable in Settings menu)
v3.0.7 (2012-07-04):
+ UTF-8 default if kernel supports nls_utf8
+ Automatically start file explorer after mount
v3 (2012-06-27):
+ Full NTFS support (with write support)!
+ Automatically start app on device connect (intent broadcast)
+ Notification when drives mounted!
+ One click access to unmount
- Removed setup (to support many more devices)
+ Lots of optimization and bug-fixes!
v2 (2012-06-19):
+ NTFS module integrated
+ Bugfixes
+ Now NTFS drive can be explored with ANY file explorer (Fixed bug)
Touble-shooting!:
1. Settings -> "In-app Busybox preferred" -> Uncheck. Then try again.
If still not working:
1. Settings -> Debugging mode -> Check.
2. Do the steps that fail.
3. Send me debugging data (in the app itself)
Credits:
DooMLoRD @xda-developers.com - For the original idea and implementation.
shardul_seth @xda-developers.com - For creating this app.
Bug reports, feedback and constructive criticism , please send a PM
Please do not download from below attachments. They are for historical reasons only.

Reserved
Reserved....

How to download? Good thread well warned about USB overload by using unpowerd devices.
Sent from my LT18i using Tapatalk

Download link in the OP.
Enable "unknown sources" in Settings-> Applications
Copy to SD and install..

Will this work on stock .62 firmware with doomkernel v19???
Sent from my LT18i using Tapatalk

rkanwar said:
Will this work on stock .62 firmware with doomkernel v19???
Sent from my LT18i using Tapatalk
Click to expand...
Click to collapse
Yes, just try "MOUNT" first.. Only if it fails, try "Setup".

What exactly means: "Do not use for long time"? For how long can I use mouse or keyboard? Or xbox 360 wireless reciever? Or maybe it applies only to usb storages?
Is it like 15 mins or more like 2h?

dont work in my ICS

mondaza said:
dont work in my ICS
Click to expand...
Click to collapse
[SARCASM]Very useful info in debugging![/SARCASM]
Please mention your kernel version, your device and steps taken by you!
Atleast put what device you own in your signature.

also doesn't work for me. I have an Arc on stock firmware 4.02.A.0.42 (gingerbread), stock kernel plus root. Whatever I do, the app always displays "module copy failed"

drsoran2 said:
also doesn't work for me. I have an Arc on stock firmware 4.02.A.0.42 (gingerbread), stock kernel plus root. Whatever I do, the app always displays "module copy failed"
Click to expand...
Click to collapse
re-install busybox and report

drsoran2 said:
also doesn't work for me. I have an Arc on stock firmware 4.02.A.0.42 (gingerbread), stock kernel plus root. Whatever I do, the app always displays "module copy failed"
Click to expand...
Click to collapse
Try after mounting your phone's /system as R/W.

okay now I've updated and reinstalled busybox and superuser and tried again. Now it says "storage modules live" I then connected a pen drive to my usb otg cable and attached to the phone, then mounted it. It says "mounted on sd card". Now when I browse with a file manager I can find an "usb drive 1" directory but nothing is in it!

The drive most probably is NTFS formatted.. Use script manager file browser to view files

still no luck!

Not all flash drives work. Mostly low-powered and low capacity ones only work. Try connecting to a powered hub, it should work, including external hard disk drives. (This is for the guy above me)
My other device, a cheap generic chinese tablet works with every flash drive I throw at it, 500Gb portable hard drive even. And it is connected directly, not via a powered hub. And any file system (NTFS, Fat, Fat32); ext and hfs/+ not tried.
Regarding how long is safe using usb otg, I have been watching movies from full battery down to empty usually 2 full-length movies and have no problems with it using xperia arc. Maybe that's the reason it won't charge and host at the same time. To protect the hardware. Once the phone is out of juice, you'll be forced to stop.
Hope that answers the perennial question of "How long is safe?" I have seen at almost all usb otg/host threads.

drsoran2 said:
okay now I've updated and reinstalled busybox and superuser and tried again. Now it says "storage modules live" I then connected a pen drive to my usb otg cable and attached to the phone, then mounted it. It says "mounted on sd card". Now when I browse with a file manager I can find an "usb drive 1" directory but nothing is in it!
Click to expand...
Click to collapse
I have the exact same problem.
I've tried two USB-flash drives, one is a Kingston DataTraveler G2 16gb (NTFS), the other is a Kingston DataTraveler G3 4gb (FAT32), the only thing I have on the drives are 2 .apks.
By the way, I'm using a NEO with the Neo V's official ICS from Sony.
When I mount them, the LED in the drives flashes a few times, but that doesn't happen when I go in to the "USB drive 1" directory (wich is empty).

K4L said:
I have the exact same problem.
I've tried two USB-flash drives, one is a Kingston DataTraveler G2 16gb (NTFS), the other is a Kingston DataTraveler G3 4gb (FAT32), the only thing I have on the drives are 2 .apks.
By the way, I'm using a NEO with the Neo V's official ICS from Sony.
When I mount them, the LED in the drives flashes a few times, but that doesn't happen when I go in to the "USB drive 1" directory (wich is empty).
Click to expand...
Click to collapse
Not all drives work..

shardul_seth said:
Not all drives work..
Click to expand...
Click to collapse
I got it to work with my drives when I used the app "Usb Host Controller", so if anyone else has the same problem, try that app.
https://play.google.com/store/apps/details?id=hu.sztupy.android.usbhostcontroller

If I plug my wireless xbox360 controller and wireless mouse, may it burn my phone?

Related

[Q] Live with Walkman USB-OTG

Okay, I tried to connect the mouse & keyboard and finally it works
but it doesn't support usb thumbdrive
do you all mates have any method for support usb thumbdrive to extend storage???
Try looking for "USB Host controller" app. It is in market, or here, at XDA. Also, you might need to install custom kernel, which has support of USB-OTG drives. But first, try app only.
Yes, you need another app for external USB devices.
But use only those external hard drives, which use other power source, phone is too weak to give out enough power and will heat up very quickly.
USB HOST mode for sony ericsson live with walkman(wt19i)
simple, for sony wt19i. for this your phone must be rooted.
*download 1. View attachment Xperia-2011-ICS-USB-OTG-modules.zip
2. View attachment ModuleLoader-release.apk
to sdcard in your droid.
*now load all these modules in sd card using View attachment ModuleLoader-release.apk app.
thats all,
connect a pen drive using USB OTG Helper app.
your phone may be restart 2 or 3 times when you connect a pen.
but it will fix after restart.
REMBER; DO NOT REMOVE MODULE LOADER APP FROM YOUR DEVICE,
IF IT REMOVED, DO THE SAME PROCESS TO RELOAD MODULES.
sorry for bad English, hope you helped.
which 1 is for printing?
Pen drive, mouse , key board working. Usb connection on connecting printer is not shown. What is the module for printer connection? I do a lot of job from my walkman. Please help.

[how to] usb otg

This will enable you to use USB on the go (OTG) feature that comes with Android 3.1 on our Jetstream. However, I for one don't think its truly on the go because you do need an external power source for it to work. But it allows me to connect my hard disk and work with it without the intervention of a computer which is more than great for me. But would surely like it if you could directly plug in a pen drive (not yet possible I think as far as I could search).
I have note made any of these, have just researched, tried a lot and managed to get it to work on my Jetstream and am just compiling the steps and methods I followed here.
Thanks to sztupy for his thread http://forum.xda-developers.com/showthread.php?t=1450298 for giving the basic idea.
Thanks to hellcat82 for his software NTFS Mount found at http://forum.xda-developers.com/showpost.php?p=13337600
Pre-requisites:
1. Must be rooted with Superuser and Busybox loaded
2. NTFS Mount software (use version 1.2 as 1.3 has some issues with Busybox as per the above mentioned thread and personal experience) - alternate is USB Mount by the same developer available on the Play store at https://play.google.com/store/apps/details?id=au.dach.drivemount (however I have not had success with it)
Hardware Requirements:
1. USB OTG Cable. Can be found at http://www.ebay.com/itm/Micro-USB-H...370670?pt=PDA_Accessories&hash=item3a731ccdae
Just a sample, costs around $ 2. I got mine from a local hardware store for Rs. 300 ($6)
2. USB Y cable. Can be found at http://www.ebay.com/itm/USB-2-0-Min...552?pt=LH_DefaultDomain_0&hash=item1e624b8dd0
Just a sample, costs around $ 2. I had one lying around at home.
3. USB Charger. Can be found at http://www.ebay.com/itm/Black-Plug-...er_MP3_Player_Accessories&hash=item1c254df23a
Just a sample, cousts again around $ 2. I got mine from a local hardware store for Rs. 170 ($3)
4. USB Hub (OPTIONAL) - this will enable you to connect more than 1 device at a time. If plan on using this, then you can get one with an external power source and skip the USB Charger.
Procedure:
1. 1st, after obtaining root, confirm that USB Host more is enabled on the Jetstream by checking the build.prop under /system using Root Explorer found towards the end of the screen. It should read as:
# support USB Host
rp.usb_host = 1
If not, then you must enable it by allowing R/W mode.
2. Next step would be to set up the hardware in the right manner. Note this must be done before connecting anything to the tablet.
The USB Y cable comes with 2 male USB ports and a single female USB port. The USB device to be connected must be attached to female port. The USB power charger must be attached to the side Male port and the USB OTG (micro USB to USB female) goes to the main Male port. With this all necessary connections are made. Refer to the attached picture (thanks to sztupy again) for details on other ways of connecting and using including with USB Hub (I personally have not tried the hub).
3. Put on the power source that is connected to the entire system and in case the external hard disk also uses one, that needs to be put on as well.
4. Lastly, connect the Micro USB cable with all the above connected to it to the tablet.
5. In order for the device to read/write or access the USB storage, next step depends on if the device is FAT32/NTFS
a) for FAT32 - you can go to the settings, storage and scroll down to USB storage. You will be able to see the details of the connected hardware and can click on Mount to mount and use. Unmount later to disconnet.
b) for NTFS - you must open NTFS Mount software. From the drop down list of devices, select a device (mine always shows sda1) and click on mount. Unmount from here itself later when done.
By following this, you would be able to access your USB external storage (pen drive/hard disk) with ease from your tablet directly.
Note: in order to access the files, you must use Root Explorer/Astro File Manager.
FAT32 device appear under USB folder of sdcard (i.e inbuilt memory)
NTFS devices appear under /mnt/sda1
Attachments:
1. usbhost_2.jpg - a diagram with the detailed setup (thanks to sztupy)
2. NTFSMount1_2.apk - NTFS Mount (thanks to hellcat82)
Hope this helps.
Is it truly necessary to have the OTG usb cable? I currently have a powered hub. Shouldn't I be able to use the provided JetStream usb cable and tie the devices together through the hub?
Sent from my HTC PG09410 using xda premium
aka.karasawa said:
Is it truly necessary to have the OTG usb cable? I currently have a powered hub. Shouldn't I be able to use the provided JetStream usb cable and tie the devices together through the hub?
Sent from my HTC PG09410 using xda premium
Click to expand...
Click to collapse
Hi, sorry for delay, was out for an exam.
I don't know if or not it will work. As I said I have just researched and seen what others have implemented and put it together.
Perhaps you could try and let us all know because I don't have a USB Hub (powered or otherwise) and hence have not tried it out.
This all seems a little much for OTG support considering it was just plug and play with my SGS2 and also my SGS4G. I am hoping to see some more development in this area as this type of support is nice to have on a tablet of this caliber.
aka.karasawa said:
Is it truly necessary to have the OTG usb cable? I currently have a powered hub. Shouldn't I be able to use the provided JetStream usb cable and tie the devices together through the hub?
Sent from my HTC PG09410 using xda premium
Click to expand...
Click to collapse
Tried this... it didn't work

Best way to get USB host mass storage working?

I am using Neo V official build 4.1.B.0.431 (ICS 4.0.4), rooted, unlocked bootloader (doesn't seem to matter)
I've downloaded the kernel source code, compiled the `usb-storage.ko` module, and placed it on `/system/lib/modules/drivers/usb/storage/`.
I've also changed `/system/etc/vold.fstab`, added this line:
Code:
dev_mount usb /mnt/usbstor auto /devices/platform/msm_hsusb_host.0
Then I restarted the phone.
After that, I typed the commands (using root) in shell:
Code:
mount -o remount,rw /
insmod /system/lib/modules/drivers/usb/storage/usb-storage.ko
cd /mnt
mkdir usbstor
Then I plugged in the OTG cable with a USB Flash Drive.
The storage is successfully mounted (by vold, I think), as I can verify in Root Explorer. I don't have photos so can't verify whether media scanner can detect it.
But in Settings->Storage it didn't appear. Seems that the Settings app don't support. I cannot unmount it using GUI, so when I remove the storage it warns me about that.
Are there any ways to get the Settings app to show my USB storage so that I can unmount via GUI?
Also how to automatically `insmod` and create `/mnt/usbstor` when startup? I won't bother editing ramdisk, but anything under `/system` is fine. I saw a few shell scripts under `/system`, are they fine to use?
Download USB otg from market. It's for both, arc s & neo/ neo v.
Use it with caution it may burn your motherboard....
Sent from my MT11i using xda app-developers app
Fine. I didn't use any piece of compiled binary anywhere else, but I've done the following:
1. insmod and create mountpoint using `/system/etc/pre_hw_config.sh`
2. edited `res/xml/storage_list.xml` in `framework-res.apk`.
Now the USB storage shows up in system storage settings. The name showed "USB storage" though it still shows "mount USB". I can normally use it now.
It seems to be better than using 3rd-party applications.
alvinhochun said:
I am using Neo V official build 4.1.B.0.431 (ICS 4.0.4), rooted, unlocked bootloader (doesn't seem to matter)
I've downloaded the kernel source code, compiled the `usb-storage.ko` module, and placed it on `/system/lib/modules/drivers/usb/storage/`.
I've also changed `/system/etc/vold.fstab`, added this line:
Code:
dev_mount usb /mnt/usbstor auto /devices/platform/msm_hsusb_host.0
Then I restarted the phone.
After that, I typed the commands (using root) in shell:
Code:
mount -o remount,rw /
insmod /system/lib/modules/drivers/usb/storage/usb-storage.ko
cd /mnt
mkdir usbstor
Then I plugged in the OTG cable with a USB Flash Drive.
The storage is successfully mounted (by vold, I think), as I can verify in Root Explorer. I don't have photos so can't verify whether media scanner can detect it.
But in Settings->Storage it didn't appear. Seems that the Settings app don't support. I cannot unmount it using GUI, so when I remove the storage it warns me about that.
Are there any ways to get the Settings app to show my USB storage so that I can unmount via GUI?
Also how to automatically `insmod` and create `/mnt/usbstor` when startup? I won't bother editing ramdisk, but anything under `/system` is fine. I saw a few shell scripts under `/system`, are they fine to use?
Click to expand...
Click to collapse
Hi Alvin,
I´m having big issues with enabling USB Host mode as well (phone does not find any usb devices such as usb mouse or a pendrive), so I would greatly appreciate your help in finding the root of this problem. Here are the details and what I tried so far:
1. Im running on a rooted GT-i8530, leaked 4.1.2 rom with busybox installed
2. android.hardware.usb.host.xml permissions xml file exists in etc/permissions and just mentiones the apache license
3. Running USB host diagnostics I got:
Android API
Claims support yes
classes found yes
device detected no
Rooted API
Claims support N/A
Device detected N/A
Kernel
Claims support Yes
Device detected No
Verdict OS support No
3rd party apps No
4. I tried 3 different USB cables (original samsung one with female to female connector), another original micro usb to female plug, and a no name one,
5. No mouse nor usb sticks (fat32) seem to be recognized (below 200 ma)
6. Had a look into the storage folder and I can see a folder for external sd, sdcard and UsbA-UsbF. These Usb folders have no permissions set ( like rwx). Looking into the mnt folder I can see the same but in there the Usb folders have rwx permissions set.
7. I was thinking to manually mount the pendrive but when type into terminal as su: ls /dev/block there are no devices (like sda, sdb, sdc) or partitions ( sda1...) mentioned. So I didnt even try commands such as mount -t vfat /dev/block/sda1 /mnt/sdcard/usb...Only mmccblk, loop, dm, ram, vold, param is mentioned on dev/block
8. In vold.fstab all usb(a-f) folders including paths are visible
Now I read your post regarding the usb-storage.ko module and I guess thats whats missing for the phone in order to recognize any usb devices. Reason why I think that is because once I connect a usb device I cant even see any sda´s or sda1´s...In system/lib/modules the folder driver is non existent but I found in sys/module/usb_storage/drivers a usb-storage file but its not a .ko What do you think? I would appreciate your thoughts on that one..

[Q] Help needed : no more access to internal storage

I'm no more able to access my personal data/folders located on /mnt/sdcard/
I only see 2 (empty) folders "external_sd" and "usbStorage".
But I'm quite sure my personal data is still there, but it doesn't show up because access rights are gone ?
- All the apps I previously installed (partially on internal storage) are still working
- When I take a picture with the camera : no picture is stored on the device ! And no more former picture can be viewed
- When I check the storage parameters, I get 12 Gb USB storage free / 12 Gb total
- Access from my PC : same result, only "external_sd" and "usbStorage" are visible
My phone is rooted
I really would like to recover my photos / videos, so please don't say "reinstall everything" unless being sure that the usb storage won't be erased.
Anyone able to help ? I would really appreciate, thanks in advance
batzman said:
I'm no more able to access my personal data/folders located on /mnt/sdcard/
I only see 2 (empty) folders "external_sd" and "usbStorage".
But I'm quite sure my personal data is still there, but it doesn't show up because access rights are gone ?
- All the apps I previously installed (partially on internal storage) are still working
- When I take a picture with the camera : no picture is stored on the device ! And no more former picture can be viewed
- When I check the storage parameters, I get 12 Gb USB storage free / 12 Gb total
- Access from my PC : same result, only "external_sd" and "usbStorage" are visible
My phone is rooted
I really would like to recover my photos / videos, so please don't say "reinstall everything" unless being sure that the usb storage won't be erased.
Anyone able to help ? I would really appreciate, thanks in advance
Click to expand...
Click to collapse
Hi,
1. Whenever you ask for help please provide some basic (important) information;
- what step/steps you performed before your issue appeared?
- what's your current rom/kernel?
2. If you are on a stock or stock based JB rom, what do you see when you go to /storage/sdcard0 with a file explorer? If not (you are on AOSP/AOKP rom) you may need to find "/emmc" folder for your internal SD card.
3. USB storage is what is seen on your phone from your PC (while connected via USB port). Go to a custom recovery (if you have one) then "Mounts and storage > mount USB storage", connect your phone to pc via USB cable and report what you see. If you didn't install Samsung KIES app before you may need to install Samsung USB drivers
Try ur memory card with another device, may be its corrupt
Go to cwm select mounts and storage and choose mount/sd card
Reboot
You can try moborobo pc suite to connect to ur pc
Hit thanks if i helped
Sent from my GT-S7500
Hi,
thanks for your advices.
Let me first give you some more information as requested by Many40 :
My original device : [SHW-M250K] (the korean SGS2)
I installed Official XXLQ5 Android 4.0.4 ICS Firmware 5 months ago, so I got a GT-I9100 with a 4.0.4 version of Android. Notice no problem since.
Kernel version : 3.0.15-I9100XXLQ5-CL753921
1. I didn't perform special steps before the issue appeard. I noticed the problem fortuitously 2 days ago. The only thing that could be linked to this issue is when I tried (the day before issue) to install Copilot on my device, while having Swiftkey already installed. This made some kind of mess, I had to kill the Copilot application and swiftkey was no more working at all. Some posts on the web explain that Copilot and Swiftkey are not compatible...
2. I cannot see any /storage/sdcard0 folder on my phone (neither when connected to my pc)
3. I don't have any custom recovery, I don't really know what it consists of. Could you please provide some details ?
@[email protected] : the problem is not an external sd card, but the internal storage.
I will have a look at moborobo, let's see if it helps.
Thanks and looking forward reading from you
Try restore factory settings
Do make a backup
It may help u
Hit thanks if i helped u
Sent from my GT-S7500
I restored factory settings, but there's nothing new :
- no personal file/folder visible in internal usb storage
- unable to store a photo taken with the camera (photo library keeps empty)
Any other suggestion ?
thanks
It may be a virus or your files are hidden
Try moborobo pc suite
Sent from my GT-S7500
Hi [email protected],
we are progressing a little bit !
I installed moborobo and the file manager shows me now all folders on the usb storage (my personal folders and system folders like e.g. DCIM/Camera). This shows that the folders were hidden.
But each folder is still empty (contain no file at all), so it seems the files are still hidden. Is there any moborobo/other feature allowing to have them visible ?
I also tried to take a photo : now it works, and the photo is stored under "DCIM/Camera"
thanks
In my files in ur phone go to settings and select option then select show hidden files
If this does not help u tell me if u are able to connect through mass storage
Sent from my GT-S7500
Showing hidden files does not help.
And yes I'm able to connect through mass storage (using "Set USB cable connection mode" and "Connect storage to PC")
It gives me 2 drives : E and I
E: shows nothing ("please insert disk in removable drive E")
I: displays the folders as they are visible in Root Explorer on my device
I tried to change the access rights on I: with following instruction in cmd :
attrib -S -H /S /D *
But didn't help...
Install mobile drives from moborobo pc suite
Then in folder options in ur pc select show hidden files
Then open cmd and type
attrib -h -r -s /s /d g:\*.*
Replace g with drive letter
This should fix your problem:thumbup:
Sent from my GT-S7500
[email protected] said:
Install mobile drives from moborobo pc suite
Click to expand...
Click to collapse
Sorry but I'm unable to find anything about installing "mobile drives" from moborobo... could you please give me some hints ?
Am I supposed to find this from the moborobo "Apps" tab ? (under "Applications")
Enable usb debugging in ur mobile then connect it, moborobo will automatically install drivers
Sent from my GT-S7500
When I enable usb debugging in my mobile and connect it, I get a kind of mapped drive named "GT-I9000", but with no drive letter (see attached screenshot)
And no way to access it from cmd, as it is not really considered as a drive.
And launching Moborobo does not add any additional drive... Did I miss something ?
"Run "regedit"and select the "HKEY_LOCAL_MACHINE/SYSTEM/MountedDevices" folder. See all the "Dos Devices" listed? You'll have one entry for each physically mounted drive (HDD or Disc) plus you'll have one show up for each USB drive you attempt to insert. Double click each device listed and seeifyou seetextsaying something like"U.S.B.S.T.O.R...". Once you find that device, right click it and select "Rename". Now change the drive letter to something unused... like Q: or something. Close regedit, disconnect the USB device and reconnect
Sent from my GT-S7500
Sorry for my late reply, I was away for some weeks.
I was able tu run the attrib command on the internal usb storage drive, but got no more lost file/folders... I assume the file and folders are definitively lost
I even tried a recovery tool mith no more success.
Thanks anyway for your help, and for the time you spend providing me your advice.

Still can't get USB OTG to work? Here's how I did it.

If you have not been able to get your RAZR to read a flash/pen drive, here's how I did it.
I only got a OTG Host cable about 2 months ago, and only just got it working.
You will need the following:
USB OTG Host cable
USB Y cable (or whatever it's called - at least that's what I used)
A rooted phone (I am using the GSM Razr Maxx XT910 on CM11-nightly)
USB OTG Helper (Play store)
USB Host Controller (Play store)
Script Manager - Smanager (Play store)
Install all apps and extract attached script and copy the file (ThumbDrive.PreMount) onto your phone/sd-card memory.
(Note apps must be granted superuser permissions)
1. Connect your charger to power and connect your phone.
(Before we can begin, we must first find where the drive is. Open USB Host Controller, and under settings make "Dmesg display mode" continuous". Under the USB tab, look at the log at the bottom and you should see something about the device being rejected due to insufficient power or something like that. Mine is 3-1, your's will probably also be, but if it's not 3-1, you will need to change the script accordingly with a text editor.)
2. USB OTG Helper may give you a popup, just click cancel.
3. Now in Smanager, run the script you copied onto your phone. You must run it as a script, and give it SU permission. Just click the home key after you've run the script.
4.1 Now open USB OTG Helper and click mount.
4.2 You'll probably get an error, but you can ignore this.
5. Your drive should be mounted. Look for it under /storage/UsbOtgDrives/drive_1 (I use Solid Explorer as my file manager and it even added some shortcuts on the left - but not initially though).
You will have to do this everytime you plug a device in, but it's very quick once you know what to do.
I'm just putting this out there because I know it's a function many have not got working. I know there's already a lot of resources on this topic, but frankly they never really helped me. This thread guided me in the right direction though: http://forum.xda-developers.com/showthread.php?t=2050925
Kind regards

Categories

Resources