[Tutorial] Change the internal ringtones of your rom - HTC Inspire 4G

After you have read and follow this tutorial, you will be able to do the following:
*Remove ringtones, alarms, and notification tones that you don't use
*Add your own ringtones, alarms, and notification tones that you WILL use
**This is not the same as downloading and using a ringtone from the internet, or wherever. Those methods allow the phone to play the file from your memory card. With this method, we are physically removing or adding directly in the ROM itself.
**Make a backup! I am NOT responsible for ANYTHING that YOU do.
YOU HAVE BEEN WARNED. Now, Let's proceed.
Alright... So you wanna do this, here is what you will need:
*ADB Installed and working
*Root Manager of some sort (I use Android Commander)
*Format Factory - This is freeware, so it's not warez.
Step 1. Download and install Format Factory. This is the program I use for everything. If you have one of your own preference, it can be substituted.
IMPORTANT: When installing Format Factory, choose CUSTOM install, and uncheck the toolbar boxes. Otherwise, you are gonna get toolbars installed. You have been warned.
Step 2. Open Format Factory and click "All to OGG", located under the "Audio" tab on the left. (OGG is universal from Android to Android. That's why this is the chosen option. Also, the sound quality is not noticeably different, and uses less space than an MP3)
Step 3. Now a new screen appears. Click "Add File", and navigate to your audio files that you want as ringtones, alarm, etc. Once selected, click "OK"
DO NOT CHANGE THE OGG SETTINGS. DEFAULT SETTINGS WORK FINE
Step 4. Now you should be back at your main window, as if you just started the program. You should now see your selected files listed in the right window of the program. On the top bar, click "Start."
**Once the conversion process is finished, you may close the program. By default, your saved files will go to documents/FFOutput
Step 5. Open your Root Explorer program, I use Android Commander
**In Android Commander, the left window is your PC, the right is your phone
Step 6. With your Root Explorer program, navigate to your newly created OGG files. Once you see them listed, select them. In Android commander, to select a file, you must put a check mark in the box associated with that file.
Step 7. Move these newly selected files to your phone, by clicking the "Copy" button above the left window in Android Commander. In the right window, you will want to make sure that you are within your "/system/media/***" folder, to insure these files are copied to the correct location.
Step 8. Reboot and test.
Please note: "***" represents the respective folders. i.e. "ringtones", "notifications", etc.
If you want to remove audio files that you do not use, just select them, and click "Delete" from within their respective folders, using Android Commander.
**Once they are deleted, if you have no backup, they are gone!
I hope this has helped some of you, who wish to do this. If it has, please click THANKS.
Constructive criticism is always welcome. any questions, just ask.

I would suggest backing up the first first...
adb pull /system/media media-backup
You could replace steps 5-8 with this if you know how to use adb.
From cmd prompt:
adb remount /system
adb push drive:\path\to\folder-with-oggs /system/media/(ringtones/alarms/ui)
adb reboot

Can I just ask what's the advantage of doing this versus using a tone off of your SD card? Seems like a lot of extra work.

designgears said:
I would suggest backing up the first first...
adb pull /system/media media-backup
You could replace steps 5-8 with this if you know how to use adb.
From cmd prompt:
adb remount /system
adb push drive:\path\to\folder-with-oggs /system/media/(ringtones/alarms/ui)
adb reboot
Click to expand...
Click to collapse
Got that in the OP, to backup your stuff first. ..And thanks for the command prompt commands. I'll give those a shot.
harlenm said:
Can I just ask what's the advantage of doing this versus using a tone off of your SD card? Seems like a lot of extra work.
Click to expand...
Click to collapse
The advantage to doing this is nothing more than getting rid of extra stuff on your phone. Once the files are converted, you can put them aside somewhere and always have them.
This is with the understanding that you already have these ringtones on your memory card... This is a way to get them off your memory card, and on your phone. This in turn keeps your memory card clean.
I personally like this, because the only stuff that is on my phone is what I use, and nothing more. Even programs I don't use, get stripped from whatever ROM I am using.
FUNCTION > FORM

Ty for ya time there TribalartGod.
Works well....AND i have been trying to find something like this android commander.
So double thanks to ya

tribalartgod said:
Got that in the OP, to backup your stuff first. ..And thanks for the command prompt commands. I'll give those a shot.
The advantage to doing this is nothing more than getting rid of extra stuff on your phone. Once the files are converted, you can put them aside somewhere and always have them.
This is with the understanding that you already have these ringtones on your memory card... This is a way to get them off your memory card, and on your phone. This in turn keeps your memory card clean.
I personally like this, because the only stuff that is on my phone is what I use, and nothing more. Even programs I don't use, get stripped from whatever ROM I am using.
FUNCTION > FORM
Click to expand...
Click to collapse
android reads your sd card for media just like it does on the system partition.
if you wanna keep your sdcard clean of ringtones/alarms/notifications files
just make a folder on your sd card called media then create the other folders to mimic android's system partition.
so it would be
media/audio/alarms
media/audio/notifications
media/audio/ringtones
that way the media scanner has to do less searching
and if you have small system partitions like older phones this really helps to strip them out the rom and put them on the sd card.

Thx for the info. Works great for my wife's Samsung infuse. I rooted it but for some reason it wont let me set custom ringtones without loading a custom rom. So this method worked great to replace her ringtones on rooted stock rom. Unfortunately there really isn't a solid custom rom for the infuse with what I tested so far.
Sent from my Inspire 4G using xda premium

Great tut. Ill keep it in mind as I normally just use a zip that drops my ringtones into the proper folder and deletes the ones I don't use. Or use root explorer to delete them if there are new ones not in my list.

Extract ringtones
After reading this i thought i could be able to extract ringtones from any rom from the system/media/ringtones/ but unfortunately i couldnt find any of them there.Where else could they be?

vinayakmt said:
After reading this i thought i could be able to extract ringtones from any rom from the system/media/ringtones/ but unfortunately i couldnt find any of them there.Where else could they be?
Click to expand...
Click to collapse
I'm no longer on this device...but what Rom are you trying to pull them from? I can still help. Pm me if need be
LG-P769 - Needs MIUI

I've been wondering how to do this. Now I have only my sd tones as I deleted the ones I didn't like (all of them moslty). Thanks!

Nice!
Sent from my SGH-I997 using xda app-developers app

Related

[REQ] Media Files

hi.
i usually copy the audio folder that i have found (link is below) to /system/media everytime after i flash a ROM. i do this using android commander.
however, lately, there are many ROMs and i flash new ROMs quite frequently and im not always near my PC.
i dont know how to make flashable update.zip files to flash in recovery.
can someone please make one so that it wil copy the attached folder to /system/media?
thanks nd advance
here is the folder:
http://www.mediafire.com/?lnu7xqtinjh3v11
zidane said:
hi.
i usually copy the audio folder that i have found (link is below) to /system/media everytime after i flash a ROM. i do this using android commander.
however, lately, there are many ROMs and i flash new ROMs quite frequently and im not always near my PC.
i dont know how to make flashable update.zip files to flash in recovery.
can someone please make one so that it wil copy the attached folder to /system/media?
thanks nd advance
here is the folder:
http://www.mediafire.com/?lnu7xqtinjh3v11
Click to expand...
Click to collapse
Why not just put them on your sdcard in media folder? I think all roms read from there too as long as the paths are the same (minus the system folder)
Yeah, make the below folders on the sdcard either on the root, or within a folder called media:
notifications
ringtones
alarms
The phone will then present the contents of these when you are selecting one (eg/ the notifications contents will be visable when choosing a message alert).
i am familiar with the media folder on the root of the SD card, however, there are 2 reasons why i dont use it:
1. sometimes, the response is slow, so when someone calls, for a second or 2, the phone lights up with the contact calling but does not ring immediatly.
2. some files get duplicated.
thanks for your quick responses!
zidane said:
1. sometimes, the response is slow, so when someone calls, for a second or 2, the phone lights up with the contact calling but does not ring immediatly.
Click to expand...
Click to collapse
Strange, never noticed this happen to me. I've had it play a default ringtone while my sdcard was mounted, but never noticed any kind of delay otherwise.
zidane said:
2. some files get duplicated.
Click to expand...
Click to collapse
Good point. I have a similar audio collection on my sdcard but I manually removed the ones that appear in CyaogenMod so they wouldn't duplicate but that could be a pain if switching between roms.
Anyway, here is the update.zip you requested
Crap, just over the 8meg attachment limit even with maximum compression, so here ya go:
http://www.mediafire.com/?tsf9252plbggr8x
gIMpSTa said:
Crap, just over the 8meg attachment limit even with maximum compression, so here ya go:
http://www.mediafire.com/?tsf9252plbggr8x
Click to expand...
Click to collapse
haha i know! i went through that too!
and thanks so much for this!

[Q] How to connect/access g2x thru computer

I have hellfire phoenix v1.9 running on my g2x. I wanted to add a ringtone from my computer into the g2x.
I have installed the android platform driver and then when I connect, I see drives E and F, but cannot explore them.
I searched and found a suggestion to turn on usb storage--but I find no options on the hellfire phoenix v1.9 to do this.
Also, toggling the usb debugging mode does not change anything.
All I am trying to do is to find the native ringtone folder and add my ringtone which I made in a .ogg format.
Please help
The simplest way for you to do this is put the file on your SD card and using either root explorer or ES file manager. You'll want to mount system as writeable via the settings and go to System\media\audio\ringtones\
Note you don't have to make the .ogg files it will still work with MP3's except alarms for some reason. You will also need to reboot before it shows up in your list.
Sorry, but I cannot understand when you say,
--You'll want to mount system as writeable via the settings and go to System\media\audio\ringtones\---
Is there a way to move this .ogg or .mp3 file into the ringtones folder (which exists in System\media\audio\ringtones. I can see all the ringtones once I use file explorer.
Even if I copy the file into a external sd, since it is not as intuitive as cut/copy and paste into the folder--how is this done.
What I was hoping was to be able to open this folder thru the computer when connected thru USB and just drag and drop it into the folder of ringtones. If this is not possible assuming the ringtone I want moved is called vintage.ogg , can this be done with ADB commands? Please help
sksriniv said:
Sorry, but I cannot understand when you say,
--You'll want to mount system as writeable via the settings and go to System\media\audio\ringtones\---
Is there a way to move this .ogg or .mp3 file into the ringtones folder (which exists in System\media\audio\ringtones. I can see all the ringtones once I use file explorer.
Even if I copy the file into a external sd, since it is not as intuitive as cut/copy and paste into the folder--how is this done.
What I was hoping was to be able to open this folder thru the computer when connected thru USB and just drag and drop it into the folder of ringtones. If this is not possible assuming the ringtone I want moved is called vintage.ogg , can this be done with ADB commands? Please help
Click to expand...
Click to collapse
Normally it's read only, as in you can look but you can't touch. Writable means you write to it, you can alter or otherwise put information/files there.
And, yes it's as simple as copy and paste, unless you don't know what you're doing in the first place.
Using ES file explorer is the simplest method. Even if you use ADB you still would have to give it the command to mount the system as writable. If you Droid explorer you still need to have the system mounted as writable.
I don't know if it works on all roms, but Gingerbread based roms if you make a directory named ringtones in the Root of the SD card the phone should read it from there, or it does on mine.
Yes, I did everything--thought it was going to work, but it failed.
Steps I took--
Copied a sound.ogg file into the ext sdcard
Installed ES file explorer and under preferences set permissions to write (because I am rooted)
Copied the file from edt sd card
then switched to the systems\media\audio\ringtones folder, was able to see all the ringtones currently present.
Pasted my sound.ogg file---it said "multiple operations completed, but failed to paste sound.ogg Unclear why..
Should I have rebooted after setting permissions to write, before executing the copy and paste operation?
Thanks for the prior help--but need some more..
Use an app called software data cable......works like a charm.....remember u need to be on the same network......it uses FTP service.
Sent from my LG-P999 using xda premium
I use a really useful app called Airdroid which you can find on the Google market. It allows you to establish a Wifi connection through your computer's web browser to your phone. I then transfer whatever music, files, shows or anything I want through it.
Thanks everybody
Just followed my previous steps as outlined. Being a noob, I had to do things gingerly, not to screw up. As I guessed, I have to reboot, before the ability to write takes effect (on es file explorer). Then it is just a matter of copy and paste.
Thanks all

[Script] Make Play Music Cache to External SD

Many of you have probably moved on to some variant of Jellybean and have maybe found other ways to do this (I in fact was on CM10 and had swapped internal and external cards--bad battery life brought me back to a stock based ROM) but I have struggled to find a good way on stock based ROMs to get Google Play music to cache to the external card. There were several suggestions, but none seemed to work for me. For those who might still be interested I found this thread by DeathmonkeyGTX which was based on this thread by Skittles. Took a few attempts and an edited script but I managed to make it work! I would assume this will work on any rooted ICS stock ROM, but was tested on Tweaked 2.2.
I have attached the edited script file that worked for me. And here are the copied instructions:
Prerequisites: Rooted phone; copy the .txt attached to this post to the root of the internal NAND flash, i.e. /sdcard/. Then make a folder in the root of your external_sd called "MusicCache." without the quotes or period.
1. Using whatever task manager you have or just go into settings->apps->running, close google play music.
2. Open your file manager and browse to /sdcard/Android/data/com.google.android.music/cache and delete all of the files found in music dir and artwork dir in this directory. This is very important step. If you do not delete your cache then your files will take up space but will no longer be available after this process.
3. Go to the google play store and install script manager - Smanager. Open smanager, and on first open you should see an option to select root, check that option and click ok and make sure to grant root to the app when the su dialog appears.
4. In Smanager browse to the root of your sdcard and click on and hold the "MusicScript.txt" to open a options dialog. Select "open as" and then select "Script/Executable".
Then Select "Su" and "Boot" and hit save.
5.. Go to settings app->apps->google play music-> and hit clear data.
6. Reboot your phone.
To verify this worked I checked the external_sd card after syncing an album to my phone. It was an album I was previously warned I didn't have enough space to save all of the songs.
Hello there I noticed that you found a way to save your music from the Play service to the external sd card. I followed all your steps and it is still not working, the music is saving in the default location. I have the Samsung Galaxy Blaze 4G, running the official CM10, stable version.
Good, but you misspelled sdcard in the script!
How glad am I to have found this old thread!
I have a Galaxy S2 LTE running stock 4.1.2, on which it's of course not possible to create links between the internal "USB" storage (where my Play Music files were stored) and the external SD.
And this solution worked! So thanks a bunch rbeier1221! Thanks to the OP's of the linked threads as well, but yours is the one that popped up in my Google search, and the guide I followed, so you get the thank you-post.
Though I did skip the steps to download the attached script and install Scriptmanager. And if anyone else should manage to google their way to this thread, and just happens to have ROM Toolbox on their phone, you can just type in the mount command along with your file paths in the Scripter utility (or import an existing script I'm guessing would work just as well).

How to get in-call recording on i337

This is using Grgsiocl's modified SecPhone.apk. It allows you to record calls from your phone while also changing your old phone to the international version (Black-ish instead of the white of the US models). He provided a zip, which I was afraid of flashing since he wrote the code for the i9500 and not the US variants. Oh, by the way this is for Deodexed roms, so make sure you have one of those. That's kind of important. Also with that said, you need to be rooted, but if you're already Deodexed then I assume you're already rooted.
So here's what I did:
1) First download his zip file: http://www.mediafire.com/?13pezaa8reobrno
2) Then I opened up his zip and went hunting for the apk (it's in the Apps folder within the System folder)
3) Copy it to your phone or sd card. I keep all of mine in a folder labeled Roms where I put Roms and other flashable mods in. DO NOT RENAME IT. ***Remember where you put the file since you'll be using it shortly. Write it down if you have to.***
4) Once that is done put your sd card back into your phone if out or unplug your phone from your computer
5) Open a root explorer, there are a lot of options on the Play store. I use Rom Toolbox, others use ES File Explorer and what not.
6) In your root explorer of choice make sure you're in the root of your device and not in an internal or external memory area.
7) Locate the "System" folder and open it
8) Then navigate to "Apps"
9) Look for the app called "SecPhone.apk" (sometimes they'll leave out the ".apk" and just have the app name depending on what file explorer app you're using.
10) Copy that application (some require you to press and hold down on the app in order for the explorer to allow you to copy)
11) Copy that application to your internal or external memory card anywhere other than where you have the modified "SecPhone.apk" file so it doesn't override it. There, you just backed it up if the new APK doesn't work for you. You want to copy it and not move it since if you move a crucial system file it can create a rather annoying "error" loop. I've had it happen to me multiple times and the only way to fix it is usually reflashing a rom. Very annoying.
12) Now locate the modified "SecPhone.apk" and also get to where you can copy it.
13) Once you have it selected and ready to copy it you are going to copy it in the root\system\app folder and when prompted you will override the one that is currently there.
14) Once the modified APK is in place you'll need to reboot into recovery.
15) In recovery you will do three things: wipe Dalvik Cache, Fix Permissions and reboot your phone. If you don't do this the app won't work after 1 use, speaking from experience.
16) Once your phone is rebooted you can test out your new and modified SecPhone.apk app and have fun recording calls.
!!!!!!REMEMBER RECORDING CALLS ISN'T LEGAL IN ALL STATES AND IT IS PROPER ETIQUETTE TO LET THE OTHER PERSON KNOW THAT THE CALL MAY BE RECORDED. SO ANY NEGATIVE OUTCOME (LEGAL OR OTHERWISE) THAT YOU RECEIVE FROM THIS ISN'T MY FAULT NOR GRGSIOCL'S!!!!!!
It saves the calls to your internal memory in a folder called "Sounds".
-Enjoy
Many thanks to Grgsiocl and his work.
The original thread is: http://forum.xda-developers.com/showthread.php?t=2268146
I haven't tried this, but I suggest doing a nandroid before any of it or at least copy and rename the original "SecPhone.apk" with a .bak and keeping it another location incase it needs to be put back again.
I think I will try this but not for call recording but because I would like to have the dark theme phone dialer.
geoldr said:
I think I will try this but not for call recording but because I would like to have the dark theme phone dialer.
Click to expand...
Click to collapse
Dialer is still light. Call progress screen is dark. And I couldn't get it working on my i337 with a deodexed stock ROM. Starts recording but eventually crashes phone app. I think there's a lib file we also need for this to work right.
ookba said:
Dialer is still light. Call progress screen is dark. And I couldn't get it working on my i337 with a deodexed stock ROM. Starts recording but eventually crashes phone app. I think there's a lib file we also need for this to work right.
Click to expand...
Click to collapse
Oh okay thanks for letting me know.
or you can just do it the eazy way!
just flashed any international 9505 rom with call recording on your att gs4.
Which ROM do you recommend. Do you have to flash a kernel too?
Sent from my M470BSA using xda app-developers app
redstar299 said:
Which ROM do you recommend. Do you have to flash a kernel too?
Sent from my M470BSA using xda app-developers app
Click to expand...
Click to collapse
just flash the rom you like the most, but i usually stay away from rom that "remove this and remove that!".
it' like buying a Whopper, i dont want the lettuces and tomato removed for me! if i dont like lettuces or tomato, i can remove it myself!
yeah, i also flashed 9505 kernal.
phone recording on international rom is a hit or miss.. meaning it' like a car engine, sometime it starts and sometime it wont starts. or try to reboot your phone.

[Q] How to add custom ringtones?

Hi everybody! I'm new to the forum and to Android devices too, so please forgive me if I'm making some simple mistakes.
I've recently bought this beautiful device, and I've recently customized it with MaximusHD ROM so now I'm running Android 4.2.2 + Sense 5.0
I want to add my customized iPhone ringtones to my One S. I've googled for something that around the world and it seems damn simple but I cannot manage it to work as expected. I've searched also this forum and the instructions seems everywhere like this:
1) plug your device to the computer
2) transfer your ringtones to the equivalent folder on the device (somewhere it's called ringtones, somewhere else Ringtones I don't know if it's important or not)
3) that's it! You can add your ringtones browsing into Settings - Sound.
Well, I perform the steps but no ringtones at all!
I've tried to replace their extension from .m4r to m4a and also mp3 but nothing changed.
I've tried to reboot and or switch off my device, nothing.
I've tried to put the ringtones in the Download folder and the move them from inside the device with Solid Explorer, nothing.
I've tried to put them in Music folder, nothing at all...
What's wrong?
The ringtones aren't bought from iTunes, they are simple mp3 cropped to 30 sec with this site http audiko dot net/
They are DRM free in fact Solid Explorer can playback them regardless their file extension.
I've even found a thread where it's talking about a .nomedia file in the folder, but it's not the case of my device with Android File Transfer and Solid Explorer I don't see any .nomedia file into Ringtones folder.
Thank you for your help in advice!
Give "media scanner" from play store a try...
Sometimes even my phone needs some time to find all new custom ringtones...
foeti said:
Give "media scanner" from play store a try...
Sometimes even my phone needs some time to find all new custom ringtones...
Click to expand...
Click to collapse
Hi, where can I find that option on Play Store?
However in the meantime I've found a solution.... really strange but it works.
I've sent the mp3s via Bluetooth. I had to rename it from m4r to mp3 first but after that I've transferred them to the phone, Settings -> Sound displayed them instantly without rebooting the device. I've noticed that they're stored in downloads/bluetooth folder.
It seems to me that if the Sense doesn't "see" the files then it won't work nevertheless the folder I put them in.
But I can live with mp3 stored in downloads/bluetooth folder. :laugh:
It just sounds really strange to me it doesn't work in the easier way.
I assume that your device is rooted. Use ES File Explorer ... tools ... root explorer ... mount R/W ... then, open system folder ... media folder ... audio ... ringtones. That's where to copy and paste your ringtones. Afterward, simply change ES File Explorer back to R/O and reboot. Your new ringtones will now be in the settings menu.
wmdunn said:
I assume that your device is rooted. Use ES File Explorer ... tools ... root explorer ... mount R/W ... then, open system folder ... media folder ... audio ... ringtones. That's where to copy and paste your ringtones. Afterward, simply change ES File Explorer back to R/O and reboot. Your new ringtones will now be in the settings menu.
Click to expand...
Click to collapse
Yes, it's rooted since I've installed MaximusHD ROM.
In one of my attempts I've tried to put the ringtones in that folder with Solid Explorer (that asked me for permissions) then I rebooted the device but still nothing, only I don't remember if in that attempt the file extensions were mp3 or m4r (ven if it seems it doesn't matter, at least to the file manager that playback them even if I rename it .ogg).
There's one thing that I don't understand: I've noticed that Android File Manager shows me the content of /storage/emulated/0 folder; however in the folder /storage/emulated/0/Ringtones there are two ringtones (hangouts_message.ogg and hangouts_video_call.ogg) that system sound settings recognize without problems. The thing that I don't understand it's why it doesn't work if I put my files among this two.
Oh and there's also another ringtone that the system sound settings recognize and it's placed in /storage/emulated/0/media/audio/notifications but again if I put my files there they aren't recognized.
I don't understand why files sent via Bluetooth works while transferring directly in the proper folder by USB don't...
They can be ogg or mp3 files, either will work. However they need to be placed into system folders, not simply put into storage folders of internal memory on your sd card. In order to do that you will need root explorer or ES file explorer, and mount the system as I explained earlier. If you need a step by step instruction, let me know.
wmdunn said:
They can be ogg or mp3 files, either will work. However they need to be placed into system folders, not simply put into storage folders of internal memory on your sd card. In order to do that you will need root explorer or ES file explorer, and mount the system as I explained earlier. If you need a step by step instruction, let me know.
Click to expand...
Click to collapse
Hi, thank you. What's really sound strange to me it's that a "normal user" has to root his device to put some ringtones on it while using Bluetooth everything works fine. I mean, even Apple let you put your ringtones with iTunes, without jailbraking the iPhone.
Besides, if this is the only method that works, then I really don't understand what is the purpose of Ringtones, Notifications folders in the /storage/emulated/0 (those normally displayed by Android File Transfer app) if they doesn't do what expected.
Those folders already existed on the phone, I didn't touch anything.
Actually, the Maximus rom changes your sd card ... my guess is, that is what is keeping you from simply dropping the files into the ringtone folder, like you can on a stock rom. None the less, if you are rooted, the best and most complete way, is to do what I described earlier.
Yeah, it's possible. I can ask on the official topic of that ROM maybe.
Thank you for your help I'll make a test and let you know if it worked.
:-/
Sent from my GT-S5830 using xda app-developers app

Categories

Resources