[Galaxy Tab 4 Original Android Development] matteo0026:
LineageOS is a free, community built, aftermarket firmware distribution of Android 9 (Pie), which is designed to increase performance and reliability over stock Android for your device.

LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

Installation instructions :

Be sure to have installed latest TWRP recovery (you can find it in downloads) and latest Android Lollipop (5.0.2 for matisse, 5.1.1 for millet) firmware

Download the latest build and GApps (ARM, 9.0, I advice pico package) - if you'll go to wipe even internal storage, put them on a microSD or an USB OTG, or copy them after wiping it

Boot to recovery mode

Wipe > Advanced wipe > Select system, data, cache and dalvik/art cache (and, if you want to clean more, select even internal storage, which deletes all the content in /sdcard) and do swipe to wipe. When it finishes, go to home page

Install > select ROM zip file > swipe to flash and, when it finished, go to home page

Do the same thing to flash GApps

Reboot > System

Update instructions :

Be sure to have installed latest TWRP build

Download the latest build

Boot to recovery mode

Install > select ROM zip file > swipe to flash and, when it finished, go to home page

Reboot > System

Known issues :

Magnetic cover doesn't trigger magnetic sensor (it works, but it's too little sensible).

Some randomic minor issues with YouTube app (sometimes, after skipping ads in a video, you'll get just a grey screen - close and reopen video to fix the issue)

Some randomic issues with bluetooth MAC address (bluetooth app crashes always). To fix this, you need to get (take note!) the address by going to stock ROM and getting that from Settings > About tablet menu. Then, come back to LineageOS 16 and rewrite the file /efs/bluetooth/bt_addr by using root permissions and a root file explorer, or by using adb push/pull, better in TWRP.

In all millet, camera crashes when trying to take pictures and can't zoom

5 GHz WiFi networks between channels 149 and 161 are invisible to the Tab

In matisse3g and millet3g SIM isn't working

Downloads :

All models (from 2022-12 build): https://github.com/matteo0026/OTA/releases

Mirror for all models: https://t.me/tab4los

matisse (10.1) devices (until 2022-09 build): https://androidfilehost.com/?w=files&flid=304073

millet (8.0) devices (until 2022-09 build): https://androidfilehost.com/?w=files&flid=304074

TWRP recovery: https://xdaforums.com/tab-4/development/recovery-twrp-recovery-matisse-millet-t4019831

GApps: https://opengapps.org/ (ARM, 9.0, I advice pico package)

Contributors

matteo0026, DJABHipHop, Alastor89, All the S3NEO devs that provided the base for developing Pie on Tab 4

Source Code:

https://github.com/lineageos for samsung msm8226 common device and kernel source, with some patches coming from Gerrit for device source

https://github.com/s3neo for matisse and millet and specific variants device and vendor source