What's new in v1.26.27
Shell startup now works like stock Ubuntu 24.04
~/.profileand~/.bashrcare your own files again: created once from/etc/skel, never rewritten by the app. Older releases rewrote them on every start, which raced with installers (nvm, bun, rustup, opencode, ...) and removed theirPATHlines. Existing files are migrated automatically; only what the app itself had injected is removed, everything you or an installer added is kept.- Cortex's own environment moved to
/etc/profile.d(00-env.sh,01cortex.sh,02-cortex-shell.sh) with a de-duplicatedPATH;SHELL=/bin/bashis exported like on a real login. - Automatic reload: when an installer changes
~/.bashrc,~/.profileor~/.bash_profile, the running shell re-sources it at the next prompt -nvm,opencode& co. work right after installing, no terminal restart.reloadstill works;export CORTEX_AUTO_RELOAD=0turns it off.
Fixes for #10
- opencode worked after one restart and not after the second: a startup step stripped
/home/.opencode/bin:out of~/.bashrc, which also matched the installer's absolute path and corrupted the line. Fixed, and already-corrupted lines are repaired. - The cleanup of old auto-installer wrappers could delete the real
opencodebinary (it contains the textopencode.ai). It now only removes small wrapper scripts. - "Extracting base system..." could stay on screen forever (error in the extraction thread, or a second extraction started after the activity was re-created). Extraction is now single-flight and always dismisses the dialog.
Cortex Release v1.26.27
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)