GSM Shop GSM Shop
GSM-Forum  

Welcome to the GSM-Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features.
Only registered members may post questions, contact other members or search our database of over 8 million posts.

Registration is fast, simple and absolutely free so please - Click to REGISTER!

If you have any problems with the registration process or your account login, please contact contact us .

Go Back   GSM-Forum > GSM & CDMA Phones / Tablets Software & Hardware Area > Android based Phones / Tablets > Android Development and Modding


Reply
 
LinkBack Thread Tools Display Modes
Old 10-04-2015, 01:39   #1 (permalink)
No Life Poster
 
ghacks's Avatar
 
Join Date: Dec 2009
Location: ***** Taste Good
Age: 39
Posts: 4,066
Member: 1196914
Status: Offline
Sonork: 100.1667938
Thanks Meter: 1,645
Donate money to this user
Post Android 6.0 Marshmallow Root Explained


Android 6.0 Marshmallow Root Explained
Google will be officially announcing the Android 6.0 Marshmallow update on September 29th along with the launch of Nexus 5X and Nexus 6P, which will probably be the first devices to run on Marshmallow update.

Android 6.0 is more of an experience update than the one meant to re-define how things look on your device. That was Lollipop’s part. Now with Marshmallow, Google is taking the game ahead with privacy focused features like app permissions management and many more under-the-hood changes that ultimately lead to a better Android experience.



But for us folks, who don’t even let our devices breathe before getting it rooted, Marshmallow update isn’t a pretty picture.

Until now, even on Lollipop, which set the base for non-root friendly Android code with changes to SELinux policy, we were still able to get root without modifying the default SELinux behaviour. But with the Marshmallow update, you can’t do that anymore.

To get root on Marshmallow, you must modify the SELinux policy to permissive mode instead of the default enforcing mode. And you’ve to do this by flashing a custom kernel to your device. This may seem like no big deal, but there’s a reason why Google made the shift stricter SELinux policy.

SELinux set to enforcing means the system has full control over what’s allowed to happen on the device. Things which it doesn’t allow, simply won’t be allowed. This significantly enhances the security on the device.

Switching SELinux to permissive means your device will have SELinux enabled but it’ll allow apps to have access to whatever they want on the device. A device running on permissive mode is not protected by SELinux. The sole purpose of having permissive policies is for logging what happens when SELinux isn’t enabled.

So, it’s pretty serious from a security point of view, if you’re permanently setting SELinux policy to permissive mode. But that’s what we’ll be doing to get root access on Android 6.0 Marshmallow. Pity.

We hope someone finds a way to get root on Marshmallow without changing SELinux policy. Past year, when Lollipop released with the new policy, Chainfire, a renowned developer, was against setting it to permissive mode to get root for security concerns, so he developed a rooting method which didn’t change SELinux policy and yet rooted the device. Unfortunately, his methods don’t work on Android M preview releases and he hasn’t provided a fix yet for the Marshmallow update.

We’ll update this page if Chainfire or someone else comes with a safe way to root Marshmallow update.
  Reply With Quote
The Following User Says Thank You to ghacks For This Useful Post:
Old 02-15-2017, 13:08   #2 (permalink)
Freak Poster
 
Join Date: Oct 2015
Location: Pakistan
Age: 36
Posts: 132
Member: 2477331
Status: Offline
Sonork: 100.1676088
Thanks Meter: 29
how to root 6.0 marshmallow

Please Guide me ...???
  Reply With Quote
Old 03-13-2017, 02:56   #3 (permalink)
 
Join Date: Mar 2017
Posts: 0
Member: 2694812
Status: Offline
Thanks Meter: 0
please help me too i want to learn how
  Reply With Quote
Old 03-15-2017, 15:30   #4 (permalink)
No Life Poster
 
Join Date: Feb 2016
Location: GREAT Country Pakistan
Posts: 1,954
Member: 2537939
Status: Offline
Sonork: 100.1670350
Thanks Meter: 708
Quote:
Originally Posted by Bajwa786 View Post
how to root 6.0 marshmallow

Please Guide me ...???


which model phone did you have ????????
  Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 



All times are GMT +1. The time now is 17:15.



Powered by Searchlight © 2024 Axivo Inc.
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
- GSM Hosting Ltd. - 1999-2023 -
Page generated in 0.11981 seconds with 8 queries

SEO by vBSEO