This tool will allow reading and directly writing the main version in Htc's misc partition to allow flashing if your main version is higher than the hboot/fastboot zip you are trying to flash or for the purpose of software downgrading on most HTC devices.
Pre-reqs:
Device must be an emmc based HTC & you must have root.
This should work on all emmc based HTC devices G2 to current such as rezound. This tool has been tested on Incredible 2 and on Rezound.
Useage is :
misctool <option> <value to write>
r: read main version from misc partition. No <value to write> needed
w: write new value to main version in misc partition & read back new value
ex. misctool w 1.00.000.0
Setting a value of 1.00.000.0 will allow all hboot zips to pass version checking.
If you are testing to see if it works on another htc run "misctool r" and if the version read back is correct the write will work also.
This can be used in userspace & recovery.
Example of use in updater-script:
run_program("/tmp/misctool", "w", "1.00.000.0");
I will eventually have this included into my RA Revamped recovery lineup as time permits.
If you find this useful consider donating to my development device fund (I'm hoping one day to join the Rezound club) as I was considering releasing this in a paid for apk but changed my mind and decided to GPL source it.
Static pre-compiled binary & gpl source is attached.
Current toys :
Incredible 2
Acer Iconia A500
Archos 5IT
Flash this in recovery and your main version gets set to a generic 1.00.000.0
This will allow any PH98IMG.zip or the newest RUU to run on your phone. I recommend flashing this before you flash a ROM that autoboots to install a PH98IMG.zip or before loading a PH98IMG.zip manually.
How to use: Just flash it in recovery as if it were a rom. Main Version Older issue will be solved.
This is a super tool I've been using fast boot to keep from running into problems with main version. May still but this is an unfortunately necessary tool. If we had s-off this wouldn't be a issue. But thanks again for this
Ubuntu has become the most successful *nix distribution for a number of reasons, … more
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?