99 little bugs in the code...

Friday, July 11, 2008

How to restore your bricked iphone from failed firmware 2.0 upgrade to 1.1.4

After two days of desperate attempts to unbrick my iphone after a foolish attempt to upgrade to version 2.0, I finally found the solution.
(DISCLAIMER: I am no longer maintaining this blog, I am only posting for helping the ones with this situation).

Things you need before starting:

1. You need an older version of iTunes. Grab it from here if you don't have one. If you're on mac, trash itunes 7.7, go to your "music" folder and rename the "iTunes" to "iTunes-Backup", otherwise the new "old" version will complain about incompatible library format.

2. Grab a copy of Firmware 1.1.4 (if you're on mac, download using Firefox, otherwise Safari might rename it and try to extract it for no reason).

3. Download this patched version of zIphone (ZiPhoneOSX patched by kIREmK 04.05.04_G [En], Mac and Win download links at the bottom). This was was just updated today to work with the new baseband and it will do the WHOLE unbricking miracle!

4. Download the original zIphone as well.

Let's start:

1. Put your phone into DFU mode.
2. Using the downgraded iTunes (I used 7.6, really no need to use 7.5 like other blogs say), Click + shift+"Restore" on Win or option+"Restore" button and point to the 1.1.4 firmware you downloaded at the previous step 2. If you get an error that starts with 16xx, restart your computer or just use another one. I couldn't get this working on my mac and doing this step with a Windows computer that already had iTunes 7.6 worked a great deal!.
3. After completion, you'll see an Error 1015 message or something similar. That's ok.
4. Kick your phone out of DFU mode using the NON patche zIphone (or any other unlocking tool that does this).
5. Close any other unlocking tools you may have opened in step 4.
6. Run the PATCHED zIphone you downloaded at the first step #3. Make sure you select the "Baseband downgrading" checkbox and hit "Start".
7. After finishing, you're back to normal. You can unlock your phone in the regular fashion now (I assume you have knowledge about this). Use non patched zIphone or iLiberty...whatever worked before, should work now.
8. Your iPhone should be back to life now and you will do like me: Wait until a proper and tested unlock tool (like the highly anticipated Pwnage tool 2.0) will come out!
9. Get some sleep, the iPhone lives to see another day.

Sunday, December 04, 2005

GIMP Like Color Picker made with Firefox Canvas !

After the 1st 3D game made with the help of Canvas, here's another cool usage of Canvas!

read more | digg story

Wednesday, November 30, 2005

Top 10 custom JavaScript functions of all time

A very nice top 10 of the most used (custom or native) JavaScript functions! A must read!

read more | digg story

Monday, November 21, 2005

Who killed the popup ads ?

An interesting story by Robert Accetura about how the most annoying Internet advertising method became almost ineffective and why you're more relaxed now when browsing sites.

read more | digg story

Thursday, November 17, 2005

PHP to get Native Input Filtering

A new addition to PHP that will promote good practices and will prevent many security issues related to input data from users will (hopefully) be available after PHP 5.1.
You can get those features already from the PECL extension that provides pretty much the same functionality. Check it out PECL Input Filter !

read more | digg story

Friday, November 04, 2005

Turning on Font antialiasing in Zend Studio 5!

Here's a nifty solution. I'm so godamn angry I didn't found it by now:
1. Go to this page using IE and enable/tune your Cleartype settings.
2. go in Zend's instalation directory (mine is C:\Program Files\Zend\ZendStudioClient-5.0.0Beta2\bin)
3. Open (first make a backup) runStudio_windows.bat with any text editor
4. replace the line in the bat with this one:
..\jre\bin\java -Xms16m -Xmx192m -Dsun.java2d.noddraw=true -cp ZendIDE.jar;MRJToolkitStubs.zip;sftp.jar;jhall.jar;../docs/help.zip -Dswing.aatext=true com.zend.ide.desktop.Main

Update: it seems that you can avoid the batch file and put the aditional parameters in ZDE.lax (instalation dir) by altering the line starting with "lax.nl.java.option.additional=" and the same params as above. (thanks to zend studio forum m8s)


Notes:
  • this doesn't seem to work with Java 1.6 (Mustang) (ZS is bundled with 1.5 so it's Ok if you didn't replaced it with 1.6 like I did hoping I'll get antialias).
  • you'll always have to run the bat, running ZDE.exe will simply ignore the antialias setting, just make a shortcut to it and choose Zend's icon.
  • Don't skip the Cleartype settings from Microsoft's site !
  • Enjoy using some nifty programming font's like the upcoming Consolas font in Windows Vista (I can't provide a link due to legal restrictions, you can see it in the screenshots and google for a download link), from now on you're not forced to use the crappy Courier new or other ugly fonts.
Before

After


Zoom (no, I did not played with the Blur filter from photoshop)
Click to see the full size.

Saturday, October 15, 2005

What to expect after Firefox 1.5 ?

Well..the Mozilla developers are having lots of cool ideas like Javascript 2.0, Python scripting support, tagged bookmarks instead of classic ones using bayesian algorithms and more goodies. Read on.

read more | digg story