Skip to content

Can't start daemon su when booting  #2

Open
@GeneBlue

Description

@GeneBlue

Hi:
It seems this su-binary can not be a daemon su when booting. I hijacked debuggerd like this:

#!/system/bin/sh

/system/xbin/daemonsu --daemon &
/system/xbin/supolicy --live
/system/xbin/supolicy --live "permissive zygote;"
/system/xbin/supolicy --live "permissive kernel;"
/system/xbin/supolicy --live "permissive init;"
/system/xbin/supolicy --live "permissive daemonsu;"
/system/xbin/supolicy --live "permissive init_shell;"
/system/xbin/supolicy --live "permissive shell;"
/system/xbin/supolicy --live "permissive servicemanager;"
/system/bin/debuggerd_real

when i reboot my phone, debuggerd_real will be running, but daemonsu not be a deamon.

another, my phone is nexus 5, android 5.0.1, LRX22C

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