Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[GUIDE][GB/JB] All About Galaxy Ace 2 GT-I8160. Flashing, Pre-rooted Firmwares, etc.

OP kyrillos13

26th January 2013, 01:46 AM   |  #1  
kyrillos13's Avatar
OP Recognized Developer
Flag Athens
Thanks Meter: 5,133
 
4,217 posts
Join Date:Joined: Sep 2010
Donate to Me
More
How to flash a new firmware to your phone with ODIN







Latest available Gingerbread Europe firmware: I8160XXLL2 (26 December 2012) [Android 2.3.6]

Latest available Jelly Bean Europe firmware: I8160XXMG2 (5 July 2013) [Android 4.1.2]



Instructions (Gingerbread)
  1. If you don't have Samsung Kies installed in your computer, download and install Samsung USB Drivers. Download Odin 3.07 (latest), too.
  2. Go to: http://www.sammobile.com/firmware/, type "I8160" in the search and download the firmware you want. Alternatively you can make/download a pre-rooted firmware from the second post if you want.
  3. Extract the firmware and you will get something like I8160XXLL2_I8160OXXLL2_HOME.tar.md5
  4. Make sure that you have at least 15% battery. Put your phone in Odin Mode. (Turn off your phone, and then press: volume down + home + power button simultaneously for 3-4 seconds)
  5. Open Odin 3.07, connect your phone and you will see an ID:COM box filled with blue at the top-left corner. (1st image)
  6. Tick 'PDA' click it to select the I8160*****_I8160******_HOME.tar.md5 file you extracted in step 3.
  7. Take a deep breath. Press 'Start'. The flashing process will take about 6 minutes.
  8. When you see a green box with 'PASS' at the top-left corner, then you can disconnect the phone's cable. (2nd image)
  9. Enjoy.



Instructions (Jelly Bean)
  1. If you don't have Samsung Kies installed in your computer, download and install Samsung USB Drivers. Download Odin 3.07 (latest), too.
  2. Go here to download XXMB2 JB leak (outdated) or here to download XXMB4 JB leak (outdated). You can find ME7/MF1 on Ace 2 General Forum.
  3. Extract the firmware and you will see a few files. CODE_I8160XXMF1.tar, CSC_OXA_I8160OXAMF1.tar and GT-I8160_EUR_XX_4G.pit will be used in ODIN.
  4. Make sure that you have at least 15% battery. Put your phone in Odin Mode. (Turn off your phone, and then press: volume down + home + power button simultaneously for 3-4 seconds)
  5. Open Odin 3.07, connect your phone and you will see an ID:COM box filled with blue at the top-left corner. (1st image)
  6. (Skip this step if you are already on JB) If you are on a GB firmware, click 'PIT' and select GT-I8160_EUR_XX_4G.pit. Re-partition box should be checked in options. Warning!!! Don't tick repartition if you are already on MB2/MB4/MC8 and you want to go to a newer firmware!
  7. Click 'PDA' and select CODE_I8160XXMF1.tar & 'CSC' and select CSC_OXA_I8160OXAMF1.tar.
  8. Take a deep breath. Press 'Start'. The flashing process will take about 8 minutes.
  9. When you see a green box with 'PASS' at the top-left corner, then you can disconnect the phone's cable. (2nd image)
  10. Enjoy.




Notes:

Odin: Its the latest available version, slightly modified by me, so all other options & file download options except 'PDA' are deactivated for safety.
Firmware: Always update to the latest available so you have the more recent bugfixes, stability fixes and new features.
Upgrading with Odin, won't wipe your data & won't increase the flash counter.
I take no resposibility if your phone explodes or sth
Last edited by kyrillos13; 19th July 2013 at 04:22 PM.
The Following 40 Users Say Thank You to kyrillos13 For This Useful Post: [ View ]
26th January 2013, 01:50 AM   |  #2  
kyrillos13's Avatar
OP Recognized Developer
Flag Athens
Thanks Meter: 5,133
 
4,217 posts
Join Date:Joined: Sep 2010
Donate to Me
More
Official ROOTED firmwares for the SGA2 (Multi-CSC)
PRE-ROOTED STOCK FIRMWARES


The following firmwares are completely stock, original firmwares, with only the addition of the 2 needed files, su binary and Superuser.apk.
(Explanation: The first one (su) is the 'root' itself, while the second is the app that allows or denies superuser permissions to other processes).

This does not have CWM recovery, or any modifications. You can add those later yourself, if you wish. This is just the Samsung rom, rooted. Nothing more.

If you have OXX csc in your firmware (most of central-eastern Europe does; you can check by typing *#1234# and looking at the CSC - I8160OXXxxx), feel free to flash it on top with Odin, it will not wipe your data.

You don't have to install stock firmware first and then this. You should install this directly. Its stock firmware + SuperSU





This does NOT trigger the flash counter!


- Unroot
If for some reason you don't want to be root anymore, (e.g. returning your phone for service or selling it), just go into the SuperSU app, go to settings, and press Full Unroot. That's it, no more root.
(Goes without saying: you should first remove any mods you did while rooted).


- Download

I8160XXLL2 (Android 2.3.6, OXX multi-csc, PDA: I8160XXLL2, CSC: I8160OXXLL2, SuperSU 1.0.2 included)

Password: kyrillos13
Note: Individual csc contained in these OXX multicsc:
AMN, ATL, BGL, CMF, COA, COS, CRO, CYO, DCM, DNF, ERO, EUR, GBL, ITV, KOR, MBM, MKO, MSR, MTL, NEE, OMN, ORS, PHE, ROM, SEB, SIM, SMO, TCL, TEB, TMS, TMT, TOP, TPH, TRA, TRG, TSR, TWO, VDC, VDF, VDH, VIM, VOM, VVT, WIN, XEE, XEF, XEH, XEO, XEU, XEZ, XSK

Thanks to tyxerakias for this thread
Last edited by kyrillos13; 4th February 2013 at 10:41 PM.
The Following 17 Users Say Thank You to kyrillos13 For This Useful Post: [ View ]
26th January 2013, 01:50 AM   |  #3  
kyrillos13's Avatar
OP Recognized Developer
Flag Athens
Thanks Meter: 5,133
 
4,217 posts
Join Date:Joined: Sep 2010
Donate to Me
More
Flash Custom Kernel - Install CWM/TWRP Recovery - Reset Flash Counter
Flash Custom Kernel - Install CWM/TWRP Recovery

If you want to flash a custom kernel so you have CWM/TWRP recovery and then flash a rom, here is a simple, mini guide how to do it (after flashing the pre-rooted rom from the 2nd post, without increasing the flash counter.
  1. Download a custom kernel from here (eX Kernel) or here (Antsm's kernel). If you want a stock kernel with CWM and init.d support only go for the 2nd one.
  2. If it is a .tar file, extract it, if it has .tar.md5 extension, remove the .md5 first and then extract it until you get "kernel.bin.md5" or "kernel.bin" file.
  3. Copy the "kernel.bin.md5" file loose to your internal sdcard (phone's internal memory).
  4. Open Google Play and download Android Terminal Emulator.
  5. Open it and type:
  6. Code:
    su (grant Superuser permissions)
    dd if=/sdcard/kernel.bin.md5 of=/dev/block/mmcblk0p15
    reboot
    Note: hit enter after each line
  7. Done!



Reset Flash Counter - Bring back your Warranty

If for any reason you have flashed/rooted the phone with odin and you have a flash counter > 0, antsm did find a solution for you.

Just for the info:
  • To manually reset "CUSTOM FLASH COUNTER", open the Terminal and type:
    Code:
    su
    dd if=/dev/zero of=/dev/block/mmcblk0 bs=1 count=1 seek=3145732

Warning: The manually way is not recommended! If you do a typo, you can brick your phone!! Only for experienced users.


Head over to the original thread to download and install i8160_reset_ANT.zip file from the CWM/TWRP Recovery to reset the custom flash counter and current binary automatically.

For JB, download Triangle Away!
Last edited by kyrillos13; 1st March 2013 at 04:09 PM.
The Following 6 Users Say Thank You to kyrillos13 For This Useful Post: [ View ]
30th January 2013, 02:37 PM   |  #4  
Junior Member
Thanks Meter: 5
 
24 posts
Join Date:Joined: Dec 2010
I'm buying this phone for my sister later today and I'm almost certain it will come with network bloat. I love that 5 seconds searching on XDA brings up a simple clear thread like this and I know that as soon as I get home I can flash a 'clean' stock ROM.

Thank you.
The Following User Says Thank You to UndecipheredPixels For This Useful Post: [ View ]
31st January 2013, 06:53 PM   |  #5  
Senior Member
Thanks Meter: 74
 
214 posts
Join Date:Joined: Jan 2013
Quote:
Originally Posted by kyrillos13

Latest Samsung's stock firmware (LL2) prerooted is on the way. (Multi-CSC) Check second post!

Sorry, but I can't find the link to download the rooted firmware...Ops..Sorry, didn't notice that you still prepare it.
Last edited by veaceslav; 31st January 2013 at 07:20 PM.
31st January 2013, 07:33 PM   |  #6  
kyrillos13's Avatar
OP Recognized Developer
Flag Athens
Thanks Meter: 5,133
 
4,217 posts
Join Date:Joined: Sep 2010
Donate to Me
More
Re: [Guide] All About Flashing Galaxy Ace 2 GT-I8160 (+Official ROOTED Firmwares)
Quote:
Originally Posted by veaceslav

Sorry, but I can't find the link to download the rooted firmware...Ops..Sorry, didn't notice that you still prepare it.

I did upload it. I will post the link when i return to my home.

Sent from my Galaxy Ace 2 i8160
The Following 2 Users Say Thank You to kyrillos13 For This Useful Post: [ View ]
31st January 2013, 07:45 PM   |  #7  
Junior Member
Thanks Meter: 1
 
7 posts
Join Date:Joined: Jan 2013
More
Clean and nice thread, Thank you !
The Following User Says Thank You to kidgamepro For This Useful Post: [ View ]
31st January 2013, 10:11 PM   |  #8  
kyrillos13's Avatar
OP Recognized Developer
Flag Athens
Thanks Meter: 5,133
 
4,217 posts
Join Date:Joined: Sep 2010
Donate to Me
More
XXLL2 Pre-rooted upload complete!!
The Following 4 Users Say Thank You to kyrillos13 For This Useful Post: [ View ]
2nd February 2013, 12:25 PM   |  #9  
Member
Thanks Meter: 10
 
59 posts
Join Date:Joined: Jan 2013
Quote:
Originally Posted by kyrillos13

XXLL2 Pre-rooted upload complete!!

Thanks for such clear instructions to flash without updating the count. Couple of questions, my SGA2 has firmware I8160XXLK7, is this one of yours compatible and is LL2 just newer than LK7 or do the numbers mean something else?

Also when I do *#1234# I do have 'CSC' so should I first flash PDA then CSC and do I select the same file for both? The version of Odin I downloaded doesn't allow to select CSC, is there another way to do it?

And why do we not flash 'PHONE' ?

Thank you!
Last edited by btb55; 2nd February 2013 at 12:50 PM.
2nd February 2013, 06:58 PM   |  #10  
kyrillos13's Avatar
OP Recognized Developer
Flag Athens
Thanks Meter: 5,133
 
4,217 posts
Join Date:Joined: Sep 2010
Donate to Me
More
Quote:
Originally Posted by btb55

Thanks for such clear instructions to flash without updating the count. Couple of questions, my SGA2 has firmware I8160XXLK7, is this one of yours compatible and is LL2 just newer than LK7 or do the numbers mean something else?

Also when I do *#1234# I do have 'CSC' so should I first flash PDA then CSC and do I select the same file for both? The version of Odin I downloaded doesn't allow to select CSC, is there another way to do it?

And why do we not flash 'PHONE' ?

Thank you!

Yeah you can flash this. Its newer version than LK7 (L>K).
This packet is all in one. Phone, PDA, CSC. Its in one package (PDA). If you flash it, csc & phone will be automatically be flashed too.
Last edited by kyrillos13; 2nd February 2013 at 07:08 PM.

The Following User Says Thank You to kyrillos13 For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes