OmniPatcher for LiteOn/Sony Optical Drives

Document Information

Author: The Code Guys (http://codeguys.rpc1.org/)
Date: Last modified on 22 July 2005.
More information, help, and support: OmniPatcher for LiteOn/Sony Optical Drives forum thread.

Disclaimer

This tool is not supported by LiteOn or Sony in any way. Furthermore, the authors of this tool are not affiliated with LiteOn or Sony in any way. THE AUTHORS OF THIS TOOL WILL TAKE NO RESPONSIBILITY FOR ANYTHING THAT MAY RESULT FROM THE USE OR MISUSE OF THIS TOOL.

Introduction

The OmniPatcher, as the name suggests, is an all-in-one firmware patching tool for LiteOn/Sony optical drives that lets you customize your firmware to your heart's content and fine-tune your drive's performance.

Getting Started

Loading your file

To load a file, you can either use the "Load" button to select a file or just simply drag a file into the main OmniPatcher window. OmniPatcher will work with both .BIN and .EXE firmwares. You can obtain .BIN firmwares by downloading them from dhc014's firmware page or our firmware page or by extracting the firmware from your drive. You can obtain .EXE firmwares by downloading them from the official LiteOn website, from dhc014's firmware page, or from our firmware page. Please note that OmniPatcher does not work with scrambled/compressed executable firmware flashers (all official LiteOn flashers from mid-2004 onwards are scrambled/compressed)! However, you can find firmwares repackaged in unscrambled firmware flashers on dhc014's firmware page and our firmware page.

Saving your file

When you are done selecting all the changes that you want, clicking "Save As" will allow you to choose a filename for your patched firmware. Once you have picked a filename, OmniPatcher will patch the firmware and save it.

Note: If you loaded a .EXE firmware, you will have the option in the save dialog to save it either as a .EXE firmware or to save it as a raw .BIN firmware.

Loading your patched firmware into your drive

If your patched firmware is an .EXE file, simply run the .EXE file to flash your drive with your custom-patched firmware. If your patched firmware is a .BIN file, you will need to use LtnFW to load the firmware into your drive.

OmniPatcher Reference: Drive ID

In addition to displaying some basic information about the firmware that you have loaded, you are given the ability to rename the firmware's drive identification. Why would anyone want to do this? First, some people just prefer certain names. Second, some of the bundled software may be locked to a certain drive name. For example, the software bundled with Sony drive will work only if the drive identifies itself as a Sony drive. This way, you can load a LiteOn firmware onto a Sony drive without losing the Sony drive identification.

OmniPatcher Reference: DVD Media Support (only for DVD-writers)

Adjusting write speeds

This is what was formerly known as "speedhacking." In case you are not familiar with it, this will allow you to specify what speeds your burner will allow you to burn certain media at. This is the tool to use if you want to enable 8x burning on 4x-certified media, for example. To use this, simply scroll down the list until you find the media code corresponding to the media that you are using and highlight it. And then on the right, you can select what speeds the drive will allow you to burn the selected media type at. Please note, however, that not all disc types can burn well at higher-than-rated speeds, and this is especially true for low-quality media. And then there are some media types (like the ever-popular RICOHJPNR01) that actually burn better at the higher 8x speeds. This is why you, the user, are given the option to choose which discs you want to allow overspeeding on--try out different speeds and see what works best for your drive/media combination.

A common question that gets asked is why this does not allow people to burn above 4x on their 4x-rated burners. Changing the speed limits for media types is different from overclocking (crossflashing) your drive. The latter is when you change your drive's maximum speed allowable speeds, and this tool allows you to then select which of the available types of media the drive will allow to be burned at that maximum speed.

Warning: Although it is possible to overspeed +RW discs, it is not recommended! You could potentially ruin your disc! -RW overspeeding is a bit safer.

Renaming media codes

Simply select the media code that you wish to rename and edit its MID, TID (for +R only) and RID using the text input boxes on the right. This may be useful if you want to add support for a media type that is unsupported. The way you would do this is to rename an unused code to the code of the unsupported media type and then use strategy reassignment to assign it a suitable write strategy (this last step is important!).

Another use for this feature is to simulate strategy reassignment on firmwares where strategy reassignment is not supported. If, for example, you wish for RICOHJPNR01 to use the RICOHJPNR02 write strategy, then you would rename RICOHJPNR01 to RICOHJPNR02 and RICOHJPNR02 to RICOHJPNR01. This would cause RICOHJPNR01 to use the RICOHJPNR02 write strategy, but the unfortunate side-effect is that RICOHJPNR02 now uses the RICOHJPNR01 write strategy. As a result, if strategy reassignment is available, it is highly recommended that you use that instead of these crude strategy swaps.

Write strategy reassignment

Introduction: Each media code in the firmware has a "write strategy" assigned to it that will tell the burner how a piece of media should be burned. These write strategies are very closely tied to the burn quality of the media that you feed the drive. In many cases, the write strategy already in place for a particular media code is the best one to use. Using a write strategy that is very badly suited for a media type will most likely result in a bad burn and might potentially have negative effects on the laser of your drive, so going around reassigning write strategies at random is usually not a good idea, especially if the one specially designed for that media type already works well. However, there are some cases (especially when overspeeding) where using the write strategy for another media type will help improve burn quality. For example, overspeeding a PRODISCR02 to 8x using the PRODISCR02 code will most likely result in a coaster once the disc hits the 6x and 8x regions of the burn. However, if a PRODISCR03 strategy is used, the disc will burn much better when oversped to 8x.

How to do this: Double-clicking on a +R or -R media code (not RW!) should bring up a list of available write strategies that you can use for this media code. The write strategy currently in use will be highlighted. In the main window, any media code that is using a write strategy other than its own will be marked with a "!". The text below the media list will specify what media types strategy reassignment is available for in this particular firmware (none--when grayed out, +R only, -R only, or both +R and -R).

Note: Unlike write strategy swaps, these reassignments are much more elegantly implemented, and they do not carry any ill side-effects for the "host" media code. Also, the speed codes are actually considered to be a part of the write strategy. So you will also be reassigning your speed code as well. For example, if you reassign PRODISCR02 to use PRODISCR03's write strategy, PRODISCR02 will also use PRODISCR03's speed code. In this example, this would mean that any changes to PRODISCR02's speed code using OmniPatcher will have no effect on PRODISCR02's speed, and any changes to PRODISCR03's speed code using OmniPatcher will affect both PRODISCR03 and PRODISCR02's speeds.

Recommended tweaks

These pre-defined speed adjustments and write strategy reassignments are ones that are generally known to work well. As the name suggests, applying them is usually a good idea.

The "More Commands" button

Save DVD media code report: This will allow you to save a report of the media support list for the currently loaded firmware to a text file, which is useful for reference, easy searching, etc.

Import speed and strategy settings from a report file: This command will load a report file and apply the media settings found in that report to the current firmware. When you save a media code report, the report will include any speed and/or strategy reassignment changes that you have made to the firmware's media support. Thus, this feature may be useful if you want to apply the changes that you made to one firmware to another firmware. For example, if you made a number of changes to the CS0K firmware and want to make those same changes to the CS0M firmware, you can use OmniPatcher to load the patched CS0K firmware and order it to save a media code report. Then, you can load the CS0M firmware and use this command to load the media report for the patched CS0K firmware and apply to CS0M any changes that you made to CS0K.

Rename this code using a media code block dump: This will allow the user to rename the currently-selected media code using the media code block of a disc, which can be obtained through programs such as DVD Identifier. This will make the renaming of codes to add support for unsupported media easier.

Reset media ID and speed changes for this code: This command will reset any name and speed changes that you have made to the currently-selected media code. Note that this command resets only name and speed changes and not write strategy reassignments. Also note that this command resets only the changes that you made since loading the firmware (i.e., any changes made prior to loading the firmware will not be reset). This command is useful if you want to undo the changes that you made to a media code, but do not remember what those changes were and do not want to re-load the firmware (which would, of course, reset all changes).

OmniPatcher Reference: General Patches

Fix bitsetting support

Availability: only for certain DVD-writer firmwares that have broken bitsetting

This option will fix the broken bitsetting support on firmwares where it is known to be broken. Early 812S-class firmwares dating from mid-April of 2004 and earlier and certain Sony 3S-class firmwares are affected by this. This patch supersedes our (now-obsolete) bitsetting-fix mini-patchers.

Enable auto-bitsetting

Availability: only for DVD-writer firmwares that have bitsetting and that cannot remember the setting after a reboot

Auto-bitsetting is probably best explained by this: "Without auto-bitsetting, your drive will not set the book type of your +R/+RW/+R9 burns unless you explicitly tell it to. With auto-bitsetting, your drive will set the book type of your +R/+RW/+R9 burns unless you explicitly tell it not to." Just as you can turn on bitsetting on a drive without auto-bitsetting by using the official LiteOn bitsetting tool, you can turn off bitsetting on a drive with auto-bitsetting by using the official LiteOn bitsetting tool.

Note: The auto-bitsetting patch is disabled for the newer firmwares that can remember the bitsetting settings after a reboot.

Use a multi-color LED color scheme

Availability: only for DVD-writer firmwares of the 3S-class and Sony DVD-writer firmwares of the 2S-class

Standard LiteOn firmwares for drives older than the 1213S had a much more descriptive LED color scheme that involved multiple colors. Sony firmwares and LiteOn firmwares for the 1213S and newer use a single color, even though the hardware for multiple colors is still there. This patch will re-enable the multi-colored LED. Unfortunately, the hardware for the multi-colored LED was removed starting with the 1673S, so this patch is applicable only for 3S-class firmwares before the 1673S and for 2S-class Sony firmwares.

Note: There may be a few 1633S/1653S-class drives that, like the 1673S and newer drives, lack a red LED. If, after applying this patch and flashing the patched firmware, the LED does not turn red when you are burning a CD or DVD, then your drive is missing the red LED.

Disable the signal for the IDE activity indicator light

Availability: only for certain non-slimtype Sony DVD-writer firmwares

There is a "feature" in some Sony firmwares that will cause the drive to send an IDE activity signal whenever the LED blinks, which would cause the computer's IDE activity indicator (which is normally used only by hard drives) to blink whenever the optical drive's LED blinks. This is most easily observed when the hard drive light blinks in perfect unison with the optical drive's LED. This patch will disable this behavior.

Earlier shift (faster burn) for 8x +R

Availability: only for the LDW-811S, LDW-851S, and SOHW-8x2S (or equivalent) DVD-writer firmwares

This was one of the two components that made up what used to be called a "burn-adjusted" firmware. This patch will cause your drive to shift into higher speeds earlier and more aggressively, thus speeding up the burn. On some burners, this aggressive shifting may result in lower-quality burns, which is why it is highly recommended that you experiment with it and see if it works well for your particular drive. If it does not, then do not use it. If you select this, then you should also select the "force-shifting" patch (if it is available; for some firmwares, such as the _11S firmwares, "force-shifting" is not needed, nor is it an available option).

Utilize "force-shifting" for 6x/8x burns

Availability: only for the LDW-851S and SOHW-8x2S (or equivalent) DVD-writer firmwares

This, along with the earlier shift patch (see above), made up the "burn-adjusted" firmwares. In some firmwares, there are OPC checks that are run at the 6x and 8x shift points. If the drive decides that the OPC result is too bad, it will cancel the upshift and wait until later before shifting. This resulted in slower burns, and because of a problem with laser calibration in some of the firmwares (though this problem seems to have disappeared in the newer firmwares), a failed upshift would actually result in higher errors (which is ironic, since the whole point of this check is to reduce errors). This patch will make the OPC check less sensitive, avoiding the failed upshift in most cases. The primary purpose of this patch is to speed up burns by eliminating the unnecessary slowdowns, though sometimes, this has a secondary side-effect of improving burn quality. Like the patch above, it is recommended that you try this out and see if it works well for your particular drive.

Utilize "force-fallback" for 8x +R

Availability: only for the LDW-851S and SOHW-8x2S (or equivalent) DVD-writer firmwares

This patch will force the drive to drop its speed towards the end of a 8x +R burn. Selecting this option will slow down your burns (in fact, getting rid of this end-of-disc fallback was the goal of some of our earlier patching work). We have found that there are a number of cases where such fallbacks may be a good idea, so this option has been made available. If you find that the error rates for your burns suffer from a "mountain effect" at the end, this patch may be worth trying out.

Disable media learning

Availability: only for DVD-writer firmwares

This is an experimental patch! All LiteOn drives will store a log of its four most recent burns in its non-volatile memory, and, over time, it will use this data to adjust its laser calibration. In most cases, this leads to better drive performance. However, there are cases where this process does not work correctly for some reason (sometimes, a bad burn can trip up the calibration data, for example). One solution to this problem is to use the EEPROM Utility to reset the learned laser calibration data. Another solution is to use this patch to disable this process. Please note that this patch should not be utilized unless you are experiencing problems!

Fix the "dead drive blink" / Enable cross-flashing

Availability: only for DVD-writer firmwares

This patch serves two purposes. First, for people who have "killed" their drives using RPCDE2 or liteonutil, this patch will fix the blinking light problem that results from this. Additionally, this patch can be used to enable crossflashing (e.g., 451S@851S and 812S@832S) in a firmware.

Disable "SMART-X" for DVDs

Availability: only for DVD-ROM and DVD-ROM/CD-RW combo firmwares

"SMART-X" is a feature of the drive that is designed to slow down DVD video playing speeds to 6x to reduce noise. In theory, it should not affect ripping speeds, but while it usually works as intended, it has been known to sometimes slow down speeds when it should not, so if you find that DVD video ripping is being slowed down to 6x, then you may wish to use the patcher to disable the "SMART-X" feature for DVDs. This will not have any effect on "SMART-X" for audio CDs.

Since "SMART-X" works as intended most of the time, it is probably a good idea to not apply this patch unless it becomes necessary.

Set DVD Read Speeds

Availability: for most DVD firmwares

This will allow you to select and change the read speeds of various DVD media types.

DVD-ROM/5: Factory-pressed single-layer discs
DVD-ROM/9: Factory-pressed dual-layer discs
DVD±R: Recordable single-layer discs
DVD±RW: Rewritable single-layer discs
DVD±R9: Recordable double-layer discs

Note: When overspeeding your drive's reading ability (i.e., setting the read speed faster than the original "stock" read speed), the fastest possible speed may not always be the best. For example, the SOHD-16P9S will usually struggle a little when reading dual-layer pressed DVD-ROMs at 16x (which is twice the stock speed of 8x), and if you find that this is the case with your drive, then you will probably get better overspeed read performance with a slightly slower, but more stable speed such as 12x or 14x. Additionally, how your drive performs when reading recordable/rewritable media at overspeed will depend on how well those discs were burned. Just like overclocking a CPU, it is up to you to determine how much overspeeding your particular drive can handle for each media type, keeping in mind that certain media types can overspeed more than others.

Note: For DVD-ROM firmwares, this feature is available only for stock firmwares or for firmwares that have been patched by OmniPatcher; our read-speed patched firmwares that were not patched by OmniPatcher will not work with OmniPatcher (use the stock firmware with OmniPatcher instead).

LED Blink Options

Availability: only for non-slimtype DVD-writer firmwares of drives newer than the SOHW-1653S

This should be fairly self-explanatory. The options here do not offer any real benefit, except to satisfy personal preferences.

Warning!

Please be aware that, as with any unofficial firmware that you load into any optical drive, if you load a firmware created by this tool into your drive, you will be voiding your warranty!

OmniPatcher itself is fairly safe (we hope ;-)). There are many safeguards placed in OmniPatcher to check to make sure that the firmware is correctly patched. However, please do not hesitate to let us know if you encounter any unexpected problems. Also, as a general precaution, it is usually a good idea to make a backup of your drive's original firmware (using LtnFW) and, when working with DVD-writers, the EEPROM (using the EEPROM Utility).