Restore iPhone backup made by iTunes

Sometimes your iPhone freezes and looses information. As example the SMS database. I've had some freezes in the SMS application which resulted in an empty SMS database.

Luckely enough, iTunes makes an backup of your iPhone, everytime it syncs. This backup contains preferences, notes, SMS messages, call history and photo's.

When you're in a situation where the iPhone lost, for example, the SMS database, DON'T sync, but just remove the following folder:

/var/mobile/Media/iTunes_Control/iTunes/
 

Now connect your iPhone again with your mac, iTunes will detect the iPhone as a new device, and asks you if you want to restore a previous backup.

http://tweakers.net/ext/f/LKoaaNCWNRvOzMKDrNgBdTCF/full.png
Click "Continue", your iPhone will be restored to the previous databases and settings, while keeping your applications etc.
Comments (0)  Permalink

Activate Single Window Mode - Safari

Since Safari 3.1 it's possible to use Safari in single window mode.
That means all links which normally open up a new window, now simply load in a new tab in the current window.

To activate this behaviour, enter the following command in terminal:
defaults write com.apple.Safari TargetedClicksCreateTabs -bool true

To reverse:
defaults write com.apple.Safari TargetedClicksCreateTabs -bool false
Related Entries:
Boot iPhone or iPod Touch in verbose mode
Alway boot Mac OS X in Verbose Mode
How to force your iPod Touch into restore mode
Comments (0)  Permalink

Fix broken passwd on 1.1.3 or higher

On 1.1.3 or 1.1.4 (or maybe higher), the "passwd" utility refused to work correctly and could mess up your springboard. The tool is necessary to change the password on BSD Subsystem 2.1. To fix this problem, replace the existing "passwd" binary file with the given.

Download and extract passwd.zip,
and move the file with AFPd (for example) to /usr/bin/ , chmod to 755:
# cd /usr/bin
# chmod 755 passwd
# passwd
# Enter new password:
# ...

Related Entries:
KPN operator logo voor iPhone
How to get 1.1.4 working with 4.6 bootloader
Enable voicemail button
Nederlandse nummer herkenning
Boot iPhone or iPod Touch in verbose mode
Comments (0)  Permalink

Completely Disable Spotlight in Leopard 10.5

When you don't use Spotlight, it's better to disable it completely.
The MDS process takes up much CPU resources and it isn't also very memory friendly.
This How-To is written for Mac OS Leopard 10.5, and should not be applied to systems running Tiger.
    Start Terminal and enter the following commands:
  1. Stop and disable the spotlight application itself:
    #cd /System/Library/LaunchAgents
    #launchctl unload com.apple.Spotlight.plist (stops the application for the current user)
    sudo launchctl unload -w com.apple.Spotlight.plist (disables for every user)
    Just ignore the errormessage from the last command.
    The reason you get the error is that you are effectively executing the command as root, but the root user hasn't any running instance of Spotlight. On the other hand, only the root user is able to disable the automatic start of Spotlight. Thus the need for the sudo command.
  2. Stop and disable the background server:
    #cd /System/Library/LaunchDaemons
    #sudo launchctl unload -w com.apple.metadata.mds.plist
  3. Remove the .Spotlight-V100 directories
    sudo find / -iname '.Spotlight-V100' -type d -maxdepth 3 -print0
    | xargs -0 -t -n1 sudo rm -rf

    The find part searches for the Spotlight directories and will find the one at the system root as well as on any partitions and attached drives in /Volumes. The -print0 part is there to guard against any spaces and other special characters in filenames when executing the following rm command. The .Spotlight-V100 folders are actually empty. Stopping the mds server does this, so if you aren't bothered by these vestiges of the process, you can ignore this step.

If only some of your accounts need/want to have Spotlight enabled, you can copy the /System/Library/LaunchAgents/com.apple.Spotlight.plist to the users own ~/Library/LaunchAgents folder and enable/start Spotligth:
    cp /System/Library/LaunchAgents/com.apple.Spotlight.plist ~/Library/LaunchAgents/
    launchctl -w ~/Library/LaunchAgents/com.apple.Spotlight.plist
Related Entries:
How to get the Growl Mail plugin working in Leopard
Leopard: Lower the window drag delay between spaces
Comments (0)  Permalink

KPN operator logo voor iPhone

Only for Dutch iPhone users.

Voor KPN gebruikers, dit is een KPN Carrier bundle.
Deze bundles bevatten informatie over een operator netwerk en er kan ook een operator logo worden mee gegeven.

Deze bundle bevat standaard informatie over het KPN-netwerk (voicmail nummer e.d.) maar ook een KPN logo.

Voer de volgende stappen uit om de bundle door de iPhone toe te kennen aan de KPN MMC/MNC-codes:
  1. Download KPN.bundle
  2. Plaats de file in /System/Library/Carrier Bundles/ via SFTP of AFP
  3. Maak een symbolic hard-link aan:
    • cd /System/Library/Carrier Bundles/
    • ln -s KPN.bundle 20408
    • Reboot
  4. Klaar

KPN operator logo
Related Entries:
Fix broken passwd on 1.1.3 or higher
How to get 1.1.4 working with 4.6 bootloader
Enable voicemail button
Nederlandse nummer herkenning
Boot iPhone or iPod Touch in verbose mode
Comments (2)  Permalink

How to get 1.1.4 working with 4.6 bootloader

Yes it's possible ! You can have 1.1.4 on your iPhone while keeping the 4.6 bootloader. The advantage of keeping 4.6 is the possibility to flash a custom bootloader in the future, which isn't possible with the 3.9 bootloader. It's also not possible to upgrade from 3.9 to 4.6, so if you got BL 4.6, this guide is for you!

Here we go:
  1. Restore your iPhone to 1.1.4 with iTunes.
    You can find 1.1.4 here
  2. Download ZiPhone 2.2 and 2.5c
  3. Keep your iPhone with iTunes connected and run ZiPhone 2.5c
  4. Click on Advanced, and check Jailbreak Activation, and start the proces
  5. When the proces is finished, quit ZiPhone 2.5c and start ZiPhone 2.3b
  6. Check 'Unlock' and start the proces
  7. Done !
Now you have a full working iPhone, with firmware version 1.1.4, bootloader 4.6, modem (baseband) version 04.02.13_G and working "Locate Me" feature !
Related Entries:
Fix broken passwd on 1.1.3 or higher
KPN operator logo voor iPhone
Enable voicemail button
Nederlandse nummer herkenning
Boot iPhone or iPod Touch in verbose mode
Comments (2)  Permalink

How to fix VMware's network bridge on Ubuntu 7.10

When you can't get your network device to work with Ubuntu 7.10 on VMware Fusion, simply enter the following command in your terminal:
    sudo dhclient eth0
This will force your system updating it's IP-address with VMware's DHCP server.
Related Entries:
Get JOGL working on Linux
Comments (0)  Permalink

Get JOGL working on Linux

To get JOGL (Open GL for Java) working under Linux, download the latest archive for your system from https://jogl.dev.java.net/.
Extract the archive, and copy the extracted files to /usr/lib/jvm/java-6-sun/jre/lib/ext/ with your terminal like this:

  1. Open terminal
  2. type:
    sudo su
  3. move all the jogl files to the terminal window
  4. add "cp /usr/lib/jvm/java-6-sun/jre/lib/ext/
  5. press return
  6. done
Related Entries:
How to fix VMware's network bridge on Ubuntu 7.10
Comments (1)  Permalink

Load VMware's networking extensions manually

VMware installs some kernel extensions to your mac by default. These extensions also run when you don't have VMware open, so basicly it slows down your system startup and usage.
To load and unload VMware's networking kernel extensions manually, follow these steps:

  1. Install VMware
  2. Run Terminal, and enter:
    sudo rm /Library/LaunchDaemons/com.vmware.launchd.vmware.plist and enter your password
  3. Restart your mac
  4. Run Automator, and choose a custom workflow
  5. Drag "Run Shell Script" in the left pane under Library/Utilities to the workflow on the right
  6. Enter the following command in the input field:
    sudo /Library/Application\ Support/VMware\ Fusion/boot.sh --start
  7. Drag "Launch Application" to the workflow, and choose VMware
  8. Save the project as an Application, name it "Start VMware"

  9. Redo these steps and enter as shell script:
    sudo /Library/Application\ Support/VMware\ Fusion/boot.sh --stop and in stead of "Launch Application", choose "Quit Application" and safe also this project as Application, name it "Stop VMware"

Now, when you want to use VMware, just double click on "Start VMware", and when you quit, run "Stop VMware"
Comments (0)  Permalink

Restore and unlock iphone to 1.1.2

After installing Geohot's software unlock for 1.1.2/3 OTB, my iPhone was REALLY messed up.
It responded very badly, and the speaker was gone.
I decided to downgrade back to 1.1.1 and jailbreak him again, but that wan't as easy as I thought.

When I restored 1.1.1 with iTunes 7.4.2 I was getting errors like 1011 and my iPhone just woudn't respond anymore. I managed to get it bootup once, but it still didn't responded fast to my input on the keypad.
I decided to restore the phone to 1.1.3 (!), and suprisenly my iphone responded fast and the speaker worked again!

Next thing was getting 1.1.1 again working, in order to jailbreak the device.
I managed to get 1.1.1 restored with iTunes 7.5, got out of DFU mode with Independence and I jailbreaked it again:

From the start:
  1. Connect your iPhone to your computer
  2. If it doesn't show up in iTunes, then put it in DFU mode by pressing and holding both the Power button and the Home Button. After 10 seconds, the iPhone's screen will go black; let go of the power button, and continue holding the home button until iTunes displays a pop up. Click OK.
  3. alt+click on restore, and point iTunes to the 1.1.1 firmware, and let it restore
  4. When done, hopefully it displays the emergency screen, if not, eject the iPhone in iTunes, quit iTunes and bootup independence. Let it connect for a while and hopefully the iPhone is getting kicked out of DFU mode. If not, restore again
  5. Slide to get to the emergency screen
  6. Type *#307# and press Call
  7. Now, if your iphone does NOT respond well on your input, and you don't hear the speaker anymore, restore to 1.1.3, and start again fromt he beginning !! (when restoring to 1.1.3, the baseband will be completely re-written, which fixes the encountered problems)
  8. press the Back button on top of your screen to delete the just typed *#307#
  9. Your phone will start ringing do not pick up
  10. Delete all just typed numbers and type 0 then press call again
  11. Your phone will ring again now press accept and then press hold
  12. Your phone will ring again now press dismiss and your phone will go to the contacts/dial screen
  13. Press contacts, add a contact without a name
  14. For this contact you now have to add an URL (web adres):
    This has to be exactly: prefs://1F
  15. Save your contact and click on the url, you will now get to the Settings menu in your iPhone
    where you select your WiFi and make sure the Auto-Lock is set to Never
  16. Restart your iPhone
  17. After your iPhone restart the Wifi icon should be back (indicating WiFi is working), if not then repeat step 1-10 again
  18. If your WiFi does work repeat step 1-8
  19. Now add another contact, with a different namen and with the URL: http://jailbreakme.com
  20. Save this contact and
    Go to the URL you just saved (http://jailbreakme.com)
    and install appsnap.
  21. Launch Installer.app
  22. Install BSD Subsystem
  23. Set Auto-Lock to Never
  24. Install SoftwareUnlock for 1.1.2OTB and 1.1.3OTB (because the readme says, this can only be installed on 1.1.1
  25. Scroll down to Tweaks (1.1.1), and install OktoPrep
  26. Connect your device to your computer
  27. Launch iTunes
  28. Choose your device, alt+click on UPDATE, and select the 1.1.2 firmware file
  29. Wait forever for your device to update reboot
  30. Close iTunes
  31. Download 1.1.2 jailbreakon Mac, double click on jailbreak.jar, on Windows, double click on windows.bat
  32. Follow the on screen instructions and be patient
  33. Now your iPhone is 1.1.2 jailbroken
  34. Install iWorld
  35. Done.


Related Entries:
iPod Touch 1.1.1 to 1.1.2 upgrade guide
How to force your iPod Touch into restore mode
Comments (1)  Permalink
Next1-10/52