[ROM][GT-P52XX][UNOFFICIAL][7.1.2] LineageOS 14.1

nels83

Senior Member
Apr 12, 2015
405
2,612
123
Unofficial LineageOS 14.1 for Samsung Galaxy Tab 3 10.1

LineageOS is a free, community built, aftermarket firmware distribution of Android 7.1 (Nougat), which is designed to increase performance and reliability over stock Android for your device.

Code:
#include 
/*
 * Your warranty is now void.
 *
 * I am not responsible for bricked devices, dead SD cards, ...
 * You flash this at your own risks
 */
About LineageOS

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.

Important information

You need a recent TWRP version to flash this ROM.

Installation

First time installing, coming from another ROM
  • Copy ROM to SDCard
  • Copy GApps to SDCard
  • Boot into recovery
  • Backup EFS partition
  • Wipe -> Advanced Wipe -> Dalvik Cache + System + Cache + Data
  • Install ROM
  • Install GApps
  • Reboot
  • First start takes a long time

Upgrading from earlier version of LineageOS 14.1
  • Copy ROM to SDCard
  • Boot into recovery
  • Install ROM
  • Reboot

[OPTIONAL] Converting filesystem to F2FS (thanks @michiil)

The ROM has F2FS support. You may want to use it instead of the default (EXT4).

This will delete ALL files/data from your tab.

What you will need: A working PC and a working USB cable.

  1. Install the most recent Recovery
    Download the most recent Recovery from the second post. Flash the zip file in recovery. Back in the main menu press Reboot > Recovery
  2. Format Data and Cache to F2FS
    Wipe > choose Cache > repair or change file system > change file system > F2FS > Swipe to Confirm
    Go back and repeat the same steps with Data. I got some error messages when formatting Data but they don't seem to be a problem.
    Back in the main menu press Reboot > Recovery
  3. Install Rom + Gapps
    Connect your tab to your PC and copy the zip files on the tab.
    Flash the files, reboot and enjoy :good:

How to get back to EXT4

You will again loose all files/data on the tab.
Just repeat Step 2 but use EXT4 instead of F2FS.

What's working

  • RIL (audio calls, data, sms, mms)
  • 2D/3D acceleration
  • HW video encoding/decoding
  • Screen cast (Miracast/Wifi Display)
  • MHL/HDMI
  • Sound
  • InfraRed
  • Camera
  • Wifi
  • Bluetooth
  • GPS
  • Sensors
  • SDCard, USB OTG
  • Tethering (USB, Bluetooth, Wifi)
  • Software DRM (Level 3, see below)

    Known to be working
    • Google Movies
    • Amazon Prime Video
    • Molotov TV
    • myCANAL
    • Canalplay Kids
    • 6play

Features

  • Automatic brightness
  • Change Color profile
  • Change mDNIe scenario
  • Enable/disable mDNIe negative mode
  • Multiuser
  • Enable/disable capacitive keys
  • Change capacitive keys width
  • Buttons backlight on screen touch or key touch only
  • Smart cover lock/unlock
  • F2FS and exFAT support
  • Houdini (allows to install arm only apps on this x86 device) - Old version so some apps may crash
  • Updated ZRAM support with LZ4 compression for maximum memory and speed
  • Updated Xbox Controller driver
  • Updated interactive CPU governor
  • Available CPU governors: powersave, interactive, performance, ondemand
  • Available I/O schedulers: noop, deadline, cfq, bfq (v7r8), fiops
  • Available battery modes (power profiles): power save, balanced, performance
  • 512MB swap file

What's not working

  • Some SDCards cause bootloop, in this case: remove SDCard and insert it again when device is booted
  • Audio and camera need work
  • Chromecast screencasting (other functions work)
  • Hardware DRM (Level 1)
  • SELinux (permissive)
  • You tell me

How to root

  • Download addonsu-14.1-x86-signed.zip
  • Copy addonsu-14.1-x86-signed.zip to SDCard
  • Boot into recovery
  • Install addonsu-14.1-x86-signed.zip
  • Reboot
  • Go to 'Settings/About tablet'
  • Tap 7 times on 'Build number'
  • Go back
  • Go to 'Developer options'
  • Tap on 'Root access'
  • Select 'Apps only' ('Apps and ADB' if you plan to use it in adb shell)

How to help

When something is not working correctly, in addition to common informations, I may ask you to provide logs. There are different kind of logs and it's not always easy to get all of them. For this, you can use SysLog (available on F-Droid or Google Play).
Make sure to root device before using this app.

To get the logs:
  • Start SysLog
  • Click on 'TAKE LOG'
  • Once log is taken, SysLog will try to share the resulting file, just cancel
  • Send me the file /sdcard/SysLog/[YYYY-MM-DD_HH.mm]/[YYYY-MM-DD_HH.mm].zip

If you left 'Scrub potentially personal information from the logs' checked, you should be safe.

Sources

Credits

  • Angel_666 , moonbutt74 and Restl3ss for starting the work on this device
  • Android-Andi for his device tree
  • crpalmer for his work on Intel support
  • Deltadroid for his GApps package
  • All testers of the "signup" thread
  • CyanogenMod, LineageOS and Google for Android
  • XDA
  • AndroidFileHost

XDA:DevDB Information
LineageOS 14.1 for GT-P52XX, ROM for the Samsung Galaxy Tab 3 10.1

Contributors
nels83
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.4.x
Based On: LineageOS

Version Information
Status: Beta

Created 2017-04-11
Last Updated 2018-10-07
 

nels83

Senior Member
Apr 12, 2015
405
2,612
123
Last edited:

nels83

Senior Member
Apr 12, 2015
405
2,612
123
Changes

Changelog

Beta 5 (20190408)
- LOS update (security patch level April 05, 2019)
- Updated kernel random handling (fixes many FC's like Google Play Services)
- Updated audio configuration
- Disabled swap file


Beta 4 (20181007)
- LOS update (security patch level September 05, 2018)
- Lots of CVE fixes (thanks @cschsz)
- Applied @willy-goergen's swap parameters update
- Added 512MB swap file (thanks to @tester272001 for the idea and everybody for the feedback)

Beta 3 (20180422)
- LOS update (security patch level April 05, 2018)
- Applied @willy-goergen's swap parameters

Beta 2 (20171118)
- LOS update (security patch level November 05, 2017)
- Removed Substratum patches
- Some RIL fixes (network and audio calls quality)

Beta 1 (20170824)
- LOS update
- Fixed RIL
- Fixed HDMI audio
- Switched to common samsung audio hal

Alpha 8 (20170810)
- LOS update (security patch level August 05, 2017)
- Removed included SU
- Fixed Gallery FCs (LOS)
- Fixed resolution in some apps
- Added substratum support
- Added a lot of SELinux rules

Alpha 7 (20170708)
- LOS update (security patch level July 05, 2017)
- Fixed Widevine/Netflix support

Alpha 6 (20170611)
- LOS update (security patch level June 05, 2017)
- Fixed green bars on some videos (we do need one patch after all)
- Fixed resize of videos
- Fixed software avc encoder
- Updated media codecs performance config file

Alpha 5 (20170528)
- LOS update
- Fixed Google SetupWizard (LOS)
- Updated mixvbp blobs to Asus Z00D (no more patches needed for media codecs)
- Updated Widevine DRM library
- Fixed safetynet
- More selinux rules

Alpha 4 (20170512)
- LOS update
- Integrated houdini
- Fixed avc and hevc software codecs
- Updated media codecs configs (cts)
- Secured signature spoofing

Alpha 3 (20170425)
- LOS update
- Fixed boot animation
- Fixed high cpu usage (and thus battery drain)
- Restored power configuration (lost when switching to common power hal)
- Tweaked wifi driver
- Cleaned up device tree (this one is for devs ;))

Alpha 2 (20170414)
- LOS update (Android 7.1.2)
- Fixed DRM L3
- Fixed charger animation
- Switched to common samsung power hal
- Updated kernel net drivers
- Removed april fool stuff (boot animation and Br0Zip)

Alpha 1 (20170406)
- First release
- Disabled houdini support
- Disabled dexpreoprt
- Assigned menu key to app switch
- Switched to common samsung IR driver
- Switched to common samsung lights driver
- Switched to sdcardfs
- Updated cpusets
 
Last edited:

txisko666

Member
Oct 28, 2015
47
9
0
Te lo digo en castellano:
Nels83, cada vez te supera. Ya te lo habré dicho pero quiero ser como tú de mayor. Cada ROM mi tabletas va a mejor gracias a ti y tu trabajo. Gracias.

Enviado desde mi GT-P5210 mediante Tapatalk
 

Lionerx

Senior Member
Aug 17, 2014
116
30
0
@nels83 my tablet freeze after watching youtube and downloading some apps, the screen cannot be turn off and finally i can shut down the tablet by holding power button for couple sec, i attach my logcat, hope you can figure out what happened Tq
 

Attachments

Last edited:
  • Like
Reactions: nels83

Yagw

Member
Apr 10, 2017
8
4
0
#Bug_Report alpha1

@nels83

*Bug report

P5210 version has a bug that the elapse of time that you are using some APP or do some action the following message appears on the screen, appears more for me when I'm using many after simultaneously. This bug is present in the gallery too, when you take a picture/video

Print below

Good job nels!
 

Attachments

mario1997

Member
Apr 9, 2017
5
2
0
Bug

I got this bug when i try to set some image to wallpaper on home and lock screen the picture gets zoomed in at landscape orientation. I guess it is ok when tablet is used in portrait mode, but i have tried everything to set it to fit on landscape display because i always use my tablet this way. Does anyone else have this bug? Everything else works perfect .
 
  • Like
Reactions: bussi2010

Yagw

Member
Apr 10, 2017
8
4
0
Here too!

I got this bug when i try to set some image to wallpaper on home and lock screen the picture gets zoomed in at landscape orientation. I guess it is ok when tablet is used in portrait mode, but i have tried everything to set it to fit on landscape display because i always use my tablet this way. Does anyone else have this bug? Everything else works perfect .
Mine is like that and this is very annoying, I have to use 3° APP to set wallpaper with resolution of the same
 

Lionerx

Senior Member
Aug 17, 2014
116
30
0
I got this bug when i try to set some image to wallpaper on home and lock screen the picture gets zoomed in at landscape orientation. I guess it is ok when tablet is used in portrait mode, but i have tried everything to set it to fit on landscape display because i always use my tablet this way. Does anyone else have this bug? Everything else works perfect .
I notice it too, but i try to set the wallpaper from a wallpaper app and face the same problem as yours and then i try to save the wallpaper in internal storage first and set it through setting(i use nova launcher btw), and its work just fine.
 
Last edited:

sashokmc

Senior Member
Sep 1, 2013
264
80
0
Lyubertsy
@nels83 Hi! Found new bugs Lineage OS 14.1 Alpha 1
1. When the tablet is charging in powered off state it displays two charge indicators.
2. Pinch scaling is working very slowly.
3. When you hold the Home button it does not display the list of running apps.

 
  • Like
Reactions: nels83 and Yagw

nowo

Senior Member
Apr 8, 2010
108
13
0
Wolkersdorf
Dirty flashed this new rom, running amazing for many hours. After restart it stuck at boot logo. The same behavior after clean flash. Is it just me?

Gesendet von meinem SM-G950F mit Tapatalk
 

sashokmc

Senior Member
Sep 1, 2013
264
80
0
Lyubertsy
@nels83 Hi! Could you please build kernel with Binfmt_misc support?
binfmt_misc is a capability of the Linux kernel which allows arbitrary executable file formats to be recognized and passed to certain user space applications, such as emulators and virtual machines.
 

kb8no

Senior Member
Jan 29, 2012
1,154
288
103
Duluth MN
When Nels says "First start takes a long time" he is not kidding. I did a complete wipe and clean flash including the internal SD0 and used GApps Pico. The Galaxy flash screen literally flashes at a rate of maybe once / minute and I counted at least 12 flashes even before the boot animation screen with the goofy Lineage octopus (or is it a giardia) started and even that takes quite a bit of time. I think that boot animation was some kind of April Fool's joke actually. Second boot took just as long as the first. Just be patient and go pour yourself a drink and don't touch it. Pleasantly surprised that every one of the pile of basic apps that I installed to get started worked out of the box without Houdini as I was expecting this to be a big problem. I'll update after I have used it for a few days. Thank you Nels.