Cortex Release v1.27.7
Fixed
- Podman and other container tools found no cgroups in root mode (#72).
The chroot got a fresh/syswith nothing mounted on/sys/fs/cgroup, and Android keeps its
own hierarchies somewhere else (/dev/cpuset,/dev/cpuctl,/dev/memcg,/acct), so
podman infolisted no controllers and dropped the PIDs limit. Root mode now lays the phone's
cgroups out the way Ubuntu does: the cgroup2 tree when the phone has it at/sys/fs/cgroup
(Android 12 and later), otherwise one directory per v1 hierarchy, with Android's own hierarchies
bound in and the enabled controllers that have none, oftenpids, mounted. All of it stays in the
session's own mount namespace.
Added
- Proof of where an APK comes from. Releases are now built on GitHub from the tagged source with
a build attestation for each APK, sogh attestation verify Cortex-arm64-v8a-signed.apk --repo ssfuisu/cortexshows the workflow and commit it came from, and every release has
SHA256SUMS.txt. How to check both is insigning/README.md. - A benchmark you can run next to proot-distro.
tests/bench/compare.shruns the same tests
(starting programs, file operations,tar, pure CPU, Python,gcc,apt-cache) in whatever it
runs in and prints a table, so Cortex and proot-distro can be compared on the same phone. - The nightly package test results on the website, failures included, with what is known about
each failure: ssfuisu.github.io/cortex/compat.html. SECURITY.md: what the app can and cannot do to a phone, every permission and why, and how to
report a problem.docs/containers.md: Podman and Docker in root mode, including the
iptables setting kernels without nftables NAT need.
Changed
- The website, the README and the release notes say plainly how Cortex works: an
LD_PRELOAD
library, the technique fakechroot and fakeroot use, rewritten for Android, with noptraceand no
virtual machine. The old "natively, no containers" wording made it sound like more than that.
Downloads
Cortex-arm64-v8a-signed.apk: 64-bit ARM (almost all current phones)Cortex-armeabi-v7a-signed.apk: 32-bit ARM
SHA256SUMS.txt has the checksums. Each APK also has a build attestation: gh attestation verify Cortex-arm64-v8a-signed.apk --repo ssfuisu/cortex shows it was built by this repository's workflow from the tagged source.
How to verify a download: signing/README.md. All versions: CHANGELOG.md.