extra: Import frida

lineage-18.1-frida
Nolen Johnson 1 year ago
parent dc8a748f5b
commit 6829a227c2
  1. BIN
      frida
  2. 3
      frida.mk
  3. 5
      frida.sh
  4. 3
      product.mk
  5. 2
      sepolicy/file_contexts
  6. 9
      sepolicy/frida.te
  7. 1
      sepolicy/netd.te
  8. 1
      sepolicy/platform_app.te
  9. 1
      sepolicy/priv_app.te
  10. 1
      sepolicy/system_server.te
  11. 1
      sepolicy/untrusted_app.te
  12. 1
      sepolicy/zygote.te

BIN
frida

Binary file not shown.

@ -0,0 +1,3 @@
PRODUCT_COPY_FILES += \
vendor/extra/frida:/system/vendor/bin/frida \
vendor/extra/frida.sh:/system/vendor/bin/frida.sh

@ -0,0 +1,5 @@
#!/bin/sh
/system/vendor/bin/frida -l 0.0.0.0:56238
exit 0

@ -30,6 +30,9 @@ endif
PRODUCT_PACKAGES += fastbootd
PRODUCT_SYSTEM_PROPERTY_OVERRIDES += ro.fastbootd.available=true
## frida
include vendor/extra/frida.mk
## ih8sn
PRODUCT_PACKAGES += ih8sn

@ -0,0 +1,2 @@
/system/vendor/bin/frida u:object_r:frida_exec:s0
/system/vendor/bin/frida.sh u:object_r:frida_exec:s0

@ -0,0 +1,9 @@
type frida_exec, exec_type, vendor_file_type, file_type;
type frida, domain;
init_daemon_domain(frida)
vndbinder_use(frida);
allow frida { appdomain -isolated_app }:fd use;
permissive frida;
permissive frida_exec;

@ -0,0 +1 @@
permissive netd;

@ -0,0 +1 @@
permissive platform_app;

@ -0,0 +1 @@
permissive priv_app;

@ -0,0 +1 @@
permissive system_server;

@ -0,0 +1 @@
permissive untrusted_app;

@ -0,0 +1 @@
permissive zygote;
Loading…
Cancel
Save