├── .clang-format ├── .github └── workflows │ └── build-kpm.yml ├── .gitignore ├── .gitmodules ├── LICENSE ├── README.md ├── cgroupv2_freeze ├── Makefile ├── README.md ├── cfv2_offsets.c ├── cfv2_utils.h ├── cgroupv2_freeze.c └── cgroupv2_freeze.h ├── dont_kill_freeze ├── Makefile ├── README.md ├── dont_kill_freeze.c └── dont_kill_freeze.h ├── hosts_redirect ├── Makefile ├── README.md ├── hosts_redirect.c ├── hosts_redirect.h └── hr_utils.h ├── kpm_utils.h ├── lmkd_dont_kill ├── Makefile ├── README.md ├── archive ├── lmkd_dont_kill.c └── lmkd_dont_kill.h ├── qti_battery_charger ├── Makefile ├── battchg.h ├── qbc_utils.h └── qti_battery_charger.c ├── re_kernel ├── Makefile ├── README.md ├── re_kernel.c ├── re_kernel.h ├── re_offsets.c ├── re_utils.h └── re_vmlinux.c └── xperia_ii_battery_age ├── Makefile ├── xiiba_utils.h └── xperia_ii_battery_age.c /.clang-format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzghzr/APatch_kpm/HEAD/.clang-format -------------------------------------------------------------------------------- /.github/workflows/build-kpm.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzghzr/APatch_kpm/HEAD/.github/workflows/build-kpm.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzghzr/APatch_kpm/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzghzr/APatch_kpm/HEAD/.gitmodules -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzghzr/APatch_kpm/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzghzr/APatch_kpm/HEAD/README.md -------------------------------------------------------------------------------- /cgroupv2_freeze/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzghzr/APatch_kpm/HEAD/cgroupv2_freeze/Makefile -------------------------------------------------------------------------------- /cgroupv2_freeze/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzghzr/APatch_kpm/HEAD/cgroupv2_freeze/README.md -------------------------------------------------------------------------------- /cgroupv2_freeze/cfv2_offsets.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzghzr/APatch_kpm/HEAD/cgroupv2_freeze/cfv2_offsets.c -------------------------------------------------------------------------------- /cgroupv2_freeze/cfv2_utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzghzr/APatch_kpm/HEAD/cgroupv2_freeze/cfv2_utils.h -------------------------------------------------------------------------------- /cgroupv2_freeze/cgroupv2_freeze.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzghzr/APatch_kpm/HEAD/cgroupv2_freeze/cgroupv2_freeze.c -------------------------------------------------------------------------------- /cgroupv2_freeze/cgroupv2_freeze.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzghzr/APatch_kpm/HEAD/cgroupv2_freeze/cgroupv2_freeze.h -------------------------------------------------------------------------------- /dont_kill_freeze/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzghzr/APatch_kpm/HEAD/dont_kill_freeze/Makefile -------------------------------------------------------------------------------- /dont_kill_freeze/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzghzr/APatch_kpm/HEAD/dont_kill_freeze/README.md -------------------------------------------------------------------------------- /dont_kill_freeze/dont_kill_freeze.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzghzr/APatch_kpm/HEAD/dont_kill_freeze/dont_kill_freeze.c -------------------------------------------------------------------------------- /dont_kill_freeze/dont_kill_freeze.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzghzr/APatch_kpm/HEAD/dont_kill_freeze/dont_kill_freeze.h -------------------------------------------------------------------------------- /hosts_redirect/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzghzr/APatch_kpm/HEAD/hosts_redirect/Makefile -------------------------------------------------------------------------------- /hosts_redirect/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzghzr/APatch_kpm/HEAD/hosts_redirect/README.md -------------------------------------------------------------------------------- /hosts_redirect/hosts_redirect.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzghzr/APatch_kpm/HEAD/hosts_redirect/hosts_redirect.c -------------------------------------------------------------------------------- /hosts_redirect/hosts_redirect.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzghzr/APatch_kpm/HEAD/hosts_redirect/hosts_redirect.h -------------------------------------------------------------------------------- /hosts_redirect/hr_utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzghzr/APatch_kpm/HEAD/hosts_redirect/hr_utils.h -------------------------------------------------------------------------------- /kpm_utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzghzr/APatch_kpm/HEAD/kpm_utils.h -------------------------------------------------------------------------------- /lmkd_dont_kill/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzghzr/APatch_kpm/HEAD/lmkd_dont_kill/Makefile -------------------------------------------------------------------------------- /lmkd_dont_kill/README.md: -------------------------------------------------------------------------------- 1 | # lmkd_dont_kill 2 | ## 模块作用 3 | 拦截所有 `lmkd` 发来的 `SIGKILL` 信号 4 | 5 | ## 更新记录 6 | ### 1.0.0 7 | 初始版本 8 | -------------------------------------------------------------------------------- /lmkd_dont_kill/archive: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /lmkd_dont_kill/lmkd_dont_kill.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzghzr/APatch_kpm/HEAD/lmkd_dont_kill/lmkd_dont_kill.c -------------------------------------------------------------------------------- /lmkd_dont_kill/lmkd_dont_kill.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzghzr/APatch_kpm/HEAD/lmkd_dont_kill/lmkd_dont_kill.h -------------------------------------------------------------------------------- /qti_battery_charger/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzghzr/APatch_kpm/HEAD/qti_battery_charger/Makefile -------------------------------------------------------------------------------- /qti_battery_charger/battchg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzghzr/APatch_kpm/HEAD/qti_battery_charger/battchg.h -------------------------------------------------------------------------------- /qti_battery_charger/qbc_utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzghzr/APatch_kpm/HEAD/qti_battery_charger/qbc_utils.h -------------------------------------------------------------------------------- /qti_battery_charger/qti_battery_charger.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzghzr/APatch_kpm/HEAD/qti_battery_charger/qti_battery_charger.c -------------------------------------------------------------------------------- /re_kernel/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzghzr/APatch_kpm/HEAD/re_kernel/Makefile -------------------------------------------------------------------------------- /re_kernel/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzghzr/APatch_kpm/HEAD/re_kernel/README.md -------------------------------------------------------------------------------- /re_kernel/re_kernel.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzghzr/APatch_kpm/HEAD/re_kernel/re_kernel.c -------------------------------------------------------------------------------- /re_kernel/re_kernel.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzghzr/APatch_kpm/HEAD/re_kernel/re_kernel.h -------------------------------------------------------------------------------- /re_kernel/re_offsets.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzghzr/APatch_kpm/HEAD/re_kernel/re_offsets.c -------------------------------------------------------------------------------- /re_kernel/re_utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzghzr/APatch_kpm/HEAD/re_kernel/re_utils.h -------------------------------------------------------------------------------- /re_kernel/re_vmlinux.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzghzr/APatch_kpm/HEAD/re_kernel/re_vmlinux.c -------------------------------------------------------------------------------- /xperia_ii_battery_age/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzghzr/APatch_kpm/HEAD/xperia_ii_battery_age/Makefile -------------------------------------------------------------------------------- /xperia_ii_battery_age/xiiba_utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzghzr/APatch_kpm/HEAD/xperia_ii_battery_age/xiiba_utils.h -------------------------------------------------------------------------------- /xperia_ii_battery_age/xperia_ii_battery_age.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzghzr/APatch_kpm/HEAD/xperia_ii_battery_age/xperia_ii_battery_age.c --------------------------------------------------------------------------------