[ROM][10.0][UNOFFICIAL] Nexus Stock for 2019 Galaxy Tab A 10.1 [SM-T510]

Magendanz

Senior Member
Mar 25, 2008
667
580
123
Issaquah, WA
www.Vote4Chad.com

Well, we're finally getting some relatively stable builds of AOSP GSIs and OpenGApps for Android 10.0, so here's my first effort at migrating the Nexus Stock custom ROM for the 2019 Galaxy Tab A 10.0 [SM-T510] to the latest Android OS release. It's very much a work in progress, but it should hopefully help blaze the trail for even better work.

Notes:
  • The current process may require you to reset to factory defaults to remove file-based encryption. Remember to backup your data!
  • Custom kernels are specific to OEM releases, and this one is based on the October 2020 Update (T510XXU3BTH4) for the SM-T510.
  • The system is based on @AndyYan's LineageOS 17.1 GSI (LQ) or @phhusson's AOSP 10.0 (AQ) with the latest Stock variant from OpenGApps.
  • Boot logo and default wallpaper is from my Nexus series of custom ROMs for Android TV, and I'm using the Pixel boot animation with black background.
  • Stock recovery will be replaced with my latest TWRP build for the SM-T510.
  • I've dialed back most of scary bootloader warnings and Knox Security branding from the boot sequence.
  • The properties now correctly identify the device as a tablet, and so the Google Dialer and Messenger are no longer installed. I've also disabled the Emergency button, but SetupWizard still insists on reminding you to insert a SIM (sigh!).
  • This is unofficial and unsupported, so the usual caveats apply. Since we don't flash the bootloader, you should be able recover from any problems...but nothing is guaranteed.

Not working:
  • Support for file-based encryption

Downloads:
Based on AOSP 10.0:
Based on LineageOS 17.1:
Build archives:

Change Log:
20201130:
  • Based on AOSP GSI v222 (20200806) with August 2020 security patch.
20201121:
  • Based on latest LineageOS 17.1 GSI build (20201114) with November 2020 security patch.
  • Updated to the latest Android 10 OEM kernel and vendor partition (T510XXU3BTH4).
  • Updated to latest stable 10.0 release of OpenGapps Stock variant (20201121), which now includes Google Recorder.
20200812:
20200807:
  • Based on AOSP GSI v222 (20200806) with August 2020 security patch.
  • Includes patches to provide simple theme configuration section in Settings > Display, add Recovery to power menu, and match Pixel appearance.
  • Updated to the new Android 10 OEM kernel and vendor partition (T510XXU3BTFN).
  • Updated to latest stable 10.0 release of OpenGapps Stock variant (20200714).
20200713:
  • Based on the latest build of LineageOS 17.1 GSI (20200713) with July 2020 security patch.
20200712:
  • Based on AOSP GSI v221 (20200708) with July 2020 security patch and patch to provide simple theme configuration section in Settings > Display.
  • Updated to the OEM May 2020 Security Update (T510XXS3ATE3) kernel and vendor partition.
  • Updated to latest stable 10.0 release of OpenGapps Stock variant (20200711).
20200413:
  • Fixed Double Tap to Wake feature (enabled in Phh Treble Settings).
  • Fixed crash on first two attempts to launch Phh Treble Settings.
  • Based on the latest build of LineageOS 17.1 GSI (20200413).
  • Updated to the OEM T510XXS3ATB4 kernel and vendor partition.
  • Updated to latest release of OpenGapps (20200409-TEST), with private fix for Chrome issue.
20200314:
  • Fixed potential image corruption issue from outdated img2simg command.
20200312:
  • Now based on the latest build of LineageOS 17.1 GSI (20200309).
  • Uses v703 build of Pixel Launcher with 6x6 and 7x7 icon profiles migrated from the Android One Launcher.
  • Charging after full shutdown will no longer hang during level-of-charge animation.
  • MTP file transfers no longer require USB Debugging to be enabled.
20200223:
  • Initial build based on T510XXU2ASK5 kernel (November 2019 Update) and AOSP 10.0 v212.
  • Latest Google apps from OpenGApps (20200216-TEST)

Instructions:
From OEM stock firmware:
  • Unlock bootloader
  • Ensure matching OEM build (e.g. T510XXU3BTFN) is installed
  • Hold Vol Up & Vol Down buttons during restart to enter Download mode
  • Install custom ROM tarball (.tar.md5 file) to AP with Odin
  • When TWRP launches, factory reset with Wipe->Format Data. (Not necessary for incremental upgrades.)
  • Reboot to system
From existing TWRP install (for incremental updates):
  • Hold Power & Vol Up during restart to enter TWRP recovery
  • Tap Install, select your update (.zip file), and then swipe to install
  • Reboot to system

Source:

Donations:
  • Your support is always appreciated! Just click here.
  • I'm leveraging a ton of work done by @phhusson for Treble GSIs, so please show him some love here!
 

Attachments

Last edited:

FL0R1AN

Senior Member
Aug 12, 2017
53
14
0
Tirana

Well, we're finally getting some relatively stable builds of AOSP GSIs and OpenGApps for Android 10.0, so here's my first effort at migrating the Nexus Stock custom ROM for the 2019 Galaxy Tab A 10.0 [SM-T510] to the latest Android OS release. It's very much a work in progress, but it should hopefully help blaze the trail for even better work.

Notes:
  • The current process may require you to reset to factory defaults to remove file-based encryption. Remember to backup your data!
  • Custom kernels are specific to OEM releases, and this one is based on the November 2019 Update (T510XXU2ASK5) for the SM-T510.
  • The system is based on @phhusson's AOSP 10.0 GSI with the latest Stock variant from OpenGApps.
  • Boot logo and default wallpaper is from my Nexus series of custom ROMs for Android TV, and I'm using the Pixel boot animation with black background.
  • Stock recovery will be replaced with my latest TWRP build for the SM-T510.
  • I've dialed back most of scary bootloader warnings and Knox Security branding from the boot sequence.
  • This is using the Pixel Launcher, but home screen layout is not ideal for this device and I may switch back to the Android One Launcher.
  • The properties now correctly identify the device as a tablet, and so the Google Dialer and Messenger are no longer installed. I've also disabled the Emergency button, but SetupWizard still insists on reminding you to insert a SIM (sigh!).
  • This is unofficial and unsupported, so the usual caveats apply. Since we don't flash the bootloader, you should be able recover from any problems...but nothing is guaranteed.

Not working:
  • Double-tap to wake
  • Support for file-based encryption
  • MTP currently requires USB Debugging to be enabled.
  • Charging after full shutdown will hang during level-of-charge animation.

Downloads:
SM-T510:

Change Log:
20200223:
  • Initial build based on T510XXU2ASK5 kernel (November 2019 Update) and AOSP 10.0 v212.
  • Latest Google apps from OpenGApps (20200216-TEST)

Instructions:
From OEM stock firmware:
  • Unlock bootloader
  • Hold Vol Up & Vol Down buttons during restart to enter Download mode
  • Install custom ROM tarball (.tar.md5 file) to AP with Odin
  • When TWRP launches, wipe data if installing for first time. (Not necessary for incremental upgrades.)
  • Reboot to system
From existing TWRP install: (No need for data wipe.)
  • Hold Power & Vol Up during restart to enter TWRP recovery
  • Tap Install, select your update (.zip file), and then swipe to install
  • Reboot to system

Source:

Donations:
  • Your support is always appreciated! Just click here.
  • I'm leveraging a ton of work done by @phhusson for Treble GSIs, so please show him some love here!

That was quick :D. I just bought a SM-T510 and will wait a bit before installing this ROM. Thanks for the great work.
 

mrlaugh01

Member
Mar 10, 2012
32
6
0
THANK YOU
Code:
@Magendanz
!!

All your roms are solid, especially your MECOOL tvstock roms!
:victory::victory:

Is this (or chance of) a 64bit ROM?
 
Last edited:
  • Like
Reactions: Magendanz

leonkernan

Senior Member
Mar 5, 2015
515
296
0
Melbourne
Did the upgrade from the previous 9.0 rom (20191109) with the TWRP version.

I'm getting android.process.acore crashes on the home screen flashing up constantly.
So far I've tried wiping the caches but still happening.

edit: did a full wipe and it's gone away. Now to reinstall everything...
 
Last edited:

Andy1767

Senior Member
Sep 8, 2014
105
36
48
Alps
Initial testing with exFAT looks promising. I just formatted a 64GB µSD card as exFAT on my PC and was able to play a 2.0 GB video file from it on the SM-T510 with no problems.
Great news :):)
If it all goes well maybe you can add exFAT to some futute version of your LOS 16 ROM as well?
Currently on your LOS 16 ROM - works perfectly only missing exFAT...
 

DeathMD

Member
Jun 29, 2017
34
8
0
Well, we're finally getting some relatively stable builds of AOSP GSIs and OpenGApps for Android 10.0, so here's my first effort at migrating the Nexus Stock custom ROM for the 2019 Galaxy Tab A 10.0 [SM-T510] to the latest Android OS release. It's very much a work in progress, but it should hopefully help blaze the trail for even better work.
.
.
.
Thank you so much for this ROM!!!! The tablet feels like a complete new device. No lags, no slowdowns etc., the performance is just incredible compared to the Stock ROM and it's themeable with Swift Installer. I can't thank you enough... well sure I can... drink some beer or coffee with the 10 bucks I donated, you really deserved it. :good: :)
I'm looking forward to the next releases, I hope you can iron out the things like MTP needs USB debugging etc. and I have one little request for the end: would you mind making a lite version of this ROM with just the Pico GApps package? I guess I'm not the only one that doesn't need/want the whole GSuite.
 

Attachments

Magendanz

Senior Member
Mar 25, 2008
667
580
123
Issaquah, WA
www.Vote4Chad.com
I have one little request for the end: would you mind making a lite version of this ROM with just the Pico GApps package?
My Nexus custom ROMs for media players usually include Nano and Stock (and TVStock) variants, but I intentionally released Stock only for this tablet to reduce my build times and storage footprint. Since you don't recover unused space from the system partition, it doesn't really hurt to have the extra Google apps, but I understand that it could take space from the user partition if you allowed them to be updated. With me just starting a new teaching job and working on a master's degree, I just haven't had any extra bandwidth, but I'll reevaluate in the summer.
 
  • Like
Reactions: AlbinoAsian

commradd

New member
Jul 19, 2018
3
0
0
Storage Permission Issue

I'm a noob at this, so forgive me if i'm missing something simple. I've got the ROM installed and most everything works. I even managed to get Kali Nethunter installed and working, which was my ultimate goal. However, i'm forced to save files only to the actual external SDCARD because I can't write to /SDCARD or /storage/emulated/0. In other words for example, I can't use the camera because it doesn't see a usable storage device. If I open a terminal as root, and cd to /SDCARD, I can't create a directory or file, it says permissions are denied. I tried taking a screenshot of me using Total Commander as superuser attempting to create a folder in /storage/emulated/0 and it says it couldn't save the screenshot "do to limited storage space". There are no folders in either /storage/emulated/0 or /SDCARD (which is a soft link). Any idea what I did wrong, or what I could do to fix it? It looks like the filesystem is read only, but i'm not seeing that from the "mount" command.

Starting from a stock ROM, here's what I did:

  • I unlocked the device, and I had to login to Google and then do the time trick others had mentioned to see the "OEM Unlocking" option.
  • I then used Odin to flash TWRP.
  • After testing TWRP, i then realized there was a ROM that included twrp, so I flashed that using Odin.
  • Booted to TWRP, and wiped Data, followed by installing multi-disabler and Magisk.
  • Then booted into the ROM.
Thanks for any help on this.
 

commradd

New member
Jul 19, 2018
3
0
0
I'm a noob at this, so forgive me if i'm missing something simple. I've got the ROM installed and most everything works. I even managed to get Kali Nethunter installed and working, which was my ultimate goal. However, i'm forced to save files only to the actual external SDCARD because I can't write to /SDCARD or /storage/emulated/0. In other words for example, I can't use the camera because it doesn't see a usable storage device. If I open a terminal as root, and cd to /SDCARD, I can't create a directory or file, it says permissions are denied. I tried taking a screenshot of me using Total Commander as superuser attempting to create a folder in /storage/emulated/0 and it says it couldn't save the screenshot "do to limited storage space". There are no folders in either /storage/emulated/0 or /SDCARD (which is a soft link). Any idea what I did wrong, or what I could do to fix it? It looks like the filesystem is read only, but i'm not seeing that from the "mount" command.

Starting from a stock ROM, here's what I did:

  • I unlocked the device, and I had to login to Google and then do the time trick others had mentioned to see the "OEM Unlocking" option.
  • I then used Odin to flash TWRP.
  • After testing TWRP, i then realized there was a ROM that included twrp, so I flashed that using Odin.
  • Booted to TWRP, and wiped Data, followed by installing multi-disabler and Magisk.
  • Then booted into the ROM.
Thanks for any help on this.
Well, i decided to re-flash the ROM from TWRP, and while there i wiped the internal storage. Everything is working now! This device is much faster than it was, thanks for this ROM!
 

StarGeneral

Senior Member
Jul 20, 2012
69
19
0
Thank you again for your work. Will you be supporting the Android 9.0-build in your other thread as well or do you expect your users to switch to this ROM based on 10.0?
Would you describe this ROM as as stable as 9.0 or are there any backdraws?
 

Magendanz

Senior Member
Mar 25, 2008
667
580
123
Issaquah, WA
www.Vote4Chad.com
Thank you again for your work. Will you be supporting the Android 9.0-build in your other thread as well or do you expect your users to switch to this ROM based on 10.0?
Would you describe this ROM as as stable as 9.0 or are there any backdraws?
I just switched over to it for my main tablet, so ask me again in a few days. By then I should be more aware of any issues.
 

Ficadenti85

New member
Mar 2, 2020
2
0
0
Hello

i have flashed your Rom both variants and they run very good, thank you for your work. But is there a way to get Widevine L1 to get working with unlocked bootloader ?.
 

Kenaz Rune

Senior Member
Mar 29, 2019
58
15
8
OpenGAPPS...

My Nexus custom ROMs for media players usually include Nano and Stock (and TVStock) variants, but I intentionally released Stock only for this tablet to reduce my build times and storage footprint. Since you don't recover unused space from the system partition, it doesn't really hurt to have the extra Google apps, but I understand that it could take space from the user partition if you allowed them to be updated. With me just starting a new teaching job and working on a master's degree, I just haven't had any extra bandwidth, but I'll reevaluate in the summer.



Have you considered leaving out GAPPS and having us download and install them ourselves? That would make it easier for everybody, and we could choose to entirely skip it if we want. Same for v9.
 

Magendanz

Senior Member
Mar 25, 2008
667
580
123
Issaquah, WA
www.Vote4Chad.com
Have you considered leaving out GAPPS and having us download and install them ourselves? That would make it easier for everybody, and we could choose to entirely skip it if we want. Same for v9.
I release LineageOS builds (16.0 & 17.1) for that. And I don't know about "easier for everybody", since many novice users might not be comfortable installing OpenGApps in TWRP.