This guide has been created for those Galaxy S3 owners that have used numerous custom ROMs and kernels, which made their devices to stop working and now they are forced to restore the phone to a working state. This can be done only by restoring it to a stock Android 4.0.4 ICS firmware using Odin application.

The Samsung Galaxy S3 I9300 can be restored to a XXALF2 Stock firmware after you've bricked it, something is broken in your ROM and now you are forced to change its firmware. Make sure that you read all the instructions I've listed in this article and that in case you cannot complete the restore process, then you should ask for help in comments. Also, please note that this guides should be applied only if you're an advanced Android user and you know how to work with Odin and CWM Recovery.

Installing the Android 4.0.4 ICS XXALF2 firmware will restore your device to the same state it was when you first purchased it. Before we can begin the firmware restoring process, you will need to read the guidelines below and learn what actions are required to be applied first. This will help you successfully configure the smartphone and your computer so that you'll manage to restore the stock Galaxy S3 firmware at your first attempt. Here's what you need to do:

  • apply the XXALF2 stock ICS firmware only on the Galaxy S3 model number I9300. Do not attempt to install it on other Android smartphone because it won't work. Also, it won't work with the United States variants of S3.
  • Install Samsung Kies on your computer and use it to download and install the Samsung USB drivers or, use the following direct download links and install the USB Drivers yourself: Samsung USB drivers for Windows 32bit (x86) OS version | Samsung USB drivers for Windows 64bit (64bit) OS version.
  • Make sure that you know what you're doing and in case you can boot your device, you should backup all your important files along with applications, SMS and APN Setttings.
  • The Galaxy S3 battery charge levels should be over 70% so that it won't discharge while you're restoring the stock firmware.
  • Note that we cannot be held responsible if something goes wrong and you cannot boot the phone after you apply these changes. That is why this guide should be applied only by advanced Android users.

This guide shouldn't pose too much trouble but if you wish for it to work you will need to read all the tutorial steps twice and only after that you should apply them. Use the comments section in case you cannot complete the installation and tell us where you got stuck and what steps you took before hitting this roadblock.

How to restore Galaxy S3 to Android 4.0.4 ICS XXLAF2 stock firmware:

  1. Download the ICS stock firmware file from here or here.
  2. After the ROM file is downloaded successfully, you should extract its contents and you will get a single file with the '.tar.md5' extension. Save it on your computer's desktop.
  3. Download Odin3 3.o4 for Galaxy S3 I9300 from here.
  4. Extract contents into a single folder and save it on your PC desktop.
  5. Now, power OFF your Galaxy S3 phone and after this you will need to boot into download mode.
  6. Boot into download mode by pressing 'volume down' + 'home' + 'Power' and release these buttons only after the display powers ON. Press Volume Up button to confirm that you want to load download mode.
  7. Now, go to your PC and launch the 'Odin' executable file. The one you've extracted at step 4.
  8. Next, connect your SGS3 I9300 to your computer and ODIN should display a message box saying 'added!!'. If you don't see this message then it means that the USB drivers aren't installed on your PC and you should use the download links in the preparation guide, the ones listed above this tutorial guide. If Odin did find the Samsung USB Driver you're free to move to the next step.
  9. In Odin click the button that is called 'PDA'.
  10. Find the file you've extracted at step 2. It should have the '.tar.md5' extension. Select it and it will be loaded into Odin. NOTE: Don't change any of the Odin's default settings and make sure that the 're-partition' option isn't selected.
  11. Press the START button in ODIN and the program will now begin to install the stock firmware files.
  12. When the installation is complete you will see a 'PASS' alert displayed by Odin and this means that everything went according to plan. Your phone will also restart and after the Samsung Logo appears you are free to unplug the device from your computer. NOTE: If Odin gets stuck you are required to disconnect the phone from your PC and remove its battery and then re-insert it and, now repeat all the entire tutorial once again as something went wrong and the firmware wasn't flashed.
  13. That should do it, now your phone has been restored to factory stock firmware. Make sure to use the comments section in case you other questions.

In case after you see the 'PASS' message displayed by ODIN, but the phone it seems like it got stuck at the Samsung logo screen for more than 15 mintues, then you should use the following instructions to manage to boot into your Android 4.0.4 ICS XXALF2 home screen:

  • Power off the phone. Remove its battery and after that re-insert back into its Galasy S3 location.
  • Boot into custom recovery mode by pressing and holding simultaneously these buttons: volume up + home + Power.
  • When in Recovery mode you will need to first select 'wipe data/ factory reset' and after that confirm this action.
  • Next, select 'Wipe cache' and confirm.
  • Go back to the main recovery screen and select 'reboot system now'.
  • Galaxy S3 I9300 should be able to boot normally into its home screen and it should pack the stock ICS XXALF2 stock firmware.

That's all the info that I had for you and now you should start testing your phone or you can choose to click the 'Galaxy S3' device link listed under this post's image and you will find numerous guides on how to root your phone fast and easy. If you have any questions or some tips and tricks regarding Galaxy S3, Android 4.0.4 ICS custom or stock ROMs then feel free to leave a comment at the end of this article.

jonathan · 4 years ago

os links estao fora

shajin · 4 years ago

i could find the 4.0.4 firmware

etan2y · 5 years ago

download link please! help! thanks

etan · 5 years ago

download link please

Koen · 5 years ago

My gt-i9300 doesn't boot after flashing android 4.0.4 ics. It freezes at the Samsung Galaxy S3 logo and i can't get to recovery mode using the 3 button combo! Help pleasse!!

robin · 6 years ago

it broke my IMEI. now cannot get IMEI or mobile network! please give me solution mahfuj.robin at gmail dot com

IonelRo · 6 years ago

install kies then turn you phone off and restart in download mode . Next you have to connect mobile to PC and start firmware initialization from kies, insert phone model (GT-I9300) and phone`s S/N ( you`ll find this on sticker under battery) then click next until kies will ask you to wait. After restar you will be pleased :D

vicky · 6 years ago

hello, i was try to download the firmware but HotFile is already closed.. got other working links to download?

IonelRo · 6 years ago

Try Sammobile

danijel · 6 years ago

can someone upload file to other site , because hotfile dont work ,thanks :)

Emmanuel Baluran · 6 years ago

Thanks. :)

Erick Paul Adriano · 6 years ago

Bro the site is dead can you give me another link cause my s3 is having a problem it says not register on network after updating on jelly bean i really need your help badly

bhaumik · 6 years ago

hi there,

i have sgs3 i9300,
i was on xperian z rom - i installed omega 47 "Based on XXEMG6 Android 4.1.2 (Date: 26/07/2013), Kernel Stock XXEMG6
Modem CEEMG2"

i was not happy with battery life so i decided to go back to xperian z, i flashed the rom, all went ok but i lost my IMEI, then i used the ktool to restore the imei, but it creates a .img file and i had .tar.gz file in my ext card.

the dumbest thing i did was to rename the .tar file to .img file. the phone rebooted but in the boot loop now.

it can go to recovery (right now i have twrp) and download mode.
i tried follwoing
- flash pit + tar.md5 (stock downloaded from sammobile) BTU and INS
- flashed cm 10 nightly latest build
- with your tool i tried to push /efs folder but folder was not found on pc (i put the folder to "pulled files form phone" folder )

debeloper · 5 years ago

If your someone has s3 and twrp tell him to make a backup then switch ext sd cards and restore his backup

AboMaher · 6 years ago

Does it support Arabic ?

ameesh · 6 years ago

hello frndz can u plz send me the link that have resume capacity send me the link plz

ArmyWife Francis · 6 years ago

Thank you, thank you and thank you again. I was at my wits end when I found these instructions. Fully restored to "perfection".

Biso0 · 6 years ago

I don't know how to thank U . U saved my life and my mobile and my money beacause i have downloaded cyanogenmod 10 .1 and i didn't make a backup so i couldn't go to my original android so thanks very very very very very very much

Sumit Parmar · 6 years ago

Thanks a lot man this jelly bean sucks yarr,.,.,my phone was not working but now every thing is fine thanks to you my frnd.

Isak · 6 years ago

I want to marry you. Was stuck on the /efs error for days without any other rom working, then tried your guide and it insta-worked. Thanks a million champ

Muhamad Faisal Razali · 7 years ago

Car charger (1000mA) not working after all..
BTW, Charge through Wall charger and USB computer work well

Coe · 7 years ago

thanks mate ! it works and i learnt a lot as well

Richard Lumby · 7 years ago

Works a treat, thought i was stuck without original software..

yhlas · 7 years ago

thank u very much!!!!! great job:)

Carl Jarvis · 7 years ago

Great tutorial - I have to wipe the cache etc too but this worked fine. Was able to update the OS to Jellybean (through the phone settings) too. Many, many thanks! Carl.

karim · 7 years ago

hello I'm from lebanon, i have an s3 i9300 international version.I rooted it by using cyanogenmod 10 to jellybean 4.2 the latest firmware but now i jut want to restored it to the official one the ICS but the only problem is that i cant connect my phones to kies,to restore the backup since i had downloaded all the usb drivers.IF anyone have solutions plz contact me

Gabby · 7 years ago

Pls i need to know if any of the XXLAF2 stock firmware will work for the i9300 ?

LAO Sopheak · 7 years ago

Great tutorial. Thanks admin.

Vaibhav Khanna · 7 years ago

Its stuck on samsung logo @boot time for like more than 10 min !

specters · 7 years ago

hey mate..what happened did u manage do make it work?

Marie · 7 years ago

Hi i Get an error There is no PIT Partition. And It fails ,any advice?

Mansur · 7 years ago

can i use this rom in Asia as well?

nemer danof · 7 years ago

cant do any thing please help ... also contacts has stopped

nemer danof · 7 years ago

wtf it is buggy (unfortunately, the process.acore has stopped.) what was that?

nemer danof · 7 years ago

man you are crazy thank you alot hehe

GreyDragon · 7 years ago

THANK YOU! I THOUGHT I HAD F*$%*" my S3, your site and instructions were spot on and easy to follow .

thiago · 7 years ago

Man thank you so much! I was going crazy with the Jelly Bean 4.1.1 because it wouldn't connect on a wifi network, now I finally got back to good and old Ice Cream Sandwich!

Scott Andrew Morrison · 7 years ago

I haven't bricked my phone, only flashed cm10 on it once. It's a little buggy with a few apps and I've grown tired of Google now. Is this the route for me to go to get back to the original rom or is there just a simpler way for me to do it.

Daniel Peña · 7 years ago

Do I need to root to do this ?

keano36 · 7 years ago

First class been on Android less the week, so was a bit worried, but need not be was easy.

leo · 7 years ago

mine does not goes to cwm recovery but normal samsung recovery....

Sam · 7 years ago


sal · 7 years ago

ive sorted it, works great - once youve done this id advise you to go on androidcritics .com and download the new official 4.1.1 jellybean rom and flash that through odin, it is an official jelly bean rom launched in poland

sal · 7 years ago

ive downloaded the rom but when i go in to odin > PDA> the rom file doesnt show up, any ideas?

Oguzhan Uysal · 7 years ago

Thanks for the detailed guide, as small request thought. Next time please include mediafire as a host, i'm getting aweful (<300k) speeds on hotfile and won't even start (server busy).

IAmChuckyD · 7 years ago

What a life saver!! Thank you so much! Cyanogen is a nightmare on the i9300 and it seemed to last forever... But now I'm back to Ice Cream Sandwich and I'll never leave it again!

polm · 7 years ago

I live in the netherlands and i root my SGS3 and i am on a custum rom , can i use this firmware to go back to stock?

abdullah · 7 years ago

thank you very much ! your instruction work great with our mobile i keep follow all in youtube here in Google but no result

abdullah hamadah kuwait

billy883 · 7 years ago

thanks worked i looked at soo mnay websites they didnt work. is the download ment to take 1h 30min to download stock rom

Andy · 7 years ago

Hi, you just saved my life!! Thanks a lot, can't thank you enough. My Samsung Galaxy S3 had gotten stuck on boot after i tried to format sdcard, after many days of not being able to do anything, your guide helped. God Bless You!!

Hussam · 7 years ago

Thank you so much. If anyone is reading the comments because they are unsure of this method, it works GREAT.

William Morris · 7 years ago

You a fucking life saver fuck JB im sticking ICS Touchwiz home keeps stopping, keypad is messed up press one letter and another one get pressed at the other side of keypad

Diwakar · 7 years ago

thanks a lot man atleast this resolved my issue of booting up my phone provided by you thanks a tonne

diwakar · 7 years ago

by the firmware you provided thanks a tonne

LeoSanjuan · 7 years ago

thank you , i did go back to my stock rom, but when i connect my device to samsung skies it show Your device doesn't support software update over via kies? i don't get it. it mean in the future i can't get jellybean on samsung vie skie. thank you one again

George · 7 years ago

Vey great guide, it really helped me! My problem was that my phone had a lot of preloaded things from a carrier and icons where different

David · 7 years ago

I was able to put in the stock firmware on my S3 and I made some test and everything
seems to be working perfect. Phone calls, SMS, MMS, Data, WiFi, camara,
everything. Thanks guys, I'm really happy that I have my S3 with the factory firmware.

Nate25 · 7 years ago

I don't know why I don't see any comments to such a post. For me, I have an international version, but I use it in US. When I first got out of the box, the device was working fine, but Kies asked to make a firmware update. Once the update was done, my signal indicator shows I am in a roaming mode, but I am in fact at the same place. It doesn't charge me for roaming and the data option is turned of, but still getting the roaming signal. Samsung UK told me they need to get the device to work on it, and I can't get the old firmware once I upgrade. Your post look promising, but I am afraid to try it since I don't know if the rom you mentioned as stock is my original factory rom. Also I hope to see someone else who tried this, so I break the ice and give it a try. Thanks for the post again!

corner-left-up dots-three-vertical