v1.8 works great on cm10.2 (4.3.1) ...
I am currently working on a Tasker-based replacement for this app. It does the same thing, but only automatically when you plug in the phone into a PC. It's under testing right now. I will post it in a new thread and let you guys know about it for further testing when I'm done. It will allow you to customzie the mount point and will be more easily adapted to other ROMs.
It works great on Sammy's 4.3 roms too!
But no idea about 4.4 !
umount /mnt/extSdCard
echo /dev/block/vold/179:17 > /sys/devices/platform/s3c-usbgadget/gadget/lun0/file
Here's an idea - but it requires an external sd greater than internal storage and root. You'll have to do the following:
1. Create an image of your internal sdcard, most likely with the dd command. For this you'll need to figure out what partition is your sd card, and output the image to your external sd card (which most likely needs to be formatted with exfat to hold files over 4gb) (it's also a possibility that odin might be able to copy the flash to your pc)
2. Use testdisk (from the photorec suite) to scan the image file for jpg files. With some luck you might get your images back, but without their names.
In theory my plan should work, but I've never tried it on a phone's internal storage. It probally depends on filesystem type, but it should support ext4.
In the worst case you might get nothing, or you might get truncated photos.
Oh, and this might work only if your firmware/kernel doesn't have trim support (otherwise it will zero the free space).
So, it might not be impossible, but it sure won't be easy. Also this app won't help you because you need to access internal storage.
Good luck!
MODEL / ROM / KERNEL / APP VERSION / CONFIRMED BY
WORKING:
GT-I9305 (LTE) / ? / ? / 1.8 / Jarmezrocks
SGH-I317 (AT&T Note 2) / I317UCALJ2 / ? / 1.8 / dabuck
GT-N7100 (Intl Note 2) / ? / ? / 1.8 / geovass
GT-I9300 (International) / Stock (LFB) / Stock / 1.5 beta / woaloo
GT-I9300 (International) / CM10 / ? / 1.5beta / lubluchka
SGH-I535 (VZW) / ? / ? / 1.4beta / open1your1eyes0
SGH-T999 (T-Mobile US) / ? / ? / 1.4beta / gr4p3s
?
NOT WORKING:
?
mount
ls /sys/devices/platform/s3c-usbgadget/gadget/lun0/file
ls /sys/devices/virtual/android_usb/android0/f_mass_storage/lun_ex/file
ls /sys/devices/virtual/android_usb/android0/f_mass_storage/lun/file
mount | sed 's/ on / /g' | grep extSdCard | cut -f 1 -d ' '
Now follow these steps:
1. On your Windows 7 computer you will see it will try to install “SAMSUNG Mobile MTP Device” as one of the drivers and fail *this is normal*
2. Go into Device Manager on your computer, right click “SAMSUNG Mobile MTP Device” and select “Properties”
3. Click on the “Driver” tab and click the “Update Driver” button, a prompt will then come up
4. Select “Browse my computer for driver software”, then select “Let me pick from a list of device drivers on my computer” on the next screen
5. Select “USB Mass Storage Device” as the new driver from that list and finish up that install
6. At the end you will see something like this on your computer – Screenshot Here
7. Windows will install final drivers automatically and a new “Disk drive” will show up on your computer, this is your external SD card on your device
Keep in mind that it is not possible to get access to the internal storage as USB mass storage device.
1.8
- added support for third lun file, should work with GT-I9305 (Intl LTE version) now
1.7
- fixed recognition failure if "mount" output contained "on" as the second column (e.g. Siyah kernels)
1.6
- fixed code so that it (hopefully!) works with recent CM10 versions again
- made some error messages clearer
- drop of "beta" name doesn't actually mean much by the way, but I think it looks a bit cleaner this way and does not make a difference
1.5beta
- added support for CM10 sd card paths (/mnt/external_sd and /mnt/sdcard1)
1.4beta
- added alternative method for users without s3c-usbgadget (may work on US versions)
v1.3beta
- rewrote the whole logic
- now opens Play Store entry of BusyBox if it is not yet installed
- notifies user if device seems to lack s3c-usbgadget module
- notifies user which apps are accessing the extSdCard
- generally better and more precise error messages
v1.2beta2
- added info about busybox requirement (maybe this will be removed later)
- added link to donation app
v1.2beta
- Automatically tries to unmount extSdCard before starting UMS mode. This will fail if some app is accessing it, so just wait or cancel that app if you know it and try again - possibly several times. This prevents the potential data loss with previous versions.
- It now checks the location of the extSdCard device. This should help with compabilty, e.g. for US versions.
- Added some log output and toasts (2s delay)
- Added link to this thread and version number in app
- It's a beta so please beware, but I think the worst probable thing that can happen is that it does not work (e.g. it does not start UMS if it cannot unmount the extSdCard).
- Dammit, the whole day is already over
v1.1
- Added option for going back to MTP
v1.0
- Initial release
Uses RootTools project, which is made available by Stephen Erickson,
Chris Ravenscroft, Dominik Schuermann, Adam Shanks under Apache
License Version 2: http://www.apache.org/licenses/LICENSE-2.0
Just tried mounting in UMS mode and get error:
Could not get path of external sd card (extSdCard/external_sd/sdcard1). Maybe it's unmounted?
Rebooted and got the same error...
This didn't happen with v43.2 and stock kernel. Any ideas?