-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtargets.conf
More file actions
77 lines (72 loc) · 3.04 KB
/
Copy pathtargets.conf
File metadata and controls
77 lines (72 loc) · 3.04 KB
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
75
76
77
# Emoji Module Configuration
#
# This template now uses scan-based replacement instead of target-based rules.
# Broad matching is used for:
# - system font replacement during full mount mode
# - /data/data font replacement
#
# Matching rule:
# - filename contains "emoji" and ends with ".ttf"
#
# Safety rule during install-time flashing:
# - the active installer app package is protected from /data/data replacement
# - known Magisk / KernelSU / APatch app packages are also protected during install
# to avoid closing the flashing UI mid-install
#
# Runtime cleanup behavior:
# - every package touched by /data/data replacement gets cache cleanup
# - touched packages are force-stopped only on the first cleanup attempt so they
# restart once with the new font; later scans still replace fonts and clear
# caches but do not force-stop already handled packages
# - com.google.android.gms is the only exception: cache cleanup is allowed, but it is
# never force-stopped and no GMS services are disabled
# - uninstall restore still force-stops affected packages so original fonts reload
#
# Data font persistence behavior:
# - matched /data/data emoji fonts are backed up under /data/adb before replacement
# - matched /data/data emoji fonts are copied first, then bind-mounted to the module font
# - saved matched paths are restored again during post-fs-data on boot
# - original backed up fonts are restored during module uninstall
# - the background scheduler runs an hourly repair pass
# - the scheduler also runs a short boot burst for the first few minutes after boot
# - if a previously touched package is updated, the scheduler triggers an extra repair pass
#
# Root-method behavior summary:
# - Magisk : broad system scan + broad /data/data scan
# - APatch : broad system scan + broad /data/data scan
# - KernelSU with metamodule:
# broad system scan + broad /data/data scan
# - KernelSU without metamodule:
# automatic fallback to data-only mode at runtime
# Active module behavior profile.
# Supported value:
# - aggressive
MODE=aggressive
# If true, also deletes downloaded Google Play Services font files from:
# /data/data/com.google.android.gms/files/fonts/opentype
CLEAR_GMS_DOWNLOADED_FONTS=false
# Debugging controls.
# DEBUG_ENABLED=true turns on verbose logs by default.
# TRACE_SCAN_DETAILS=true logs detailed scan/replacement traces to the log file.
# SHOW_TRACE_ON_SCREEN=false keeps the Magisk/action terminal focused on
# replacement success/failure lines only.
DEBUG_ENABLED=true
TRACE_SCAN_DETAILS=true
SHOW_TRACE_ON_SCREEN=false
# Debug flag locations.
# The module will also create:
# - /sdcard/EmojiModule/service.log
# - /sdcard/EmojiModule/last-status.txt
# - /sdcard/EmojiModule/README.txt
#
# Create either file as a debug marker if you want a persistent visible toggle:
# - /sdcard/EmojiModule/debug
# - /sdcard/Android/media/EmojiModule/debug
DEBUG_FLAG_PATHS="
/sdcard/EmojiModule/debug
/sdcard/Android/media/EmojiModule/debug
"
# System font directories scanned for filenames containing "emoji".
SYSTEM_FONT_SCAN_DIRS="
/system/fonts
"