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 .
Search This thread
Lineage-OS-3-smaller.png


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:

kkalkan

Senior Member
Oct 8, 2011
366
106
antalya
Thank you, gentlemen. I've been waiting impatiently for this.
:) We expect trouble-free version as soon as possible :)
good work.
 
  • Like
Reactions: Migush

ianrobbie

Senior Member
Nov 23, 2012
629
187
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
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:

Divine_Madcat

Retired Forum Moderator
Sep 9, 2005
2,936
2,608
USA
Mod Note: Placeholder threads are not allowed. OP, please notify a moderator if you upload a ROM for downloading, and we can re-open the thread for you.
 
  • Like
Reactions: ngoralph

WisdomWarlord

Member
Jun 10, 2014
12
9
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
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]
 
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:
 

Top Liked Posts

  • There are no posts matching your filters.
  • 29
    Lineage-OS-3-smaller.png


    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
    5
    Thank you, gentlemen. I've been waiting impatiently for this.
    :) We expect trouble-free version as soon as possible :)
    good work.
    I'm sorry you have to wait, I'll upload as soon as possible! (Probably tomorrow)
    3
    I'm sorry it took long :(. I could use some help because I'm not a "real" developer, and do not have the knowledge to fix problems in this rom.
    3
    Just to confirm, will you be supporting the SM-T900 (12.2" Pro)?
    I don't have the 12.2" myself (I do have te 8.4") so I buildt it for the 8.4". I hope I have enough time to make it for the 10.1" and 12.2" too.
    2
    Why was this discontinued? Was it only discontinued for a linage version based on 8.0?
    Another member of the forums, @phoval, was and still is releasing daily builds for the SM-T320 while I wasn't. That's why I discontinued the development for this rom.