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!!.
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!