impossibile to write on external hd - Nexus 10 Q&A, Help & Troubleshooting

Everytime i try to write on an external HD i get this error, impossible to copy the file, insufficent free space on the destination file system. How to solve it?

None? i have tryed to change the filesytem type, from ntfs to fat32 or exfat but always the same problem, unable to write.

may be a stupid question or 2, but do you have root? and does your file manager have SU privileges?

PaisanNYC said:
may be a stupid question or 2, but do you have root? and does your file manager have SU privileges?
Click to expand...
Click to collapse
Yeah, I'm on lastest paranoid android, i have tryed with many file menager, like root explorer, root file manager ecc ecc

htctouchelfin said:
Yeah, I'm on lastest paranoid android, i have tryed with many file menager, like root explorer, root file manager ecc ecc
Click to expand...
Click to collapse
I searched and read that this app in the Play Store has worked for many:
https://play.google.com/store/apps/details?id=com.paragon.mounter&hl=en
Which external drive do you have? How do you have it powered?

PaisanNYC said:
I searched and read that this app in the Play Store has worked for many:
https://play.google.com/store/apps/details?id=com.paragon.mounter&hl=en
Which external drive do you have? How do you have it powered?
Click to expand...
Click to collapse
I have 1tb western digital HD, and it takes power by tablet,by the way, i have tryed with a 4gb USB key, but always the same message, i think is because of the impossibility of KitKat to write on external SD, bit i remember i was unable to write on ext HD Also on JB and ics

htctouchelfin said:
I have 1tb western digital HD, and it takes power by tablet,by the way, i have tryed with a 4gb USB key, but always the same message, i think is because of the impossibility of KitKat to write on external SD, bit i remember i was unable to write on ext HD Also on JB and ics
Click to expand...
Click to collapse
You're doing something wrong.
I've been able to write to an external hdd/flash drive for a long time now (since JB at least, that much I can vouch for).
Setup (and this goes for all my devices):
- Google's/Custom kernel
- SuperSU installed
- StickMount
- OTG cable
https://android.googlesource.com/ke...4-kitkat-mr2/arch/arm/configs/manta_defconfig
This is manta's default kernel config - if you search for USB and other relevant terms you'll see the several needed options enabled (like 'CONFIG_VFAT_FS=y', for example).

beekay201 said:
You're doing something wrong.
I've been able to write to an external hdd/flash drive for a long time now (since JB at least, that much I can vouch for).
Setup (and this goes for all my devices):
- Google's/Custom kernel
- SuperSU installed
- StickMount
- OTG cable
https://android.googlesource.com/ke...4-kitkat-mr2/arch/arm/configs/manta_defconfig
This is manta's default kernel config - if you search for USB and other relevant terms you'll see the several needed options enabled (like 'CONFIG_VFAT_FS=y', for example).
Click to expand...
Click to collapse
Well, i'm not really an expert, i'm on last paranoid android, with default kernel, when i try to write on ext hd i always got the same error

htctouchelfin said:
I have 1tb western digital HD, and it takes power by tablet,by the way, i have tryed with a 4gb USB key, but always the same message, i think is because of the impossibility of KitKat to write on external SD, bit i remember i was unable to write on ext HD Also on JB and ics
Click to expand...
Click to collapse
I use a 32GB flash drive all the time on my N10 without a hitch. One thing you might want to consider is the power. The N10 might not push enough power out via the microUSB port to power your particular HDD
This isn't my resolution, but merely a way to check: Try connecting the HDD to a powered USB hub, and plug the hub into the OTG cable.

PaisanNYC said:
I use a 32GB flash drive all the time on my N10 without a hitch. One thing you might want to consider is the power. The N10 might not push enough power out via the microUSB port to power your particular HDD
This isn't my resolution, but merely a way to check: Try connecting the HDD to a powered USB hub, and plug the hub into the OTG cable.
Click to expand...
Click to collapse
It's not a power problem, cuz if it had not much power it does not mount the hd, and i have the same problem with a 4gb usb key

htctouchelfin said:
Well, i'm not really an expert, i'm on last paranoid android, with default kernel, when i try to write on ext hd i always got the same error
Click to expand...
Click to collapse
Show us what commands/steps are you using to do this, and literally copy paste here what you see on both kmsg and logcat.

beekay201 said:
Show us what commands/steps are you using to do this, and literally copy paste here what you see on both kmsg and logcat.
Click to expand...
Click to collapse
First of all, i see under permissions of USB , read and write under owner, but under other only read, maybe for this? And how can i change this if i try with any file explorer it says operation fail

htctouchelfin said:
First of all, i see under permissions of USB , read and write under owner, but under other only read, maybe for this? And how can i change this if i try with any file explorer it says operation fail
Click to expand...
Click to collapse
So is the error you see an "insufficient space" error? Or an "access denied" error? I know in KitKat, Android now has changed from permissive to enforcing SELinux policies. I've been using StickMount on all my Nexus devices. In stock configuration, I could only copy from the SD card onto the device, and not the other way around. I would get an "access denied" error, or something to that effect. I had to change SELinux from enforcing, to permissive. There are several apps that can do this for you, but I just kept it simple and opened up Terminal Emulator. After getting root permissions, all I had to type was "setenforce 0". Now, I can write to my SD cards like normal.

charesa39 said:
So is the error you see an "insufficient space" error? Or an "access denied" error? I know in KitKat, Android now has changed from permissive to enforcing SELinux policies. I've been using StickMount on all my Nexus devices. In stock configuration, I could only copy from the SD card onto the device, and not the other way around. I would get an "access denied" error, or something to that effect. I had to change SELinux from enforcing, to permissive. There are several apps that can do this for you, but I just kept it simple and opened up Terminal Emulator. After getting root permissions, all I had to type was "setenforce 0". Now, I can write to my SD cards like normal.
Click to expand...
Click to collapse
beekay201 said:
Show us what commands/steps are you using to do this, and literally copy paste here what you see on both kmsg and logcat.
Click to expand...
Click to collapse
the error message is insufficent space on filesystem

htctouchelfin said:
the error message is insufficent space on filesystem
Click to expand...
Click to collapse
Paste Failure
The paste operation failed. It may be that there was not enough free space on the target file system.
This is
<table>
<tr>
<td width="100%">
<textarea cols="20" rows="5">Contenuto della textarea <textarea>
</td>
</tr>
</table>

Related

[Beta]USB Mount All

I was wondering if anyone is interested in beta testing this app. It will scan for all usb drives attached and give you a list to mount or unmount. It supports ext2, ext3, ext4, fat32 and ntfs.
The app will support up to 50 devices, i'm not sure how many the tablet can handle though.
* Requires root and busybox.
EDIT: APK updated on May 29, 2011 12:39 PM CST (v1.1 beta 2)
EDIT: APK updated on Jun 2, 2011 07:54 PM CST (v1.1 RC1)
This looks and sounds interesting
Sent from my A500 using Tapatalk
its said: unparseable date and then nothing worked...had to restart...always crashes....not working for my device
Eek..that doesn't sound good. As soon as it launches before you get any layout or toast Messages?
Edit: ah..bet its a locale issue. Let me research it when I get back home. I was about to starve myself while coding this.
Sent from my A500 using Tapatalk
Euclid's Brother said:
Eek..that doesn't sound good. As soon as it launches before you get any layout or toast Messages?
Edit: ah..bet its a locale issue. Let me research it when I get back home. I was about to starve myself while coding this.
Sent from my A500 using Tapatalk
Click to expand...
Click to collapse
...just installed it, started it...then it crashes....
@GeneralSmart. I just updated a new apk to the OP, please try it and see if works.
Once HC3.1 comes around, it should auto-detect plug/unplug and I can do an auto-mount option. Also thinking about adding an option to mount to the drive label instead of device id. (ie. /mnt/MyDrive instead of /mnt/sda1).
This may work on other devices too (Xoom, Asus), but I don't have any to test. I wonder if i can root a xoom at bestbuy.. lol
Works now...thank you for your work! (could been my fault cause i had no busybox installed, sry)
schweet.................
B'dazz man. Imma start using this to change some files in the system partition. THANKS MAN!
OK, when I connect a 16GB thumb drive it is detected
/dev/block/sda1 (/mnt/usbOTG) Type: fat32 Size: 14.9G Label: B041-B354
When I tried my 250G Passport it doesn't recognize it. My Xoom hasn't been able to recognize it at all.
Also, when the thumb drive was connected, I selected unmount all (in order to safely remove it) and it temporarily messed something up in my file system. i had lines overwritten in ES File Explorer saying "SD card is not mounted" but my external sdcard was still mounted.
Anyway, that's the extent of my beta testing so far. I don't know if my explanation was clear, so ask any questions, and I'll try to answer. I would like some way of mounting the Passport, if possible.
okantomi said:
OK, when I connect a 16GB thumb drive it is detected
/dev/block/sda1 (/mnt/usbOTG) Type: fat32 Size: 14.9G Label: B041-B354
Click to expand...
Click to collapse
When it picked it up, was it already mounted? Or did you have to click mount and this you got the line above? That looks like an Android auto-mount and you should have still had a "Mount" button next to it. Clicking it should have changed the mount point to /mnt/sda1 (or something like it). Where then it would be mounted on both paths (at least that's how it works on acer). Then unmounting should change it back to (/mnt/usbOTG), which can't be manually unmounted for some reason (again, that's how it works on Acer).
okantomi said:
When I tried my 250G Passport it doesn't recognize it. My Xoom hasn't been able to recognize it at all.
Click to expand...
Click to collapse
Can you check if the drive type is Basic or Dynamic in the windows drive manager (see screenshot http://screencast.com/t/EZwRgotf)
I havn't tested a Dynamic drive, so not sure if Android has the drivers to handle it. If it's Basic, then something else is going on.
okantomi said:
Also, when the thumb drive was connected, I selected unmount all (in order to safely remove it) and it temporarily messed something up in my file system. i had lines overwritten in ES File Explorer saying "SD card is not mounted" but my external sdcard was still mounted.
Click to expand...
Click to collapse
Did it mess up the filesystem on the USB drive? like currupt files or the FAT? It sounds like ES File Explorer may have just freaked out because an mount dissappeared that it was currently browsing. I'll download ES File Explorer and play with it and see if I can duplicate the results here.
Thanks!
Euclid's Brother said:
Once HC3.1 comes around, it should auto-detect plug/unplug and I can do an auto-mount option. Also thinking about adding an option to mount to the drive label instead of device id. (ie. /mnt/MyDrive instead of /mnt/sda1).
This may work on other devices too (Xoom, Asus), but I don't have any to test. I wonder if i can root a xoom at bestbuy.. lol
Click to expand...
Click to collapse
For the brief time that I had the Asus TF... it auto detect the USB/MicroUSB...etc plus when you click ( lower right )...it also gave the option to unmount too.
Thanks for this app... I've been wondering why we do not have the unmount option with our A500... seems pulling a usb device out without unmounting first is a recipe for corrupted files and defect device at a later point in time...etc
Works great for me, first try. Pretty frickin' sweet. Good work, sir!
i guess im the first to try multiple devices on here? it works great, sees all devices attached. great work! now my hub can go with me and my tablet when im on the go
Works fine in my Iconia, but needs to install BusyBox older version of 1.18.0.
Crash about 30% of time.
One question, will it work on Xoom?
satawat.thongsawat said:
One question, will it work on Xoom?
Click to expand...
Click to collapse
What exactly does this do?
Sent from my A500 using XDA Premium App
@ satawat
I'll check that out. I think the new version info of busy box just came out yesterday. Ill try to find out what's causing the problem.
Sent from my A500 using Tapatalk
@ satawat
Yes, it does. At least two ppl have tried it on the zoom successfully.
Sent from my A500 using Tapatalk

[Q] Way to access mounted SD card through windows?

As the title suggest, looking to see if its possible to read/write to the mounted sd card while its plugged into the Iconia Tab from my Windows file manager.
about 4 months ago i found an old Sandisk sansa at work, no one claimed it so the manager in charge of lost and found gave it to me tonight. Its a fairly old model, but it had an 8gig Transcend micro sdhc in it. its loaded with nearly 7 gigs of music. Id like to back up the contents and then wipe the card.
Also, is there a way to test the cards read/write speeds from the tab? i saw Sd Tools but it only tries to speedtest the internal memory with no option for switching to the external_sd.
Or, am i going to have to buy one of those little card readers for USB slots?
@Grimcreaper - you could look at this method I posted back in July. It's simple and it works. But I'll be honest for simplicity I prefer using a usb card reader, I know it's a nuisance taking the sd card in and out but virtually nothing can go wrong while you are using it.
Try this simple method
For anyone who wants to see the contents of their sd card on their PC and be able to copy/transfer files from one to the other, why not give this a try, it is very simple and works for my A500.
Before you start you need your A500 to be rooted and you need "USB Mount All version 1.3" from the Market cost $1.99
(1) Have your PC switched on, don't connect your A500 yet but switch the A500 on.
(2) Run USB Mount All and you will see your sd card as a "Device" named "ext_sdcard".
(3) Press the tab "Mount" next to your ext_sdcard. You will see two messages "Mount has been granted Superuser permission" and "Device successfully mounted".
(4) Press the "Menu" tab in the top Right hand corner of the screen, this opens a small box entitled "Settings". Press on "Settings" and you get 3 options, make certain all 3 options are ticked, ticking them if they are not. (The important thing is to have "Mount on Bootup" ticked"). Press the Back Arrow twice to get back to Home Page or where ever you started from.
(5) Re-boot the A500 and after it is back running connect it to your PC using mini usb connector.
(6) Now check your PC and open Windows Explorer, you will find under your A500 Device most of the folder/directories that are in /mnt/sdcard (which isn't all that relevent to this) BUT importantly you will find a folder/directory entitled "ext_sdcard" which for those of you who noticed is the exact name that "USB Mount All" called your sd card.
(7) Now use Windows Explorer to copy and paste whatever you want into the "ext_sdcard" folder.
(8) Please note that when you start to copy files you will get up a warning box stating "Do you want to copy XXXXX to your device?". You are given 2 choices (1) No skip this file or (2) Yes.
(9) Put a tick in the box at the bottom Left and click on "Yes".
(10) When finished safely disconnect your A500 from your PC and re-boot your A500.
(11) After re-boot go back into "USB Mount All", chose top Right menu and settings box and remove the tick from the 3rd option "Mount on Bootup". Each time you are going to copy, move or delete files first of all put the tick back in the 3rd box and when you're done take it out.
Your Done. If you use any File Explorer to look at /mnt/external_sd you will see all the files residing on your sd card including those you've just copied
DroidExplorer
Just wait for or load one of the 3.2 based roms...
Thank you guys for your answers
Yes you can!
I'm using the virtuous galaxy room and it's under the storages fileĀ» sdĀ» mmcblk1 and there you go. Way easier than pulling the card out every two seconds
@Grimcreaper - Further to what I originally posted, I have to apologise and endorse what "verdigny" posted. "DroidExplorer" is IMO the best and easiest way of achieving your goal. I must blame an early onset of Alzh or alternatively too many visits to the bottle for forgetting that I in fact have DroidExplorer on my PC and it does everything you want so easily. Back in July when I posted my screed I hadn't seen or downloaded DroidExplorer and that is why I worked out that painfully long and convoluted system.
Thanks again for more info would have responded sooner but ive been stuck working some killer hours right before my vacation kicks in.
Another question, anyone know how to test the speed of the micro sd card?
I found 1 app but it only works for phones i think as it only shows the tabs internal memory with no options for doing an external sd card source, cant remember what its called as i uninstalled it
trying to find out if its worth using on my tab or if its to slow.
Gonna edit this again, appearently i didnt fix it. BusyBox doesnt want to work on my tablet now. says its not rooted and wont install it. so im lost
Went into SU and had it "forget" the busybox installer, but its bringing up a lot of things it didnt the first time i installed it..
Is there anything to worry about with an install of busybox? is it easy to remove if i need to for updating the tablet or anything once i remove SU access? all of these warnings have me a bit scared since im a total noob with android devices but being able to access the sd card constantly through the tablet from windows would make things a lot easier
@Grimcreaper - can't help with sd card speed, a bit out of my league. As far as "BusyBox" is concerned may I make the following comments. I presume each of the following statements are true.....(1) you are using the stock/standard Rom and Kernel (2) you have rooted by using Iconia Root [ v1.1 or v1.2 or v1.3] (3) you are on Honeycomb 3.1 (4) you use "RootChecker" free from MktPlace (5) you used "BusyBox Installer" free from MktPlace.
I am not an expert but in your position my "path" would have been......(1) Root the A500 (2) Apply BusyBox Installer (3) Install RootChecker. Assuming Rooting goes ok you should have no problem installing BusyBox and then use RootChecker which in it's "Advanced" mode will confirm your Root was successful and will also confirm successful installation of BusyBox. By installing BusyBox, apart from anything else, you gain access to certain system/scripting/"linux type" commands such as 'cat' 'chmod' 'chown' 'clear' 'dd' 'egrep' 'ping' etc.etc.
If you need "Iconia Root" I can point you to the XDA page or can attach it to a followup post, but reading your post again I'm presuming you already have it. A small point, when it comes to updating OTA updates from Acer I found on the last update from 3.01 to 3.1 that after restoring certain "bloat" files I was able to update without uninstalling Root and at the conclusion of the update Root was still operative.
Hope I havn't missed your point and wasted your time with a load of drivel.
Quick addition - Do a search in Market for "software data cable" and look at the first 2 free apps. Haven't tried them myself but might interest you.
Checking out rootchecker now, everything else on the list is accurate.
According to rootchecker i am rooted, which i did using the iconia root 1.3 i believe some time ago to get the netflix stuff working by backing up replacing the libmonv file.
It also shows Busybox as correctly installed too, version 1.18.4
Grimcreaper said:
Another question, anyone know how to test the speed of the micro sd card?
Click to expand...
Click to collapse
find a pc program to download and check it.
here are a couple,
Crystal Disk Mark
or
HD Tach is a low level hardware benchmark for random access read/write storage devices such as hard drives, removable drives (ZIP/JAZZ), flash devices, and RAID arrays. HD Tach uses custom device drivers and other low level Windows interfaces to bypass as many layers of software as possible and get as close to the physical performance of the device possible.
The trial version of HD Tach measures the sequential read speed (at various points on the device), the random access speed, interface burst speed and CPU utilization of the drive. The registered version adds sequential write testing.

[Q]Kitkat and USB mass storage mode

So I used a HTC One X for two years and I used it a lot as a Dropbox synced external USB mass storage device, so am kinda interested in getting my S4 doing the same thing. Pretty much out of the box I left it updating and it's now a shiny S4 running 4.4.2.
Sadly, after the update it seems that it is somewhat crippled.
Apparently, the thing to use is USB mass storage enabler, for which it needs root. So I rooted using Autoroot (and triggered Knox 0x1) and installed Busybox, which is all working well. I also found that apps cant write to the SD Card, so I fixed that too....
However, all the different ways I have tried the USB mass storage app, the best I can get is an empty USB drive.
I've trawled through a series of other threads and blogs, but they all seem to recommend using the same applications and techniques, which seems not to be working for me.
Any other suggestions greatly received.
Cavey.co.uk said:
So I used a HTC One X for two years and I used it a lot as a Dropbox synced external USB mass storage device, so am kinda interested in getting my S4 doing the same thing. Pretty much out of the box I left it updating and it's now a shiny S4 running 4.4.2.
Sadly, after the update it seems that it is somewhat crippled.
Apparently, the thing to use is USB mass storage enabler, for which it needs root. So I rooted using Autoroot (and triggered Knox 0x1) and installed Busybox, which is all working well. I also found that apps cant write to the SD Card, so I fixed that too....
However, all the different ways I have tried the USB mass storage app, the best I can get is an empty USB drive.
I've trawled through a series of other threads and blogs, but they all seem to recommend using the same applications and techniques, which seems not to be working for me.
Any other suggestions greatly received.
Click to expand...
Click to collapse
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...
jjdoctor said:
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...
Click to expand...
Click to collapse
How to use it my freind?? Should i just browse to location of the script and open them.and execute??
Sent from my C6902 using Tapatalk
Ame123 said:
How to use it my freind?? Should i just browse to location of the script and open them.and execute??
Sent from my C6902 using Tapatalk
Click to expand...
Click to collapse
Yes, execute in SManager with Root privileges
jjdoctor said:
Yes, execute in SManager with Root privileges
Click to expand...
Click to collapse
not working, it gives a message "no such file or dircetory" and phone appears as an empty cd-drive.
Thanks to jjdoctor. Works like a charm. I have a Samsung S9505, Kitkat 4.4.2, rooted with Knox 0x1.
I installed SManager from google play.
I downloaded the scripts to /storage/emulated/0/documents/scripts/massstorage
I opened SManager and navigated to the above script directory.
I selected the "Mass Storage" script.
I enabled "su" (green skull and crossbones second from left) and "bg" (looks like an &, second from right)
I selected "run"
Black screen with lines of text (it's a terminal) and it then appeared as a USB Mass Storage device.
Even does not dismount it from Android, which is nice. I hate to think how that's gonna blow up in my face at some indeterminate point in the future. Almost tempted to add some conditions so I can use it as a toggle.... but for now its awesome.
Cavey.co.uk said:
Thanks to jjdoctor. Works like a charm. I have a Samsung S9505, Kitkat 4.4.2, rooted with Knox 0x1.
I installed SManager from google play.
I downloaded the scripts to /storage/emulated/0/documents/scripts/massstorage
I opened SManager and navigated to the above script directory.
I selected the "Mass Storage" script.
I enabled "su" (green skull and crossbones second from left) and "bg" (looks like an &, second from right)
I selected "run"
Black screen with lines of text (it's a terminal) and it then appeared as a USB Mass Storage device.
Even does not dismount it from Android, which is nice. I hate to think how that's gonna blow up in my face at some indeterminate point in the future. Almost tempted to add some conditions so I can use it as a toggle.... but for now its awesome.
Click to expand...
Click to collapse
i had the same problem.Thanks jjdoctor
jjdoctor said:
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...
Click to expand...
Click to collapse
THIS IS AMAZING. Thanks so much. I have been searching for a few days now for a solution to this. This worked perfectly and now allows me to use USB Mass Storage Enabler app to switch back and forth between mass storage and mtp. YAY.
:good:
intron1 said:
THIS IS AMAZING. Thanks so much. I have been searching for a few days now for a solution to this. This worked perfectly and now allows me to use USB Mass Storage Enabler app to switch back and forth between mass storage and mtp. YAY.
:good:
Click to expand...
Click to collapse
this thread help me too thanks!
Worked for me as well on i9195, thank you both!
THANKS worked on my S4 Mini I9190
Didn't worg for me on the Xiaomi Redrice 1S.
MTP switch does work
Mass storage not..
Welcome.
Do you run this script has some impact on the status Knox?
Not Working on galaxy S4 Gt i9500
The path of SManager is wrong
It worked on my Galaxy s3 but the path to the script with SManager is wrong.
I had to go to the folder manually to launch the script.
In the black exec screen:
cd storage
cd emulated
cd legacy
cd Script
exec sh UMS (*I renamed the file UMS)
Hello,
Not Woking on 4.4.2 N9005 Note 3... :crying:
Say can't create /sys/devices/platform/msms_hsub/gadget/lun0/file : No such file or durectory
It does not work on I9192. It says: "sh: write error: No such file or directory"....
on s4 mini with cm 11 works in read-only mode, unknown error if windows tries to write on the mass storage drive.
thx
Jay_9090 said:
Hello,
Not Woking on 4.4.2 N9005 Note 3... :crying:
Say can't create /sys/devices/platform/msms_hsub/gadget/lun0/file : No such file or durectory
Click to expand...
Click to collapse
Same thing on my Note 2...
solution for s4 kitkat usb mass storage problem
simply code *#0808#
Select MTP + ATP
Press OK
Press Reboot
That's All. This Works for my i9500 without root

UMS Mounter

Hi all,
First thread here .
So, on with it. I've been a member on this forum for quite some time, but never felt like posting or anything as I didn't have anything interesting to share and all the questions I might've got at some point got already answered...
Anyway, about a year a go I bought a Samsung Galaxy S III. Cute little 'monster', powerful and all... and I got hit by MTP. I'm a Linux user, so getting MTP to work was a huge pain. So I started reading, digging, found out that some guys already implemented some scripts for mounting the external SD as UMS... the problem was that they didn't work on my end.
So I developed my own little app. Nothin' fancy, two buttons to switch from MTP to UMS and back.
In the meanwhile, I changed my phone to a Note 2 LTE and did some more tweaking on my app and now I'm kinda ready to share it with you guys:laugh:.
You need to have a rooted phone equipped with busybox (my app will prompt warnings telling you you're not rooted or you don't have busybox, but I thought it was nice to tell you here the requirements).
One small thing, besides the usual "I'm not responsible to any damages brought to your phone and all": after transferring to / from your SD card, please use the eject command (or the safety remove feature on Windows) to unbind the card from your operating system before changing back to UMS. That way you ensure no harm is brought to you SD card or to the data on it.
All that being said, you can download the app from here: devver.ro/ums-mounter/ (I don't have enough posts to give an external link, so you'll have to enter the text manually in your browser). The text on that page is written both in Romanian (my native language) and English so there shouldn't be any problems .
This app should work on every device that has an SD card and runs Android 4.3+. Oh yeah, there might be some glitches on devices with Samsung's official releases (bummer, I know), but that's related to some screw-ups on their end, 'cause they're random from ROM to ROM.
Anyway, hope you'll like it (if you test it). If you have and problems, comment here and attach a logcat and I'll see if I'm smart enough to help you.
== 2014-06-10 ==
Version 1.1
Changes:
- please uninstall the previous version, as I've changed the signature on the file ;
- added a small sanity check which will force you to unplug your phone from the computer before switching between modes (hopefully this will also force you to safely remove the external sd card );
- fixed (i hope at least) the situation where the card is not mounted as usb on Touchwizz related ROMs;
As usual, the app can be downloaded from devver.ro/ums-mounter. Thanks again for testing .
sleepwalker123 said:
This app should work on every device that has an SD card and runs Android 4.3+.
Click to expand...
Click to collapse
It mounts the card slots (although it needs a reboot sometimes), but the PC shows up two empty usb slots and the sd card is not mounted.
Im running DN3 V5+.
I do hope you can fix it.
Thank you.
@erljayp: that's one ROM which is based on a stock ROM and, as I mentioned in my OP, there might be glitches woth 'em.
I'll setup my phone into dual booting so that's gonna be a bit easier to test these ROMs and hopefully sort them out.
Thanks for testing my little app
your app said that i haven't installed busybox yet. then i tried to install busybox from play store and it said the same. what problem?
ectv96 said:
your app said that i haven't installed busybox yet. then i tried to install busybox from play store and it said the same. what problem?
Click to expand...
Click to collapse
I've used play.google.com/store/apps/details?id=stericson.busybox to install busybox. Basically, after you install the app from the play store, you need to open it in order for it to actually download and install the busybox binaries. If you just downloaded the app from play store but didn't actually open it, that may be the problem
sleepwalker123 said:
I've used play.google.com/store/apps/details?id=stericson.busybox to install busybox. Basically, after you install the app from the play store, you need to open it in order for it to actually download and install the busybox binaries. If you just downloaded the app from play store but didn't actually open it, that may be the problem
Click to expand...
Click to collapse
oh yes, it works. thankyou :good::laugh:
New version, please check OP. Should resolve the DN3 related issues (this should apply to all ROMs which are based on stock Samsung). 'Njoy!
sleepwalker123 said:
there might be glitches woth 'em.
Click to expand...
Click to collapse
I thought you were talking about the "stock" rom. haha.
sleepwalker123 said:
Should resolve the DN3 related issues.
Click to expand...
Click to collapse
Now working in DN3 V5+, but I have fluctuating transfer rates. What is the average transfer rate you have?
Thank you.
@erljayp: i get about a maximum of 2 MB/s transferring a file bigger than 50-100 MB, which I find quite satisfying. Also, if I'm not mistaking, the transfer rates are influences by a lot of factors: the card's class, if you're transferring a lot of small files (mp3's, for example) etc.
Anyway, glad that sorted your problem. Like I said before, my app should now work not only on the DN3, but on all ROMs (CM11 based, AOSP, AOKP, ROM's based on the stock Samsung release). If you find a ROM that won't work, Iemme know and I'll see what's to be done about it .
sleepwalker123 said:
@erljayp: i get about a maximum of 2 MB/s transferring a file bigger than 50-100 MB, which I find quite satisfying. Also, if I'm not mistaking, the transfer rates are influences by a lot of factors.
Click to expand...
Click to collapse
I guess mine is normal.
Well, thank you very much for this great app and goodluck in your future projects.
sleepwalker123 said:
Hi all,
First thread here .
So--------.
Click to expand...
Click to collapse
The App crashes when trying to switch the pages.
Is this working on 4.4.2 TW roms ?
aukhan said:
The App crashes when trying to switch the pages.
Is this working on 4.4.2 TW roms ?
Click to expand...
Click to collapse
Don't try and switch pages All you need to do is "play" with the 2 buttons. I think the "page" you're referring to is something i use for debugging.. will remove it in a future release
sleepwalker123 said:
Don't try and switch pages All you need to do is "play" with the 2 buttons. I think the "page" you're referring to is something i use for debugging.. will remove it in a future release
Click to expand...
Click to collapse
I use Switch UMS and connect USB is that right any requirements to run the app apart from Root and busybox ?
aukhan said:
I use Switch UMS and connect USB is that right any requirements to run the app apart from Root and busybox ?
Click to expand...
Click to collapse
Nope. Those are the only requirements. Could you please give me a link to your ROM's thread?
sleepwalker123 said:
Nope. Those are the only requirements. Could you please give me a link to your ROM's thread?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?p=36202763#post36202763
Does this support windows or only linux??
aukhan said:
http://forum.xda-developers.com/showthread.php?p=36202763#post36202763
Does this support windows or only linux??
Click to expand...
Click to collapse
Grr... can't test that one...
Could you please connect your phone to your, connect into an adb shell, run mount and give me the output? Or if you have the Terminal Emulator app installed, do it from there and gimme the output.
sleepwalker123 said:
Grr... can't test that one...
Could you please connect your phone to your, connect into an adb shell, run mount and give me the output? Or if you have the Terminal Emulator app installed, do it from there and gimme the output.
Click to expand...
Click to collapse
You want me to run this # mount in terminal emulator and give you the results ?
Should i be connected to PC or not ?
aukhan said:
You want me to run this # mount in terminal emulator and give you the results ?
Should i be connected to PC or not ?
Click to expand...
Click to collapse
You don't have to be connected to the computer. Try and run the following in the terminal emulator:
- su (if you didn't);
- mount > /sdcard/mount.log
And after that, on your internal storage you shall find a file called mount.log. Give me the contents of that file, please.
sleepwalker123 said:
You don't have to be connected to the computer. Try and run the following in the terminal emulator:
- su (if you didn't);
- mount > /sdcard/mount.log
And after that, on your internal storage you shall find a file called mount.log. Give me the contents of that file, please.
Click to expand...
Click to collapse
Usage: mount [-r] [-w] [-o options] [-t type] device directory.
aukhan said:
Usage: mount [-r] [-w] [-o options] [-t type] device directory.
Click to expand...
Click to collapse
I think you ran the command including the dash ("-" sign).
Perhaps i didn't express myself well enough, sorry...
1). su (for gaining root access, no matter if you're doing this from the terminal emulator or from your pc);
2). mount > /sdcard/mount.log
Again, sorry for the confusion.

QUESTION= Root so I can write Access to Removable drive?

Hi all. Only reason I am thinking of rooting my Shield TV is so I can write to my removable drives. From my understanding is that SDFix does not work with marshmallow. Is this correct? I Would love to access my non adoptable drive from my network. Or if rooted, can i also use FTP to read and write? Thank you.
robjbw said:
Hi all. Only reason I am thinking of rooting my Shield TV is so I can write to my removable drives. From my understanding is that SDFix does not work with marshmallow. Is this correct? I Would love to access my non adoptable drive from my network. Or if rooted, can i also use FTP to read and write? Thank you.
Click to expand...
Click to collapse
Hope this helps... looks like newest update on 1/18/17 (v5.0.1)
"Other Enhancements
*Added ability to write to attached USB or SD card storage."
forums.geforce.com/default/topic/988354/shield-tv/shield-experience-upgrade-5-01-feedback-thread-for-shield-2017-/
I assume you mean network access to the attached storage
SHIELD TV Gen. 2015
write access was, for me, only possible through root and a SMB/samba server.
Root via http://download.chainfire.eu/supersu from chainfire
SMB server via https://play.google.com/store/apps/details?id=com.icecoldapps.serversultimate + https://play.google.com/store/apps/details?id=com.icecoldapps.serversultimate.packb for a native SMB server, normally i use a FTP-server like https://play.google.com/store/apps/details?id=lutey.FTPServer but was not able to get it running on the shield
SHIELD TV Gen. 2017
As of 5.0 i was not able to write to the storage
Actual there is no way to root the 2017 and therefore no SMB server.
The bootloader was updated and ca be unlocked but does not allow to flash the recovery, even if it tells you so (fastboot).
Android 7 recognize a manipulation and reflashes the stock recovery
But i am not sure if 5.0.1 added the network write access storage feature.
robjbw said:
Hi all. Only reason I am thinking of rooting my Shield TV is so I can write to my removable drives. From my understanding is that SDFix does not work with marshmallow. Is this correct? I Would love to access my non adoptable drive from my network. Or if rooted, can i also use FTP to read and write? Thank you.
Click to expand...
Click to collapse
Assuming we're talking a 2017 Shield, I actually managed to access my non-adapted storage over FTP. Without root.
I have a 5TB external HDD hooked up to my Shield, and sideloaded an FTP app. I set my external HDD as root-folder for said app, and could both read/write to it (most recent software update, 5.0.1). I wanted easy management/streaming from my PC though, so I installed WebDrive so I could mount the FTP server as a local drive.
Works like a charm, can post a how-to if required.
Radnu said:
Works like a charm, can post a how-to if required.
Click to expand...
Click to collapse
Yes please!
twe69 said:
Yes please!
Click to expand...
Click to collapse
Updated: We still need FTP to write to an external, non-adopted storage. Viewing can be done over SMB though!
Alrighty then, here goes nothing, please do keep in mind the "fix" you'll find down below is a quick and dirty one. It will allow you to both read and write to your external storage over FTP, without actually needing to have root.
Requirements
1. Sideload Launcher by Chainfire
2. A file manager, preferably with cloud access. I prefer X-plore myself.
3. FTP Server by The Olive Tree (others may work, your mileage may vary).
4. Any FTP client to access your shiny new server.
Step 1
- Install the Sideload Launcher if you haven't done so yet, it will allow us to open APKs that weren't designed for AndroidTV. You can just grab it from the PlayStore.
Step 2
- We're going to need an APK from FTP Server. The easiest way so far seems to be to install it on another device (in my case, my trusty Note3), and "backup" the APK to your Google drive using X-plore as you can see *here*.
- After we've gotten the APK there, hop back to the Shield and open X-plore. Go to your Google drive and install the FTP Server we just put there.
Step 3
- Use the Sideload Launcher to open our FTP server and set it up. Tapping your D-pad "up" once gets us to the settings of the app. Open it, and scroll down till you're looking at something like *this*.
- Most of these settings are up to your own discretion, but I strongly advice to untick "anonymous login" and set a username/pw. The most important bit is to set the home-directory to your non-adapted HDD.
- Close the settings, and tap your D-pad "down" once. Click [ A ], and we should get a nice green icon saying we're up and running! Should be something like *this*.
- The app will "survive" Sleep-mode, but after a restart you'll have to toggle it on again.
Step 4
- Profit!
- You should be able to access your FTP server on your specified local port, and using WebDrive you can even access it easily on a PC. It'll look something like *this*.
- You can use your regular SMB share to view your files over your local network, the catch is that you'll need to use FTP to write to it.
Final note!
It looks like setting X-plore as "default handler" for the non-adapted storage makes it disconnect from your shield. Don't tick it!
I read that writing to the external usb HDD is now fixed in the latest update v5.0.2?
In which case enable the following Settings > Device > Storage & reset > SHIELD storage access > Over local network > On and map the drive to the laptop.
Is this correct? I need to test it out still.
twe69 said:
I read that writing to the external usb HDD is now fixed in the latest update v5.0.2?
In which case enable the following Settings > Device > Storage & reset > SHIELD storage access > Over local network > On and map the drive to the laptop.
Is this correct? I need to test it out still.
Click to expand...
Click to collapse
Don't think so yet. I *can* view and play it, but can't write to it. Screeny over here: imgur,com/ieuhlB0
Any one have luck with this yet? Really hoping to be able to write easy to the external storage.
candymann said:
Any one have luck with this yet? Really hoping to be able to write easy to the external storage.
Click to expand...
Click to collapse
As I explained above, you actually can write to it using FTP (non-adopted storage, no root required whatsoever). Currently I would just advice using the regular SMB share to view it on other devices (since you don't want to download anything before viewing).
I've edited the instructions to clarify.
Here is something I discovered. When you hook up a USB flash drive or HD, it creates some folders on that drive. Android nvidia shield(something like that)
The nvidia folder it creates is writable. I am using a flash drive as non adoptable to play ROMs on with emulators. On the root of the drive I had issues. But once I moved my ROMs folder inside the nvidia folder all was well. No my emulators can load the ROMs from the nvidia folder created on the drive and write the save files to the same folder the ROMs are located in.
Hope this helps. Only issue is that when u restart, you get the annoying pop up asking to adopt the drive. I just hit browse each time.. Because I don't want to adopt it.. I just want it to store files..
Android went plum retarded post kitkat with drives and SD cards and write permissions.. Its very annoying and makes me long for the good OK days where u could just insert something and do with it slas you please... In my opinion they have over complicated what should be a rather simple procedure.. But it looks like this is the direction they have choose..
adam_ky said:
Here is something I discovered. When you hook up a USB flash drive or HD, it creates some folders on that drive. Android nvidia shield(something like that)
The nvidia folder it creates is writable. I am using a flash drive as non adoptable to play ROMs on with emulators. On the root of the drive I had issues. But once I moved my ROMs folder inside the nvidia folder all was well. Now my emulators can load the ROMs from the nvidia folder created on the drive and write the save files to the same folder the ROMs are located in.
...
Click to expand...
Click to collapse
Checked this and the [\\SHIELD\ExternalStorage\NVIDIA_SHIELD] folder is writable over SMB indeed.
Now it's just a matter of whether or not you're willing to put up with the popup.
Hope that helps ya. The android folder is most likely writable as well.
I remember this work around when lollipop came out and apps were not built with the proper permissions. You could use the apps folder in android on the SD card to circumvent this.
But yea I'm good for now just using the shield folder on my flash drive... I do wish there was a way to remove the popup on boot asking to adopt storage though....
I'm beginning to loathe nougat....
The later android versions are hardly usable for me without the use of xposed.
Anyways, hope that trick helps you and anyone else
If you have root couldn't you just mount the drive as writeable using a file explorer? I'm interested in writing to a removable drive in general (don't care about network access specifically).
Any news here?
I am on Nvidia Shield 2017 with 8.0.1 rooted.
I can only READ my attached NAS (network storage).
But I want to get WRITE access too
The workaround with the NVIDIA_SHIELD folder did not work... And Apps like SDfix ends up in error ??!
I own two Shields and need them to write to my NAS.
Does anyone can help me how to get this working?
Both Shields are rooted
Anyone know, if THIS is still actual? (4 years old)
Thank u very much
Kamikaze01 said:
Any news here?
I am on Nvidia Shield 2017 with 8.0.1 rooted.
I can only READ my attached NAS (network storage).
But I want to get WRITE access too
The workaround with the NVIDIA_SHIELD folder did not work... And Apps like SDfix ends up in error ??!
I own two Shields and need them to write to my NAS.
Does anyone can help me how to get this working?
Both Shields are rooted
Anyone know, if THIS is still actual? (4 years old)
Thank u very much
Click to expand...
Click to collapse
Same setup as you. I have been searching everywhere on a way to do this and no luck.

Categories

Resources