I try root for nougat
It is availd for Android7.1.1 Root
You can follow below step to root
Step
- Make sure the selinux is permissiv
check the file uboot/board/khadas/configs/kvim.h
make sure the value of EnableSelinux is permissive and not enforcing
- Download the root file from github
$ cd
$ cd vendor/amlogic
$ git clone GitHub - khadas/supersu: SuperSU -b nougat “root”
3) Configure the build for Root
<1> modify ‘device/khadas/kvim/kvim.mk’:
BUILD_WITH_ROOT_CONFIG :=true
<2> modify ‘device/khadas/kvim/product/product.mk’
ifeq ($(BUILD_WITH_ROOT_CONFIG),true)
$(call inherit-product, vendor/amlogic/root/root.mk)
endif
- Build your rom again
$ cd
$ make installclean
$ make -jN otapackage
I rebuilded the u-boot after modify the file ‘uboot/board/khadas/configs/kvim.h’
$ cd u-boot
$ make distclean
$ make CROSS_COMPILE=aarch64-linux-gnu- kvim_defconfig
$ make CROSS_COMPILE=aarch64-linux-gnu-
but again error like mmallow
kvim:/ $ getenforce
Enforcing
I use ubuntu after GEEKBOX. May be need new system.
I install new ubuntu 14.04 for Khadas Project. But I have the problem.