Support devices with upstream GNU/Linux support
- It limits the life of the device, as Replicant is then dependent on LineageOS to update the kernel version, which is a lot of work.
- Replicant doesn't share the work with GNU/Linux, which makes Replicant more dependant on Google, and doesn't help GNU/Linux to work well on smartphones.
- Replicant doesn't work out of the box with devices already using upstream Linux kernels.
- Find or port a device to the upstream Linux kernel.
- Add very minimalistic support for that device to Replicant, while using the upstream Linux kernel.
- Write or adapt hardware support libraries to work with the upstream Linux kernel, in a way that is not tied to a specific device but would support any device using a standard Linux kernel.
- make it run on Android and send the changes upstream
- add support for the chip that are present in the devices supported by Replicant.
#1 Updated by Kurtis Hanna 4 months ago
The Galaxy S 3 (I9300), Galaxy S 3 4G (I9305), Galaxy Note 2 (N7100), and Galaxy Note 2 4G (N7105) now are able to run with a mainlined linux kernel. https://blog.forkwhiletrue.me/pages/midas-mainline/
The Galaxy Note 8.0 (N51xx) likely could run with a mainlined kernel also, and can utilize a lot of the work that has already been done because it uses the same board as the others, but no one has started working on it as far as I know.
Also, the secondary bootloader was removed on these devices and was replaced with u-boot: https://github.com/fourkbomb/u-boot/commits/ https://blog.forkwhiletrue.me/posts/u-boot-on-galaxy-s3/
Forkbomb (Simon Shields) said that he got Arch GNU/Linux to boot on one of these devices with u-boot and mainline linux. It should be investigated whether or not we can replicate this and, if so, whether we can run the deblog script to turn it into Parabola or Hyperbola.
It is also worth noting that PostmarketOS is trying to get GNU/Linux on smartphones https://postmarketos.org/ and they want to use the mainline kernel whenever possible: https://wiki.postmarketos.org/wiki/The_Mainline_Kernel Their documentation and work might help us find device targets in the future.
It is my assumption that it would take a lot of work to mainline the kernel on any of the other devices that Replicant currently supports. The work to mainline the five devices above was mainly done by samsung employees who did the work because they wanted to test out Tizen. "Samsung’s testing of Tizen 3.0 on the Galaxy S III helped the Exynos 4 Quad become better suited by the Linux kernel" https://www.xda-developers.com/samsung-galaxy-siii-samsung-galaxy-note-ii-htc-hd2/
It would be cool to see devices like the Acer Chromebook Tab 10 with Rockchip OP1 RK3399 get Replicant support: https://www.acer.com/ac/en/US/content/series/acerchromebooktab10
#2 Updated by Kurtis Hanna 4 months ago
Good news coming out about the RK3399, which is in the Acer Chromebook Tab10. Looks like it is able to run Panfrost: https://rosenzweig.io/blog/panfrost-on-the-rk3399-meow.html