sd card issues - Samsung Galaxy S Blaze 4G

Hey guys I'm having a issue with my sd card. I am running AOKP and put ringtones, notification tones and music on the sd card. I set a music files as my alarms and use ringtones and such off this card. I've noticed after rebooting, after receiving a call or a failed alarm, that the ringtones under sound will show up as unknown instead of the tone I previously selected and the same for the alarm ...I can go to the alarm and instead of it showing whatever mp3 I selected it shows some like /file/45784 and of course reverts to some default insulting tone to wake up to. I been looking into what may cause this and the only think I can come up with is it's taking too long on a reboot to finish checking the sd card for errors and mounting it ..so the system and apps boot up but the files they are set to use are not available. This is a class 10 Sandisk card / 64gig. I formatted it with the phone itself and i've used gui format and tried various fat32 allocation sizes such as 4096 or 32768. Also transferring large files to the phone via the computer with the cable can fail ..the devices just stops responding, it will remount the drives in windows again but this is annoying. I have to take the card out for large transfers of say 2-3 gig. I have two different class 10 cards of 64 gig and a 16 gig one that all do the same things. If it is a speed on reading the card would changing the read ahead help it check and prep during boot faster so the apps can have access quicker as the phone boots? Can I change this in the vold.fstab? Right now I'm swapping the internal mount for the external mount so all my cam pics, sound recording etc..go to the sd card.
I see in this file " dev_mount sdcard /storge/sdcard1 28 / devices/platform/msm_sdcc.1/mmc_host/mmc0/mmc"
Is the 28 read ahead? I've read other threads on having to use a app to change this but thought I see if anyone has experienced these issues and if a fix is known.
Thanks and have a great day!

Have you tried copying your tones to system/media?
Sent from my SGH-T769 using Tapatalk 4

Somcom3X said:
Have you tried copying your tones to system/media?
Sent from my SGH-T769 using Tapatalk 4
Click to expand...
Click to collapse
That would work for ringtones I guess but I wanted to put my music on the phone to stop carrying around a standalone player, and I wanted to use the mp3's for alarms with alarm clock plus. I might want to change alarm mp3's and don't really want to have to copy them over all the time to the /system partition.
Also, I'm wanted to swap the internal sd partition with the external sd card for extra space as I want pics, recording etc to go to this 64G drive. So having said that I'd like for the SD card to be read faster on boot so all data is available for the apps that need it.
I'm running into another issue, I created a simple shell script but I noticed init.d was not running it and upon future investigation I'm not able to run it in a terminal either.
#!/system/bin/sh
echo "2048" > /sys/devices/virtual/bdi/179:0/read_ahead_kb
I saved this to the init.d dir as 99sdboost and also tried 02sdboost!
When trying to run this script manually via terminal I'm getting the following:
[email protected]:/system/etc/init.d/ # sh ./02boost
: No such file or directory /sys/devices/virtual/bdi/179:0/read_ahead_kb
That file does exist and cat-ing it shows the value as 128
I can however take the command above and execute it in the terminal with success:
echo "2048" > /sys/devices/virtual/bdi/179:0/read_ahead_kb
After that I get a result of 2048 in the file.
Anyways thanks for taking the time and offering suggestions / feedback as I greatly appreciate it.
Have a great day!

neal74 said:
That would work for ringtones I guess but I wanted to put my music on the phone to stop carrying around a standalone player, and I wanted to use the mp3's for alarms with alarm clock plus. I might want to change alarm mp3's and don't really want to have to copy them over all the time to the /system partition.
Also, I'm wanted to swap the internal sd partition with the external sd card for extra space as I want pics, recording etc to go to this 64G drive. So having said that I'd like for the SD card to be read faster on boot so all data is available for the apps that need it.
I'm running into another issue, I created a simple shell script but I noticed init.d was not running it and upon future investigation I'm not able to run it in a terminal either.
#!/system/bin/sh
echo "2048" > /sys/devices/virtual/bdi/179:0/read_ahead_kb
I saved this to the init.d dir as 99sdboost and also tried 02sdboost!
When trying to run this script manually via terminal I'm getting the following:
[email protected]:/system/etc/init.d/ # sh ./02boost
: No such file or directory /sys/devices/virtual/bdi/179:0/read_ahead_kb
That file does exist and cat-ing it shows the value as 128
I can however take the command above and execute it in the terminal with success:
echo "2048" > /sys/devices/virtual/bdi/179:0/read_ahead_kb
After that I get a result of 2048 in the file.
Anyways thanks for taking the time and offering suggestions / feedback as I greatly appreciate it.
Have a great day!
Click to expand...
Click to collapse
Here is a screenshot of the error:
I'm running AOKP with the X2 kernel.

Related

[REQUEST] Move App-Data to/back from /data to /sd-ext

Are there any plans to implement a Button into the App-Manager, to move the Data-Part of an app to the /ext2 Partition ?
Especially on low memory devices (like the G1) this will give us the chance to install a lot of apps without runnung to "low space on device".
I have written a very small bash-script to manually do this job, but it would be more comfortable with a Button.
move.sh
Code:
#!/system/bin/sh
#
#data_to_move=com.alk.copilot
#data_to_move=com.camelgames.blowup
#data_to_move=com.drodin.tuxrider
#data_to_move=com.gameloft.android.AMEU.GloftAsphalt5.asphalt5
#data_to_move=com.navigon.navigator
#data_to_move=com.polarbit.ironsightlite
#data_to_move=com.polarbit.ragingthunder
#data_to_move=com.polarbit.rthunder2
#data_to_move=com.polarbit.waveblazerlite
#data_to_move=com.estrongs.android.pop
su
mount -o remount,rw /data
mkdir /sd-ext/data
cd /data/data
echo About to Move ${data_to_move}
cp -r -p ${data_to_move} /sd-ext/data
rm -r -f ${data_to_move}
ln -s /sd-ext/data/${data_to_move} ${data_to_move}
unmove.sh
Code:
#!/system/bin/sh
#
#data_to_move=com.alk.copilot
#data_to_move=com.camelgames.blowup
#data_to_move=com.drodin.tuxrider
#data_to_move=com.gameloft.android.AMEU.GloftAsphalt5.asphalt5
#data_to_move=com.navigon.navigator
#data_to_move=com.polarbit.ironsightlite
#data_to_move=com.polarbit.ragingthunder
#data_to_move=com.polarbit.rthunder2
#data_to_move=com.polarbit.waveblazerlite
#data_to_move=com.estrongs.android.pop
su
mount -o remount,rw /data
mkdir /sd-ext/data
cd /data/data
echo About to unMove ${data_to_move}
rm ${data_to_move}
mkdir ${data_to_move}
cp -r -p /sd-ext/data/${data_to_move} ${data_to_move}
Apps that need lots of space should use the fat32 partition gracefully, using this hack would considerably slow down your system(even class6). Why double the reads and writes to the slow mmc?
Because not all apps using the fat32-Partition.
Navigon for example uses 14 MB of internal storage.
If you install such apps on a G1, you can quickly run out of space.
Low on cache space will considerably slow down the overall system performance.
I would not suggest to move the data of any installed apps, but from the big ones.
Apps like Navigation and 3D-Games are writing not frequently their data and if you own a G1 you are already swapping when using an Eclaid based ROM. So this wouldn't make a big difference in the livetime of your sdcard.
Perhaps someone could implement a partial move (e.g. only libraries) to avoid massive writes to the card ... and/or setting a threshold value, so apps with small data could not be moved.
For me, moving the apps in the Script above has given me additional 35 MB internal space and everything is still runnung "fast".
/data/data
TheGenesis said:
Because not all apps using the fat32-Partition.
Navigon for example uses 14 MB of internal storage.
If you install such apps on a G1, you can quickly run out of space.
Low on cache space will considerably slow down the overall system performance.
I would not suggest to move the data of any installed apps, but from the big ones.
Apps like Navigation and 3D-Games are writing not frequently their data and if you own a G1 you are already swapping when using an Eclaid based ROM. So this wouldn't make a big difference in the livetime of your sdcard.
Perhaps someone could implement a partial move (e.g. only libraries) to avoid massive writes to the card ... and/or setting a threshold value, so apps with small data could not be moved.
For me, moving the apps in the Script above has given me additional 35 MB internal space and everything is still runnung "fast".
Click to expand...
Click to collapse
there is already a script in existance to move things like that:
# lucid -d -sd
would move app data to the sdcard and symlink .. this (however) does not move individual pieces .. i would be interested to know the speed difference on these apps that you moved .. also .. this will create extra difficulty when attempting any nandroid backup/restore .. i have seen people putting up comments because their phone crashed due to the excessive number of symlinks across the phone .. if you are not careful with them you could lose all your data
The Space allocated by the "big apps" is mainly used by their ./lib dir. Because of this, it would be enough to move and symlink only those dirs.
With Games the "rest" goes to settings and scores.
On a G1 there is absolutely no difference in speed when moving data to sd.
Perhaps its because the G1 is not the top performer at all
I have played those games in the list with data in internal and on sd-ext and there is no difference in speed ... loading time is also the same.
I'm satisfied with the results, but these scripts didn't remove the data when apps where uninstalled or re-installed and thats the reason of my request.
Take a look on your storage and see how much space (libraries) should be on the sdcard.
Code:
du -sk /data/data/* | sort -rn | head
btw ... did you ever enabled JIT on a G1 and played ExZeus or Armageddon Squadron ?
Its amazing what is possible on this "outdated" Hardware!
P.S. Nandroid Backup runs perfectly with this symlinks (no recursive/double Backups)
Update:
Nandroid Backup only saves app and app-private ... could you edit this to save everything excluding "crap-dirs" ?
If nandbackup uses standard tar calls, you can use the following command:
Code:
tar pcvf /sdcard/nandroid/sd-ext.tar . -C /sd-ext --exclude dalvik-cache --exclude lost+found
... it would save everything the user place on the partition including userinit.sh
Restoring such a tarball works perfectly with nandbackup.
Thx in advance
Thom
Int. mem for SWAP ?
well, after the moving some heavy apps data
I have 54mb free Int. mem (out of 90)
is that possible to use 24-32mb of this (fast?)memory
for SWAP ? instead of linux swap
and does it make any sense?
...just tried to enable /swapfile.swp via Swapper2
though it says
-creating swap - ok
-changing permission - ok
-formatting swap - ok
but
- enabling swap(file) - FAIL
sorry if it's just another stupid question
G1, stock cm5.0.8 test4, 32mb linux swap
TheGenesis said:
Update:
Nandroid Backup only saves app and app-private ... could you edit this to save everything excluding "crap-dirs" ?
If nandbackup uses standard tar calls, you can use the following command:
Code:
tar pcvf /sdcard/nandroid/sd-ext.tar . -C /sd-ext --exclude dalvik-cache --exclude lost+found
... it would save everything the user place on the partition including userinit.sh
Restoring such a tarball works perfectly with nandbackup.
Thx in advance
Thom
Click to expand...
Click to collapse
Have you tried BART? http://forum.xda-developers.com/showthread.php?t=562292
It's included in the recovery, and lets you backup/not_backup whatever you want.
zelipukin said:
well, after the moving some heavy apps data
I have 54mb free Int. mem (out of 90)
is that possible to use 24-32mb of this (fast?)memory
for SWAP ? instead of linux swap
and does it make any sense?
...just tried to enable /swapfile.swp via Swapper2
though it says
-creating swap - ok
-changing permission - ok
-formatting swap - ok
but
- enabling swap(file) - FAIL
sorry if it's just another stupid question
G1, stock cm5.0.8 test4, 32mb linux swap
Click to expand...
Click to collapse
It's not a stupid question ... I have had the same Idea yesterday ...
I have googled about life spawn of the internal flash memory, but I haven't found any satisfactory answer yet.
Anywhere here who know how fast the internal flash is ?
What about write cycles and wear levelling ?
If it has no integrated wear levelling, swapping will kill the phone in a few days.
I think your enable swap has failed due to wrong permissions ... try to enable with a defered call in your userinit.
Update: I have checked my filesystem ... /cache has actually 29 MB free ... is it correct, that /cache is only used by OTA updates ? Probably we can create a priorized swap there in addition to ext.
Keep up the good work dude...this sounds great
TheGenesis said:
Navigon for example uses 14 MB of internal storage.
If you install such apps on a G1, you can quickly run out of space.
Low on cache space will considerably slow down the overall system performance.
I would not suggest to move the data of any installed apps, but from the big ones.
Apps like Navigation and 3D-Games are writing not frequently their data and if you own a G1 you are already swapping when using an Eclaid based ROM. So this wouldn't make a big difference in the livetime of your sdcard.
Perhaps someone could implement a partial move (e.g. only libraries) to avoid massive writes to the card ... and/or setting a threshold value, so apps with small data could not be moved.
For me, moving the apps in the Script above has given me additional 35 MB internal space and everything is still runnung "fast".
Click to expand...
Click to collapse
If navigon is using that much internal storage it's a very poorly written application. Low cache doesn't slow the system down, just apps that require such huge amounts of it.
I'm already swapping when using Eclair? Wrong, using swap on the sdcard is horrible, I'd never recommend it to anyone and I personally don't use it. I have 114 apps installed and my cache is 9% used, it seems to me like your apps aren't clearing their cache correctly, or they're just poorly written. The argument that 'you are already swapping so this wouldn't make a big difference in the livetime of your sdcard' is untrue, you are effectively doubling the amount of read/writes to the mmc, if not more, so the lifetime could potentially be cut in half, of course depending on use.
I'd say nice try, but this really just working around crap apps.
I use a 16 GB class 6 SD-Card with static wear-levelling.
Assuming that a standard-flash-nand-cell lasts about 10.000 write cycles, and my swap-write-turnover is currently about 1,6 GB per day, my SD-Card will last about 273 years (minus regular writes).
So I don't care about livetime.
Besides Navigon, there are many apps, that store their huge libraries to /data .... Games in most cases ... If you aren't using "bad written apps" its fine for YOU ... everyone else has to do some tweaks when installing some of them to the limited internal storage.
I have 278 apps installed and the only limit for me, is currently the free space on my sdcard.
If you haven't enabled swap since you have flashed your first Eclair ROM, you have probably never felt what is "speed" or you never need more than 1 app running simultaniously .... or you are using a different phone instead of a G1
You say "swapping to sd is horrible" ... I think you have used the wrong parameters ... when I diable swapping my system is lagging ... even when I work with one app the same time.
Did you enabled compcache while swapping ? Did you use a swapfile on FAT32 ? Is your swappinness levor 50 or above 60 ? Are you using al class 4 or slower sd-card ? Are you running heavy memory consuming apps without killing them from time to time ?
All these can turn a fast swapping system into an unusable phone.
You cannot enable swap and use the system like before.
Update:
I have copied 18 MB from cache to data and it tooks round about 18 seconds.
Same file from sdcard (FAT32) to sdcard tooks 6 seconds ...
I will use the sdcard
I should have listened to internal voice telling me not to argue with a fool cause people might not know the difference..
Something strange
I did some stupid (owing to absence of linux knowledge)
experiments regarding to swap_2_/
I believe if it possible it should be done through userinit/config
or smth during boot to enable r/w. give necc permissions etc.
I just used Swapper and RootManager
If I create .swp (it creates but does not work) in any place but /cache
it (just existence of this file) does system unstable, slow and unresponsive
in /cache or any existing or newly created folders inside /cache/ it's OK
before reboot when those new folders/files disappear
=
After a wile something happened with my phone (not a first or last time)
many apps caused FC, settings were lost etc
tried "fix uid missmatches" - dots filled out numerous screens
and after ~20min I decided to reboot
tried nandroid - same endless ....................................................
after the reboot I found no FCs but still missing settings for some apps
(sim_linked_data apps like CoPilot were OK) so I Titaniumed non-working apps
data (5-6 apps) and evrthng seems fine
=
BUT when I look at internal memory available
I find 73Mb (out of ~90) FREE
there was 53Mb free before the accident
Is that normal? And whats the limit?
I have my laps and brain scratched to find some application of this
=
just my experience
-compcache always gives me horrible slow phone - not using
-linux swap - best results compare to no_swap - allways use
Some apps are storing many data to /data and sometimes to /cache.
I think your restores have cleared some of them.
Try CacheMate instead of such manouvers
I have checked the write throughput using dd:
Internal Storage: 3,5 MB/s
Class 6 SD Card: 7 MB/s
... annoying ... USB to SD-Card is 3,5 MB/s and SD-Card via Card-Reader (PC) is about 9 MB/s.
Hey man, i had the same problem and decided to go a head and write a small tool that does exactly this, this is a UI tool that shows all the folders in /data/data (excluding system folders) and let you move your apps to your sd, you should have an APP2SD ROM installed with root (of-course) and sd card partitioned to EXT and FAT32.
Contact me if you want to check it out, i never found the time to publish it ([email protected])
hi,
I have tried that and it works, but...it works until reboot...
After reboot I don't see directory /sd-ext/data....
I don't know why it always been deleted....

SD Card Speedup

I was reading
http://forum.xda-developers.com/showthread.php?t=1010807
I found that on my device the sdcard was 179:16 (and sdcard2 is 179:24). I downloaded SD TOOLs from the market (free) and did some tests. A few runs at the stock size (128) showed write speeds of 5 to 8.5 and read speeds of 13.7 to 15.3.
At 2048 write speeds went up to about 9.5 (can't explain why) and the reads shot up to almost 28 to over 31. Best results if you can do this from a clean boot or with little running, I'm sure.
So this seems like a worthwhile fix. Quick web browsing session with Opera was ok so doesn't seem to cause any grief.
I'm using VEGAn which doesn't have init.d stuff, but I had already hacked up an rc.local file (http://forum.xda-developers.com/showthread.php?t=1014213) so very easy to make the changes there so that they are permanent.
So step by step:
1. Get a shell prompt. ADB or one of the shells off the market.
2. Go super user (su command, for example). Not necessary if you are putting it in rc.local or init scripts.
3. cd /sys/devices/virtual/bdi/179:16
4. echo 2048>read_ahead_kb
5. Repeat for /sys/devices/virtual/bdi/179:24
I assume we all have the same device numbers. If not, go to the bdi directory and do an ls. The major number (179) should be the same. Tell us what you have if different.
If you do the rc.local hack then you can just put the echo lines in your rc.local or any other place that runs as root at boot time.
I'll post back if there seem to be any "bad" effects from this, but so far so good.
I don't understand sd tools - I've tried many times (and after
fresh reboot) but sd tools give me ridiculous speeds, like
writes of 25MBs and reads of 175MBs !!
I'd like to believe it, but can't
I am guessing if you hit the card in cache you get the ridiculous speeds. However, if you change the readahead you can definitely see that there is a peak (on my hardware) at about 2K with baseline performance.
The tablet seems fast with this mod although hard to say if its actually faster or not other than the SD Tools benchmark says it is.
this is a nice fix. here is what I use in a file called 99fixmmcreadahead in /system/etc/init.d to set this up during every boot:
Code:
/system/xbin/echo "2048" > /sys/devices/virtual/bdi/179:16/read_ahead_kb;
/system/xbin/echo "2048" > /sys/devices/virtual/bdi/179:24/read_ahead_kb;
/system/xbin/echo "2048" > /sys/devices/virtual/bdi/default/read_ahead_kb;
VegaN doesn't have an init.d structure which through me at first. Elsewhere I posted how I got it to execute an rc.local file and I put it in there.
However, it looks like autostart and/or script manager (both in the market) can do the job also. I've been running with the larger read ahead caches for about a week now and it seems ok. Hard to tell for sure what impact it has on real work, but the benchmarks like it.
OK - I've just installed sdtools again (my gtablet crashed and
burned, nvflash resurrected it and now running tnt lite 4.4).
But my readings are still ridiculous:
write: 16.9
read: 227.9 !!!!
How do you guys get reasonable readings out of
this batsh*t app?
Just to post back. Certainly no ill effects with this after several weeks. Hard to say if it is faster or not, but I think it is.
I know sd tools gives some people trouble.
Just now I have the following benchmarks:
SD Tools: Write 11.2MB/s, Read 18.4 MB/s
AnTutu: Write: 4.6MB/s (!), Read (13.6 MB/s)
Anyone else tried this?
OK since I have no thread posting abilities I'll ask on this thread
Ok so having some problems with my SD card.
First off I'm running VEGAn 5.1.
Ever since I got the Tab I have been trying to get my SD card to keep the movies and pictures that I have loaded from my computer on the card. Whenever I load it into the Tab.
I have formatted the card in my Tab. And I put the movies and pictures on the card. Then when I insert the card into the slot it takes a minute to read the card. I see the files that I have loaded onto the card. But after like a day or so I go to look at the files again and they are gone. I have reloaded the files a couple of times and I loaded them back again today. Then when I got to work they were gone again.
Just wondering if anyone else has had this problem or if it is new to you guys?
Thanks
This is a known problem. Search for .nomedia to find the details. The short answer is put a .nomedia file in your SD card directories. The downside is a lot of apps that show videos or audio won't find them now (because they aren't supposed to) so you have to use a file manager like Astro to go open the files.
It has never been clear to me why this is, what original firmware thought this made sense, or if I can protect a whole card by just putting .nomedia in the root or if I have to do it in every subdirectory I want to protect.
Quick Pic Gallery will show stuff by the way if you select "Show hidden" but sadly there is no way to make that a persistent setting.

[Q] external SD card questions

i'm new to android so please bear with me.
i have a 32GB SD class 4 in my phone. it's been formatted so all it has is the lost.dir (i'm on a mac)
since there are no folders there - how do i gets apps to use it? where do i put music and other files? i have podcasts and other stuff i'd like to drag over but i'm not understanding how the different apps would see it.
i can move some apps to SD card but i think it just moves them to the internal SD card.
it seems that there are 2 SD cards in the phone but no way to differentiate between the 2.
also it sometimes takes forever for the gx2 to recognize the card, its kind of annoying. is having a class 10 better for this?
I use filemanager from the market and it recognizes my external as........"_externalSD" also allows me to transfer files between the two.
ecpht said:
i'm new to android so please bear with me.
i have a 32GB SD class 4 in my phone. it's been formatted so all it has is the lost.dir (i'm on a mac)
since there are no folders there - how do i gets apps to use it? where do i put music and other files? i have podcasts and other stuff i'd like to drag over but i'm not understanding how the different apps would see it.
i can move some apps to SD card but i think it just moves them to the internal SD card.
it seems that there are 2 SD cards in the phone but no way to differentiate between the 2.
also it sometimes takes forever for the gx2 to recognize the card, its kind of annoying. is having a class 10 better for this?
Click to expand...
Click to collapse
When you have your phone plugged in pull down the alert bar on the top of the screen and press the "USB Connection" option. It should ask you if you want to turn USB mode on and have a picture of an Android. This will allow you to mount your internal and external sd as if they were regular flash sticks. You can then copy whatever you want to them. I also like to use drop box in combination with Astro for moving things to and from the cloud.
ecpht said:
i'm new to android so please bear with me.
i have a 32GB SD class 4 in my phone. it's been formatted so all it has is the lost.dir (i'm on a mac)
since there are no folders there - how do i gets apps to use it? where do i put music and other files? i have podcasts and other stuff i'd like to drag over but i'm not understanding how the different apps would see it.
i can move some apps to SD card but i think it just moves them to the internal SD card.
it seems that there are 2 SD cards in the phone but no way to differentiate between the 2.
also it sometimes takes forever for the gx2 to recognize the card, its kind of annoying. is having a class 10 better for this?
Click to expand...
Click to collapse
1. G2x has the internal sd card partitioned into 2 parts (1 for OS & apps & other for storage & apps).
2. Sd card's class does help but it is not something important until you're running a high def video.
3. Use any file explorer app (File expert etc) for copying files from Internal SD Card to External SD Card.
4. Most of the app's setting menu gives you an option to physically select the storage destination folder i.e. external sd card.
Hope I helped.
Sent from my LG-P999 using XDA App
so say i have podcasts and other files on my computer i want to copy to the 32GB SD card - do i just make folders on the card and copy the files over from my computer?
ecpht said:
so say i have podcasts and other files on my computer i want to copy to the 32GB SD card - do i just make folders on the card and copy the files over from my computer?
Click to expand...
Click to collapse
Yes, just simply copy the entire FOLDER of the particular file to your External SD Card & if in future, if u download something directly from your phone then simply just copy/paste it from your using any file manager app.
Sent from my LG-P999 using XDA App
so i have the phone connected to the computer and I see 2 No Name disks. That's fine. I put a folder called music at the root level of the 32GB card. Now I find that folder in File Expert and I go to play something and it says that file isn't supported. I tried Google Music and Doubletwist. Just mp3's from a CD. are there certain settings for android i need to know about? and do i need to go to File Expert to play this music everytime? Or should I be going through doubletwist on my mac and using it like itunes?
thanks you any help, i'm pretty clueless with this aspect of android right now, trying to catch up.
also both SD cards randomly unmount themselves. is there a reason for this or a way to prevent this?
ecpht said:
so i have the phone connected to the computer and I see 2 No Name disks. That's fine. I put a folder called music at the root level of the 32GB card. Now I find that folder in File Expert and I go to play something and it says that file isn't supported. I tried Google Music and Doubletwist. Just mp3's from a CD. are there certain settings for android i need to know about? and do i need to go to File Expert to play this music everytime? Or should I be going through doubletwist on my mac and using it like itunes?
thanks you any help, i'm pretty clueless with this aspect of android right now, trying to catch up.
Click to expand...
Click to collapse
Ok. After reading your problems, here are my suggestions:
1) Copy your 32 GB SD Card files on your computer.
2) Format your 32 GB card. Replace all files back in it.
3) Stop worrying about putting certain files (pics, music) in a root folder. Simply just put any files OR folders inside the Sd card.
4) When it comes to File sharing, think of Android in the same category as Windows.
I hope I helped.
Sent from my LG-P999 using XDA App

Low memory

I keep getting a low memory message. I have most apps i installed on the sd card, which is 8gb. I can't save evernote or backups. There is little media save 50 pictures. Anyone tell me how to free up some of the internal memory, or the usb storage?
Sent from my SGH-T769 using xda premium
Do you have most of your apps installed on your sdcard or usbstorage? If your using the move to sd card method in manage applications, then it's going to store it in your usbstorage, not your external sd card. This happens with Apps2SD too.
How the hell can someone have their usb storage memory filled up with just apps?
Are you putting music or something in the usb storage, and not on your memory card?
I mean seriously, most apps are small. VERY small.
Cirkustanz said:
How the hell can someone have their usb storage memory filled up with just apps?
Are you putting music or something in the usb storage, and not on your memory card?
I mean seriously, most apps are small. VERY small.
Click to expand...
Click to collapse
That's true, but most apps also have additional data that they store in /sdcard. And since the blaze has /sdcard as usbstorage, everything goes there so it fills up quick. I have a lot of apps too but the ones that store data in the usbstorage, I move to /sdcard/external_sd by using GL to SD. Although it only works for gameloft games and data stored in /sdcard/Android and /sdcard/data, those are the two folders that usually take up the most space.
Well, gaming on your phone is the culprit obviously.
I don't have many apps at all, no games.
Now i can't even move any apps to my sd card. It says my memory is too low. I can't attach pictures.or.even open my gallery without getting this.message.
I'm not following.the.usb storage thing. How's it work?
Sent from my SGH-T769 using xda premium
Your phone has something like 1 gig of storage that is supposed to effectively be ram where applications are stored, and another 1 gig of memory labelled as usb storage in the phone where data can be stored, or applications can be stored if it is set to "move to sd card".
Then of course, you have the actual SD card, of whatever size is in the phone.
Seriously, I can't say enough times, if your phone is low on memory, you are doing something weird.
For example, those gameloft games, are quite huge, and the additional data they require would go to usb storage. Two or three of them can fill up the phone's space without a problem. This would be true for any phone out there.
Another likely culprit is something simple...you might have been putting your music or video or other large amounts of stuff you want to have on the phone in one of the first two mentioned locations without realizing it. If you mount your phone to the computer, you've notice how two drives show up?
One drive is the "usb storage", and another would be the actual SD card you have in the phone. I don't know why it does this, but I suspect it's common as my sony e-reader does the same thing.
To put it simply, don't store things to the phone's "memory" that you don't need to, and you'll be fine.
usb storage
I took a look and sure enough, the usb storage contained things I thought were on the sd card. I don't have much media on this phone at all. Maybe 70 pictures, no music, a couple videos, and I have no gameloft games at all.
I noticed that some apps are also stored here. I moved the little media to the sd card, but can I also move the apps here?
And is there anyway to change the settings so these files are directed here rather than the internal storage?
"A couple videos" was probably the culprit, as they tend to be big files of course.
About moving the apps to the sd card....allow me comment on that, and then rant a little bit.
Many apps can be moved to the sd card. If it's enabled by the app, you can just go to settings, applications, manage applications or whatever, and select the application you want, and in the same screen where you can uninstall an app, some apps let you move them to the sd card. Not every allows this, and in general, if you have an app with a widget on the sd card, it either won't work, or something weird happens. (Android designed limitation with widgets)
Now, to my rant.
My first android phone was a nexus 1. Great phone, but compared to a lot of phones it has a small amount of program memory. So if people were prone to having lots of apps especially large ones such as google earth, java, or whatever, that space filled up quick.
I think it was around 2.2 when Android started opening up moving apps to the sd card.
To this DAY, you can go into the market comments and pretty much read moron after moron doing things like, "I rated this a 1, because I can't move it to the sd card! Gah, you suck, let me move this to the sd card!"
Some times they would have a point, but more often than not, they wouldn't.
For example, this app that was 25k in size, had 15 comments in a row about people whining to move it to the sd card. SERIOUSLY? 25k is NOTHING, even to a phone with limited memory such as a nexus one.
And then there would be people whining about apps on SD cards for apps that you SHOULD NOT put on an sd card. "What apps wouldn't you want to run on an sd card?", you might ask.
Any app that should be always running, or able to be run by some event changing, while your phone is plugged into the computer.
For example....let's say you have a call blocking app. There are a few, I use one myself. If you move it to the sd card, that app can not function if the sd card is mounted to the computer. Phones mount memory cards just like computers do, and if it's unplugged......it doesn't work! So if you have the card mounted in the computer and your phone rings....guess what, your call blocking app doesn't work, and that annoying jerk is making your phone ring again.
Somewhere, a kitten dies.
I used the call blocking app as an example as something that even though it's not doing anything most of the time, but that when another event happens (your phone ringing), it can't do it's function.
I used to know why widgets on the sd card didn't work, but I suspect it has something to do with just they can't work reliably on the sd card. For example, my preferred music player poweramp, can be moved to the sd card, and of course it has widgets. So.....the dev made an add-on you can download where the widget stays on the phone, the app goes to the sd card.
Personally, I just keep poweramp on the phone memory. Since it's one of my 5 most commonly used apps, it only makes sense, right?
I can't remember if flash for browsers is able to be moved to the sd card yet, but what I do know is people whined and whined and whined about it, not realizing that.........the browser wouldn't work very well if flash was installed to the sd card.
Titaniumbackup and probably other similar apps can force apps to the sd card that are not normally allowed, but they will of course caution you about doing it. Some of that caution verbiage is there for reasons which are in this post, and I'm sure there's other concerns as well.
Moving along to your last question...... that depends.
Some apps can be configured to have a preferred directory location for storage, but realize that there are still phones out there that either don't have memory card slots, or don't have "usb storage". As a result, sometimes it works easily, sometimes it doesn't, but most file explorer apps make moving stuff around pretty easy.
Personally, I'm not really sure what the point of having both is, but it seems to be common. All I know is that having a memory card slot is a good thing. There are a few reasons why I wish I would have just bought a google nexus, but...... odds are the 64gig microsdxc cards work in this phone, and well, I plan to buy one.
Sorry nexus, you're hot.....but having 4 times the music or video on hand, is something I think I would enjoy more.
I'm having the same issues with the Samsung Blaze ~ when I go to Settings, Storage, USB Storage it shows total space 1.40 GB and available 127 MB. When I go to files, usbstorage, there is NOTHING in it and it shows "no files". I have 4 applications I've downloaded, no more. ALL of my pictures and music are on the external card. When I go to active applications, then Storage, it shows System storage 119MB of 1.12GB, USB storage 1.28GB used of 1.40GB, and SD card 4.33GB used of 7.39GB. I don't have games on it at all.
I'm not an Einstein, but I'm getting really tired of everyone telling me I'm obviously not smart enough to have a smart phone. I'm no dummy when it comes to tech.
Cirkustanz said:
"A couple videos" was probably the culprit, as they tend to be big files of course.
Click to expand...
Click to collapse
similar problem - Rhapsody was the culprit
I had a similar problem -- I couldn't see any files in the USB Storage folder in Files, but it was full. In my case, Rhapsody was causing the issue -- by default it downloads music to /mnt/sdcard (or something like that, I changed it and can't remember the address exactly. But from what Cirkustanz said above, the Blaze interprets that address as "USB Storage" (confusing name, that) which is really internal storage. In the advanced settings for Rhapsody I changed it to /sdcard/external_sd and all of a sudden had 700MB free in USB Storage. Lost all of my Rhapsody downloads, however, and will have to add them back.
smiyem said:
I'm having the same issues with the Samsung Blaze ~ when I go to Settings, Storage, USB Storage it shows total space 1.40 GB and available 127 MB. When I go to files, usbstorage, there is NOTHING in it and it shows "no files". I have 4 applications I've downloaded, no more. ALL of my pictures and music are on the external card. When I go to active applications, then Storage, it shows System storage 119MB of 1.12GB, USB storage 1.28GB used of 1.40GB, and SD card 4.33GB used of 7.39GB. I don't have games on it at all.
I'm not an Einstein, but I'm getting really tired of everyone telling me I'm obviously not smart enough to have a smart phone. I'm no dummy when it comes to tech.
Cirkustanz said:
"A couple videos" was probably the culprit, as they tend to be big files of course.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
focused67 said:
I had a similar problem -- I couldn't see any files in the USB Storage folder in Files, but it was full. In my case, Rhapsody was causing the issue -- by default it downloads music to /mnt/sdcard (or something like that, I changed it and can't remember the address exactly. But from what Cirkustanz said above, the Blaze interprets that address as "USB Storage" (confusing name, that) which is really internal storage. In the advanced settings for Rhapsody I changed it to /sdcard/external_sd and all of a sudden had 700MB free in USB Storage. Lost all of my Rhapsody downloads, however, and will have to add them back.
Click to expand...
Click to collapse
smiyem said:
I'm having the same issues with the Samsung Blaze ~ when I go to Settings, Storage, USB Storage it shows total space 1.40 GB and available 127 MB. When I go to files, usbstorage, there is NOTHING in it and it shows "no files". I have 4 applications I've downloaded, no more. ALL of my pictures and music are on the external card. When I go to active applications, then Storage, it shows System storage 119MB of 1.12GB, USB storage 1.28GB used of 1.40GB, and SD card 4.33GB used of 7.39GB. I don't have games on it at all.
I'm not an Einstein, but I'm getting really tired of everyone telling me I'm obviously not smart enough to have a smart phone. I'm no dummy when it comes to tech.
Click to expand...
Click to collapse
Its ur internal sd thats the problem u have to clean files out once in a while if u dont it will **** stuff up get astro or any file manager and go folder by folder and delete stuff and ur usb storage doesnt get used its just system internal and external thats all ur partitions in system settings it reads the part ur apps get put in when u put apps on sd as usb thats it but u cant look at them but just clean ur internal sd out clear caches and check lost.dir once in awhile too delete whatevers in there and u should be ok dont forget any videos u shoot in hd will be huge too those r in dcim... Thats why i switch my mounts and i keep my sdcards clean so i can have like 5 6 huge games and still have space but to each his own good luck tho
!¡!¡!¡!¡!¡!PLEASE click THANKS if I helped!¡!¡!¡!¡!¡!¡!
My wife was complain8ng of this recently. I went through and saved all her pictures to her laptop. Cleared caches and moved apps to sd when I could but that did not help. Then I checked her download folder and found it full of videos from perez hilton .com. lol
This made the phone show that it was almost empty.
My question is why does usb storage show 1.40gb of total space with 9gb of space filled with misc.? Why does the blaze seem to handle its memory so much different than the other galaxy s phones?
Does rooting fix this strange memory setup?
Thanks guys.
(Update)
Took one photo to make sure they were being saved to the external sdcard (16gb) and now the phone says that storage is full again. When I check in settings it shows 1.20gb of pictures when there is only one photo (not sure how big but i know it is not 1gb) and it is not even stored on the phones memory? Instagram will also moy work because it says there is no storage to even take a photo.
Sent from my SGH-T889 using xda premium
in one phrase VOLDSTAB / JB SWAP
if your runnings stock ICS and or ICS ROM search for VOLDSWAP.zip and or if your running JB ROMS or you have a phone that runs JB truly with out having to rom if you on ICS flash through CWM if you don't know what that is dont waste your time if you do by all means you know what must be DONE!!! lol if you dont then google the phrase CLOCKWORK MOD RECOVERY ( then your phone type ie Samsung Galaxy S Blaze 4g ) if your using JB and ROOTED ( YES BOTH OF THESE TAKE ROOT in order to be accomplushed ) if your on JB go into /system/etc/vold.fstab open with either Script Manager and or prefered editor of text choice and take the ( 0 ) on internal SD line ( ie dev mount blah blah sdcard0 change that to a
( 1 ) and then on external SD ie blah blah sdcard1 change the ( 1 ) to a ( 0 ) and reboot on the ICS just flash the voldswap.zip on the xda forum ( you will find it in the general section of the samsung blaze under thread title Internal / External Memory and go to page 2 give thanks to the dev who did that then procedd to download and then flash through CWM no need to wipe format etc blah blah but i take no cred for mentioned / said items and i damn sure dont take liability for burnt phones busted screens and just plain stupidity and also google is your FRIEND in hence of rooting rom's etc etc have a wonderful day
soldier1184 said:
if your runnings stock ICS and or ICS ROM search for VOLDSWAP.zip and or if your running JB ROMS or you have a phone that runs JB truly with out having to rom if you on ICS flash through CWM if you don't know what that is dont waste your time if you do by all means you know what must be DONE!!! lol if you dont then google the phrase CLOCKWORK MOD RECOVERY ( then your phone type ie Samsung Galaxy S Blaze 4g ) if your using JB and ROOTED ( YES BOTH OF THESE TAKE ROOT in order to be accomplushed ) if your on JB go into /system/etc/vold.fstab open with either Script Manager and or prefered editor of text choice and take the ( 0 ) on internal SD line ( ie dev mount blah blah sdcard0 change that to a
( 1 ) and then on external SD ie blah blah sdcard1 change the ( 1 ) to a ( 0 ) and reboot on the ICS just flash the voldswap.zip on the xda forum ( you will find it in the general section of the samsung blaze under thread title Internal / External Memory and go to page 2 give thanks to the dev who did that then procedd to download and then flash through CWM no need to wipe format etc blah blah but i take no cred for mentioned / said items and i damn sure dont take liability for burnt phones busted screens and just plain stupidity and also google is your FRIEND in hence of rooting rom's etc etc have a wonderful day
Click to expand...
Click to collapse
For clarity's sake, what is this going to accomplish? I'm running cm10 and can usually manage to keep the blazes memory problems under control just by keeping everything in cloud storage, but if there's another option, I'd be interested in trying it out.
Sent from my SAMSUNG-SGH-T769 using xda app-developers app
Wow, so after translating what you said back to english I need root for that option and what it does is swsp the external sd for the internal by flashing a zip or editing the fstab file.
I will have to convince my wife of that one. She does not let me root her devices. She needs them to work 100% of the time for work and she saw what I went through with the s2 trying to get JB to run early on.
I will do some more research on this.
Is this something that only happens to some blazes or do all of them have storage issues? My wife was hoping a factory wipe might fix it.
Sent from my SGH-T889 using xda premium
limpysmalls said:
Wow, so after translating what you said back to english I need root for that option and what it does is swsp the external sd for the internal by flashing a zip or editing the fstab file.
I will have to convince my wife of that one. She does not let me root her devices. She needs them to work 100% of the time for work and she saw what I went through with the s2 trying to get JB to run early on.
I will do some more research on this.
Is this something that only happens to some blazes or do all of them have storage issues? My wife was hoping a factory wipe might fix it.
Sent from my SGH-T889 using xda premium
Click to expand...
Click to collapse
to answer your ? on what it does the blaze stock comes with 4 gigs of memory 2 gigs used by system leaving about 1.12 for device mem and 1.40 for internal mem with the vold.fstab swap ( voldswap.zip ) or the number swap of JB ( ie INT SDCARD 0 change to 1 and EXT SDCARD 1 change to 0 what that does is for example instead of 1.40 gigs of internal space in my personal blaze i have 32 GIGS of space instead of crappy 1.4 works the same on JB ROMS but also if you choose to add files either connect USB into USB CONNECTION or POWER DOWN phone to be on the safe side power down the phone pull the sdcard from the micro sd slot and put into adapter on your PC ( i do this cause i transfer large files and on JB the MTP is a peice of **** and the USB CONNECTION sucks to it stops all of a sudden out of no were ) ( on ICS stock/custom that's not an issue ) but that's what the swap does hope this helps for clarity and you can pick up a 32 GIG San Disk off EBAY fpr 16.98 plus S/H at like 3 bucks a pop and it works cause i have that same card off of ebay
soldier1184 said:
to answer your ? on what it does the blaze stock comes with 4 gigs of memory 2 gigs used by system leaving about 1.12 for device mem and 1.40 for internal mem with the vold.fstab swap ( voldswap.zip ) or the number swap of JB ( ie INT SDCARD 0 change to 1 and EXT SDCARD 1 change to 0 what that does is for example instead of 1.40 gigs of internal space in my personal blaze i have 32 GIGS of space instead of crappy 1.4 works the same on JB ROMS but also if you choose to add files either connect USB into USB CONNECTION or POWER DOWN phone to be on the safe side power down the phone pull the sdcard from the micro sd slot and put into adapter on your PC ( i do this cause i transfer large files and on JB the MTP is a peice of **** and the USB CONNECTION sucks to it stops all of a sudden out of no were ) ( on ICS stock/custom that's not an issue ) but that's what the swap does hope this helps for clarity and you can pick up a 32 GIG San Disk off EBAY fpr 16.98 plus S/H at like 3 bucks a pop and it works cause i have that same card off of ebay
Click to expand...
Click to collapse
That is awesome three hours of reading this that and the other thing all over the internet and it comes down to swapping two numbers in a file, sheash in an idiot.
The reason I wanted to do this is I have an app that downloads two to five GB of map files and the app just cried when I tried to install it on this phone.
Thank You.
Just an FYI, even though I am using a JBCamera app to store actual photos on my external 32gb uSD card, my internal 1.4gb SDcard was still getting full frequently. Discovered the Quickpic App, creates a large almost 1gb thumbnail file on the internal SDcard. There is an option to turn it off to make this go away in Quickpic.

Upgrading micro SD card to another larger one breaks apps [SOLVED]

I have swapped my older microSD card (64GB) for a larger newer one (256GB), both are formatted as external SD with the exFAT file system (so it can be read with a computer using a microSD card reader for faster and easier file transfers).
The swap initially appeared to be a success, with photos and videos taken with the Samsung stock camera app able to be stored on the new external card. A third party video recorder also worked the same on the new card as it did on the old one (able to select a specific folder and saves properly). Playing back and accessing content from the new card worked fine in a variety of applications (accessing file types: various videos, audio mp3 and FLACs, .PDF, .doc, .epub, .cbz, etc.)
Unfortunately some apps will simply not work, while others which needed to have save locations redirected returned surprising effects.
Titanium Backup v8.1.0 simply does not launch with the new card (returns error Unfortunately, Titanium Backup has stopped.) I have tried first clearing cache and then even uninstalling/re-installing the app - no dice. I swap back to the old card and all works fine. This is the failure that smarts the most as it breaks my phone's app backup plan.
Zedge v5.70.3 app launches and seems to work until I go to install anything to the phone (ringtone, notification sound or wallpaper), then I get a Download failed error and the chosen item is not added. There is no way to swap the download location for the new card. Again I have cleared cache, un-inistalled and re-installed without success. I have sent them a support ticket.
Call Recorder Pro v 1.9 (Tohsoft) required me to change the ''Location of recording'' folder to SD card (no choice of which folder) and this selection resulted in a totally different and complex directory structure used on the new card:
Code:
/storage/emulated/0/Android/data/com.tohsoft.call.autocallrecorder.pro/files/CallRecorders
while on the old card I was able to use a more sensibly located folder in the root of the microSD card as follows:
Code:
/storage/6958-0839/CallRecorders
As the app works and the files can be retrieved this is not a deal breaker, but it is an added hassle now to locate the recordings!
I checked both cards using ES File Explorer and in the folder
Code:
/storage
they each show up as different folder names
old card: 6958-0839
new card: 0102-1A79
A bit of poking around searching online and I determined these were the unique volume IDs and not the volume names. Apparently these can be changed on a PC but I am unsure if this would have other implications. I also looked around for symlinking (which I use on my PCs to map my NAS shares), to see if a virtual link could be made to fool the operating system into thinking the cards were the same one. There was some info about this but I am not sure where I would put the symlink if the file system allows me to create it (on FAT file systems such as the microSD card's one this is a no no apparently, but I do not know the file system of internal memory where the link to the external SD would need to be - I wonder, is it using one of the Linux Ext file systems that support symlinks?)
I was guessing that a symlink for the new card named 6958-0839 (to look like my first working microSD card) should be placed in the following folder (after selecting Device in ES File Explorer):
Code:
/mnt/media_rw/
My handset is a Samsung Galaxy Note 4 N910U Android 6.0.1 stock rooted
I have tried searching here about this issue without success. Apologies if I am asking something that has already been answered - please direct me accordingly in this case.
Any assistance will be greatly appreciated.
Ok so I have solved it I think (TitaniumBackup launches ok again).
I changed the exFAT Volume Serial Number on the new card to be the same as the old one.
I ended up using Krylack Volume Serial Number Editor. I tried first using SysInternals VolumeID v2.1 and I was able to run the command but I was receiving an "Unrecognised Drive Type" error and the documentation says NTFS and FAT support (no mention of exFAT so maybe the tool is too old).
After applying the fix mentioned above I noticed that I am also running an app called XInternalSD with "Custom path to internal SD" ticked and the path set to
Code:
/storage/6958-0839/
I have not tried, since everything works for me now on the new card that I edited the VSN on, but I assume that if I had changed the numbers in the path field in the XInternalSD app to the new VSN that would have worked also...

Categories

Resources