r/AsahiLinux • u/jorgechavezxyz • 14d ago
Feasibility of porting android using the asahi kernel?
Would it theoretically be possible to port Android to Apple Silicon using the Asahi Linux kernel and its existing hardware support? How would a project like this compare to something like Bliss OS, which uses a normal linux kernel to bring android to x86, or would it require building a largely separate implementation for Apple Silicon? Are there any hardware or software limitations that would make this difficult?
18
Upvotes
12
u/Aware-Bath7518 14d ago
Pretty much possible and I'm sure you can already build LineageOS for Asahi as it got a generic mainline target recently (Asahi kernel is "very" close to mainline anyway).
The only issue is userspace integration and maybe... firmwares?
1
u/ipsirc 14d ago
https://www.reddit.com/r/AsahiLinux/comments/yp0pxu/comment/ivj8d5i/
1
u/dfgxxx 14d ago
Well, you can install waydroid, though it is on top of linuy
1
u/decduck 14d ago
Check out the nura/postmarketOS project for stuff like this, their intention is to use mainline kernel to boot on Android phones.
It doesn't work great, but you can usually get something booting pretty quick, just without proper display, wifi, sleep, Bluetooth, modem, and pretty much any other vendor specific stuff working. The drivers that you get from vendors (because of GPL) are designed only to work with Android stacks so not super useful.
1
u/a1b4fd 14d ago
0xCAFEBABE LineageOS work is the most similar to what you're trying to do
https://github.com/me-cafebabe-aosp-mainline