New device: Samsung Galaxy S7 (herolte)
This MR adds support for the Galaxy S7. As I mentioned on the Matrix server: This is basically
just the packages for the Galaxy S7 Edge (hero2lte). I only needed to change a few Kernel config
options, so that the colors are displayed correctly. The options regarding
CONFIG_PANEL_S6E3HA3_DYNAMIC probably solve this issue, but I modified the other options as well.
I got the differences by diffing
Booting, USB networking and the display work! I can't say anything about flashing via heimdall as this tool scares me. Following what WilliamO7 wrote on the device page, I flashed it by sideloading the android recovery zip.
Edit: For the future, it would definetely make sense to fuse
linux-samsung-hero2lte together, as their hardware is essentially identical. The only difference is that the panels of the two phones differ. I did not test whether linux will correctly guess which panel to use when both are enabled, but if it does, then a new kernel package (perhaps
linux-samsung-hero) could replace the two device specific kernels.