Quantcast
Channel: CodeSection,代码区,Linux操作系统:Ubuntu_Centos_Debian - CodeSec
Viewing all articles
Browse latest Browse all 11063

Devs can’t root Pixel phones yet

$
0
0

The task of rooting an Android device has grown tall recently and with Android Nougat, there are now several roadblocks in the way that would prevent developers from getting in to root the upcoming Pixel phones ― built on Nougat from the ground up ― with ease.

The first block is a kernel feature in Nougat called “device-mapper-verity” that checks the /system directory of the device while it is booting to see if all the files that should be there are there and in the way they’re supposed to be there. If a single change has been made, your device will not boot. This takes any one-stop app that works by taking advantage of /system vulnerabilities, like Kingrooter, off the table. Vulnerabilities, by the way, that Google has patched.


Devs can’t root Pixel phones yet

“device-mapper-verity” verifies /system via a hash tree with a top-layer master root key

XDA-Developers h as been looking at loading modified boot images via the RAM. Devs can insert a superuser controller to disable device-mapper-verity and forced encryption.

But apparently, what are being called “systemless root” methods may not work with the Pixel devices because of their dual partitioning . It seems that with the extra partition, the RAM disk becomes critical to what /system needs to boot the device. Thus, with no holes to let superuser disable “dm-verity,” we get no root.

There’s the possibility of loading a modified kernel to get around dm-verity, but users would lose out on OTA updates in the end, never mind the mess it would take to get there.

With the clock ticking towards the release of the Pixel devices, it’ll be interesting to see how far we go without the excitement and flurry of new custom ROM sharing. But the sentiment is that root will be imminent.

Source: XDA-Developers

Via: NDTV


Viewing all articles
Browse latest Browse all 11063

Trending Articles