logoalt Hacker News

nextaccountictoday at 1:01 PM4 repliesview on HN

What about running the whole Android infrastructure, but on top of a non-Android Linux distro? And this, on top of a Android kernel (otherwise you won't have the drivers yo uneed)

The advantage being, we can manage packages using a regular Linux distro


Replies

saidinesh5today at 1:12 PM

A lot of "non Android Linux distributions" like sailfish os actually use a lot of Android infrastructure to keep working.

Drivers doesn't just mean the kernel. It's the user space binary blobs and services that need to talk to the kernel to enable the hardware.

Other than that there's waydroid, alien dalvik etc.. that run another Android instance in a container.

The thing is a lot of Android applications use safety net/other methods to make sure they only run on. "Approved"/stock hardware.

bri3dtoday at 5:39 PM

Android has a proprietary HAL on both ends; the userspace interfaces to drivers are not the same as on "normal" Linux for almost any devices (baseband, video acceleration although this is at least EGL based, cameras, sensors, audio DSP, hardware media codecs, etc.), so by the time you replace every component of the OS, you've just made AOSP without the useful security parts.

> The advantage being, we can manage packages using a regular Linux distro

It's much easier, more plausible, and more logical to sandbox a regular Linux package-managed distro inside of Android, which numerous solutions exist for.

tfrancisltoday at 1:05 PM

This is exactly where my head goes. There's nothing special about this hardware other than its small form factor. Sure, some desktop apps would likely want a different skin, but thats hardly limiting.

realusernametoday at 1:32 PM

You can't because a lot of apps check that the phone is controlled by Google with Play Integrity.

Google thought about this, don't worry. They learned their lesson after CyanogenMod tried to compete by offering an alternative. Non-Google Android are now dead except in China.

show 2 replies