[Galaxy 3 Android Development] sekhargreen:
:: How To's ::

Samsung Galaxy 3 (I5801/I5800) Flashing Guide

Before these steps make sure you have latest version of kies installed, it helps in keeping latest drivers installed.

Files required for Flashing can be downloaded here.

1) Start Odin (if using windows 7 or vista right click Odin and use run as administrator)2) Check "One Package" checkbox3) Check “Reboot” checkbox4) Check protect ops checkbox (Don’t check this if you are flashing I5801 with I5800 firmware for the first time.)5) Check reset time checkbox, keep the default value as it is i.e. 300 don’t select any other options.6) Hit reset files button once.7) Click ops button and select OPS file for I5800*8) Click one package and select the firmware you want to flash. The file must a .tar file.9) You can take a backup of your data/apps. For that you can use Titanium Backup. For backing up contacts and SMS.A) go to contacts press menu/left most button select import/export option, then export the contacts to sdcard.B) For sms use the app called SMS backup.10) Now remove your sdcard and sim card from phone and do a factory reset/ Hard Reset also clear cache then restart and put it in downloading mode by pressing vol- + home + power button together.11) Now connect your phone to pc.12) Odin will show yellow color and com port no. in the first box on top in Odin.13) Click Start and watch the progress bar and timer, wait until PASS message appear on Message box.14) Disconnect the phone from PC when Odin displays disconnect serial port & wait until rebooting phone.

Let the phone boot it takes some time 5-10 mins for first boot so don’t panic.

After reboot do factory reset or Hard Reset also clear cache again then restart phone and put sim and sdcard back in.

Sorry cant post images right now in office, will attach images as soon as i get home.

Please let me know if i have missed anything or if anything needs correction.

ATENTION I5801 USERS:to keep the i5801 bootscreen you should remove boot.bin and sbl.bin from the .tar file before flashing.

Deodex

Advantages or disadvantages

- Odexed ROMs are slightly faster, deodexed ROMs are slightly slower

+ You can make custom themes for your ROM

+ Performance los is negligible.

Requirements:

Download XUltimate

Busybox installed

Root

1. Connect phone to computer

2. Start xUltimate, we will now get the required files from our phone to deodex and zipalign it which we will describe in the 3rd step.

3. On the main menu of xUltimate, choose option 5 (Pull and deodex all). Everything will be done for you here. Don't worry. You will see all your finished files in the folders 'done_app' and 'done_frame' which are located in the installation directory of xUltimate.

4. move folders 'done_app' and 'done_frame' folders to your sdcard, you can find these folders in the directory of xUltimate as described in the previous step.

5. Make sure the sdcard is not mounted to pc anymore

6. Open Windows Command Prompt and type the following commands.

adb shell

su

stop

mount -o remount,rw /dev/block/stl12 /system

rm /system/app/*.odex

rm /system/framework/*.odex

busybox cp /sdcard/done_app/* /system/app/

busybox cp /sdcard/done_frame/* /system/framework/

chmod 644 /system/app/*

chmod 644 /system/framework/*

mount -o remount,ro /dev/block/stl12 /system

sync

reboot recovery

7. Now data and cache reset in the recovery menu...

8. reboot

If one of the commands, for example 'cp' is not found, try putting busybox in front of the command:

eg: busybox cp /sdcard/done_frame/* /system/framework/