Mainline

Benefits of using mainline Linux

Currently, Replicant uses device specific Hardware Abstraction Layers, because device manufacturers implemented non-standard kernel interfaces. However, Android works with mainline kernels and supports plug-n-play hardware nowadays, so it makes sense to have generic Hardware Abstraction Layers for the standard interfaces of the Linux kernel (ALSA, V4L2, etc).

Benefits:

Requirements

Devices

It is best to use a device that requires the least amount of work to be functional under Replicant.
More precisely we want to minimize: To achieve that we can choose a device that:

It is also a good idea to keep one image per device, as trying to make a single image that
would work on all ARM device supported by mainline Linux is complicated: Even ARM GNU/Linux
distributions still have some issues with that.

Smartphones and tablets with a free software bootloader and work in progress mainline Linux support

Device dts comments
P970 (Optimus Black) omap3-sniper.dts no display, very few peripherals

Replicant supported Samsung Exynos devices

Device dts
i9100 (Galaxy S II) exynos4210-trats.dts
i9300 (Galaxy S III) exynos4412-trats2.dts

Allwinner devices

See also