Saturday, November 27, 2010

Blog Moved!

This blog will continue at http://www.davychiu.com!

Wednesday, November 24, 2010

Toshiba Recovery TAF Files 東芝リカバリ

I upgraded a Toshiba TW720LL to Windows 7 and lost all the configuration utilities; plus I also deleted the recovery partition in the process. Fortunately, I created a ghost image of the disk before installing. I wanted to use the setup files on the Windows partition but they were accidentally deleted to make more free space. I didn't want to restore the laptop back to the old windows to recover the setup files so I loaded the disk in VMware and tried to create a recovery CD. However, the program (RDCLcher) to create the CD also was also accidentally removed.

So I resorted to try extract the TAF image files on the hidden, recovery partition. TAF files, I discovered, are proprietary to Toshiba but looking at the decompression executable, it appears to be a wrapper for zlib.

Given more time, I may attempt to reverse engineer the wrapper. I opted to use the decompression tool as is to extract the TAF files. The tool was quite integrated with the recovery process. Being such, it was easier to persuade the recovery process to extract the files for me.

The recovery partition is bootable once it is set active. The recover process begins on boot but will restart when the DMI check does not find Toshiba hardware. There are two files that need to be modified for the recovery to work. The first file is recovery.bat in /bin and the second file is data.ini in /.

Above is what recovery.bat should look like. Edit out all checks like DMI and error returns.

In data.ini, CDNUM and CDMAX should be changed to 1. It should be noted that I extracted the recovery partition and mounted it as a CD. Upon booting the CD, all checks should pass and allow the recovery process to progress.

Here is the RDCLcher and Sonic software in case anyone accidentally removed theirs too.

http://rapidshare.com/files/432796544/toshiba_recovery.zip

*will be taken down upon request

Wednesday, November 17, 2010

Toshiba Laptop TW/720LL CPU Upgrade

The Toshiba TW/720LL laptop came stock with a Dothan Celeron M 1.4GHz CPU (SL8ML). I wanted to upgrade it to a faster Pentium M class CPU so I get the SpeedStep feature along with a minor boost in computation speed. Both the Pentium and Celeron are from the same Dothan architecture; so in theory, the upgrade is a simple switcheroo.

The chipset in the laptop is an ATI Radeon Xpress 200M. I had a difficult time looking for the specs to determine compatible processors. In the end, after looking at other brands with the same chipset with different CPU combination, I was certain chipset would work with both 400FSB and 533FSB CPUs.

I purchased a Pentium M 1.89GHz CPU (SL7S9) for $10 on eBay. A 2GHz+ processor would be ideal but that one was the least expensive.

http://www.irisvista.com/tech/laptops/Toshiba_Satellite_M55/laptop_motherboard_1.htm

The TW/720LL chassis is the same one as the Satellite M50/M55 laptop. Following the dissassembly guide, I replaced the CPU. Once complete, the laptop was able to boot and displayed the Pentium M logo instead of Celeron. =)

東芝 アップグレード

Monday, November 15, 2010

WordPress: Independent Homepage/Separate Home & Posts Page

I wanted to create a custom home/index (non-template) page for WordPress while having it serve other pages under the root directory. To my knowledge, this is not well documented and Google search results are of solutions that are rather "hacked" and require more work than required. There are two main steps to get this working.

1. Create 2 blank pages: home and blog. In wp-admin/settings/reading, set the "front page displays" like this.

2. Go to the folder of your theme and add the custom homepage file named front-page.php. This depends on the theme being used. For mine, it is located in /wp-content/themes/twentyten/front-page.php.

Once done, the home page should render the front-page.php without any templates and the blog at the registered permalink with the template/theme chosen.