5,605,685 Members 48,422 Now Online
XDA Developers Android and Mobile Development Forum

[Q] How to root Galaxy Ace 2 i8160?

Tip us?
 
dhvenus
Old
#21  
Member - OP
Thanks Meter 15
Posts: 86
Join Date: Jun 2012
Location: Frankfurt am Main
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!
 
yod123
Old
#22  
yod123's Avatar
Member
Thanks Meter 27
Posts: 62
Join Date: Dec 2009
Location: Minsk
antsm! I`ll try, if you prove me that odin can flash our phone corcetly. If not, I'll just write an instruction.
HTC TyTN > Asus p527 > Samsung i900 Omnia > LG GM750 > Huawei u8800 Ideos X5 > Samsung i8160 Galaxy Ace 2 > Samsung i9505 Galaxy S4 LTE + Gear Fit
 
Tatek
Old
#23  
Junior Member
Thanks Meter 0
Posts: 11
Join Date: 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
 
mcguolo
Old
(Last edited by mcguolo; 18th June 2012 at 12:36 PM.)
#24  
mcguolo's Avatar
Member
Thanks Meter 8
Posts: 47
Join Date: 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!
The Following User Says Thank You to mcguolo For This Useful Post: [ Click to Expand ]
 
antsm
Old
(Last edited by antsm; 18th June 2012 at 04:14 PM.)
#25  
Senior Member
Thanks Meter 413
Posts: 140
Join Date: Sep 2010
Location: Siberia

 
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.
 
yod123
Old
#26  
yod123's Avatar
Member
Thanks Meter 27
Posts: 62
Join Date: Dec 2009
Location: Minsk
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, 742 views)
HTC TyTN > Asus p527 > Samsung i900 Omnia > LG GM750 > Huawei u8800 Ideos X5 > Samsung i8160 Galaxy Ace 2 > Samsung i9505 Galaxy S4 LTE + Gear Fit
 
antsm
Old
#27  
Senior Member
Thanks Meter 413
Posts: 140
Join Date: Sep 2010
Location: Siberia

 
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.
 
yod123
Old
#28  
yod123's Avatar
Member
Thanks Meter 27
Posts: 62
Join Date: Dec 2009
Location: Minsk
Quote:
Originally Posted by antsm View Post
But most likely you will get something like
Yes, you're right. Don't working, just tryed.
HTC TyTN > Asus p527 > Samsung i900 Omnia > LG GM750 > Huawei u8800 Ideos X5 > Samsung i8160 Galaxy Ace 2 > Samsung i9505 Galaxy S4 LTE + Gear Fit
 
antsm
Old
#29  
Senior Member
Thanks Meter 413
Posts: 140
Join Date: Sep 2010
Location: Siberia

 
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: [ Click to Expand ]
 
dhvenus
Old
#30  
Member - OP
Thanks Meter 15
Posts: 86
Join Date: Jun 2012
Location: Frankfurt am Main
Great!

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

Advanced Search
Display Modes