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

[Q] How to root Galaxy Ace 2 i8160?

OP dhvenus

16th June 2012, 01:18 PM   |  #21  
OP Member
Flag Frankfurt am Main
Thanks Meter: 16
 
88 posts
Join Date:Joined: Jun 2012
Hello antsm,

Ok, I will try it, but please explian us a little bit more exactly the rooting procedure.
I don't understand the procedure in code frame.
Thank you!
17th June 2012, 09:59 PM   |  #22  
yod123's Avatar
Member
Flag Minsk
Thanks Meter: 27
 
62 posts
Join Date:Joined: Dec 2009
More
antsm! I`ll try, if you prove me that odin can flash our phone corcetly. If not, I'll just write an instruction.
18th June 2012, 01:06 PM   |  #23  
Junior Member
Thanks Meter: 0
 
11 posts
Join Date:Joined: Jul 2006
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
18th June 2012, 01:30 PM   |  #24  
mcguolo's Avatar
Member
Thanks Meter: 9
 
59 posts
Join Date:Joined: Jun 2012
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/stl12 /system 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/stl12 /system
Remember to remount back to read-only once you have done:

Code:
mount -o remount,ro /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!
I'll keep an eye on it to replace my galaxy mini pro!
Last edited by mcguolo; 18th June 2012 at 01:36 PM.
The Following User Says Thank You to mcguolo For This Useful Post: [ View ]
18th June 2012, 01:49 PM   |  #25  
Senior Member
Flag Siberia
Thanks Meter: 417
 
140 posts
Join Date:Joined: Sep 2010
Donate to Me
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 by antsm; 18th June 2012 at 05:14 PM.
18th June 2012, 11:52 PM   |  #26  
yod123's Avatar
Member
Flag Minsk
Thanks Meter: 27
 
62 posts
Join Date:Joined: Dec 2009
More
Question
and what about this? That's the way people root i8150. They install that from samsung's recovery, and that's it.
Attached Files
File Type: zip update.zip - [Click for QR Code] (1.65 MB, 779 views)
19th June 2012, 12:10 AM   |  #27  
Senior Member
Flag Siberia
Thanks Meter: 417
 
140 posts
Join Date:Joined: Sep 2010
Donate to Me
yod123
Nothing dangerous at first sight. Just try and let us know.
But most likely you will get something like:
Quote:

"E :signature verification failed"

Need to patch a recovery to bypass a Samsung's signature verification.
19th June 2012, 09:35 AM   |  #28  
yod123's Avatar
Member
Flag Minsk
Thanks Meter: 27
 
62 posts
Join Date:Joined: Dec 2009
More
Quote:
Originally Posted by antsm

But most likely you will get something like

Yes, you're right. Don't working, just tryed.
19th June 2012, 03:13 PM   |  #29  
Senior Member
Flag Siberia
Thanks Meter: 417
 
140 posts
Join Date:Joined: Sep 2010
Donate to Me
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.
The Following 3 Users Say Thank You to antsm For This Useful Post: [ View ]
19th June 2012, 04:52 PM   |  #30  
OP Member
Flag Frankfurt am Main
Thanks Meter: 16
 
88 posts
Join Date:Joined: Jun 2012
Smile
Great!

Post Reply Subscribe to Thread

Tags
i8160, root
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes