[GT540 Optimus Android Development] lavero.burgos:
[HOW-TO] Set up SDK/ADB/FASTBOOT on Windows | Flash Android ROMs 2.1/2.2/2.3

TUTORIAL #2

HELLO I SEE THERE IS QUITE OF PEOPLE (NEWBIES) THAT ARE HAVING PROBLEMS WHILE FLASHING, MOST OF THE TIMES FROM STOCK 1.6 TO 2.1, SO I WANTED TO SHARE THIS TUTORIAL I MADE AND WOULD LIKE TO ALL OF YOU CONTRIBUTE IN SOMETHING MISSING OR NEW THINGS FOR THIS TUTO AND MAKE IT THE UPDATED AND BEST TUTO FOR DUMMIES OUT THERE ;). NO OFFENSE :D. JUST THAT THERE ARE LOTS OF PEOPLE NOT FAMILIARIZED WITH THIS KIND OF STUFFS.

THANKS TO CHKRLY FROM TARINGA! FOR THE BASIS OF THIS TUTORIAL, i added and quit some parts, translated and attached files...

WARNING: Any of these methods can brick your phone, im not responsible if that happens. READ ALL THE TUTORIAL FIRST. If your phone gets unresponsive DO NOT PANIC! we are here for HELP!

FIRST PART

(Flash from 1.6 to 2.1 with fastboot)

In this part we are going to flash an european ROM that comes with fastboot with the purpose of flash other ROMs that needs fastboot later...

1. Create a folder, download the KDZ Updater , the European ROM and the drivers for our LG GT540 and unzip them all in the same folder.

Install KDZ

Deactivate your FIREWALL and Antivirus if necessary

Install drivers:

UPDATE: Thanks to eoghan2t7 you can install LG GT540 drivers all in one:

METHOD1: NEW

LGGT540 ALL IN ONE DRIVER PACK.exe (32 bits users only)

METHOD2: OLD

Or install the drivers in the old normal way (32 & 64 bits users)

WINDOWS7 users: Right clic>> Run as administrator.

Also is very important you install the drivers inside the LG_SmartPhone folder:

2. On to the phone go to: SETTINGS >> APPLICATIONS >> DEVELOPMENT and activate the mode USB debugging , also check out this:

SETTINGS >> SD CARD AND PHONE MEMORY >> EXTERNAL ONLY MEMORY (not SECRET_, remove if), then plug you phone to the computer

3. Close all applications you do not need on the computer and run the KDZ_FW_UPD.exe (Windows 7 users: right clic>>start as Administrator)

4. Once in the program select from the TYPE list the 3GQTC option and then clic in the folder icon and select the European ROM(KDZ file) from the folder where you unziped, then press the button Launch Software Update

NOTE: It is important mention that while in the process dot not interrupt the program, unplug the phone or shutdown the computer

*If it stops in any of the processes and doesn't finish (processes doesn't get stuck for long), then unplug your phone, close the program, open it again plug your phone, and run it again.

*If that doesn't help eather, remove the battery, close the program, plug your phone to the computer, start the program and run the process again.

NOTE: various problems in the following procedure to update can occur if non of the above tips helped then try this:

Go to Device Manager in your computer>> right click on the LG Modem Android>> DISABLE / Modem>> LGE Virtual Modem>> DISABLE and then try FLASHING AGAIN

THE WHOLE PROCESS SHOULD TAKE 10 MINUTES​

Once the program has loaded the ROM to the phone it will appear a leyend FINISHED, after that the phone will reboot and boot android 2.1 with fastboot.

SECOND PART

(Flash from stock 2.1+fastboot to custom 2.1/2.2/2.3...)

1. Download the following files:

- Google SDK tools, unzip and put the folder in C:\ drive

- Drivers for your computer recognize the phone in fastboot mode. Unzip and put the files inside the folder in C:\android-sdk (take a look of the 3th image)

INSTALL WITH YOUR PHONE PLUGGED:

... then next and it will install the drivers.

- Clockwork recovery (latest version) and place it in C:\android-sdk

- Download the ROM you want to flash for FASTBOOT NOT RECOVERY, UNZIP and place the .IMG FILES in C:\android-sdk

NOTE: It is RECOMMENDED that from stock 2.1 you flash to 2.2 and then to 2.3 and so on, this means not go directly to 2.3.3 as may cause your phone do not boot properly and also not login to recovery. This is not confirmed but some users have experienced this kinds of issues.

2. Shutdown your phone and Start it in fastboot mode (CAMERA+POWER BUTTON) hold the camera for 1 sec then add the power button ;). Wait few second you will see LG's logo then the screen will turn dark, CLEAN DARK SCREEN, just in that moment you are in FASTBOOT mode.

3. Flash rom by FASTBOOT mode:

Plug your phone to the computer and open a CMD terminal and type:

cd C:\android-sdk

4. Once inside the folder type ONE by ONE:

fastboot flash recovery recovery_clockwork_3.0.2.4_swift.img
fastboot -w
fastboot erase boot
fastboot erase system
fastboot flash boot boot.img
fastboot flash system system.img
fastboot -w
fastboot reboot

THAT MY FRIEND IS A CLEAN INSTALL...

5. Once is rebooting fast login to recovery pressing POWER+HOME. Inside recovery select wipe data/factoryreset for reset the phone. Then select reboot, and that's it YOUR DONE!

NOTE: If you are flashing any ROM with data2system method then DO NOT WIPE DATA/FACTORY RESET, just reboot.

6. Set your phone as you like install all your apps and once you done reboot into recovery and go to backup & restore>> backup for create a backup of your entire phone.