Install BootCamp 4.0 x64 on Santa Rosa Mac

news 6 Comments »

My MB is a Santa Rosa, and I’m annoyed that Apple doesn’t officially recognize that it supports Win7 64bit.

After some poking around, here’s how I got it to work.

  1. Download Bootcamp 4.0 Drivers, here’s a link on some Apple CDN for the .pkg file containing the drivers:
  2. Open this file with 7Zip in Windows, (the old version 4.65 is advised, here’s a link to download the portable 7-Zip version 4.65) and go through a few layers to extract BootCampESD.pkg\Payload\Payload~\.\Library\Application Support\BootCamp\WindowsSupport.dmg\0.Apple_ISO
  3. Rename the file from 0.Apple_ISO to BootCamp4.iso
  4. Extract the iso with 7Zip to a folder.
  5. From the Windows start menu, search for “cmd”, and right-click to run as administrator.
  6. Navigate to the extracted folder, for example:
    cd "WindowsSupport\Drivers\Apple"
  7. From the prompt in that folder, run “msiexec /i BootCamp64.msi”

This worked for me, hope it helps you.

Push gmail settings for iPhone 4 and iOS4

news 6 Comments »

Currently Gmail default settings on iOS4 devices won’t work as Push mail.
So you have to setup a your Gmail account as an Exchange Server and push mail notification will start to work correctly.

1. Open the Settings application on your device’s home screen.
2. Open Mail, Contacts, Calendars.
3. Tap Add Account
Read the rest of this entry »

Dell Mini 9 USB pendrive recovery from failed BIOS flash

news 69 Comments »

After a bad BIOS flash (or better, a flash of a bad BIOS, ghgh) on my Dell Mini 9 I started searching for a recovery procedure using Phoenix BIOS Crisis Recovery Disk.

Dell Mini 9 BIOS

But this tool requires an USB floppy drive, as seen on Mydellmini forum. Being this hardware quite hem… legacy+unuseful I managed to create a USB pen drive image that will restore the netbook with the very latest A05 BIOS.

  • Download the USB pen drive image here and unzip the file.
  • Copy the A05.DD image to your usb pen, using dd on linux:
    dd if=A05.DD of=/dev/sdX
    replace X with your correct device, of course. Haven’t tried, but this may work also with dd for windows.

Then start the recovery procedure:

  • Remove battery and power adapter;
  • Confirm USB pen drive is plugged in;
  • While pressing and holding Fn & B keys, attach power adapter plug. The power lights will momentarily blink and your Mini will beep once;
  • Continue to hold Fn & B and press the power button;
  • Release the keys once USB pen drive begins reading (your pendrive led starts blinking);
  • Your Mini will beep continually until the flash is completed and reboots.

Note:  the display is not available during this process.

How to enable Syslog on iPhone fw 2.x for debugging

news 7 Comments »

You can no longer debug output in 2.0 by launching your app from SSH. So how do you get those NSLog outputs? The answer is to enable the syslog and then you can use tail -f /var/log/syslog to see all the output. Here is how:

  1. edit /System/Library/LaunchDaemons/
  2. find the <string>/usr/…/syslogd</string> line
  3. below that add:
  4. Type: echo '*.* /var/log/syslog' > /etc/syslog.conf (open /etc/syslog.conf and make sure that you have *.* /var/log/syslog without any extra characters)
  5. Type: launchctl unload /System/Library/LaunchDaemons/
  6. Type: launchctl load /System/Library/LaunchDaemons/

And now you have an awesome /var/log/syslog that contains NSLogs (and I think stderr) from your application.

Remember, to see the output open SSH and type: tail -f /var/log/syslog to see all the output.

Source of these info: TheBigBoss website, and originally from Saurik.

Here’s an output example… frack!

Mar 23 09:56:37 iPhosk[198]: 259491397.100,static void CLFileUpdate::onDownloaded(CLFileDownload*, bool, void*): could not download from to /var/root/Library/Caches/locationd/clients-b.plist.temp

How to make a DVD copy backup of MAC OS X

news 42 Comments »

The following steps will help you create a perfect working (i.e. also bootable, indeed ) DVD copy of Mac OS X Leopard. I successfully followed this tutorial to backup the two InstallDVD that come in bundle with my MacBook.

Making a DVD Image

Step 1. Insert the retail Mac OS X Install DVD into your drive.

Step 2. Launch Disk Utility (Applications > Utilities).

Step 3. In Disk Utility, you will notice a white pane on the left hand side. In the pane, select the Mac OS X Install DVD by clicking on it once.

Step 4. Click New Image on the Disk Utility toolbar.

Read the rest of this entry »

How to bypass firewalls or captive portals with dns2tcp

news 22 Comments »

Have you ever found an open wireless access and when opening your browser you get a nice login screen asking you a credit card number (a captive portal)? What’s next? Make your choice: fill the form with the magic numbers or try to bypass this security mechanism!

Classic wireless hot spots commonly allow two protocols: ICMP and DNS (UDP/53). ICMP (Internet Control Message Protocol) is used to report errors and warning to the client and DNS is mandatory to resolve hostnames. While ICMP can also be used as a transport protocol (see PTunnel), firewalls may block unusual ICMP packets (ex: suspicious big packets). On the other side, there are often less restriction regarding DNS traffic.

In the following tutorial, we will use the tool dns2tcp written by two guys working for HSC, a French security company.

Read the rest of this entry »

Browser javascript-crunching speed comparison

news No Comments »

Test done with Dronaeo website (a collection of some JS benchmark script done by Mozilla foundation) on a 2.4GHz Macbook w/ 4GB of RAM.

Windows Vista SP1 (virtualized in Parallels),28106,27880,27933,28169

Google Chrome pwns all… it’s the 1st column, wrongly reported by dromaeo test as “Safari/525.13“. Firefox 3.01 is four time slower, and Opera 9.51 and Safari 3.2.1 for Windows (reported as “Safari/525.21“) are closer. And oh, IE simply crashed running the page ;(

Mac OS X 10.5.3 Leopard,28286,28266,28228,28392,28439

Firefox 3.0.1 wins, but Safari 3.2 made very similar points… Opera is a bit slower than in the windows counterpart… (Good ‘ol) SeaMonkey and Shiira (reported as “Firefox/”) are four times slower…

Linux Kubuntu64-current:,28522,29158,29213,29286

Galeon (linux only) is the fastest browser after Chrome, but Firefox 3.0.1 is very near. Konqueror 4.1.1 and Opera 9.52 make decent figures, SeaMonker as usual is the last ;D

Now some inter-OS speed comparison:

Firefox 3.0.1:,28286,28540
measured exactly the same speed on ALL os!

Opera 9.52:,29286,28303
is a lot faster on Windows than Linux or OS X.

Seamonkey 1.1.11:,28439,29213
is slightly faster on Linux than Windows or OS X.

EDIT: Google Chrome vs all memory usage screenshot here.

TR-909 iPhone emu tryout

music, videos 13 Comments »

How to enable MacBook (Santa Rosa) sound in Ubuntu Hardy Heron

news 7 Comments »

First add this line to the end of /etc/modprobe.d/options

options snd_hda_intel model=mbp3

Reboot for changes to take effect.

Now enable your speakers. Right click on the volume control icon in the notification area and select “Open Volume Control”

Under switches, tick the box next to “Speaker”

And that’s it, you should now be able to swing to your favourite music.

Plug & Pray Mac OSX vs Windows XP

news 5 Comments »

While surfing MacTalk forums, I saw a thread with pictures that I find both funny and true.

I believe these are the installation steps for a particular DJ equipment. Now I know why there are so many DJs around using MacBooks.

© 2000-2007 by fosk & powered by Wordpress themed by N.Design Studio