I have that TV box and the only app that can write to external storage is the internal File Manager.
There are 2 system apps: internal storage and multimedia storafe that have their permission dissable and I can't change them. I suspect this is the issue.
Anyone can help? Perhaps with an adb command? I don't want to root.
Related
I'm using a gslate and I can't delete items from the internal storage. When I use File Expert or Astro to perform a delete, it gives me an error.
The device is rooted and I also tried to delete the items by using the terminal. When I run 'su' and then use rm *.* it says permission denied.
How can I fix this?
have you mounted it as read/write? root explorer gives you the option to toggle between r/w and r/o and i highly suggest you use it
Tried that...
Thanks for the quick reply. Unfortunately, I've already tried that but it didn't work.
Again, this is user memory, not filesystem storage...
A user should be able to delete their own media. I can't
sounds like you might have a corrupted memory storage unit. like are you talking a sdcard when you say user memory or onboard device memory?
Onboard Memory
I'm talking about the onboard memory since this gslate doesn't take an sdcard.
Hi,
Firstly, I have trawled Google and many problems people have with ICS and apps being restricted to writing to the internal SD card, or even seeing/mounting SD cards and external drives.
This is not my problem, but I think it's related to the decision by Google to restrict app access to internal (phone) SD cards.
I have an Onda Vi140 10"tablet, but I'm not sure it's restricted to just this, so I've posted here. Please move if this is wrong.
I can, with all file managers:
1) See and read any files on any TF card I put in the external Slot.
2) See and read any files on any USB stick I put in the external Slot.
3) Read & write to them via the clunky stock File Manager.
3) Ditto both on my WIn7 x64 PC and move/edit files.
I cannot get Astro or ES file explorer to read/write - even after rebooting with the flash drive connected.
/mnt/sdcard - internal 16GB (System and apps)
/mnt/extsd - external 16GB TF (Storage of docs/music/photos etc.)
/mnt/usbhost1 - external USB thumb drive (Or Fat32 Hdd)
I don't mind ICS restricting to the internal 16GB /mnt/sdcard as I only install apps there, and am happy to save within apps to this location.
However, I often want to transfer a document from the tablet to my thumb drive, and vice-versa, like with my laptop. this is an essential operation for a portable device, and I'm both surprised and frustrated it's not readily working.
Given that the internal File Manager can do it, what's the problem?
My device is rooted. Could I install an app to open a terminal and set global r/w permissions for /mnt/extsd /mnt/usbhost1 - The system doesn't use them for apps. They are both just storage volumes. The whole system and all apps are in the /mnt/sdcard and that's unlikely to change.
Any assistance would be appreciated.
Regards,
David.
Solved on this very forum here! (Not sure why it didn't turn up in my search results.)
I can now read/write on my external TF and plugged in USB stick.
David.
Hello,
when inserting an external SD card, the internal memory card is then mounted as sdcard1 and the inserted external card is mounted as sdcard0. So Android starts writing a lot oft data to the external SD card.
How can I avoid this? Android should not touch the external SD card. I want to copy pix, music and backup manually to it.
Any suggestions?
Hi just go to settings =storage and then change default write disk to phone storage
yascooluk said:
Hi just go to settings =storage and then change default write disk to phone storage
Click to expand...
Click to collapse
Hello,
and you have tested this by yourself? If I insert an external SD card, switch to "default write disk to phone storage" and delete ALL data on this SD card, Android
immediately starts to write to data on it:
The folders "LOST.DIR", ".thumbnails" and "Android" are created. In the folder "Android" there is the folder "data" with several App-Data in it.
Even some Apps like WhatsApp start to write data to the external SD card.
So, switching to "default write disk to phone storage" does NOT keep Android away from writing data to it.
For example, on my Galaxy Tab Pro 8.4 the external SD card is mounted as "sdcard1" and no files are written to it automatically.
I browsed the web for hours, but did not find any solutions for this problem. It is not a big thing, but it is annoying.
:crying::crying::crying:
I have the same problem also on an old smartphone with MT6582 processor and Android 4.1.2.
It's an old problem, I think that it's a way of manage memory for smartphones based on MTK processors and there aren't solutions.
But I would like this to be denied
What about changing sdcard1 and sdcard0 , in the mount point file:
https://www.youtube.com/watch?v=sK2O92kgki0
You must be root.
When i have time to root my phone i will try.
I am having the same problem and it is very annoying. Why can't Android leave alone my Sdcard? I only want to storage music and some files there.
@yascooluk
Settings =>storage => default disk write storage "Phone" has no effect. Lots of Apps point to sdcard0, which is now the external sdcard.
@ndouchin
This Solution worked for Android Versions prior 4.3. In Android 5.1 there is no vold.fstab file, and swapping mounting points works differently now, but i didnt' figure it out yet.
Yes you are right, fstab is in boot.img in lollilop, if I believe what I read ;
http://forum.xda-developers.com/showthread.php?t=2426804
Maybe try to unpack and pack boot.img:
http://www.mtkroms.com/2015/02/unpackrepack-bootimg-and-port-kernel.html
Sorry I have no time to work on my device , i have not already rooting it, and the internal memory is enough for me.
I've managed to root my device, but i'm not skilled enough to do this boot.img operation. Too many things that can go wrong. As the source code for this device was already released, I'll wait and hope until some developer can find a solution.
XinternalSD is the solution. Try it. regards
Sent from my HERO1 using Tapatalk
i try to use folder mount after rooted my marshmallow, but the result was error. then i found with file manager hd that after upgrade to marshmallow, while i open sd card, it showing 2 folder, "storage>9c33-6bbd". what it is mean?
is there other way to enable data put to sd card? pls help
edit:
problem solved. just need to instal busybox and remount the folder mount.
to copy file from internal use file manager hd, setting enable root and change system
similar this problem
Samsung Note 4 just updated to Android 6.0.1.
My SD card used to be /storage/extSdCard, but after the update, is /storage/9C33-6BBD, breaking all internal app links that use the name.
Marshmallow renamed SD card. But now I can't guide the app to the external storage without root.
Set Oruxmaps to the new offline maps path. It appears "Error, Oruxmaps can't write in this directory".
So, no offline maps... I have to move them to internal storage... but there's not enough space.
Anyone else see this?
have a Samsung A01 and was running out of space so i got an SD card, i want to download apps directly on the SD card after a few google searches i found out that you can partition an SD card to be included in as internal storage, i ran the commands but after partitioning and needing to close it, the phone kept bootlooping, idk if it's cuz the sd card is not correctly formated or something,
after failing at that i decided i will just change the installtion location but whenever i run
adb shell pm set-install-location 2
i get the error:
Exception occurred while executing 'set-install-location':
java.lang.SecurityException: Package android does not belong to 2000
at android.app.AppOpsManager.checkPackage(AppOpsManager.java:8803)
at android.content.ContentProvider.getCallingAttributionSource(ContentProvider.java:1096)
at android.content.ContentProvider.getCallingPackage(ContentProvider.java:1076)
at com.android.providers.settings.SettingsProvider.mutateGlobalSetting(SettingsProvider.java:2059)
at com.android.providers.settings.SettingsProvider.insertGlobalSetting(SettingsProvider.java:1996)
at com.android.providers.settings.SettingsProvider.call(SettingsProvider.java:628)
at android.content.ContentProvider.call(ContentProvider.java:2576)
at android.content.ContentProvider$Transport.call(ContentProvider.java:526)
at android.provider.Settings$NameValueCache.putStringForUser(Settings.java:2991)
at android.provider.Settings$Global.putStringForUser(Settings.java:21016)
at android.provider.Settings$Global.putString(Settings.java:20844)
at android.provider.Settings$Global.putInt(Settings.java:21095)
at com.android.server.pm.PackageManagerService.setInstallLocation(PackageManagerService.java:32456)
at com.android.server.pm.PackageManagerShellCommand.runSetInstallLocation(PackageManagerShellCommand.java:1630)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:224)
at com.android.modules.utils.BasicShellCommandHandler.exec(BasicShellCommandHandler.java:97)
at android.os.ShellCommand.exec(ShellCommand.java:38)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:29855)
at android.os.Binder.shellCommand(Binder.java:986)
at android.os.Binder.onTransact(Binder.java:860)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:5411)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:9925)
at android.os.Binder.execTransactInternal(Binder.java:1220)
at android.os.Binder.execTransact(Binder.java:1179)
idk how to solve this
Converting an external SD-card storage space ( entirely or partially ) to an internal SD-card storage space is done by so-called Adoptable Storage fearure if it's supported by pre-installed Android ( i.e. Android 6 and higher ).
Look also here:
How to Use Android's Storage Manager
How to access, manage, and delete files, and increase storage using Android's storage manager--without even rooting your device
www.lifewire.com
Simply formatting / partitioning an external SD-card is not the right way. If you really want to do it at your own look here:
Enable adoptable storage no root needed
Have adb installed. Dev options enabled. Oem unlocking on. And usb debugging. I have done this on my cricket stylo 3 and works great. Open CMD (command prompt) on your PC and enter: “sm list-disks”. This will display the disk ID of your...
forum.xda-developers.com
Mjoygullyusingoldphones said:
adb shell pm set-install-location 2
Click to expand...
Click to collapse
This commands allows apps to be installed on an external storage from system side. But if an app wants to be installed on external storage is declared in its AndroidManifest.xml:
Code:
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
android:installLocation="preferExternal"
... >
And that's a big problem because most apps do not declare this attribute. In that case:
If you do not declare this attribute, your application will be installed on the internal storage only and it cannot be moved to the external storage.
Click to expand...
Click to collapse
https://developer.android.com/guide/topics/data/install-location
Installing an app on external means that only the app's APK is stored on external while the app's specific data has to be stored on internal due to some security restrictions by Google. See here:
Access app-specific files | Android Developers
developer.android.com
A general issue when using external storage for app's data is that a SD card formatted in exFAT can't provide any mandatory security features such as encrypted storage or Linux file permissions.
Adoptable Storage is ext4 file system and provides same security features as Internal Storage. One UI never supported it.
thwalker3 said:
Yep. Samsung helpfully disables adoptable storage on all of their devices (the better to sell you models with more internal storage).
Click to expand...
Click to collapse
alecxs said:
Adoptable Storage is ext4 file system and provides same security features as Internal Storage. One UI never supported it.
Click to expand...
Click to collapse
But that is adoptable storage. Adoptable storage formats and mounts the external sd card exactly like /data. At the end there is no more external storage. It's all internal and encrypted. Only readable in your device.
The other feature, I was talking of, is to install apps on external storage. Not formatted as internal and still removeable and readable in any device.
It's the same feature, App2SD. one depends on the other.. before Adoptable Storage it were stored in encrypted .asec containers (also ext4) in .android_secure directory on MicroSD Card, since Marshmallow it requires Adoptable Storage. you can also split, volume can partitioned in public, private or mixed mode.