[ROM][ROOT][STOCK][TINKER-EDITION][5.1.1] Galaxy Tab A 7.0 2016 SM-T280/T285

Search This thread

jedld

Senior Member
Oct 15, 2007
430
440
Bacoor
Samsung Galaxy Tab A 7.0 LTE/WIFI 2016 TINKER EDITION ROM (DEOXED/ROOT/XPOSED)
============================================

Update 01/04/2017
-----------------------

Tinker Edition V5.1 is now out.

* Re-added Samsung stock camera and gallery
* revert back to stock vold to fix issues people are having with micro sdcards

Now available for the SM-T285, SM-T280 to follow

Update 10/29/2016
------------------------
TWRP for the SM-T285 here

Early Build of TWRP for the T285 (see post by @ashyx will update this if an official version is released. The T280 version should be available not far behind I believe :)

Update 09/21/2016
-----------------------
V5 now out (root, deodexed, xposed) for the SM-T280/T285, still working on the SM-T280

Update 09/20/2016
------------------------

Turns out this device is not as locked as we all thought it too be. See thread below for my ordeal and more details:

http://forum.xda-developers.com/galaxy-tab-a/help/resources-samsung-galaxy-tab-7-0-2016-t3431022

Modifications:
===========

* Based on LMY47V.T285XXU0APCN
* Stock Boot and Recovery (Not much choice since the bootloader is locked)
* Busybox
* Hijacked Vold (using CM 12.1 sources) to run shell scripts stored in /data/scripts/vold.init
* Removed Touchwiz launcher and redundant samsung apps (Hancom office, Kidzone), replaced with Trebuchet
* Enabled r/w to the external SD Card
* Dolby Atmos mod (09/11/2016) (thanks to @Nando14sunny)
* Deodexed/Xposed (09/13/2016) (thanks to @wanam and @rovo89)
* soft linked /etc/hosts to /data/scripts/hosts and can be edited using adb shell (09/13/2016) (thanks to @venomrat)
* V5: root chainfire's SuperSu 2.78 (09/21/2016) (thanks to @Chainfire)
* stock boot animation

Special thanks also to @ashyx for initially taking a look at this device , I haven't given up on rooting this device yet.
Special thanks to @klemen241 for helping me try out the SM-T280 build

Haven't done extensive testing on Xposed modules, but the pokemon go iv mod/hacked worked and that was good enough for me :) (Before pokemon Go was patched). If you use this ROM feedback is highly appreciated

NOTES: To be safe, perform a cache wipe using recovery. I didn't need to do this personally but I haven't tested all use cases
NOTES: Since this rom is deodexed, the first boot will take quite a while, so please be patient :).
NOTES: if you are coming from V2 and are using the mount_ext4 apps2sd scripts please update it for additional support for the V3 ROM HERE:
https://github.com/jedld/smt285_data_scripts

NOTES: (09/13/2016) Unfortunately, the V3 build fails the Google SafetyNet check, will be a problem if you play Pokemon Go

Other Notes: Removed support for zygote.init scripts in V3 as I am now using the app_process32_xposed binary, will work to get this back soon. I haven't had a need for zygote scripts though. The vold.init scripts shoud still work as before if you are using the apps2sd script

Installation Instructions:

Odin or Heimdall Required. I you are coming from the Stock Rom please wipe/factory reset to be sure. If you are upgrading from V1 or V2 you are not required to wipe unless there are problems. If you are upgrading to V3 cache wipe is recommended using recovery.

--FLASH AT YOUR OWN RISK--

1. Make sure to backup of your data and have a copy of your stock Rom in case something goes wrong.
2. Make sure your device is OEM unlocked. (Enable Developer settings and Enable the OEM unlock settings)
3. Extract ZIP file below and flash the tar.md5 file using ODIN, for details on this kindly look for instructions in the xda site.
4. For Heimdall you can use 7zip to extract the system.img from the tar.md5 and just flash the system.img itself.

Choose the appropriate download for the model (wifi only T280/ lte T285) that you have:

WIFI ONLY Download (SM-T280)
==========================

Link (V5 Deodexed, Rooted and Xposed):
https://mega.nz/#!0Jdg0a4D!XWLES1BwCPrkBlUzqNhRfRi_91LOdawYHydQ_scV2dI

Link (V3 Deodexed and Xposed - with special thanks to wanam with his custom Xposed build (86.0), and credits also to rovo89):
Download from Mega (v3 09/13/2016)

LTE Version Downloads (SM-T285)
===========================
Link (V5.1 Deodexed, Rooted and Xposed):
https://mega.nz/#!ZFFTFKYZ!NAeajNUjIgYI7zOslpWoJ2AeJ-NCKG0Ut8Buz_6eCgU

Link (V3 Deodexed and Xposed - with special thanks to wanam with his custom Xposed build (86.0), and credits also to rovo89):
Download from Mega (v3 09/13/2016)

Link (Original V2 odexed version):
Download from Mega (V2 09/11/2016)

If you have suggestions, send me a PM.

Other Notes (So people don't have to ask):

* I've tried to run superuser daemonsu, but unfortunately the sepolicy scopes for vold and zygote are too narrow in this device for supersu to use despite being root. In theory a version of daemonsu can be made specifically to run on this device with a somewhat castrated functionality though I don't have access to the source code to figure it out. Navigating the sepolicy landmine is hard.


WIFI ISSUES
=========

There are reports of wifi problems with the latest build due to wrong permissions with dhcp hooks, if so you can do the following (big thanks to @_mone):

Using adb shell:

Code:
su
mount -o rw,remount,rw /system
chmod 755 /system/etc/dhcpcd/dhcpcd-run-hooks
mount -o ro,remount,ro /system

/system is readonly by default, which is why you need the remount commands. Reboot your device after just to make sure.
 
Last edited:

venomrat

Senior Member
Oct 27, 2010
85
7
Hi,

The mount_ext4_sdcard.sh script moves all apps to SD card on reboot?

Edit: did not read till the end. System apps are not move.
 
Last edited:

venomrat

Senior Member
Oct 27, 2010
85
7
It won't by default for safety purposes, however you are welcome to edit the script and try to move them all :)
Thanks for your hard work. It's a pity this device is not as popular as their other models or more people would have already signed the petition. :(
I regret not doing more research before buying this tablet.
 

Nando14sunny

Senior Member
Apr 28, 2012
77
14
Lindau
Google Pixel 7 Pro
Hello there :)

At first i want to thank you for your hard work so far :)

Then i've got a question,

I just built this Tablet (LTE version) in my car. Now i'm on to configure it with Tasker to "act more like a car radio". It was really hard, because of the non rooted device.. But i did it so far :)

I used a sound mod, called Dolby Atmos (i think it's from lenovo?) on allmost every of my rooted devices to improve its sound.
I'm wondering if it would be possible that you could build in this mod inside a rom for me?
Normally i flash it as a zip file via a custom recovery so it's in the system files. but maybe you could edit it in there before the rom get flashed via odin? I could give you the zip, if u dont find it. It would be really nice!

Greetings from germany :D
 

jedld

Senior Member
Oct 15, 2007
430
440
Bacoor
Hello there :)

At first i want to thank you for your hard work so far :)

Then i've got a question,

I just built this Tablet (LTE version) in my car. Now i'm on to configure it with Tasker to "act more like a car radio". It was really hard, because of the non rooted device.. But i did it so far :)

I used a sound mod, called Dolby Atmos (i think it's from lenovo?) on allmost every of my rooted devices to improve its sound.
I'm wondering if it would be possible that you could build in this mod inside a rom for me?
Normally i flash it as a zip file via a custom recovery so it's in the system files. but maybe you could edit it in there before the rom get flashed via odin? I could give you the zip, if u dont find it. It would be really nice!

Greetings from germany :D
we could try, could you point me to a rom that has the specified libraries for Dolby?
 
  • Like
Reactions: random4t4x14

venomrat

Senior Member
Oct 27, 2010
85
7
Hi,

If it's not too troublesome, perhaps the next version can symlink the host file to a r/w folder so that ads can be blocked.

Thanks.
 

jedld

Senior Member
Oct 15, 2007
430
440
Bacoor
Hi,

If it's not too troublesome, perhaps the next version can symlink the host file to a r/w folder so that ads can be blocked.

Thanks.

Possible, though the only r/w partition is data and cache, and it may potentially cause problems when you suddenly try to do a wipe. I'm working on deodexing and porting xposed framework for now. Either that if you've got some IP addresses that need to be blocked I can create an edition that has those entries. I'll see what I can do though there might be away to do it without breaking factory reset/wipe cache.
 

venomrat

Senior Member
Oct 27, 2010
85
7
Possible, though the only r/w partition is data and cache, and it may potentially cause problems when you suddenly try to do a wipe. I'm working on deodexing and porting xposed framework for now. Either that if you've got some IP addresses that need to be blocked I can create an edition that has those entries. I'll see what I can do though there might be away to do it without breaking factory reset/wipe cache.

No hurry. I can wait. What you are doing now is more important. :good:
 

ashyx

Inactive Recognized Contributor
Oct 14, 2012
15,080
9,934
Regarding xposed have you actually tested any other modules that need root?
I already built a rom with xposed but it was all but useless because pretty much all the modules I use need root.
 
  • Like
Reactions: Speedn

jedld

Senior Member
Oct 15, 2007
430
440
Bacoor
most of those I tried don't need root so far (youtube adaway, pokemon go iv). Haven't tried those that need root but I suppose those wouldn't work.
 

klemen241

Senior Member
Jul 20, 2010
1,481
192
I use app settings and it works for dpi change, and you are welcome. I am glad to test stuff, its fun haha. If anyone has questions about t280 you can ask me
 
  • Like
Reactions: CanadaHugh

Top Liked Posts

  • There are no posts matching your filters.
  • 40
    Samsung Galaxy Tab A 7.0 LTE/WIFI 2016 TINKER EDITION ROM (DEOXED/ROOT/XPOSED)
    ============================================

    Update 01/04/2017
    -----------------------

    Tinker Edition V5.1 is now out.

    * Re-added Samsung stock camera and gallery
    * revert back to stock vold to fix issues people are having with micro sdcards

    Now available for the SM-T285, SM-T280 to follow

    Update 10/29/2016
    ------------------------
    TWRP for the SM-T285 here

    Early Build of TWRP for the T285 (see post by @ashyx will update this if an official version is released. The T280 version should be available not far behind I believe :)

    Update 09/21/2016
    -----------------------
    V5 now out (root, deodexed, xposed) for the SM-T280/T285, still working on the SM-T280

    Update 09/20/2016
    ------------------------

    Turns out this device is not as locked as we all thought it too be. See thread below for my ordeal and more details:

    http://forum.xda-developers.com/galaxy-tab-a/help/resources-samsung-galaxy-tab-7-0-2016-t3431022

    Modifications:
    ===========

    * Based on LMY47V.T285XXU0APCN
    * Stock Boot and Recovery (Not much choice since the bootloader is locked)
    * Busybox
    * Hijacked Vold (using CM 12.1 sources) to run shell scripts stored in /data/scripts/vold.init
    * Removed Touchwiz launcher and redundant samsung apps (Hancom office, Kidzone), replaced with Trebuchet
    * Enabled r/w to the external SD Card
    * Dolby Atmos mod (09/11/2016) (thanks to @Nando14sunny)
    * Deodexed/Xposed (09/13/2016) (thanks to @wanam and @rovo89)
    * soft linked /etc/hosts to /data/scripts/hosts and can be edited using adb shell (09/13/2016) (thanks to @venomrat)
    * V5: root chainfire's SuperSu 2.78 (09/21/2016) (thanks to @Chainfire)
    * stock boot animation

    Special thanks also to @ashyx for initially taking a look at this device , I haven't given up on rooting this device yet.
    Special thanks to @klemen241 for helping me try out the SM-T280 build

    Haven't done extensive testing on Xposed modules, but the pokemon go iv mod/hacked worked and that was good enough for me :) (Before pokemon Go was patched). If you use this ROM feedback is highly appreciated

    NOTES: To be safe, perform a cache wipe using recovery. I didn't need to do this personally but I haven't tested all use cases
    NOTES: Since this rom is deodexed, the first boot will take quite a while, so please be patient :).
    NOTES: if you are coming from V2 and are using the mount_ext4 apps2sd scripts please update it for additional support for the V3 ROM HERE:
    https://github.com/jedld/smt285_data_scripts

    NOTES: (09/13/2016) Unfortunately, the V3 build fails the Google SafetyNet check, will be a problem if you play Pokemon Go

    Other Notes: Removed support for zygote.init scripts in V3 as I am now using the app_process32_xposed binary, will work to get this back soon. I haven't had a need for zygote scripts though. The vold.init scripts shoud still work as before if you are using the apps2sd script

    Installation Instructions:

    Odin or Heimdall Required. I you are coming from the Stock Rom please wipe/factory reset to be sure. If you are upgrading from V1 or V2 you are not required to wipe unless there are problems. If you are upgrading to V3 cache wipe is recommended using recovery.

    --FLASH AT YOUR OWN RISK--

    1. Make sure to backup of your data and have a copy of your stock Rom in case something goes wrong.
    2. Make sure your device is OEM unlocked. (Enable Developer settings and Enable the OEM unlock settings)
    3. Extract ZIP file below and flash the tar.md5 file using ODIN, for details on this kindly look for instructions in the xda site.
    4. For Heimdall you can use 7zip to extract the system.img from the tar.md5 and just flash the system.img itself.

    Choose the appropriate download for the model (wifi only T280/ lte T285) that you have:

    WIFI ONLY Download (SM-T280)
    ==========================

    Link (V5 Deodexed, Rooted and Xposed):
    https://mega.nz/#!0Jdg0a4D!XWLES1BwCPrkBlUzqNhRfRi_91LOdawYHydQ_scV2dI

    Link (V3 Deodexed and Xposed - with special thanks to wanam with his custom Xposed build (86.0), and credits also to rovo89):
    Download from Mega (v3 09/13/2016)

    LTE Version Downloads (SM-T285)
    ===========================
    Link (V5.1 Deodexed, Rooted and Xposed):
    https://mega.nz/#!ZFFTFKYZ!NAeajNUjIgYI7zOslpWoJ2AeJ-NCKG0Ut8Buz_6eCgU

    Link (V3 Deodexed and Xposed - with special thanks to wanam with his custom Xposed build (86.0), and credits also to rovo89):
    Download from Mega (v3 09/13/2016)

    Link (Original V2 odexed version):
    Download from Mega (V2 09/11/2016)

    If you have suggestions, send me a PM.

    Other Notes (So people don't have to ask):

    * I've tried to run superuser daemonsu, but unfortunately the sepolicy scopes for vold and zygote are too narrow in this device for supersu to use despite being root. In theory a version of daemonsu can be made specifically to run on this device with a somewhat castrated functionality though I don't have access to the source code to figure it out. Navigating the sepolicy landmine is hard.


    WIFI ISSUES
    =========

    There are reports of wifi problems with the latest build due to wrong permissions with dhcp hooks, if so you can do the following (big thanks to @_mone):

    Using adb shell:

    Code:
    su
    mount -o rw,remount,rw /system
    chmod 755 /system/etc/dhcpcd/dhcpcd-run-hooks
    mount -o ro,remount,ro /system

    /system is readonly by default, which is why you need the remount commands. Reboot your device after just to make sure.
    8
    We don't have a custom kernel for the SM-T280 yet

    Hi, does this rom have selinux set to permissive? I really need it for my t280!

    The T280 uses the stock kernel, so no. However there might be some devs willing to build a permissive kernel for the T280.

    Coming soon.
    5

    Hi there!

    I'm still working on a proper custom kernel for the T280.. Samsung made this device extremely difficult to work with.. Depends on what I add to the kernel the device won't boot, even if it's just a governor or some minor modifications that I'm used to include in the kernel of my other samsung's devices.
    Today I saw your post and I've decided to share at least what I'm able to as of now, and that is a kernel that is able to set selinux to permissive (still trying to find out wtf is the trigger for the no boot).. so I've flashed this tinker edtion ROM (first time for me), made a quick set up (everything worked fine), then I've compiled a kernel (AQA4 sources) with my usual selinux patches, decompiled the included boot.img with the tinker edition ROM and replaced the kernel with my newly compiled kernel, repacked everything, applied the usual patches to the header, flashed the new boot.img and the device was in a boot loop.. So I tought was a kernel source problem, and I've used and older one (T280XXU0APL7) to compile the modified kernel and done again all the steps... again boot loop!
    Then I've remembered.. when I bought this device there was no AQA4 sources (kindly provided by samsung's OSRC when I asked for it), and I've started to work with APB6 and APL7 sources.. with those sources I was able to compile a kernel that I could use for a custom recovery but not on a samsung's firmware. Only recently I've started to work on samsung firmware because my LineageOS port was going nowhere so I've decided to try to understard how the samsung mess works like that I may be able to learn something that can help me to finally get rid of samsung's software.
    As for now I'm working on T280XXU0AQA4 and T280XXU0AQF1 firmwares and I'm able to modify how I like the system in my device but not able to create a proper system.img to share with the community (I'm having some issues with google play store), and I'm able to use a "limited" custom kernel (based on AQA4 source as AQF1 has not been released yet "already asked for it") with both firmwares..

    In conclusion: If you want a permissive kernel, with patches for your favourite root method, for samsung's official firmware AQA4 or AQF1 I can provide it with no issue, but I can't provide a custom kernel for this ROM in its current status, if @jedld updates it with a recent samsung's firmware there will be no problems in running a permissive kernel on this ROM.
    5
    E.T.A. of SM-T280 ??
    Xda rule. DO NOT ask for ETA's
    3
    Is it possible to run V4A on this rom?

    ---------- Post added at 03:37 PM ---------- Previous post was at 02:50 PM ----------

    Also I do not see BusyBox.

    hay.

    when v6?
    thx and respect from italy

    Soon, I just got caught up porting OmniROM 6.0 to this device. I'll start working on it immediately once I give up and conclude that 5.1.1 is the best it could get.