[Source]
作者:dengchun2006
读了十几年的书,认了上千的字。也写过数不清的信件和文章,今天提起笔来写自己的第一篇博客文章,语言文字竟跑的无影无踪了......,面对自己经常思索的人生,要说的话好多,却又无从说起。
做人有时很难堪,常常要等到蓦然回首,才会惊觉最渴望与之携手的人已另有怀抱,而自己也早已担着沉甸甸的责任。再怎么惊天动地的寻死觅活终是一场迟到,只徒然灼痛了自己伤害了别人......
及时行乐常常被认为是醉生梦死的颓废,以致于我们有些人总是苛待自己,似乎唯有不谈享乐才是积极的人生,人生多磨难:成长的坚辛,奋斗的不易,加之种种违反天性却又不得不恪守的规矩,构成了生存的严酷与无奈。唯有学会享乐,懂得享乐,才能真正理解人生的情趣与宝贵,才会因此更珍惜自己并珍惜这个世界。不要频频给自己制造痛苦,更不要以为痛苦一定有价值。生命的意义决不在于历尽艰难痛不欲生,而是要尝遍人间的甜蜜并为之甘愿同艰难作战。所以人们蓦然回首人生,发现自己错了,于是呼把希望寄托于渺茫的来世。
我不会愚蠢的对待自己生活,生命对我也许还很长,或许还有四五十年呢!干嘛非要把今生寄托于虚幻的来世呢!除了奋斗之外就是过自己随心所欲的生活,最重要的是心境快乐。
There are no limits. There are plateaus, but you must not stay there, you must go beyond them. - Bruce Lee
Mnemorable
- I love those who can smile in trouble, who can gather strength from distress, and grow brave by reflection. 'Tis the business of little minds to shrink, but they whose heart is firm, and whose conscience approves their conduct, will pursue their principles unto death. - [Leonardo da Vinci]
- Standing on the Shoulder of Giants - One who develops future intellectual pursuits by understanding the research and works created by notable thinkers of the past.
- A hundred times every day I remind myself that my inner and outer life are based on the labors of other men, living and dead, and that I must exert myself in order to give in the same measure as I have received and am still receiving... - [Albert Einstein]
Monday, March 30, 2009
Friday, March 27, 2009
Rounding Mechanism to the nearest multiple of 5 sen
[Link] - Rounding Mechanism
[Link] - Frequently Asked Questions on Rounding Mechanism
[Link] - Frequently Asked Questions on Rounding Mechanism
The table below illustrates how the Rounding Mechanism works:
Bill ends in sen | Round off to the nearest 5 sen | Total Amount of A Bill | |
Total amount before rounding (RM) | Total amount after rounding (RM) | ||
| 1,2 | Down | 82.01 82.02 | 82.00 |
| 3,4 | Up | 82.03 82.04 | 82.05 |
| 6,7 | Down | 82.06 82.07 | 82.05 |
| 8,9 | Up | 82.08 82.09 | 82.10 |
General guidelines of rounding
- The total amount of a bill (including goods and services subject to tax) that ends in 1, 2, 6 and 7 sen to be rounded downwards and 3, 4, 8 and 9 sen to be rounded upwards to the nearest multiple of 5 sen.
- Applicable to all over-the-counter payments, be it cash or non-cash.
- The Rounding Mechanism table must be clearly displayed at the point of sale to ensure customers are appropriately informed.
- Receipts / bills / invoices should feature the total amount before and after the rounding adjustment.
- The 1 sen coin shall continue to be legal tender.
Sunday, March 22, 2009
Create an Integrated XP Setup Disk with SP3
[Source]
[Other Resource]
How to Slipstream Windows XP Service Pack 3 to Create an Integrated XP Setup Disk with SP 3

This tutorial takes you through the steps of integrating the Windows XP Service Pack 3 into the files from an existing Windows XP setup CD. A new setup disk will be created. This disk will have the full XP installation with SP3 already merged into it. Such a slipstreamed CD has a few advantages over installing your current version of XP and then running SP 3 afterwards:
Prerequisites
The Basic Steps to Merging SP3 into the XP Setup CD
This completes the slipstreaming part of the tutorial. You will now need to burn it to make a bootable CD or DVD.
Create and Burn Your New XP with Service Pack 3 CD
Congratulations. You have successfully created a new XP setup CD. This setup disk will allow you to install Windows XP with Service Pack 3 already integrated in it.
[Other Resource]
How to Slipstream Windows XP Service Pack 3 to Create an Integrated XP Setup Disk with SP 3
This tutorial takes you through the steps of integrating the Windows XP Service Pack 3 into the files from an existing Windows XP setup CD. A new setup disk will be created. This disk will have the full XP installation with SP3 already merged into it. Such a slipstreamed CD has a few advantages over installing your current version of XP and then running SP 3 afterwards:
- Saves Time
Installing XP slipstreamed with service pack 3 is considerably faster than installing a previous version of XP and then running SP 3 separately. - More Secure
If your computer is always connected to the network or the Internet, and you do not have Service Pack 3 integrated, it is vulnerable to any malware that targets pre-SP3 XP. Although the window of opportunity for a successful attack of your system is small (the time needed to apply SP 3 and reboot), some people prefer not to take the chance. - Uses Less Disk Space
If you install XP first and then install SP 3, the service pack installer will create backup copies of the previous versions in your Windows directory. System Restore will also make a backup set of files on your computer. These backup files take up space on your computer, to the order of a few hundred megabytes. (Note that this advantage is minimal, since you can manually delete all these backup files yourself later if you are short of space.)
Prerequisites
- Windows XP Professional or Home Setup CD
You will need your existing Windows XP Professional or Home setup CD. This CD can either be the original Windows XP release CD, or one with either SP 1 or Service Pack 2 integrated.
WARNING: do not attempt to use this guide to slipstream your Windows XP Media Center 2005 disk. Slipstreaming of this version of XP is not supported by Microsoft. - A CD/DVD Burning Software, a blank writeable CD and a CD/DVD Writer
After creating a new XP Setup CD that has Service Pack 3 integrated, you will need to write it onto a new, blank CD (such as a CD-R or CD-RW). You can also use a DVD+/-R(W) if you want. As such you will need a CD/DVD writer and a program to burn the new CD.
For the purpose of this tutorial, I will describe the procedure for using the ImgBurn, a free utility listed on the Free CD and DVD Burners and Copying Software page on thefreecountry.com. - XP Service Pack 3
Windows XP service pack 3 can be downloaded directly from Microsoft.
The Basic Steps to Merging SP3 into the XP Setup CD
- Download and Save XP Service Pack 3
If you have not already downloaded XP service pack 3, get it now, and save it with the filename of "XPSP3.exe" at the top level of drive C:. Actually, you can save it anywhere you want, and leave it at its default name if you wish. However, for the purpose of this tutorial, I will assume that you saved it so that it can be accessed as C:\XPSP3.exe. If you save it as some other name, you will have to change the command lines I supply below yourself to the appropriate one. - Extract or Download the Boot Sector of the XP Setup Disk
You will also need the boot sector of an existing bootable Windows 2000, XP or 2003 setup CDROM. You can either extract it from your CD yourself, or just download a boot sector already extracted by others. To save myself some time describing the procedure for extracting the boot sector, this tutorial will just use the same method mentioned in my guide to create your own XP setup disk. That is, download the file wxp10.zip from one of the links on [Link] and save it somewhere on your computer.
When you've got the file, open it by doubleclicking it in Windows explorer. Go into the "cds" folder and into "wxphome" (or "wxppro"; it doesn't matter which) folder, followed finally by the "files" directory. Drag the "w2ksect.bin" file into C:\ (the root directory/folder of drive C:). Don't get creative and place it in some other directory. If you do that, ImgBurn will not be able to find "c:\w2ksect.bin" later. - Create a Working Folder
Create a temporary folder for the integration to take place. For the purpose of this tutorial, I will assume that you have created a folder called "XPSETUP" at the top level of drive C:.
To create a folder, open "My Computer", go to drive C:, right click somewhere in the window and select "New" followed by "Folder" in the menu that appears. Then change the default name from "New Folder" to "XPSETUP". If you did this correctly, you will have a new folder, C:\XPSETUP. - Copy the XP Setup Disk intto C:\XPSETUP
Put your existing XP setup CD into your drive. If the setup wizard appears, dismiss it. Drag all the files and folders on the CD into C:\XPSETUP. - Open a Command Prompt
Open a command prompt window. You can do this by running the program "Command Prompt", found in the Accessories folder of your Start menu. - Slipstream the Service Pack
From the command prompt window, which will be a black window with a blinking cursor, type the following, followed by the ENTER key.
C:\XPSP3 /integrate:C:\XPSETUP
Note that there is only one space character -- between the "C:\XPSP3" and the rest of the line. If you did not name the service pack "XPSP3.exe" and place it at the top level of C: as I described earlier, you'll have to modify the command line accordingly.
The process will take some time to complete, so take a coffee break if you wish.
This completes the slipstreaming part of the tutorial. You will now need to burn it to make a bootable CD or DVD.
Create and Burn Your New XP with Service Pack 3 CD
- Download ImgBurn
If you have not downloaded ImgBurn, get it now and install it. You will find it listed on thefreecountry.com's Free CD and DVD Burners and Copying Software page.
The version of ImgBurn I used to create this guide was 2.4.1.0. - Create the ImgBurn Project Configuration File
Open up Notepad, and copy the text from below and paste it into a blank Notepad window. Save the file as "xpsp3.ibb" (including the quotes, which you need to prevent Notepad from adding a ".txt" extension to your filename) somewhere on your desktop (or anywhere you like). Do not add or delete anything from the file.
--------------- [Begin]
IBB
[START_BACKUP_OPTIONS]
BuildMode=1
Destination=0
TestMode=0
Verify=1
WriteSpeed=0
Copies=0
FileSystem=1
UDFRevision=0
PreserveFullPathnames=0
RecurseSubdirectories=1
IncludeHiddenFiles=1
IncludeSystemFiles=1
IncludeArchiveFilesOnly=0
AddToWriteQueueWhenDone=0
ClearArchiveAttribute=0
VolumeLabel_ISO9660=HTHSP3
VolumeLabel_Joliet=HTHSP3
VolumeLabel_UDF=
Identifier_System=
Identifier_VolumeSet=
Identifier_Publisher=
Identifier_Preparer=
Identifier_Application=
Dates_FolderFileType=0
Restrictions_ISO9660_InterchangeLevel=2
Restrictions_ISO9660_CharacterSet=1
Restrictions_ISO9660_AllowMoreThan8DirectoryLevels=1
Restrictions_ISO9660_AllowMoreThan255CharactersInPath=1
Restrictions_ISO9660_AllowFilesWithoutExtensions=1
Restrictions_ISO9660_DontAddVersionNumberToFiles=1
Restrictions_Joliet_InterchangeLevel=1
Restrictions_Joliet_AllowFilesWithoutExtensions=1
Restrictions_Joliet_AddVersionNumberToFiles=0
Restrictions_UDF_DisableUnicodeSupport=0
Restrictions_UDF_DVDVideoAllowUnicodeVolumeLabel=0
BootableDisc_MakeImageBootable=1
BootableDisc_MediaEmulationType=0
BootableDisc_BootImageFile=C:\w2ksect.bin
BootableDisc_DeveloperIdentifier=
BootableDisc_LoadSegment=07C0
BootableDisc_LoadSectorCount=4
[END_BACKUP_OPTIONS]
[START_BACKUP_LIST]
C:\XPSETUP
[END_BACKUP_LIST]
[End] --------------- - Burn the CD
Put a blank CD or DVD into your drive.
Start ImgBurn. Select "Mode Build" from the menu. That is, click the "Mode" menu, and select the "Build" item on the menu that appears.
Then, select "File Load Project". Look for the xpsp3.ibb file you saved in the previous step, select it and click the "Open" button.
Finally, click the "Build" icon at the bottom of the window. To find out which picture the "Build" button is (there are no visual cues, even as to which picture actually represents a button), hover your mouse over the pictures near the bottom of the window and wait for the tooltip to appear. When you hover your mouse over the correct picture, a tooltip will appear with the text "Build".
If ImgBurn presents you with a dialog box giving you the statistics of your new CD, such as the number of files it will contain and so forth, just click OK to accept it.
Congratulations. You have successfully created a new XP setup CD. This setup disk will allow you to install Windows XP with Service Pack 3 already integrated in it.
[X1] How to Flash a Custom ROM for Xperia X1
[Source] - xda-developers
About this thread: I will explain how to get a new firmware/ROM on your new X1 :-)
To debrand the phone you just flash a different ROM. You also do the same thing to change from EN to GER, or to flash a customized ROM. So it's the same procedure for all of those actions (making it easier to write this tutorial ;-)).
Step 1 has to be done only once. For every following ROM you might want to flash, Spet 2 is all you need to do. So let's start:
Step 1 (Preparations)
- Download and install .NET Framework 3.5 SP1 [Link]
- If you are using Vista, install the Mobile Device Center 6.1 [Link]
- Set up the ActiveSync (XP) / Mobile Device Center (Vista) connection with your X1
- Charge the battery to at least 50% or more
- (Re)Connect the X1
- Run X1_HardSPL.exe
- Follow the instructions (it should say something like "Image Version: 1.02.111.7" to "1.00.X1")
- If asked, press "Yes" on the X1
- Now a 4-color screen should show up, showing some version Info
- After that, a progressbar screen will be shown and the phone will reboot when finished
- Click "Finish" on the PC
- If you want to check if everything went fine, turn the device off (long power button press), then hold the "volume down" button and turn the device on again, still holding the "volume down" button until the 4-color screen shows up. It should read something like:
KOVS110
SPL-0.72.OliNex
MicroP1-787
MicroP2-707
- Remove and reinsert the battery to exit bootloader mode
You completed the first step and are now able to flash any ROM you want to your X1! (Well, at least any ROM made for the X1 of course ;-))
Step 2 (Flashing ROMs)
Before you start you have to -obviously- download and extract the ROM you want to flash. The file should be named *.image or *.nbh. Before you follow the steps, rename that file to Kovsimg.nbh.
- Format a MicroSD card with FAT32 if not yet done
- Copy the Kovsimg.nbh into the root directory of your MicroSD card and insert the card in your phone
- Turn off the phone (USB cable not attached)
- Remove and reinsert the battery
- Hold the volume down button and turn the device on again, still holding both buttons until the 4-color screen shows up.
- Follow the onscreen instructions
Congratulations. You're done.
About this thread: I will explain how to get a new firmware/ROM on your new X1 :-)
To debrand the phone you just flash a different ROM. You also do the same thing to change from EN to GER, or to flash a customized ROM. So it's the same procedure for all of those actions (making it easier to write this tutorial ;-)).
Step 1 has to be done only once. For every following ROM you might want to flash, Spet 2 is all you need to do. So let's start:
Step 1 (Preparations)
- Download and install .NET Framework 3.5 SP1 [Link]
- If you are using Vista, install the Mobile Device Center 6.1 [Link]
- Set up the ActiveSync (XP) / Mobile Device Center (Vista) connection with your X1
- Charge the battery to at least 50% or more
- (Re)Connect the X1
- Run X1_HardSPL.exe
- Follow the instructions (it should say something like "Image Version: 1.02.111.7" to "1.00.X1")
- If asked, press "Yes" on the X1
- Now a 4-color screen should show up, showing some version Info
- After that, a progressbar screen will be shown and the phone will reboot when finished
- Click "Finish" on the PC
- If you want to check if everything went fine, turn the device off (long power button press), then hold the "volume down" button and turn the device on again, still holding the "volume down" button until the 4-color screen shows up. It should read something like:
KOVS110
SPL-0.72.OliNex
MicroP1-787
MicroP2-707
- Remove and reinsert the battery to exit bootloader mode
You completed the first step and are now able to flash any ROM you want to your X1! (Well, at least any ROM made for the X1 of course ;-))
Step 2 (Flashing ROMs)
Before you start you have to -obviously- download and extract the ROM you want to flash. The file should be named *.image or *.nbh. Before you follow the steps, rename that file to Kovsimg.nbh.
- Format a MicroSD card with FAT32 if not yet done
- Copy the Kovsimg.nbh into the root directory of your MicroSD card and insert the card in your phone
- Turn off the phone (USB cable not attached)
- Remove and reinsert the battery
- Hold the volume down button and turn the device on again, still holding both buttons until the 4-color screen shows up.
- Follow the onscreen instructions
Congratulations. You're done.
[X1] Hard-SPL for Xperia X1
[Source] - xda-developers
What is the SPL? (Second Program Loader)
The SPL is mainly a bootloader which allows a ROM to be flashed onto your device. As has been uncovered recently (or known to the more astute longer) the SPL does more than just load and boot the ROM it sets various flags which can control the operation of the OS on the device. It also controls some operations between the OS and the device's hardware. SPLs come paired with shipped (or leaked) official ROMs and are meant to match the ROMs operation. Therefore, with each new ROM release there is likely to be a new SPL.
What types of SPLs are there?
Basically there are two main types of SPLs. Hard and Soft.
A Hard SPL is one that is permanently flashed in your device memory and will boot up every time your device boots. To get into your SPL or Bootloader on the Kaiser/Tilt you want to hold down the camera button (all the way) and then soft-reset the phone (or turn it on if it was off). You will then see a tri-color screen known as the Bootloader (a.k.a. the SPL). The SPL that is shipped with your device, or upgraded from an official ROM is a Hard SPL. In short, if it is loaded into your device's firmware, and survives a hard-reset it is considered Hard.
A Soft SPL is a stand alone .exe that is run on your device from within the OS. It basically changes your OS from running Windows, to initializing the boot loader. A Soft SPL is only loaded into RAM temporarily and will not survive a hard-reset.
Instructions to flash Hard-SPL:
it's recommended you run the basic package, and don't flash the other attachment (MFG SPL - it is only for hackers).
0a) make sure you have .NET framework installed on your PC! if not, get it from [Here]
0b) if you have vista, WMDC update is recommended. [Link]
1) download Hard-SPL package from attachment, extract to an empty folder.
2) it is recommended you download only the [X1_HardSPL_v1.zip] unless you want to tinker with MFG SPL (MFG SPL 0.52 is a separate attachment).
3) you must Have Phone Synced with PC in Windows Mobile!
4) run X1_HardSPL.exe. (if you want to flash MFG SPL: at this point replace the extracted RUU_Signed.nbh with the MFG version of RUU_Signed.nbh)
5) follow steps in the RUU, and check on the device for prompts after PC shows loading bar.
6) it should go to tricolour screen now and say 0.52.OliNex.MFG (this is SSPL!).
7) Hard-SPL flashes, device automatically reboots, job done.
8 ) to confirm you got it installed, go into bootloader mode (tricolour screen!) and verify the screen shows 0.72.OliNex (or 0.52.OliNex MFG).
NOTE: you will not see the SPL version during normal boot, that is the OS version, not SPL!
to enter bootloader mode to see version: with the device turned OFF, press and hold the volume down button along with the power button, then release the power button, and finally release volume down button when bootloader tricolour screen appears.
NOTE 2: anyone having problems with the device entering SSPL automatically(your device doesn't go to tricolour screen), please copy Xperia-SSPL-Manual.exe from the Xperia-SSPL-Manual.zip attachment to the device and run it. then once the screen is in SSPL (tricolour screen saying 0.52.OliNex), run RUU on the PC (i.e. the rest of the hardspl package) manually.
NOTE 3: this is unsigned Hard-SPL. also, this has overwrite protection, if someone needs to revert to stock SPL for warranty reasons, a stock SPL downgrade package is also available here - scroll down!
NOTE 4: do not use this RUU to flash anything else! this is only intended for flashing the Hard-SPL. use Xperia CustomRUU to flash other ROM images. for example this version: [Link]
***
IMPORTANT: extra Xperia-specific notes: the prerelease roms out there in the X1 ROMs thread are not going to flash on retail devices because the radios they include are only flashable on prerelease devices ("Security unlocked" message in SPL can be seen on these). so what you need to do is repack the NBH without the radio - this will only work with Hard-SPL though, as repacking breaks the HTC sign on the NBH file.
I had a tester upload a repackaged UK image, which will flash fine. you can find it in the x1 roms thread. =)
***
TROUBLESHOOTING TIPS:
- read the instructions.
- read the instructions.
- read the instructions.
- if you get connection error in RUU after the device goes to tricolour screen, then try a different USB port, also do not use USB hub, you can also try rebooting your PC, and can try using another PC. read the thread for even more tips that I don't remember now. also you can try unticking advanced network functionality in start menu / settings / connections / usbtopc applet.
- if hardspl EXE won't run, and you are on vista, try to right click it and use "run as Administrator" option
- if SSPL-Manual.exe or enterbootloader.exe fails to run (says missing component or similar), try a hard reset of the device.
***
Extra how to: how to restore Stock SPL for warranty reasons.
step by step:
- this is ONLY for warranty reasons. i.e. the device needs repair and you have to send it to htc to get it serviced. if you plan to restore hardspl then don't even bother flashing this stock package, unless you are some kind of hacker/dev
- IMPORTANT: be sure to first restore stock OS, and stock radio. stock SPL is always to be done last!!
- now the steps
1. download the stock spl package from this post.
2. download X1_HardSPL_v1 too, from this post.
3. run the hardspl package, but do not press Next button i.e do not go ahead with flash yet.
4. at this point, take the extracted stock SPL, a RUU_Signed.NBH file, and overwrite the other RUU_Signed.NBH in hardspl package.
5. go on with the RUU (or if needed, run SSPL-Manual.exe manually, then run RUU when it goes to tricolour screen with 0.52.OliNex version), it goes to 100%, reboots, done.
+1. to verify, enter bootloader (see description above in this post), and check version number on tricolour screen. it should say 0.72.0000
What is the SPL? (Second Program Loader)
The SPL is mainly a bootloader which allows a ROM to be flashed onto your device. As has been uncovered recently (or known to the more astute longer) the SPL does more than just load and boot the ROM it sets various flags which can control the operation of the OS on the device. It also controls some operations between the OS and the device's hardware. SPLs come paired with shipped (or leaked) official ROMs and are meant to match the ROMs operation. Therefore, with each new ROM release there is likely to be a new SPL.
What types of SPLs are there?
Basically there are two main types of SPLs. Hard and Soft.
A Hard SPL is one that is permanently flashed in your device memory and will boot up every time your device boots. To get into your SPL or Bootloader on the Kaiser/Tilt you want to hold down the camera button (all the way) and then soft-reset the phone (or turn it on if it was off). You will then see a tri-color screen known as the Bootloader (a.k.a. the SPL). The SPL that is shipped with your device, or upgraded from an official ROM is a Hard SPL. In short, if it is loaded into your device's firmware, and survives a hard-reset it is considered Hard.
A Soft SPL is a stand alone .exe that is run on your device from within the OS. It basically changes your OS from running Windows, to initializing the boot loader. A Soft SPL is only loaded into RAM temporarily and will not survive a hard-reset.
Instructions to flash Hard-SPL:
it's recommended you run the basic package, and don't flash the other attachment (MFG SPL - it is only for hackers).
0a) make sure you have .NET framework installed on your PC! if not, get it from [Here]
0b) if you have vista, WMDC update is recommended. [Link]
1) download Hard-SPL package from attachment, extract to an empty folder.
2) it is recommended you download only the [X1_HardSPL_v1.zip] unless you want to tinker with MFG SPL (MFG SPL 0.52 is a separate attachment).
3) you must Have Phone Synced with PC in Windows Mobile!
4) run X1_HardSPL.exe. (if you want to flash MFG SPL: at this point replace the extracted RUU_Signed.nbh with the MFG version of RUU_Signed.nbh)
5) follow steps in the RUU, and check on the device for prompts after PC shows loading bar.
6) it should go to tricolour screen now and say 0.52.OliNex.MFG (this is SSPL!).
7) Hard-SPL flashes, device automatically reboots, job done.
8 ) to confirm you got it installed, go into bootloader mode (tricolour screen!) and verify the screen shows 0.72.OliNex (or 0.52.OliNex MFG).
NOTE: you will not see the SPL version during normal boot, that is the OS version, not SPL!
to enter bootloader mode to see version: with the device turned OFF, press and hold the volume down button along with the power button, then release the power button, and finally release volume down button when bootloader tricolour screen appears.
NOTE 2: anyone having problems with the device entering SSPL automatically(your device doesn't go to tricolour screen), please copy Xperia-SSPL-Manual.exe from the Xperia-SSPL-Manual.zip attachment to the device and run it. then once the screen is in SSPL (tricolour screen saying 0.52.OliNex), run RUU on the PC (i.e. the rest of the hardspl package) manually.
NOTE 3: this is unsigned Hard-SPL. also, this has overwrite protection, if someone needs to revert to stock SPL for warranty reasons, a stock SPL downgrade package is also available here - scroll down!
NOTE 4: do not use this RUU to flash anything else! this is only intended for flashing the Hard-SPL. use Xperia CustomRUU to flash other ROM images. for example this version: [Link]
***
IMPORTANT: extra Xperia-specific notes: the prerelease roms out there in the X1 ROMs thread are not going to flash on retail devices because the radios they include are only flashable on prerelease devices ("Security unlocked" message in SPL can be seen on these). so what you need to do is repack the NBH without the radio - this will only work with Hard-SPL though, as repacking breaks the HTC sign on the NBH file.
I had a tester upload a repackaged UK image, which will flash fine. you can find it in the x1 roms thread. =)
***
TROUBLESHOOTING TIPS:
- read the instructions.
- read the instructions.
- read the instructions.
- if you get connection error in RUU after the device goes to tricolour screen, then try a different USB port, also do not use USB hub, you can also try rebooting your PC, and can try using another PC. read the thread for even more tips that I don't remember now. also you can try unticking advanced network functionality in start menu / settings / connections / usbtopc applet.
- if hardspl EXE won't run, and you are on vista, try to right click it and use "run as Administrator" option
- if SSPL-Manual.exe or enterbootloader.exe fails to run (says missing component or similar), try a hard reset of the device.
***
Extra how to: how to restore Stock SPL for warranty reasons.
step by step:
- this is ONLY for warranty reasons. i.e. the device needs repair and you have to send it to htc to get it serviced. if you plan to restore hardspl then don't even bother flashing this stock package, unless you are some kind of hacker/dev
- IMPORTANT: be sure to first restore stock OS, and stock radio. stock SPL is always to be done last!!
- now the steps
1. download the stock spl package from this post.
2. download X1_HardSPL_v1 too, from this post.
3. run the hardspl package, but do not press Next button i.e do not go ahead with flash yet.
4. at this point, take the extracted stock SPL, a RUU_Signed.NBH file, and overwrite the other RUU_Signed.NBH in hardspl package.
5. go on with the RUU (or if needed, run SSPL-Manual.exe manually, then run RUU when it goes to tricolour screen with 0.52.OliNex version), it goes to 100%, reboots, done.
+1. to verify, enter bootloader (see description above in this post), and check version number on tricolour screen. it should say 0.72.0000
[X1] How to back up ROM for Xperia X1
[Source] - xda-developers
--- Foreword ---
This guide is designed for those who find it hard to (or are too lazy to) search the forum for information on how to dump a ROM. This is specifically for the X1.
Some common sense and knowledge of computers and pocket pc's is required. I followed below steps myself to dump a ROM and dumping it worked flawlessly.
Update: The ROM I dumped has been tested and reported working perfectly!
--- Special thanks to ---
Fards - Much of the below tutorial.
hungarian - The registry fix in step 2.
m@rco - UK generic ROM link.
Itje - Kovskykitchen.
And the guys who made XDA Utils!
--- Guide ---
1) Download and preparation of files
A good preparation makes it much easier, download the following files:
[XDA Tools/Utils]
[X1 (Kovsky) Kitchen]
[Stock UK ROM]
[Sdkcerts.cab]
[Fdcsoft Taskmanager]
- Extract Kovskykitchen to C:\KovskyKitchen and in Vista make sure that buildos+package_tools is able to run as administrator.
- Extract the XDA tools to an easy to access folder, for instance c:\Xdatools
2) Preparing your phone:
Before your X1 will allow the dumping to be done, the following Sdkcerts.cab file must be installed.
- Copy Sdkcerts.cab to your phone or storage card and install it to the device.
Also, your phone must accept changes that pdocread makes. You can do this with the regedit function of the FdcSoft Taskmanager.
- Set the following registry keys to "1":
* HKLM\Security\Policies\Policies "00001001"
* HKLM\Security\Policies\Policies "0000101a"
- Connect your phone to your pc with activesync.
3) pdocread
- Open up a command line and navigate to the folder where you extracted the XDAtools.
- Enter the following command: "pdocread.exe -l"
You'll get something like this:
| 3.12M (0x31f000) Part00
| 3.50M (0x380000) Part01
| 69.38M (0x4560000) Part02
| 134.38M (0x8660000) Part03
The bits in brackets are the important ones as you need to use what it says on YOUR device in the next step.
4) Extraction
Run the following commands one at a time. Replace the codes (.e.g 0x31f000) with the codes you get in step 3.
Extracting these files can take some time, do not disconnect your device until the command line sais it's done.
pdocread -w -d FLASHDR -b 0x800 -p Part00 0 0x31f000 Part00.raw
pdocread -w -d FLASHDR -b 0x800 -p Part01 0 0x380000 Part01.raw
pdocread -w -d FLASHDR -b 0x800 -p Part02 0 0x4560000 Part02.raw
pdocread -w -d FLASHDR -b 0x800 -p Part03 0 0x8660000 Part03.raw
The files will end up in the XDAtools folder.
5) Kovksy kitchen
- Open your Kovskykitchen folder.
- Copy your 4 raw files to the "baserom" folder.
- From the stock UK ROM extract the RUU_signed.nbh to Baserom folder as well.
There are decent walkthroughs for cooking roms, this kitchen is built on the Kaiser Kitchen.
If you want more info, search for "kaiser kitchen" on XDA.
- Start kovskykitchen.cmd
- Select (e) extract a rom, then (b) and let it work through.
When it's finshed it'll go back to the main menu.
- Now select (c) cook a rom, then (b)
It'll start up the buildOS + Package tools program.
- Select the buildos tab.
- Select "load rom" and navigate to your kovskykitchen folder.
- Press ok.
After a couple of seconds the green "go" arrow will light up press it.
It'll do lots and may come back with an imgfs error, but this doesn't seem to matter.
- When it's done close the window.
Back in the CMD window it'll be waiting for a keypress.
When pressed a lot of files will be processed.
Finally it'll popup with some info for the HTC rom tool.
- Click BUILD!
- Select Kovsky from the dropdown box.
- Press the 3 little dots ... next to the box that says OS.
- Select the OS-NEW.nb in the main kovsky kitchen folder.
Press BUILD! at the bottom, and give the file a sensible name, RUU_signed.nbh if you want to flash it from windows, Kovsimg.nbh if you want to flash it from microSD card.
- Close the htc_rom_tool when it's done.
It'll popup a hexeditor to change the Pagepool.
An error might occur that it can't find the nbh file.
- Close the hexeditor.
The command line will clean up the temporary files and allows you to flash your ROM.
If you just want to back up the rom of your device then close this window.
Enjoy!
--- Foreword ---
This guide is designed for those who find it hard to (or are too lazy to) search the forum for information on how to dump a ROM. This is specifically for the X1.
Some common sense and knowledge of computers and pocket pc's is required. I followed below steps myself to dump a ROM and dumping it worked flawlessly.
Update: The ROM I dumped has been tested and reported working perfectly!
--- Special thanks to ---
Fards - Much of the below tutorial.
hungarian - The registry fix in step 2.
m@rco - UK generic ROM link.
Itje - Kovskykitchen.
And the guys who made XDA Utils!
--- Guide ---
1) Download and preparation of files
A good preparation makes it much easier, download the following files:
[XDA Tools/Utils]
[X1 (Kovsky) Kitchen]
[Stock UK ROM]
[Sdkcerts.cab]
[Fdcsoft Taskmanager]
- Extract Kovskykitchen to C:\KovskyKitchen and in Vista make sure that buildos+package_tools is able to run as administrator.
- Extract the XDA tools to an easy to access folder, for instance c:\Xdatools
2) Preparing your phone:
Before your X1 will allow the dumping to be done, the following Sdkcerts.cab file must be installed.
- Copy Sdkcerts.cab to your phone or storage card and install it to the device.
Also, your phone must accept changes that pdocread makes. You can do this with the regedit function of the FdcSoft Taskmanager.
- Set the following registry keys to "1":
* HKLM\Security\Policies\Policies "00001001"
* HKLM\Security\Policies\Policies "0000101a"
- Connect your phone to your pc with activesync.
3) pdocread
- Open up a command line and navigate to the folder where you extracted the XDAtools.
- Enter the following command: "pdocread.exe -l"
You'll get something like this:
| 3.12M (0x31f000) Part00
| 3.50M (0x380000) Part01
| 69.38M (0x4560000) Part02
| 134.38M (0x8660000) Part03
The bits in brackets are the important ones as you need to use what it says on YOUR device in the next step.
4) Extraction
Run the following commands one at a time. Replace the codes (.e.g 0x31f000) with the codes you get in step 3.
Extracting these files can take some time, do not disconnect your device until the command line sais it's done.
pdocread -w -d FLASHDR -b 0x800 -p Part00 0 0x31f000 Part00.raw
pdocread -w -d FLASHDR -b 0x800 -p Part01 0 0x380000 Part01.raw
pdocread -w -d FLASHDR -b 0x800 -p Part02 0 0x4560000 Part02.raw
pdocread -w -d FLASHDR -b 0x800 -p Part03 0 0x8660000 Part03.raw
The files will end up in the XDAtools folder.
5) Kovksy kitchen
- Open your Kovskykitchen folder.
- Copy your 4 raw files to the "baserom" folder.
- From the stock UK ROM extract the RUU_signed.nbh to Baserom folder as well.
There are decent walkthroughs for cooking roms, this kitchen is built on the Kaiser Kitchen.
If you want more info, search for "kaiser kitchen" on XDA.
- Start kovskykitchen.cmd
- Select (e) extract a rom, then (b) and let it work through.
When it's finshed it'll go back to the main menu.
- Now select (c) cook a rom, then (b)
It'll start up the buildOS + Package tools program.
- Select the buildos tab.
- Select "load rom" and navigate to your kovskykitchen folder.
- Press ok.
After a couple of seconds the green "go" arrow will light up press it.
It'll do lots and may come back with an imgfs error, but this doesn't seem to matter.
- When it's done close the window.
Back in the CMD window it'll be waiting for a keypress.
When pressed a lot of files will be processed.
Finally it'll popup with some info for the HTC rom tool.
- Click BUILD!
- Select Kovsky from the dropdown box.
- Press the 3 little dots ... next to the box that says OS.
- Select the OS-NEW.nb in the main kovsky kitchen folder.
Press BUILD! at the bottom, and give the file a sensible name, RUU_signed.nbh if you want to flash it from windows, Kovsimg.nbh if you want to flash it from microSD card.
- Close the htc_rom_tool when it's done.
It'll popup a hexeditor to change the Pagepool.
An error might occur that it can't find the nbh file.
- Close the hexeditor.
The command line will clean up the temporary files and allows you to flash your ROM.
If you just want to back up the rom of your device then close this window.
Enjoy!
Use ClearType to Enhance Screen Fonts in Windows XP/Vista
[Source] - ClearType Tuner

With Windows Vista and Windows XP, ClearType delivers improved font display quality over traditional forms of font smoothing or anti-aliasing. ClearType improves readability on color LCD displays with a digital interface, such as those in laptops and high-quality flat panel displays. Readability on CRT screens can also be somewhat improved.

With Windows Vista and Windows XP, ClearType delivers improved font display quality over traditional forms of font smoothing or anti-aliasing. ClearType improves readability on color LCD displays with a digital interface, such as those in laptops and high-quality flat panel displays. Readability on CRT screens can also be somewhat improved.