nueSpinLockPatcher

Description    
nueSpinLockPatchernueSpinLockPatcher patches out the spinlock function in HTC drivers and the Kernel (nk.exe) with a new version that does not use the SWP instruction. The SWP instruction is deprecated in ARMv6 because of performance issues (see  ARM infocenter here) .

nueSpinLockPatcher is designed for use by ROM cooks/chefs. It is not intended to be run on your device. Ideally you would want to patch:

OEMDrivers
nk.exe S000
smem.dll s000

nueSpinLockPatcher automatically patches all modules in OEMDrivers as well.

Be sure to backup your files as not all devices are compatible with the LDREXB/STREXB instruction used.

Version History
1.0 First Release
1.1 Added support for patching smem.dll, does not affect relocation sections, patches INTERRUPTS_OFF, INTERRUPTS_ON branches with CPSID or CPSIE instructions.

Download
v1.1, Standalone Package (.zip) | 20.61 KB | 744 downloads
Click here for other and older versions.
Disclaimer
Windows Mobile is a registered trademark of Microsoft Corporation in the United States and other countries.

Wei Enterprises is not affiliated in any way with Microsoft, HTC, Sprint, or any other wireless carrier/phone manufacturer otherwise mentioned on this site.

Copyright 2010 2009 Wei Enterprises