New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
astax
Old
#1  
Junior Member - OP
Thanks Meter 4
Posts: 19
Join Date: Aug 2011
Default [Q] Root on 2.3.6. Why root depends on kernel?

Can someone explain me why rooting a phone is not possible on all kernels? If I understand this correctly, rooting a phone basically means putting "su" program into firmware (and probably put something like SUID bit on it).

I know that on a new phone the original problem is that to install su you need to have write permissions for system partition which in turn requires root. This circle is normally broken by running an exploit or somehow else breaking into the system.

But once we have root on 2.3.4 and install CWM and 2.3.6, why isn't it possible to install "su" program there? What makes me feel completely stupid is the fact that it's possible to have root with custom kernel on the same firmware.
m.kochan10 Old
#2  
Guest
Thanks Meter
Posts: n/a
Dude, please update your information. It's possible, and it's getting the most popular method to root since we got CWM. Moreover there are at least 3 threads where it is written. So just go for it!
 
astax
Old
#3  
Junior Member - OP
Thanks Meter 4
Posts: 19
Join Date: Aug 2011
Ok, looks like my original vision was fully correct. Just got misleaded by some comments in the 2.3.6 thread. It IS really possible to just install superuser without changing the kernel or installing a custom kernel.
m.kochan10 Old
#4  
Guest
Thanks Meter
Posts: n/a
Oh yes it is just flash cam via odin, and then flash su via cwm and voila!
 
legion1911
Old
#5  
Account currently disabled
Thanks Meter 339
Posts: 646
Join Date: Jan 2007
Quote:
Originally Posted by m.kochan10 View Post
Oh yes it is just flash cam via odin, and then flash su via cwm and voila!
I wish we knew it is so easy 2 months ago.
m.kochan10 Old
(Last edited by m.kochan10; 25th December 2011 at 01:27 PM.)
#6  
Guest
Thanks Meter
Posts: n/a
Indeed, but as far as I can remember we didn't have cwm then, just some rooted kernels.

This method itself is easy and pretty common among plenty android devices. That's the way I rooted my old htc incredible s (after I unlocked bootloader). But because cwm was sorely lacking it was a "no go".

XDA PORTAL POSTS

Expand Your Choice of Icons with Icon Themer

Icons are some of the most commonly themed elements of the Android UI, and there is certainly no … more

MicrowaveTimePicker Brings 4.2 TimePicker to 2.1+ Devices

It’s frustrating to see slick new features that you can’t use when … more

What’s Possible with CASUAL & How to Make Your Own CASUAL – XDA Developer TV

XDA Elite Recognized Developer AdamOutler is known … more

Pearl Chen to Talk NFC Development at XDA:DevCon 2013

From HTML to LEDs or Android to Arduino, Hardware Hacking is a pastime of many people … more