FORUMS

Analysis & Opinion

[Q]Kitkat and USB mass storage mode

261 posts
Thanks Meter: 12
 
By Cavey.co.uk, Senior Member on 4th May 2014, 12:51 PM
Post Reply Subscribe to Thread Email Thread
25th April 2015, 04:05 PM |#61  
Junior Member
Thanks Meter: 0
 
More
HELP!
Hi, I have a Samsung S3 I9300 rooted with Cyanogenmod 11 and KK 4.4.4
I just followed each step and I have the following questions:
a) When doing this, the mobile should be connected to the computer (USB)?.
b) Before doing this, should the USB Debugging box be activated?.
c) I run the script using 3c-usbgadget and nothing happened. Is there any message that should appear in Script Manager after running it?. It did not show me any error message, neither succed. Do I have to reboot?.
d) Im using File Manager and when I try to look for the parameter (179:17) I access to Root folder and said "Access was denied". Know why?. How can I get the proper number?. If it helps, I only have the Internal SD memory.

Please help me with this, as I'm trying to enable USB Mass Storage to look for deleted files!!.

Thanks.

Quote:
Originally Posted by dbotev

This worked for me:
Mass Storage Enable Routine for the External SD Cad on Samsung Galxy S3 I9305 with KitKat Android 4.4.4 Build KTU84P.I9305xxufnl1
1. Root the phone!
2. Update the SU Libraries (SUperSu on PlayStore)!
3. Install Mass Storage Mode Note3*ROOT (PlayStore)!
4. Install SManager (Script Manager , PlayStore)!
5. Create folder KitKatUMS somewhere on the internal SD card!
6. Place the scripts from the ZIP File into the KitKatUMS Folder!
Here is the text of the Enable Script (File Name “Mass Storage Mode”:
setprop persist.sys.usb.config mass_storage,adb
echo /dev/block/vold/179:17 > /sys/devices/platform/s3c-usbgadget/gadget/lun0/file
7. Open the Script File “Mass Storage Mode” with SManager
8. Select "Su" (green skull and crossbones icon), "Boot" (cogwheel icon), and "Bg" (& icon). (Note:Selecting "Boot" will ensure that the script enabling UMS mode is automatically run each time the phone starts up )
9. Select "Save" and "Run"
10. Open the Enabler (Install Mass Storage Mode Note3*ROOT (PlayStore)
11. Select MSM Mode
If the Solution does not work with your phone, try folowing:
- Solution 2: The Path “…*/s3c-usbgadget/gadget/lun0/file” is not correct. Go to /sys/devices/platform/ using File Explorer and try to findout the corect driver path
- Solution 3: “179:17” is not the correct parameter... Open the mounted-devices-list (<root>/proc/mount) with text editor and look for the access parameter of your SD card.

For instance look for similar text: “/dev/block/vold/179:17 /mnt/media_rw/extsdCard vfat

Usually “179:17” or “s3c-usbgadget” are to be replaced with the proper values.
JJdoctor used in the primary script (Post #2) msm_hsusb instead s3c-usbgadget
Corect the script file with the proper text and try again!

All this is on your own risk!

 
 
25th April 2015, 05:21 PM |#62  
Junior Member
Thanks Meter: 0
 
More
Hi, how can I get the path to know which number is correct? (179:25 in your case).
I have an internal memory.
Thanks.

Quote:
Originally Posted by festival81

Thanks, you're a genius.
Works on galaxy light.

179:25
*/s3c-hsotg/gadget/lun0

17th May 2015, 10:18 AM |#63  
GokulNC's Avatar
Senior Member
Flag Chennai
Thanks Meter: 163
 
More
Quote:
Originally Posted by jjdoctor

I have scripts that can enable it on KK. Check the attachment. It has 2 scripts. Copy them to ur phone and use Script Manager (SManager) to run it under Root, One to enable UMS and other to disable it.

I have made shortcuts of the scripts from SManager on my Home page so that I can press one to enable and other to disable it. have fun...

Can you please explain me how the script logically works.

I need this because DVDs, TVs and other phone's OTG don't recognize MTP protocol for File Transfer.
USB Mass Storage is the only way in these cases.

I own a different phone (not S4), so I want to know how to make a script for my phone.
Thanks
Last edited by GokulNC; 17th May 2015 at 10:47 AM.
17th May 2015, 12:08 PM |#64  
manu8586's Avatar
Junior Member
Flag Poitiers
Thanks Meter: 0
 
More
Hi,
Didn't get any problem with USB mass storage on my S4. I just use Paragon NTFS&HFS+ or Total Commander for NTFS drives
27th May 2015, 04:43 PM |#65  
Member
Thanks Meter: 3
 
More
Quote:
Originally Posted by dbotev

This worked for me:
Mass Storage Enable Routine for the External SD Cad on Samsung Galxy S3 I9305 with KitKat Android 4.4.4 Build KTU84P.I9305xxufnl1
1. Root the phone!
2. Update the SU Libraries (SUperSu on PlayStore)!
3. Install Mass Storage Mode Note3*ROOT (PlayStore)!
4. Install SManager (Script Manager , PlayStore)!
5. Create folder KitKatUMS somewhere on the internal SD card!
6. Place the scripts from the ZIP File into the KitKatUMS Folder!
Here is the text of the Enable Script (File Name “Mass Storage Mode”:
setprop persist.sys.usb.config mass_storage,adb
echo /dev/block/vold/179:17 > /sys/devices/platform/s3c-usbgadget/gadget/lun0/file
7. Open the Script File “Mass Storage Mode” with SManager
8. Select "Su" (green skull and crossbones icon), "Boot" (cogwheel icon), and "Bg" (& icon). (Note:Selecting "Boot" will ensure that the script enabling UMS mode is automatically run each time the phone starts up )
9. Select "Save" and "Run"
10. Open the Enabler (Install Mass Storage Mode Note3*ROOT (PlayStore)
11. Select MSM Mode
If the Solution does not work with your phone, try folowing:
- Solution 2: The Path “…*/s3c-usbgadget/gadget/lun0/file” is not correct. Go to /sys/devices/platform/ using File Explorer and try to findout the corect driver path
- Solution 3: “179:17” is not the correct parameter... Open the mounted-devices-list (<root>/proc/mount) with text editor and look for the access parameter of your SD card.

For instance look for similar text: “/dev/block/vold/179:17 /mnt/media_rw/extsdCard vfat

Usually “179:17” or “s3c-usbgadget” are to be replaced with the proper values.
JJdoctor used in the primary script (Post #2) msm_hsusb instead s3c-usbgadget
Corect the script file with the proper text and try again!

All this is on your own risk!

Hello Samsung friends I don't have an S4, I have a Find7a. How can I modify this script to my phone? As it is now, it doesn't work, it says:
can't create /sys/devices/platform/msm_hsusb/gadget/lun0/file: No such file or directory
Last edited by TKPL; 9th June 2015 at 03:47 PM.
13th June 2015, 10:47 PM |#66  
Junior Member
Flag Victoria, BC
Thanks Meter: 3
 
More
your script worked a treat, thanks!!!
20th August 2015, 07:49 PM |#67  
Senior Member
Thanks Meter: 3
 
More
Hey there, everyone. I have a Verizon Galaxy s5 and the script that was provided didn't work as the directory was wrong. I would modify the script to have the correct one, but do not know what to change the script to. Can someone help? My S5 is running kitKat 4.4.2. I downgraded from lollypop in order to root.
Post Reply Subscribe to Thread

Tags
external sd card, kitkat, root, samsung s4, usb mass storage

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes