[ROOT] [i8160] [Ace2] Advanced rooting procedure WITHOUT increasing the Flash counter

Search This thread

Cosmo123

Senior Member
May 19, 2010
152
40
Hi there, I made a pre-rooted stock ROM with a modified vold.stab (internal and external SD card swapped). I am running it as a torrent. Attached the .torrent-file and the original as well, since the download on hotfile.com is so damn slow I wanted to save you the pain of 150kb/s downloads :)

It is the latest Firmware I8160XXLL2
 

Attachments

  • I8160XXLL2_I8160DBTLL1_DBT.zip.torrent
    17.4 KB · Views: 167
Last edited:
  • Like
Reactions: fluffi444

jha1

Member
Jan 15, 2013
12
0
Boehlerwerk
troubles when mounting system.img

Here you are... And of course also for the others :laugh:

GT-I8160 - Germany
PDA: I8160XXLL2
CSC: I8160DBTLL1
Version: 2.3.6
Date: 2012-12-28


Regions: Austria, Belgium, France, Germany, Hungary, Italy, Spain, United Kingdom

http://ul.to/4xrysniv
I8160XXLL2_I8160DBTLL1_DBT_ROOTED_SUPERSU


Please be sure that you have the FULL FW of this Version already installed!
SuperSU 0.99 is preinstalled!

If you want you can only flash the system-file. Made this recently with my own I8160P (Of course with an I8190P rootded system-file)

I wanted to route a Samsung GT-i8160 Austria (Open)
PDA:I8160XXLL2
CSC: I8160ATOMA1
Version: 2.3.6
Date: 2013-01

Description did work well till mounting, but when i come to the mounting point (sudo mount system.img /mnt/system)

I get always following error:
"mount: /home/pubuntu/samsung/system.img is not a block device (maybe try `-o loop'?)"

I am Using portable Pubuntu Ubuntu 10.04.4 LTS
What i am making wrong - or can someone help me routing this version please? (Yes i know system.img is ext4 - but that should work in this version already!)

Due to the big lack of answers here (equals to zero!) - i have managed it myself - in the meantime !!!

Conclusions:
1.) Portable Pubuntu does not work with mounting ext4 !
2. Any ubuntu above 11.x with vmware does work - with the standard procedure described on this pages !
3. If anyone needs a successfully routed i8160 PDA:I8160XXLL2 CSC: I8160ATOMA1 i can upload one (approx 400MB)
 
Last edited:

Rasheed96

Senior Member
Jan 21, 2013
121
11
.

Ok i flashed the 1ghz kernel + recovery without increasing flash counter !!!! :)

How did i do that ?

1) get you phone rooted

2) download the 1ghz kernel from this post http://xdaforums.com/showpost.php?p=27696948&postcount=47

3) Put the kernel.bin.md5 file to /sdcard

4) apply the folowing command (using adb or terminal emulator) :

Code:
$ su
# dd if=/sdcard/kernel.bin.md5 of=/dev/block/mmcblk0p15
# reboot

5) reboot your phone

ATTENTION : be carefull i flashed one kernel and my phone didn't boot anymore

Here is attached the stock kernel to flash with Odin in case of probleme :


Does this work and is it safe ?
 

arroyo

Senior Member
Mar 14, 2009
416
388
Bydgoszcz
Odp: [ROOT] [i8160] [Ace2] Advanced rooting procedure WITHOUT increasing the Flash co

Yes and yes ... But this kernel does not bring any performance gain. It is just renaming used clocks.Phone is still working at 800MHz.
 
  • Like
Reactions: fluffi444

yourmate

Senior Member
Dec 2, 2003
433
107
London
Ace 2 root on JB

Hi guys,

does this rooting method work with the newly leaked JB rom as well?

And I noticed that you can remove apps like this so is possible to ADD apps as well (like SS-Theft Spy)?

Cheers,
ym
 

Dr01nE

Senior Member
Oct 1, 2012
1,218
791
Acquiring...
Hi guys,

does this rooting method work with the newly leaked JB rom as well?

And I noticed that you can remove apps like this so is possible to ADD apps as well (like SS-Theft Spy)?

Cheers,
ym

This method is used to preserve Flash Counter. (It must remain zero to avail warranty) And since we have counter reset, we could do whatever we want without the fear of not being covered by the warranty. Leaked JB has separate rooting method. See my signature for reference.

Sent from my GT-I8160 using xda app-developers app
 
  • Like
Reactions: yourmate

Cosmo123

Senior Member
May 19, 2010
152
40
Hello,
I hope this hasn't been asked before, to be honest I didn't read all 27 pages of this thread again :p

Could this method be used with recent JB ROMs and could one remove bloatware before flashing?

I know of the simple flashable zip through stock recovery, but since this method described here is so easy I would love to create a clean ROM for myself (and whoever would be interested) without all the bloat.
Thanks
 

Cyboy

Senior Member
Jul 2, 2013
436
53
...?

---------- Post added at 01:18 PM ---------- Previous post was at 01:16 PM ----------

'im currently am on ace2 4.1.2 and im going to re-flash it back to 2.3.6
but i got to ask you:
1-should i flash this with Odin?
2-may i experience boot-loop?

---------- Post added at 01:45 PM ---------- Previous post was at 01:18 PM ----------

Thanks a lot for the great tutorial.
Now, I would like to share the one I created with these tutorial a Pre-Rooted ROM I want to share :good:

Samsung Galaxy ACE 2 (GT-I8160) Pre-Rooted UK XXLK7 ROM (with SuperSU 0.99 pre-installed)
Enjoy and Thanks..
GT-I8160 UK-XXLK7 Pre-Rooted ROM
hi, i'm currently on Ace2 4.1.2
its slow and I'm not satisfied with this
can i re-flash back to 2.3.6 with your made ROM?
 
Thanks a lot for the great tutorial.
Now, I would like to share the one I created with these tutorial a Pre-Rooted ROM I want to share :good:

Samsung Galaxy ACE 2 (GT-I8160) Pre-Rooted UK XXLK7 ROM (with SuperSU 0.99 pre-installed)
Enjoy and Thanks..
GT-I8160 UK-XXLK7 Pre-Rooted ROM
where can i find this ROM? cuzz link is dead...

Can ya upload it to mega? or mediafire?
 

yethz

Senior Member

Top Liked Posts

  • There are no posts matching your filters.
  • 38
    SAMSUNG GALAXY ACE 2 i8160/i8160P

    This could be complicated if you never used any Linux os, however with this method you can root your phone without increasing the flash counter.
    Kernel, recovery, etc. will be the same as in original samsung roms, we will flash a modified (pre-rooted) system.img.

    For prerooted system images and csc files see 2nd post!

    Requirements:
    Linux - Ubuntu 12 recommended (a virtual one will also do the job)
    Windows with Odin for flashing
    Patience

    References:
    Ext4Utils
    Insipred by: Expert root method which does not increase the flash counter

    First of all download your original rom from: http://www.sammobile.com/firmware/?page=3

    1, Create a "samsung" directory on your linux filesystem -> "home/username" folder where username is your linux username.
    2, Extract the downloaded firmware, then move system.img.md5 and cache.img.md5 to home/username/samsung dir.
    (root_package.zip and ext4utils.zip also extract here)
    3, Open a terminal window, and enter:

    Code:
    sudo mkdir /mnt/system

    Type the root password and enter.

    4, Now set current dir to samsung directory and mount the system image:

    Code:
    cd /home/username/samsung
    mv system.img.md5 system.img.ext4
    make
    ./simg2img system.img.ext4 system.img
    sudo mount system.img /mnt/system

    if you get error when executiong "make" type:

    Code:
    sudo apt-get install zlib1g-dev

    5, The original system image has been mounted, now extract su binary and superuser.apk to samsung dir then, enter:

    I suggest only su binary to include in /system, SuperUser can be installed later!

    Code:
    sudo cp su /mnt/system/bin/su

    6, Now we have to adjust the permissions:

    For SU binary:
    Code:
    sudo chown root:root /mnt/system/bin/su
    sudo chmod 06755 /mnt/system/bin/su

    For SuperUser app:
    Code:
    sudo chmod 644 /mnt/system/app/superuser.apk

    7, Unmount the image:
    Code:
    sudo umount /mnt/system

    or if it's not working:
    Code:
    sudo umount system.img

    8, Now create md5 hashes:
    Code:
    md5sum -t system.img>>system.img
    mv system.img system.img.md5

    if you get "permission denied" first:
    Code:
    sudo chown username:username system.img

    9, Create falshable tar and md5 hashes for odin package:
    Code:
    tar cf system_rooted.tar system.img.md5
    md5sum -t system_rooted.tar>>system_rooted.tar
    mv system_rooted.tar system_rooted.tar.md5

    As you remember we copied the cache.img.md5 also, that's because we need to flash this as a separated CSC package.

    10, Creating CSC package.
    Code:
    tar cf csc.tar cache.img.md5
    md5sum -t csc.tar>>csc.tar
    mv csc.tar csc.tar.md5

    11, Now open Odin and select system_rooted.tar.md5 as PDA, and csc.tar as csc.
    Check: Auto reboot and F. Reset Time.

    Enjoy your rooted phone.

    NOTES:
    After flashing phone will boot in recovery mode to apply csc, then reboots automatically to normal mode.
    If you download different rom than already have on the device first flash the unmodified samsung tar as PDA.
    6
    PRE-ROOTED ROMs
    (Only modified system and csc - if Superuser not included download manually from Play store or install from sdcard)

    PDA: XXLD8 | CSC: I8160DBTLD2 -> -> DOWNLOAD <-
    Thanks to: powermetza

    PDA: XXLD8 | CSC: XXLD3 | Product code: XEO -> Mirror 1 | Mirror 2
    Thanks to: mastermid | szczepan2



    For i8160P - Galaxy Ace 2 NFC model

    PDA: I8160PXXLE6 | CSC: I8160PDBTLE5 -> Mirrors
    Thanks to: soraxx

    SuperUser FIX for pre-rooted rom (only if you have problems): View

    FLASHING INSTRUCTIONS

    0, Download odin from 1st post, extract the downloaded (pre-rooted) rom.
    1, Open odin and select csc.tar.md5 (or something like that it's a smaller file max. 20 MB) as CSC.
    2, Select the other file (possibly system.tar.md5 or pda.tar.md5, it's 500+ MB) as PDA.
    3, Check, Auto reboot and F. Reset Time then start.
    (of course first switch to download mode and connect the phone :D )
    5
    ok, let me be of use, downloading the package..

    ... update ...

    done: I8160DXLK2_I8160OLBLK2_XTE_rooted
    5
    Rooted XXLK6

    Rooted XXLK6
    (Poland; November 2012; PDA: XXLK6, CSC: XXLK1)

    SuperSu app and library


    Installation

    Before installing I recommended install stock XXLK6 from SamMobile (dev-host, zippyshare part 1, zippyshare part 2, hotfile)
    1. In Odin 3 1.85 choose "system_rooted.tar.md5" as "PDA"
    2. "csc.tar.md5" as "CSC"
    3. Check only "Auto Reboot" and "F. Reset Time"
    4. "Start"

    Download

    Dev-Host

    Zippyshare PART 1
    Zippyshare PART 2
    2
    Ok i flashed the 1ghz kernel + recovery without increasing flash counter !!!! :)

    How did i do that ?

    1) get you phone rooted

    2) download the 1ghz kernel from this post http://xdaforums.com/showpost.php?p=27696948&postcount=47

    3) Put the kernel.bin.md5 file to /sdcard

    4) apply the folowing command (using adb or terminal emulator) :

    Code:
    $ su
    # dd if=/sdcard/kernel.bin.md5 of=/dev/block/mmcblk0p15
    # reboot

    5) reboot your phone

    ATTENTION : be carefull i flashed one kernel and my phone didn't boot anymore

    Here is attached the stock kernel to flash with Odin in case of probleme :