[ROM][5.1.1][T710][UNOFFICIAL] CyanogenMod 12.1 for Tab S2 8.0 [BETA]

Search This thread

CTXz

Inactive Recognized Developer
Apr 11, 2015
1,002
2,217
Prague
AmCptMj.png

This ROM is BETA 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 :

Each of them helped me with this project so a big thanks goes to them!

Before you start

THIS ROM IS ONLY FOR THE SM-T710

A T810 port of this rom by @T_I is available here

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
  • Camera
  • Sound
  • Wifi
  • Storage
  • Headphones
  • External sdcard
  • Screen Rotation
  • Bluetooth shows note 4 instead of tab s2
  • Resolution

What is not working

Important
  • MTP

Minor
  • Microphone
  • Minor graphical glitches
  • Lag after trying to send a text via sms app (Just don't do it and disable the app. It will try to reach RIL even tough its wifi only)

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 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
  • Requests for other devices
  • 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:
18/4/2016 - Fixed Camera (Yes I'm still alive)
**********
27/1/2016 - Fixed Headphones not working
**********
30/12/2015 - Fixed External sdcard
**********
28/12/2015 - Fixed Sound
                   - Removed Calling option from lockscreen
                   - Added missing OMX formats
                   - ROM is now BETA
**********
21/12/2015 - Fixed Storage problems
**********
19/12/2015 - ROM is now ALPHA
                 - Fixed Wifi
**********
15/12/2015 - Fixed Rotation/Orientation
                 - Lowered to 320 DPI
                 - Updated Screenshots
**********
12/12/2015 - Fixed Bluetooth showing note 4
                 - Fixed bad resolution
                 - Updated Screenshots
**********
11/12/2015 - CM12.1 Booted for the first time
**********


Downloads

Latest CM 12.1 build : Android File Host

All CM 12.1 releases can be found here : Android File Host

Recommended GAPPS Open Gapps


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

IL3BPGIl.jpg
5G3sfqAl.jpg
l4MzIHJl.jpg
aetwMZll.jpg
yiPjA57l.jpg
usFWERYl.jpg
BjgmFWil.jpg
uEuvyRIl.jpg
Bzt7yAJl.jpg
uLNPUGUl.jpg
ihYODpyl.jpg
ppAoRnnl.jpg
ECuXpGLl.png



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

Contributors
CTXz, Sub77, Moonbutt74, RaymanFX, Hennymcc
Source Code: https://github.com/Galaxy-Tab-S2

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

Version Information
Status: Beta

Created 2015-12-11
Last Updated 2016-04-18
 
Last edited:

CTXz

Inactive Recognized Developer
Apr 11, 2015
1,002
2,217
Prague
Q&A

Q : Why does it say Galaxy Tab S2 9.7 on Android File Host if this is for the 8.0 version ?
A : Android File Host doesn't feature the 8.0 version in their devices. Because of that, all is located under a folder called 8.0

Q : Why is everything so small?
A : The DPI rate is 320 which is the same as on the Stock rom. However, Samsung has made everything bigger. Since this is personal preference, you may always higher your DPI to make things bigger or lower your DPI to make things smaller under Settings > Display > DPI

Q : Will you ever work on CM13?
A : Yes, once we feel like CM12 is good enough, we will move to CM13
 
Last edited:

CTXz

Inactive Recognized Developer
Apr 11, 2015
1,002
2,217
Prague
New build 12/12/2015

- Fixed Bluetooth bug showing Galaxy note 4 instead of tab s2
- Fixed bad resolution
- Updated Screenshots
 
  • Like
Reactions: budies3

CTXz

Inactive Recognized Developer
Apr 11, 2015
1,002
2,217
Prague
So the sensor module just isn't loading.

Code:
I/        ( 3857): System server: starting sensor init.
D/SensorService( 3857): nuSensorService starting...
E/HAL     ( 3857): load: module=/system/lib/hw/sensors.exynos5.so
E/SensorService( 3857): couldn't load sensors module (Invalid argument)
I/        ( 3857): System server: sensor init done.

Tried to use the note 4 ones. They did load up successfully but use different drivers.

Ex the gyroscope uses ICM20610 where mine uses LSM6DS3. I really only came this far. My nightmare would be to make my own sensor libs. That would mean that I would have to learn lot's of lot's of coding!
 

Beukhof1

Senior Member
Sep 5, 2007
831
204
Uden
www.42c.nl
So the sensor module just isn't loading.

Code:
I/        ( 3857): System server: starting sensor init.
D/SensorService( 3857): nuSensorService starting...
E/HAL     ( 3857): load: module=/system/lib/hw/sensors.exynos5.so
E/SensorService( 3857): couldn't load sensors module (Invalid argument)
I/        ( 3857): System server: sensor init done.

Tried to use the note 4 ones. They did load up successfully but use different drivers.

Ex the gyroscope uses ICM20610 where mine uses LSM6DS3. I really only came this far. My nightmare would be to make my own sensor libs. That would mean that I would have to learn lot's of lot's of coding!
I really dont know but doea this help:
https://github.com/STMemsLinuxDrivers/lsm6ds3-input

Sent from my SM-G928I using Tapatalk
 

CTXz

Inactive Recognized Developer
Apr 11, 2015
1,002
2,217
Prague
I really dont know but doea this help:
https://github.com/STMemsLinuxDrivers/lsm6ds3-input

Sent from my SM-G928I using Tapatalk

Sadly those are for the kernel.

However,
I found this open source sensor for the s3 I9300 that uses a , what I believe, older version of the gyro found in our device. I will see what I can decompile/reverse out of the current module for the tab and will compare it with the open source ones for the I9300. This will be hard and I would be very thankfull if you could redict any expierienced dev you know, here
 
Last edited:

Beukhof1

Senior Member
Sep 5, 2007
831
204
Uden
www.42c.nl
Suprise!

8p0NrGYm.jpg
Jwk5FITm.jpg


Turns out I was just missing a shared libary. That caused the module not to load. Sooo.... all that s3 sensor work for nothing :D

Hey.... atleast I learned something.

Also, build will be released in about 1-2h
Nice! Good job mate!

Did you have time to look at wifi yet? I would love to try it if that works!

Sent from my SM-T710 using Tapatalk
 
  • Like
Reactions: Znil

CTXz

Inactive Recognized Developer
Apr 11, 2015
1,002
2,217
Prague
Ok so to wifi :

I know most of you want as number 1. priority a working WIFI connection, but this doesn't seem to be that easy to fix, at least not for my empty brain. As you've probably already noticed, my debugging skills are still quite bad (Yes I'm still learning... Yes I'm not perfect.... well maybe yes... ok no just kidding). The current issue i'm facing has probably to do something with the api drivers and wpa_supplicant. I've noticed that the KMSG doesn't even show a tiny trace of the cfg80211 driver and the nl80211 driver. If any developer out there knows what to do with the following log output when trying to access the wifi HAL / Enabling WIFI please tell me.

Code:
D/SoftapController( 3507): Softap fwReload - Ok
W/CommandListener( 3507): Failed to retrieve HW addr for wlan0 (No such device)
D/CommandListener( 3507): Setting iface cfg
E/WifiStateMachine( 3901): Unable to change interface settings: java.lang.IllegalStateException: command '90 interface setcfg wlan0 0.0.0.0 0 down' failed with '400 90 Failed to set address (No such device)'
E/WifiMonitor( 3901): killSupplicant p2ptrue init.svc.wpa_supplicant=unknown init.svc.p2p_supplicant=unknown
I/wpa_supplicant( 7883): Successfully initialized wpa_supplicant
I/wpa_supplicant( 7883): rfkill: Cannot open RFKILL control device
E/wpa_supplicant( 7883): Could not read interface wlan0 flags: No such device
I/wpa_supplicant( 7883): nl80211: Driver does not support authentication/association or connect commands
E/wpa_supplicant( 7883): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 7883): wlan0: Failed to initialize driver interface
E/WifiStateMachine( 3901): Failed to start supplicant!
D/WifiService( 3901): setWifiEnabled: false pid=5956, uid=1000
E/WifiService( 3901): Invoking mWifiStateMachine.setWifiEnabled
D/SoftapController( 3507): Softap fwReload - Ok
W/CommandListener( 3507): Failed to retrieve HW addr for wlan0 (No such device)
D/CommandListener( 3507): Setting iface cfg
E/WifiStateMachine( 3901): Unable to change interface settings: java.lang.IllegalStateException: command '93 interface setcfg wlan0 0.0.0.0 0 down' failed with '400 93 Failed to set address (No such device)'
E/WifiMonitor( 3901): killSupplicant p2ptrue init.svc.wpa_supplicant=unknown init.svc.p2p_supplicant=unknown
I/wpa_supplicant( 7915): Successfully initialized wpa_supplicant
I/wpa_supplicant( 7915): rfkill: Cannot open RFKILL control device
E/wpa_supplicant( 7915): Could not read interface wlan0 flags: No such device
I/wpa_supplicant( 7915): nl80211: Driver does not support authentication/association or connect commands
E/wpa_supplicant( 7915): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 7915): wlan0: Failed to initialize driver interface
E/WifiStateMachine( 3901): Failed to start supplicant!
D/WifiService( 3901): setWifiEnabled: true pid=5956, uid=1000
E/WifiService( 3901): Invoking mWifiStateMachine.setWifiEnabled
D/WifiController( 3901): WifiController msg { when=0 what=155656 target=com.android.internal.util.StateMachine$SmHandler } deferred for 313ms
D/WifiService( 3901): setWifiEnabled: false pid=5956, uid=1000
E/WifiService( 3901): Invoking mWifiStateMachine.setWifiEnabled
D/WifiController( 3901): DEFERRED_TOGGLE handled
D/WifiService( 3901): setWifiEnabled: true pid=5956, uid=1000
E/WifiService( 3901): Invoking mWifiStateMachine.setWifiEnabled
D/SoftapController( 3507): Softap fwReload - Ok
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 38
    AmCptMj.png

    This ROM is BETA 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 :

    Each of them helped me with this project so a big thanks goes to them!

    Before you start

    THIS ROM IS ONLY FOR THE SM-T710

    A T810 port of this rom by @T_I is available here

    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
    • Camera
    • Sound
    • Wifi
    • Storage
    • Headphones
    • External sdcard
    • Screen Rotation
    • Bluetooth shows note 4 instead of tab s2
    • Resolution

    What is not working

    Important
    • MTP

    Minor
    • Microphone
    • Minor graphical glitches
    • Lag after trying to send a text via sms app (Just don't do it and disable the app. It will try to reach RIL even tough its wifi only)

    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 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
    • Requests for other devices
    • 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:
    18/4/2016 - Fixed Camera (Yes I'm still alive)
    **********
    27/1/2016 - Fixed Headphones not working
    **********
    30/12/2015 - Fixed External sdcard
    **********
    28/12/2015 - Fixed Sound
                       - Removed Calling option from lockscreen
                       - Added missing OMX formats
                       - ROM is now BETA
    **********
    21/12/2015 - Fixed Storage problems
    **********
    19/12/2015 - ROM is now ALPHA
                     - Fixed Wifi
    **********
    15/12/2015 - Fixed Rotation/Orientation
                     - Lowered to 320 DPI
                     - Updated Screenshots
    **********
    12/12/2015 - Fixed Bluetooth showing note 4
                     - Fixed bad resolution
                     - Updated Screenshots
    **********
    11/12/2015 - CM12.1 Booted for the first time
    **********


    Downloads

    Latest CM 12.1 build : Android File Host

    All CM 12.1 releases can be found here : Android File Host

    Recommended GAPPS Open Gapps


    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

    IL3BPGIl.jpg
    5G3sfqAl.jpg
    l4MzIHJl.jpg
    aetwMZll.jpg
    yiPjA57l.jpg
    usFWERYl.jpg
    BjgmFWil.jpg
    uEuvyRIl.jpg
    Bzt7yAJl.jpg
    uLNPUGUl.jpg
    ihYODpyl.jpg
    ppAoRnnl.jpg
    ECuXpGLl.png



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

    Contributors
    CTXz, Sub77, Moonbutt74, RaymanFX, Hennymcc
    Source Code: https://github.com/Galaxy-Tab-S2

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

    Version Information
    Status: Beta

    Created 2015-12-11
    Last Updated 2016-04-18
    9
    While I'm taking stuff slow, I have started working again on the tab a bit. I've made a build today but haven't tested it yet.
    8
    Suprise!

    8p0NrGYm.jpg
    Jwk5FITm.jpg


    Turns out I was just missing a shared libary. That caused the module not to load. Sooo.... all that s3 sensor work for nothing :D

    Hey.... atleast I learned something.

    Also, build will be released in about 1-2h
    7
    Now that the most important stuff is working, i'm mooving on to CM13!
    7
    Look guys, I know it's been quite some time. But that didn't stop me to try and fix camera now as I'm allot more experienced than when I started this project. Here it is, better late than never. Again special thanks to @RaymanFX for helping me out with this one.

    New build released! Links have been updated!
    Code:
    18/4/2016 - Fixed Camera (Yes I'm still alive)
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone