I just succeeded with the update on my rooted system.
Here is what can succeed for people with stock system, just with superuser+busybox installed.
Note that this update will unroot, so you have to re-install SuperUser ZIP package from the recovery menu.
These commands are needed on Linux system with root privileges (I a not sure, whether update images are UID sensitive.)
Code:
#!/bin/sh
rm -f update.zip
mkdir update
cd update
unzip -XK ../OTA_Vision_Gingerbread_S_HTC_WWE_2.42.405.4-2.42.405.2_release_258556lmz8pa872xa8ocgl.zip
mkdir firmware
cd firmware
unzip ../firmware.zip
rm recovery.img
#rm rcdata.img (this part is not needed, most people leave radio and rcdata in random state during the rooting process, this just sets it to value for WWE phones)
rm ../firmware.zip
zip -r ../firmware.zip *
cd ..
rm -r firmware
zip -r ../update.zip *
cd ..
rm -r update
Then flash update.zip from the recovery menu, and then the upper mentioned SuperUser package.
(Note: Not verified! I forgot to add firmware.zip to the image, so I needed to flash system.img separately as PC10IMG.zip.)
---------- Post added at 03:56 AM ---------- Previous post was at 03:42 AM ----------
If there is anybody with unchanged and unrooted stock system, then it would be nice to provide patched system.img as a strart point for modders.
Steps to do it. (It should be safe.)
1. Have at least 600 MB on the sdcard mounted on the phone (and not on computer).
2. Get fre3vo from
the downgrade howto
Run this on your machine with adb:
Code:
adb push fre3vo /data/local/tmp
adb shell chmod 755 /data/local/tmp/fre3vo
adb shell /data/local/tmp/fre3vo -debug -start FAA90000 -end FFFFFFFF
# Exploit should succeed.
adb shell
# You should get # prompt here
cat /dev/block/mmcblk0p25 >/sdcard/system.img
rm /data/local/tmp/fre3vo
Then reboot for dropping the temp root and post system.img somewhere for others.
Note: It is safe to apply this vendor update even if you plan to root sometimes in future. This update did not patch the security hole exploited by fre3vo, so this utility still works on HTC_WWE_2.42.405.4.
@qwasson: How did you get the file you posted?