FORUMS

XDA Recap: This Week In Android (May 17 – 23)

Another week, another recap. The Sunday tradition marches on this week with a fresh … more

Huawei To Sell Honor Smartphones Via Indian Retail Outlets

World’s fourth largest smartphone maker Huawei plans to now sell its … more

Sunday Debate: Are Smaller Bezels Better or Worth It?

Bezels have been getting smaller and smaller as the years go by, and while devices … more

LG G4 First Impressions and Unboxing – XDA TV

The latest in LG’s signature line of “G phones” has been released. … more
Post Reply Subscribe to Thread Email Thread

[Q] How to root Galaxy Ace 2 i8160?

16th June 2012, 12:18 PM |#21  
OP Senior Member
Flag Frankfurt am Main
Thanks Meter: 16
 
More
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, 08:59 PM |#22  
yod123's Avatar
Member
Flag Minsk
Thanks Meter: 27
 
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, 12:06 PM |#23  
Junior Member
Thanks Meter: 0
 
More
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, 12:30 PM |#24  
mcguolo's Avatar
Member
Thanks Meter: 9
 
More
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 12:36 PM.
The Following User Says Thank You to mcguolo For This Useful Post: [ View ]
18th June 2012, 12:49 PM |#25  
Senior Member
Flag Siberia
Thanks Meter: 422
 
Donate to Me
More
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 04:14 PM.
18th June 2012, 10:52 PM |#26  
yod123's Avatar
Member
Flag Minsk
Thanks Meter: 27
 
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, 795 views)
18th June 2012, 11:10 PM |#27  
Senior Member
Flag Siberia
Thanks Meter: 422
 
Donate to Me
More
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, 08:35 AM |#28  
yod123's Avatar
Member
Flag Minsk
Thanks Meter: 27
 
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, 02:13 PM |#29  
Senior Member
Flag Siberia
Thanks Meter: 422
 
Donate to Me
More
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, 03:52 PM |#30  
OP Senior Member
Flag Frankfurt am Main
Thanks Meter: 16
 
More
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