Remove unwanted ringtones? - Nexus One Q&A, Help & Troubleshooting

Dear all experts...
how can i remove all the ringtones/alert/alarms files from
/system/media/audio/ringtones
/system/media/audio/alarms
/system/media/audio/notifications
and put in a list of my own choice selected from different ROMS...
chris
-------
cm5071

chris4chelsea said:
Dear all experts...
how can i remove all the ringtones/alert/alarms files from
/system/media/audio/ringtones
/system/media/audio/alarms
/system/media/audio/notifications
and put in a list of my own choice selected from different ROMS...
chris
-------
cm5071
Click to expand...
Click to collapse
you can put your own alerts, ringtones, etc by creating separate folders of the same names on the sd card (i.e. /sdcard/ringtones, /sdcard/alarms, /sdcard/notifications) and put whatever files you want in there.
to remove the others, you'd need root access, and depending on the read/write properties, you could shell in, may have to chmod the file properties, then do a rm command.
why bother? just put the sound files you want in folders on the sdcard and use them. much less fuss. just a longer list of files to look through for you to choose, but that's it.

timothydonohue said:
you can put your own alerts, ringtones, etc by creating separate folders of the same names on the sd card (i.e. /sdcard/ringtones, /sdcard/alarms, /sdcard/notifications) and put whatever files you want in there.
to remove the others, you'd need root access, and depending on the read/write properties, you could shell in, may have to chmod the file properties, then do a rm command.
why bother? just put the sound files you want in folders on the sdcard and use them. much less fuss. just a longer list of files to look through for you to choose, but that's it.
Click to expand...
Click to collapse
cool.. tks alot. u r rite, a very long list, thats y i m hoping to just have a list that i wanted. seems quite troublesome to rm those files... =)

Oppps, i need help. i have tried to put my alarms files on the SD card. i went into alarms and noticed newly added tones. i also noticed i have duplicated some tones. i deleted them but after that the tones are still visible under the alarm list. i tried to reboot my phone, but the duplicates are still there, how can i get rid of them... pls help
tks in advance...

problem solved... i see duplicate coz i also have another set of tones under another folder on the SD card...
android seems to be able to find all alarms/notifications/ringtones folder located anywhere on the SD

if you have and know how to use adb, you could try and do (from your sdk/tools folder)
adb remount
adb shell
then, at the # prompts
rm /system/media/alarms/*.*
do the same with the ringtones and notifications folders
that should shorten your list
although, if you ever want to use them again, you may want to start your experience with (before the adb remount command)
adb pull /system/media
that should lift the ringtones, notifications, and alarms folders and put backups in your tools folder

Related

Push mp3 folders to phone...?

I have been messing around with ADB and pushing and I was wondering if there is a way to push an entire folder over to the phone. I think I could figure it out, but if someone knows how to do this that would be awesome, I searched but everything came up as ADB for noobs or ADB for dummies and just showed basic ADB commands... anyone know the command for pushing mp3 to sd card... also, i dont have a Music folder on my sd card anymore... if i push directly to SD without the directory, will it be created?
Thanks in advance guys
There might be another way but I just plug a USB cable into the phone, drag down the USB icon in the notification area, press the mount button and then make a new folder called Music and put my mp3's into it.
But like I said, there's a lot of ways to skin a cat and this is only one.
If your looking for some automated way, through a batch file or script, well... that'd be useful too.
i have done that too. but time and time again when i do this, especially after i rooted my phone, it says unable to read sd card and i have to either wipe or re-format my card. i was hoping that ADB would help this from happening...
The command to copy is cp -a so you would navigate to whatever location that folder is in and type
cp -a xxxxxx /sdcard/xxxxxx
That should do it
borodin1 said:
The command to copy is cp -a so you would navigate to whatever location that folder is in and type
cp -a xxxxxx /sdcard/xxxxxx
That should do it
Click to expand...
Click to collapse
Nah, that command is for copying a folder from one location on the phone to another. With adb you need to place the folder of music (we'll call that folder Music in this demo) in the same folder as your adb.exe. Then press start and run cmd, then:
cd location of adb
adb push Music /sdcard/Music/
exit
That will push everything within your Music folder to another folder on the sdcard called Music. Then you can just listen to your music through the Music application. Good luck.
h.nocturna said:
Nah, that command is for copying a folder from one location on the phone to another. With adb you need to place the folder of music (we'll call that folder Music in this demo) in the same folder as your adb.exe. Then press start and run cmd, then:
cd location of adb
adb push Music /sdcard/Music/
exit
That will push everything within your Music folder to another folder on the sdcard called Music. Then you can just listen to your music through the Music application. Good luck.
Click to expand...
Click to collapse
I'm ok with copying it. I am not sure if pushing something leaves a copy in original location, but then again, I just drag and drop files on my sdcard and if I need to do anything else with them I do it from shell.
Your way work though, may be even easier.
borodin1 said:
I'm ok with copying it. I am not sure if pushing something leaves a copy in original location, but then again, I just drag and drop files on my sdcard and if I need to do anything else with them I do it from shell.
Your way work though, may be even easier.
Click to expand...
Click to collapse
I thought that he wanted to know how to transfer files from the computer to the sdcard without mounting since mounting corrupted his sdcard...
h.nocturna said:
I thought that he wanted to know how to transfer files from the computer to the sdcard without mounting since mounting corrupted his sdcard...
Click to expand...
Click to collapse
You're correct.
adb push it is. Thank you for pointing this out.

Where does the browser download files to??

I've downloaded a couple .mp3's from a website that show up in the downloads folder within the browser (stock). They are available as ringtones in the system, but do not show up in the stock music app. I've use OI Filemanager to look in the logical locations but can't find them anywhere! I've also used terminal and ran:
#find / -name '*.mp3'
and all that shows up is the amazon app location...
Really noob-ish question, but I can't for the life of me find these files...
epicphotoeye said:
I've downloaded a couple .mp3's from a website that show up in the downloads folder within the browser (stock). They are available as ringtones in the system, but do not show up in the stock music app. I've use OI Filemanager to look in the logical locations but can't find them anywhere! I've also used terminal and ran:
#find / -name '*.mp3'
and all that shows up is the amazon app location...
Really noob-ish question, but I can't for the life of me find these files...
Click to expand...
Click to collapse
on mine they show up in a /sdcard/download hope this helps
So I've been told, but the only thing that shows up in there, both with terminal and mounted in windows, are pictures I've gotten via mms...
Is there anywhere else they could go? like ext2/3?
are you using a userinit.sh script with media2sd. if so then it could be on your ext2/3/4 (whichever applies to you) partition
No sir. I haven't quite figured out how to use that yet. I haven't really modded my phone in almost a year until a few days ago. Still reading up on those things.
well this may be out on a limb but you can check /system/media since you said they show as ringtones but not on your sdcard.
Not there either...
How about this, is there a way to edit the default download location to something I want?
epicphotoeye said:
I've downloaded a couple .mp3's from a website that show up in the downloads folder within the browser (stock). They are available as ringtones in the system, but do not show up in the stock music app. I've use OI Filemanager to look in the logical locations but can't find them anywhere! I've also used terminal and ran:
#find / -name '*.mp3'
and all that shows up is the amazon app location...
Really noob-ish question, but I can't for the life of me find these files...
Click to expand...
Click to collapse
well whenever i download mp3s from jamglue.com i find my downloads i nthe download folder on sd card
use astro file manager. better features.
but anyways... this is waht i do
1i find the mp3 download in sdcard>download
2. i rename the file and put .mp3 at the end. and click yes whenever i says iam changing file blahblahblah
jsut make sure whenever u rename the file to put .mp3 at the end. i am pretty sure this will work in OI tho
brian_v3ntura said:
well whenever i download mp3s from jamglue.com i find my downloads i nthe download folder on sd card
use astro file manager. better features.
but anyways... this is waht i do
1i find the mp3 download in sdcard>download
2. i rename the file and put .mp3 at the end. and click yes whenever i says iam changing file blahblahblah
jsut make sure whenever u rename the file to put .mp3 at the end. i am pretty sure this will work in OI tho
Click to expand...
Click to collapse
They are not in:
/system/media (or subs)
/system/sd
/sdcard
/sdcard/media (or subs)
/sdcard/download
they did not show up using:
#find -name 'wakeup.mp3'
or several variations of that.
when mounted on the pc, no search finds these files.
Not using compcache or a userint.sh
They will not show up in the music app, but can be used as ringtones/notifications.
What all did you use for args with find?
# find / -name \*.mp3
_or_
# busybox find / -name \*.mp3
or whatever the file/extension name might contain. I wouldn't use the actual name because I found a lot of downloads not called the file name, they were called things like download1.mp3 etc so try searching for the extension maybe. If find from / doesn't find anything I would be suspicious that it actually downloaded lol
epicphotoeye said:
They are not in:
/system/media (or subs)
/system/sd
/sdcard
/sdcard/media (or subs)
/sdcard/download
they did not show up using:
#find -name 'wakeup.mp3'
or several variations of that.
when mounted on the pc, no search finds these files.
Not using compcache or a userint.sh
They will not show up in the music app, but can be used as ringtones/notifications.
Click to expand...
Click to collapse
wellll... idk what to tell you but i suggest using jamglue.com to download your music.. you would have to make a free account first tho. jamglue is seems a lot simpler
Same issue on my girlfriend's G1. Her's has CM 4.2.5, and have tried downloading mp3 ringtones from myxer.com. They show up in ringtones, but cannot be located within the entire file system. I tried downloading a picture through the web browser and it ended up in the sdcard/download folder as expected.
Anybody figure out where mp3s are ending up??
In mine, they are in sdcard/Music. Take a look there. I believe that was a default folder on the original card.
Thought I checked just about everywhere including the folders mentioned above (and now below):
/system/media (or subs)
/system/sd
/sdcard
/sdcard/media (or subs)
/sdcard/download
/sdcard/Music
I will take another look later tonight and leave an update if I found them or not.
Pretty strange imo.
try taking a logcat and starting the download
Depending on the app, sometimes it will create its own folder on your as. Have you looked thoroughly for any new folders?
edit- sorry, dbl post
Just checked back all over the sd (now including the Music folder). Plugged the sd card into my pc and searched it and did not find the files we just downloaded. Can't find it anywhere on the phone's internal memory either.
Downloaded the Log Collector app, but it does not give the option to log the Browser app. Any other log apps that might allow this??
Any other ideas?
Thanks!
Just do adb logcat in cmd prompt
put the code that appears after downloading the mp3 in code tags or at pastebin.com

Can separate apps be moved between SD and system?

I was wondering something, and couldn't find it through search.
If I run into performance issues with certain apps, can I move just those apps back to the system, or would I have to move all of the apps from the SD back to the system?
johnequickiii said:
I was wondering something, and couldn't find it through search.
If I run into performance issues with certain apps, can I move just those apps back to the system, or would I have to move all of the apps from the SD back to the system?
Click to expand...
Click to collapse
The way a symlink works (apps2sd) you would have to move the whole application folder back.
If you are having performance issues, invest in a class 6 card. Which is supposedly faster than the internal storage.
ok Thanks for the info. ^^
Actually, that depends on what ROM you are running. With DarchDroid 2.6.2, I know for certain (cause I did it this morning) that you can choose where you want an app installed. You go into manage applications, click on the app you want to move, and scroll down a bit. You will come to a box that has info about how much memeory the app is taking up and were it is stored. There is also a button that says "move". Clicking takes the app from were it is (either internal storage, or sd storage) and moves it to the other. I don't know if any other roms have this option.
Is it possible to put an app into the main system app folder? Those apps aren't moved to the SD card.
centran said:
Is it possible to put an app into the main system app folder? Those apps aren't moved to the SD card.
Click to expand...
Click to collapse
Not sure if this answers your question exactly, but you can install apps into your /system/app folder by using adb.
Open a Windows command prompt, navigate to your android-sdk-windows/tools folder, then use the 'adb push' command:
Code:
adb push Filename.apk /system/app
chromiumleaf said:
Not sure if this answers your question exactly, but you can install apps into your /system/app folder by using adb.
Open a Windows command prompt, navigate to your android-sdk-windows/tools folder, then use the 'adb push' command:
Code:
adb push Filename.apk /system/app
Click to expand...
Click to collapse
Keep in mind when you do this, you will have to also uninstall it the same way.
/system/app/ is internal storage
/data/app/ is external storage
you can do a ls in the directory to see where it actually is
the move command would be
Code:
mv /system/app/<name of apk> /system/sd/app/<name of apk>
or
Code:
mv /system/app/<name of apk> /data/app/<name of apk>
as the symlinks should put it to /system/sd/app
nfinitefx45 said:
/system/app/ is internal storage
/data/app/ is external storage
you can do a ls in the directory to see where it actually is
the move command would be
Code:
mv /system/app/<name of apk> /system/sd/app/<name of apk>
or
Code:
mv /system/app/<name of apk> /data/app/<name of apk>
as the symlinks should put it to /system/sd/app
Click to expand...
Click to collapse
If I do that second move command, does that put it on my hard drive in the android-sdk-windows\tools\ folder? Or, does it put it on the sd card? Sorry, I'm a newb.
I want to copy my htclockscreen.apk file to the android-sdk-windows\tools\ folder on my C:\ drive so I can open it up and make changes to the png files that create the slide bar on the lock screen... see my post on creating a custom lock screen under Q & A. Newb restrictions won't let me post the link yet.
Thanks!
mbuchholz said:
If I do that second move command, does that put it on my hard drive in the android-sdk-windows\tools\ folder? Or, does it put it on the sd card? Sorry, I'm a newb.
I want to copy my htclockscreen.apk file to the android-sdk-windows\tools\ folder on my C:\ drive so I can open it up and make changes to the png files that create the slide bar on the lock screen... see my post on creating a custom lock screen under Q & A. Newb restrictions won't let me post the link yet.
Thanks!
Click to expand...
Click to collapse
the command you want is
Code:
adb pull /system/app/HtcLockScreen.apk
that will copy it out of /system/app and put it in your tools folder.
linux is case-sensitive and i don't know the exact capitalization.
thedudejdog said:
the command you want is
Code:
adb pull /system/app/HtcLockScreen.apk
that will copy it out of /system/app and put it in your tools folder.
linux is case-sensitive and i don't know the exact capitalization.
Click to expand...
Click to collapse
Awesome! Thank you for that.
Perhaps you could take a look at my other post and tell me how to replace the .pdf images with new ones and then load it back onto the phone?
mbuchholz said:
Awesome! Thank you for that.
Perhaps you could take a look at my other post and tell me how to replace the .pdf images with new ones and then load it back onto the phone?
Click to expand...
Click to collapse
haha...no sorry i don't know anything about signing apps. but i can pull and push stuff to and from my phone like nobody's business
lol - thanks anyway. Perhaps someone will see and be able to help me out. You at least got me started!
-mb

CM10 & Sense4 Ringtones and Notifications [Updated - Aug 02, 2012]

Update:
- Most of Android ringtones, notification & ui sounds and alarms - Post#7
- Adb commands in the third post.
- Initially you had to download each file individually within a folder, a slight oversight on my part. I compressed the folders so that an entire folder could be downloaded, saving on clicks. If anyone knows of a better way, please let me know.
One of the few things I miss from non sense Roms are the ringtones and notifications. I extracted both CM10 and Sense 4.0 Ringtones and Notifications from Jellytime and Virtuous Infinity (If I needed permission to do so, I do apologize and do feel free to contact me to make the necessary corrections).
I've uploaded it to DropBox since I don't expect too many downloads. If it does happen, let me know and I'll upload them to some file sharing site or another.
You will find a CM10 and Sense 4.0 Ringtones and Notifications folders merged in each respective folder. I went through each one keeping only the ones I liked.
Then you will also find the original CM10 and Sense 4.0 Ringtones and Notifications untouched.
There are also AospX Ringontes and Notifications which were not merged nor have I gone through them. I believe there are a few minor differences.
https://www.dropbox.com/sh/1wc63bxuaea82cy/-UlxSLNbQY
To add the files in the rom (if there is a better way to do this let me know):
- Download rom to Computer.
- Open the zip file.
- Go to system - media - audio.
You'll find the respective folders in there, just replace, modify, add, delete or whatever gets you up in the mornings. Then flash the rom.
In case I ever learn to make a flash-able zip.
Edit: I looked through a few tutorials to make a flashable zip. It seems doable.
adb remount
adb shell rm -r /system/media/audio/ringtones
adb shell mkdir /system/media/audio/ringtones
adb shell rm -r /system/media/audio/notifications
adb shell mkdir /system/media/audio/notifications
adb push C:\Android\android-sdk\platform-tools\ringtones /system/media/audio/ringtones
adb push C:\Android\android-sdk\platform-tools\notifications /system/media/audio/notifications
adb reboot
rm - r is to delete the folder
mkdir is to create a folder
The location of the files and folders will depend on your device and pc. However, on the the cell phone they are pretty much located in the same place.
You can either do it the way I described above, or try pushing the files directly without creating nor deleting any folders.
Thanks to Glevitan for his guidance.
Thanks but pls archive link
estremodesign said:
Thanks but pls archive link
Click to expand...
Click to collapse
I'm not sure what you mean by archive link, but I did compress the folders 72 views later.
Teichopsia said:
I'm not sure what you mean by archive link, but I did compress the folders 72 views later.
Click to expand...
Click to collapse
ok, now archive zip :good:
Most of Android ringtones, notification & ui sounds and alarms
http://forum.xda-developers.com/showthread.php?t=910180
Enjoy.
Am I allowed to bump my own thread?
There are instructions on how to make a flashable zip in my signature. Go to the second post and you'll be able to find a link,

Getting notification files deleted from gear

In pushing the notif .ogg files to the gear 2 neo, ive apparently put duplicates on it (one with an upper case first letter and another with a lower case first letter) which apparently has confused the gear as when i select either, neither work. All the others i put on it seem to have worked just fine, but the one duplicated file is borked. Ive done the Odin tar.md5 flash file to try to get it back to out-of-the-box, but it doesnt fully restore it. I am trying to remove the borked files, but i dont know the sdb commands to do so. Any help would be appreciated!!
nvm, its the same as adb commands *facepalm*
sdb shell rm -r /opt/share/settings/Alerts/<filename>.ogg
So the SDB commands to remove all the not working .ogg files worked, but when I put one specific file back on and select it for the notif tone, it says (null) as the selected notif tone. Other custom tones work fine and the file in question works on my computer also the file transfer process shows successful in the SDB terminal. Still at a loss about this one specific .ogg file I've even renamed the file to no avail
ok, so i fully realize that im talking to myself here, but im posting this stuff so if anyone else was wondering the same thing, they might get the answers they seek here. I have found that the way to see the files in a certain folder in the watch's OS is with another modified ADB command. The command is "adb shell ls /path/to/directory/with/notification/files" but with the method of connecting to the watch being SDB, it'd actually be "sdb shell ls /path/to/directory/with/notification/files" but of course replacing the "/path/to/directory/with/notification/files" with the actual directory path
well your thread helped me figure out how to delete mp3 files off my Gear S Alerts folder but I can't figure out how to delete a file with 2 words in it. I never put a dash so I can't figure out how to delete "AOL IM.mp3"...keeps seeing as two files and wont delete.
Any ideas?
EDIT: Of course I finally figured out after posting this. Just needed to put in ' xxxx ' quote.

Categories

Resources