How To: The Real Story Behind Rooting the Samsung Galaxy S4And Its New Secured Kernel

How To: The Real Story Behind Rooting the Samsung Galaxy S4And Its New Secured Kernel
Rooting a mobile device may not be a big deal these days, but not being able to root definitely is. Even the Library of Congress, National Telecommunications and Information Administration, and White House can agree on that.Since the release of the Samsung Galaxy S3, the international electronics giant has been seen as a friend to the SoftModder community.One reason why is that they tend to drop their kernel sources and device firmwares before most devices even hit the shelves. Also, they ship their devices with unlocked bootloaders, though, that's before the carriers lock them up again (mainly Verizon and AT&T).So, the question is:

Why Did Samsung Lock Their Kernels to Prevent Root?Earlier this week, Android developer AndreiLux wrote about why rooting will be impossible on newer stock kernels. The post caused quite a commotion in the Android development community, but is any of it warranted? AndreiLux pointed out a new feature in the Samsung Galaxy S4 kernel called:CONFIG_SEC_RESTRICT_SETUID This is a new addition to their kernel source code, and it's meant to prevent processes such as malware and exploits from changing a normal user to root user by using SETUID.The reason for this is simple—the vast majority of Samsung's user base will never be concerned about this. For them, security is key, and this closes the door on a major exploit.

Exploits?!?GS3 owners will recall the brush up last year related to the Exynos exploit for many models of the device. By making the addition to the kernel source, Samsung closed the loop on the exploit—but at what cost? The new feature does not prevent the device from being rooted, but it does cause a false root. What I mean by that is, while you will be able to root your device like normal, you will not have access to su, or superuser, which is the key component to being able to access root privileges.Kind of defeats the purpose, doesn't it?
So Now What?Before you go running back to the store to return your Galaxy S4, remember, manufacturer restrictions only lead to developer workarounds.AndreiLux tells us installing a custom kernel will still allow us to have root access on our Galaxy S4s. For Softmodders, this is fairly straightforward, as many of us install custom kernels with ROM installations anyway.Or better yet, you can run a modified stock kernel. XDA forum member jeboo made a small, 1kb modification to the stock kernel that removes this feature, and you'll find this, or a custom kernel, coming to a ROM near you.

The Bottom LineFor those of us that are well versed in rooting, ROMs, and kernels, the impact here is minimal. While one door closed, another opened and we still maintain the ability to achieve true root on our devices.The concern of course is security, and by going around this kernel addition, it's a sure bet that our devices will be less secure. Samsung wants its core base to be secure with their devices, and with their push in to government agencies, they need their phones to be locked up tight.
TL;DRThe latest Exynos kernel update makes your device safer and more secure. With easy workarounds, it does not prevent you from achieving root.
Images courtesy of thebackernews, tabtimes



A kernel is essentially the central nervous system of your phone. Whenever anything is done, like turning down your screen brightness or making a call, Android talks to the kernel and then it connects it to the phone's hardware. A custom kernel has been modded with additional features and speed improvements not found on stock versions.


How To: Root Your Samsung Galaxy S4 (GT-I9500) How To: The Real Story Behind Rooting the Samsung Galaxy S4—And Its New Secured Kernel How To: The Easiest Way Possible to Root Your Samsung Galaxy S3 (Just One Click!) How To: Mod Your Samsung Galaxy Note 2 for Multi-Window View with Any App
How to Install a Custom Kernel on the Essential PH-1


To really customize your Samsung Galaxy S3, you'll need to be rooted, because most of the coolest mods and hacks require root access. If you haven't rooted yet, you're just barely touching the surface of what your GS3 can do for you.
How to Root Your Brand Spanking New Samsung Galaxy S4


How To: Stop Android Lag in Its Tracks on Your Nexus 7 for a Super Smooth Tablet How To: The Real Story Behind Rooting the Samsung Galaxy S4—And Its New Secured Kernel How To: Lower Vibration Feedback on Your Pixel 2 to Make Notifications Quieter
Secure Your Samsung Galaxy Device by Disabling the Clipboard

The Real Story Behind Rooting the Samsung Galaxy S4—And Its


How To: The Real Story Behind Rooting the Samsung Galaxy S4—And Its New Secured Kernel How To: Hacked! How Thieves Bypass the Lock Screen on Your Samsung Galaxy Note 2, Galaxy S3 & More Android Phones How To: Use Blocking Mode to Disable Alerts at Specific Times on a Samsung Galaxy Device
How to Root and Flash Omega ROM onto Your Samsung Galaxy Note


The new Samsung Galaxy Note II is a powerful and sleek device that begs for some customization, and there's no better way to customize your Android device than installing a custom ROM of your choice. One of your choices is the Omega ROM, which is just one of many that you can download and flash to
The New Stagefright Exploit Called METAPHOR on Android


If you pre-ordered your Samsung Galaxy S4, it might very well be possible that you're reading this on your brand spanking new Android device. As is commonplace with the release of popular smartphones, rooting instructions are usually released simultaneously.
ElementalX: The Only Custom Kernel You Need on Your Nexus 5


The New Stagefright Exploit called METAPHOR and it is created by ISRAEL security researchers. The researchers have also provided a proof-of-concept video demonstration that shows how they successfully hacked an Android Nexus 5, samsung galaxy S5, LG G3 & HTC ONE device using their Metaphor exploit in just 10 seconds.
How to Root & Gain Superuser Access on Your Samsung Galaxy S3


How To: The Real Story Behind Rooting the Samsung Galaxy S4—And Its New Secured Kernel How To: Root and install a custom Hero ROM on a T-Mobile MyTouch 3G How To: Install a Custom Recovery & New ROM on Your Bootloader-Locked Samsung Galaxy S4
How to ROOT Samsung Galaxy S3 for AT&T, Sprint - Gadget Hacks


AndreiLux pointed out a new feature in the Samsung Galaxy S4 kernel called: CONFIG_SEC_RESTRICT_SETUID; This is a new addition to their kernel source code, and it's meant to prevent processes such as malware and exploits from changing a normal user to root user by using SETUID.
How to Get CyanogenMod's New Secured - Samsung Galaxy Note 2

0 comments:

Post a Comment