forked from fi01/backdoor_mmap_tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Android.mk
74 lines (56 loc) · 1.55 KB
/
Android.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
cred.c \
kallsyms.c \
main.c \
ptmx.c \
backdoor_mmap.c
LOCAL_MODULE := run_root_shell
LOCAL_MODULE_TAGS := optional
LOCAL_STATIC_LIBRARIES += libdevice_database
LOCAL_STATIC_LIBRARIES += libcutils libc
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
kallsyms.c \
reset_security_ops.c \
ptmx.c \
backdoor_mmap.c
LOCAL_MODULE := reset_security_ops
LOCAL_MODULE_TAGS := optional
LOCAL_STATIC_LIBRARIES += libdevice_database
LOCAL_STATIC_LIBRARIES += libcutils libc
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
kallsyms.c \
disable_ccsecurity.c \
backdoor_mmap.c
LOCAL_MODULE := disable_ccsecurity
LOCAL_MODULE_TAGS := optional
LOCAL_STATIC_LIBRARIES += libdevice_database
LOCAL_STATIC_LIBRARIES += libcutils libc
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
install_backdoor.c \
backdoor_mmap.c \
kallsyms.c \
ptmx.c \
mm.c
LOCAL_MODULE := install_backdoor
LOCAL_MODULE_TAGS := optional
LOCAL_STATIC_LIBRARIES := libdiagexploit
LOCAL_STATIC_LIBRARIES += libperf_event_exploit
LOCAL_STATIC_LIBRARIES += libdevice_database
LOCAL_STATIC_LIBRARIES += libmsm_acdb_exploit
LOCAL_STATIC_LIBRARIES += libfj_hdcp_exploit
LOCAL_STATIC_LIBRARIES += libfb_mem_exploit
LOCAL_STATIC_LIBRARIES += libcutils libc
LOCAL_LDFLAGS += -static
TOP_SRCDIR := $(abspath $(LOCAL_PATH))
TARGET_C_INCLUDES += \
$(TOP_SRCDIR)/device_database
include $(BUILD_EXECUTABLE)
include $(call all-makefiles-under,$(LOCAL_PATH))