[ROM][CM14.1][UNOFFICIAL] Samsung Galaxy Tab A 7.0 LTE SM-T285

Search This thread

mac231us

Senior Member
Oct 26, 2010
2,385
515
I didn't try it with Google maps, too fixated on the testing apps :( I guess I should have tried it out.



I believe Gmaps works off GPS and mobile data, it wont work if there is an issue with either of the 2, I have a tablet (Galaxy Tab 4) in my car as a dedicated media player/GPS/OBD device, I need to tether that to my mobile phone for Gmaps to work correctly, unless I'm doing something wrong lol

Agreed Samsung appears to only want to update their higher end devices and leave the lower end ones with what they shipped with, part of the reason I got this tablet is to replace the Galaxy Tab 4 which is stuck on 4.4 with NO custom ROM's, so I do have a lot of appreciation for jedld and all his work with this tablet ;)

Gmaps can work off data only in the battery saving mode (one of the 3 options in locations)-does not need GPS (is how I run it all the time-even the weather apps that I use-hence never discover the GPS issue unless forced to use it)
 

jedld

Senior Member
Oct 15, 2007
429
438
Bacoor
@jedld
My device SM J210F have alsi same chip SC8830.
But it has prebuild MM kernel.
How do I boot cm14 on it?

You can try to extract the boot.img from this CM-14.1 build and replace the kernel and fstab entries with yours and see if it works. Even if it does boot it is uncertain if you all your hardware will work, there are many sc8830 variants and all have different radio, bluetooth and gps chipsets, the only thing that are the same are the display, sensor and sound hardware. Try to replace the /system/lib/hw with those coming from your hardware, however don't expect all of them to load properly as the expect to be linked to MM libraries.
 

Aditya Kr

Senior Member
Jun 12, 2015
242
291
Ranchi
You can try to extract the boot.img from this CM-14.1 build and replace the kernel and fstab entries with yours and see if it works. Even if it does boot it is uncertain if you all your hardware will work, there are many sc8830 variants and all have different radio, bluetooth and gps chipsets, the only thing that are the same are the display, sensor and sound hardware. Try to replace the /system/lib/hw with those coming from your hardware, however don't expect all of them to load properly as the expect to be linked to MM libraries.

Will my stock kernel work? Without any modifications?
 
  • Like
Reactions: anutalores

jedld

Senior Member
Oct 15, 2007
429
438
Bacoor
Will my stock kernel work? Without any modifications?

no idea. only way to find out is to try. Possible issue here is if your kernel's selinux module is unable to load the sepolicy files from nougat. In my case I am able to use the same kernel for my MM and Nougat builds so that should give you some hope. Also make sure you repack your boot.img properly after making your modifications. In the case of SM-T280 vs SM-T285 they have different boot.img formats and the SM-T280 needs a special header to be added before you can even flash the image properly.
 

Aditya Kr

Senior Member
Jun 12, 2015
242
291
Ranchi
no idea. only way to find out is to try. Possible issue here is if your kernel's selinux module is unable to load the sepolicy files from nougat. In my case I am able to use the same kernel for my MM and Nougat builds so that should give you some hope. Also make sure you repack your boot.img properly after making your modifications. In the case of SM-T280 vs SM-T285 they have different boot.img formats and the SM-T280 needs a special header to be added before you can even flash the image properly.

Which boot unpack /repack should I use?
 
  • Like
Reactions: anutalores

jedld

Senior Member
Oct 15, 2007
429
438
Bacoor
By the way what modifications you have done to your kernel to boot N?

For me, I didn't do anything significant from MM to N. However when our device shipped, we only had an LL kernel and I had to upgrade its selinux libraries for it to work with MM. Do note that the stock kernel is selinux enforcing by default (esp samsung kernels) and cannot be disabled using boot params, an selinux enforcing kernel will certainly give you problems when porting your device.
 

Aditya Kr

Senior Member
Jun 12, 2015
242
291
Ranchi
For me, I didn't do anything significant from MM to N. However when our device shipped, we only had an LL kernel and I had to upgrade its selinux libraries for it to work with MM. Do note that the stock kernel is selinux enforcing by default (esp samsung kernels) and cannot be disabled using boot params, an selinux enforcing kernel will certainly give you problems when porting your device.

I have made the selinux permissive by editing the kernel source.
 
  • Like
Reactions: anutalores

Aditya Kr

Senior Member
Jun 12, 2015
242
291
Ranchi
Like I said, won't know until you try. Important thing is to get a logcat so you can fix whatever doesn't work.

Fine...I m trying.
And one annoying issue in the kernel source that samsung provided have camera broken on it.I think its a camera driver issue.
Do u have any idea about it?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 10
    *** This project is now abandoned in favor of the LineageOS variant ***


    This is a port of Cyanogenmod 14.1 for the Samsung Galaxy Tab A 7.0 (2016) LTE SM-T285. Cyanogenmod needs no introduction, it is one of the most popular aftermarket ROM distributions around.

    5.1.1 is the best that you can get from samsung right now and it is not known if they plan to do any upgrades. I have absolutely no idea why samsung chose to stay with the outdated 5.1.1 mid 2016 when we already got 7.1 coming out. This custom rom is probably the best you can get if you want an upgrade from Lollipop. Performance on the latest build is also better, you be the judge.

    As this is the first CM-14.1 release, I don't recommend you use this as a daily driver, but it should be good enough for some. Make sure you read the pending issues below and decide if this is acceptable to you before you flash this rom. This rom probably won't get much use out of some people until bluetooth is fixed.

    Based off on Cyanogenmod 14.1 sources which is based on Nougat 7.1.

    Device Tree:
    =========
    https://github.com/jedld/device_samsung_gtexslte.git
    https://github.com/jedld/vendor_samsung_gtexslte.git
    https://github.com/jedld/kernel_samsung_gtexslte.git

    Update Dec 3, 2016
    ===============

    Fixed GPS, Wifi Hotspot, Graphics issues, Calls, Camera,sdcard is now marked as adoptable.

    Works:

    - Wifi/SMS
    - Audio
    - Graphics with glitches (minor screen tearing, blank screen showing up on overlays)
    - GPS
    - Wifi Hotspot
    - Incoming/Outgoing Calls
    - MTP

    Does not work:

    - Bluetooth
    - Camera
    - LTE (Due to APN issues)
    - Battery Meter not updating

    Bugs/Known Issues

    * Problems recording video

    Other Notes:

    - selinux permissive

    Most of the issues are fixable, I just need more time and encouragement :D

    SM-T280 Users: Unfortunately this rom would probably not work on it since the SM-T285 and SM-T280 have different kernels and slightly different hardware. I don't have access to this device so it would be hard for me to port it over. However I believe there are a lot of similiarities in the device tree that can be shared. If a dev with the SM-T280 is interested I can probably help.


    Download
    ========

    Remember flashing an unofficial ROM on your samsung device will probably void your warranty, Samsung representatives will probably not be able to help you as they are still stuck at 5.1.1 land as of now and have no idea how to handle a SM-T285 that is running 7.1.

    As always flash this at your own risk. Make sure you have a copy of the stock ROM so that you have something to fall back to, which is highly the case when using an experimental rom.

    See DevDB download section.

    BUILD12032016

    Note that this rom is pure stock and does not come with the Play Store or any Gapps, I suggest you download a micro gapps package separately and install it via recovery.

    There have been reports that recent versions of open gapps don't work properly, it is advised to use older versions instead (e.g. open_gapps-arm-6.0-nano-20161109.zip)

    Installation Instructions
    ==================

    Perform a backup of all of your important files. This ROM is experimental and I will not be responsible for your loss of data.

    Download the zip file and extract the tar.

    Use Odin/Heimdall to flash the tar file to your device. If you are coming from stock oranother rom make sure you wipe first using TWRP. Coming from a previous version of OMNIRom for SM-T285 may not require a wipe, however please perform a wipe if you encounter problems.

    Root and customization
    ===================

    This ROM is a purely based on source and is not rooted out of the box. However you can easily root it by using TWRP to install the latest version of SuperSU.

    If you want to customize this ROM and repackage it you may use this guide as a reference.

    XDA:DevDB Information
    CM-14.1 Samsung Galaxy Tab A 7.0 LTE (SM-T285), ROM for the Samsung Galaxy Tab A series

    Contributors
    jedld
    ROM OS Version: 7.x Nougat
    ROM Kernel: Linux 3.10.x
    Based On: CyanogenMod

    Version Information
    Status: Abandoned

    Created 2016-12-03
    Last Updated 2017-01-31
    5
    I can't get Soft Keys to work, worked fine on the Omni ROM, only problem I have come across so far.

    needs some xml changes that needs to be compiled into the framework for that I believe. Though there are more critical bugs I need to fix with this 7.1 rom.
    5
    the worst problem w/ the cm 14.1 is no mobile data...but to each his/her own (unless one has a T280/just cares about wifi)

    don't the gapps get updated anyway through playstore even if you start off with an older version?

    Yeah it should. I haven't looked into why gapps is behaving that way. It also happens with my other CM devices like the Nexus 5. As for mobile data, I'll wait for lineage to be available before I get back to working on a Nougat build.
    4
    thank for your awesome work, but i cant download any app from Playstore, it's downloading for a long time, i tried many way to force it works but nothing change. Have any one meet this trouble?

    Try using an older gapps package like from october, recent versions seem to have issues.
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