How to swap bluetooth receive folder to external by folder mount - Moto E Q&A, Help & Troubleshooting

How to swap bluetooth receive folder , aldiko book import... to external by folder mount

Related

[Q] MNT ext SD card as primary

Is it possible for a DEV to could come up with a way to mount the ext SD card as the primary and the internal as secondary. Then you could insert a SanDisk 64GB class 10 and resolve the running out of primary memory problem.
Thanks
Bill
Found This from another DEV
I found this from another DEV. Anyone tried it? Can a DEV insert this in a ROM for an easy update? Does this work?
READ ENTIRELY BEFORE TRYING
First off I did a lot of research and found how to mount the ext-sdcard inside the int-sdcard automatically with a lot of trial and error. This only needs to be done if you are planning on porting a rom that does not have an ext-sdcard mount built into vold.fstab file like our Thrive does. This is a quick mod tutorial. If you do not know what you are doing than please do not attempt. I am not responsible for your device(s). Try at your own risk. This mod worked on my Shazaam rom. Here we go....
All these step are as if you are working from your computer on a rom.zip. No adb guidence given.
Unpack the rom.zip....
1. Mod The Build.Prop inside /system/ folder. Open the file with Notepad++ to edit. Copy and paste the code below at the bottom of your build.prop file and save
Code:
# Mount the externel SD card, too
ro.additionalmounts=/mnt/sdcard/sdcard2
2. Mod The Vold.Fstab file inside /system/etc/ folder. Open the file with Notepad++ to edit. Locate the line containing sdcard2 line and delete that entire line. Replace with code below, then save and close.
Code:
dev_mount sdcard /mnt/sdcard/sdcard2 auto /devices/platform/sdhci-tegra.2/mmc_host/mmc1
3. You must copy over the vold file from the /system/bin folder from the stock Thrive rom inorder for this to work.
4. Final and hardest mod, Modding the boot.img ramdisk files. Mod the init.antares (If you do not know how to unpack and pack the boot.img then stop here, and forget about this mod until you do know how):
First locat the line:
mkdir /mnt/sdcard 0000 system system
Replace with:
mkdir /mnt/sdcard 0666 system system
Insert the code below right above # create directory for mounting usb drives:
exp ort EXTERNAL_STORAGE2 /mnt/sdcard/sdcard2
mkdir /mnt/sdcard/sdcard2 0666 system system
symlink /mnt/sdcard/sdcard2 /sdcard2
Repack the boot.img. Build your rom with these mods in place and the ext-sdcard will automatically mount inside the int-sdcard. Enjoy......
vold.fstab
Here is a copy of my vold.fstab file. Does anyone know how to rewrite it to flip flop memory in phone and make the SD Card the primary memory?

Access to external SD card - Stock ROM (Rooted)

I've encountered problems trying to access the external SD card on my rooted Samsung Galaxy S3.
There are entries in /mnt/ for both internal and external storage, namely the following mount points:
/mnt/sdcard/ - internal
/mnt/extSdCard/ - external
The former is mounted onto the filesystem as /sdcard/. Ideally I'd like to mount the external card instead. Based on information elsewhere on the site, I checked the /etc/void.fstab file with the intention of making changes. However I didn't find what I was expecting. Here's the relevant part of the file:
Code:
{
supported_exfat = yes
}
dev_mount sdcard /mnt/extSdCard auto /devices/platform/s3c-sdhci.2/mmc_host/mmc1/
Based on this config I would have expected the external SD card to be mounted as /sdcard/. But clearly it isn't, and I don't understand why.
For the time being I am using Directory Bind to access external storage via /sdcard/external_sd/ but it would be easier to simply mount external storage as /sdcard/.
Anyone have any suggestions?

Internal SDcard not mounted

Goodmorning everybody.
Recently, i've tried some Android ROMs for S8500 (Samsung Wave). But the last 2, "AOKP Fast and Furious v1.3" and "Fire v1", don't work as well. The problem is the management of Internal SDcard. Camera can't take pictures, because it doesn't know where to save them; nothing can be download from the network, the browser asks me an SD card to start the download; i can't even browse folders with "root explorer", when i tap in "sdcard" under "/mnt/" the phone says "The SD card is not currently mounted". Finally, when i go to "Storage" on "Settings", i can see only Application memory (INTERNAL STORAGE), and something under "SD CARD", but nothing for "USB STORAGE".. It seems like if user's partition coldn't be seen.
Those two ROMs are based on the same kernel, and i didn't have this problem with the first Nightly by Mikegapinski and with "Slim JellyBean v1". Then, could this be a kernel problem? Can i change it with others?
More recently, i've found a way to mount manually SDcard. This is the post where it's explained.
Surfing on my phone's folders, i've found one called "emmc" under "/mnt/" where are stored all the "common" files that are normally located on "/mnt/sdcard" (like "Android", "DCIM", "obb" folders) and some picture i had taken with "Slim JellyBean v1".
Next, i've known that the name of the partition mounted on "emmc" is "mmcblk0p1". Then i've run those 3 commands on Terminal Emulator:
Code:
mount -t vfat /dev/block/mmcblk0p1 /mnt/sdcard
setprop EXTERNAL_STORAGE_STATE mounted
am broadcast -a android.intent.action.MEDIA_MOUNTED --ez read-only false -d
The first 2 were ok, but the last gave this error: "Segmentation fault"
At this point, in Settings - Storage, i can see plugged "USB STORAGE", with files inside. But the problem with programs is still present.
What can i do? Is there a way to avoid the "Segmentation fault"?
Thank you in advance for your answers!
Thread moved to Android Q&A as this is a software related issue.
Nobody can help me?

Transferring Files Between SD Cards

I wanted to have the fast SD Card, just to make the overall performance of my phone just a little better, and since my phone model (LG Optimus F7 everything has to be linked to SD card because the "external sd card" is a partition of the built in internal giving 1.27 gig of space - On a current gen phone! Jellybean!)
So I have a SanDisk Ultra 32 gig chip - active chip - partioned into 2 partitions - 1 Fat 32 and 1 ext4
The new card is a Micro Center Circle(10) HC 32 gig chip - partitioned into 2 partitions - 1 fat 32, and 1 ext 4
I have a multi-card reader for my laptop, when I try my main chip the fat32 partition can only have the files copied off, and the ext4 partition won't mount. So I can't just copy the files because any files on second mount are inaccessable. (I just thought while typing this I could makesure partition 1 is bigger than 2, use built in file manager copy all of partition 2 onto 1 on sd card, copy onto computer).
Anyway, I'll try that, but I was wondering if I transfered as much material, then made a back up of my rom, factory reset, re-installed backed up rom but with other sd card in, wouldn't the rom put the files on the sd card where they were? It won't know I switched?
Running Ubuntu Linux -
Errors I get from Terminal, etc below
Code:
####ERROR######
Error mounting /dev/sdb2 at /media/xieon/71937e1e-588a-4e44-a435-9c6485d066c3: Command-line `mount -t "ext4" -o "uhelper=udisks2,nodev,nosuid" "/dev/sdb2" "/media/xieon/71937e1e-588a-4e44-a435-9c6485d066c3"' exited with non-zero exit status 32: mount: block device /dev/sdb2 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/sdb2,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
#####ERROR#####

symlink app data to external sd card

Hi,
i'm trying to move the data folder of google photos to my external sd card.
i entered in ssh and created a symlink (with ln -s) of the folder /data/data/com.google.android.apps.photos --> my sdcard.
i updated the authorization of the symlink and of the files on the sdcard, i changed the group/owner also.
from a 'ls -l' the link looks like the original directory.
it's not working, it looks like google photo can't write/update its "database" file
I thought maybe google photo doesn't have the right WRITE_EXTERNAL_STORAGE but it has.
I have two partitions on my sdcard, vfat and ext4, do i need to link to a specific one maybe ?
What i'm doing wrong ?
thanks

Categories

Resources