[Q] ES File Explorer permission denied when copying to OTG flash drive - Nexus 5 Q&A, Help & Troubleshooting

I've been getting this error whenever I try to copy anything onto a flash drive:
"EACCES (Permission denied)"
It used to work just fine before, so I don't know why it isn't working now.
The flash drive is EXFAT formatted. Phone is rooted, running ElementalX with EXFAT support ticked and Stickmount Pro. Reading any file still works.
Any ideas as to what happened?

keepcalmrollon said:
I've been getting this error whenever I try to copy anything onto a flash drive:
"EACCES (Permission denied)"
It used to work just fine before, so I don't know why it isn't working now.
The flash drive is EXFAT formatted. Phone is rooted, running ElementalX with EXFAT support ticked and Stickmount Pro. Reading any file still works.
Any ideas as to what happened?
Click to expand...
Click to collapse
What location are you browsing to to get to the flash drive? Is it the latest elemental?

rootSU said:
What location are you browsing to to get to the flash drive? Is it the latest elemental?
Click to expand...
Click to collapse
sdcard/usbstorage/sda1
Yes, I'm using Elemental 0.40

Does stickmount support exfat?
Sent from my Nexus 5 using Tapatalk

rootSU said:
Does stickmount support exfat?
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I believe so, as long as the kernel does as well. I know I've been able to write to this drive before, just haven't done so in a while.

no idea.
keepcalmrollon said:
I believe so, as long as the kernel does as well. I know I've been able to write to this drive before, just haven't done so in a while.
Click to expand...
Click to collapse
Anyone any ideas? I am having the same problem, exact same scenario using rooted stock on nexus 5. :crying:

My solution to NEXUS 5 can write to OTG USB pendrive
Ok, that's that I did, and it worked ( 4 or moure hours testing various things)
I used a Corsair Voyager GO 64 gb with NTFS filesystem.
My Nexus 5 is rooted.
I installed Chainfire "StickMount". So we can mount out USB pendrive to /sdcard/ubsStorage/sda1 No need to be PRO app.
I installed Paragon "paragon NTFS&HFS". Open it, and will ask to fix SELinux policies to Permisive. So Root Explorer can see now /Data/Media/ClockWorkmod/backup
I installed Jrummy Apps inc. "Root Explorer". I will copy, for example /Data/Media/ClockWorkmod/backup to /sdcard/ubsStorage/sda1 whithout any problems.
Don't forget to unmount USB drive before disconnecting it, go to StickMount and choose unmount
ES FILE EXPLORER WILL SAY "No space" "Error" or similar
Worked for me!
I'm happy with my investigation. I used Root Explorer in the past, and now it's useful again.
Sorry about my english, not perfect.
ENJOY!

Related

[Q] What's a file explorer that can r/w to OTG USB?

I have the meenova micro SD OTG reader and the only way i can access files from through my phone is from TWRP when i flash roms and such. I want to be able to move files back and forth from my phone using the Meenova but i've only seen peopl;e suggest nexus importer but it doesn't really work for me that well, I'm using root explorer right now and it doesn't let me access my usb otg. Basically i want a file explorer that let's me use the meenova to move files and not have to boot into twrp to have to do it and i dont want to have to pay a fortune for an app that will let me do this.
Hi,
Take a look for these apps: https://play.google.com/store/search?q=stickmount&c=apps&hl=fr.
Apps like Stickmount have a free version, you can test... After that I use Root Explorer without any issue.
viking37 said:
Hi,
Take a look for these apps: https://play.google.com/store/search?q=stickmount&c=apps&hl=fr.
Apps like Stickmount have a free version, you can test... After that I use Root Explorer without any issue.
Click to expand...
Click to collapse
Thanks ! Some great results came out
Sent from my Nexus 5 using Tapatalk
zolo185 said:
Thanks ! Some great results came out
Click to expand...
Click to collapse
Re,
Yes , for my usage I use Stickmount (the free version). Once the USB is mounted I can move, copy, delete the files. With Root Explorer the path is /sdcard/usbStorage/sda1.
Depends what you want to do. Apps like stickmount are ok if you just want to read/write data on the card through a file explorer. However since these apps dont mount correctly (mount in sdcard for non-root users), they're useless if you want to move game data onto usb otg. Fir that you need it mounting in /storage so custom kernel like chaos is what you'd need
Sent from my Nexus 5 using Tapatalk
rootSU said:
Depends what you want to do. Apps like stickmount are ok if you just want to read/write data on the card through a file explorer. However since these apps dont mount correctly (mount in sdcard for non-root users), they're useless if you want to move game data onto usb otg. Fir that you need it mounting in /storage so custom kernel like chaos is what you'd need
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
How can I tell if its mounting to storage or not. I'm on purity using stock purity kernel.
Sent from my Nexus 5 using Tapatalk
zolo185 said:
How can I tell if its mounting to storage or not. I'm on purity using stock purity kernel.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Im sorry, I don't understand the question. Does purity say it automounts USB otg in its list of features? Most roms / kernels do not offer this.
I only know 1 kernel and 1 rom that does. Chaos kernel and Mahdi rom. This doesn't mean more don't do it but I don't know the features if every rom or kernel.
Browse to /storage on the root of your device to see what's there
Sent from my Nexus 5 using Tapatalk
rootSU said:
Im sorry, I don't understand the question. Does purity say it automounts USB otg in its list of features? Most roms / kernels do not offer this.
I only know 1 kernel and 1 rom that does. Chaos kernel and Mahdi rom. This doesn't mean more don't do it but I don't know the features if every rom or kernel.
Browse to /storage on the root of your device to see what's there
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Sorry, and it does not mention it in the ROM features and I don't have the USB otg with me at the moment I'm in school. But here is what it shows me now.
*note* the SDA 1 is what I just added to see if it would mount there later on as vicking said above.
View attachment 2542308
Sent from my Nexus 5 using Tapatalk
The attachment doesn't work.
If you use stickmount, it will mount to /storage/sdcard0/usbStorage/sda1
Chaos kernel mounts to /storage/USBdisk
You don't create anything yourself. It creates as and when required
Sent from my Nexus 5 using Tapatalk

[Q] OTG Problem?

Hi guys! Just got a new USB OTG cable and also got stickmount PRO, and i connected my flash drive to my phone and stickmount detected it and i clicked mount and after i was done i clicked unmount and the flash drive got unmounted and so did my sdcard partition and it wouldn't be mounted unless i reboot my device, i've heard of this problem before but never found a solution. Also i'm running the latest version of slimkat and franco kernel, If there's a rom and, or kernel that supports OTG could you point it out for me please cuz i don't want to use stickmount because of this problem. I also tried usb OTG helper and the app crashes when i mount. Please help me and i'm sorry for asking a noob question.
Chaos kernel supports otg. I haven't tried it though.
Chaos is a CAF kernel so you'd have to use an old version on slim.
I use elementalx on slim which also automounts otg via the storage menu.
I still use stickmount too though because elementalx hasn't exported external storage in the correct way yet so can't use foldermount. If you simply want to browse though, elementalx is fine.
I've never had this problem with stickmount. I've never used franco though
Sent from my Nexus 5 using Tapatalk
rootSU said:
Chaos is a CAF kernel so you'd have to use an old version on slim.
I use elementalx on slim which also automounts otg via the storage menu.
I still use stickmount too though because elementalx hasn't exported external storage in the correct way yet so can't use foldermount. If you simply want to browse though, elementalx is fine.
I've never had this problem with stickmount. I've never used franco though
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Thanks! I'm gonna flash elementalx and report back, also would you mind telling me what rom you're running just in case it didn't work for me.
gotenks22 said:
Thanks! I'm gonna flash elementalx and report back, also would you mind telling me what rom you're running just in case it didn't work for me.
Click to expand...
Click to collapse
Ha ha. Already mentioned it in the 2nd line of my first post
Have another look
Sent from my Nexus 5 using Tapatalk
rootSU said:
Ha ha. Already mentioned it in the 2nd line of my first post
Have another look
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
LOL I didn't see that. also i flashed elementalx and i'm still getting the same problem:crying:, i unmount and then a popup shows saying that youtube crashed and when i go to es file explorer it's the same problem. Is there another kernel which isn't CAF that natively supports usb otg?
You're unmounting via storage menu and not using stickmount?
No.point looking at kernels. This isn't a kernel problem. This is a you problem. By you, I.don't mean you yourself. Rather, I mean there is a problem with your config. Usbotg works fine with latest slim and elementalx without issue. Must be an app or something.
Sent from my Nexus 5 using Tapatalk
rootSU said:
You're unmounting via storage menu and not using stickmount?
No.point looking at kernels. This isn't a kernel problem. This is a you problem. By you, I.don't mean you yourself. Rather, I mean there is a problem with your config. Usbotg works fine with latest slim and elementalx without issue. Must be an app or something.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Thanks for telling me bout elementalx unmounting and mounting via storage menu works now, but the problem is still there with stickmount, it seems like it's stickmount's problem. You also mentioned that elementalx had a problem with external storage does that mean that i can't use apps like GLtoSD so that i can put my game data in my flash drive?
I only use stickmount because of a setting that's missing that prevents foldermount mounting folders from /sdcard to USB. You don't need to use it simply to browse.
No idea why stickmount causes this problem for you. Works fine for me.
No idea what gltosd is. You'll have to test it yourself
Sent from my Nexus 5 using Tapatalk
rootSU said:
I only use stickmount because of a setting that's missing that prevents foldermount mounting folders from /sdcard to USB. You don't need to use it simply to browse.
No idea why stickmount causes this problem for you. Works fine for me.
No idea what gltosd is. You'll have to test it yourself
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
GL to SD does the same thing as foldermount except it's a more user-friendly interface made for games
Probably wont work then without stickmount
Sent from my Nexus 5 using Tapatalk
rootSU said:
I only use stickmount because of a setting that's missing that prevents foldermount mounting folders from /sdcard to USB. You don't need to use it simply to browse.
No idea why stickmount causes this problem for you. Works fine for me.
No idea what gltosd is. You'll have to test it yourself
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Just found out that the main problem was my explorer (after i unmount with stickmount es file explorer tells me sdcard not found but other explorers show it normally) it wasn't the kernel's problem nor stickmount's. Godammit i feel so stupid *facepalm*. Anyways thanks for helping me, also elementalx is amazing, really good battery life and performance.
Yep good kernel
Sent from my Nexus 5 using Tapatalk

[Q] USB OTG on 4.4.4

Okay - I had USB OTG working *before* the 4.4.4 update by enabling it via the QualcommSettings app and installing StickMount. I'm rooted and have an unlocked bootloader.
After upgrading to 4.4.4, I can't get my Meenova usb stick to mount. I've tried with & without StickMount. I re-enabled "USB Mass Storage" in QualcommSettings, but it doesn't seem to stay enabled.
StickMount says it mounts the device to /sdcard/usbStorage/sda, but when I navigate there with ES File Explorer, the folder is empty.
Has anyone gotten USB OTG to work with 4.4.4? If so, how? Any help or suggestions are appreciated. Thanks!!
marksibert said:
Okay - I had USB OTG working *before* the 4.4.4 update by enabling it via the QualcommSettings app and installing StickMount. I'm rooted and have an unlocked bootloader.
After upgrading to 4.4.4, I can't get my Meenova usb stick to mount. I've tried with & without StickMount. I re-enabled "USB Mass Storage" in QualcommSettings, but it doesn't seem to stay enabled.
StickMount says it mounts the device to /sdcard/usbStorage/sda, but when I navigate there with ES File Explorer, the folder is empty.
Has anyone gotten USB OTG to work with 4.4.4? If so, how? Any help or suggestions are appreciated. Thanks!!
Click to expand...
Click to collapse
With Explorer/Root Explorer it is storage/usbdisk. But unrooted as I am, I cannot write a file to the root of the card, a folder is OK.
The not writing to the root of the OTG/card is some bug in Explorer. Solid explorer works fine.
I'm rooted and have an unlocked bootloader. 4.4.4 Now otg works fine for me wothout stickmount. usb drive mount /mnt/media_rw
mainbord said:
I'm rooted and have an unlocked bootloader. 4.4.4 Now otg works fine for me wothout stickmount. usb drive mount /mnt/media_rw
Click to expand...
Click to collapse
What adapter & filer are you using? My mnt/media... is vacant. /storage is where mine is.
aviwdoowks said:
What adapter & filer are you using? My mnt/media... is vacant. /storage is where mine is.
Click to expand...
Click to collapse
Take it http://forum.xda-developers.com/moto-x/general/guide-otg-usbdisk-support-4-4-2-earlier-t2709553
mainbord said:
Take it http://forum.xda-developers.com/moto-x/general/guide-otg-usbdisk-support-4-4-2-earlier-t2709553
Click to expand...
Click to collapse
Seems media_RW requires root & that is why I do not see it.
OTG its working for me again, I own 2 Sandisk usb memories and both are working perfect.
aviwdoowks said:
With Explorer/Root Explorer it is storage/usbdisk. But unrooted as I am, I cannot write a file to the root of the card, a folder is OK.
Click to expand...
Click to collapse
Uninstalled StickMount and tried it again yesterday, and it's working fine now. The other day, I had looked at storage/usbdisk also, but the folder was empty. I'm not sure what I changed to get it working, so unfortunately can't help anyone if they're seeing the same behavior I was.
marksibert said:
Uninstalled StickMount and tried it again yesterday, and it's working fine now. The other day, I had looked at storage/usbdisk also, but the folder was empty. I'm not sure what I changed to get it working, so unfortunately can't help anyone if they're seeing the same behavior I was.
Click to expand...
Click to collapse
The not writing to root of SD is a bug of Root Explorer. Solid Explorer & CM file manager are fine.

USB otg not working on lollipop

As the title stats I cant seem to get it to work or find the appropriate folder in which its located any help would be appreciated
Hit Thanks if I Helped
-_-NAMELESS ROM 1+1-_-
Same problem for me. Installed the full image and it doesn't work. It didn't work when I had just installed it and it still doesn't work after rooting.
How are you using it? Custom kernel? App? Which ones?
Stock 5.0 image with root via chainfire autoroot. Solid Explorer file manager and I can't see the USB OTG
MasterTB said:
Stock 5.0 image with root via chainfire autoroot. Solid Explorer file manager and I can't see the USB OTG
Click to expand...
Click to collapse
Are you supposed to? I thought an app.was needed to mount it. Is ES supposed to do that? Did it on KK
rootSU said:
Are you supposed to? I thought an app.was needed to mount it. Is ES supposed to do that? Did it on KK
Click to expand...
Click to collapse
ES used to (on 4.4.4)
I did notice that my Thermal Seek camera (also USB OTG) works fine with Lollipop, so I guess ES has to be updated.
Yes, I forgot about ES. It does open it. I had been using solid because I like it better but I also forgot that stock Android is NOT AOSP and that was my problem. It does see it now with ES so, problem solved. Also it reads both fat32 and NTFS. too bad it doesn't read exFAT
MasterTB said:
Yes, I forgot about ES. It does open it. I had been using solid because I like it better but I also forgot that stock Android is NOT AOSP and that was my problem. It does see it now with ES so, problem solved. Also it reads both fat32 and NTFS. too bad it doesn't read exFAT
Click to expand...
Click to collapse
That is so strange - I use ES and I am not able to get it to recognize my USB flash drive! Sheeeeeeesh! :crying:
Well we are all seeing strange things with 5.0 For example, root is not working as it should, apps like App Quarantine can't seem to properly disable some system apps or Google Apps, I can't seem to be able to correctly install a recovery and most apps that should allow to do reboot options (like flashify or twrp manager) don't work. My guess is that we'll have to wait a few days until development has matured a bit..
Then, I can use/see/write my USB by otg only with Es explorer without stickmount or I have to use stick mount mandatorily ?
sorry if you give the answer already but did not understand English very well
Always i used stick mount, but it would only need/use ES Explorer
I can only add that on nexus7 (2013) official 5.0 OTG doesn't work either.
I can access external drive through ES or stickmount, but the system itself is 'blind'.
Using custom kernels (e.g elementalX) built for lollipop which in theory should support OTG break stickmount (and still no OTG support, possibly something in OS beyond the kernel) - internal memory is not mounted anymore to /storage/sdcard0. ES still works though.
lolote said:
Then, I can use/see/write my USB by otg only with Es explorer without stickmount or I have to use stick mount mandatorily ?
sorry if you give the answer already but did not understand English very well
Always i used stick mount, but it would only need/use ES Explorer
Click to expand...
Click to collapse
Yes, you can just use ES Explorer to use USB OTG devices. No need for stickmount.
Update your drivers.
Please read here what I did.
http://forum.xda-developers.com/showpost.php?p=56789129&postcount=50
Work fine.
MasterTB said:
Yes, you can just use ES Explorer to use USB OTG devices. No need for stickmount.
Click to expand...
Click to collapse
but in nexus 5 lollipop ?
Because i when connect my usb 8gb Es explorer askme and showme a pop up, and later show a usb1002 but when i want open it is load for ever and frezze the app.
with stickmount nop frezze no load, open fine.
i mean?
Works fine with this app.
https://play.google.com/store/apps/details?id=com.kyuudroid.nexususbotgfilemanager
Yes in 5.0.
I have the google stock image, rooted with CFAR and all I use is ES Explorer to see my USB OTG. You have to be in either NTFS or Fat32 for it to read the drives.
It does show as a USB 1002 like you say and if you click on it it will open a new window with the contents of the drive. That's all I do.
No tweaks or apps to mount the drives.
MasterTB said:
Yes in 5.0.
I have the google stock image, rooted with CFAR and all I use is ES Explorer to see my USB OTG. You have to be in either NTFS or Fat32 for it to read the drives.
It does show as a USB 1002 like you say and if you click on it it will open a new window with the contents of the drive. That's all I do.
No tweaks or apps to mount the drives.
Click to expand...
Click to collapse
Hi all,
I can see on ES Explorer the US1002 tab like you, and if I click on it, I can see the file inside the USB storage, but i can't put other files on the drive, even if I try to create a new file, the app show up a pop up with the message "unsupported operation", instead the copy from the USB drive to the phone is possibile.
This happens since I flashed the Stock Lollipop build.....
Have you tried to copy or create a file on the drive?
Many Thanks! Bye!
Russosniap said:
Hi all,
I can see on ES Explorer the US1002 tab like you, and if I click on it, I can see the file inside the USB storage, but i can't put other files on the drive, even if I try to create a new file, the app show up a pop up with the message "unsupported operation", instead the copy from the USB drive to the phone is possibile.
This happens since I flashed the Stock Lollipop build.....
Have you tried to copy or create a file on the drive?
Many Thanks! Bye!
Click to expand...
Click to collapse
Yes, I get the same message. You can read files, copy them TO your phone but not copy from your phone to the USB OTG. I guess we will have to wait for some developer to patch things or for AOSP roms to catch up...
MasterTB said:
Yes, I get the same message. You can read files, copy them TO your phone but not copy from your phone to the USB OTG. I guess we will have to wait for some developer to patch things or for AOSP roms to catch up...
Click to expand...
Click to collapse
Probably kernel related. Might need to export to usb otg properly. Probably mounted with no permissions. You can check when OTG is plugged in by typing the "mount" command into a terminal emulator
rootSU said:
Probably kernel related. Might need to export to usb otg properly. Probably mounted with no permissions. You can check when OTG is plugged in by typing the "mount" command into a terminal emulator
Click to expand...
Click to collapse
Ehi guys!
I think I found the problem, my usb drive was formatted in NTFS, android can't white on it, but only read!
I formatted in FAT32 and the problem is solved!! I was so stupid
Bye!!

Mount exFAT USB storage

I am using the Elemental X 1.01 kernel that lists exFAT and NTFS as both supported. I tried using the built in storage mount and it just wants to format the drive. I then tried Stick mount and that just seems to lock up it's mount service. How can I read/write my exFAT formatted USB drive?
Saw your post elsewhere. The only time I've done this in the past was by using TWRP file manager. At first the drive couldn't be read, so running fix permissions did the trick. Other than that, I'm thinking you'd need a custom ROM. I honestly don't know what's out there at the moment that would work for you.
I have tested MiXplorer (http://forum.xda-developers.com/showthread.php?t=1523691) this evening with exFAT and was able to read and write data. To enable goto Settings/More Settings/Enable OTG.
This Works Great!
spiller37 said:
I have tested MiXplorer (http://forum.xda-developers.com/showthread.php?t=1523691) this evening with exFAT and was able to read and write data. To enable goto Settings/More Settings/Enable OTG.
Click to expand...
Click to collapse
I like to use my phone to edit GoPro Videos. I had a Galaxy s5 that I would use an OTG cable to read the file off the micro sd card. I got the pixel xl and I was disappointed that I could not read the exFAT files. After reading this post and instaling MiXplorer it works perfectly. A big thanks to you for posting this, and another BIG Thanks to HootanParsa for creating MiXplorer.
EDIT>>>IGNORE THIS I GOT IT.
I just installed Mixplorer on my Pixel XL and have a USB-C flash drive formatted in exFat, turned on the OTG Driver but I can't get my flash drive to show up in Mixplorer. Am I missing something?
4redstars said:
EDIT>>>IGNORE THIS I GOT IT.
I just installed Mixplorer on my Pixel XL and have a USB-C flash drive formatted in exFat, turned on the OTG Driver but I can't get my flash drive to show up in Mixplorer. Am I missing something?
Click to expand...
Click to collapse
Just installed Mixplorer and have the same problem. Can't see exFat SD. Can you please tell me how you resolved it? Thanks.
samnada said:
Just installed Mixplorer and have the same problem. Can't see exFat SD. Can you please tell me how you resolved it? Thanks.
Click to expand...
Click to collapse
I'm sorry it's been so long I have no idea what I did. I'm really sorry.
4redstars said:
I'm sorry it's been so long I have no idea what I did. I'm really sorry.
Click to expand...
Click to collapse
Ok, understand. Thanks.

Categories

Resources