[Q] How to root Galaxy Ace 2 i8160?

Search This thread

Tatek

Member
Jul 3, 2006
16
1
Hi!

Ive tried but no success.


g:\Program Files\Android Samsung\I8160>adb remount
remount failed: Operation not permitted

g:\Program Files\Android Samsung\I8160>adb shell chmod 755 /system/xbin
Unable to chmod /system/xbin: Read-only file system
 

mcguolo

Senior Member
Jun 12, 2012
126
23
Tatek, I had the same problem with my mini pro. Try from the shell (adb shell) to remount the system partition with
Code:
mount -o remount,rw /dev/(your-system-partition-device) /system

You can find your system partition by typing 'mount' in the shell (and searching for the line with /system in it). You should see something like this:
Code:
rootfs / rootfs ro,noatime 0 0
tmpfs /dev tmpfs rw,noatime,mode=755 0 0
devpts /dev/pts devpts rw,noatime,mode=600 0 0
proc /proc proc rw,noatime 0 0
sysfs /sys sysfs rw,noatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,noatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,noatime,mode=755,gid=1000 0 0
/dev/stl14 /cache rfs rw,nosuid,nodev,noatime,vfat,llw,check=no,gid/uid/rwx,iocharset=utf8 0 0
/dev/stl13 /data rfs rw,nosuid,nodev,noatime,vfat,llw,check=no,gid/uid/rwx,iocharset=utf8 0 0
/dev/[B]stl12[/B] [B]/system[/B] rfs ro,noatime,vfat,log_off,check=no,gid/uid/rwx,iocharset=utf8 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/vold/179:2 /data/sdext2 ext2 rw,noatime,errors=continue 0 0
/dev/block/vold/179:1 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

In this case the mount command should be:
Code:
mount -o remount,rw /dev/[B]stl12[/B] /system

Remember to remount back to read-only once you have done:

Code:
mount -o remount,[B]ro[/B] /dev/(your-system-partition-device) /system

Btw, thanks kyrillos, I am more and more found of this phone: the same gpu of sgs2, the same precessor of s advance, but a smaller screen (which is a plus to me!) with the same resolution of sgs2! :eek:
I'll keep an eye on it to replace my galaxy mini pro!
 
Last edited:
  • Like
Reactions: kyrillos13

antsm

Senior Member
Sep 9, 2010
141
430
Siberia
Tatek
What the phone answers on adb root command?
Please, look into a /default.prop file. Parameter ro.secure should be a 0.

What about a custom counter and a yellow triangle?

upd: Alright guys, it seems we need to patch an adbd binary. Since it ignores ro.secure flag and always starts with a limited permissions.
Just looked it with IDA and there are some interesting pieces of code.
 
Last edited:

yod123

Senior Member
Dec 12, 2009
62
27
Minsk
www.4pda.ru
and what about this? That's the way people root i8150. They install that from samsung's recovery, and that's it.
 

Attachments

  • update.zip
    1.6 MB · Views: 931

antsm

Senior Member
Sep 9, 2010
141
430
Siberia
Good news: i have succesfully patched recovery to install unsigned packages. Anyway, initially we gonna use Odin to install a kernel with modified recovery.
After that just apply update.zip from recovery and have fun ;)

Tested on my I9000, and most likely will work on I8160, since recovery binary almost the same for both phones.

Will share it soon.
 

antsm

Senior Member
Sep 9, 2010
141
430
Siberia
2hi2tkw.jpg

Instruction:

1) Download and install SAMSUNG USB Drivers for Mobile Phones
http://xdaforums.com/showthread.php?p=11633550#post11633550

2) Copy update_su.zip to internal sdcard.

3) Switch off the phone and enter to download mode ("Vol Down + Home + Power").
Wait until the driver will be installed and Odin will recognize the phone!

4) Flash I8160XXLD8_ready_to_root_ANT.tar.md5 using Odin as PDA part.

5) Turn off the phone again and enter to recovery mode ("Vol Up + Home + Power").

6) Select "apply update from sdcard" and choose update_su.zip file

7) Reboot the phone

8) Got root? ;)

Warning:You will lose your warranty. At least until we find a way to reset a custom flash counter.
 

Attachments

  • I8160XXLD8_ready_to_root_ANT.tar.zip
    5.1 MB · Views: 386,031
  • I8160XXLD8_original.tar.zip
    5.1 MB · Views: 69,480
  • update_su.zip
    602.1 KB · Views: 220,731
Last edited:

antsm

Senior Member
Sep 9, 2010
141
430
Siberia
This procedure can run on:

PDA I8160NELE1
CSC I8160HUILD2
Rather yes than no. But in the worst case you will need to reflash a firmware. Latest public available version is XXLD8 (April), but yours I8160NELE1 is a bit newer (May).

What is your kernel version? (see in Settings -> About phone)
For XXLD8 firmware it's:
Code:
2.6.35.7-I8160XXLD8-CL1100997
 

Bocko92

Senior Member
Mar 13, 2011
237
15
My kernel version is 2.6.35.7-I8160XXLD8-CL1100997, will the root method work on my phone ? Anyone tried yet?
 

antsm

Senior Member
Sep 9, 2010
141
430
Siberia
Bocko92, definetly yes. It will work.

casidus, xzero2, who knows... Eventually, it can't hardbrick your phone. But in case of any issues, the only available firmware to rollback is I8160XXLD8. If your phone is sim-locked, i don't know what will happen when you flash a non-carrier firmware on it.

upd: A custom flash counter is there:
s48ca1.jpg
 
Last edited:

pskmrc

Member
Oct 23, 2005
16
2
root

Hi,

I tried this way to make root my i8160, and runs ok!!
I have :
PDA I8160BGLE2
CSC I8160XECLE2

From Spain

My question is:
I tried to overlock the cpu using SetCPU, but I can't increase the speed more tha 800 MHZ
Anyone knows how I can increase up to 1Ghz?

Thanks
 

Dynamo!

Member
Jun 21, 2012
6
1
Normanton
markhenderson.ws
2hi2tkw.jpg

Instruction:

1) Download and install SAMSUNG USB Drivers for Mobile Phones
http://xdaforums.com/showthread.php?p=11633550#post11633550

2) Copy update_su.zip to internal sdcard.

3) Switch off the phone and enter to download mode ("Vol Down + Home + Power").
Wait until the driver will be installed and Odin will recognize the phone!

4) Flash I8160XXLD8_ready_to_root_ANT.tar.md5 using Odin as PDA part.

5) Turn off the phone again and enter to recovery mode ("Vol Up + Home + Power").

6) Select "apply update from sdcard" and choose update_su.zip file

7) Reboot the phone

8) Got root? ;)

Warning:You will lose your warranty. At least until we find a way to reset a custom flash counter.

Tried it, got stuck in a boot loop. Any suggestions?

EDIT:

Ok, so managed to boot up with the custom kernal, but recovery mode won't find the update_su.zip file on the sd card.
 
Last edited:

kyrillos13

Inactive Recognized Developer
Sep 26, 2010
4,279
5,152
Athens
Hi,

I tried this way to make root my i8160, and runs ok!!
I have :
PDA I8160BGLE2
CSC I8160XECLE2

From Spain

My question is:
I tried to overlock the cpu using SetCPU, but I can't increase the speed more tha 800 MHZ
Anyone knows how I can increase up to 1Ghz?

Thanks

Its probably "locked". We need a modified kernel that "unlock" higher frequencies. Maybe antsm is capable of doing it, if he buy this phone.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 78
    2hi2tkw.jpg

    Instruction:

    1) Download and install SAMSUNG USB Drivers for Mobile Phones
    http://xdaforums.com/showthread.php?p=11633550#post11633550

    2) Copy update_su.zip to internal sdcard.

    3) Switch off the phone and enter to download mode ("Vol Down + Home + Power").
    Wait until the driver will be installed and Odin will recognize the phone!

    4) Flash I8160XXLD8_ready_to_root_ANT.tar.md5 using Odin as PDA part.

    5) Turn off the phone again and enter to recovery mode ("Vol Up + Home + Power").

    6) Select "apply update from sdcard" and choose update_su.zip file

    7) Reboot the phone

    8) Got root? ;)

    Warning:You will lose your warranty. At least until we find a way to reset a custom flash counter.
    22
    [KERNEL] I8160XXLD8 kernel with CWM recovery support

    [KERNEL] I8160XXLD8 kernel with CWM recovery support

    14v7lmq.jpg
    • XXLD8 stock kernel
    • CWM 5.0.2.6 (backup on external SD card is available)
    • Supports init.d executing during boot (place in /system/etc/init.d/)

    Root can be installed via CWM. Choose the best for you from below ;)
    BTW, no need to re-install it if you're already rooted.

    update: [KERNEL] I8160XXLI2 kernel with built-in CWM recovery
    14
    [KERNEL] I8160XXLI2 kernel with built-in CWM recovery

    [KERNEL] I8160XXLI2 kernel with built-in CWM recovery

    14v7lmq.jpg
    • I8160XXLI2 stock kernel
    • CWM 5.0.2.6 (backup on external SD card is available)
    • Supports init.d executing during boot (place in /system/etc/init.d/)

    Probably, there should be no issues while using this kernel with any of i8160 firmware, known at this moment.

    Root can be installed via CWM. Choose the best app for you from below.

    Note: Kernel I8160PXXLE6 is for I8160P model (NFC version).
    10
    Test kernels with increased max CPU freq​
    Voltage is default. Ready to root (patched Recovery).
    If you're already rooted, it will remains after flashing.
    5
    Hi . any progress on ACE2 roms guys??????

    I may release one rom soon.

    Sent from my Galaxy Ace 2 i8160