Recently in Apple Category

2G iPhone updating to iPhone OS 3.0

|

It's confirmed that if you have a 2G iPhone that is unlocked with BootNeuter (running firmware 2.2.1), you can safely update to OS 3.0 using iTunes (yes just press that Update button).

For detailed and step-by-step instructions see here

This method requires: jailbreaked iPhone 2.x, Cydia, Term-vt100, OpenSSH

Install MobileInstallation Patch from Cydia via “http://www.iphone.org.hk/apt/”, the patch is under section “Tweaks”. If you currently have the hackulo.us MobileInstallation, you ALSO need to install the patch. Don’t worry, you can install appulous apps with this patch.

  • In XCode, go to Project > Edit Project Settings.
  • Set Base SDK to "Device - iPhone OS 2.0"
  • Under Code Signing Identity, set Any iPhone OS Device to "Don't Code Sign"
  • Delete the value of Code Signing Resource Rules Path
  • Delete all previous build files.
  • Go to Project > Set Active SDK > Device - iPhone OS 2.0
  • Go to Project > Set Active Build Configuration > Release
  • Build. NOT Build and Go.
  • Copy MyApp.app to iPhone under /Applications using ssh or whatever method you prefer.

Now open Terminal on iPhone and execute the following code

su -
chmod +x MyApp.app
ldid -S MyApp.app/MyApp
killall SpringBoard //restart the SpringBoard

Run MyApp by touching the icon on SpringBoard.

Update: With the MobileInstallation Patch mentioned above, iPhone 2.2 seems unable to install/upgrade app by itself, you have to use iTunes (8.x) to uninstall an app first, then install/upgrade it.

Fedora on MacBook Pro

|

Because of all the computer network related stuff I have been doing I decided to install a Linux OS on my macbook pro 1,2.

Tried Ubuntu first but it didn't work out very well. Upon the first startup I was able to connect to wifi and install updates. However, after updating the system and rebooting, I lost network manager and the ability to connect to wifi. I've no idea what I did to deserve this, so ended with installing Ubuntu again. This time was even worse, I couldn't even login because the keyboard and trackpad didn't work.

Basically I just gave up getting Ubuntu to work on my MBP. Fedora, however, worked very well and I must admit I really like the blue color scheme. It's cool.

Installing Fedora was quite smooth and uneventful. Although I hesitated when I realized I had to move the free space (partitioned by Boot Camp) to another sequence, but that doesn't matter. After installation I had to tweak the system for trackpad, but that's all. Everything works and I'm truly happy with Fedora.

Now come to the OS part, I don't really care about the difference between yum and apt-get, although apt-get seems to get me more packages than yum could. What I did not get at the beginning is that libraries like libnet and libpcap have a development version and another version which does NOT contain header files. Well, doing yum groupinstall "development tools" is obviously not enough.

Managing fonts on Linux is a pain in the ass, even with FontMatrix. Typographers should stick to Mac OS at all circumstances, believe me.

I'm not quite sure why Fedora doesn't come with Tomboy preinstalled, but it's a really neat software and I currently use it as an equivalent of DEVONthink on Linux, besides all my note-taking apps on the web.

A note about the virtual console on Linux, I think it's brilliant. Mac OS should definitely implement something like this, because this multiple-desktop concept, aka Spaces, is downright stupid compared the multiple-console concept. Plus, isn't it cool to copy and paste using just mouse buttons (um, using a mouse)?

Update: Read up on this guide for a detailed, step-by-step, explanation on how to get Fedora 10 working on your MBP.

I downloaded F10-i686-Live.iso and burned it onto a CD. Used Boot Camp to create a partition for Fedora, because I'm lazy. The compensation is that you will see Windows instead of Fedora, and you have to press Alt every time upon booting to select Fedora. Do not alter the size of free space created by Boot Camp, I think there will be some undesirable consequences if you did.