• 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

[SM-T31X][5.1.1] CyanogenMod 12.1 unofficial build

tohenk

Senior Member
Dec 8, 2012
101
291
0
Sidoarjo
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.

Code:
#include <std/disclaimer.h>

/*
 * Your warranty is now void.
 *
 * 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.
 *
 * Submitting bug reports on nightly builds is the leading 
 * cause of male impotence.
 */
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.

FEATURES
  • Android Lollipop 5.1.1 features
  • CyanogenMod 12.1 features
  • Mobile data (T311, T315)
  • WIFI
  • Camera
  • Flip cover
  • Offline charging mode
  • GPS
  • Voice call

INSTALLATION

First time installing CyanogenMod to your Galaxy Tab 3 8.0, or coming from another ROM
- Make sure you're running latest PhilZ Touch (not a mandatory but recomended)
- Copy GApps and CM ZIPs to your internal SDCard
- Boot into Recovery
- Flash CM zip from internal SDCard
- Flash GApps zip from internal SDCard
- DO A DATA WIPE / FACTORY RESET
- Reboot
- Don't restore system data using Titanium Backup!
- Restoring Apps + Data might cause problems and is not recommended, avoid it if possible!

Upgrading from earlier version of CyanogenMod
- Copy CM ZIP to your internal SDCard
- Boot into Recovery
- Flash CM zip from internal SDCard
- Reboot

DOWNLOADS

Google Apps
GApps: http://forum.xda-developers.com/android/software/gapps-google-apps-minimal-edition-t2943330

SCREENSHOOTS
Screenshot_2015-04-28-07-03-53.jpgScreenshot_2015-04-28-07-04-14.pngScreenshot_2015-08-26-18-06-03.png

DEVICE SPECIFIC SOURCES
- Kernel: https://github.com/tohenk/android_kernel_samsung_smdk4x12
- Common T31x device: https://github.com/tohenk/android_device_samsung_lt01-common
- SM-T311: https://github.com/tohenk/android_device_samsung_lt013g
- SM-T310: https://github.com/tohenk/android_device_samsung_lt01wifi
- SM-T315: https://github.com/tohenk/android_device_samsung_lt01lte

CONTRIBUTORS
- CyanogenMod Team, CyanogenMod and AOSP contributors.
- @ketut.kumajaya, for his CM-11.0 Samsung Galaxy Tab 3 8.0 build.
- @gr8nole, for his CM-12.0 Samsung Galaxy Tab 3 8.0 build.
- @arco68.

If you're going to reuse our work, which we're doing for free, be fair and give proper credits.
This is the only payment we're really demanding and we deserve it to be mentioned because of the countless hours we've put into this project.
Open-Source doesn't meant Out-of-Respect!!!

This post modified from ketut.kumajaya post http://forum.xda-developers.com/showthread.php?t=2557573.

XDA:DevDB Information
CM-12.1, ROM for the Samsung Galaxy Tab 3 8.0

Contributors
tohenk
ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.0.x
Based On: CyanogenMod

Version Information
Status: Stable

Created 2015-04-28
Last Updated 2015-10-23
 
Last edited:

tohenk

Senior Member
Dec 8, 2012
101
291
0
Sidoarjo
KNOWN BUGS
  • T315: No mobile data, no wifi.
  • T315: SIGSEGV on GPS blob causing soft reboot, do not enable GPS yet.
  • All: check for hardware acceleration.
  • Available network response is malformed on T311, so selecting Operator manually can not be done.

CHANGELOGS
  • 2015-06-06: [FIXED] T315 WIFI
    The new macloader consider T315 WIFI mac address as SEMCOSH, while previous CM-11 is NONE. The ugly workaround is mess up with macloader and comment out MAC wifi detection. Perhaps next, just clone nvram_net.txt_semcosh from nvram_net.txt.
    On 20150606 build, macloader hack is removed, replaced by a clone of nvram_net.txt_semcosh.
  • 2015-06-08: [FIXED] T315 MOBILE DATA
    Get rid of this:
    Code:
    D/ConnectivityService( 2420): Adding iface rmnet_usb0 to network 100
    D/ConnectivityService( 2420): Setting MTU size: rmnet_usb0, 1500
    E/Netd    ( 1929): netlink response contains error (No such process)
    D/ConnectivityService( 2420): Adding Route [0.0.0.0/0 -> 10.69.164.197 rmnet_usb0] to network 100
    E/ConnectivityService( 2420): Exception in addRoute for gateway: java.lang.IllegalStateException: command '21 network route add 100 rmnet_usb0 0.0.0.0/0 10.69.164.197' failed with '400 21 addRoute() failed (No such process)'
    On build 20150606, setting correct interface in framework seems solve this problem.
  • 2015-06-05: [CHANGED] AAPT switched to xhdpi.
  • 2015-06-08: [FIXED] Offline charging mode. Since Lollipop, the way of init process for LPM is changed. It is no longer loads lpm.rc. Offline charging mode has been adapted to the new init since build 20150608.
  • 2015-07-03: [CHANGED] SELinux now enforced.
  • 2015-07-03: [FIXED] Updated media codecs.
  • 2015-07-27: [ADDED] Implement battery mode which maps CPU governors as follow: Power Save => powersave, Balanced => pegasusq, High Performance => performance. To change the battery mode, go to Settings > Battery > Battery Mode. Currently, this setting is not persistent, so it lost when reboot.
  • 2015-07-27: [FIXED] Fixed SELinux policy for GPS.
  • 2015-08-26: [FIXED] GPS now fully working with this patch merged into the framework.
  • 2015-09-22: [FIXED] Fixed storage write access denied after do factory reset or wipe data.
  • 2015-09-22: [CHANGED] IO scheduler now defaults to BFQ.
  • 2015-10-18: [FIXED] Fixed distorted in-call audio issue by allowing RILD to access mediaserver file and directory.
  • 2015-10-23: [FIXED] Fixed media codecs configuration causing SEGVAULT, now camera work properly (no more can't connect).

FAQS
  • Q: Is this ROM pre-rooted?
    A: Yes, but it is disabled by default.
  • Q: How to enable root access?
    A: You need to enable Developer Options. Goto Settings > About tablet and tap several times on Build number. You will be noticed when developer settings has enabled. Next, go to Developer options and change Root access as you need.
  • Q: Something is not working, what should I do?
    A: First, search this thread if this problem is already known. You can reply to thread and describe the problem as clear as possible. Don't forget, always attach LOGCAT as it would help identify the problem. You may also required to provide KERNEL and RADIO logs if asked.
  • Q: How can I produce LOGCAT, KERNEL, or RADIO logs?
    A: You must have a working ADB on your PC. Open Command Prompt and issue:
    Code:
    adb logcat > logcat.txt
    To produce LOGCAT log, a file named logcat.txt can be attached from current working directory.

    Code:
    adb logcat -b radio > radio.txt
    To produce RADIO log, a file named radio.txt can be attached from current working directory.

    Code:
    adb shell su -c dmesg > kernel.txt
    To produce KERNEL log, a file named kernel.txt can be attached from current working directory.

    The issued command should return immediately to Command Prompt, otherwise you need to press Ctrl + C.
  • Q: Is it possible if I want to build this ROM myself?
    A: Of course, follow this post to build your own ROM.
 
Last edited:

grovolis

Senior Member
Jan 10, 2015
54
11
0
27
Newcastle
Thanks so much! Features and known issues same as previous build?

---------- Post added at 10:51 AM ---------- Previous post was at 10:48 AM ----------

Also link provided in the OP redirects to 3g version, the wifi version folder is empty :p
 
T

Thanhtho96

Guest
Thanks so much! Features and known issues same as previous build?

---------- Post added at 10:51 AM ---------- Previous post was at 10:48 AM ----------

Also link provided in the OP redirects to 3g version, the wifi version folder is empty :p
He said he only owns t311 so he just build for it if you want to build for t310 source is on OP
 

canisalbus

Member
Apr 27, 2015
33
5
0
Oslo
www.flickr.com
Downloading it now to see how it differs from validus :D I mean.. installing it now :D

---------- Post added at 09:12 ---------- Previous post was at 08:58 ----------

first thing I notice is: home/lock screen rotation works! Second: Trebuchet has stopped - to the reboot! Guest mode works.. so thats not the problem.. hmm... gonna try to install it again :D But first remove more stuff than just dalvik/cache...

---------- Post added at 09:20 ---------- Previous post was at 09:12 ----------

Factory reset... here's hoping it works. That worked. But it removed my apps (I should have known though). Will post if teamviewer works wonderfully. (and other programs i run )

---------- Post added at 09:24 ---------- Previous post was at 09:20 ----------

teamviewer works. even transmirs the mp3 im listening too. written though tv lol

---------- Post added at 09:52 ---------- Previous post was at 09:24 ----------

Doing a factory reset also meant I lost my backups (as I dont have a external sd card *bangs head against wall*). Luckily I did do a backup with twrp before starting.
So far everything looks great. Flash videos with Puffin is still slow... regardless of setting. Moon+ reader works too, no problems there. Youtube though (without gapps)... does not seem to work with stock browser, then again I dont really use it. But through Puffin it works. And it doesnt even lag :D (Maybe it was just my previous page that was a bit slow). but it does stop playing if the screen goes black(turns off) - but that is the device and not CM. Stock camera works, which was an issue with cm12.0.... I still have installed Open Camera cause habit. now my biggest Issue.. . my headphones with bluetooth, it did not work as intented in 12.0. (which is why i had to use 4.4.4). it connected very quickly. Lets see the distance it can travel... 1-1.5 meters. Yeah ok.. "stock" works up to 7-8 meters. I also have no idea how to suggest a fix, I am not a developer or programmer, sorry :D But I use my phone now (core plus) to listen to music over BT so it is no longer a big deal.

tl;dr: bluetooth - same as 12.0. wifi: works. with dev tools on you even have root. Titanium Backup was doubting it though, but so far it seems to work.
 
  • Like
Reactions: tohenk

tohenk

Senior Member
Dec 8, 2012
101
291
0
Sidoarjo
Can you post kernel message after the tablet rebooted, do:
Code:
adb shell sh -c dmesg > kernel.log
Don't forget a logcat too.

Sent from my XT1033 using XDA Free mobile app
 
Last edited:

canisalbus

Member
Apr 27, 2015
33
5
0
Oslo
www.flickr.com
eehm let me rephrase my original statement. It shows it as charging on the battery indicator. But not as text on the lock screen which it does when conneted to the power...

---------- Post added at 10:31 ---------- Previous post was at 10:27 ----------

So it works it seems :D Sorry for the heart attack.