The ModMyTM Family of Sites:
ModMyMotoModMyiModMyGphone




 
 
Register or Connect with Facebook

Discuss AppStore Apps | Browse / Search Cydia | MMi Cydia Stats




  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > iPhone Modding > File Mods
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 07-23-2008, 04:22 AM
Developer
 
Join Date: Feb 2008
Device + Firmware: iPhone | 1.1.4
Operating System: Vista | Leopard | Ubuntu
Posts: 14
Thanks: 0
Thanked 7 Times in 2 Posts
[HowTo] Change SpringBoard's font on firmware 2.0. Also, on other firmwares.

Click the image to open in full size.


DO NOT ATTEMP THIS unless you are comfortable using a hex editor. You WILL get a Spinning Wheel of Death if you do this wrongly.

  1. Prepare
    • On your phone, set Auto-Lock to never.
    • On your phone, set your WiFi to always auto connect. You want this so you can recover from the SWoD, should it occur.
    • Install your hex editor of choice onto your computer.
    • On your phone, using Cydia, install the ldid tool. [alternate means of install: type apt-get install ldid onto your favorite SSH's client's command line]
  2. Backup
    1. On your phone, navigate to /System/Library/CoreServices
    2. Make a copy of SpringBoard.app and name it SpringBoard.app.orig. Make sure its permissions are still properly set to 755.
    3. Now, navigate to /System/Library/CoreServices/SpringBoard.app
      Make a copy of SpringBoard and name it SpringBoard.orig. Make sure the permissions are still set to 755.

    You probably notice that you just set up a redundant backup. The idea is that if you mess up along the way and get the SWoD, you can quickly just delete SpringBoard.app/SpringBoard and replace it with the SpringBoard.app/SpringBoard.orig backup you created. Should the worst case occur and that fails to work, just delete the SpringBoard.app directory and replace it with your backup, SpringBoard.app.orig.

  3. Get to work
    1. On your phone, navigate to /System/Library/Fonts and open up CGFontCache.plist. This will serve us as a list of fonts that the device supports.
    2. Read past the first part; and in the second section, find a font that you want to use. We'll use Georgia for this turorial.
    3. Navigate to /System/Library/CoreServices/SringBoard.app
    4. Copy SpringBoard to your computer's Desktop.
    5. Check SpringBoard's properties and write down the exact size in bits.
    6. While you are here, go ahead and rename _CodeSignature to CodeSignature.orig.
    7. On your computer, making sure that you have your "Insert" key set to overwrite, and NOT to actually insert, open SpringBoard with your favorite hex editor.
    8. Scan through, and find "Helvetica." This is the name of SpringBoard's standard font.
    9. Once found, start at the "H" and start typing in your font: Georgia. You'll notice that you have extra letters that the Georgia did not cover.
    10. Replace the extra letters with new lines. Do this by switching over to the left side of your computer screen, the side with all the letters and numbers. At where you left off, start replacing letter/number pairs with "00." That is two zeros. Do this until you finish off the rest of the word Helvetica and do nothing more.
    11. Compare your work to the picture included below.
    12. Save your work.
    13. Check SpringBoard's size in bits again. Make sure it is EXACTLY the same as it was before you started hex editing.
    14. Copy SpringBoard back into /System/Library/CoreServices/SpringBoard.app on your phone.
    15. Using your SSH client, navigate to /System/Library/CoreServices/SpringBoard.app
    16. Type this into the command line: ldid -S SpringBoard
    17. Reboot.
    18. Assuming you performed every step correctly, your phone should now be running the font of your choice.

If, after rebooting, you get a SWoD, just replace SpringBoard with a backup of it and start over again.

Note, not all fonts are all inclusive. That is, some fonts don't have bolds, italics, etc. Be careful when selecting a font.


Hex edited.
Click the image to open in full size.
(right click, view image for a full sized view)


I know what you're thinking, why would I do all this when I can just change fonts in CGFontCache.plist. Well, doing things that way changes every occurrence of Helvetica with the font you selected. Changing the font this way ensures that only SpringBoard's font will change.



Enjoy,
Skylar

Last edited by SkylarEC; 07-23-2008 at 04:47 AM..
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #2  
Old 07-23-2008, 11:14 AM
What's Jailbreak?
 
Join Date: Sep 2007
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts

thanks a lot but one problem
the size after I modified is different
how I can adjust it to be what it was before I opened it?????
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #3  
Old 08-04-2008, 06:42 AM
What's Jailbreak?
 
Join Date: Nov 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts

After Pwnage and update from Cydia, all my icons font & top bar time font change to "Courier" !!! Pls anyone can help me to fix it ?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
Reply

  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > iPhone Modding > File Mods

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Go to Top
ModMyI

All times are GMT -6. The time now is 10:09 PM. Powered by vBulletin® Version 3.8.4
If you need Dedicated Server Hosting, you should check out SingleHop. | Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 Copyright © 2007-09 by ModMy, LLC. All rights reserved.

iPhone News / iPhone Forums / Apple News / Apple Forums / RSS / Contact Us / / Privacy Statement / Top