github ssfuisu/cortex v1.26.31
Cortex Release v1.26.31

latest releases: v1.29.1, v1.29.0, v1.28.0...
one month ago

What's new in v1.26.31

Compiling works

  • apt install build-essential (and g++, libtool, python3-dev, zlib1g-dev, libsqlite3-dev, clang, gfortran, rustc and every other -dev package) failed with "held broken packages", and gcc could not compile anything because the C library headers were missing. The patched glibc that Cortex pins keeps Ubuntu's libc6-dev out, so the app now brings libc6-dev, libc-dev-bin, libcrypt-dev, linux-libc-dev and rpcsvc-proto itself (stock Ubuntu packages, recorded in dpkg's database). They are unpacked at the first start, on a fresh install and on an existing one (about 17 MB; the APK grows by about 4 MB).
  • make crashed with "Bad system call" as soon as it ran a recipe (it asks posix_spawn() to reset the user ids, which Android's seccomp filter kills). Fixed in the preloaded library. make -j4 builds Lua 5.4.7 in 8 s.
  • The libc6* pin also blocked about 200 libc6-*-cross packages; it now names libc6, libc6-dev and libc6-dbg only, so crossbuild-essential-armhf installs too. libc6 and libc-bin stay at the version Cortex ships, and apt upgrade leaves them alone.
  • Checked on a phone: apt install build-essential works; C, C++17 (threads, regex), make, shared libraries with dlopen, cmake + ninja, autotools, OpenSSL/zlib via pkg-config, Python C extensions. Of 50 common packages 35 could be installed before and 45 can now, none got worse.
  • Limits: statically linked programs (gcc -static) are killed at start by Android's seccomp filter, so link dynamically. locales still cannot be installed (its locale archive is not readable through the preloaded library) and valgrind needs libc6-dbg. The 32-bit (armeabi-v7a) build is compiled and its packages are checked in CI but not run on a device.

Also in this release, from v1.26.30 (a pre-release as well): cheaper file-path calls and program starts (stat() +18% -> +3% over a call without Cortex, fopen +12% -> +3%, a missing command in PATH +140% -> +8%), terminal output that scrolls about 3x faster in a test of the emulator, scripts and Android programs started with posix_spawn no longer crash, ls -l prints no stray errors, xz -T2 and up honours the compression level, #! loops fail with ELOOP instead of crashing. Details in the README's Performance section.

Signing and updating: the first releases signed with the rotated key (see signing/README.md). Android 13 and newer take the new key, Android 12 and older keep seeing the original one. Checked: both APKs verify (v2, v3, v3.1); clean installs on an Android 12 phone start, unpack the runtime and the C development packages. Not yet tried on a device: updating an installed copy in place, and any update on Android 13 or newer. That is why this is a pre-release for now; the in-app updater does not offer it.

Cortex Release v1.26.31

Cortex turns your Android device into a complete, native development powerhouse powered by Ubuntu 24.04 LTS (Noble Numbat) and Glibc 2.39 — with ZERO virtualization, ZERO PRoot, and ZERO containers.

Features & Assets:

  • Ultra-compact APK size with genuine Glibc 2.39 & Ubuntu 24.04 runtime.
  • Native OpenCode, Meta Muse Code, and OpenJDK 17 support.
  • High-speed native terminal emulator with hardware acceleration.

Included Packages & Assets:

  • Cortex-arm64-v8a-signed.apk (64-bit ARM)
  • Cortex-armeabi-v7a-signed.apk (32-bit ARM)

Don't miss a new cortex release

NewReleases is sending notifications on new releases.