Android 8.0 disabling SELinux while building

791 views
Skip to first unread message

Paul Kalebu

unread,
Mar 12, 2019, 12:33:42 PM3/12/19
to android-porting
Is there a way to disable SELinux (set to permissive) before building the BSP?

AKHILASH TP

unread,
Mar 13, 2019, 3:13:08 PM3/13/19
to paul....@gmail.com, android-porting
Hi Paul,

You can disable SElinux by adding below line in kernel command line.

androidboot.selinux=permissive


On Tue, Mar 12, 2019, 10:03 PM Paul Kalebu <paul....@gmail.com> wrote:
Is there a way to disable SELinux (set to permissive) before building the BSP?

--
--
unsubscribe: android-porti...@googlegroups.com
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 android-porti...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Paul Kalebu

unread,
Mar 13, 2019, 3:13:13 PM3/13/19
to Satish Patel, android-porting
This works. Thank you

On Wed, Mar 13, 2019 at 12:09 AM Satish Patel <tosati...@gmail.com> wrote:
On Tue, Mar 12, 2019 at 10:03 PM Paul Kalebu <paul....@gmail.com> wrote:
Is there a way to disable SELinux (set to permissive) before building the BSP?
BOARD_KERNEL_CMDLINE := androidboot.selinux=permissive

Check for  "BOARD_KERNEL_CMDLINE" in BoardConfig.mk and add "androidboot.selinux=permissive"

--
--
unsubscribe: android-porti...@googlegroups.com
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 android-porti...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Regards,
satish patel

Satish Patel

unread,
Mar 13, 2019, 3:13:17 PM3/13/19
to paul....@gmail.com, android-porting
On Tue, Mar 12, 2019 at 10:03 PM Paul Kalebu <paul....@gmail.com> wrote:
Is there a way to disable SELinux (set to permissive) before building the BSP?
BOARD_KERNEL_CMDLINE := androidboot.selinux=permissive

Check for  "BOARD_KERNEL_CMDLINE" in BoardConfig.mk and add "androidboot.selinux=permissive"

--
--
unsubscribe: android-porti...@googlegroups.com
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 android-porti...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Regards,
satish patel
Reply all
Reply to author
Forward
0 new messages