Hi, 

I am unable to set SELinux for Android using uboot and kernel 
arguments/settings.

*I have done following steps:*

1) Rebuild kernel with the following configuration

 

SECURITY_SELINUX_BOOTPARAM=yes
SECURITY_SELINUX_BOOTPARAM_VALUE=1
SECURITY_SELINUX_DISABLE=yes

 


2) Added uboot arguments for SELinux:

 enforcing=0 *androidboot.selinux=disabled* androidboot.dm_verity=disabled 


I am using Android over NFS and done setup for tftp/nfs server as well and 
given 777 permission for all folders.


*But still facing following issue:*


wreg_on: disabling
wm8962-supply: disabling
usb_otg_vbus: disabling
ALSA device list:
  #0: wm8962-audio
  #1: imx-hdmi-soc
VFS: Mounted root (nfs filesystem) on device 0:17.
devtmpfs: mounted
Freeing unused kernel memory: 1024K (c1100000 - c1200000)
init: init first stage started!
audit: type=1403 audit(16.180:2): policy loaded auid=4294967295 
ses=4294967295
audit: type=1404 audit(16.190:3): enforcing=1 old_enforcing=0 
auid=4294967295 ses=4294967295
nf_conntrack: automatic helper assignment is deprecated and it will be 
removed soon. Use the iptables CT target to attach helpers instead.
init: (Initializing SELinux enforcing took 0.15s.)

*init: SELinux: Could not set context for /init:  Operation not supported 
on transport endpoint*init: restorecon failed: Operation not supported on 
transport endpoint
init: Security failure; rebooting into recovery mode...
sysrq: SysRq : Emergency Remount R/O
Emergency Remount complete


Thanks.


-- 
-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to