[EVO 4G Android Development] rchampagne:
Beginners How-To: How to Do a Clean Install of R3charged Final

I had to help a few people offline set this up, so here are all the steps one more time over in what i hope people will find easy to use that arent familiar with all the terms we use on a regular basis.

This covers from loading Amon Ra as the recovery of choice to finishing a2sd install. Only thing required is having at least CWM or some other recover loaded already (and obviously be rooted).

Thanks rocsolo, teeboy, and others and everyone else who have been helping out in this forum!

If you don't need this tut, stop reading here.

++ Flashing Amon Ra ++

CWM recovery has a lot of issues not wiping things properly.

Here is a link to Amon Ra.

Downlaod the PC36IMG.zip ad follow the instructions below.

Place PC36IMG.zip on the root of your sd card.

Boot the phone into the bootloader by powering the phone down, then press the power and the volume down buttons at the same time.

Once the phone boots into the bootloader the phone will automatically recognize the zip file. It will ask if you would like to update, select yes and let it do it's thing and you will be good to go

Once done with that. Reboot the phone and go back to recovery, you will now be using Amon Ra!

++ Backup Your Current System ++

Now for the ROM, make sure you download a fresh copy from post #1.

Since you now have a new recovery image running before trying out the new ROM, do a Nandroid backup of your current system.

To do so, do the following:

Boot into recovery

Go to backup/restore

Nandroid backup

Select all but recovery

Done!

++ Backup Whole SD Card to PC ++

Connect your phone to your PC (you can do it right from within the recovery still).

Go to the main recover screen and select:

- USB-MS toggle.

Then connect your phone to your PC and copy everything over to your PC.

Once you've done a full backup of your SD (you can move things back later), do the following:

Boot into recovery

select partition sdcard

Select Partition SD

for the first option (swap size i believe) select 32MB

for the second option (space) up the size to 1024 (1GB). let it do its thing.

Once done and back at the partition SD menu, select the SD:ext2 to ext3. let it do its thing.

Congratulations! You now have partitioned your SD card.

Time to flash the ROM

++ Copy Install Files to SD ++

So, now your ready to copy over the files you want to flash on R3charged.

go back to the main recovery screen.

select USB-MS toggle

connect your phone via USB to your PC and copy the following files over.

the format_all script

the recharged Rom

the a2sd script

++ Installing the ROM ++

So here is the installation procedure. I've learned over time that the main reason you will run into issues with ROMs acting weird right out of the gate, is because the SD card and /boot and /system folders are usually corrupt or not wiped properly.

So... first, you need to wipe the system. I recommend doing this twice to be sure everything wiped cleanly.

Here we go.

flash format all script.

- in recovery, select flash zip from sdcard > choose zip from sdcard > select your format all script and let it run

go back to recovery main and select wipe

- do this in this order

- wipe cache

- wipe dalvik-cache

- wipe data

- wipe sdcard: .android_secure

- wipe boot

- wipe system

- wipe sdext:

- wipe all userdata/factory reset

rinse and repeat (format all script and then the wipings)

**** DO NOT wipe SD Card ****

You are now ready to flash the ROM cleanly.

1. flash the ROM. The steps are the same as what you did for flashing the format all script

2. flash a2sd (this will automatically move all your present and future apps)(DO NOT MANUALLY MOVE THEM)

3. reboot phone

As in all roms flashing, let the phone sit for 5 minutes at the lock screen to let everything load before unlocking. Remember, you just loaded an entirely new system.

*** If you use Facebook *** if not, skip to number 4

do this:

skip setup (dont sign into anything we'll come back to it)

go to friends stream (the app, NOT THE WIDGET)

log into facebook from friendstream

Make sure you see that "you have logged into salsa successfully"

finish setup. (go to the app drawer, then select the setup app)

Once done with that...

open terminal and type

su
a2sd reinstall

phone will reboot

install apps

You're running a new system! and it will already be overclocked.

If you are getting hang on boot screen or major lag to the point of freeze then flash this zip to lower the overclocking from 1.2ghz to 1.1ghz.

For anything else, check out the FAQs on post #2.

Cheers!

-Champ