├── .gitignore ├── README.md ├── busybox.config ├── busybox.mk ├── jni ├── Android.mk ├── Application.mk ├── deps.mk └── pcre2_workaround.c ├── patches ├── 0001-Fix-incorrect-assumptions-about-NDK.patch ├── 0002-loadfont-setfont-conspy-add-missing-header.patch ├── 0003-fix-ipcs-ipcrm-no-sys-sem-shm-msg-etc.patch ├── 0004-Bionic-does-not-have-ether_hostton.patch ├── 0005-Prevent-duplicate-in6_ifreq-definition.patch ├── 0006-Add-missing-sigisemptyset-implementation.patch ├── 0007-Prevent-compiling-mtab-related-features.patch ├── 0008-Remove-CBQ-support-from-tc.patch ├── 0009-Replace-realpath-to-BSD-implementation.patch ├── 0010-Replace-rename-2-with-direct-system-call.patch ├── 0011-Support-DNS-on-statically-linked-Bionic.patch ├── 0012-Fix-direct-mount-auto-loopback-and-losetup-for-Andro.patch ├── 0013-Update-shell-paths-to-Android-specific-values.patch ├── 0014-Disable-SELinux-features-for-install.patch ├── 0015-Add-runtime-toggle-to-enable-standalone-ash.patch ├── 0016-Resolve-proc-self-exe-when-re-exec-ourselves.patch ├── 0017-Allow-running-as-libbusybox.so.patch └── 0018-Allow-variable-page-size-on-x64.patch └── run.sh /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/ndk-box-kitchen/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/ndk-box-kitchen/HEAD/README.md -------------------------------------------------------------------------------- /busybox.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/ndk-box-kitchen/HEAD/busybox.config -------------------------------------------------------------------------------- /busybox.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/ndk-box-kitchen/HEAD/busybox.mk -------------------------------------------------------------------------------- /jni/Android.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/ndk-box-kitchen/HEAD/jni/Android.mk -------------------------------------------------------------------------------- /jni/Application.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/ndk-box-kitchen/HEAD/jni/Application.mk -------------------------------------------------------------------------------- /jni/deps.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/ndk-box-kitchen/HEAD/jni/deps.mk -------------------------------------------------------------------------------- /jni/pcre2_workaround.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/ndk-box-kitchen/HEAD/jni/pcre2_workaround.c -------------------------------------------------------------------------------- /patches/0001-Fix-incorrect-assumptions-about-NDK.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/ndk-box-kitchen/HEAD/patches/0001-Fix-incorrect-assumptions-about-NDK.patch -------------------------------------------------------------------------------- /patches/0002-loadfont-setfont-conspy-add-missing-header.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/ndk-box-kitchen/HEAD/patches/0002-loadfont-setfont-conspy-add-missing-header.patch -------------------------------------------------------------------------------- /patches/0003-fix-ipcs-ipcrm-no-sys-sem-shm-msg-etc.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/ndk-box-kitchen/HEAD/patches/0003-fix-ipcs-ipcrm-no-sys-sem-shm-msg-etc.patch -------------------------------------------------------------------------------- /patches/0004-Bionic-does-not-have-ether_hostton.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/ndk-box-kitchen/HEAD/patches/0004-Bionic-does-not-have-ether_hostton.patch -------------------------------------------------------------------------------- /patches/0005-Prevent-duplicate-in6_ifreq-definition.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/ndk-box-kitchen/HEAD/patches/0005-Prevent-duplicate-in6_ifreq-definition.patch -------------------------------------------------------------------------------- /patches/0006-Add-missing-sigisemptyset-implementation.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/ndk-box-kitchen/HEAD/patches/0006-Add-missing-sigisemptyset-implementation.patch -------------------------------------------------------------------------------- /patches/0007-Prevent-compiling-mtab-related-features.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/ndk-box-kitchen/HEAD/patches/0007-Prevent-compiling-mtab-related-features.patch -------------------------------------------------------------------------------- /patches/0008-Remove-CBQ-support-from-tc.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/ndk-box-kitchen/HEAD/patches/0008-Remove-CBQ-support-from-tc.patch -------------------------------------------------------------------------------- /patches/0009-Replace-realpath-to-BSD-implementation.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/ndk-box-kitchen/HEAD/patches/0009-Replace-realpath-to-BSD-implementation.patch -------------------------------------------------------------------------------- /patches/0010-Replace-rename-2-with-direct-system-call.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/ndk-box-kitchen/HEAD/patches/0010-Replace-rename-2-with-direct-system-call.patch -------------------------------------------------------------------------------- /patches/0011-Support-DNS-on-statically-linked-Bionic.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/ndk-box-kitchen/HEAD/patches/0011-Support-DNS-on-statically-linked-Bionic.patch -------------------------------------------------------------------------------- /patches/0012-Fix-direct-mount-auto-loopback-and-losetup-for-Andro.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/ndk-box-kitchen/HEAD/patches/0012-Fix-direct-mount-auto-loopback-and-losetup-for-Andro.patch -------------------------------------------------------------------------------- /patches/0013-Update-shell-paths-to-Android-specific-values.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/ndk-box-kitchen/HEAD/patches/0013-Update-shell-paths-to-Android-specific-values.patch -------------------------------------------------------------------------------- /patches/0014-Disable-SELinux-features-for-install.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/ndk-box-kitchen/HEAD/patches/0014-Disable-SELinux-features-for-install.patch -------------------------------------------------------------------------------- /patches/0015-Add-runtime-toggle-to-enable-standalone-ash.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/ndk-box-kitchen/HEAD/patches/0015-Add-runtime-toggle-to-enable-standalone-ash.patch -------------------------------------------------------------------------------- /patches/0016-Resolve-proc-self-exe-when-re-exec-ourselves.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/ndk-box-kitchen/HEAD/patches/0016-Resolve-proc-self-exe-when-re-exec-ourselves.patch -------------------------------------------------------------------------------- /patches/0017-Allow-running-as-libbusybox.so.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/ndk-box-kitchen/HEAD/patches/0017-Allow-running-as-libbusybox.so.patch -------------------------------------------------------------------------------- /patches/0018-Allow-variable-page-size-on-x64.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/ndk-box-kitchen/HEAD/patches/0018-Allow-variable-page-size-on-x64.patch -------------------------------------------------------------------------------- /run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topjohnwu/ndk-box-kitchen/HEAD/run.sh --------------------------------------------------------------------------------