[Click Android Development] soulaiman:
Hello all,

PROBLEM

I while ago I had flashed my tattoo with a ROM that came with ROMmanager (wich is able to flash a custom recovery within Android) and the result was that my recovery was corupted and I couldn't flash another rom anymore, since I have a locked SPL.:confused:

POSSIBLE SOLUTION

What you can try is to download the latest RUU for your device and try to update the tattoo. However, I know that alot of people will get the error code 170 or 171: USB not connected. Don't panic, I have found after so many days of searching the solution to this problem.:cool:

WHAT WILL YOU NEED ?

The correct RUU for your device xdaforums.com/showthread.php?t=591746"]

Procmon, this is a Process Monitor. You will need this to extract the rom.zip file from the RUU. technet.microsoft.com/en-us/sysinternals/bb896645.aspx"]

The android SDK and ADB set up correctly ( just search it on Google, and you'll find it).

LETS GET STARTED

The first thing you'll need to do is to open your prefered RUU you just downloaded from the link above, and wait till it says "welcome to the htc update..."

Just click next once, and leave the RUU open.

NOTE: The RUU can't be minimalized, so I sugest to slide it down to the taskbar.

Next, open the Procmon application, it will show you all open tasks (don't start searching like a fool, there are too many processes running to find the file we're searching for!).

Still in the Procmon, search in the for a filter button (the sixth button, white with a bleu thing above it), and click on it, now there will popup a screen.

Change the first tab (Architecture) to Path, and the seccond one (is) to contains, then in the box type rom.zip, and leave the Include tab how it is.

Now press add, and then press apply and ok. And search to one of the path's that ends with rom.zip in the list.

Right-click on it, and select Jump To, now you will see the rom.zip file in a temporary windows folder. Copy the rom to whereever you want (e.g. on your desktop) and close the RUU and Process Monitor.

Now, we have found and extracted the original rom that comes with the tattoo, so we're ready to flash this rom manually to our tattoo:

Open up command prompt, and cd to adb (where you have installed the SDK).

Now connect the tattoo to your pc and make sure its recognized under ADB Devices in device manager in windows.

Go back to the command prompt, and type

adb devices

If ADB is setup how it should, then you'll see the tattoo there (a long number)

Now type:

adb shell
adb reboot oem-78

The tattoo is now going to reboot in RUU mode, so we can do fastboot commands. (You will see only HTC logo on the tattoo)

Copy the rom.zip you extracted from the RUU to the tools folder of your SDK.

Now type:

fastboot flash zip rom.zip

(rom.zip is the name of your extracted rom, if you renamed it, then use the name of your rom).

Wait for the flashing procedure to finish, you'll see some message of completed or done or something, and unplug your tattoo, it should be in the bootloader screen (with 3 skateboards) and in the middle you should see RUU in orange.

Reboot your device, and hold the HOME + END button till the tattoo screen comes up, and wait till you see a screen with an exlimation mark, now shortly press on the HOME+END butten and you should be able to see the recovery menu now!

OPTIONAL

Redoo the 'root the tattoo in one click', and you'll get a custom recovery and root acces. IF YOU DO SO, I STRONGLY RECOMMEND YOU TO FLASH ANOTHER CUSTOM RECOVERY TO THE TATTOO, JUST SEARCH ONE ON THE FORUM HERE AND YOU'LL ALSO FIND HOW TO DO SO TROUGH ADB COMMANDS.

Once you have a custom recovery, you can flash rom's again from the recovery.

Hope this tread was helpfull !:D