• 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

[ROM][5.1.1][T810][UNOFFICIAL] CyanogenMod 12.1 for Tab S2 9.7 [BETA]

T_I

Senior Member
Mar 22, 2012
901
1,267
0

The development of this ROM is stopped, as there is a working CM 13.0 image.​

This ROM is BETA and not ready for daily use at the moment​

CyanogenMod is based on the Android Open Source Project with extra contributions from many people within the Android community

First I would like to thank the following developers :

I used his T710 image to base my build on. As soon as we can incorporate both builds in 1 tree, we will do so. (only differences seem to be configurations and the device blobs)

Before you start

THIS ROM IS ONLY FOR THE SM-T810

Code:
 *
 * Your warranty will be voided !
 *
 * I am 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 me for messing up your device, I will laugh at you.
 *

About the ROM

Current state of ROM : BETA

What is Fixed
  • Bluetooth shows note 4 instead of tab s2 9.7
  • Resolution
  • Touchscreen
  • Screen on after turning it off/timeout
  • Screen flicker
  • Screen rotation
  • Wifi
  • Internal SD card mount
  • External SD card mount
  • Sound
  • Headphones
  • Power on not working correctly, only via 'download mode' and then cancel
  • Magnetic cover not working

What is not working

Important
  • MTP
  • Camera not working when coming from stock Android 6.0.x image.

Minor
  • On some T810 devices camera is reported not to work or only once (on mine it works fine, hardware differences?)
  • SU not available after reboot (change setting under developer menu back and forth to old setting and it works or installing supersu from app store)
    Edit /data/local/userinit.sh to work around this is also an option
    Code:
    #!/system/bin/sh
    
    /system/xbin/su --daemon &
  • GPS
  • Some sensors are available, but not used (light, proximity)
  • Screenlock ignores screen rotate. (rotates back just before lock)
  • Microphone

Instructions

How to install CM12.1

  • If you don't have TWRP yet, get it from here : TWRP by ashyx
  • Download the ROM and the Gapps that are located below to your device
  • Reboot into TWRP by holding VOL UP + POWER + HOME on boot
  • In case things go wrong make a backup
  • After the backup has completed return to home and select Wipe and then Advanced Wipe
  • Now ONLY tick Dalvik Cache, System, Data and Cache
  • After ticking those, Swipe below to wipe
  • Once the wipe has completed return to home and select the ROM
  • After you selected the ROM swipe below to install it
  • After the ROM has installed flash the Gapps
  • When all of this is done, reboot into system, wait, and enjoy CM12.1

How to recover from issues

Looks like the reset to recovery (<HOME><VOL-UP><POWER>) is still broken on some or all T810 devices with this build.

  • Press and hold <HOME><VOL-DOWN><POWER> to enter 'download' screen.
  • Select cancel <VOL-DOWN>
  • Immediately press and hold <HOME><VOL-UP><POWER> to enter TWRP
  • Restore back-up made during installation phase
How to ROOT

  • In CM 12.1 Enable the developer options
  • Select Root access
  • Select Apps Only
  • Done

Questions and bug reporting

The following questions will be ignored
  • Inappropriate questions
  • Forced orders, EX. : "PLS FIX!!!!!!"
  • ETA's
  • Often repeated questions usually by the same user
  • Requests that are out of CM's framework (Ex. Adding Samsung Apps)

How to report a bug/issue
  • Explain exactly what happens
  • Mention a log if you can (Please use hastebin or any other paste site to keep the thread clean)
  • If you can't mention a log, explain as precise as possible when, why and where it occurs!

Changelog
Code:
**********
16/06/2016 - Started again to check differences with cm-13.0, Included aosp-base in cm makefile.
**********
12/06/2016 - Switched to developing CM-13.0. Work on this ROM is stopped.
**********
07/06/2016 - Switched to European ntp pool in ntp.conf. (gps still not working :( )
           - Added several system.prop settings including one for the front camera. Switch back to front and v.v. works in cm app.
**********
06/06/2016 - Cleaned up proprietary files included.
           - Added prop Noise suppression libraries
           - libsensorservice removed from prop files, so is has to be provided by cm.
**********
05/06/2016 - Slight EGL changes
**********
04/06/2016 - Enabled CPU sets
           - Samsung specific power HAL instead of universal.
**********
02/06/2016 - Camera rotation fixed.
**********
01/06/2016 - De-commonized sources, magnetic cover fixed
           - Camera sensor is available, image rotated.
           - Default IO scheduler changes from CFQ to noop. (HAL optimizes IO, no need for kernel to do this)
**********
30/05/2016 - Recompile 18/04/2016 state of tree with correct dtb.img
           - Power on works as it should, not via Download menu
**********
25/05/2016 - Recompile 18/04/2016 state of tree with security patches from may 2016
**********
24/03/2016 - Changed values for light sensor (looks like adaptive light does something)
**********
21/03/2016 - Recompile with 1-3-2016 android security patches
**********
06/02/2016 - Disabled selinux, got to much issues
           - Headphones work
**********
06/01/2016 - Enabled selinux, defaulting permissive
**********
03/01/2016 - Enabled selinux
           - To be able to use the device, add "/system/bin/setenforce Permissive" to /data/local/userinit.sh
             Without it at no wifi and gps, probably also no sound.
**********
28/12/2015 - Audio works
           - GPS
**********
25/12/2015 - reverted useless change in fstab.samsungexynos5433 (and build to check if all works as it did)
**********
24/12/2015 - removed gsm libraries (T8100 has no sim)
           - Fixed external sdcard mount
**********
22/12/2015 - internal storage
**********
19/12/2015 - Screen rotation
           - Wifi
**********
16/12/2015 - Fixed screen flickering.
           - Tablet can be turned on after screen off.
**********
14/12/2015 - Fixed screen orientation so touch screen and LCD have same orientation.
**********
13/12/2015 - CM12.1 Booted for the first time
**********

Downloads

Latest CM 12.1 build : https://www.androidfilehost.com/?fid=24591020540821915

All CM 12.1 releases can be found here : https://www.androidfilehost.com/?w=files&flid=45563
All CM 12.1 pre-alpha releases can be found here : https://www.androidfilehost.com/?w=files&flid=45564
All CM 12.1 alpha releases can be found here : https://www.androidfilehost.com/?w=files&flid=46097
All CM 12.1 beta releases can be found here : https://www.androidfilehost.com/?w=files&flid=49273

Recommended GAPPS by opengapps.org : http://opengapps.org/


Source

Special Thanks to @RaymanFX for releasing his Exynos 5433 source, without him this ROM would most likely not be possible!

All my sources can be found here : https://github.com/Galaxy-Tab-S2


Screenshots
















DONATE ME HERE IF YOU WANT TO BUY ME A BEER OR HIT THE THANKS BUTTON IF I HELPED YOU



XDA:DevDB Information
CyanogenMod 12.1 for Samsung Galaxy Tab S2 9.7 T810, ROM for the Samsung Galaxy Tab S2

Contributors
T_I,CTXz, Sub77, Moonbutt74, RaymanFX, Hennymcc
Source Code: https://github.com/KoffieNu being transferred to https://github.com/Galaxy-Tab-S2

ROM OS Version: 5.1.x Lollipop
Based On: CyanogenMod

Version Information
Status: Beta

Created 2015-12-14
Last Updated 2016-06-07

XDA:DevDB Information
CyanogenMod 12.1 for Tab S2 9.7, ROM for the Samsung Galaxy Tab S2

Contributors
T_I, CTXz
ROM OS Version: 5.1.x Lollipop
Based On: Cyanogenmod

Version Information
Status: No Longer Updated

Created 2015-12-14
Last Updated 2016-06-16
 
Last edited:

T_I

Senior Member
Mar 22, 2012
901
1,267
0
WOW! Great work! Once we have Wifi working, this will be my Daily driver! Thanks for doing this
For me the touchscreen is the main focus point now. :D (Wifi and screen glitches fixed would make it usable as a daily for me) Got the firmware and other blobs from a T810 Android 5.1.1 image (Canadian), we'll see what's the result of this compile.

Edit: recompile didn't fix the touchscreen, manually adding the 'system.prop' part of the original build.prop to the build.prop file and reboot helped with the touchscreen. Now to get it in the build atomagically and fix the wifi. (Can turn it on, won't stay on)
 
Last edited:
  • Like
Reactions: westernmg

glensta

Elite Member
Jul 1, 2010
1,646
408
83
Over here
A quick teaser...

Screen stays off after timeout, but touchscreen issue was due to 270 degree difference between lcd and touch panel, a config setting which has been added to the sources.
Very cool, looking fwd to future updates -thanks for your work here :good:
 

suzook

Elite Member
Jan 25, 2010
4,479
1,177
0
A quick teaser...







Screen stays off after timeout, but touchscreen issue was due to 270 degree difference between lcd and touch panel, a config setting which has been added to the sources.

Sent from my SM-T810 using Tapatalk
Very awesome! All we need is WiFi to dd! Woo hoo!
 

suzook

Elite Member
Jan 25, 2010
4,479
1,177
0
A quick teaser...







Screen stays off after timeout, but touchscreen issue was due to 270 degree difference between lcd and touch panel, a config setting which has been added to the sources.

Sent from my SM-T810 using Tapatalk
Is the latest build posted the one with the touchscreen fix?? Would like to mess around with it. Thanks.
 

T_I

Senior Member
Mar 22, 2012
901
1,267
0
Is the latest build posted the one with the touchscreen fix?? Would like to mess around with it. Thanks.
That is the cm-12.1-20151214-UNOFFICIAL-gts210wifi.zip, yep, touchscreen is fixed, screen flickers and you need to be fast to disable the screen timeout to be able to do something with it. As soon as the screen goes dark, it stays dark until you reboot. It is a build of the T710 version from @CTXz with just some very minor changes to get it running on this tablet. (Mainly codename and screen rotation) @CTXz pushed a T810 kernel to the new repo, will test that one tonight or tomorrow.

BTW make sure you have a backup and read the recovery section, regular reboot to TWRP didn't work on my device.
 
Last edited:

T_I

Senior Member
Mar 22, 2012
901
1,267
0
Ok, small update, screen flicker is solved, tablet can be turned on again after screen goes off. However, rotation doesn't work. Not sure if I broke it or it didn't work to start with. Will work on it tomorrow.
 

suzook

Elite Member
Jan 25, 2010
4,479
1,177
0
Ok, small update, screen flicker is solved, tablet can be turned on again after screen goes off. However, rotation doesn't work. Not sure if I broke it or it didn't work to start with. Will work on it tomorrow.
Very nice....cm on this tab is awesome!!!! Can't wait till we get WiFi. Keep up the great work.
 

T_I

Senior Member
Mar 22, 2012
901
1,267
0
It's been quiet for a while, been learning a lot last week, however, mostly what doesn't work. I hope to get my build environment back to a correct state and build an image that is in the same state as the one on the 16th.

This is a first, developing cm myself. I'm getting frustrated with the way git works. (or at least, it's counter intuitive to me, so I messed up a bit and reverting to an older state is not that straight forward as I would expect it to be) I'll get there eventually, but it's slower then I would like.

Priority list for me:

  1. Getting build environment under control so I get something bootable again
  2. Rotation
  3. SD card
  4. Wifi
 
Last edited: