Ringtones/Notifications sounds in internal memory not SDCard? - G1 Q&A, Help & Troubleshooting

I searched but couldn't find any info about this - I'm guessing because it wouldn't make any difference, but figured I'd throw it out there. I'm wondering why it wouldn't improve G1 performance if the frequently used sounds (phone, notifications, alarms, etc) were in internal memory (/system/media/audio...etc) rather than on our SD cards?
Wouldn't that make things faster and/or more reliable?
I asked this as i noticed when my phone was connected to my PC and the SD card was mounted for PC access that I couldn't change ringtones since they were on the card and the G1 wasn't using it my PC was.
Does this make sense? Wouldn't this help in some way? I suppose this thinking comes from years of WinMo use where frequently used apps or sounds were usually put in main memory as card access can be unreliable and or slower.
Sorry if this is a noob question or has been asked, I searched but found nothing.
-JS

That's why I keep mine on my ext4 partition.
cd /system/sd
mkdir media
cd media
mkdir ui
mkdir notifications
mkdir alarms
mkdir ringtones
cp /sdcard/media/* /system/sd/media/

Related

SD Card issues/questions

Is that the limitations of the hardware? or is that the largest stable SDHC Micro card out so far?
I've run a search for Micro SDHC and while I have come up with links to items as high as 16 (or 12) I get a lot more hits for 8...
I hope its not a hardware limitation.
Also...they should've given the phone 1GB at least of internal storage....oh well.
the g1 support microSD™ memory card (SD 2.0 compatible)
and that mean that it could support 32gb
but the 16gb card was just released and there hasn't been much testing on it
it is just safer to say "up to 8gb"
but the g1 comes with a 1gb microsd card
http://www.t-mobile.com/shop/phones/detail.aspx?tp=tb1&device=d2c92ac2-bccf-4343-9f9e-d008d0ec10b9
Yeah it'll be up to 32GB after they're released
good that's what I thought...up to 8GB made no sense as a pure limit.
At launch, the G1 will in fact work with 'up to' 8gb microSD cards. This will change with the 1st firmware update, at which point higher capacity cards will work.
FYI -- an excellent source of Android, and G1, info are the forums at http://www.androidcommunity.com
Is it possible to install programs straight to the card
cause if not whats the point of an sd card
71mb will be eaten up really quick
Dirtay said:
cause if not whats the point of an sd card
71mb will be eaten up really quick
Click to expand...
Click to collapse
Nope, it's not possible
maybe?
http://androidcommunity.com/forums/f41/running-apps-from-memory-card-dont-panic-2895/
read...
can't read, banned (long story) what's the gist?
Pasted from the link above:
rogers said:
Default Running apps from memory card - Dont Panic!
Alright, there have been plenty of panic threads about applications only downloading to the phone. Stop it! Applications WILL be able to be installed to the SDcard! There have been rumors cited that Google will add that option to the OS, and even if they don't we are running on a linux kernel, and apparently can use a terminal. The fix would be simple.
=======================
The commands below are NOT TO BE RUN on your phone. I will not have my hands on the phone until Tuesday, if you feel like doing this before then you need to do some exploration first to figure out the proper directories to move over to the SDcard. This is just what you would do in any linux based system.
Say you find out the bulk of your apps are in:
/usr/local/apps/
So you have like
/usr/local/apps/breadcrumbz.apk
/usr/local/apps/opera.apk
/usr/local/apps/...
You would just open up the terminal (which I've heard alot about and am very excited about having linux shell access on my phone!) and enter...
~ $ mv /usr/local/apps /sdcard/
~ $ mount --bind /sdcard/apps /usr/local/apps
~ $ echo /sdcard/apps /usr/local/apps bind defaults 0 0 >> /etc/fstab
And BAM you just moved all your apps to the storage card and set it up so that whenever android accesses or writes to /usr/local/apps it's writing to the storage card. The power of linux haha.
This is NOTHING to be worried about.
Click to expand...
Click to collapse
punkzanyj said:
can't read, banned (long story) what's the gist?
Click to expand...
Click to collapse
How could you 'not read' posts there? You don't have to be registered to access the site, only to post.
Folder layout of the memory card
I fought this over and over until I formatted my storage card IN the phone, via the computer.
I wanted my music to show up in the music player but not my ringtones or alerts.
After doing some searching, this is what I found:
>Connect the usb cable to the phone, and switch the phone to usb storage
>The computer will find a removable storage device. Format it. (I did a quick format, fat32)
>when finished, make the following folders:
-music
-ringtones
-notifications
-alarms
From the tmobile online guide:
• ringtones - Music files copied to the “ringtones” folder will display in the phone (incoming call) ringtone menu.
• notifications - Music files copied to the “notifications” folder will display in the notifications ringtone menu.
• alarms - Music files copied to the “alarms” folder will display in the Alarm ringtone menu.
gospeed.racer said:
I fought this over and over until I formatted my storage card IN the phone, via the computer.
I wanted my music to show up in the music player but not my ringtones or alerts.
After doing some searching, this is what I found:
>Connect the usb cable to the phone, and switch the phone to usb storage
>The computer will find a removable storage device. Format it. (I did a quick format, fat32)
>when finished, make the following folders:
-music
-ringtones
-notifications
-alarms
From the tmobile online guide:
• ringtones - Music files copied to the “ringtones” folder will display in the phone (incoming call) ringtone menu.
• notifications - Music files copied to the “notifications” folder will display in the notifications ringtone menu.
• alarms - Music files copied to the “alarms” folder will display in the Alarm ringtone menu.
Click to expand...
Click to collapse
I created the folders you suggested and I'm still struggling with this. My ringtones still do not show up in the ringtone list. I have to go find the song in music and long press and set as default ring.
I was having that same problem before formatting, about half of the ringtones would not show up correctly. After I formatted the card and set up the new layout they all are showing up now. If set up this way, you should not even see the music thats in the ringtone folder unless you are setting a ringtone.
Connect the usb cable to the phone, and switch the phone to usb storage
Click to expand...
Click to collapse
How do you switch the phone to USB storage??
Mikey1022 said:
How do you switch the phone to USB storage??
Click to expand...
Click to collapse
menu - settings - SD card & phone storage -
Use for USB storage (check that box)
also note when you are in the storage mode and connected to a computer you will not be able to see or use the documents on the card, the phone wont see them
punkzanyj said:
can't read, banned (long story) what's the gist?
Click to expand...
Click to collapse
How do you get banned on that site?? lol *If you wanna explain do it in OM*
Maybe i should my eye on you then.
ok i am so confused right now the 1gb card that came with the phone was in my phone checked that usb stoarge thing formated my card and made those folders put ringtones in there noghting happend i puled my 2gb card from my wing and put it in my computer to remove things hat were on would not let me delete any thing had to put in my phone to delete dose that mean its formated to my phone
SD/USB/etc.
ok...
the folders work, use lowercase when making them.
for your computer to see the card you have to check the "USB storage button" do whatever you want to do (folders, copies, whatever)
UNCHECK the USB box for the phone to use the SD card...
it is a toggle we live with at the moment.
--M

Revert from Apps2SD with Apps intact?

Sorry if this has already been asked before, but searching through multiple pages of results using multiple search terms I was unable to find the answer that I was looking for.
Is there a way to revert from automatic Apps2SD with Cyanogen without losing my applications.
Would:
adb pull /system/sd/app app
adb pull /system/sd/app-private app-private
Before a full reformat of my SD card to a single partition work?
I'm looking to keep all of my data and settings if possible. If not, I'll probably just end up staying with Apps2SD.
cityeyes said:
Sorry if this has already been asked before, but searching through multiple pages of results using multiple search terms I was unable to find the answer that I was looking for.
Is there a way to revert from automatic Apps2SD with Cyanogen without losing my applications.
Would:
adb pull /system/sd/app app
adb pull /system/sd/app-private app-private
Before a full reformat of my SD card to a single partition work?
I'm looking to keep all of my data and settings if possible. If not, I'll probably just end up staying with Apps2SD.
Click to expand...
Click to collapse
make sure you also pull /data/data since thats what holds all the data and settings
in app and app-private are the actual apks
an adb pull of the app, app-private, and data/data folders should be all you need after you finish reformatting your card
you can just use a program like appmanager pro to back them up and then use backup for root users to copy the app data, then transfer them to your computer, wipe your sdcard to a single partion than reflash your rom so it drops apps2sd then transfer apps back to fresh format sdcard, install apps then use backup for root users
Your pull commands will be successful in backing up your apps to your computer, however, you will have to reinstall them one by one using Linda File Manager, or similar program to have access to the package installer feature. I would say use something Backup for root users or Atrackdog which allows you to bulk reinstall. If you have a lot of apps, reverting back to using the phone's internal memory is obviously gonna force you to pick and choose which apps you want to keep.
Ahh. Thanks for the clarification. I might just stick with Apps2SD instead of going through all of that. I thought that maybe there was a way to push the applications to the internal memory of the card in order to completely skip the whole "reinstallation phase". If I do end up doing it, I might go with the batch reinstall process.
I'm not having many problems with apps2sd, I just figured the small benefits that I'm getting don't outweigh the fact that my SD card is getting taxed in the process.
Thanks for all of the helpful responses!
sd cards are cheap, by the time you burn that card out, bigger and better ones will be cheap too
I'm shocked with all the helpfull info grid is putting out.
gridlock32404 said:
sd cards are cheap, by the time you burn that card out, bigger and better ones will be cheap too
Click to expand...
Click to collapse
Yeah that's true. I just had no scale as to how fast the cards burn out. Some people are saying they last years, some say they last only a few months.
I guess with the majority they last at least a year, which is absolutely fine by me. Thanks for all of the help!
i have had the same sdcard for over 2 years with no signs of damage or corupting
and once again preme, screw you

[Q] How to make Winamp wifi sync store songs in external_sd

Since they made the application a final release today I started playing with it... overall it works great but the only thing that kinda bothers me is the fact that I presume since not all of the phones out there have /sdcard and /sdcard/external_sd it just puts the songs in a folder called /sdcard/music.
But since I flash my phone with every single new ROM there is out there, I prefer storing my music in my external sd card so I was thinking maybe a workaround for this would be to create a symlink inside my sdcard that would redirect it to /sdcard/external_sd/music.
I'm not very experienced with this and of course the best solution would be if Winamp would create a parameter to set the destination of the songs but since I don't think that's gonna happen any time soon. What do you guys think about my idea?
Edit: I tried creating the symlink via adb but I'm not able to because of file permissions any other ideas...
I tried executing this command
ln -s /sdcard/external_sd/Music /sdcard/music
I have a vibrant and I'm wondering the same thing.

[Q] Nook wont read mSD card written by camera

I taking a trip abroad soon and trying to avoid taking a laptop.
I want to use my Nook (1.1 rooted) to send emails with pics I take.
If I put the microSD card from the camera directly in the Nook, it says it needs to be formatted.
If I format with the Nook (or the camera as it turns out - both use FAT32), I can put it back in the camera and take pictures, but when I put it back in the Nook it once again says it needs to be formatted.
If I put the microSD card in a card reader and rename a directory, rename it back, then eject and 'safely remove hardware', it works when I put the microSD card into the Nook.
This seems to indicate that the camera is not properly unmounting the file system or not closing a file handle or something (not too surprising - cameras need to be able to write quickly, so probably take shortcuts). By touching the file system in Windows and ejecting properly, it fixes the problem.
Details:
Camera is a Panasonic Lumix DMC-FX75
I do turn the camera off completely before removing the microSD card
Directory touched is "E:\PRIVATE\AVCHD\BDMV\STREAM" (I rename to STREAMx then back to STREAM before ejecting).
Popping the card into my cell phone (Samsung Behold I) and renaming the dir does not work -- I'm assuming the cell phone has the same shortcuts as the camera or something. Or maybe my assumption is wrong.
Obviously I don't want to haul around a windows computer just to 'fix' the file system on the card, that would defeat the purpose.
Is there a solution?
A tweak to the Nook system files to change it's mount arguments?
An Android app that can fix the SD card so it will mount?
A terminal command I can run on the nook via the Android Terminal Emulator app?
I commend you on your question asking ability sir.
You are a Scholar and A Gentleman.
A rarity of sorts in this fine community.
Apologies for not having a clue about your dilemma. I just wanted to point out the dying art of a well thought out question.
Hell, I`ll even assume you used the search function....Outstanding!! :yay:
Good luck on your lil adventure
Thanks TainT, but actually the search function wasn't operating when I posted
Has anyone been able to use a camera card with pictures in their nook though, to view (on the great screen) or send images?
Or anyone have any details about what a camera might be doing to improperly close the file system or whatever?
"fsck" info on the web says:
"Unix, any Unix, will refuse to mount a filesystem that was not unmounted cleanly."
This seems to be what I'm dealing with here -- the camera does not cleanly unmount the camera card's filesystem, and the nook's Android refuses to mount it. Putting the card in Windows, touching the FS, and ejecting properly 'fixes' the filesystem.
Running fsck type operations is pretty unfamiliar territory for me, but I have found that the nook has a /system/bin/fsck_msdos command that seems like it should help. So I formatted again and found that the sd card is mounted from /dev/block//vold/179:17. I then took some pics, got the problem scenario again, then used the terminal emulator app on the nook:
#cd /system/bin
#./fsck_msdos /dev/block//vold/179:17
** /dev/block//vold/178:17
Attempting to allocate 1924 KB for FAT
Attempting to allocate 1924 KB for FAT
** Phase 2 - Check Cluster Chains
** Phase 3 - Checking Directories
** Phase 4 - Checking for Lost Files
Free space in FSInfo block (-1) not correct (492336)
Fix? [yn] y
[1] + Stoped (signal) ./fsck_msdos /dev/block//vold/179:17
#
[1] Segmentation fault ./fsck_msdos /dev/block//vold/179:17
It appears that it doesn't actually work. I also tried "-p" which is supposed to automatically fix simple errors rather than being interactive -- it failed with a seg fault as well.
I think in theory this should be how one would fix the problem, it's just not working - could be a bug in the system?
If anyone reading this has CM7 or a rooted 1.2 nook, this could be fixed with a later version of the OS than I have. If anyone can try recreating, I'd appreciate it.
At last, as I'm learning more I am also learning what search terms to use!
Googling "android fsck_msdos segfault" provides this post:
http://www.mobileread.com/forums/showthread.php?t=137919
quote:
Turns out that the Nikon camera mangles the FAT32 file system so that fsck_msdos dies upon trying to repair it (this is not a Pocket Edge issue, but a wholesale Linux issue. It seems fsck_msdos is in a very shoddy state).
Well, I found out that as long as I format my SD card in FAT16 instead of FAT32, PE can read it just fine. Limits the card size to 4GB which is about 800 pics on my camera, but that I can deal with.
Click to expand...
Click to collapse
I am now pretty certain this is what's going on in this case. I'm still searching, but if anyone knows of a possible fix I'm all ears.
I'm so far unable to use the 'force' option to mount, such as
#mount -t vfat -o force /dev/block//vold/179:17 /sdcard
mount: invalid argument
The 'mount' command in this version of Android (perhaps all versions of android?) appears to reject the force option.
fsck_msdos and mount (with default options) both segfault with the sdcard written to by the camera. The only possibility I see to get this to work is to get a fixed fsck_msdos or mount executable. This might happen with an upgrade to a newer operating system, e.g. CM7 or B&N 1.2 update, but I'm not willing to replace everything I have working this close to my travel dates (I have the nook set up with maps, apps, translation notes, etc).
Could I get the fsck_msdos binary from CM7 or even some Honeycomb distribution and paste it into my system as "fsck_msdos_future" and have a hope that it might work?

[Q] How to set the primary sdcard folder

Is there a way to switch the sdcard / sdcard-ext folder names to make the external sdcard the primary one? Or is there any other way to set the primary sdcard?
Thanks!
I was disappointed to see the phone force you to use sdcard and then renamed my microsd card to sdcard-ext. It made it quite a bit of a hassle to restore programs or use the backup features of other apps.
I know its been done on some tablets running 2.3 (My old Viewsonic G Tab). On those you had to edit the vold.fstab to mount them the way you want.
I'd love to do this too. I made a lot of songs available offline in Spotify, synced some mp3s etc and it all ended up on the internal "sdcard", not my 32gb class 10 Patriot MicroSDHC (which works perfect with the D3).
The same goes for most apps.
If someone has experience doing that please tell us how to do, I'm not too experienced in such Linux filesystem things. THANKS!
+1 this is very annoying.
Sent from my DROID3 using xda premium
/etc/vold.fstab seems to be the right place to change it, like mentioned above. However I think the risks are little, I wouldn't be the first who tries out ... at least not before an SBF is available.
And I cannot fully assess what it means for future updates, if and how it has to be undone then. I'd rather recommend to live with this naming.
Thanks for explaining that und danke.
I'm more curious to see if we can remove the space allocated to "sdcard" and merge it back with the internal program storage, then when I drop my actual sd-card in, it mounts as "sdcard".
Possible? Or is that a rom only thing.
Does this link help?
Partitions for the x2
I'm afraid I'm not experienced enough to dare to try it ^^

Categories

Resources