Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
37

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


13

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


9

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


8

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


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://...


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

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


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

Since the SD Cards are slower than internal NAND memory, by running a ROM off the SD you will be sacrificing on the speed. Things like booting up and launching apps will be noticeably slower. The class rating of your SD Card will play a large role in how much slower your NC will feel when running in such configuration. It's generally recommended to buy ...


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

I would assume that it would be similar or the same as the 8GB Nexus 7, which is about 5.92GB.


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

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

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


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


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

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

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


3

mmc0: error -110 whilst initialising MMC card This means that the internal SD card has failed. The common workaround for this is to install Android to an external SD card. I can't comment on the Samsung Galaxy S, but I am currently doing this for a Samsung Galaxy Tab using the following instructions: http://forum.gsmhosting.com/vbb/f606/internal-sdcard-...


3

Historically virtually all the early Android phones had a removable SD card and a very small amount of internal storage (by modern standards). Apps were written expecting to be able to get access to the external storage and use it for data storage. Then phones started shipping with more internal storage but no sd card and to keep these older apps working ...


3

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


2

Instead of mergin your internal an external SD card, I think its easier to just bind the directories with high data to the external SD card. The idea is to link the folder were Google Music stores the offline cache with the SD card, so it will write it there instead of the internal memory. This is valid for any other app that writes to the internal memory, ...


2

This is a small bug in cyanogenmod. You can mount /emmc to /sdcard/external_sd by folowing command: su mount -o bind /mnt/emmc /sdcard/external_sd You need to install a terminal emulator (e.g. Android Terminal Emulator) in your mobile for excuting command. It's 100% working.


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