|
|
Custom ringtones / sounds on your iPhone using WindowsTags: hack, iphone, ringtone, windowsThese instructions are deprecated - it's much easier to download iBrickr and just use the Ringtones interface. I worked my eyes bloody today crawling through disassembly to help ziel port his Jailbreak program to Windows, and today we can announce that we have succeeded! All the iPhone users running Windows can now put custom ringtones and sounds onto their iPhones. IMPORTANT NEWS: The iPhone software update 1.0.1 makes these instructions invalid. You STILL need to acquire the old 1.0.0 software package for Jailbreak to still work. Apple will surely have stopped distributing the package by now so I will see what I can do to get Jailbreak working on the new package. Watch for updates! If you have a Mac, check out the Mac instructions over at Hack the iPhone. These instructions work on Windows XP or Vista computers with iTunes 7.3 or 7.3.1. Images courtesy Mark from www.hacktheiphone.com - thanks Mark! The procedure is a bit lengthy, and if you screw up one of the steps you might need to restore your iPhone through iTunes. To begin with, you must collect the following items (instructions on each below): - The iPhone software update package - iTunesMobileDevice.dll - The Windows version of ziel's Jailbreak - ziel's iPhoneInterface program - A custom ringer that you would like to install The software update package Now the package location varies so there's really only one reliable way to get it. Plug in your iPhone, and head into iTunes. Click the "Sync" button first (to be safe) and wait for the sync to finish.
Click through the dialogs but when the update starts downloading, unplug your iPhone. This will make sure your iPhone won't get overwritten.
%USERPROFILE%\Application Data\Apple Computer\iTunes\iPhone Software Updates
Now double-click the file to open its contents. Extract them all to some folder, say "c:\phonedmg". The rest of this article assumes you extracted the files there. iTunesMobileDevice.dll This one's easy. Start, run: C:\Program Files\Common Files\Apple\Mobile Device Support\bin Copy iTunesMobileDevice.dll into c:\phonedmg . ziel's Jailbreak and iPhoneInterface software Download the software from directly from ziel's website. Extract the files to c:\phonedmg as well. Move the files from the "win" directory into c:\phonedmg - the "osx" files won't be used here. A custom ringer You can use .m4a or .mp3 as your ringtones, but for some reason they must be made through Quicktime. Fortunately iTunes lets you convert any file to .m4a by selecting "Convert to AAC" from its entry in your music library. Then choose "Show in Windows Explorer" once it's been converted. Put these files in c:\phonedmg as well. Running Jailbreak Now that you've got everything you need, it's time to get started!
Hit your Start menu, choose Run, and type cmd . Hit OK and a command prompt should show up. Type these commands: c: cd \phonedmg jailbreak
Jailbreak should tell you that it's sending files to the iPhone, then ask you to hold the POWER and HOME buttons. Do that, but do it in this fashion: - Press and hold the Power button until your iPhone says "Slide to power off". - Slide the red slider and let the phone shut down. - Plug the dock cable back in. - If the iPhone doesn't turn on by itself, press and release the power button. - When the Apple logo appears, press and hold both the Power and Home buttons. - The phone will power off (keep holding the buttons!) and restart. - Soon it will display a yellow triangle and the message "Connect to iTunes".
You should receive this message at the end:
Uploading the ringtone to the iPhone (here's where you start if you've already done the whole process but want to add another ringtone later on) In the same command window (if you need to re-open it: Start, run, cmd, c:, cd \phonedmg - remember?), type iphoneinterface and hit Enter. A prompt should appear.
mkdir /var/root/Library/Ringtones cd /var/root/Library/Ringtones For each ringtone you want to upload: putfile /var/root/Library/Ringtones/Myhumps.m4a Where Myhumps.m4a is the file name of your ringtone. That's all! You will see the new ringtone in the ringtone chooser in the iPhone. If you want to customize system sounds too, check out the instructions in the box of Step 17 on Hack the iPhone's instructions. They're the same on Windows. The new version of Jailbreak doesn't require you to undo any of its settings to work on iTunes. You should still be able to sync on iTunes after adding your own ringtones. Note that any iPhone system updates or restores will remove all of your uploaded ringtones and undo any Jailbreak changes. How it works It would be an injustice not to tell you how the whole process works. The devs at #iphone, ziel, and I spent a lot of time figuring out this procedure and associated details. So here's the skinny: I'm not sure what AFC stands for, but this is a program called the AFC service running on the iPhone that (normally) iTunes communicates with to put files such as songs on your iPhone. It performs the filesystem operations such as making directories and uploading / downloading files. Under normal configuration, the AFC service absolutely refuses to access any files outside of where music is normally stored (in /var/root/Media). Since ringtones are stored in /var/root/Library, the AFC service as it is configured by default will not allow us to upload ringtones, without knowing how iTunes will eventually do it (iTunes will use /var/root/Media/iTunes_Control/iTunes/Ringtones.plist if you were wondering, but we don't know what format that file is in). So we have to change the configuration of AFC somehow. The key to this is the iPhone's restore / recovery mode. This is the mode iTunes uses when you hit "Restore" in the iPhone page. It's designed to restore the phone to working order after something has corrupted its software. With restore mode, special commands can be issued to the phone that let it manipulate all sorts of files and settings on the device. What jailbreak does is (at a very high level) perform the first half of the restore operation that iTunes would, getting the phone into the powerful restore mode. It then issues a series of commands that modify the configuration of AFC to allow you to access the full filesystem while still presenting the same interface to iTunes (so as not to break syncing). After that, iPhoneInterface allows you to interact with the phone using AFC to upload and download files. With a Jailbreak'd phone there are a lot of cool hacks that you can do (skinning, anyone?). Stay tuned on cre.ations.net for howto's in the coming week. Questions? Comments? Join cre.ations.net and post a comment below, or IRC on over to irc.osx86.hu channel #iphone for live interaction. Comments: ![]() Log in or register to post comments. Comments and questions to Syndication:
Wikio
|
























Posted by kakapooahhh 3 years ago ( 14-Jul-2007 05:38:27 )
Posted by lukelucas 3 years ago ( 14-Jul-2007 10:23:30 )
Posted by natetrue 3 years ago ( 14-Jul-2007 10:32:58 )
Posted by ram 3 years ago ( 14-Jul-2007 11:04:12 )
Posted by kakapooahhh 3 years ago ( 14-Jul-2007 11:13:37 )
Posted by sweetcaro 3 years ago ( 14-Jul-2007 12:37:00 )
Posted by sweetcaro 3 years ago ( 14-Jul-2007 12:46:13 )
Posted by spectregadget 3 years ago ( 14-Jul-2007 12:51:31 )
Posted by jikwrx 3 years ago ( 14-Jul-2007 12:51:34 )
Posted by spectregadget 3 years ago ( 14-Jul-2007 12:52:07 )
Posted by sweetcaro 3 years ago ( 14-Jul-2007 13:05:07 )
Posted by mer 3 years ago ( 14-Jul-2007 13:06:05 )
This comment was edited at 2007-07-14 13:17:25
Posted by sweetcaro 3 years ago ( 14-Jul-2007 13:21:15 )
Posted by mer 3 years ago ( 14-Jul-2007 13:46:10 )
Posted by sweetcaro 3 years ago ( 14-Jul-2007 14:20:04 )
Posted by blackcat 3 years ago ( 14-Jul-2007 15:07:56 )
Posted by mer 3 years ago ( 14-Jul-2007 15:11:03 )
Posted by jeram 3 years ago ( 14-Jul-2007 15:14:46 ), comment hidden (show)
This comment was edited at 2007-07-14 15:21:07
Posted by blackcat 3 years ago ( 14-Jul-2007 15:39:11 )
Posted by qonneqtion 3 years ago ( 14-Jul-2007 15:49:59 )
Posted by natetrue 3 years ago ( 14-Jul-2007 16:20:32 )
Posted by superlatives 3 years ago ( 14-Jul-2007 16:50:06 )
Posted by sweetcaro 3 years ago ( 14-Jul-2007 18:23:23 )
Posted by redline 3 years ago ( 14-Jul-2007 18:51:24 )
Posted by kakapooahhh 3 years ago ( 14-Jul-2007 22:33:59 )
Posted by blackcat 3 years ago ( 14-Jul-2007 22:39:30 )
Posted by cceverett 3 years ago ( 15-Jul-2007 10:51:41 )
Posted by nyquildreams 3 years ago ( 15-Jul-2007 13:29:54 )
Posted by jikwrx 3 years ago ( 15-Jul-2007 13:32:47 )
Posted by ivenus 3 years ago ( 15-Jul-2007 15:24:16 )
Posted by deadandwell 3 years ago ( 15-Jul-2007 16:25:28 )
Posted by peeemp 3 years ago ( 15-Jul-2007 16:54:42 ), comment hidden (show)
Posted by peeemp 3 years ago ( 15-Jul-2007 16:58:28 ), comment hidden (show)
Posted by peeemp 3 years ago ( 15-Jul-2007 17:32:19 ), comment hidden (show)
Posted by ekahialoha 3 years ago ( 15-Jul-2007 19:57:31 )
Posted by peeemp 3 years ago ( 15-Jul-2007 20:31:54 )
This comment was edited at 2007-07-15 23:34:28
Posted by looksonice 3 years ago ( 15-Jul-2007 21:23:36 )
Posted by asteroidearth 3 years ago ( 16-Jul-2007 06:05:29 )
Posted by peeemp 3 years ago ( 16-Jul-2007 15:10:19 )
Posted by venomous 3 years ago ( 16-Jul-2007 17:31:43 )
Posted by natetrue 3 years ago ( 16-Jul-2007 17:47:29 )
Posted by aerohunter 3 years ago ( 16-Jul-2007 20:36:45 )
This comment was edited at 2007-07-16 22:16:36
Posted by arthursdomain 3 years ago ( 16-Jul-2007 20:42:28 )
This comment was edited at 2007-07-16 20:52:27
Posted by avdzinr 3 years ago ( 16-Jul-2007 20:58:39 )
Posted by peeemp 3 years ago ( 16-Jul-2007 21:11:14 )
Posted by arthursdomain 3 years ago ( 16-Jul-2007 21:50:54 )
Posted by avdzinr 3 years ago ( 16-Jul-2007 21:51:53 )
Posted by peeemp 3 years ago ( 16-Jul-2007 23:22:55 )
Posted by peeemp 3 years ago ( 16-Jul-2007 23:23:48 )
Posted by peeemp 3 years ago ( 16-Jul-2007 23:29:46 )
Posted by sweetcaro 3 years ago ( 17-Jul-2007 13:40:37 )
Posted by wrxman 3 years ago ( 17-Jul-2007 15:12:01 )
Posted by mdwsta 3 years ago ( 17-Jul-2007 17:52:00 )
Posted by ryanrk 3 years ago ( 18-Jul-2007 21:56:32 )
Posted by ryanrk 3 years ago ( 19-Jul-2007 06:37:45 )
Posted by corduroy 3 years ago ( 19-Jul-2007 09:04:09 )
Posted by carolinachick 3 years ago ( 19-Jul-2007 11:13:13 )
Posted by ivenus 3 years ago ( 19-Jul-2007 16:07:27 )
Posted by bassvictim 3 years ago ( 19-Jul-2007 17:12:52 )
Posted by freestyle 3 years ago ( 20-Jul-2007 18:25:26 )
Posted by tgobr 3 years ago ( 23-Jul-2007 08:57:43 )
Posted by truballa 3 years ago ( 25-Jul-2007 05:52:01 )
Posted by jimbob 3 years ago ( 26-Jul-2007 11:36:39 )
Posted by kingmel 3 years ago ( 26-Jul-2007 12:59:39 )
Posted by valor 2 years ago ( 01-Aug-2007 22:05:09 )
Posted by santucci 2 years ago ( 06-Aug-2007 09:33:31 )
Posted by fastlifeent 2 years ago ( 10-Aug-2007 09:07:01 )
Posted by jtownhero 2 years ago ( 11-Aug-2007 23:06:50 )