how to fix error 1013 while updating iPhone to 4.2

I got this annoying error 1013 while updating my iPhone 4 from 4.1 to 4.2. I don’ t know how I got this error since I didn’t jailbreak my iPhone and use all legal apps on my phone. I try many solutions found on the internet, but only this one work;

  • I have to comment out “” in etc/host
  • first go to Finder > Go > Go to folder and type “/private/etc/”
  • Drag “host” file on your desktop and open it with TextEditor
  • find the line with “” then put “##” infront of that line.
  • Save this file and replace this file back to its original place.
  • Now I can restore my iPhone to 4.2 version.

Cheers ^__^

Upgrading iPhone to 4.0.1

I just upgraded my colleague iPhone 3GS from 4.0.2 to 4.0.1 because he need to jailbreak it with The overall process is totally different from when I used to downgrade iPhone firmware a couple years ago. As  a result, I think it’s a good thing to share this experience with the world today.

1. First thing we need to add

to the end of this file C:\Windows\System32\drivers\etc\hosts (Windows) or /etc/hosts (Mac OS X)

PS. you might need to run notepad with administrator privilege for Windows7

After this process, your iPhone firmware checking with Apple is optimized within local machine.

2. Extract firmware 4.0.1 with Winrar

3. Replace 8A306 with 8A400 in buildmanifest.plist and restore.plist

4. Open 4.0.2 firmware with Winrar (do not extract)

5. Copy all files in 4.0.1 firmware folder to 4.0.2 firmware in Winrar

6. delete all 001 dmg files.

7. Save this file to be used to restore .

8. Put the iPhone in DFU mode and restore with this new firmware.

9. wala, now you can jailbreak this firmware with


How to add HTML signature in Gmail?

Yes, It’s been a while since I haven’t updated my blog. Today I just found this interesting tip that I’d like to share to the world.

I did utilized the Google Apps for my work for quite a while and honestly I don’t like the fact that Google mail do not support HTML signature. I think good looking email signature represents the creativity and imagination of person.

I have been using the “Canned responses”, a Gmail Lab plugin to insert the HTML signature for a while. However, it’s not the best way to do it because I have to manually input the signature every time I want the signature to appear.

Here come the rescue, this WiseStamp Google Chrome Extension is an awesome extension that make my life much easier.

All you need is just installing the Chrome, installing this Extension and customize the signature. Then we can set the signature to insert automatically every time we want. Walla, enjoy your HTML signature in Google Mail ^__^

Problem with Google Apps Sync “incorrect password”

I’m pretty much happy with overall Google Apps services [Education Edition]. The simplicity and functionality of the cloud networking make my life much easier. I can access all my information anytime I want to, by integrating the mobile sync function to my iPhone. I think overall connectivity makes everything perfect, my iPhone, my Mail application on Mac, my MS outlook at work and on the web are now in sync.

The only problem I’ve found lately is the “incorrect username or password” showing up on one of my user even though I’m pretty sure that the password is correct. The fix I’ve found is the Captcha is locked so I just unlock it by going to the link below.

That’s it ^_^

Mount external drive via SMB on AppleTV

It’s been a very long time since my last post 😛 I have wrote many articles about AppleTV so far. So now I realize that the best way to hack AppleTv, is by using ATVFlash . It’s very easy and take less than 15 minutes for the whole process. The things I like about ATVFlash, is the fact that it comes with many applications, my favorite are NiToTV and XMBC.

At the moment I’m using NAS to store all my TVshows and Movies. I did mount NAS to my AppleTV with NiToTV. After running SmartInstaller, I can plug in external HD via USB or mount any network drive to AppleTV. The hard part is how to input the correct SMB path in NiToTV. I spent several hours to figure it out. Here is how I did it.

First thing, I have to mouth NAS to my MacbookPro first to see if SMB is actually working. In Finder click on  [Go>Connect to Server] and put in the address of the NAS smb://

Right click on mounted drive and Get info. I can see [Where: ]the correct path.

Then go to NiToTV > Network and Mount the network drive

Just input the information as shown in the example above..boom .. done!!

Enjoy ^_^

Watch NBA live on Mac

It’s playoff 2009 but ESPN or Starsport don’t have much of my favorite team, Cleveland Cavaliers  on their program. I used to have NBA broadband league pass but right now it’s not available in my area. Therefore, I did a little research and found out that I can get the live stream using Sopcast program to watch NBA live and also other sports such as NFL on my Mac with a little modification. Here is what I did,

1. Download Darwin in order to run Windows application on Mac.
2. Drag Darwin app into Application, and then open WinHelper in Application > Darwin
3. Download Sopcast, and then install using WineHelper
4. Download MPlayer and install this app.
5. Open Sopcast and put the stream URL for the game you want to see from MyP2P forum or NBA Live
6. Open MPlayer goto File > Open location and put the URL mms:// (if 8902 doesn’t work, try 8903 or 8912)
7. Done, now the live NBA should be running on MPlayer.

PS. 1. X11 (in Apple install disc) is needed to be installed prior to Darwin
2. If the CPU usage is too high, we might need to kill WineHelper process. Here is how

Helpful resources:

Mail app and iPhone mail CSS signature

CSS signature in mail app is pretty cool. It’s small, neat and less problem displaying on other email clients. I managed to have both my signatures on the Leopard mail app and iPhone 3G mail app. Here is what I did. (The idea is from


  • Create one signature on Mail app to act as a dummy
  • Download or copy the CSS signature for Mail app (*.html) and then edit as you want (I used Coda, my favorite editor)

<div id=”sig” style=”line-height: 13px; margin: 6px 0; padding: 8px; border-top: 1px #999999 dotted; border-bottom: 1px #999999 dotted; font-family: ‘Lucida Grande’, Verdana, Arial, Sans-Serif; font-size: 11px; color: #333333;” >

<img src=”” alt=”me” width=”29″ height=”29″ style=”float: left; padding: 2px 6px 0 0;”>

<strong style=”color: #333333;”>Jiradett Kerdsri SQNLDR</strong>: Blog: <a href=”” style=”color: #999999; text-decoration: none; border-bottom: 1px #999999 dotted;”></a> <a href=”” title=”visit” style=”color: #339999; text-decoration: none; border-bottom: 1px #999999 dotted;”></a>| <a href=”” style=”color: #999999; text-decoration: none; border-bottom: 1px #999999 dotted;”> VCARD</a><br />

contact | <a href=”” style=”color: #999999; text-decoration: none; border-bottom: 1px #999999 dotted;”></a> – 6681-407-7024 | Twitter – <a href=”” style=”color: #999999; text-decoration: none; border-bottom: 1px #999999 dotted;”>jiradett</a></div>

  • Now go to ~Users/Library/Mail/Signatures you should see your dummy signature (*.webarchive) that you just created. Remember the file name, you’ll need it afterward.
  • Open the signature file with Safari, it should be displayed exactly as you want in your Email.
  • In Safari go to File > Save as . Under the Format, choose Web Archive

Save as in Safari

  • In Export As, make sure that it’s the same name as your dummy file. Overwrite the existing file with the new one.
  • Done, now in your Mail app, you should be able to see your new CSS signature appended at the end.

Css Signature in Mail app


It’s much easier in iPhone to edit the signature to replace the boring ‘Sent from my iPhone’ signature (from We just need to edit, /private/var/mobile/Library/Preferences/ . However, you’ll need a Jailbroken iPhone to edit that file. (I’m using iPhone 3G with 2.2 firmware and Fugu to SSH into the iPhone)

Edit file in iPhone

First we have to create the HTML code iPhone CSS signature shown below.

Now we need to add this code to signature.

The image showing on iPhone is encoded into base64 using

plist fileI download this file using Fugu to edit on my Mac with Property Editor then upload this file back to iPhone. It’s work very well so far.

Signature in iPhone