[Desire Android Development] Jereso:
-------------------------------------------

Backup Guide

There are many processes to backup your phone. We can divide these processes into 2 categories:

DATA BACKUP and NANDROID BACKUP

Data backups are backups of certain things such as Apps, Data, Text messages, and even system preferences.

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

Nandroid backups are backups of everything on the phone, from every partition of SYSTEN, DATA, BOOT, SD-EXT, CACHE, and .ANDROID_SECURE. This is a byte-for-byte copy of everything on your phone (and if you have a partitioned SD Card).

System is your phone's ROM area, holding the internal components of the ROM and the built in apps.

Data is the area where applications and app data is kept if not installed to the SD Card.

Boot is the ROM's boot image. You will have very little interaction with this.

SD-EXT is on your SD Card, standing for SD EXT Partition. EXT2/3/4 is a file system used by linux (which android uses) and can be used to store data. Commonly used for Apps2SD or Data2SD/Data2EXT.

Cache is the area on your phone that data is temporarily written to, like web page content and app data.

.Android_secure is used for the normal Android Apps to SD system. Some apps keep data on your sd card.

Before you EVER DO ANYTHING like flashing another ROM, or try a modification like Data2SD or other ROM modifying scripts, DO A NANDROID BACKUP. This is the most important thing you'll ever need in case soemthing goes wrong.

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

Data backups are backups of parts inside the phone, and certain parts such as user apps and app data can be applied to whatever ROM you use. Say you are going from your Stock Sense ROM and you want to try Cyanogenmod, but you don't want to replay all your games like Plants Vs Zombies and Angry Birds. Using an app like Titanium Backup, you can backup the app and all of its data and restore it on another ROM like nothing happened.

Data backups can even include things like ringtone settings, text messages, preferences, and contact data.

If you care about anything like those on your phone, you should do a weekly backup.

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

Nandroid backups are completed by your recovery image. Say you want to do a Nandroid backup on Clockworkmod, you simply boot into recovery, select Backup and Restore, and choose Backup (make sure you have enough space on your SD card, such as 1GB free). The process will copy everything on your phone and place into a folder on your SD card, and you can restore these backups any time you like.

Data backups are done by certain apps. Titanium Backup and My Backup (Normal or Pro) are the common suggestions. Titanium Backup has been around forever and works great, but My Backup will also backup other things like text messages, call logs, and other core phone features. I personally use Titanium Backup, SMS Backup and Restore (https://market.android.com/details?id=com.riteshsahu.SMSBackupRestore His other apps are useful as well).

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

Titanium Backup Guide

Once you are rooted and install Titanium Backup, if you're on Stock ROM, open up Titanium Backup, and hit the Problems? button in the bottom center. There should be a Upgrade or install Superuser button, which is required for many root options and required for backing up! Install it!

For a quick and easy app backup, just go to Titanium Backup and hit Menu, then select batch. Find the Backup all user apps + system data option with the button that says RUN in black. Hit Run the batch operation at the top, and make sure you have enough space on your SD card, around 200mb. It will now start the backup and complete in a few minutes. The more apps, the more time it takes.

When you install your new ROM, install Titanium backup (Superuser is built into most custom ROMS) and hit menu, Batch. Find Restore missing apps + all system data. Some ROM apps will clash, like camera and dialer, so uncheck those and reinstall them manually.

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

One of the most important things to do is to backup your APNs. APNs are what allow for picture messaging/MMS and in some cases internet browsing. This app will streamline the process: https://market.android.com/details?id=com.riteshsahu.APNBackupRestore

Simply backup the APNs from your stock ROM and restore them onto any ROM you'd like.

If you must remake your APN and you are on a US Cellular Desire, this should help you:

http://teamuscellular.com/Forum/viewtopic.php?f=72&t=60

I would suggest making a Sense APN backup and a non-Sense APN backup and restore one to whichever ROM you're using.

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

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

Returning to Stock (US Cellular users)

So say your phone screen cracked somehow, like your girlfriend had it in her lap, and she got out of the car. Concrete + perfect angle + force of gravity = cracked glass. (I still love her don't worry)

Hopefully you have insurance on your phone, and the software works fine and the touch screen works.

For those returning it, you should definitely flash back to the stock ROM or apply the 2.2 Update. This will not S-ON your phone, but it likely won't matter.

To do this, proceed to http://www.htc.com/us/support/desire-uscellular/downloads/ and follow its instructions for installing the update. However, many people have problems with this, but don't worry, I found out how to install the update without the program working.

1) Download the update and open the executable file. It will unpack the files to the temporary directory (%temp%) but we can find this easily. After opening it and waiting for it to complete unpacking, open your task manager and find either ARUWizard.exe or ISBEW64.exe. Right click on one of these files, click Open File Location. Find rom.zip, which should be about 163mb. Copy this into a folder of your choosing, like Rooting/Stock Froyo.

2) Do a Nandroid Backup on your phone!

3) Rename the rom.zip into PB99IMG.zip and place onto your SD Card of your phone.

4) Reboot into HBOOT (Hold Volume Down and Power) and it should find it with seconds, but will take a minute to load.

5) Apply the update, and you should be back to Stock Froyo. Your HBOOT will be 1.06, but you will be S-OFF still. They most likely won't care.

Optional steps!

6) Say you're on US Cellular, and need to send it back to Assurant Solutions, the insurance carrier of US Cellular. You will need a $100 deductable payment. They should send your new Desire in the mail pre-loaded with Froyo, along with a return envelope. Take out your SD card of your old phone, and place your old phone in the envelope.

7) Take your new phone and activate it by calling 888-944-9400 on another phone or Google Voice on the desktop, follow the menu to talk to a representative by dialing zero as your last step. Make sure to have the ESN DEC number of the new phone (Under the phone or on the box), the last 4 digits of the account holder's Social Security Number, and of course the phone number.

8) The person you speak to will activate the phone and ask you to dial *228 to update the PRL, which will take about 2 minutes. Say thanks to the helpful representatives!

9) Follow the rooting guide for HBOOT 1.06, restore ClockworkMod, (optionally nandroid the stock ROM), and restore the update for your previous ROM.

10) Go get a good protective case for your phone and KEEP IT ON.

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

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

Lost USCC 3G/1x Fix

For some reason, for a select few users, they lose 3G service, and in some cases 1x all together! If this happens to you, don't fret! USCC Tech Support is great, just don't tell them that you're rooted. In most cases, these fixes are only avaliable for Sense ROMs, because EPST.apk is a Sense-Framework only tool that handles core functions of the phone, such as programming the number and other items. If you need to call tech support, flash a Sense ROM or the best case: your stock ROM. Keep a Nandroid restore set of your stock rom backup up on your computer or dropbox just in case this happens. This is the official fix they gave me.

While attending college 100 miles away from all US Cellular Towers, my 3G lost service. When you roam on a USCC device, you're bouncing off of Verizon towers, and sometimes they block your device for some reason. Not even Tech Support always knows why. I had them send me the fix since I had to run to class, and I noticed on the Cyanogenmod forums a lot of people lose their data signal, so I shared it for them.

[COLOR="#FF00000"]YOU MUST DO THIS ON A SENSE ROM, STOCK IS PREFERRED. ROOTED OR NOT.

CALL TECH SUPPORT FIRST, THEY'LL GIVE YOU YOUR SUBLOCK CODE AND GUIDE YOU THROUGH THIS.[/COLOR]

You can find your Sublock code (MSL) by getting the MSL Reader app from market and running it on your stock ROM.

When finished, make sure your data works, and then you can boot back into whatever ROM you'd like.