yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Tab A series Guides, News, & Discus] agreenbhm:
No, it isn't. The error posted is clearly a Java error which would not have anything to do with TWRP. You seem deadset on TWRP encryption being such a showstopper but you would be best to do some research on the topic and see that it is not something we can "just fix" and better educate yourself on what it means and affects. If you think you can fix it then fix it. Don't post here asking for someone to tell you how to make the fix. If anyone had an answer don't you they would have done it already?
[Samsung Galaxy Tab A series Guides, News, & Discus] Crustaay:
Tried the top answer, the toast message doesnt appear but it still changes to "corrupted"
[Samsung Galaxy Tab A series Guides, News, & Discus] BakaPhoenix:
then is probably your sd too slow that give error during the procedure, adoptable storage need fast sd.

I'm using this sd and is working no problems, you can test the speed of your sd using this app https://play.google.com/store/apps/details?id=com.Saplin.CPDT&hl=en_US&gl=US

If is too slow you probably should avoid using adoptable storage with it anyway
[Samsung Galaxy Tab A series Guides, News, & Discus] Crustaay:
I'm getting 39.62MB/s, 68.54MB/s, 500KB/s, 2.80MB/s, 4.61GB/s for sequential write, read, random write, read, and memory copy on my sd card. Given the apps that i intend to install onto the sd card i am fine with those kinds of speeds, its not like i would be playing asset intensive games like genshin on this tablet. The games i do play i intend to store internally. I have a simular card of the same speed class in my phone and it works fine.

Speaking of internal apps i am having troubles with installing apps that have .obb files, i think i may have borked the install of gapps but i am not sure, wonder if anyone else is having this issue. Using apkpure seems to be a workaround so far.
[Samsung Galaxy Tab A series Guides, News, & Discus] Alexis Levin:
deleted
[Samsung Galaxy Tab A series Guides, News, & Discus] MultiKoopa:
I'm confused. If the internal storage can't be accessed, then... how does this rom work?

I must be misunderstanding the issue listed in the first post.
[Samsung Galaxy Tab A series Guides, News, & Discus] agreenbhm:
Internal storage works just fine. Android 11 will encrypt the contents of your userdata partition and TWRP does not have the ability to decrypt them, so anything in userdata is inaccessible to TWRP after first boot. That just means you can't manipulate files from TWRP that you have within Android's userdata. If you use an SD card to store things you need to access in TWRP, all is fine.
[Samsung Galaxy Tab A series Guides, News, & Discus] MultiKoopa:
Hmm. Haven't seen this issue with other LineageOS 18 roms?
[Samsung Galaxy Tab A series Guides, News, & Discus] agreenbhm:
This has nothing to do with Lineage. It is FBE from Android and TWRP compatibility. Unless encryption is disabled in the ROM I would suspect this would affect others too.
[Samsung Galaxy Tab A series Guides, News, & Discus] MultiKoopa:
But I'm saying I haven't seen this issue posted in other LineageOS 18 ROMs (which are based on Android 11). do they just not consider it a noteworthy issue? or am I missing something ELSE? could be, I can be dumb sometimes :)
[Samsung Galaxy Tab A series Guides, News, & Discus] Annonnimmouss:
@agreenbhm Where can I find the device tree, kernel and vendor for sm-t500?
[Samsung Galaxy Tab A series Guides, News, & Discus] Annonnimmouss:
I ask this because I haven't found anything about this Tablet yet, and, I am still too new to compiling to know how to assemble, create or find, the kernel, the device tree and the vendor.
[Samsung Galaxy Tab A series Guides, News, & Discus] Annonnimmouss:
I also don't care if Twrp doesn't read the internal memory, I don't even know why I kept asking for it, since it wouldn't change anything for me, and, I was an idiot for charging someone to do something that I don't need and the person is not obligated to follow what I want, I'm sorry.
[Samsung Galaxy Tab A series Guides, News, & Discus] Annonnimmouss:
Lineage and twrp worked and work perfectly, the only bug I found, in my use, was not being able to install magisk modules, because if installed, the system will reboot every minute unless uninstalled.
[Samsung Galaxy Tab A series Guides, News, & Discus] agreenbhm:
I have not used Magisk modules with the ROM, just Magisk in general. The fix script in the OP is the first thing you should try. If that doesn't work, time to bust out logcat and start monitoring for crashes. Post your results and we can look.
[Samsung Galaxy Tab A series Guides, News, & Discus] xAriana:
Flashing vbmeta doesnt work for me?

@agreenbhm
[Samsung Galaxy Tab A series Guides, News, & Discus] agreenbhm:
Are you sure your bootloader is unlocked and that oem unlock is still enabled in Developer Settings?
[Samsung Galaxy Tab A series Guides, News, & Discus] xAriana:
Yes
[Samsung Galaxy Tab A series Guides, News, & Discus] xAriana:
infact oem unlock is not visible in dev settings but i get the warning when i boot
[Samsung Galaxy Tab A series Guides, News, & Discus] xAriana:
it would seem u have to connect it to wifi after doing the first oem unlock.

thats the problem.
[Samsung Galaxy Tab A series Guides, News, & Discus] xAriana:
If your able to port a version of android 10 to the SM-t500 as googles new storage framework breaks most of my companies apps.
[Samsung Galaxy Tab A series Guides, News, & Discus] agreenbhm:
That won't be happening. Feel free to try it yourself.
[Samsung Galaxy Tab A series Guides, News, & Discus] lilfighterr:
Hi, I flashed TWRP (as a tar) using odin on the AP slot and when I got into recovery mode, it was still the stock recovery. So I tried flashing TWRP again and somehow now I am unable to get into recovery mode at all. It just keeps booting back up to the stock ROM. Any ideas?

Thanks
[Samsung Galaxy Tab A series Guides, News, & Discus] lilfighterr:
Update: I entered recovery using adb and it's still stock recovery
[Samsung Galaxy Tab A series Guides, News, & Discus] airybreath:
"adb reboot recovery" has been getting me to stock recovery too. The button combinations still get me into TWRP.

So here's what it looks like the SM-T510 build is doing for the MTP issue:

https://xdaforums.com/t/rom-sm-t510...-galaxy-tab-a-10-1-2019.4060153/post-84071513

Does anyone have a reasonable amount of time on their hands to try this out and report on their findings? I don't personally have the time to dedicate to setting up a build environment, applying the changes, building it, and all that, just to discover that it won't work...
[Samsung Galaxy Tab A series Guides, News, & Discus] lilfighterr:
Button combinations don't even let me boot into recovery. Instead I just always end up fully booted back into the stock ROM. I'm contemplating resetting everything and restarting with a clean slate. If I flash the stock ROM, will it reset all the installations I've done so far? (Only got up to step 4)
[Samsung Galaxy Tab A series Guides, News, & Discus] Alexis Levin:
Hello sir I entered into the twrp recovery for the first time but I see logs in a task screen like this

E:failed to mount /tmp/com.android.wifi.apex to loop device /dev/block/loop16

E:unable to open loop device: /dev/block/loop17

E:unable to open loop device: /dev/block/loop18

E:unable to open loop device: /dev/block/loop19

E:unable to open loop device: /dev/block/loop20

Updating partition details...

Failed to mount '/keydata' (Invalid argument)

Failed to mount '/keyrefuge' (Invalid argument)

...done

Full SELinux support is present.

MTP Enabled

How to fix that error? pls help
[Samsung Galaxy Tab A series Guides, News, & Discus] wlsxg:
E:failed to mount /tmp/com.android.os.statsd.apex to loop device /dev/block/loop16

E:unable to open loop device: /dev/block/loop17

E:unable to open loop device: /dev/block/loop18

E:unable to open loop device: /dev/block/loop19

E:unable to open loop device: /dev/block/loop20

Updating partition details...

Failed to mount '/keydata' (Invalid argument)

Failed to mount '/keyrefuge' (Invalid argument)

and not wifi not audio please help me
[Samsung Galaxy Tab A series Guides, News, & Discus] EdwardTCM:
you have to plug the USB Type-c cable into the pc and try it from there
[Samsung Galaxy Tab A series Guides, News, & Discus] DirtyAngelicaSecured:
Is SELinux Permissive of Enforcing in this ROM? Does this device and ROM allow of relocking of bootloader (while maintaining the custom ROM) like Pixel phones?
[Samsung Galaxy Tab A series Guides, News, & Discus] jayzarry84:
I want to put this back on my tablet, has the brightness issue been fixed?
[Samsung Galaxy Tab A series Guides, News, & Discus] Sudomancer:
Has anybody succeeded in flashing Magisk v23 to the SM-T500? Been away from the scene for a while and can't quite figure it out.
[Samsung Galaxy Tab A series Guides, News, & Discus] lewmur:
I have v23 installed but I originally flashed Magiskv21.4.zip with TWRP and then used Magisk Manager to update to v23.
[Samsung Galaxy Tab A series Guides, News, & Discus] Sudomancer:
Flashed normally via TWRP and ran the provided script, worked fine.
[Samsung Galaxy Tab A series Guides, News, & Discus] Sudomancer:
Is there any way to automatically turn the screen on/off when opening/closing a book case? Or is there no access to the sensor...
[Samsung Galaxy Tab A series Guides, News, & Discus] Navani:
Hi all

I've been away from the scene for a while, but recently got this tablet and want to get rid of the Samsung stuff completely. I was able to get TWRP and LineageOS installed, but I'm not able to activate ADB sideload in TWRP - it stays at connecting, then when I try to cancel it the recovery just stays on cancelling. Does anyone know what I did wrong?

Basically, I'm unable to flash the script from TWRP that will fix brightness/Magisk..

EDIT: Please ignore the above! I resolved my issue. I'm so amateur that I did not realize you don't need to go to the ADB Sideload option in Advanced, you can just action it from your PC. Everything worked great! Hope this helps anyone who's dumb like me.. now if anyone has any good recommendations for a LineageOS theme, please let me know :) Thanks to the OP for the detailed instructions, really had 0 issues besides my silly one!
[Samsung Galaxy Tab A series Guides, News, & Discus] LainSzvahl:
Anyone else having trouble connecting to pc and sending files over usb? it doesnt show up at all in lineage
[Samsung Galaxy Tab A series Guides, News, & Discus] wizzdome:
Quick question. My main problem with this device is lack of internal storage space. Will this let me format my 128gb sd as internal storage so that I can install more than just a handful of apps? Or atleast allow me to install or move apps to sd?
[Samsung Galaxy Tab A series Guides, News, & Discus] lewmur:
No. Read the previous posts on the issure.
[Samsung Galaxy Tab A series Guides, News, & Discus] wolfgang6602:
I have random reboots to its begin at the point that i actived the magisk hide and my google play stays that am not certified

Also gives me message form magisk with the abnormal su thing can someone please help me?
[Samsung Galaxy Tab A series Guides, News, & Discus] wolfgang6602:
Nevermind i fixed all my problems 😆
[Samsung Galaxy Tab A series Guides, News, & Discus] Farciminis:
Are there any intructions on how to revert back to stock the freezing is too bad for me and I'm struggling to get Odin to flash anything
[Samsung Galaxy Tab A series Guides, News, & Discus] DerEmryz:
Hey @agreenbhm

Thank you very much for your work! I got it installed and it's working, although Gapps are problematic. After booting into LOS, i get the error that the device is not google Play protect certified. After registering it manually the error still remains.

Any idea what i could do? Thanks in advance!
[Samsung Galaxy Tab A series Guides, News, & Discus] DerEmryz:
Hey, could you tell me how you got the certification fixed? i registered the device manually, but still it won't work.
[Samsung Galaxy Tab A series Guides, News, & Discus] wolfgang6602:
When u register ur device wait for 5 min and restart the tablet and clear data in playstore and play service👌
[Samsung Galaxy Tab A series Guides, News, & Discus] DerEmryz:
Perfect, thank you very much! It worked!
[Samsung Galaxy Tab A series Guides, News, & Discus] karl2001:
Hi, first : sorry my bad english! i'm a french noob.

Second : a great congratulation for your hard work. I have tried your rom on my device. it's wonderful! After format and wipe, SD is ok. But the Wifi is allways over! with the first rom or the sacond one! What can i do for that? Thanks for yours helps!

best regards from France!!
[Samsung Galaxy Tab A series Guides, News, & Discus] Defcon_User:
hey all,

im relative new with lineage and twrp i only have done a custom rom installation with an old Note 3 and now i have done the tutorial on an sm-t505 EU version and it worked for now.

I was able to install twrp and lineage and magisk ( magisk may have some issues for now )

the only bugs i have the wifi will not work and i have no sound.

the brigtness are fixed with the fix from the tutorial.

can anyone help me or did anybody have such error like me or done this tutorial with sm-t505? best regards ✌️
[Samsung Galaxy Tab A series Guides, News, & Discus] karl2001:
format first and wipe all except sd....
[Samsung Galaxy Tab A series Guides, News, & Discus] karl2001:
hi, i haven't no sound too!! please help me....
[Samsung Galaxy Tab A series Guides, News, & Discus] wizzdome:
I found that you can move apps to SD card on the updated stock rom by turning on a setting in developer options called force allow apps on SD or something along those lines. It does not let you moves system or stock apps but you can move the apps you install from the playstore. The my files storage explorer won't show the change in storage. To see your actual storage visit your installed apps on the play store. This will show your true free space. To move apps after turning the setting on... go to settings...apps.... select an app you want to move... choose storage. If it can be moved to SD you will have a button that says change. When you click that it gives option internal or sd... choose SD m and it will pop up a button that says move... click move and wait till it has moved.... rinse repeat with other apps will give you more room.

Note. If you move widgets to SD they will no longer load until you put them back to internal.
[Samsung Galaxy Tab A series Guides, News, & Discus] wesleyvanneck12345678:
This is not a port of lineage os it's gsi system img in a super img so am waiting for a actual lineage os port yes ported TWRP but saying he ported lineage os go to far
[Samsung Galaxy Tab A series Guides, News, & Discus] LainSzvahl:
no matter what i do or how i try , i cannot get magisk to hide root, it keeps saying abnormal state on its own root binaries, ive installed linieage with out root and started it up checked it for root and it had none, but when i twrp magisk in, it writes to the boot.image saying it stock and modify's it and i have root great!, but when in lineage magisk app complains about its own root ( yes i have used the sm-t500 fix in the sh bash file ) but it still stays and applications still can see root even if i enable magiskhide so im not sure why magisk is having so much problems and doesnt help that the sar is readonly so i cant just remove the su binaries.

But if i dont install magisk this lineageos has no root which i need for some apps. really i know its because its stuck in the boot.img since magisk installed it there and it cant seem to remove itself from it.
[Samsung Galaxy Tab A series Guides, News, & Discus] Sudomancer:
How did you fix the unsupported SU issue? I didn't care enough to look into it myself, but if someone else already fixed it I'd like to know.
[Samsung Galaxy Tab A series Guides, News, & Discus] Deano1889:
What version ROM? 'm on T500XXU3AUC6 and I can force allow apps option from within Dev option but it still won't allow me to move any apps across via Storage or Apps menu.
[Samsung Galaxy Tab A series Guides, News, & Discus] testman42:
I messed something up. Odin failed to flash vbmeta_disabled_R, and after some time of trying various things, I decided to re-lock bootloader from Download mode, in hopes that unlocking it again would maybe make flashing work. But now there is no OEM Unlock option in developer options, fastboot can't unlock it either.

Am I in "unlock jail"? Or did I permanently mess up my tablet?

I must say that I am quite disappointed with quality of instruction in OP / this thread.

Would it be possible to get a more detailed guide, with steps explained more accurately?

I would gladly contribute to the creation of such guide.

Would it make sense to make a GitLab/GitHub repository at this point?

So that we can have a guide in nice README.md, that people can contribute to as they wish? And also so that we have a nice issue tracker?

This thread is not exactly the best example of organised information.

edit: somehow managed to trick the developer options to display the OEM Unlocking toggle again. followed some guide that instructed me to disable automatic time & timezone, disable auto system update in developer options, disable auto update download in Software Update and to tap on Manual Download in software update. Did not seem to work at first, but it did work for some reason after I connected to WiFi.

It still did not unlock the bootloader after restart, but the option to unlock did appear in download mode.

So now bootloader is unlocked again and I am back to getting Odin to successfuly flash vbmeta_disabled_R.

edit 2: bloody hell

I got it to work, LineageOS is installed. But there were so many pit-falls and obstacles on the way that at some point I considered giving up.

But at least I learned a lot about how Samsung is brutally locking down their tech.

I am not sure if any of these issues were reported already, but here are the ones that I see on my tablet now:

- WiFi not working

- Gyroscope not working (screen not rotating when auto-rotate is enabled)

- when connected through USB cable, the MTP file transfer does not work (File browser does detect the device, but fails to display the content)

As I said, I am willing to contribute my newly gained knowledge towards something that will make installation easier.

Feel free to tell me how I could do that.
[Samsung Galaxy Tab A series Guides, News, & Discus] lewmur:
If there is no OEM option in Dev it is because you don't have a Google Account registered so there is no need to enable OEM. Remember, unlocking the bootloader and enabling OEM are two entirely different things. One has NOTHING to do with the other. The bootloader has to be unlocked to flash anything other than a stock ROM. OEM needs to be enabled to prevent the FRP lock from engaging when performing a factory reset. But ONLY if there is a Google Account present on the device.

Also, Samsung tablet don't use fastboot. That is what Odin is for.
[Samsung Galaxy Tab A series Guides, News, & Discus] agreenbhm:
Im

I not sure what you're talking about but OEM unlocking is directly tied to bootloader unlocking (just 2 different names for it). FRP and Google accounts have nothing to do with any of this. Please think twice before spreading misinformation.

IIRC I had to connect to wifi before the OEM Unlocking setting appeared in developer settings. Probably so Samsung can make sure the device isn't blacklisted somehow or supposed to be linked to Knox Mobile Enrollment.
[Samsung Galaxy Tab A series Guides, News, & Discus] lewmur:
OEM has been around for years with the FRP lock. It is only in the last couple of years that Samsung has started locking the bootloader on tablets that weren't tied to a carrier. If you remove all of the Google Accounts prior to a factory reset and don't add when you reboot, OEM will be either grey out but enable, or not appear at all. What IS necessary is to have Dev mode enabled. I have been doing this since Android 2 with at least a dozen tablets, so don't try teaching grandpa to suck eggs.

edit: Also there are custom ROMs which don't have an OEM option. You can factory reset them without the FRP lock engaging.
[Samsung Galaxy Tab A series Guides, News, & Discus] agreenbhm:
You seem to be mixing terms. OEM is not an option (it's OEM Unlocking, so if that's what you're talking about then clarify). FRP is tied to Google or Samsung accounts and prevents you from wiping a stolen device and loading your own account on there (you need to know the credentials of the previous account). Similar to device activation lock on iOS. FRP is not connected to OEM Unlocking/bootloader unlocking. They are two completely separate things.

And since you seem to want to have a pissing contest: I've been developing hacking tools for Android since the OG Droid and hack phones as part of my job. So I know what I'm talking about. And this ROM and TWRP are my work so as far as this tablet is concerned, I know what's up.
[Samsung Galaxy Tab A series Guides, News, & Discus] mystifuzz:
Going to wait for a stable version, it freezes out for me after about 5 minutes and the only thing I can do is restart the tablet. 🤔

Edit: It appears Magisk was the one who's causing the freezes, it detects some other 'su' and tells me to uninstall it, I have no idea what, where or how to get rid of the other 'su' though. Without Magisk it's running like a dream. 😁
[Samsung Galaxy Tab A series Guides, News, & Discus] BakaPhoenix:
Can someone post some benchmark result using los?

I'm finding the tablet with stock os underperforming, for example i did a slingshot extreme on opengl 3.1 and it only did 1190 pts while looking around the internet i saw that a snapdragon 662 usually do 2300 pts.

If someone could post some bench i can find out if the problem is the tablet itself or samsung rom.

So i can decide to install this rom or not :D

Edit: nevermind i read wrong results
[Samsung Galaxy Tab A series Guides, News, & Discus] lakodathecat:
Been following thread, seems to be some inconveniences in disk partitions to small. Would disk size issue go away if bought the larger 64GB size? Also seems part of install appears to be creation or resizing partitions, would the extra disk space (64gb) get added to main partition or would have to manually resize partitons assuming all of this thread is done for the 32GB size?

Thanks
[Samsung Galaxy Tab A series Guides, News, & Discus] BakaPhoenix:
Once you root the tablet you can use app2sds to move the biggest app on the sd, i don't recomend using adoptable storage because is buggy and add more problems than the ones ytou want to fix it. I also recomend to get a high quality sd since cheap one won't make the apps runs fine
[Samsung Galaxy Tab A series Guides, News, & Discus] DirtyAngelicaSecured:
Bump!