[Asus  Eee Pad Transformer Prime] Doktaphex:
THIS ZIP WILL FORMAT YOUR INTERNAL MEMORY CARD ALONG WITH SYSTEM AND CACHE. YOU WILL HAVE NOTHING BUT RECOVERY ON YOUR PRIME!!!

IF YOU DON'T WANT THAT TO HAPPEN, MOVE ALONG, THIS AIN'T FOR YOU!!!

AS WITH ANY FLASHING PROCESS, SOMETHING COULD GO WRONG!!!

NEITHER I NOR XDA SHALL BE HELD RESPONSIBLE FOR ANY DAMAGE

THAT YOU CAUSE BY FLASHING THIS ZIP!!!

Now that's out of the way, let me explain the reasons for this zip's existence.

I personally do not like having things left hanging around on my phone's SDcard

after I flash a new ROM onto it, I usually back up my data and format the card too.

It struck me that due to the nature of having an internal SDcard in the Prime

There most surely be stuff hanging around in there from all the flashing I've done.

I also find that hunting down application folders for apps that I have since deleted

can be rather tiresome as they are not always labelled as expected.

Maybe I'm just lazy, but there you go.

Now you can simply install this Zip and all of your partitions will be fresh and clean.

So that's why this zip was born unto the world.

ONCE AGAIN, THIS ZIP WILL FORMAT YOUR INTERNAL MEMORY CARD ALONG WITH SYSTEM AND CACHE. YOU WILL HAVE NOTHING BUT RECOVERY ON YOUR PRIME!!!

BEFORE STARTING, MAKE SURE YOU CAN ACCESS YOUR PRIME THROUGH ADB IN RECOVERY!!!!
​

INSTRUCTIONS: (THIS GUIDE ASSUMES YOU KNOW HOW TO SETUP AND USE ADB)

1. Download prime-full-wipe.zip to your Prime.

2. Backup everything from your internal SDcard to a location that exists outside of your Prime. USB Hard drive, flash drive or another SDcard.

3. After making certain that your data is safe, reboot your Prime to recovery. (zip will work in both CWM and TWRP)

4. flash the zip.

5. Once complete, you will need to reboot to recovery manually otherwise ADB push will not behave correctly.

6. After a successful reboot to recovery, open up Terminal or Command Prompt.

7. Push a new ROM.zip to your Prime via the command

adb push /path/to/rom.zip /sdcard/

If "/sdcard/" doesn't work, which sometimes happens use

adb push path/to/rom.zip /data/media/

for some reason it seems that "/sdcard/" is not seen all the time. So far seems to be a windows issue only.

8. Install your new ROM and enjoy that factory fresh taste.

I hope that these instructions are clear enough. If anyone needs help I or someone else will be happy to assist.

I STRESS AGAIN, THIS ZIP WILL FORMAT YOUR INTERNAL MEMORY CARD ALONG WITH SYSTEM AND CACHE. YOU WILL HAVE NOTHING BUT RECOVERY ON YOUR PRIME!!!

Credits to mero01 for the original idea and Team Virtuous for some sexy code used in the zip file.

KOUSH for CWM and Team Win for TWRP

Big thanks to swiss-prime and anthonyexmouth for being patient men/windows guinea pigs!

Thanks to Nandrew for pointing out that users may need to reflash CWM if experiencing ROM Manager errors after flashing this ZIP!.​

UPDATE: 31/05/12

OK, so to anyone that has had problems pushing a new rom to the SD card after using this zip file. I have found some rather odd behaviour that sometimes occurs when formatting the Prime.

After many hours of testing yesterday, I found that when using CWM I simply couldn't push a file to the sdcard no matter whether I was pushing to "/sdcard/" or "/data/media/"

The only way I was able to get a rom onto the sd card was to eventually flash TWRP using fastboot and push the file after booting into TWRP. However after doing so and then getting a rom installed on the Prime, when looking through the file structure with Root explorer I found that the sdcard symlink had not actually been re-created properly, the file was there, but it was not showing as a folder, and as such, I believe that this is where the problem some people are having stems from.

The only solution that I found was to re-flash the full-wipe.zip again in TWRP and then push a rom onto the sdcard again. After successfully getting back into a working rom, I checked out the file structure and the alias had been properly re-created this time.

The behaviour is very weird and there seems to be no rhyme or reason to it. However, if you have had issues pushing to the sd card after using my zip, I can only apologise for your worry.

I hope that the above makes sense and helps people out who feel that they are now up sh*t creak without a paddle.

To be clear I do not believe this to be an issue caused by CWM, I believe it to be a Prime issue.

Update 01/06/12

Nandrew pointed out to me that you will receive non-critical error messages from CWM about a missing log file after using this ZIP. Once you have made a backup, a log file will be created and these error messages will cease.

You may also need to reflash CWM if you experience rom manager errors.