[Galaxy Tab 3 10.1 Android Development] nels83:
Unofficial CyanogenMod 12.1 for Samsung Galaxy Tab 3 10.1​

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

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

About CM

CyanogenMod 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. CyanogenMod does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for CyanogenMod is available in the CyanogenMod Github repo. And if you would like to contribute to CyanogenMod, 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 or coming from another ROM

Copy ROM to SDCard

Copy Houdini to SDCard

Copy GApps to SDCard

Boot into recovery

Backup EFS partition

Wipe -> Advanced Wipe -> Dalvik Cache + System + Cache + Data

Install ROM

Install Houdini

Install GApps

Reboot

First start takes a long time

Upgrading from earlier version of CyanogenMod 12.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.

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

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

Install Rom + Houdini + 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 for P5200 (data, SMS/MMS, calls)

GPS

2D/3D acceleration

HW video encoding/decoding

Screen cast (miracast)

Sound

InfraRed

Camera

Wifi

Bluetooth

Sensors (and automatic brightness)

Smart cover lock/unlock

Multiuser

SDCard, USB OTG

Tethering (USB, Bluetooth, Wifi)

F2FS and exFAT

What's not working

Chromecast

RIL (for P5220)

MHL

Secure videos/DRM (Widevine, Google Play Movies...)

HW audio decoding

SELinux (disabled)

You tell me

How to root

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.

There is currently a bug in the app. Download it from AndroidFileHost. Use this patch if you want to compile it yourself:

diff --git a/app/src/main/java/com/tortel/syslog/utils/Utils.java b/app/src/main/java/com/tortel/syslog/utils/Utils.java
index 40d41b8..80ae55c 100644
--- a/app/src/main/java/com/tortel/syslog/utils/Utils.java
+++ b/app/src/main/java/com/tortel/syslog/utils/Utils.java
@@ -144,7 +144,7 @@ public class Utils {

Log.v(TAG, "Path: "+path);
//Make the directory
- if(!outPath.mkdirs() && !outPath.isDirectory()){
+ if(!outPath.mkdirs() || !outPath.isDirectory()){
throw new CreateFolderException();
}

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.

ROM sources

Kernel

https://github.com/nels83/android_kernel_samsung_santos10/tree/cm-12.1

Device trees

https://github.com/nels83/android_device_samsung_p5200/tree/cm-12.1

https://github.com/nels83/android_device_samsung_p5210/tree/cm-12.1

https://github.com/nels83/android_device_samsung_p5220/tree/cm-12.1

Local manifest

https://github.com/nels83/android_device_samsung_p5200/wiki/Local-manifest

CM12.1 Patches (if you just need these)

https://gist.github.com/nels83/bbec9f80478fcb679412

Credits

Angel_666 , moonbutt74 and Restl3ss for starting the work on this device

Android-Andi for his device tree

Deltadroid for his GApps package

All testers of the "signup" thread

CyanogenMod and Google for Android

XDA

AndroidFileHost

XDA:DevDB Information

CyanogenMod 12.1 for GT-P52XX, ROM for the Samsung Galaxy Tab 3 10.1

Contributors

nels83

ROM OS Version: 5.1.x Lollipop

ROM Kernel: Linux 3.4.x

Based On: CyanogenMod

Version Information

Status: Beta

Created 2015-05-05

Last Updated 2016-05-29