FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Running under /system/bin on Android 10 still gives restricted SELinux context on Samsung devices · Issue #21 · Chainfire/librootjava · GitHub

Repository navigation

Running under /system/bin on Android 10 still gives restricted SELinux context on Samsung devices #21

Open

Description

Only seen in collected analytics. Probably due to KNOX additional security measures.

Activity

  1. Mygod commented on Aug 7, 2020

    Author

    A proof of concept script to hijack linker to make appProcess relocation work: (tested on Android 11 beta 3)

    mkdir /apex/myfs
    mount -t tmpfs -o size=1M tmpfs /apex/myfs
    mkdir /apex/myfs/bin /apex/myfs/etc
    echo dir.system = /apex/myfs >/apex/myfs/etc/ld.config.txt
    # or /system/etc/ld.config.29.txt for API 29
    cat /linkerconfig/ld.config.txt >>/apex/myfs/etc/ld.config.txt
    cp /system/bin/app_process /apex/myfs/bin
    /apex/myfs/bin/app_process
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL