Monday, April 25, 2016

Rooting Android N Preview

I am sharing the progress of my work, so you can help make our devices working seamlessly with root
Android Preview N sources have been published so I built a kernel from them

Modifications:
Removed dm_verity (zImage and ramdisk dependencies)
Built with Permissive selinux (command line)

Status:
root working
mount RW working
although packaged as selinux permissive is still enforcing what causes some problems like not recognition SIM card, reboots and startup delays.
in some tests by adding only sepolicy patch he presented this problem

How to install:
flash recovery FOTA partition thanks to @shoey63
Code:

fastboot flash recovery recovery.img
make full backup in recovery to return later
flash my kernel (rename to boot.img)
Code:

fastboot flash boot boot.img
flash @Chainfire SuperSU 2.71 via TWRP

Note:
Android N Preview use new bootloader!
To enter the menu unplug the appliance plug the USB cable into your computer or charger and plug the device by holding volume up
Navigate the menu and choose the desired option

github repository

Please do not spam


from xda-developers http://ift.tt/1VyJbe8
via IFTTT

No comments:

Post a Comment