Source on LineageOS 14 is fine
General LineageOS 14.1 builds should work for espresso3g (only no RIL) and espressowifi.
- Dependencies inside espresso3g and espressowifi branches are up to date
- Device trees are up to date
- Kernel is up to date on LineageOS for this setup (inside the dependencies defined, https://github.com/LineageOS/android_kernel_ti_omap4)
- hardware/ti/omap4 needs one commit to get camera working
Extras needed
https://review.lineageos.org/c/LineageOS/android_hardware_ti_omap4/+/176667 is needed to get camera working.
hardware/ti/omap4 is defined in LineageOS default manifests for cm-14.1 branch.
https://github.com/andi34/android_pull/tree/cm-14.1/device/samsung/espresso3g
Download the patch files inside the espresso3g repo and run:
git am *.patch
to apply them.
Needed vendor Blobs
- (cm-14.1 branch) https://github.com/TheMuppets/proprietary_vendor_samsung
- (Master branch)
https://github.com/TheMuppets/proprietary_vendor_ti
Wallpapersize is important, else boot fails if they are to large. Examples:
- https://github.com/Unlegacy-Android/android_frameworks_base/commit/4b358c204fd4cf07f566048cd60417a53392acfe
- https://github.com/andi34/android_pull/blob/cm-14.1/vendor/cm/0003-wallpaper-resize-tablet-wallpaper.patch
What you need
Not sure if needed to boot: https://review.lineageos.org/c/LineageOS/android_build/+/197715
To think about
If the build does not work, there’s a chance that one of the security bulletin updates broke Tab2. That’s nothing I am going to look into.
Can be ignored
Only difference between my sources would be the older DDK, this would require some more patches in different repos.