[Q] How to use the 'ln -s' in Galaxy tab - Galaxy S I9000 General

I use the colordict, and put all the dicts in /sdcard/dictdata folder, that's fine. Recently the space in inner SD card is insufficient, so I want to use another external SD - 32G.
I move the dictdata to new external SD card, but the colordict is not working, it always find the dicts in folder '/sdcard/dictdata'. So I want to make a link from external SD.
I typed the command as 'ln -s /sdcard/external_sd/dictdata /sdcard/dictdata', Unfortunately it give the error 'link failed operation not permitted'. I tried 'su -' first, but it still failed.
Anyone can help me how to solve this issue? Thanks a lot!

Related

[Q] apps2sd

Now that we have to option to install apps to our sd card I have a couple questions.
1) Where are the apps stored? I tried finding them in root explorer on my sd card after i moved them but i could not.
2) When i get my 32gb card is there any special process i have to undergo now that I have moved apps to my sd card? As in should i move them all back to my phone before switching cards or if copy my entire card over to my new one will they be included?
I believe the apps are encrypted on the sd card.
install terminal, run terminal,
in terminal run "mount" (assuming this works even if not rooted)
see things like
/dev/block/dm-6 /mnt/asec/com.adobe.reader-1 ....
this implies the device mapper subsystem is in use. don't have any more info at this time.
within the /mnt/asec/*/ directory there is a file pkg.apk, though it doesn't seem like a traditional apk as not unzippable (or at least unzip -l pkg.apk seems to fail within terminal)

SD Card File Disappearing

My application has a backup/restore feature that writes a csv file to a directory named after the app, in the root of the sd card. I have a user trying to move from one tablet to another. The backup feature appears to properly be creating the backup file on her SD card. When she places the SD card in her new tablet, the backup file and the directory it's stored in do not appear to be on the SD card at all. Apparently she was successful in having other data from other apps move over.
I've walked her through everything I can think, including writing a test app to verify the issue. Without a doubt, the files exist on the old device, but don't exist when installed in the new device.
I'm unsure what the original device is, but the new device is a Dell Streak 7.
Anyone seen this before? I'm leaning towards corrupt SD card, but it seems it's my burden to prove as my app is the only app she's having issues with.
The root of /sdcard is not necesarrily the SDCARD you can remove and take out.
/sdcard is usually part of the build in memory which can be accessed and used by the user.
The SDCARD you can remove is usually found at /sdcard/external_sd on Android 2.2 devices and /sdcard/sd on Android 2.1 devices.
Yes the naming is a bit confusing .
Dark3n said:
The root of /sdcard is not necesarrily the SDCARD you can remove and take out.
/sdcard is usually part of the build in memory which can be accessed and used by the user.
The SDCARD you can remove is usually found at /sdcard/external_sd on Android 2.2 devices and /sdcard/sd on Android 2.1 devices.
Yes the naming is a bit confusing .
Click to expand...
Click to collapse
That would certainly explain some things, especially if a user is moving a SD card from one device to the next.
My app creates a folder under the path returned by the Environment.getExternalStorageDirectory() function, where it creates and reads a backup file.
My documentation asks users to connect their device to a computer, mount as USB, and copy the backup file into that directory. This user is simply moving the SD card between devices. I'm wondering if there is a better method than using the getExternalStorageDirectory that I can use, so that I can have a common location on all SD cards to facilitate users moving cards between devices.
wct097 said:
My documentation asks users to connect their device to a computer, mount as USB, and copy the backup file into that directory. This user is simply moving the SD card between devices. I'm wondering if there is a better method than using the getExternalStorageDirectory that I can use, so that I can have a common location on all SD cards to facilitate users moving cards between devices.
Click to expand...
Click to collapse
Well it depends on the device what happens if they mount as usb,
if they get the internal sdcard or the external sdcard or both.
On my galaxy i9000, both the internal(/sdcard/) and external (/sdcard/external_sd) are shown when pluging it into my computer and mounting it as usb.
Environment.getExternalStorageDirectory() will always return the path of the users storage enviroment which is in usually /sdcard . Thats fine so far.
The problem is there is no function to get the external storage (/sdcard/external_sd or /sdcard/sd).
The only option i know atm, would be to probe manually if such a directory exists. You can use Build.VERSION.SDK_INT to see which android the user has and check the right directory.
Build.VERSION.SDK_INT <= 7 would mean if he has plugged in an external sdcard it would be mounted under
Environment.getExternalStorageDirectory().getAbsolutePath() + "/sd/"
Build.VERSION.SDK_INT >=8 would be
Environment.getExternalStorageDirectory().getAbsolutePath() + "/external_sd/"
You could use that and maybe a "import backup" function to check for the file on an external sdcard?

[Q] Only Camera app can use external SDCard

Hi!
I've got external SDCard (64 GB 10 Calss smartbuy logo), which is usable only by Camera application.
I've tried to sync my phone using syncMe on that card, and it didn't work; after that I've tried to create a folder on it using Astro file manager, and it didn't work too (without error: silently)
After that I've fired up terminal and found out that if I try to
$ mkdir 123
on external SDCard it returns "Can't create folder: permission denied".
I've tried 3 different cards (1 4Gb some noname with fat32, 2 different 64Gb on exFat); all is reproducible for any of them. Also I use Galaxy note 10.1 tablet which is just fine with all of that cards & writes like a charm.
Also if I try to format SDCard from my phone, it says "Blank card or unsupported filesystem blah blah" and refuses to mount till I format it on PC.
However, my Camera still uses the card without a problem, taking photos and saving em there.
What could be the reason?
My phone is SM-N900 stock non-rooted.
I did not try to do the hardware reset yet, and want to avoid it as far as I can (cause freakin' hardware resets for every 1st problem were the number 2 reason for abandoning my Apple devices & returning back to Android).
Found this:
http://forum.xda-developers.com/showthread.php?t=2617921
Sorry for the noise.
Rooting is a must, okay.jpg.

Problem with sd card

Hello guys,
I have a problem with my sd card on my galaxy s5. I downloaded an app, folder mount and after i opened it, it asked from me to do some changes to the settings of the sd card. After i did those, everything was great and i started copying my first game, real racing 3. After it reached 69%, it stopped copying the files and it told me that there was an error. After that my sd card had errors on the files of the real racing 3 and it wont let me do any format. I did the check disk by left clicking on the disk => properties => tools => check disk and it tells me that there was an error and it could fix the corrupted files. I also used the command chkdsk /f on the terminal and after it scanned the errors, it tells me that there was an error while it was fixing the problem. I would appreciate it if someone could help me and sorry about my bad english
Sent from my SM-G900F using XDA Free mobile app
I think your card is broken, buy a new oneā€¦

OTA 6.0 update changed the microSD card root dir to a string of random characters

I've seen discussion on this in other threads but always as a side conversation. I just installed the OTA update this morning and see my microSD card was renamed, in my case from sdcard1 to a string of random characters in XXXX-XXXX format. This has screwed up a few apps that now can't find the files they use on my SD card, and I'd like to rename the thing back to sdcard1 but haven't found an easy way. I'm not intending to use my card as internal storage, nor will I consider that the solution. Later today I'm going to try formatting the card with the hope I'll be allowed to rename it then, but I have to back it up first. So far, I've tried using ES File Explorer and Bulk Rename Wizard to rename the SD card without success. I can't rename it in Windows because it's the directory assigned by Android it seems.
If someone found a solution in another thread, be a bro and help me out with a link...
Edit/Update: I've reformatted my microSD several times now on the phone and on a Windows 7 PC, it makes no difference. Each time the card is reformatted it's assigned a new random 8-character string. I haven't found anything yet that can change that.
Having the same issue. If anyone has a solution please post.
This happened to me even though my SD Card was formatted with a Label. The weird thing is, if you go to Settings/Storage & USB the SD Card is shown with that Label name not the 8 digit name. So I've no idea what's going on.
I haven't done any formatting yet but won't do so after reading this.
I'm currently running TruPure XMM ROM and I'm having the same problem.
Didn't bother me too much but if there is a fix for this please let us/me know.
Having the same issue. Something with MM update is screwing it up.
Sent from my XT1575 using Tapatalk
Having the same issue.
My Old Samsung 32G and Sandisk 64G both came with random(different) characters on mount path.
That's the card's serial number (or something similar), nothing to fix. Also if you use a usb otg drive it will use the same naming scheme.
This has only affected me while using Root Explorer. No issues elsewhere with the naming scheme.
Same for me. Cannot configure my zooper widget anymore.
Sent from my XT1572 using Tapatalk
LG G3 "LG-D855" same strange numeric format path iussue labelled external SD card
kadopt said:
That's the card's serial number (or something similar), nothing to fix. Also if you use a usb otg drive it will use the same naming scheme.
Click to expand...
Click to collapse
Why you said that, is there No way to solve? Can you explain? Some apps really won't find external SD card in that alphanumeric characters in XXXX-XXXX format labeled directory external SD card path.
Same issue here.
Twrp and Lucky Patcher don't work at all.
Has anyone found a solution for this?
Thx
Its Linux. You can do anything and everything. If you have root, make a folder called /sdcard1 and bind mount the new name onto that. Put this in a script to run at boot up time. As simple as that. Put the following in a init.d script file:
Code:
#!/bin/sh
mount -o remount,rw /
mkdir /sdcard1
mount -o remount,ro /
mount -o bind /storage/<weird_name> /sdcard1
Make sure to replace <weird_name> with your weird folder name.
If you don't have root, you are SOL.

Categories

Resources