38

Recommended lecture: Why did /sdcard/ turn into /sdcard/0/ with 4.2?. In short: It has to do with the multi-user functionality introduced with Jelly Bean: /storage/emulated/0/: to my knowledge, this refers to the "emulated MMC" ("owner part"). Usually this is the internal one. The "0" stands for the user here, "0" is the first user aka device-owner. If you ...


18

Try using the -a option to copy all file attributes: adb pull -p -a /sdcard/ (The -p is for progress indication.)


13

It won't work to detect deleted files, but I just put an app up on the Play Store that will work on new and updated files: https://play.google.com/store/apps/details?id=com.gmail.jerickson314.sdscanner It uses a workaround inspired by Dan Hulme's answer: by using the API that is only for a specific file, but manually generating a recursive list of files on ...


12

Following the Termux wiki to run termux-setup-storage fixed it for me, as suggested by fornwall. then restart Termux.


10

Basically speaking: You can't. At least not without rooting. The main reasons Android does not allow you to install an application to your external SD card are: Security: It's the main reason for that restriction. Basic file systems like NTFS or FAT (any version of it) do not allow for Unix-like permission management. This means: any application would be ...


9

ANDROID STORAGE: On Android 5: /sdcard >S> /storage/emulated/legacy >S> /mnt/shell/emulated/0 /mnt/shell/emulated >E> /data/media On Android 6+: # USER-ID of current user in case of multiple users, normally "0" # for apps # VIEW is one of "read" or "write" and /storage to VIEW bind mount is inside a separate mount namespace for every ...


7

This is how I achieved this on a Samsung Galaxy J5 with Marshmallow 6.0.1. It requires a computer running Windows vista/7/8/10: Install the official Samsung drivers on your computer - some other driver variants can cause this process not to work: http://developer.samsung.com/galaxy/others/android-usb-driver-for-windows Install Odin on your computer: https://...


7

Is it possible to replace internal memory of a android phone ? Yes. Lots of Taobao (think of it as Chinese eBay?) merchants actually offer services of enlarging RAM and internal storage by replacing the chip, and these are actually quite popular, at least around me. Most are for Apple and Xiaomi phones which are popular and often lacking in storage. For ...


6

You can't use any apps like this any more. Because lots of apps abused the MEDIA_MOUNTED broadcast intent to cause a rescan of the whole filesystem (draining battery) after they only changed one file, KitKat has a new restriction that only system apps can broadcast this intent. Apps that try will get a SecurityException, which by default causes the "... has ...


6

I found it! The answer was in PIT file, because as it says here: you will only need to use this if a firmware update needs to change your partition layout (very very unlikely) or if you mess up you partition table (you don’t want to do this) Which is definitely my case. So, I tried that GT-I8190N and GT-I8190 should be used with different PIT files (I ...


6

Basically you can! ;) First, Root your phone! Second, Create a secondary partition in your SD card (Ext.4) >= 2GB and set it as primary. Third, download and install Link2sd app from playstore. Open the app, and I will ask you to create a mount point to your 2nd partition. Select Yes. Reboot. After reboot, EVERY app you install will automatically go to SD ...


6

Apps are supposed to store their data and related files either in /sdcard/Android/data/com.app.id or /data/data/com.app.id; however, many apps (especially ones from China) don't abide by this guideline and create folders in storage individually, that store various information. For example, apps using Aliyun SDK will generate .DataStorage, .SystemConfig and ....


5

A factory reset usually doesn't touch "external storage" (may sound confusing, but that includes the "internal SDcard" as well) – unless it explicitly specifies so (some devices/ROMs have a corresponding checkbox in the system menu, usually Settings → Backup & Reset, where this might be specified to be included). What a factory reset usually does is, ...


5

Newer versions of Android require apps to ask for permission during runtime. You may have noticed this already. One example is Chrome asking for the Storage permission when you try to download something for the first time. For Termux, this is a problem. Permissions default to "not allowed," so when Termux needs a permission for a task, because Termux hasn't ...


4

You are correct. The external storage directory is classed as an 'External SDCard'. Anything with SDCard in the title is not wiped during a factory reset. When you go to factory reset, you will be given the option to wipe your SDCard as well as the internal storage data directory.


4

There is some hope to recover data which was stored on the “internal SD card”. Samsung Galaxy S2 supports USB connection in the mass storage mode (unlike some other more recent models). This mode provides the required block-level access to the partition which holds your media and other files (but not contacts, SMS and app data). Therefore you can connect ...


4

That was quite a journey searching for an answer not involving rooting but I ended up: Unlocking my bootloader Booting on TWRP without installing it: fastboot boot recovery.img Installing Chainfire's SuperSU with TWRP. From Terminal Emulator or adb's shell: su pm set-install-location 2 From an application's menu in Settings > Applications just ...


4

You can't prevent that. It is because your device is mounted to the computer via MTP. It's supposed to be visible. However, whenever you boot up, a password will be required to decrypt your device before any data can be accessed, so you need not worry. Also, MTP connections won't display any data if the device is locked. This is a security measure. In ...


4

As you already expected, the way your question is phrased it looks like an XY problem: There are different ways to achieve your goal (mounting /data, /cache etc. from a different partition), while your question focuses on "editing fstab". For a working solution, see e.g. Mount a folder from external sd as /data: What's described there should work on all ...


4

You don't... if the SD card was encrypted adopted storage, and you removed it and factory reset the phone then you have lost all possibility of accessing any information on the SD card. You are better off just to reformat the card and start over. The encryption "key" was stored on the device, but when you factory reset it the encryption key was deleted, it ...


4

You're most likely looking at DualSIM devices. If they come with a dedicated SD card slot, you can use 2 SIMs and an external SD card. If it's a shared slot, it's either 2 SIMs or 1 SIM + SD card – i.e. the SD card slot is shared with the slot for the second SIM.


4

Meanwhile I found the solution. In the app settings I had to delete the app data and cache. That set the settings back to default which solved the issue.


4

The Nokia 6.1 has a reported issue with using SD card as internal storage, detailed on the XDA Forum. To summarise: The ability to use an sdcard as internal storage is avaiable with build 00WW_3_206_SP01 However, users have found files put on to the sdcard get corrupted at random 4096-byte boundaries. In terms of options open to you, Google Play does ...


4

First of all, symlinks don't work on Android's emulated storage. A workaround is to use bind mounts instead. See this answer for details. But with Adoptable Storage you don't need to: Create symlink to external SD card Manually move data to external SD card Bind mount a directory from external SD card Because what you see as /sdcard or /storage/emulated/0 ...


3

This is a very good question and I see it is already answered. I wrote a small application to solve this problem specifically for Kit Kit(Android 4.4+). My application works on all phones. Here: https://play.google.com/store/apps/details?id=burrows.apps.sdcard This works on the Nexus 5! Please let me know if this helps you! Disclaimer: I wrote this app.


3

There are several ways you could accomplish that: if you have sufficient free storage available, archiving the contents (zip, tar, whatever other archiver) and then copying the archive file would be a way. Pulling the archive would change the archive file's timestamp, but contents would be preserved as-is, and restored with their original timestamps. This ...


3

It means that the recovery does not mount the internal memory by default, and you need to do so manually. On your PC download and install Android SDK tools which gets you the ADB utility. Reboot your phone in Recovery mode and connect it to your PC via USB cable. Install the drivers if prompted (use drivers that ship with SDK tools under the \sdk\extras\...


3

MTP is using the FUSE filesystem to access the sdcard while the OS is using the sdcard as well. The FUSE filesystem also manages permissions for the files stored in the /data/media folder.


3

That's two different things, at least the first depending on a) Android version, b) manufacturer, and c) sometimes even the device in question: before Android 4.0, /sdcard usually was were the external SDCard was to be found starting with Android 4.0 (or even 3.x?), this changed for most devices, and usually became the place of the so-called internal SDCard ...


Only top voted, non community-wiki answers of a minimum length are eligible