[RECOVERY][ROM][ROOT][UNOFFICAL] TWRP 3.3.1-0 + Lineage [SM-T590/SM-T595/SM-T597]

Search This thread

MrHomebrew

Senior Member
Galaxy Tab A 10.5 SM-T590/SM-T595/SM-T597


TWRP and Lineage 16/17.1 for (SM-T590/SM-T595/SM-T597)!!!!!!!!!!!!!!!!!!!!!




BROUGHT TO YOU BY: MrHomebrew


BIG CREDIT TO: Rupansh (For his time, work: dedication and discovery on how to achieve TWRP on these devices).

THANK YOU TO: Cale (For his time, findings and testing).



READ ENTIRE POST!!!!!!!!
READ ENTIRE POST!!!!!!!!
READ ENTIRE POST!!!!!!!!


THIS IS AT YOUR OWN DESCRETION AND I AM NOT RESPONSIBLE FOR ANYTHING THAT COULD GO WRONG (for example a BRICKED DEVICE)!!!!!!!!
EXPECIALLY IF YOU CAN NOT FALLOW INSTRUCTIONS PROPERLY!!!!!!!!
THIS IS SIMPLY A GUIDE AND IF YOU ARE WILLING TO ATTEMPT ON YOUR OWN DEVICE THAT IS FULLY YOUR CHOICE, RESPONSIBILY and DESCRETION!!!!!!!!


IF YOU ARE STUCK IN A BOOTLOOP REBOOT TO DOWNLOAD MODE AND FLASH STOCK SAMSUNG ROM IN ODIN AND IF YOU WOULD LIKE, TRY AGAIN!!!!





1.
Download stock/unmodded Odin:
https://forum.xda-developers.com/attachment.php?attachmentid=4946889&d=1581302091

Install stock SM-T590/T595/T597 PIE rom with stock/unmodded Odin in download mode
(POWER OFF TABLET AND BOOT WITH VOLUME UP, DOWN AND POWER BUTTON WELL PLUGGED IN TO YOUR PC THROUGH USB).



2.
Finish setup SKIP ALL and enable OEM UNLOCK in developer options/settings.
(If developer options/settings is not viewable tap build number in settings/about a bunch of times)
(Then go back and you should see developer options in settings and ENABLE OEM UNLOCK).



3.
Download patched/modded Odin:
https://forum.xda-developers.com/attachment.php?attachmentid=4952061&d=1581888388

Reboot to recovery (POWER OFF TABLET AND BOOT WITH VOLUME UP AND POWER BUTTON).

Select wipe data/factory reset in recovery (THIS WILL WIPE THE TABLET).

THEN SELECT REBOOT TO BOOTLOADER (DO NOT REBOOT THE DEVICE TO THE SYSTEM, STRAIGHT TO THE BOOTLOADER/DOWNLOAD MODE)
(BLACK LOOKING SCREEN THIS TIME).



4.
Download TWRP:
(SM-T590)
Mega - https://mega.nz/#!nVIknQrB!-Zb_xBWy2_Ruj0TBMHPQGvND1uA_LtOvwdRkmV9sFnQ
Zippyshare - https://www15.zippyshare.com/v/dLVoxicq/file.html

(SM-T595/SM-T597)
Mega - https://mega.nz/#!GQQWnASY!T0oJEkwu9m2rviVYFHy_E5tfithsqLYUTjcIW04iGzw
Zippyshare - https://www45.zippyshare.com/v/2VGMIYyb/file.html

Well in download mode open patched/modded Odin.

Select options in patched/modded odin and UNCHECK Auto Reboot and F. Reset Time.

Select recovery.tar.md5 (SPECIFIC FOR YOUR DEVICE MODEL SM-T590 or SM-T595/SM-T597) in the AP tab of patched/modded odin.

Flash recovery.tar.md5 to your tablet.

WHEN FINISHED MAKE SURE TO REBOOT TO RECOVERY MODE/TWRP(STEPS BELOW).
HOLD (VOLUME DOWN AND POWER BUTTON) AND AS SOON AS THE TABLET TURNS OFF HOLD (VOLUME UP AND THE POWER BUTTON) TO FORCE RECOVERY MODE/TWRP
(DO NOT REBOOT THE DEVICE TO THE SYSTEM, STRAIGHT TO RECOVERY MODE/TWRP).



5.
Download Lineage 16 Download Lineage 16 and unpack the .xz so you are left with a .img file (PLACE IT ON A SECONDARY/SPARE MICRO SD CARD):
(SM-T590/SM-T595/SM-T597)
Sourceforge - https://sourceforge.net/projects/an...017-UNOFFICIAL-treble_a64_avN.img.xz/download

Download Disable_Dm-Verity_ForceEncrypt_08.18.2019.zip (PLACE IT ON A SECONDARY/SPARE MICRO SD CARD):
Mega - https://mega.nz/#!eUpj3AAR!B-3_dgBX9nEj4PJufCnCl7FsiS5bJXy-XvNsBg2KQXg
Zippyshare - https://www120.zippyshare.com/v/fDpBrVte/file.html

Download open_gapps-arm-9.0-nano (SELECT AND DOWNLOAD ARM, 9.0 nano VARIANT) (PLACE IT ON A SECONDARY/SPARE MICRO SD CARD):
https://opengapps.org/

Unmount your micro sd in TWRP, remove CURRENT/MAIN micro sd card from your tablet and replace with the SECONDARY micro sd.

In recovery/twrp select wipe tab, then format data and type yes fallowed by enter (THIS WILL FORMAT/ERASE ALL DATA ON THE TABLET).

Go back to main TWRP menu, select reboot and then REBOOT TO RECOVERY.

Once Rebooted to RECOVERY/TWRP select install and at the bottom select install img.

Find the lineage-16.0-20191017-UNOFFICIAL-treble_a64_avN.img select and install it to SYSTEM IMAGE (MAKE SURE YOU SELECT SYSTEM IMAGE FOR INSTALL LOCATION!!!!).

Go back and select wipe then advanced wipe. Toggle System partition, select repair or change partition and then Resize File System.
(Swipe to resize).

Go back select install and at the bottom select install zip.

Then install open_gapps-arm-9.0-nano zip file in TWRP (AND THEN WIPE CACHE/DALVIK).

Go back select install and install Disable_Dm-Verity_ForceEncrypt_08.18.2019.zip in TWRP.

Unmount your micro sd in TWRP, remove SECONDARY micro sd from your tablet and replace it with the MAIN micro sd card.



6.
REBOOT TO SYSTEM AND SEE THE MAGIC HAPPEN (NOT DONE YET IF YOU WANT ANDROID 10 ALONG WITH ADOPTABLE STORAGE!!!!).

Setup device

FORMAT your MAIN micro sd card in android (SHOULD SEE A NOTIFICATION TO FORMAT MICRO SD CARD).

Select the formatting notification, dismiss the first popup and select adoptable/internal storage. (Be Patient and let it finish formatting).

(IF LINEAGE 16 DOES NOT ASK TO FORMAT MICRO SD CARD EJECT THEN PLACE IT IN A WINDOWS COMPUTER AND FORMAT TO SOMETHING ANDROID DOES NOT LIKE AND TRY AGAIN)
(FALLOWING INSTRUCTIONS BELOW)!!!!

Then insert your MAIN micro sd card (THAT IS FORMATTED IN A WAY THAT FORCES YOU TO HAVE TO REFORMAT) the MAIN micro sd card in Lineage 16
(SHOULD SEE A NOTIFICATION TO FORMAT MICRO SD CARD).

Select the formatting notification, dismiss the first popup and select adoptable/internal storage. (Be Patient and let it finish formatting).



7.
Download Lineage 17.1 and unpack the .xz so you are left with a .img file (PLACE IT ON A SECONDARY/SPARE MICRO SD CARD):
(SM-T590/SM-T595/SM-T597)
Sourceforge - https://sourceforge.net/projects/an...111-UNOFFICIAL-treble_a64_avN.img.xz/download

Download open_gapps-arm-10.0-nano (SELECT AND DOWNLOAD ARM, 10.0 nano VARIANT) (PLACE IT ON A SECONDARY/SPARE MICRO SD CARD):
https://opengapps.org/

Download PHH-Magisk (PLACE IT ON A SECONDARY/SPARE MICRO SD CARD)
https://sourceforge.net/projects/de...magisk/Magisk-v20.2-b29f0ca4-phh.zip/download

Power off or reboot to twrp (VOLUME UP AND THE POWER BUTTON).

Unmount your micro sd in TWRP, remove MAIN micro sd card (NOW USED AS ADOPTABLE STORAGE) from your tablet and replace with the SECONDARY micro sd.

Now select install and at the bottom select install img.

Find the lineage-17.1-20200111-UNOFFICIAL-treble_a64_avN.img select and install it to SYSTEM IMAGE (MAKE SURE YOU SELECT SYSTEM IMAGE FOR INSTALL LOCATION!!!!).

Go back and select wipe then advanced wipe. Toggle System partition, select repair or change partition and then Resize File System.
(Swipe to resize).

Go back select install and at the bottom select install zip.

Then install open_gapps-arm-10.0-nano zip file in TWRP (AND THEN WIPE CACHE/DALVIK).

Go back select install and YOU MUST INSTALL Magisk-v20.2-b29f0ca4-phh.zip (OR ELSE LINEAGE 17.1 WILL NOT BOOT).

Go back select install and install Disable_Dm-Verity_ForceEncrypt_08.18.2019.zip in TWRP.

Unmount your micro sd in TWRP, remove SECONDARY micro sd from your tablet and replace it with the MAIN micro sd card (STILL USED AS ADOPTABLE STORAGE).



8.
(VERY IMPORTANT YOU CAN UPDATE (MAGISK MANAGER) BUT NOT (MAGISK) ITSELF!!!! DO NOT UPDATE MAGISK!!!!) YOU WILL END UP IN A BOOT LOOP).

(VERY IMPORTANT) REBOOT TO SYSTEM AND GO IN TO MAGISK MANAGER.

Go to modules in Magisk Manager and install Busybox for Android NDK (DO NOT REBOOT) and also install MagiskHide Props Config (NOW REBOOT).

After reboot go to developer options/settings (System/Advanced/Developer options) and enable Local terminal.
(If developer options is not viewable tap build number in settings/about a bunch of times till it enables)
(Then go back and you should see developer options in settings).



9.
Return to home screen and launch terminal app.

In terminal app type "su" (WITHOUT QUOTES) and hit enter (ALWAYS HIT ENTER TO EXECUTE THE COMMAND).

Accept Magisk/Superuser popup for terminal.
(If you accidentally deny/miss permission go to Magisk a enable Superuser for terminal).

In terminal app type "props" (WITHOUT QUOTES).

Select option "1" (WITHOUT QUOTES), then select option "f" (WITHOUT QUOTES) and then select option "23" (WITHOUT QUOTES).

Now select (ONE OF THESE 3) options "45" (WITHOUT QUOTES) for SM-T590 / option "46" (WITHOUT QUOTES) for SM-T595 / or option "47" (WITHOUT QUOTES) for SM-T597.

Finally select "y" (WITHOUT QUOTES) to accept and then select "y" (WITHOUT QUOTES) to restart.




FINISHED!!!!
YOU ARE DONE!!!!

Hope you enjoy, a lot of work has gone in to making this possible on the Galaxy Tab A 10.5 SM-T590/SM-T595/SM-T597.



BUGS/ISSUES:
Encryption
Lockscreen password NOT WORKING (DO NOT SET A PASSWORD)
MTP not working in TWRP
Two out of four speakers WORKING
Can only enable adoptable storage in Lineage 16 and carry it over to Lineage 17.1





DEMONSTRATION/REVIEW VIDEO COMING SOON!!!!




BROUGHT TO YOU BY THE ONE AND ONLY: MrHomebrew


Contributors: MrHomebrew, Rupansh and Cale.

Source Code Used To Help Build TWRP For SM-T590/SM-T595/SM-T597
https://github.com/rupansh/android_kernel_samsung_gta2xl

Magisk_PHH and Lineage 16/17.1 GSI: AndyYan​

XDA:DevDB Information
[RECOVERY][ROM][ROOT][UNOFFICAL] TWRP 3.3.1-0 + Lineage [SM-T590/SM-T595/SM-T597], Kernel for the Samsung Galaxy Tab A series

Contributors
Leonidas87, rupanshji, AndyYan, Cale
Source Code: https://github.com/rupansh/android_kernel_samsung_gta2xl

Kernel Special Features:

Version Information
Status: Stable

Created 2020-02-20
Last Updated 2020-02-20
 
Last edited:

supelele

Member
Dec 6, 2018
33
6
Stuttgart
Try forgetting the network in wifi settings. Reboot and then connect to the network again with the password. Might help, I noticed that one time during testing

Did try that. It keeps remembered and after a resstart it is connected. But after 2 Minutes it goes to disconnected and stays there.

Tried 2 wifis. Tried aswell reflashing line 17.
No success :/
 

TrinityTrip54

Member
Jun 26, 2012
5
0
Want to try but...

Firstly, thank you for this. I can only imagine the time and effort to figure this out.
How the hell you guys do this I'll never know. Kudos.

Now, what if I want to install LineageOS 16 without the adoptable storage and get root? Is there a reason one needs adoptable storage for this process?
Nervous about having an eventually-to-fail sd card in there and no spare sd card slot to add storage.

All I really want (sorry, would like) right now is root so I can fiddle with my device. It seems all other attempts at pure root result in bootloop and having to reflash stock. I know, I tried https://forum.xda-developers.com/showthread.php?p=81286251#post81286251 and posted my results.

Is there a method to just install LlineageOS/Gapps, Magisk, Busybox/su?

Not wanting to knock your efforts, but a slimmed down LinOS16 with root installation instr. will be fantastic!

Is there a benefit to having to do the system install with adoptable storage?
Thanks again.
T
 

koobie777

Senior Member
Sep 15, 2009
467
134
OnePlus 6T
Google Pixel 6 Pro
Is there a method to just install LlineageOS/Gapps, Magisk, Busybox/su?

Not wanting to knock your efforts, but a slimmed down LinOS16 with root installation instr. will be fantastic!

Is there a benefit to having to do the system install with adoptable storage?
Thanks again.
T
You don't have to use adoptable storage it's just an option really. If you want to use lineage 16 you can just fine with even magisk canary builds, might want try out some other GSI a64a ( ARM 32-bit with 64-bit binder, A-only) builds with an AOSP base and see what works. The only benefit would be having extra install space for loads of apps and full access to storage. As far as lineage 17 goes you must flash the magisk-phh for it to even boot but adoptable storage you don't need. Still follow the instructions minus adoptable storage and you'll achieve root in no time. As of right now there's been weekly builds of lineage GSI. Hopefully we'll get a real build of lineage 17 eventually.

Highly recommend orange fox recovery.
 
Last edited:
Dec 15, 2010
24
1
Boot loop after installing Busybox for Android NDK and MagiskHide Props Config

8.
(VERY IMPORTANT YOU CAN UPDATE (MAGISK MANAGER) BUT NOT (MAGISK) ITSELF!!!! DO NOT UPDATE MAGISK!!!!) YOU WILL END UP IN A BOOT LOOP).

(VERY IMPORTANT) REBOOT TO SYSTEM AND GO IN TO MAGISK MANAGER.

Go to modules in Magisk Manager and install Busybox for Android NDK (DO NOT REBOOT) and also install MagiskHide Props Config (NOW REBOOT).

After reboot go to developer options/settings (System/Advanced/Developer options) and enable Local terminal.
(If developer options is not viewable tap build number in settings/about a bunch of times till it enables)
(Then go back and you should see developer options in settings).
Hello community,
I am now at this point. I have installed just Linage 17, without Linage 16 without gapps, because i dont need them.
So, lineage 17 is starting, now I have to prepare Magisk.
I have updated _JUST_ Magisk Manager (see screenshot) and installed two recommended modules (Busybox for Android NDK and MagiskHide Props Config)
After reboot ends up in a boot loop. Interim solution is start to recovery and make factory reset. In this case is Magisk not available. After Magisk installation there is again a loop. I tried this 3 times. What I am doing wrong?
 

Attachments

  • IMG_20200323_155418.jpg
    IMG_20200323_155418.jpg
    236.7 KB · Views: 405
  • IMG_20200323_155327.jpg
    IMG_20200323_155327.jpg
    246.3 KB · Views: 411
  • IMG_20200323_155334.jpg
    IMG_20200323_155334.jpg
    251.8 KB · Views: 399
  • IMG_20200323_155842.jpg
    IMG_20200323_155842.jpg
    247.1 KB · Views: 390
  • IMG_20200323_155754.jpg
    IMG_20200323_155754.jpg
    240.9 KB · Views: 387

koobie777

Senior Member
Sep 15, 2009
467
134
OnePlus 6T
Google Pixel 6 Pro
Hello community,
I am now at this point. I have installed just Linage 17, without Linage 16 without gapps, because i dont need them.
So, lineage 17 is starting, now I have to prepare Magisk.
I have updated _JUST_ Magisk Manager (see screenshot) and installed two recommended modules (Busybox for Android NDK and MagiskHide Props Config)
After reboot ends up in a boot loop. Interim solution is start to recovery and make factory reset. In this case is Magisk not available. After Magisk installation there is again a loop. I tried this 3 times. What I am doing wrong?
Are you using magisk-phh? Also try using magisk manager Canary
 
Dec 15, 2010
24
1
Last edited:

koobie777

Senior Member
Sep 15, 2009
467
134
OnePlus 6T
Google Pixel 6 Pro
The rom works great, but one question, is it possible to get the assistant ambient mode on this device when i place it in my pogodock?
As far as I know probably not. These are GSI builds and are not exactly fully supported for our devices but still function pretty good.

---------- Post added at 08:53 AM ---------- Previous post was at 08:53 AM ----------

Yes. Step 7
https://sourceforge.net/projects/de...magisk/Magisk-v20.2-b29f0ca4-phh.zip/download

What ist Magisk Manager canary?

Edit: :) many thx
https://forum.xda-developers.com/apps/magisk/dev-magisk-canary-channel-bleeding-edge-t3839337
It semms to be stable, after I installed this apk. Magisk is now available as app, i can see the installed modules and the system starts correctly.
Do I ned the next steps with su?
Next steps for su? Which steps are you referring too? As soon as you have magisk-phh flashed with Canary manager on 17 you have SU. As far as 17 goes do not update magisk just manager. 16 you can use any magisk up to Canary
 
Last edited:
Dec 15, 2010
24
1
Next steps for su? Which steps are you referring too? As soon as you have magisk-phh flashed with Canary manager on 17 you have SU. As far as 17 goes do not update magisk just manager. 16 you can use any magisk up to Canary
I refer to step 9 in this manual on page 1.
But su is indeed over Magisk configuration. ROM works very well :)
 

koobie777

Senior Member
Sep 15, 2009
467
134
OnePlus 6T
Google Pixel 6 Pro

Top Liked Posts

  • There are no posts matching your filters.
  • 9
    Galaxy Tab A 10.5 SM-T590/SM-T595/SM-T597


    TWRP and Lineage 16/17.1 for (SM-T590/SM-T595/SM-T597)!!!!!!!!!!!!!!!!!!!!!




    BROUGHT TO YOU BY: MrHomebrew


    BIG CREDIT TO: Rupansh (For his time, work: dedication and discovery on how to achieve TWRP on these devices).

    THANK YOU TO: Cale (For his time, findings and testing).



    READ ENTIRE POST!!!!!!!!
    READ ENTIRE POST!!!!!!!!
    READ ENTIRE POST!!!!!!!!


    THIS IS AT YOUR OWN DESCRETION AND I AM NOT RESPONSIBLE FOR ANYTHING THAT COULD GO WRONG (for example a BRICKED DEVICE)!!!!!!!!
    EXPECIALLY IF YOU CAN NOT FALLOW INSTRUCTIONS PROPERLY!!!!!!!!
    THIS IS SIMPLY A GUIDE AND IF YOU ARE WILLING TO ATTEMPT ON YOUR OWN DEVICE THAT IS FULLY YOUR CHOICE, RESPONSIBILY and DESCRETION!!!!!!!!


    IF YOU ARE STUCK IN A BOOTLOOP REBOOT TO DOWNLOAD MODE AND FLASH STOCK SAMSUNG ROM IN ODIN AND IF YOU WOULD LIKE, TRY AGAIN!!!!





    1.
    Download stock/unmodded Odin:
    https://forum.xda-developers.com/attachment.php?attachmentid=4946889&d=1581302091

    Install stock SM-T590/T595/T597 PIE rom with stock/unmodded Odin in download mode
    (POWER OFF TABLET AND BOOT WITH VOLUME UP, DOWN AND POWER BUTTON WELL PLUGGED IN TO YOUR PC THROUGH USB).



    2.
    Finish setup SKIP ALL and enable OEM UNLOCK in developer options/settings.
    (If developer options/settings is not viewable tap build number in settings/about a bunch of times)
    (Then go back and you should see developer options in settings and ENABLE OEM UNLOCK).



    3.
    Download patched/modded Odin:
    https://forum.xda-developers.com/attachment.php?attachmentid=4952061&d=1581888388

    Reboot to recovery (POWER OFF TABLET AND BOOT WITH VOLUME UP AND POWER BUTTON).

    Select wipe data/factory reset in recovery (THIS WILL WIPE THE TABLET).

    THEN SELECT REBOOT TO BOOTLOADER (DO NOT REBOOT THE DEVICE TO THE SYSTEM, STRAIGHT TO THE BOOTLOADER/DOWNLOAD MODE)
    (BLACK LOOKING SCREEN THIS TIME).



    4.
    Download TWRP:
    (SM-T590)
    Mega - https://mega.nz/#!nVIknQrB!-Zb_xBWy2_Ruj0TBMHPQGvND1uA_LtOvwdRkmV9sFnQ
    Zippyshare - https://www15.zippyshare.com/v/dLVoxicq/file.html

    (SM-T595/SM-T597)
    Mega - https://mega.nz/#!GQQWnASY!T0oJEkwu9m2rviVYFHy_E5tfithsqLYUTjcIW04iGzw
    Zippyshare - https://www45.zippyshare.com/v/2VGMIYyb/file.html

    Well in download mode open patched/modded Odin.

    Select options in patched/modded odin and UNCHECK Auto Reboot and F. Reset Time.

    Select recovery.tar.md5 (SPECIFIC FOR YOUR DEVICE MODEL SM-T590 or SM-T595/SM-T597) in the AP tab of patched/modded odin.

    Flash recovery.tar.md5 to your tablet.

    WHEN FINISHED MAKE SURE TO REBOOT TO RECOVERY MODE/TWRP(STEPS BELOW).
    HOLD (VOLUME DOWN AND POWER BUTTON) AND AS SOON AS THE TABLET TURNS OFF HOLD (VOLUME UP AND THE POWER BUTTON) TO FORCE RECOVERY MODE/TWRP
    (DO NOT REBOOT THE DEVICE TO THE SYSTEM, STRAIGHT TO RECOVERY MODE/TWRP).



    5.
    Download Lineage 16 Download Lineage 16 and unpack the .xz so you are left with a .img file (PLACE IT ON A SECONDARY/SPARE MICRO SD CARD):
    (SM-T590/SM-T595/SM-T597)
    Sourceforge - https://sourceforge.net/projects/an...017-UNOFFICIAL-treble_a64_avN.img.xz/download

    Download Disable_Dm-Verity_ForceEncrypt_08.18.2019.zip (PLACE IT ON A SECONDARY/SPARE MICRO SD CARD):
    Mega - https://mega.nz/#!eUpj3AAR!B-3_dgBX9nEj4PJufCnCl7FsiS5bJXy-XvNsBg2KQXg
    Zippyshare - https://www120.zippyshare.com/v/fDpBrVte/file.html

    Download open_gapps-arm-9.0-nano (SELECT AND DOWNLOAD ARM, 9.0 nano VARIANT) (PLACE IT ON A SECONDARY/SPARE MICRO SD CARD):
    https://opengapps.org/

    Unmount your micro sd in TWRP, remove CURRENT/MAIN micro sd card from your tablet and replace with the SECONDARY micro sd.

    In recovery/twrp select wipe tab, then format data and type yes fallowed by enter (THIS WILL FORMAT/ERASE ALL DATA ON THE TABLET).

    Go back to main TWRP menu, select reboot and then REBOOT TO RECOVERY.

    Once Rebooted to RECOVERY/TWRP select install and at the bottom select install img.

    Find the lineage-16.0-20191017-UNOFFICIAL-treble_a64_avN.img select and install it to SYSTEM IMAGE (MAKE SURE YOU SELECT SYSTEM IMAGE FOR INSTALL LOCATION!!!!).

    Go back and select wipe then advanced wipe. Toggle System partition, select repair or change partition and then Resize File System.
    (Swipe to resize).

    Go back select install and at the bottom select install zip.

    Then install open_gapps-arm-9.0-nano zip file in TWRP (AND THEN WIPE CACHE/DALVIK).

    Go back select install and install Disable_Dm-Verity_ForceEncrypt_08.18.2019.zip in TWRP.

    Unmount your micro sd in TWRP, remove SECONDARY micro sd from your tablet and replace it with the MAIN micro sd card.



    6.
    REBOOT TO SYSTEM AND SEE THE MAGIC HAPPEN (NOT DONE YET IF YOU WANT ANDROID 10 ALONG WITH ADOPTABLE STORAGE!!!!).

    Setup device

    FORMAT your MAIN micro sd card in android (SHOULD SEE A NOTIFICATION TO FORMAT MICRO SD CARD).

    Select the formatting notification, dismiss the first popup and select adoptable/internal storage. (Be Patient and let it finish formatting).

    (IF LINEAGE 16 DOES NOT ASK TO FORMAT MICRO SD CARD EJECT THEN PLACE IT IN A WINDOWS COMPUTER AND FORMAT TO SOMETHING ANDROID DOES NOT LIKE AND TRY AGAIN)
    (FALLOWING INSTRUCTIONS BELOW)!!!!

    Then insert your MAIN micro sd card (THAT IS FORMATTED IN A WAY THAT FORCES YOU TO HAVE TO REFORMAT) the MAIN micro sd card in Lineage 16
    (SHOULD SEE A NOTIFICATION TO FORMAT MICRO SD CARD).

    Select the formatting notification, dismiss the first popup and select adoptable/internal storage. (Be Patient and let it finish formatting).



    7.
    Download Lineage 17.1 and unpack the .xz so you are left with a .img file (PLACE IT ON A SECONDARY/SPARE MICRO SD CARD):
    (SM-T590/SM-T595/SM-T597)
    Sourceforge - https://sourceforge.net/projects/an...111-UNOFFICIAL-treble_a64_avN.img.xz/download

    Download open_gapps-arm-10.0-nano (SELECT AND DOWNLOAD ARM, 10.0 nano VARIANT) (PLACE IT ON A SECONDARY/SPARE MICRO SD CARD):
    https://opengapps.org/

    Download PHH-Magisk (PLACE IT ON A SECONDARY/SPARE MICRO SD CARD)
    https://sourceforge.net/projects/de...magisk/Magisk-v20.2-b29f0ca4-phh.zip/download

    Power off or reboot to twrp (VOLUME UP AND THE POWER BUTTON).

    Unmount your micro sd in TWRP, remove MAIN micro sd card (NOW USED AS ADOPTABLE STORAGE) from your tablet and replace with the SECONDARY micro sd.

    Now select install and at the bottom select install img.

    Find the lineage-17.1-20200111-UNOFFICIAL-treble_a64_avN.img select and install it to SYSTEM IMAGE (MAKE SURE YOU SELECT SYSTEM IMAGE FOR INSTALL LOCATION!!!!).

    Go back and select wipe then advanced wipe. Toggle System partition, select repair or change partition and then Resize File System.
    (Swipe to resize).

    Go back select install and at the bottom select install zip.

    Then install open_gapps-arm-10.0-nano zip file in TWRP (AND THEN WIPE CACHE/DALVIK).

    Go back select install and YOU MUST INSTALL Magisk-v20.2-b29f0ca4-phh.zip (OR ELSE LINEAGE 17.1 WILL NOT BOOT).

    Go back select install and install Disable_Dm-Verity_ForceEncrypt_08.18.2019.zip in TWRP.

    Unmount your micro sd in TWRP, remove SECONDARY micro sd from your tablet and replace it with the MAIN micro sd card (STILL USED AS ADOPTABLE STORAGE).



    8.
    (VERY IMPORTANT YOU CAN UPDATE (MAGISK MANAGER) BUT NOT (MAGISK) ITSELF!!!! DO NOT UPDATE MAGISK!!!!) YOU WILL END UP IN A BOOT LOOP).

    (VERY IMPORTANT) REBOOT TO SYSTEM AND GO IN TO MAGISK MANAGER.

    Go to modules in Magisk Manager and install Busybox for Android NDK (DO NOT REBOOT) and also install MagiskHide Props Config (NOW REBOOT).

    After reboot go to developer options/settings (System/Advanced/Developer options) and enable Local terminal.
    (If developer options is not viewable tap build number in settings/about a bunch of times till it enables)
    (Then go back and you should see developer options in settings).



    9.
    Return to home screen and launch terminal app.

    In terminal app type "su" (WITHOUT QUOTES) and hit enter (ALWAYS HIT ENTER TO EXECUTE THE COMMAND).

    Accept Magisk/Superuser popup for terminal.
    (If you accidentally deny/miss permission go to Magisk a enable Superuser for terminal).

    In terminal app type "props" (WITHOUT QUOTES).

    Select option "1" (WITHOUT QUOTES), then select option "f" (WITHOUT QUOTES) and then select option "23" (WITHOUT QUOTES).

    Now select (ONE OF THESE 3) options "45" (WITHOUT QUOTES) for SM-T590 / option "46" (WITHOUT QUOTES) for SM-T595 / or option "47" (WITHOUT QUOTES) for SM-T597.

    Finally select "y" (WITHOUT QUOTES) to accept and then select "y" (WITHOUT QUOTES) to restart.




    FINISHED!!!!
    YOU ARE DONE!!!!

    Hope you enjoy, a lot of work has gone in to making this possible on the Galaxy Tab A 10.5 SM-T590/SM-T595/SM-T597.



    BUGS/ISSUES:
    Encryption
    Lockscreen password NOT WORKING (DO NOT SET A PASSWORD)
    MTP not working in TWRP
    Two out of four speakers WORKING
    Can only enable adoptable storage in Lineage 16 and carry it over to Lineage 17.1





    DEMONSTRATION/REVIEW VIDEO COMING SOON!!!!




    BROUGHT TO YOU BY THE ONE AND ONLY: MrHomebrew


    Contributors: MrHomebrew, Rupansh and Cale.

    Source Code Used To Help Build TWRP For SM-T590/SM-T595/SM-T597
    https://github.com/rupansh/android_kernel_samsung_gta2xl

    Magisk_PHH and Lineage 16/17.1 GSI: AndyYan​

    XDA:DevDB Information
    [RECOVERY][ROM][ROOT][UNOFFICAL] TWRP 3.3.1-0 + Lineage [SM-T590/SM-T595/SM-T597], Kernel for the Samsung Galaxy Tab A series

    Contributors
    Leonidas87, rupanshji, AndyYan, Cale
    Source Code: https://github.com/rupansh/android_kernel_samsung_gta2xl

    Kernel Special Features:

    Version Information
    Status: Stable

    Created 2020-02-20
    Last Updated 2020-02-20
    3
    Good news guys, I got TWRP 3.6.0 running on my SM-T590 with FDE (Full Disk Encryption) support, might release it later if I can fix the remaining bugs.

    Screenshot_2022-02-01-15-52-21.png Screenshot_2022-02-01-15-52-16.png
    2
    Sorry to bother again, but how exactly?

    Already found a better solution thanks to AndyYan. While the device is stuck on TWRP screen, connect it to a PC, open a command prompt with adb and run:

    adb shell
    rm /data/system/storage.xml
    reboot

    Then it should boot into TWRP without issues.
    1
    confirmed working on sm - t590.
    many thanks :) !
    1
    this time the "RESIZE SYSTEM" didn't make an error, then everything went smooth.

    Glad you figured it out, I haven't had problems like that, maybe because I'm using a newer TWRP build.

    Now I have the "just a sec" bug, stuck on the welcome wizard.

    Yep that's happening on a wide range of ROMs, even on my non-GSI 19.1 build, I just restart it until it goes through.