• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

DISCONTINUED [ROM][7.1.1] SM-T320 | Unofficial LineageOS 14.1 [mondrianwifi]

Should I continue building CM 14.1?

  • Yes, of course!

    Votes: 46 100.0%
  • Nah, I don't think I'm going to use it.

    Votes: 0 0.0%

  • Total voters
    46
  • Poll closed .

Migush

Senior Member
Apr 7, 2016
159
88
28
17


LineageOS is a free, community built, aftermarket firmware distribution of Android, 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. You will need to provide your own Google Applications package (gapps). LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

Code:
#include <std_disclaimer.h>

/*
 * Your warranty is now void.
 *
 * We are not responsible for bricked devices, dead SD cards,
 * thermonuclear war, or you getting fired because the alarm app failed. Please
 * do some research if you have any concerns about features included in this ROM
 * before flashing it! YOU are choosing to make these modifications, and if
 * you point the finger at us for messing up your device, we will laugh at you.
 *
 */



Be aware that this ROM is not finished yet and will not fully function!
Also make a backup of your device before flashing this rom, you can't be careful enough!
Also do NOT expect daily updates!



I am not really a developer. I just compiled LineageOS from source and do not have the knowledge to fix these problems. If anyone wants to help me so I can learn how to solve problems, please contact me!


Things I'm aware of that are not working
Video playback
Bluetooth
Camera and flash
Portable Hotspot

Installation
  1. Download the ROM and Gapps zip files
  2. Install a custom recovery (I prefer TWRP)
  3. Make a backup
  4. Wipe data and do a factory reset
  5. Flash the LineageOS and then the Gapps zip
  6. Reboot your device
If everything went right you should get an "ANDROID" boot logo.


Credits:
@Taker18 for helping me fix some errors I got! Make sure to check out his awesome work!
And the whole LineageOS team of course :victory:


Downloads:
See @phoval 's thread under 'Original Android Development' for an updated version!
Outdated:
AndroidFilehost: Download Here
(Latest = 2017-01-13)

Source:
Device [url]http://www.github.com/LineageOS/android_device_samsung_mondrianwifi[/URL]
Kernel [url]http://www.github.com/LineageOS/android_kernel_samsung_mondrianwifi[/URL]​

XDA:DevDB Information
DISCONTINUED [ROM][7.1.1] SM-T320 | Unofficial LineageOS 14.1 [mondrianwifi], ROM for the Samsung Galaxy Tab Pro 12.2, 10.1, 8.4

Contributors
Migush
Source Code: [url]https://www.github.com/LineageOS[/URL]

ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.0.x
Based On: LineageOS

Version Information
Status: Nightly

Created 2016-09-18
Last Updated 2017-06-20
 
Last edited:

ianrobbie

Senior Member
Nov 23, 2012
623
185
0
Ok. I'll keep an eye on this thread. When a new version pops up, I'll flash it on mine.

We're still on Lollipop 5.1 here so an upgrade straight to Nougat will be very welcome.

Just one thing though. I thought the 12.2 had a different processor to the 8.4 and 10.1?
 
  • Like
Reactions: Migush

Migush

Senior Member
Apr 7, 2016
159
88
28
17
Ok. I'll keep an eye on this thread. When a new version pops up, I'll flash it on mine.

We're still on Lollipop 5.1 here so an upgrade straight to Nougat will be very welcome.

Just one thing though. I thought the 12.2 had a different processor to the 8.4 and 10.1?
I'm being dumb, you're totally right:rolleyes:. And wich model do you have? 12.2"?
 
Last edited:

innocentus

Senior Member
Jun 30, 2012
219
49
0
Budapest
sorry can`t install camera and playback of videos it is a downside for me ..when u will fix that ?i`m hyped for this but at least videos playback has to work for me .thank u again for ur effort
 

WisdomWarlord

Member
Jun 10, 2014
9
2
0
Metro Detroit
Save the Internal SD card

My SD card is formatted as internal storage, so it is unreadable outside of my device. My question : What steps do I take to both preserve the data on my SD card and upgrade to this rom?
 

jmga

Senior Member
Mar 8, 2009
50
11
0
Hi! I cannot try your build right know, what changes did you make to the device tree?

These are my current issues:
- com.android.phone is in a crash loop
- Bluetooth not working
- camera not working
- video playback not working

These are the changes I made to the device tree:

Code:
project device/samsung/mondrianwifi/
[COLOR="RoyalBlue"]diff --git a/cmhw/org/cyanogenmod/hardware/DisplayColorCalibration.java b/cmhw/org/cyanogenmod/hardware/DisplayColorCalibration.java[/COLOR]
index 80bbfad..ca1b20d 100644
--- a/cmhw/org/cyanogenmod/hardware/DisplayColorCalibration.java
+++ b/cmhw/org/cyanogenmod/hardware/DisplayColorCalibration.java
@@ -18,7 +18,7 @@ package org.cyanogenmod.hardware;
 
 import java.io.File;
 import java.util.Scanner;
[COLOR="Red"]-import org.cyanogenmod.hardware.util.FileUtils;[/COLOR]
[COLOR="Lime"]+import org.cyanogenmod.internal.util.FileUtils;[/COLOR] 

 public class DisplayColorCalibration {
     private static final String COLOR_FILE = "/sys/class/graphics/fb0/rgb";
[COLOR="RoyalBlue"]diff --git a/cmhw/org/cyanogenmod/hardware/KeyDisabler.java b/cmhw/org/cyanogenmod/hardware/KeyDisabler.java[/COLOR]
index 77fdaa9..2d3d7b5 100644
--- a/cmhw/org/cyanogenmod/hardware/KeyDisabler.java
+++ b/cmhw/org/cyanogenmod/hardware/KeyDisabler.java
@@ -16,7 +16,7 @@
 
 package org.cyanogenmod.hardware;
 
[COLOR="Red"]-import org.cyanogenmod.hardware.util.FileUtils;[/COLOR]
[COLOR="lime"]+import org.cyanogenmod.internal.util.FileUtils;[/COLOR]
 
 /*
  * Disable capacitive keys
[COLOR="RoyalBlue"]diff --git a/sepolicy/mediaserver.te b/sepolicy/mediaserver.te[/COLOR]
index 5e91e75..0a18be8 100644
--- a/sepolicy/mediaserver.te
+++ b/sepolicy/mediaserver.te
@@ -1,10 +1,6 @@
 allow mediaserver firmware_file:dir r_dir_perms;
 allow mediaserver firmware_file:file r_file_perms;
[COLOR="Red"]-allow mediaserver shell_data_file:dir search;[/COLOR]
 allow mediaserver socket_device:sock_file write;
 allow mediaserver system_data_file:sock_file write;
 allow mediaserver system_prop:property_service set;
 allow mediaserver thermal-engine:unix_stream_socket connectto;
[COLOR="Red"]-# This sucks but needed for libmmjpeg[/COLOR]
[COLOR="Red"]-allow mediaserver system_file:file execmod;[/COLOR]
[COLOR="Red"]-[/COLOR]
[COLOR="RoyalBlue"]diff --git a/sepolicy/mm-qcamerad.te b/sepolicy/mm-qcamerad.te[/COLOR]
index 1961a11..8dafbe0 100644
--- a/sepolicy/mm-qcamerad.te
+++ b/sepolicy/mm-qcamerad.te
@@ -5,10 +5,6 @@ allow mm-qcamerad mpdecision:unix_stream_socket connectto;
 allow mm-qcamerad camera_socket:sock_file { create unlink };
 allow mm-qcamerad system_data_file:sock_file unlink;
 allow mm-qcamerad socket_device:sock_file write;
[COLOR="Red"]-allow mm-qcamerad system_file:file execmod;[/COLOR]
 allow mm-qcamerad system_data_file:dir { add_name remove_name write };
 allow mm-qcamerad system_server:unix_stream_socket rw_socket_perms;
 type_transition mm-qcamerad system_data_file:sock_file camera_socket "cam_socket3";
[COLOR="Red"]-[/COLOR]
[COLOR="Red"]-# This sucks but needed for libmmjpeg[/COLOR]
[COLOR="Red"]-allow mm-qcamerad system_file:file execmod;
[/COLOR]
 

Migush

Senior Member
Apr 7, 2016
159
88
28
17
Hi! I cannot try your build right know, what changes did you make to the device tree?

These are my current issues:
- com.android.phone is in a crash loop
- Bluetooth not working
- camera not working
- video playback not working

These are the changes I made to the device tree:

Code:
project device/samsung/mondrianwifi/
[COLOR="RoyalBlue"]diff --git a/cmhw/org/cyanogenmod/hardware/DisplayColorCalibration.java b/cmhw/org/cyanogenmod/hardware/DisplayColorCalibration.java[/COLOR]
index 80bbfad..ca1b20d 100644
--- a/cmhw/org/cyanogenmod/hardware/DisplayColorCalibration.java
+++ b/cmhw/org/cyanogenmod/hardware/DisplayColorCalibration.java
@@ -18,7 +18,7 @@ package org.cyanogenmod.hardware;
 
 import java.io.File;
 import java.util.Scanner;
[COLOR="Red"]-import org.cyanogenmod.hardware.util.FileUtils;[/COLOR]
[COLOR="Lime"]+import org.cyanogenmod.internal.util.FileUtils;[/COLOR] 

 public class DisplayColorCalibration {
     private static final String COLOR_FILE = "/sys/class/graphics/fb0/rgb";
[COLOR="RoyalBlue"]diff --git a/cmhw/org/cyanogenmod/hardware/KeyDisabler.java b/cmhw/org/cyanogenmod/hardware/KeyDisabler.java[/COLOR]
index 77fdaa9..2d3d7b5 100644
--- a/cmhw/org/cyanogenmod/hardware/KeyDisabler.java
+++ b/cmhw/org/cyanogenmod/hardware/KeyDisabler.java
@@ -16,7 +16,7 @@
 
 package org.cyanogenmod.hardware;
 
[COLOR="Red"]-import org.cyanogenmod.hardware.util.FileUtils;[/COLOR]
[COLOR="lime"]+import org.cyanogenmod.internal.util.FileUtils;[/COLOR]
 
 /*
  * Disable capacitive keys
[COLOR="RoyalBlue"]diff --git a/sepolicy/mediaserver.te b/sepolicy/mediaserver.te[/COLOR]
index 5e91e75..0a18be8 100644
--- a/sepolicy/mediaserver.te
+++ b/sepolicy/mediaserver.te
@@ -1,10 +1,6 @@
 allow mediaserver firmware_file:dir r_dir_perms;
 allow mediaserver firmware_file:file r_file_perms;
[COLOR="Red"]-allow mediaserver shell_data_file:dir search;[/COLOR]
 allow mediaserver socket_device:sock_file write;
 allow mediaserver system_data_file:sock_file write;
 allow mediaserver system_prop:property_service set;
 allow mediaserver thermal-engine:unix_stream_socket connectto;
[COLOR="Red"]-# This sucks but needed for libmmjpeg[/COLOR]
[COLOR="Red"]-allow mediaserver system_file:file execmod;[/COLOR]
[COLOR="Red"]-[/COLOR]
[COLOR="RoyalBlue"]diff --git a/sepolicy/mm-qcamerad.te b/sepolicy/mm-qcamerad.te[/COLOR]
index 1961a11..8dafbe0 100644
--- a/sepolicy/mm-qcamerad.te
+++ b/sepolicy/mm-qcamerad.te
@@ -5,10 +5,6 @@ allow mm-qcamerad mpdecision:unix_stream_socket connectto;
 allow mm-qcamerad camera_socket:sock_file { create unlink };
 allow mm-qcamerad system_data_file:sock_file unlink;
 allow mm-qcamerad socket_device:sock_file write;
[COLOR="Red"]-allow mm-qcamerad system_file:file execmod;[/COLOR]
 allow mm-qcamerad system_data_file:dir { add_name remove_name write };
 allow mm-qcamerad system_server:unix_stream_socket rw_socket_perms;
 type_transition mm-qcamerad system_data_file:sock_file camera_socket "cam_socket3";
[COLOR="Red"]-[/COLOR]
[COLOR="Red"]-# This sucks but needed for libmmjpeg[/COLOR]
[COLOR="Red"]-allow mm-qcamerad system_file:file execmod;
[/COLOR]
I didn't change anything in the device tree, remember I'm just a beginner, I have no idea why you edited the device tree, :( please explain things in a bit more details :eek: