Results 1 to 3 of 3

Thread: Is there any way to disable SELinux on Galaxy tab S4 -SM-T835 (gts4llte)

  1. #1
    Join Date

    Is there any way to disable SELinux on Galaxy tab S4 -SM-T835 (gts4llte)

    Hi all,
    I?m having Samsung Galaxy Tab S4 which is running Oreo (8.1.0) and Successfully installed Nethunter referring to this post, had to update apt and install relink firmware to get work external Wi-Fi adapter (panda PAU09). Injection with aireplay-ng works fine. Airodump-ng works partially and cannot show which clients connected to which bssid, cannot detect 5GHz networks.

    Reason most likely SELinux as I see many denied logs in case of airodump-ng.

    05-31 17:48:36.315 622 622 E audit : type=1400
    audit(1654004916.294:1027): avc: denied { ioctl } for pid=15414 comm="airodump-ng" path="socket:[185270]" dev="sockfs" ino=185270
    ioctlcmd=8933 scontext=u:r:magisk:s0 tcontext=u:r:magisk:s0 tclass=unix_dgram_socket permissive=1 SEPF_SM-T835_8.1.0_0007 unfiltered

    I added custom rules for this so it is permissive=1 but still denied.
    /sbin/supolicy --live "allow * * unix_dgram_socket { ioctl read write create getattr setattr lock append map bind connect getopt setopt shutdown sendto }"

    '/sbin/supolicy --live "allow * * udp_socket { ioctl read write create getattr setattr lock relabelfrom relabelto append map bind connect listen accept getopt setopt shutdown recvfrom sendto name_bind node_bind }"

    However, according to audit2allow and audit2why they are in place but ineffective due to some permanent rules.
    Can anyone give me a solution either disable SELinux or add a rule for the ?unix_dgram_socket? please?

    Device: Samsung Galaxy Tab S4, SM-T835(gts4llte)
    Android : Oreo (8.1.0)
    Kernel version: 4.4.177-re4son-lte-0.99.24-1

  2. #2
    Join Date

  3. #3
    Join Date

    Probe, no more than a assay

    Hello. Thanks be given to you for that

Similar Threads

  1. Replies: 1
    Last Post: 2022-02-15, 12:07
  2. monitor mode errors in tab s4 (sm-t835) with official nethunter image
    By M4lware in forum NetHunter General Questions
    Replies: 0
    Last Post: 2022-01-23, 11:11
  3. Samsung Tab S4 (SM-T835) Android Pie
    By Spa1n in forum Building NetHunter
    Replies: 2
    Last Post: 2020-01-28, 01:33
  4. Selinux
    By sark_89 in forum General Archive
    Replies: 0
    Last Post: 2014-04-26, 17:32

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts