Related
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
Hi,
I need help updating the fonts on my rooted Incredible. The way I understand it, all that needs to be done is to replace the font(s) in /system/fonts with something else. Easier said than done...
I opened an SU shell via "adb shell", and then tried to remount the /system in "rw" mode, I also updated the permissions for the font files so that I can override them. So good so far...
But when I try to copy or replace the files, I run into all kinds of problems:
* First of all, the rooted phone doesn't have "cp" so I can't do the usual copy operations like a regular *nix machine (did I miss something during the root process).
* Then I saw examples of using the "cat" command to replace the old files, but that resulted in "write: No space left on device" error, which I think has to do with how the memory image is loaded/packed??
* Then I saw examples of using the "dd" command, to copy the new files over the old files. This went further, since I can see the new timestamp when using "ls -l /system/fonts". However, when I reboot the phone, the old fonts show back again.
* I also saw an example in another thread titled "Hebrew support" in this forum (sorry, don't know how to cross-post URLs), but I didn't know how to follow the instructions there.
I would really appreciate it if someone can help me out.
- how can I update the system image? (do I really need a signed ZIP file?)
- is it too late for me to add "cp" to my rooted phone?
- the 10 minutes rooting video had us copy the "busybox" file to the sdcard, but it didn't say what to do with it. can I use it as a replacement for "cp"? (do I have to go back to "adb recovery"?)
You can only modify /system while in clockwork recovery after you're rooted and have run the unrevoked recovery flash tool
Yea, you have to push them to the phone in clockwork recovery.
you can put them in your tools folder where adb is located or put them on your SDcard and push them from there.
I attached the fonts I used. I used these on my Moto Droid I used to have and now they are on my dInc. This font is not as bold as the stock font and a little smaller. This font i believe is the "Droid" font. It looks pretty nice, see my screenshot and look under icons and at the clock and then compare to your phone.
Here is the commands you would do at command prompt, not from ADB shell.
For these commands to work, you have to place the fonts in your tools folder where ADB is.
Code:
adb push Clockopia.ttf /system/fonts/
adb push DroidSans.ttf /system/fonts/
adb push DroidSans-Bold.ttf /system/fonts/
adb push DroidSansFallback.ttf /system/fonts/
adb push DroidSansMono.ttf /system/fonts/
adb push DroidSerif-Bold.ttf /system/fonts/
adb push DroidSerif-BoldItalic.ttf /system/fonts/
adb push DroidSerif-Italic.ttf /system/fonts/
adb push DroidSerif-Regular.ttf /system/fonts/
you might be able to try this command
adb push *.ttf /system/fonts/
Im not sure if that would work or not, maybe someone else could confirm.
Thank a lot for the reply...
So is this the correct thread that I should follow now: "Unrevoked team: Recovery reflash tool (updated!)" to install the "clockwork recovery"? I am assuming this will allow the phone to start recovery with adbd running, so that I can connect to it from my PC while in recovery. Correct?
It took me forever to get the adbd running in recovery as part of rooting my phone, and I am not sure that I can replicate these steps again (at least not easily). I was this close to copying the font files while in "adb recovery" mode, but then I chickened out, because I didn't want to risk the rooting process by doing something that doesn't match the root instructions.
yes, as long as you have actually gained root and have the superuser/busybox properly installed. just follow that thread and you'll have new fonts in no time, and I can assure you that it will work because I changed mine too.
If using clockword recovery, dont forget to mount system.
Put them all in a folder named fonts. Put the folder in tools. Boot into recovery, mount system. Then: adb push fonts /system/fonts. Unmount system then reboot.
Sent from my ADR6300 using XDA App
TNS201 said:
Yea, you have to push them to the phone in clockwork recovery.
you can put them in your tools folder where adb is located or put them on your SDcard and push them from there.
I attached the fonts I used. I used these on my Moto Droid I used to have and now they are on my dInc. This font is not as bold as the stock font and a little smaller. This font i believe is the "Droid" font. It looks pretty nice, see my screenshot and look under icons and at the clock and then compare to your phone.
Here is the commands you would do at command prompt, not from ADB shell.
For these commands to work, you have to place the fonts in your tools folder where ADB is.
Code:
adb push Clockopia.ttf /system/fonts/
adb push DroidSans.ttf /system/fonts/
adb push DroidSans-Bold.ttf /system/fonts/
adb push DroidSansFallback.ttf /system/fonts/
adb push DroidSansMono.ttf /system/fonts/
adb push DroidSerif-Bold.ttf /system/fonts/
adb push DroidSerif-BoldItalic.ttf /system/fonts/
adb push DroidSerif-Italic.ttf /system/fonts/
adb push DroidSerif-Regular.ttf /system/fonts/
you might be able to try this command
adb push *.ttf /system/fonts/
Im not sure if that would work or not, maybe someone else could confirm.
Click to expand...
Click to collapse
Where can I get/download these font files?
EDIT im a retard and didnt see the .zip sorry
so where can i go to download other font types?
Perhaps this is an obvious questions to some... Can I use any TTF font? I have a font I created that is my own handwriting. This would be pretty cool to have available in my Phone... It is a standard TTF font.
Possible? I tried to search but didn't see anything specifically mentioned if a font has to be a specific type or if I can use anything.
Thanks!
compnird said:
Perhaps this is an obvious questions to some... Can I use any TTF font? I have a font I created that is my own handwriting. This would be pretty cool to have available in my Phone... It is a standard TTF font.
Possible? I tried to search but didn't see anything specifically mentioned if a font has to be a specific type or if I can use anything.
Thanks!
Click to expand...
Click to collapse
it should work fine, you just need to rename the file to DroidSans.ttf and DroidSans-Bold.ttf and replace the ones that are in /system/fonts
Thanks for the help seanhassars and TNS201: I am using the ClockworksMod recovery, and I was able to update the fonts (using the "update from ZIP" option).
I can see Arabic letters, but unfortunately, they don't look correct (they are disjoined, when they actually should be connected together). Now I am looking around for patched libwebcore.so to fix this issue, and thanks to nandroid backup, I can experiment with changing the libraries as much as I can.
shamidude can you please let me know which fonts you used? I am desperately needing to install arabic on my phone and could use the help. If possible could you upload the proper ones? Also which libwebcore.so did you use?
I tried to install Arabic fonts from another website but my phone froze on the splash screen and wouldn't boot. Please let me know what works for you, especially if you get the reshaper working.
edit- also if you could post general instructions of what you did to push the fonts onto the phone, how you mounted/dismounted, etc would be good
I don't think that was supposed to be an update.zip he just zipped the fonts he's using for easier access, you still have to push them manually.
OK, I know how to use ADB to reboot and get into download mode on my phone, but I have a kind of emergency. I was attempting to replace a framework-res.apk file on my phone to change the battery icon, and now I am stuck FCing all over the place. So much that I can't put my backed up framework-res.apk file back in /system/framework via Root Explorer like I normally do.
I am connected to my phone, can list directories, but cannot seem to push the framework-res.apk file.
Can someone give me a step by step on how to do this and soon please...
EDIT: I think I got it. I needed to be in Recovery Mode, and then it seemed to copy fine.
While I do have someone's attention (hopefully), how do you change directories if the directory you want to change to is two names, IE 'Battery Mod'?
Demented71 said:
OK, I know how to use ADB to reboot and get into download mode on my phone, but I have a kind of emergency. I was attempting to replace a framework-res.apk file on my phone to change the battery icon, and now I am stuck FCing all over the place. So much that I can't put my backed up framework-res.apk file back in /system/framework via Root Explorer like I normally do.
I am connected to my phone, can list directories, but cannot seem to push the framework-res.apk file.
Can someone give me a step by step on how to do this and soon please...
Click to expand...
Click to collapse
Is your backed up framework on your sdcard? You could try adb shell.
from pc,
adb shell
su
cp XXXX/framework-res.apk system/framework <<<may need to use busybox cp
exit
exit
adb reboot
bobbylx said:
Is your backed up framework on your sdcard? You could try adb shell.
from pc,
adb shell
su
cp XXXX/framework-res.apk system/framework <<<may need to use busybox cp
exit
exit
adb reboot
Click to expand...
Click to collapse
My backed up framework file was on my PC. The first one I was trying to get to was on my phone, in a folder called Battery Mod, which I could not get into because ADB kept saying wrong substitution or something?
Either way, I was able to get it done, so I learned something new again.
EDIT: I think I got it. I needed to be in Recovery Mode, and then it seemed to copy fine.
While I do have someone's attention (hopefully), how do you change directories if the directory you want to change to is two names, IE 'Battery Mod'?
Click to expand...
Click to collapse
That makes sense, it may not let you Push to the file system while it's in use.
As for 2 names, do you mean from a windows command box or in the android command line. Windows you just type it as is. Linux is a little more picky, I usually try to remove spaces from directory names so I don't run into any problems with that. In linux a backslash works, ie, cd /sdcard/Battery\ Mod
Not sure if it will work on our phones.
So, I've rooted my captivate and have installed build 32 of aokp.
I'm trying to install a custom boot animation. However i cannot access /system/media from my computer and when i try to copy and paste the .zip from the sdcard, file manager won't let me. /data/local does not exist.
I should mention i'm running blue infinium.
Any help? I'm pretty sure i'm being stupid but i've tried everything i can think of and read a bunch of threads.
Thanks in advance,
JSP
jsb_front said:
So, I've rooted my captivate and have installed build 32 of aokp.
I'm trying to install a custom boot animation. However i cannot access /system/media from my computer and when i try to copy and paste the .zip from the sdcard, file manager won't let me. /data/local does not exist.
I should mention i'm running blue infinium.
Any help? I'm pretty sure i'm being stupid but i've tried everything i can think of and read a bunch of threads.
Thanks in advance,
JSP
Click to expand...
Click to collapse
Unless I'm mistaken, you actually want to put your boot animation in /system/media.
And if you have ADB installed, you can just reboot to recovery, hook up the USB cable, put your bootanimation.zip into the /platform-tools folder where ADB resides, and issue this command:
adb push bootanimation.zip /system/media/bootanimation.zip
If you don't have ADB, you'll need to get a root-level file manager (ES File Explorer, Root Explorer, etc) to move the file.
Noob mode activated:
I'm assuming ADB is an app, and the code i'm supposed to enter is entered on the phone through a terminal program?
Otherwise thanks, makes sense. Anyway to access /system files through windows explorer?
Thanks again
*EDIT* Also, thats what i've been trying to do with the file manager. But when the file is selected/cut/copied, i cannot access the root files. I have tried several different root file systems.
jsb_front said:
Noob mode activated:
I'm assuming ADB is an app, and the code i'm supposed to enter is entered on the phone through a terminal program?
Otherwise thanks, makes sense. Anyway to access /system files through windows explorer?
Thanks again
Click to expand...
Click to collapse
ADB is on the computer, you run it in terminal or command prompt. There isn't a way to access /system through windows explorer
Sent from my CM9 ICS i897 Captivate
korockinout13 said:
ADB is on the computer, you run it in terminal or command prompt. There isn't a way to access /system through windows explorer
Sent from my CM9 ICS i897 Captivate
Click to expand...
Click to collapse
Alright, thank you. Also, does terminal=cmd? I understand terminal can be on the phone, but i always thought, on windows anyway, that terminal is synonymous with command prompt.
Thank you all for the help
jsb_front said:
Noob mode activated:
I'm assuming ADB is an app, and the code i'm supposed to enter is entered on the phone through a terminal program?
Otherwise thanks, makes sense. Anyway to access /system files through windows explorer?
Thanks again
*EDIT* Also, thats what i've been trying to do with the file manager. But when the file is selected/cut/copied, i cannot access the root files. I have tried several different root file systems.
Click to expand...
Click to collapse
ADB is Android Debug Bridge - it's part of the Android SDK that you have to download and install from Google. It's a pretty handy tool to have.
As korockinout13 pointed out, no dice with the Windows Explorer seeing the root files, and terminal does equal cmd/command prompt.
With the explorer app on your phone, you'll have to look around and find a setting that will tell Android to mount your /system folder as read-write. I believe in Root Explorer there's a button near the top that switches read-only and read-write.
Looked around on explorer and couldn't find the setting. Root explorer costs 4$ and I've tried a couple others. All giving me the read only memory error. I'll just have to wait till I get home to do it over adb. Thanks for all the help.
root access wont let you "see" your root folders when you mount your phone as SD card.
adb is one of many options.
copy to sdcard, then use a root level manager to move
wait!! there was this on the portal today.... Quick ADB Pusher.. adb file pusher GUI
http://www.xda-developers.com/android/push-files-to-your-device-with-quick-adb-pusher/
Got it to work with Ghost Commander. There's an option to remount files as ro/rw.
Works great. Thanks for your help!
That bootanimation is screwed up - it's not zip, files are stored. It took me a while to figure it out.
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.