[ROM][SM-T500] Samsung Galaxy Tab A7 10.4 (2020) - LineageOS 18.1

Search This thread

lewmur

Senior Member
Apr 30, 2011
2,401
514
I have the same question. I am unable to downgrade without an error.
The bad news is that it can't be done. You can't downgrade. The good news is that Samsung has supposedly released the source for your version and that it won't be too long before a new version of this ROM will be available.
 

aw4y_

New member
Dec 11, 2014
3
0
Hey guys, can you please help this poor guy?

I can't, in any ways possible, get through flashing vbmeta. I guess it actually, because I flash it but it does not wipe my device. Then I try to flash TWRP anyways but it won't flash. Am I doing something wrong?

To help in any way, here's what shows on download mode:

RPMB fuse Not Set
RPMB PROVISIONED
CURRENT BINARY: Custom (0x300)
FRP LOCK : OFF
OEM LOCK : OFF (U)
WARRANTY VOID: 0x1 (0x300)
QUALCOMM SECUREBOOT : ENABLE
RP SWREV : B3 (1,1,1,3,1,1) K3 S3
SECURE DOWNLOAD : ENABLE
GRDM STATUS : NORMAL (D0000502)
 

barra0205

Member
Sep 17, 2020
5
0
Hi hellas, long time lurker, first time user, new to all of this, having a few issues and looking for some pointers as i seen to be in some form of a boot loop now.

So i followed the guide to do the magisk thing from here

And i think ive done it all correct. So i proceed on and go through getting the files needed.

Open odin and do the vbdata on the user data, reboot back into dl mode, flash twrp, and reboot into twrp, woohoo 1 step closer.

Heres where my issues start, i go into the wipe and format data as instructed but i get the error

failed to mount '/keydata'
failed to mount '/keyrefuge'

But it does say done. So i went ahead and clicked install from image and selected the extracted linage image, and then the nikapps, which it all looks good. Reboot, and it just boot loops, occasionally booting me back to twrp. So i had a google and tried clearing the dalvik cache and rebooting but all to the same avail. Either stuck in twrp, or boot looping.

Any suggestions, its the t500 i have, and the firmware was on the T500_EUX_T500XXU3BUF3 firmware version.

Just wondering if i done something specific or if ive missed a step somewhere.
 

JaneValley

Senior Member
Sep 27, 2020
82
32
Currently dwelling in Melbourne
Hi hellas, long time lurker, first time user, new to all of this, having a few issues and looking for some pointers as i seen to be in some form of a boot loop now.

So i followed the guide to do the magisk thing from here

And i think ive done it all correct. So i proceed on and go through getting the files needed.

Open odin and do the vbdata on the user data, reboot back into dl mode, flash twrp, and reboot into twrp, woohoo 1 step closer.

Heres where my issues start, i go into the wipe and format data as instructed but i get the error

failed to mount '/keydata'
failed to mount '/keyrefuge'

But it does say done. So i went ahead and clicked install from image and selected the extracted linage image, and then the nikapps, which it all looks good. Reboot, and it just boot loops, occasionally booting me back to twrp. So i had a google and tried clearing the dalvik cache and rebooting but all to the same avail. Either stuck in twrp, or boot looping.

Any suggestions, its the t500 i have, and the firmware was on the T500_EUX_T500XXU3BUF3 firmware version.

Just wondering if i done something specific or if ive missed a step somewhere.
I met this issue, my solution is format data **again** after all the flashes are done
 

lewmur

Senior Member
Apr 30, 2011
2,401
514
Hi hellas, long time lurker, first time user, new to all of this, having a few issues and looking for some pointers as i seen to be in some form of a boot loop now.

So i followed the guide to do the magisk thing from here

And i think ive done it all correct. So i proceed on and go through getting the files needed.

Open odin and do the vbdata on the user data, reboot back into dl mode, flash twrp, and reboot into twrp, woohoo 1 step closer.

Heres where my issues start, i go into the wipe and format data as instructed but i get the error

failed to mount '/keydata'
failed to mount '/keyrefuge'

But it does say done. So i went ahead and clicked install from image and selected the extracted linage image, and then the nikapps, which it all looks good. Reboot, and it just boot loops, occasionally booting me back to twrp. So i had a google and tried clearing the dalvik cache and rebooting but all to the same avail. Either stuck in twrp, or boot looping.

Any suggestions, its the t500 i have, and the firmware was on the T500_EUX_T500XXU3BUF3 firmware version.

Just wondering if i done something specific or if ive missed a step somewhere.
Has the latest version been updated to use the latest stock BUJ1?
 
OP has not been around here for quite some time, right?
Any way we could get a group of people to continue the work that OP started?
My issue with this ROM is that it always gets some hiccups when Firefox is open. Either it is very lightweight pages, bloated javascript, playing audio or playing video, it starts to stutter and then freeze whole tablet for up to 3 minutes, and then un-clogs itself and goes back to normal. An issue that I would very much like to see resolved.

Also, I'm somewhat surprised that there is so little activity around this tablet model. It appears so insignificant that even the sm-t500 tag is basically a 404 (sm-t404 lol). How? This is a tablet from one of the biggest manufacturers, and here where I live, this thing is being sold in almost every tech store.
 

lewmur

Senior Member
Apr 30, 2011
2,401
514
OP has not been around here for quite some time, right?
Any way we could get a group of people to continue the work that OP started?
My issue with this ROM is that it always gets some hiccups when Firefox is open. Either it is very lightweight pages, bloated javascript, playing audio or playing video, it starts to stutter and then freeze whole tablet for up to 3 minutes, and then un-clogs itself and goes back to normal. An issue that I would very much like to see resolved.

Also, I'm somewhat surprised that there is so little activity around this tablet model. It appears so insignificant that even the sm-t500 tag is basically a 404 (sm-t404 lol). How? This is a tablet from one of the biggest manufacturers, and here where I live, this thing is being sold in almost every tech store.
There has been so little support for this tablet that I just flashed back to stock and relocked the bootloader. Frustrating. The old 2016 tablets have a lot more devs.
 

psc-m3

Member
Nov 8, 2017
18
3
OP has not been around here for quite some time, right?
Any way we could get a group of people to continue the work that OP started?
My issue with this ROM is that it always gets some hiccups when Firefox is open. Either it is very lightweight pages, bloated javascript, playing audio or playing video, it starts to stutter and then freeze whole tablet for up to 3 minutes, and then un-clogs itself and goes back to normal. An issue that I would very much like to see resolved.

Also, I'm somewhat surprised that there is so little activity around this tablet model. It appears so insignificant that even the sm-t500 tag is basically a 404 (sm-t404 lol). How? This is a tablet from one of the biggest manufacturers, and here where I live, this thing is being sold in almost every tech store.
The Sources of this build would be a good starting point. @agreenbhm: Do you mind to share those? Or a little guide at least? This way we could possibly get at least security updates for LOS.
 
  • Like
Reactions: testman42

exelan

Member
Jan 25, 2011
5
0
I accidentally flashed 3BUJ1 firmware and now WiFi is broke and can't flash gapps... is there going to be LOS support for the latest firmware?
 

lewmur

Senior Member
Apr 30, 2011
2,401
514
The Sources of this build would be a good starting point. @agreenbhm: Do you mind to share those? Or a little guide at least? This way we could possibly get at least security updates for LOS.
Right now I'm reading about GSI versions for this tablet. I've gotten so far has installing a TWRP version that allows a reboot to Fastboot. Seems you can't flash the GSI ROMs via Odin but must use ADB and Fastboot. They're working right now on Android 12 ROMs and there are several to try. All seem to have minor problems and are what I would call BETA released. But it seems they are getting close. Look for the TWRP 3.6 for SM-T500 thread for a starting point to see what's happening.
 

Bogam

Member
Nov 15, 2021
10
0
It's actually working, found two bugs till now.
1. Wifi is not working at all
2. Device won't flip landcape or any way.

Didn't find the solution's yet. Anybody?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 19
    Update: March 24 2022: This ROM has been retired and a new one based on LOS 19.1 (and TWRP based on Android 11) have taken its place. New thread here: https://forum.xda-developers.com/t/...4-2020-lineageos-19-1-and-twrp-3-6-1.4421365/
    ---
    Update 9:46am EST July 15 2021: new builds of TWRP and LineageOS with TWRP touch fixed and LOS w/ space for Gapps is now live.

    WARNING: USE AT YOUR OWN RISK.

    I have successfully ported TWRP and Lineage OS 18.1 to the Samsung Galaxy Tab A7 10.4 (2020), aka SM-T500. This is my first time porting TWRP or LOS, so there may be issues unknown about at this time. Thus far, the only known issue is that the touchscreen in TWRP does not work. This can be worked around by using a USB mouse and/or accessing the device via ADB.

    Here are the steps to follow:
    1. Update your device to the latest stock ROM (as of this writing) either using the built-in system updater or via Odin. You want the build that ends with "3BUF3".
    2. Unlock device bootloader using instructions from other threads. This will wipe your device.
    3. Boot into download mode and flash "vbmeta_disabled_R.tar" via Odin in the "Userdata" slot to disable verified boot. This will wipe your device again.
    4. Boot device back into download mode and flash TWRP via Odin in the "AP" slot. If you boot up into the stock ROM rather than booting directly back into download mode then go through the initial setup process of the stock ROM and enable developer tools and ensure OEM Unlocking is still enabled (VaultKeeper can possibly undo OEM Unlocking if you get to the ROM but don't go into Developer Tools and view OEM Unlocking is enabled, so make sure to do this).
    5. Boot device into TWRP (recovery mode) and format (not wipe) your data partition. Then reboot back into TWRP.
    6. Push LineageOS (super.new.ext4.img) to device. Ideally push it to an SD card formatted with ExFat or EXT2/3/4 (FAT/FAT16/FAT32/VFAT won't work due to file-size limitations).
    7. Install LineageOS image to "Super" partition. Make sure to select "Install from Image" in order to show .img files in the install selector screen.
    8. (Optional) Push NikGapps Omni to your device and install the zip. Make sure you include a "nikgapps.config" file in your "/tmp" folder that is configured to install to "system" rather than "product" or "default".
    9. Reboot to system. You should now be in LOS with Gapps.
    10. (Optional, but recommended): Install Magisk via TWRP
    11. (Optional, but recommended): Run fix script to fix brightness slider not working and to make Magisk work. If you didn't install Magisk but only want the brightness fix, just enter "n" when prompted in the script. To run the script:
      1. NOTE: Script has .txt file extension to allow hosting on AFH. Remove that so it's just .sh to match the instructions below.
      2. Download and push to device when booted into TWRP
        1. adb push sm-t500_fixes.sh /tmp
      3. Enter an adb shell
        1. adb shell
      4. Change directories and set permissions
        1. cd /tmp
        2. chmod +x /tmp/sm-t500_fixes.sh
      5. Run script
        1. /tmp/sm-t500_fixes.sh

    Tips:
    • If you are not seeing all of your storage space in the OS on the internal flash, boot to TWRP and format data.
    • Flash TWRP via "AP" slot and flash VBMeta_Disabler via "Userdata" slot in Odin.
    • Flash LineageOS as an Image, not as a Zip.
    • For Gapps, use the latest NikGapps for ARM64 and Android 11/R.
    • For Gapps, make sure you install to the System partition and not Product. To do this you need to slightly modify a nikgapps.config file. Instructions on that can be found on the NikGapps site.

    Downloads:
    Known Issues:
    • OS-encrypted storage (Internal Data) not able to be decrypted in TWRP.
    • Brightness controls don't work: Fixed via "sm-t500_fixes.sh script.
    • TWRP touch screen doesn't work (use USB keyboard or adb). Should be fixed with TWRP Beta 3.
    • TWRP formatting external SD card may hardbrick device. Do not do this! Fixed with TWRP Beta 2.

    Source (device tree for TWRP from my Github): https://github.com/agreenbhm/android_device_samsung_gta4lwifi
    Source (kernel sources from Samsung): https://opensource.samsung.com/uploadSearch?searchValue=Sm-t500#
    7
    Good news, my tablet should be back on Tuesday and I will be looking at continuing my dev work then.
    3
    I have successfully ported TWRP and Lineage OS 18.1 to the Samsung Galaxy Tab A7 10.4 (2020), aka SM-T500. This is my first time porting TWRP or LOS, so there may be issues unknown about at this time. Thus far, the only known issue is that the touchscreen in TWRP does not work. This can be worked around by using a USB mouse and/or accessing the device via ADB.

    Here are the rough steps to follow:
    1. Unlock device bootloader using instructions from other threads.
    2. Patch stock ROM (AP) using Magisk, then flash rooted ROM. Will likely need to wipe device after this.
    3. Boot into rooted ROM and ensure "OEM Unlocking" is still enabled in "Developer Tools".
    4. Boot back into download mode and flash "vbmeta_disabled_R.tar" to disable verified boot.
    5. Boot device back into rooted stock ROM to ensure things are still functional (may require a device wipe at this step).
    6. Boot device into download mode and use ODIN to flash TWRP recovery.tar file via "AP" slot.
    7. Boot device into TWRP to verify functionality (hold Vol-Up + Power during boot).
    8. Access TWRP via adb using "adb shell" or with USB mouse (touch functionality currently not working).
    9. Format data partition on device.
      • Via ADB shell: twrp format data
      • Via USB mouse: Wipe -> Advanced -> Format Data
    10. Boot device into download mode.
      • Via ADB shell: twrp reboot download
      • Via USB mouse: Reboot -> Download
    11. Flash LineageOS tar file via ODIN using the "AP" slot.
    12. If device boots into TWRP after flashing LineageOS, use USB mouse to select: Reboot -> System
    13. Device should boot and stall for ~1m at the Samsung logo screen with red text below, then should go blank and then display LineageOS boot image.

    Downloads:
    Great news!! But I think you need to post it in the ROMs, Kernels, Recover thread.
    3
    Hello all, I have released a version of LineageOS 19.1 for the SM-T500. You can find it here: https://forum.xda-developers.com/t/...4-2020-lineageos-19-1-and-twrp-3-6-1.4421365/

    And a quick note since I see the discussion here: the ROM from this thread and the new one are both from GSIs. All you need to do to update is technically flash your system partition with a GSI of your choosing. Easier said than done, but the easiest approach I've found for this device is to build a new super partition with lpmake consisting of odm, product, vendor, and system (with system being the GSI).
    3
    Any new release of twrp
    I made a new build yesterday however I can't test it yet since my device is not back to me yet. If you want a copy to try dm me and I will share it. But be warned, I don't even know if it boots (though you could always reflash the old one if that's the case). The goal of the new build was to fix the SD card bug and make the touchscreen work.