by sillystuff · 2y ago · 0 comments
I looked at the libhybris page and a few other sources, but am unsure how much of Android is implied when using libhybris. Random person on Internet claimed it is a minimal, but complete, Android user space install, but my reading of the libhybris page doesn't seem to imply that. The libhybris page does imply some of Android user space. A (probably out of date) Android kernel with all the OOT binary blob drivers Android is famous for, seems like it would also be a requirement.
Am I misunderstanding how bad this is? Or, is Sailfish rather than being a real alternative to Android just helping to entrench the terrible situation with Android Linux kernels?
If you run SailfishOS you have to first have Android flashed onto the phone. They use the same kernel, camera drivers, GPU drivers, etc as the original OEM including the prorprietary wireless BLOBs and the Android Radio-Interface-Layer ("RIL").
I've spoken to the Sailfish guys awhile back and I get why they did this -- 10+ years ago there was basically no choice but to use the Android port of drivers + the Linux kernel the vendor shipped because there was no other way to make these hardware pieces work, thanks to the silicon vendors.
The story of not needing BLOBs and things like a libhybris-shim has slowly improved, but not 100% . We can run Debian linux on the Qualcomm Snapdragon laptop devices (Thinkpad X13s, etc) but bits and pieces are still not there (audio, full power management, Bluetooth, etc).
To current Qualcomm's credit there are people inside who are pushing for everything mainline Linux, and minimizing proprietary pieces.
Ubuntu Touch relies on libhybris as well.
If something doesn't work in the binary android drivers, the vendor won't help you (we support only android, sir). Nor can you fix the drivers yourself, because you don't have the sources or the knowledge how drivers work.
The android app would not get an accurate fix unless a Sailfish app first woke up the GPS and obtained an accurate lock.