Hi!
I have managed to browse cifs and browse/read/write files.
but I really want to actually mount cifs to be part of the file system. Best would be to mount cifs as an SD card so I could install large apps onto network drive directly.
Is there an APP which can do this?
Tried Mount manager but it never going to work. It needs 'cifs.ko' and 'slow-work.ko' and there is no such things for S5. I tried many of those files but none of them gets actually loaded.
I'm using phone as stock, rooted.
Related
Is there a way to basically create a symlink to /storage/extSdCard on the internal sdcard? I'm using an app that will only let me view files on the internal card. I'm coming from an HTC phone and the external sd card appeared as /sdcard/ext_sd.
I've tried creating the symlink through Root Explorer, Solid Explorer, and manually via adb (with root). I've tried every location I can find for the internal storage (/storage/emulated/legacy, /storage/emulated/0, /sdcard). Every time it says "link failed Operation not permitted".
I'm wondering if there's a way I can basically mount the external sd card in an additional location (in this case under the internal sdcard)? I've used a custom firmware on a router before that had a flash drive mounted as both /opt and /media/USB, so I think it's possible to have a partition mounted in multiple places.
Does anyone know how to do this, or have suggestion for a different way to accomplish it? Thanks.
Would this help you?
http://forum.xda-developers.com/showthread.php?t=2285221
TrofeoSC said:
Would this help you?
http://forum.xda-developers.com/showthread.php?t=2285221
Click to expand...
Click to collapse
Thanks, but I already looked into that. It won't work for this unfortunately.
Please read forum rules before posting
Questions and help issues go in Q&A and help
Thread moved
Thank you for your cooperation
Friendly Neighborhood Moderator
Ingenium13 said:
Is there a way to basically create a symlink to /storage/extSdCard on the internal sdcard? I'm using an app that will only let me view files on the internal card. I'm coming from an HTC phone and the external sd card appeared as /sdcard/ext_sd.
I've tried creating the symlink through Root Explorer, Solid Explorer, and manually via adb (with root). I've tried every location I can find for the internal storage (/storage/emulated/legacy, /storage/emulated/0, /sdcard). Every time it says "link failed Operation not permitted".
I'm wondering if there's a way I can basically mount the external sd card in an additional location (in this case under the internal sdcard)? I've used a custom firmware on a router before that had a flash drive mounted as both /opt and /media/USB, so I think it's possible to have a partition mounted in multiple places.
Does anyone know how to do this, or have suggestion for a different way to accomplish it? Thanks.
Click to expand...
Click to collapse
I use the FolderMount app. https://play.google.com/store/apps/details?id=com.devasque.fmount&hl=en
I use it to create a symlink between the directory in data/data where Google Music stores files and my external SD card.
screwdestiny said:
I use the FolderMount app. https://play.google.com/store/apps/details?id=com.devasque.fmount&hl=en
I use it to create a symlink between the directory in data/data where Google Music stores files and my external SD card.
Click to expand...
Click to collapse
Thanks, but I've already tried it and it won't work for this situation.
I found the solution, registered just so I can share this with you or anyone who needs it. Folder mount didn't seem to work for me either.
There is a file manager called 'Lidroid File' and a plugin for it called 'Super mount', both are available for free from the play store.
Install them, and then you can nicely pick a folder on the internal storage to mount the whole microSD in it, simple as that!
I needed this for Samba file sharing as I wanted to see the SDcard on the LAN and give it a network drive letter under windows 7.
Firsh said:
I found the solution, registered just so I can share this with you or anyone who needs it. Folder mount didn't seem to work for me either.
There is a file manager called 'Lidroid File' and a plugin for it called 'Super mount', both are available for free from the play store.
Install them, and then you can nicely pick a folder on the internal storage to mount the whole microSD in it, simple as that!
I needed this for Samba file sharing as I wanted to see the SDcard on the LAN and give it a network drive letter under windows 7.
Click to expand...
Click to collapse
Any updates to your solution? Does this still work?
I'm trying to mount an ext3 formatted hard drive via OTG. Tried many different apps that are supposed to support ext3, but none of them work. Phone is rooted so that's not the problem.
I managed to mount the drive manually using Terminal and busybox mount command. I can now read and write to the drive using Terminal via the mount point /storage/UsbDriveA.
The problem is that, although I can access it from Terminal, it does not show up in file explorer "My Files", and is not visible from other apps. I tried using ES File Explorer, and although ES can see the mount point UsbDriveA, it shows up empty.
Also, in Settings->Storage, the drive appears not to be mounted.
How can I get the files to show up outside of Terminal?
I've given up on reformatting the internal memory as EXT4 (my last post). However now, I want to mount an external SD card that is EXT4 (or any file format that has UNIX permissions). I can't get my device to mount the card, it says the filesystem is unsupported. Now, that's bull**** since Android has built in support for EXT. After searching threads here on XDA and Google, and even purchasing EzyMount as recommended, I can't get it to mount. I've tried BusyBox and mount commands (as root), with various errors such as "mount operation not supported on transport endpoint". I'm at my wit's end by now, trying to get some filesystem which has support for symlinks and UNIX permissions... any ideas?
kcattakcaz said:
I've given up on reformatting the internal memory as EXT4 (my last post). However now, I want to mount an external SD card that is EXT4 (or any file format that has UNIX permissions). I can't get my device to mount the card, it says the filesystem is unsupported. Now, that's bull**** since Android has built in support for EXT. After searching threads here on XDA and Google, and even purchasing EzyMount as recommended, I can't get it to mount. I've tried BusyBox and mount commands (as root), with various errors such as "mount operation not supported on transport endpoint". I'm at my wit's end by now, trying to get some filesystem which has support for symlinks and UNIX permissions... any ideas?
Click to expand...
Click to collapse
you fully rooted with custom kernel or only with rdlv etc?
First you gotta figure out how to mount this damn thing, gotta be possible.
Then you need to get this done on bootup, either in init.rc or init.d or smth.
You probably just use wrong commands? But I could be wrong, didnt try that yet but would also be interested. Having the file permissions also on SD would be nice, but it could cause trouble with mtp maybe?
zroice said:
you fully rooted with custom kernel or only with rdlv etc?
First you gotta figure out how to mount this damn thing, gotta be possible.
Then you need to get this done on bootup, either in init.rc or init.d or smth.
You probably just use wrong commands? But I could be wrong, didnt try that yet but would also be interested. Having the file permissions also on SD would be nice, but it could cause trouble with mtp maybe?
Click to expand...
Click to collapse
I am rooted, but stock ROM and kernel. MTP is for connecting to a computer? If it is, I don't need that. I have tried
mount -rw -t ext4 /dev/block/mmcblk1p1 /storage/extStorageCard
and variants switching the flags and options.
Interesting... I just typed that command in to make sure I didn't make any typos.... and my phone crashed and rebooted. I typed it again to see if it would cause another crash and it appears to have mounted the card! Whwn I type "df" at the prompt it now shows a 28.6 GB filesystem at that location, which has to be my sd card.
Why, how, I don't know. It works, it's all I can say.
Has anyone been able to get Native OTG USB Storage working on the Nexus Player? By this I mean actual mods to the system not by using third party apps. I know CM12.1 has the mount/mount USB Storage and move app to USB Storage options but neither of these actually work yet. Are there any other devices that has this functional that can be cherry picked from for a quick patch to CM12.1 to enable this function? As most of you are aware the Nexus Player is pretty limited with storage so allowing us to use USB Flash drives over OTG to store apps and their data would be very helpful.
Try the latest nightly
lafester said:
Try the latest nightly
Click to expand...
Click to collapse
Yeah it mounts the drives now but it's still broken and doesn't let you transfer apps to it but dhacker29 is looking into it to fix it.
I've tried to get this working, I can get external storage mounted manually but so far had no luck getting it mounted on boot. My first issue was that after rooting, there was no space left on the /system partition, so busybox failed to install properly. After deleting the korean and japanese IMEs I was able to get busybox installed.
I have an otg hub, with a microSD slot, the card gets recognized by the system as /dev/block/sda and I can mount the partition using busybox mount, but trying to mount it from /etc/install-recovery.sh or /etc/install-recovery-2.sh doesn't work, so I'm not sure if by then the mount point is available.
I know this can be fixed using some other tool (like rom toolbox pro) but I'd love to get this working without them, so if anyone has been able to get it working, please help!
FaberfoX said:
I've tried to get this working, I can get external storage mounted manually but so far had no luck getting it mounted on boot. My first issue was that after rooting, there was no space left on the /system partition, so busybox failed to install properly. After deleting the korean and japanese IMEs I was able to get busybox installed.
I have an otg hub, with a microSD slot, the card gets recognized by the system as /dev/block/sda and I can mount the partition using busybox mount, but trying to mount it from /etc/install-recovery.sh or /etc/install-recovery-2.sh doesn't work, so I'm not sure if by then the mount point is available.
I know this can be fixed using some other tool (like rom toolbox pro) but I'd love to get this working without them, so if anyone has been able to get it working, please help!
Click to expand...
Click to collapse
USB Mounting and moving Apps to USB Storage works in the latest build of CM12.1 Edit: I also found a great app Link2sd to move the data and obb folders too.
Where exactly do I find the options in CM12.1? In the leanback settings or the regular settings accessible via the App Drawer?
Okay, I've literally been working on this for the last 2 days, tried everything I've found so far, and the most progress I've made was (somehow) making both sdcard and extsdcard show the same storage mount, but I have no clue what change made that occur for one reboot. So far, I've tried the following:
vold.fstab editing
build.prop editing
FolderMount (desparate...)
I've even tried the debuggerd script I found in this other forum, and yes I edited the script to point to the correct vold blocks (in my case they're 179:96 and 179:97 for the internal and external storage, respectively)
While I'm not against using a fully custom rom for these tablets (I have two), the dilemma is that my 4-year-old sons use them, so the KidsMode needs to function properly. They've run out of storage space on these due to three FREAKING HUGE games they absolutely insist on keeping on the tablets at all times, and apps like GL to SD need to be run and remounted on every reboot, so it isn't a suitable solution...
Best case, I would love a boot.img swap so it'll be zero-maintenance. I've been searching and so far I haven't turned up anything I can use... I'm a long-time "power user" with several devices running custom kernels, various builds of CM, and even a modded version of CM12 on my tablet I compiled myself. I'm not a beginner, but I'm definitely out of my league on this one.. Any assistance will be appreciated.
UPDATE
I'ne partially succeeded. I've figured out how to remount /sdcard to the external sd card, but it's not a perfect redirect. It shows in file managers, but not in the Settings under Storage, and the free space shown in Application Manager is blank (crashes in a few seconds), or it continues to show the real internal sd card info. I used the following single command in the debuggerd.mnt file:
Code:
mount -t vfat -o rw /dev/block/vold/179:97 /storage/sdcard0
no luck
No luck with the swap... The only option I believe I have at this point is to either install a custom rom (but I haven't found a single one...), or I need to pull the boot.img to edit it. So far I've not been able to find the boot partition, and the "by-name" list doesn't mention anything related to "boot"
My last thought is to try to extract it from a stock firmware. Is that possible? I don't have linux running, and all boot devices are disabled on my work laptop so a live distro isn't an option...
Any help or opinions will be greatly appreciated...