Skip to content

Instantly share code, notes, and snippets.

@youmukonpaku1337
Last active August 5, 2023 23:33
Show Gist options
  • Save youmukonpaku1337/d6284b837c1aeb3ef30dfed5ab4f13e1 to your computer and use it in GitHub Desktop.
Save youmukonpaku1337/d6284b837c1aeb3ef30dfed5ab4f13e1 to your computer and use it in GitHub Desktop.
Android Debian Sid chroot with hardware acceleration

WARNING: THIS MAY CAUSE ISSUES WITH YOUR DEVICE

Your warranty is now void.  
I am not responsible for bricked devices, dead SD cards,  
thermonuclear war, or you getting fired because the alarm app failed.  
Please do some research if you have any concerns.  
YOU are choosing to make these modifications, and if you point  
the finger at me for messing up your device, I will laugh at you.

Requirements

  1. An android phone
  2. A snapdragon SOC with a Adreno 6xx-7xx gpu (optional if you do not want hardware acceleration, but that's not fun, is it?
  3. Experience with building software from source
  4. Root and Termux + Termux:X11 installed
  5. A custom ROM that can be built from source (kernel building is required for sysvipc support (needed for some games and Steam) and joystick passthrough, ask your ROM maintainer for instructions to build kernel)
  6. Some patience and googling skills
  7. Debian Sid arm64 (or whatever is your phone architecture) rootfs, can be built with debootstrap
  8. A physical mouse/keyboard and/or a gamepad

Why?

Here are some usecases:

  1. Hooking up your phone to a monitor and getting a full linux experience
  2. Making your own Steam Deck at a quarter of the size
  3. Running x86/64 specific software
  4. Hosting x86/64 only game servers
  5. Just tinkering with your phone :p

How?

WIP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment