[Android General] zaclimon:
5. Odin Instructions for the Samsung Galaxy ARMv6 "based" devices

"

Underpowered, they're still fighting through the end...

"

Device examples:

Samsung Galaxy Ace (S5830)

Samsung Galaxy Gio (S5660)

Samsung Galaxy Mini (S5570)

Samsung Galaxy Fit (S5670)

5.1 Odin Prerequistes:

When you need to flash using either Odin or Heimdall (with Windows), you need the USB drivers. You can use either kies or the standalone USB drivers. (I prefer the USB drivers because Kies is not what I would take for a first choice...)

- A working brain

- A working computer

- Samsung USB Drivers

- Odin Multi Downloader v4.42

- The files you'll want to flash

- An "ops" file (Only need for when you re-partition. It can be found in your device's respective forum)

- A stock samsung USB cable if possible (it seems to give better result than other USB cable bought on third party sellers.)

Note: It is recommended to plug the device in download mode before executing Odin so the computer will recognize it and do the final preparation for the first time you'll want to flash something.​

5.2 Little Glossary:

Left side:

One Package:

If you have a one package firmware, (one that has every partition regrouped into one) you may check this box and take your one package file from your computer.

Auto-Reboot:

Self-explanatory

Protect OPS:

Need further info on that one but looks like it protects the internal OPS file from inside the device if you use a OPS while while flashing something.

Reset time:

Don't know really what it is. (it looks like it can restart odin after a set number of time after having initially pressed "start")

Note: those 3 last boxes should always be checked

DEBUG ONLY:

Well it is what it says. There's no option you'll really use in this part so I won't describe it as it's not necessary.

Right side:

OPS:

This serves as the equivalent of PIT for some devices, it has information for the partitions from your device. it comes with a .ops extension.

BOOT:

Not sure what this box is. From what I see, this box isn't even used...

Phone:

This is where the Modem (Baseband) will go. It will normally contain "MODEM" in it's name. Once again, it will come with the .tar.md5 extension.

PDA:

Normally this is where your firmware (ROM along with kernel) will be flashed. It contains the "PDA" name in it as well as the .tar or the .tar.md5 extension.

CSC:

File that contains information from a specific network operator. (to use some special feature) You won't probably use this case if you're locked into a particular network... It does contain "CSC" in it's name and it comes with the .tar.md5 extension.

EFS:

This is the file that contains the most sensible information of your phone (IMEI, S/N, MAC addresses, etc...) it comes also with the .tar or .tar.md5 extension.

One Package:

If you do happen to have a "One Package" file, you can use it to flash all it's contents into your device.​

5.3 Flashing Time:

When you have finished with installing your drivers and your device has been recognized in both "normal" mode and "download" mode, you can proceed with the flashing. Here you can find a picture of Odin actually running. (Can be useful if you want a landmark on what to expect)

1. Extract all the files from the from the OdinMultiDownloaderv4.42.zip

2. Execute Odin Multi Downloader v4.42.exe

3. Put your device into download mode. The result should be something similar to this after you maybe had this beforehand.

4. You should see a yellow rectangle with COM:xx and saying ready. It means that your device is ready to be flashed!

5. Depending on what you're flashing, take it to the corresponding box (PDA: Roms, Kernels) (Modem: Radio/Baseband) (CSC: Csc file) (EFS: EFS file)

6. When you're clear with this, be sure to check throughously that the file is intended for your device

7. If a .opt file was selected when trying to flash, ensure that "Protect OPS" at the left is CHECKED!!

8. Press the flash button

9. It should go through the flashing, you should see the partitions that's being flashed into device during this time.

Note: DO NOT EVER unplug the cable as the result will probably be a pricey plastic brick in your hands now.

10. When everything is finished, the program should ouput that it's done with a green box and your device should reboot automatically.​

5.4 Misc. Section:

I would need more information. If you could send some, it would be appreciated! :)

​

​

​

6. Heimdall Instructions

"

At last, an alternative has been found...

"

Heimdall should work at least with the following devices (I'll add more if necessary)

Samsung Galaxy S (I9000)

Samsung Galaxy S II (I9100)

Samsung Galaxy S III (I9300)

Samsung Galaxy S4 (I9505)

Samsung Galaxy Player (All)

6.1 Heimdall Prerequistes:

When you need to flash using either Odin or Heimdall (with Windows), you need the USB drivers. You can use either kies or the standalone USB drivers. (I prefer the USB drivers because Kies is not what I would take for a first choice...)

- A working brain

- A working computer

- Samsung USB Drivers (for Windows only)

- WinUSB drivers installed (From zadig.exe, once again Windows only)

- Udev rules set-up for your Samsung device (for Linux only)

- Heimdall's Official Webpage

- The files you'll want to flash

- An "pit" file (needed for Heimdall to actually flash on your device)

- A stock samsung USB cable if possible (it seems to give better result than other USB cable bought on third party sellers.)​

6.2 Little Glossary:

Load Package Tab:

We won't really use it... Unless you have an Heimdall package but you should already know how to use it...

Flash Tab:

PIT:

Self explanatory once again, the file should normally come with a .pit extension. Also you have to select it in order to be able to flash (unless you're using the terminal)

Re-Partition:

Actually means what it means, it re-partitions your device according to the pit file you've given. It's only necessary to check it when flashing back to fresh STOCK and doing it without any further objective will BRICK your device.

Add:

Pretty simple, Adding the partition you wanted to be flashed according to the "pit" file you've selected

Remove:

Pretty simple once again, this time it's to remove the partition you've selected.

No reboot:

Won't reboot after all the flashing has been done.

Resume: (use after "No reboot")

This is only to continue the session of "flash" as of after you've flashed something with Heimdall and you decided to press "No reboot", Heimdall stops communication with your device and you would need then to reboot it back into "download" mode to get it back working again

Create Package Tab:

Won't really explain because it's not that "much" used so it won't be useful for the purpose of this thread

Utilities Tab:

Detect Device:

Obvious but for debugging purposes it can be useful.

Close Pc Screen:

This affects more older Samsung devices (like the original Galaxy S) that when something went wrong with a flashing this picture would get in when you turned on your device. This button fixes it.

Download Pit:

Here you can grab the .pit file from your device and save it through your computer. (Useful if you do need one but can't find it anywhere or for specific debugging purposes)

Print Pit:

Here you can see the content of the .pit file from either two places: From your device or from a pit file you have on your computer. The result will be displayed on the "Output" window.

Partitions:

IBL+PBL:

Primary bootloader, you mess with it, your device is a plastic brick... (Normally it should be a file named boot.bin)

SBL:

Same thing as IBL+PBL. (It should be a file named sbl.bin)

SBL2:

Acts as a backup of the original SBL partition. I don't really know if this could boot up when the first SBL is borked up.

PARAM:

It's a file that "controls" the bootloaders on the initial device's boot. (param.lfs)

CACHE:

It's actually your cache partition (The older Samsung models would have a file named cache.rfs, newer Samsung models though should be something like cache.img)

EFS:

This partition is very important because all the "sensitive" data of your device is there: S/N, IMEI, MAC addresses. (Older models: efs.rfs, Newer models: efs.img)

RECOVERY:

That's the recovery partition, where your recovery will be at. It serves as a unused kernel partition for the original Galaxy S. (It should be something like recovery.img for newer devices)

FACTORYFS:

This is where your OS (/system) is. (Older models: factoryfs.rfs, Newer models: factoryfs.img)

KERNEL:

It is what it is basically. It's where your kernel will be flashed. (Older models would be zImage/boot.img/normalboot.img where's the newer models comes more with boot.img)
​

6.3 Flashing Time:

When you have finished with installing your drivers and your device has been recognized in both "normal" mode and "download" mode, you can proceed with the flashing. Here you can find a picture of Heimdall on the "Flash" tab actually running. (Can be useful if you want a landmark on what to expect)

1. Extract all the files from the from the Heimdall zip you download

2. Execute Heimdall-frontend.exe on Windows, the Heimdall executable on Mac OS or on your Linux terminal, type "heimdall-frontend"

3. Put your device into download mode.

4. Plug your device into your computer. If you go to the "Utilities" tab and press the "Detect Device" Button. If it has been detected, you can continue on.

5. Go on the "Flash" tab. From then, you need to take up a .pit file that has been saved into your computer.

6. After taking your .pit file, you'll need to add a partition. Then selecting the partition you'll need to flash from the dropdown menu.

7. Be sure to check carefully each partition so you know that each partition equals their file counterparts.

8. When that is done, depending on if you're going to stock or not, check the "Repartition" box.

9. After you've been

SURE

that

ALL

those check-ups have been made, press the "Start" button.

10. Let the program do it's things. Then when it's done, your device should reboot automatically and it's a

SUCCESS!!

Note: DO NOT EVER unplug the cable as the result will probably be a pricey plastic brick in your hands now.

​

6.4 Misc. Section:

- Heimdall CAN'T possibly work with every device. You mostly have to test for yourself if Heimdall works for you.

- When you install your drivers from zadig.exe, it "overwrites" Odin drivers which will make your device unusable with Odin. It's kinda like a trade. If you want to use Odin, you can't use Heimdall and vice-versa.

- If you happen you have an "Odin" flashable package and you want to flash using Heimdall, you can remove the ".md5" extension from your file and then extract the ".tar" file contents, you should get each of the partitions that can be flashable via Heimdall.

​

​

​

7. Thanks

"

The roots provided by them grew into this tree...

"

Google

Samsung

[MENTION=2857564]SamHaLeKe[/MENTION]

[MENTION=2710388]Benjamin Dobell[/MENTION]

[MENTION=3639717]Perseus71[/MENTION]

[MENTION=5082757]LuigiBull23[/MENTION]

​