Skip to content

chlebspace/hello-ewaste

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hello e-waste!

Compiling modern Rust code (currently the egui demo) on old Android tablets (Jelly Bean/KitKat versions).

in this repo

  • dldebug
    • simple tool to investigate dynamic linker errors on Android
    • see directory README for instructions
  • cargo-apk modified
    • 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

why?

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).

license

This project is licensed under the BSD 3-Clause license.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published