Compiling modern Rust code (currently the egui demo) on old Android tablets (Jelly Bean/KitKat versions).
dldebug- simple tool to investigate dynamic linker errors on Android
- see directory README for instructions
cargo-apkmodified- lifted the lower SDK version bound of 23
- fixed legacy logcat not working after
apk run
.cargo/config.toml- unwinding on panic doesn't work, because it requires
dl_iterate_phdr, which is unavailable on old bionic, so we abort on panic
- unwinding on panic doesn't work, because it requires
Despite the old age and obsolete hardware, I still think that old Android tablets hold lots of potential for embedded solutions. Think a Stream Deck clone, or a smart home controller - things you'd normally build with Raspberry Pi's and touchscreens.
Obviously, using modern Android technologies is not really a possibility here, due to lack of support, but if we could get modern Rust running along with a UI library (e.g. egui or Slint), we could substitute most of the legacy software with statically linked Rust code (e.g. latest rustls in place of outdated OpenSSL).
This project is licensed under the BSD 3-Clause license.