[myTouch 4G Android Development] slhpss:
Force update + Re-Root Instructions!

Disclaimer: This is aimed at those of us who used travisjames' method of downgrading to stock. brian6685 confirmed this WILL work with a new phone running stock. I am not responsible for you bricking your phone, but there have been no reports of any bricking with this that I am aware of.

I don't know if many of you are running a software number starting with 1.13, but if you are before you follow these instructions you MUST first follow the "downgrade" instructions (actually an upgrade for you)

The downgrade post can be found here.

First: Forcing the Update

1. download this file save this as PD15IMG.zip

* This is not the same file as in the downgrading instructions!

2. reboot into bootloader and flash this update

* for me Wi-Fi stopped working at this point and my 3g/4g was acting funky

3. This is going to appear as if no updates were made when you reboot, but you will now be able to follow the root instructions in this thread perma root guide to get S-OFF

4. download Clockwork Mod, and The OTA

5. install the clockwork recovery (to do this because my 3g/4g was acting up I dialed *#*#INFO#*#* and in the phone info settings I set it to GSM only) then flash the update and you will have 2.2.1 and full working WIFI... also at this point if you did set it to GSM Only go back in and change it back to WCDMA preferred

**The big problem is wifi will not work after step 2 which is why I included the web downloads for clockwork rom... I used ADB to install them, but if you have astro or something similar you can get them installed that way too... Another way to fix this is to download the broadcom kernel module and insmod it... the reason for this is when you do the update off of the img it's just loading the system files and not running the patches against them. ie kernel gets updated but modules aren't applied

-----------------------------------------------------------------------------

Second: Re-Rooting

This was solved by following Grankin's instructions for fixing root and su after a flash... This requires uninstalling superuser and visionary then following thise steps. The referenced file is here and the original post about this is here

1. Using Explorer navigate to the root of your sdk. Hold shift and right mouse click on the tools folder. Select "Open command window here".

2. Type "adbbat" + enter. Wait till the batch file finishes.

3. Disconnect your phone from the PC.

4. Open terminal emulator on the phone and type "/data/local/rage" + enter. Wait for "Forked XXXXXXXX children" to appear and then close the terminal.

**Just ran through this again... the program you should use is "Android Terminal Emulator" the one labeled just "Terminal Emulator" repeatedly force closes...

5. Start terminal back up. It should force close.

6. Start terminal back up, again. This time it should stay open and you should have a "#" prompt instead of a "$" prompt. Then type "/data/local/temp.sh.

7. When the script finishes run /data/local/rage again and sit tight. The phone should start acting weird and do a soft reboot. Then right after everything loads it should do a hard reboot. After the hard reboot reboot and check S.(If it doesn't do the two reboots just reboot into hboot yourself after rage finishes with the "forked xxxxxxxx children" message.

-----------------------------------------------------------------------------

**When I did this on step 4 I had to go into settings>applications>manage applications>Terminal Emulator and Force Stop because it was not force closing, but when I did I had the "#" prompt when I reopened terminal then it worked as advertised :)

**If you experience force closes of sense after updating to 2.2.1 run the fix permissions from clockwork recovery and it should fix it. If it is still happening do a factory reset and continue from there.

**For you linux folks here's a little script to replace the adbbat.bat file. adbbat.sh I tested this and it moves all the files and chmods properly.

Credit goes to travisjames for figuring out how to downgrade to stock and grankin01's post about using rage to root when visionary is having issues.