[Q]Kitkat and USB mass storage mode - Galaxy S 4 Q&A, Help & Troubleshooting

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

Related

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

New Finless ROM 1.7 for Measy u2c /B12/ Imito V2 (rooted)

Finless juste made a new rom (version 1.7) for these android stick:
Measy u2c / B12 / imito v2 (camera)
libstagefright inside
support and download here:
http://www.freaktab.com/showthread.php?4282-NEW-Measy-U2C-B12-Finless-ROM-1-7
my question.. Is he the only one who cook rom for android stick? cant find alternative here on xda...
anyway, a great Rom done by Bob!
Code:
Features in my Measy / B12 / Imito V2 ROM:
This is an entirely new system. This is not much from the original Measy/B12 ROM in this as fas as system goes.
Many features from my 1.6 ROM are of course in this along with new features.
BE SURE to check out the mouse wheel ZOOM function to enable google earth etc to zoom!!!!
Set it by going into settings>accessability> and turn on mouse zoom!
1) New "auto hide" status bar! To enable this go into settings>Display and turn it on.
Now anytime you run an APP it will automatically hide the status bar. Please note, some badly written APPs
can leave you in a stuck condition that you cannot exit the APP. You will need you keyoard exit key.
2) While you in settings>display there is another feature to force the settings menu icon in the status bar.
It is 3 dots vertically. NOw anytime you in a APP that has a settings capability, if you click that you get settings!
3) Lock screen is back friends! Now is settings>security you can
A) Disable the lock screen completely (default is slide)
b) Setup a pattern for lock screen
c) Setup a PIN for lock screen
d) Setup a password for lock screen
4) Sleep is back like a tablet!!!! Go into settings>display and you can turn on sleep!
Now understand how this works
a) If there is no wifi or ethernet connection, when it goes to sleep will power off.
b) If there is a connection, it will simple go into low power mode and turn the display off. Moving the mouse turns it back on again
5) I enabled location services. This is now in the settings menu. Tested and working with all APPs that use it.
remember to turn off GPS as we have no GPS.
6) New "grid" style launcher available as a choice of launcehrs.
Some people still want the Alternate launcher that comes with many TV sticks for EZ TV use.
I took this from the Neo X5 ROM as I liked it better than previous versions. This of course comes with the RK settings as well.
If you want to remove this just use ES File explorer and delete these files from /system/app
LauncherNEW.apk
AllApp.apk
RKSettings.apk
RKBasicsettings.apk
Now just reboot and all this will be gone.
7) Gameloft fix. This fixes Gameloft games from crashing to the desktop.
Many of them do not run and crash to the desktop. This is due to a license check based on the device.
Special thanks to Christian Troy for inventing this fix. I modded it for this ROM.
8) Build.prop edit to open up the Google Play store to APPs that normally say "not compatible".
I am spoofing a Samsung device that will show almost any APP as compatible.
YOur device will show up in google play as NOT a B12 device! Understand this please.
I also left the original buiild.prop in the ROM called build.orig.
If you want to go back, just use ES FIle Explorer or a root file explorer and rename build.prop to build.old
Then rename build.orig to build.prop.
Go into settings, apps, all and go into the Google Play app. Clear the cache and data.
Reboot! You should be back to showing up as a Minis Nexo X5.
9) Rockchip just released a updated libstagefright.so to try and fix HW decoding issues in XBMC.
Ihadd added this ot the ROM but have not fully tested it yet.
See info here regarding this new library.
http://forum.xbmc.org/showthread.php...756#pid1345756
10) As always, full init.d support! If you do not know what that is... ignore it. For geeks that want to use it. It is there!
11) RK Mirrioring is enabled. I have yet to figure it out or how to use it but if we ever do, its there.
I think we need a client on our tablets to use it. Hopefully more info will come from WiMo about this.
12) Remote Control using RK Remote APP is now fully supported!
In the ROM kit is a RKRemoteControl.apk.
You install this on your phone or tablet and now it can remotly control your TV player!
Just put the APK on sdcard or something and install it on your Android phone, tablet, etc.
ENJOY this one! I had a HARD TIME getting it to work!
13) I added a reboot APP that will allow optional reboot options like reboot to bootloader (flash mode).
14) As always I added the Xbox XPAD.KO module is now injected on boot. This was by request! Enjoy!
15) I added Xbox360 keylayout to fix some games and camera spin with xbox 360 controller. Per this post here:
http://forum.xda-developers.com/show....php?t=1792531
16) TUN.ko module is also added by request. (CIFS and MD4 are already in the latest kernel).
Be aware if you use another kernel other than whats in this ROM, you may have to manually insmod CIFS and MD4.
The files are in /system/lib/modules
This ROM has several options for you to choose from for flashing so please read carefully how to change these flash options.
I have provided 4 parameter files. These will increase APP space and decrease internal sdcard space.
1GB APP space (this is default setting for the flash tool).
2GB APP space.
4GB APP space.
6GB APP space! This is the max! This leave only 400MB of space for the internal SDcard.
___________________________
NOTE:
USB OTG port boot up:
Anytime the Measy/B12 is booted AND the OTG port is plugged into a PC, it will boot with USB storage turned on! What this means is on boot up you will not be able to see the internal SDcard or the External SDcard from within Android. On your PC you see the removable drives because on boot they are mounted to the PC not Android. Now you can this OFF once booted. Go into settings and USB. You will see PC connection is grayed out.
1) Click it and it will then put the check box in "conneted". Odd it is OFF by defualt even though it is really connected to the PC.
2) Now turn it off and it will unmount the SDcards from your PC and you can now see them in Android.
HOWEVER... Realize next reboot, it will be on again.
In my opinion this should not work this way but at least you can turn it off once booted.
The other work around is to always hook up the USB cable to the back micro USB port not the OTG port.
The back port ONLY powers the unit. There is no data connection on this port for PC.
This solves that issue. But remember the back port will NEVER connect to a PC or allow ROM flashes.
Only the OTG port allows that.
Can I install this ROM on MK809II?
ledzgio said:
Can I install this ROM on MK809II?
Click to expand...
Click to collapse
YES. And I think it's the best ROM for MK809 II. Try it and you'll see...
g.b.a. said:
YES. And I think it's the best ROM for MK809 II. Try it and you'll see...
Click to expand...
Click to collapse
Thank you! Is everything working with this ROM? even Wifi and bluetooth? I read that there are problems with them...
ledzgio said:
Thank you! Is everything working with this ROM? even Wifi and bluetooth? I read that there are problems with them...
Click to expand...
Click to collapse
Yes. They are working fine with this ROM...
Enjoy!
Hi I am looking for cmw flashable zip for mk808 will this work ?
g.b.a. said:
Yes. They are working fine with this ROM...
Enjoy!
Click to expand...
Click to collapse
I have heard that, with the MK809II because it doesn't have the reboot button, I have to open the device and do something inside...is it correct? do I have to do this operation even with this ROM?
thanks
ledzgio said:
I have heard that, with the MK809II because it doesn't have the reboot button, I have to open the device and do something inside...is it correct? do I have to do this operation even with this ROM?
thanks
Click to expand...
Click to collapse
Reboot?
If it is a normal reboot, you don't have to open the device.
There is a Reboot app included in the New Measy Finless 1.7 Rom.
Correct me if I am wrong but based on my understanding, you only have to open your device and do the "Shortcut" method when you are having
some problem in getting into recovery mode. or your small switch button is not working anymore...
Can I install this rom on my MK809III rk3188
are there some instructions/guide how to make rom for this little sticks on your own?
adiprince1 said:
Hi I am looking for cmw flashable zip for mk808 will this work ?
Click to expand...
Click to collapse
I would like to know this also.
Thanks
Sent from my SGH-T889 using xda premium

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.

impossibile to write on external hd

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>

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