HTC Magic Ringtones & Alarms - myTouch 3G, Magic Themes and Wallpapers

I rooted my HTC Magic today and I loaded the RAv1.1.0 custom rom. Its a great rom, but the ringtones are a bit boring and i really liked the htc ones. So i extracted the files from a Hero ROM and pushed it to my phone.
If anyone wants these media files, i have packaged them toagther and made a small python script to install it automatically for you, you just need to run just run push.py file.
Let me know how it goes, it works great for me
Cheers
spatali
PS: Reboot the system after running the script. Otherwise they wont show up until next reboot
Tutorial & .bat (for windows) by TikiiTorch
For people who don't have python install in Windows
1) extract the above .zip file into your "android-sdk-windows-1.5_r3\tools\" directory (wherever that might be)
2) get on your command line and cd to the "htc_media" directory you just created.
3) enter the following commands:
Code:
adb remount
adb push alarms /system/media/audio/alarms/
adb push ringtones /system/media/audio/rigntones/
adb reboot
Click to expand...
Click to collapse
or use push.bat in the zip
DOWNLOAD
Ringtones & Alarms
thanks TikiiTorch

didn't download. requires login to download.

Rroet said:
didn't download. requires login to download.
Click to expand...
Click to collapse
No it doesnt.. just click the request ticket link above the file... then do the same when it changes to download.

Thanks
Flashed the Drizzy TF3D rom and was seriously missing the stock notifications.
Thanks for tracking this down and sharing!

Any idea why now under ringtones it list every ring tone twice, yet there is only one copy of each file in the directory?
thanks
Okay never mind, I deleted them, rebooted, copied them back, rebooted and now only one is showing up. That was very strange.

So how does one go about installing these ringtones to the phone? A myTouch 3G specifically using Cyanogen's 4.0.1 ROM. I guess I'm a little confused as fas as running the python script itself....any help would be absolutely appreciated! Thanks everyone!

juanavila said:
So how does one go about installing these ringtones to the phone? A myTouch 3G specifically using Cyanogen's 4.0.1 ROM. I guess I'm a little confused as fas as running the python script itself....any help would be absolutely appreciated! Thanks everyone!
Click to expand...
Click to collapse
Im guessing you are on windows without python installed, so you will want to:
1) extract the above .zip file into your "android-sdk-windows-1.5_r3\tools\" directory (wherever that might be)
2) get on your command line and cd to the "htc_media" directory you just created.
3) enter the following commands:
Code:
adb remount
adb push alarms /system/media/audio/alarms/
adb push ringtones /system/media/audio/rigntones/
adb reboot
OR Download this zip (same as spatali's above but with my .bat file included) and double click the push.bat file thats in there.
Let me know...

@TikiiTorch this is great, i'll include your tut and .bat file in the first post
ps: I dint know push command works for entire folder ^^

i'm not an expert, but isn't the reboot commando:
Code:
adb shell reboot

unirox said:
i'm not an expert, but isn't the reboot commando:
Code:
adb shell reboot
Click to expand...
Click to collapse
Whoops, you're right. Re-upping now with the correct code.. Thanks unirox!
... upped .. OPs link above includes correct commands lol
--
@Spatali thank you, you did all the hard work!

Ringtones on sdcard
There is an easier way
Just create on your sdcard a "media\audio" folder and copy into it notifications, ringtones and alarms folder.
Disconnet your phone from the pc and new medias will be detected automatically

castorjunior said:
There is an easier way
Just create on your sdcard a "media\audio" folder and copy into it notifications, ringtones and alarms folder.
Disconnet your phone from the pc and new medias will be detected automatically
Click to expand...
Click to collapse
But with this method, don't those files remain on the SDCard rather then becoming part of the system?

TikiiTorch said:
1) extract the above .zip file into your "android-sdk-windows-1.5_r3\tools\" directory (wherever that might be)
2) get on your command line and cd to the "htc_media" directory you just created.
3) enter the following commands:
Code:
adb remount
adb push alarms /system/media/audio/alarms/
adb push ringtones /system/media/audio/rigntones/
adb reboot
Click to expand...
Click to collapse
I think you mean "adb push ringtones /system/media/audio/ringtones/"
(ringtones)

Cyalintz said:
I think you mean "adb push ringtones /system/media/audio/ringtones/"
(ringtones)
Click to expand...
Click to collapse
I fail... horribly...
yes, thanks, must have been a bad finger day

TikiiTorch said:
But with this method, don't those files remain on the SDCard rather then becoming part of the system?
Click to expand...
Click to collapse
You're right, the files remains on the sdcard but it doesn't really matters as they are detected and used automatically, the same way as if they are part of the system

how do i get on my "htc_media" directory i just created

castorjunior said:
You're right, the files remains on the sdcard but it doesn't really matters as they are detected and used automatically, the same way as if they are part of the system
Click to expand...
Click to collapse
if using SUFBS with root and mounting system RW, does it not write to system when copying file from sdcard folder to system/media/notifications?

lpasq said:
if using SUFBS with root and mounting system RW, does it not write to system when copying file from sdcard folder to system/media/notifications?
Click to expand...
Click to collapse
Yes, it would indeed move them there if you used the above method.

??
Guys which is the easiest method now ? I'll update the first post accordingly

spatali said:
Guys which is the easiest method now ? I'll update the first post accordingly
Click to expand...
Click to collapse
The easiest way, obviously would be to just put these files onto your SD and let the device recognize them.
If you want to properly replace these ringtones onto a ROM that does not have them, then what you have posted is the correct way.

Related

How to change the boot images without ADB?

How would it be able to do this? I've seen terminal codes floating around, but none of them look like they'd be replacing the proper files for a cupcake build (old RC33 builds I believe, long lost now!)
I'm running TheDude's 1.3 RC2. I've seen plenty of ADB commands, however I've never been able to get ADB to work on my computer, and I don't feel like putting more pointless hours into it
So how would the terminal commands work, and what would the pre-requisites for the files have to be? Thanks!
http://forum.xda-developers.com/showthread.php?t=467693 Im pretty sure all you need is fastboot not adb for splash1 the animated splash just requires you to resign an update.zip http://forum.xda-developers.com/showthread.php?t=467693
crotalusfreak said:
http://forum.xda-developers.com/showthread.php?t=467693 Im pretty sure all you need is fastboot not adb for splash1 the animated splash just requires you to resign an update.zip http://forum.xda-developers.com/showthread.php?t=467693
Click to expand...
Click to collapse
I'm pretty sure it uses ADB, hence why I'm asking...Fastboot IS ADB
yea fastboot is the only other way that I know of!!
this is where i downloaded the tools for creating your own boot image!
http://www.modmygphone.com/forums/downloads.php?do=file&id=1471&act=down
this is the link that teaches on how to make one and im pretty sure there is one here in the forums!
http://modmygphone.com/forums/showthread.php?t=10461
if you need help PM me ill take you step by step!
or email [email protected]
lukekirstein said:
I'm pretty sure it uses ADB, hence why I'm asking...Fastboot IS ADB
Click to expand...
Click to collapse
it wont use ADB, fastboot is like an alternate route...
Drizzy Drake Rogers said:
yea fastboot is the only other way that I know of!!
this is where i downloaded the tools for creating your own boot image!
http://www.modmygphone.com/forums/downloads.php?do=file&id=1471&act=down
this is the link that teaches on how to make one and im pretty sure there is one here in the forums!
http://modmygphone.com/forums/showthread.php?t=10461
if you need help PM me ill take you step by step!
or email [email protected]
Click to expand...
Click to collapse
Step number two of those directions: "2. Get ADB setup and working. Read here. "
Let's clarify. I cannot get ADB to work, at all, on my computer. Fastboot doesn't work because I can't get ADB to work. Moreso, I just realized that I can't even find my data cord.
Either way, the point of my post is to find a way to change the boot animation at start up, without having to use anything but the phone and maybe some photo editing software.
So how can we do this?
You do not have to have the whole sdk(adb etc..) for fastboot to work you do have to have a driver running for android found in the sdk or here http://dl.google.com/android/android_usb_windows.zip .
The boot animation is found in /system/framework/framework-res.apk/assets/images,android-logo-mask.png and android-logo-shine.png are the images you wanna edit.Dont believe you can get it back on your phone without the sdk set up with adb working though as you will either have to resign an update or push the edited files back somehow.
Edit:without a data cord I think this is an impossibility I dont think you can go through the process needed on your phone,dont hold me to that though good luck man.
crotalusfreak said:
You do not have to have the whole sdk(adb etc..) for fastboot to work you do have to have a driver running for android found in the sdk or here http://dl.google.com/android/android_usb_windows.zip .
The boot animation is found in /system/framework/framework-res.apk/assets/images,android-logo-mask.png and android-logo-shine.png are the images you wanna edit.Dont believe you can get it back on your phone without the sdk set up with adb working though as you will either have to resign an update or push the edited files back somehow.
Edit:without a data cord I think this is an impossibility I dont think you can go through the process needed on your phone,dont hold me to that though good luck man.
Click to expand...
Click to collapse
Alright, I just confirmed the location on the phone. So if I upload a file onto my SD card, and overwrite it through Terminal, what do you think that'll do? I'm not big into the Themes section, I'm into the Development section, so I'm not sure what overwriting will do to my phone.
Actually you might be able to get away with that.Try backing up framework res in terminal type:
$su
#mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
#cp -r /system/framework/framework-res.apk /sdcard
Now the .apk you want is on your sdcard root pull that onto a computer unzip it with 7zip.In the framework-res folder there are some more folders go to assets then images edit those two images to your liking.Then go back to your framework-res.apk that you backed up add .zip to the end,right click it and choose open or explore navigate back to the images folder and paste your edited boot images in there.Now remove .zip so it is framework-res.apk again put that back on your sd cards root.Go to terminal and type
$su
#mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
#cp -f /sdcard/framework-res.apk /system/framework
#reboot
If all goes well that should work.
crotalusfreak said:
Then go back to your framework-res.apk that you backed up add .zip to the end,right click it and choose open or explore navigate back to the images folder and paste your edited boot images in there.Now remove .zip so it is framework-res.apk again put that back on your sd cards root.
Click to expand...
Click to collapse
Lost you at naming it as a .zip. I can't explore or open the file, as Windows Vista doesn't know how to handle it. Any ideas?
lukekirstein said:
Lost you at naming it as a .zip. I can't explore or open the file, as Windows Vista doesn't know how to handle it. Any ideas?
Click to expand...
Click to collapse
right click-> open with -> WinRAR
Or go to Folder Options and uncheck "Hide extensions for known filetypes" (you should do that for all folders.... its a bad idea not to because a virus may look like *.doc instead of *.doc.exe anyways its also more convenient)
does anyone know how to change the boot image for a rogers g1 none of these things work for me i bricked my last phone a week ago cause someone said it would work
jokefox said:
does anyone know how to change the boot image for a rogers g1 none of these things work for me i bricked my last phone a week ago cause someone said it would work
Click to expand...
Click to collapse
Well if you're bricking phones, I wouldn't recommend trying it again

HOW do I install boot animations

Could someone please give me the best way to install boot animations on my Evo,I've seen nice ones that I would love to install on my phone,and yes.. my phone is already fully Rooted.. Thanks
Sent from my PC36100 using XDA App
There are a couple of ways to accomplish this. Some are already set up as a flashable zip you can flash in recovery. You can search through the Themes and Apps sections for others, but I use this way:
Be sure to have the Android SDK installed on your computer.
Download, and place the bootanimation.zip file in the TOOLS folder of the SDK.
Then the following ADB CODE:
adb remount
adb push bootanimation.zip /system/customize/resource
adb push SPC_animation_final.mp3 /system/customize/resource
adb reboot
You're all set!
If there is no corresponding mp3 file, no need for the 3rd command line
bender1077 said:
There are a couple of ways to accomplish this. Some are already set up as a flashable zip you can flash in recovery. You can search through the Themes and Apps sections for others, but I use this way:
Be sure to have the Android SDK installed on your computer.
Download, and place the bootanimation.zip file in the TOOLS folder of the SDK.
Then the following ADB CODE:
adb remount
adb push bootanimation.zip /system/customize/resource
adb push SPC_animation_final.mp3 /system/customize/resource
adb reboot
You're all set!
If there is no corresponding mp3 file, no need for the 3rd command line
Click to expand...
Click to collapse
wouldn't that location be different depending on if it's a sense or aosp rom?
fachadick said:
wouldn't that location be different depending on if it's a sense or aosp rom?
Click to expand...
Click to collapse
That I am not sure of, as I have always used sense based ROMS for the 4gees.
I know that Pushboot has a separate batch file for CM6, so I am fairly sure that there is a different dir.
Root Explorer works well for me when ADB is not available.
Just download, rename appropriately, and move to /system/customize/resource (or wherever your ROM stores these things).
fua1 said:
Root Explorer works well for me when ADB is not available.
Just download, rename appropriately, and move to /system/customize/resource (or wherever your ROM stores these things).
Click to expand...
Click to collapse
That's what I did way back when. I ran a search in astro for bootanimation.zip first (to find the old one that I was replacing), because I didn't know where to move it to back then.
wow. dejavu.
Sent from my blah blah blah blah
Thank you guys a million!! I use the root explore method,and it work perfect,but I still wanna say thanks to everyone for your help
Sent from my PC36100 using XDA App

[Q] cannot delete .APK files!

Hi All
Apologies if this is in the wrong place or if it has been answered elsewhere, I have been searching all weekend, so hopefully not!
I have recently installed gingervillain v1.0 on my Desire, and wanted to remove some .APKs for programs I do not use, such as DSPManager.
In an effort to do this I have purchased the paid versions of Root Explorer and Titanium Backup. Using Root Explorer I have tried deleting the .APKs from system/app, but to no avail.
In Titanium Backup I have tried using the uninstall feature, but the apps in question, persisted.
So I began running searches in Google and found a few articles which claimed you could for example delete the .APKs in the ZIP archive close and resign, but I tried this several times and could not get it to work.
I have now downloaded the Android SDK and USB driver for ADB. But when attempting to utiilise ADB to delete the .APKs CMD returns "'adb' is not recognized as an internal or external command, operable program or batch file"
After searching the XDA forums i came across a post which stated I needed to amend the path under Environment Variables to the location of the ADB, which I have done (and rebooted my PC).
I am still receiving the ADB is not a ... statement, in CMD.
I am running windows 7 and have tried the above with and without HTC Sync installed.
Thanks in advance
I think you need to be S-Off to delete system apps whilst booted in Android. You can delete the apps from the zip file before you flash it.
GoogleJelly said:
I think you need to be S-Off to delete system apps whilst booted in Android. You can delete the apps from the zip file before you flash it.
Click to expand...
Click to collapse
Thanks Googlejelly, none of the articles i followed mentioned S-Off but I will look into it. Regarding the deletion of aps from the zip, is this something you have done yourself? Everytime I try too I get Error 0x80004005. I did unzip which allowed me to delete without the error, but after flashing the rom, I got stuck in a bootloop.
Sent from my HTC Desire using XDA App
for deleting anything on the system file itself, u def need s-off. i was on a sgs fascinate rooted which came witrh s-off included in its root. so when i came to a htc desire, i figured it would b the same. but it wasnt. u need to s-off to delete sysrem apks like google talk, file manager, etc
if you want to delete apps while android is running you need to be S-OFF.
you can also edit .zip before flashing.
since you get a bootloop you either delete something you should not OR you have to edit updater script (but since you wrote about GingerVillain i doubt it, so probably you just delete some important stuff)
dzumagos said:
if you want to delete apps while android is running you need to be S-OFF.
you can also edit .zip before flashing.
since you get a bootloop you either delete something you should not OR you have to edit updater script (but since you wrote about GingerVillain i doubt it, so probably you just delete some important stuff)
Click to expand...
Click to collapse
Thanks dzumagos. Do you know if I need to resign the zip, after editing? Also do you know why I might be getting the error which is stopping me from deleting the files in the zip?
Sent from my HTC Desire using XDA App
You shouldn't need to unzip the file to take out the apks, just use winzip to access the the zipped file, delete which apks you don't want then exit out of winzip and flash it, if you delete something important it'll probably loop.
I've done this with leedroid 2.3d and took out footprints,teeter,stocks and a couple of other apks, it flashed fine with no problems.
Actually, you don't need to be S-OFF to remove files from system. Can be done via ADB.
You must have the phone connected via recovery (better, since nothing is in use) with USB debugging on.
Run CMD as administrator, then change to the directory where you have the adb.exe (In my case c:\android-sdk-windows\tools\)
Then type in the command adb shell after you should get an information something like starting daemon.
Then type in mount /system
Now, you can remove files with the rm /system/app/(APPFILENAME).apk command.
When finished type umount /system then exit
If you need the list of files, then type ls in the command prompt.
Worked for me, S-ON.
Sent from my customized HTC Desire using TTP
nagypapi said:
Actually, you don't need to be S-OFF to remove files from system. Can be done via ADB.
You must have the phone connected via recovery (better, since nothing is in use) with USB debugging on.
Run CMD as administrator, then change to the directory where you have the adb.exe (In my case c:\android-sdk-windows\tools\)
Then type in the command adb shell after you should get an information something like starting daemon.
Then type in mount /system
Now, you can remove files with the rm /system/app/(APPFILENAME).apk command.
When finished type umount /system then exit
If you need the list of files, then type ls in the command prompt.
Worked for me, S-ON.
Sent from my customized HTC Desire using TTP
Click to expand...
Click to collapse
Would do this but for the aforementioned error.
Sent from my HTC Desire using XDA App
Tried it or not?
Because from what I read you are writing wrong commands.
Dont write adb if you are already in the shell, because that's not a valid command.
All I do is when I download a rom is open it using WinRar and delete the files straight from the archive. I don't extract the files from the archive, just edit it. I add my own font, notification sound, delete the boot animation and I delete some system apps that I don't use. This beats having to S-Off (I have it anyway) but it is a nice work around.
GoogleJelly said:
All I do is when I download a rom is open it using WinRar and delete the files straight from the archive. I don't extract the files from the archive, just edit it. I add my own font, notification sound, delete the boot animation and I delete some system apps that I don't use. This beats having to S-Off (I have it anyway) but it is a nice work around.
Click to expand...
Click to collapse
GoogleJelly - I did the following, uninstalled 7zip, installed winzip, right clicked the archive with the rom, selected "open with winzip", navigated to the system\app\ folder, right clicked DSPManager.apk, selected delete and got this... (see attached). It just freezes everytime and i get the (not responding) postfix
Perfectly willing to accept I am an idiot who has done something wrong. But I really do fail to see what.
Help, this is so frustrating!!!
nagypapi said:
Tried it or not?
Because from what I read you are writing wrong commands.
Dont write adb if you are already in the shell, because that's not a valid command.
Click to expand...
Click to collapse
Sorry nagypapi, you have lost this Noob! I will try to follow your suggestion again, and report back.
Thanks
I don't use Winzip, I use Winrar.
Solved - cannot delete apks
GoogleJelly said:
I don't use Winzip, I use Winrar.
Click to expand...
Click to collapse
That got it *feel like a tool* Thank you Googlejelly!! No More boot loops either.
madffrogs said:
You shouldn't need to unzip the file to take out the apks, just use winzip to access the the zipped file, delete which apks you don't want then exit out of winzip and flash it, if you delete something important it'll probably loop.
I've done this with leedroid 2.3d and took out footprints,teeter,stocks and a couple of other apks, it flashed fine with no problems.
Click to expand...
Click to collapse
Thanks, madffrogs, it work. In this case, I am just removing some 'excessive' files from a CyanogenMod files, and used 7zip.

ADB Help

I cannot figure this out to save my life. I have downloaded and installed HTC Sync. I have the folder for android-sdk setup on my local drive. I added the environmental settings so I don't have to change directories each time.
I connect my phone with USB Debugging enabled, and then open command prompt. I change directories to E:\android-sdk\tools (My "E" drive is my default drive). Anytime I try and "Adb" command, it says that ADB isn't recognized as a command. I don't know why. Cannot figure it out to save my life.
I've attached some pictures so you can get a brief idea as to what I am talking about. I am on Windows 7 32 bit, if that makes any difference.
The first thing I noticed from your screenshot that is that you dont have adb application in your sdk tools folder.
adb has moved...try the platform-tools folder instead of just tools.
*Sigh*
I would miss something as simple as that. It's working now, thank you guys.
Edit:
One more question.. I am trying to install the "com.skype.raider-all-in-one-camwidth". I am assuming I need to use ADB to push it to the system files, but how do I go about doing that from CMD? Probably incredibly simple, but I'm lost again. Lol
dpilcher said:
adb has moved...try the platform-tools folder instead of just tools.
Click to expand...
Click to collapse
I wonder if the adb_has_moved.txt file in his screenshot might have given him a clue?!?
JimSmith94 said:
I wonder if the adb_has_moved.txt file in his screenshot might have given him a clue?!?
Click to expand...
Click to collapse
Lol I admitted it was something stupid to miss, forgive me.
Can anyone help me with the file pushing though? I am trying install that Skype .zip file, and I'm assuming it has to be pushed to the system area. Any clues as to how I go about that?
If you need to get it into system apps,
Adb push filename /system/app
Make sure you put a space between the end of the filename and the /
And make sure the file is located in the platform-tools folder.

Stuck in recovery with no Rom

To make it short, I got downloaded a corrupted ROM (only one on the phone), and with no nandroid. Is there any other way to access my "sd" card on my phone to put another ROM in? Is flashing a stock img the only way to get it back to work without losing my pictures? Thanks..
If its recognized by the computer, just "adb push" the ROM file (and anything else you need) to your phone.
martonikaj said:
If its recognized by the computer, just "adb push" the ROM file (and anything else you need) to your phone.
Click to expand...
Click to collapse
This.
Problem sorted.
Thanks for the suggestion, but can you provide some commands to push this file through adb?
if you are not familiar with adb commands, use Android Commander. Saves alot of time.
I'm a bit more familiar with adb, it's just need the to be directed to the right path with the specific command to push a rom to my phone. Does anyone know?
i tried
adb push "filename"/sdcard/"filename" but it's not giving me any response.
Deekayy said:
I'm a bit more familiar with adb, it's just need the to be directed to the right path with the specific command to push a rom to my phone. Does anyone know?
i tried
adb push "filename"/sdcard/"filename" but it's not giving me any response.
Click to expand...
Click to collapse
Is your ROM file in the Android>Platform Tools folder?
adb push rom.zip /sdcard/
You need the extension (.zip) as well.
Edit: does adb devices indicate you're connected?
Deekayy said:
I'm a bit more familiar with adb, it's just need the to be directed to the right path with the specific command to push a rom to my phone. Does anyone know?
i tried
adb push "filename"/sdcard/"filename" but it's not giving me any response.
Click to expand...
Click to collapse
you just need:
Code:
adb push ROMname.zip /sdcard/
Assuming you put "ROMname.zip" in your platform-tools folder, or another folder you're running ADB out of.
Keep in mind, not any response, aka, just hanging, means it is still working. ADB transfers are slow, so big files will take a little bit.
Nevermind.
martonikaj said:
you just need:
Code:
adb push ROMname.zip /sdcard/
Assuming you put "ROMname.zip" in your platform-tools folder, or another folder you're running ADB out of.
Click to expand...
Click to collapse
Yes I did that, and now for some reason my sdk is not recognizing my phone (funny cause i tried flashing a new recovery.img). Now i'm re-installing sdk tools.
adrynalyne said:
Keep in mind, not any response, aka, just hanging, means it is still working. ADB transfers are slow, so big files will take a little bit.
Click to expand...
Click to collapse
Thanks, gotta fix the first problem though.

Categories

Resources