yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] lifehackerhansol:
Alright, so, I have an idea.

gts4lvwifi has an install guide: https://wiki.lineageos.org/devices/gts4lvwifi/install

Follow this, but I have some changes:

- before following guide, flash the 3 tars from GitHub (or flash a full stock ROM tar file, either works). Then, start following guide

- this guide tells you to create a vbmeta.tar. I have already done that step for you: https://sourceforge.net/projects/lifehackerhansol-android/files/gtowifi-vbmeta.tar

- this guide tells you to create a recovery.tar. I have already done that step for you earlier in this thread.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] 2faraway2:
Thanks for your patience .. (y)

I'll try this guide
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] 2faraway2:
Unfortunately, no sucess .. :(

I started with a fresh installation of the latest stock.

In contrast to the gts4lvwifi-guide after flashing your vbmeta there was no demand to format userdata ...

However I proceeded with flashing the los recovery, but as expected -> secure check failed : recovery.img
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] 2faraway2:
Maybe the vbmeta inside the los-recovery.tar has to be the same like the vbmeta which I flashed seperatly before ?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] sirp0p0:
Having the same issue. Mine was already unlocked and rooted but I had gone back to official firmware and it was on the latest version available from Smart Switch. I get the same blue screen with "SECURE CHECK: FAIL".

==EDIT==

I made a mistake and after retrying, I was able to get into TWRP and flash the multidisabler. I was on the latest firmware before this but they must not update the bootloader. I've successfully flashed the ROM.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] antisomnic:
I'm having issues with wifi disconnecting as soon as the tablet goes to sleep. Once I wake it up I manually have to reconnect to get wifi.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] p3nguin-kun:
i cant install twrp, after flashing twrp it gives this error

how to install it?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] xperiazu21:
Is your device also a T295?

If yes, you need to keep the bootloader in Android 9 version in order to boot the unofficial recovery and flash LineageOS.

But due to bootloader rollback limitation, if you have updated to Android 11, version 4 or 5 bootloader will prevent you from rolling back to version 3 (Android 9).
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] p3nguin-kun:
how to rollback to android 9?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] xperiazu21:
For T295, there is no way to roll back to version 3 of the bootloader.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] immortel_la:
so there's no way to install twrp on android 11, hence can't install lineageos?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] lifehackerhansol:
That appears to be the case.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] shadyg:
Hey @lifehackerhansol by any chance you have a older version of lineageOS 19.1 i have 2: lineage-19.1-20230108-UNOFFICIAL-gtowifi and lineage-19.1-20230117-UNOFFICIAL-gtowifi and they get stuck at LOS boot animation, and i tryed all the tricks.

Thanks in advance !
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] lifehackerhansol:
@2faraway2 I think I reproduced the vbmeta thing.

It seems the TWRP method isn't totally right. It doesn't like it when vbmeta is combined with other files in the tar.

So far, I tried reverting to stock, and:

1. flash aboot and vaultkeeper

2. reboot, then flash vbmeta

3. finally, flash LOS recovery

and that seemed to work.

I'll try to do a writeup, upload relevant files and get back to you.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] lifehackerhansol:
I do not have this on hand.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] shadyg:
I wil try the new steps you posted for LOS 20 hop iti works!

I wil report back in a bit :)

Update, vbmeta stil gives me the same error with stock files original A11 rom, i wil try with your 3 rom files.

Update 2, still noting, my steps:

In Odin

1- stock rom

2-aboot and vaultkeeper

3-reboot, then flash vbmeta

4-flash LOS recovery

In recovery

5-factory restet all

6-instal LOS 20.0

7-Gaps 13

8-Multidisabler 3.1

Finally get stuck for eternity at the LOS boot animation :sleep:
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] lifehackerhansol:
I ran into a bootloop with my original steps.

So I figured out that vbmeta just refuses to install via Odin. I don't know why. But, for some reason LOS recovery will happily boot just fine with the old aboot/vaultkeeper.

So, what I did was flash vbmeta from LineageOS recovery.

You can extract vbmeta.img from the vbmeta TAR file, and then do the steps here:

1. LOS Recovery -> Advanced -> Enable ADB

2. `adb push vbmeta.img /tmp/vbmeta.img`

3. `adb shell dd if=/tmp/vbmeta.img of=/dev/block/bootdevice/by-name/vbmeta`

If this still gets stuck on boot animation, please go back to LOS recovery, enable ADB again, then do `adb pull /proc/last_kmsg` and send the resulting file.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] shadyg:
I`m testing now and report back in a bit!

Thanks for all the help!

Update: Same thing here is the Log
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] lifehackerhansol:
Can you try not flashing multidisabler? LOS doesn't need or want this.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] shadyg:
If i dont use multidisabler it restart after the samsung logo and in twrp the error is about encryption.

Los recovery

TWRP

Any ideeas ?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] lifehackerhansol:
So installation steps is

1. factory data reset

2. flash rom

3. flash gapps

4. reboot
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] shadyg:
yes
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] lifehackerhansol:
Can I get a last_kmsg for that as well? (formatting data is fine, it doesn't wipe the kmsg file)

also, try flashing vbmeta.img directly again, same command as above.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] shadyg:
here it is
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] lifehackerhansol:
I'm frankly not entirely sure what is up here.

Does it happen on every format?

Or, maybe gapps is the issue? You could also try format+flash without gapps...
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] shadyg:
happens with gapps and without them, i wil try to go back to stock, root the device from 0 and try to install los 20 that way, hop that works.

Stock rom "SM-T290_ROM_T290XXU3CVG3_fac"

Thank you for all your help!

Question, what stock rom did you use ?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] tymclrewhjbcpo:
My mom's SM-T290 was really sluggish so I decided to install LineageOS in it. I successfully installed it but there are several issues which bothers her.

1. Wi-Fi connection drops whenever she turns the tablet's screen off. She sells stuff online so she needs to receive notifications even when the tablet's screen is off. This is the worst issue we think so far.

2. There are no double tab to wake and double tab on home screen area to lock functions.

3. She can't set "confirm PIN without tapping OK" because it doesn't exist. She uses PIN, not pattern and that feature was enabled on stock ROM.

Is there anything we can do for those issues? The Wi-Fi one is really important so we started to consider going back to stock ROM even though it's far slower than LineageOS.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Shotgun4:
Fantastic! Got this installed in under 10min! Ill be buying you a beer sir!
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] LedTV1:
hi, this instruction help me to falsh this tabled with problem on TWRP black screen?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] lifehackerhansol:
This ROM is now official.

Because official builds are signed, converting from unofficial to official builds require a full factory reset. I do not have access to signing keys, so I cannot fix this for you.

As promised, I have fixed the BT issues, and it is part of the first official build released today.

New instructions: https://wiki.lineageos.org/devices/gtowifi/install

1. I have no idea how to fix this. I've tried all known ideas and they'd just break Wi-Fi further... But it's definitely on my to-do list.

2. AFAIK double tap to wake didn't exist in stock either. Though, feel free to prove me wrong, and then I'll look at it.

3. I don't understand what this is. I'm able to set a PIN and unlock my screen. Are you talking about something different?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] LedTV1:
Not working( After this part https://disk.yandex.ru/i/K5zgTRY1_gERZw i get black screen again
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] lifehackerhansol:
Have you converted everything back to stock first?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] LedTV1:
yes/ Try again by now, flashing https://disk.yandex.ru/i/KSlKhYu19rjU_g I buy this tabled with android 10 on boaard, have some trouble wuth flshing twrp(
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] lifehackerhansol:
The LineageOS guide splits what TWRP is doing into 3 steps, and it only works when starting from stock ROM.

I'm not sure which step is the problem with the black screen. My assumption is that TWRP itself is the problem.

So after flashing everything back to stock, let me know if the guide works, or, if it doesn't, which exact step causes issues.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] LedTV1:
Back to stock write now, will try to flash again by instruction
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] LedTV1:
Try again and black screen again( https://disk.yandex.ru/i/532NkWxNsTbWKg https://disk.yandex.ru/i/4TN7dhcHMpYofw
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] LedTV1:
there is a similar problem in this thread https://xdaforums.com/t/root-instru...g-galaxy-tab-a-8-0-2019.4515305/post-88004427
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] lifehackerhansol:
Seems the problem is aboot after all.

We'll need to find another version that may or may not work...

I will go back to some research on this. Thanks for the video, it explained a lot.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] LedTV1:
Ok, thank you.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] lifehackerhansol:
Oh, also, on the back of the tablet, what does the model number say?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] retiredtab:
I look at

https://review.lineageos.org/q/status:open

each day and was pleasantly surprised to see that you had submitted this device for official status. Congratulations on achieving that status. I've already upgraded my T290 to this build and everything seems to be working fine so far. I'm only using Aurora Store so I have no gapps which helps with performance and low memory usage.

For non developers, this is a big achievement considering @lifehackerhansol basically built the device tree from scratch by himself starting with 18.1, then moved to 19.1 and now official 20 in about 40 days.

I know there were problems that were reported that I couldn't solve on my own. Some bugs takes me 3 months to figure out if I'm lucky.

Audio over bluetooth works now.

Thanks for all your hard work and insightful comments in the PMs. I have certainly learned a lot from you.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] LedTV1:
This. And i buy this tabled as samsung galaxy tab kids edition https://www.samsung.com/ru/promotions/galaxy_tab_kids_edition/
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] lifehackerhansol:
I am starting to wonder if the "kids edition" tablets aren't bootloader unlockable... Can anyone confirm this?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] lifehackerhansol:
WARNING: Samsung rolled out a new firmware update starting roughly at the end of January 2023.

This contains bootloader version 4. From what we understand with SM-T295 bootloaders, this may or may not permanently lock you out from ever flashing anything custom. Considering that we even have to downgrade our bootloader to the Android 9 version to get anything going, updating your bootloader this time will very likely block you from downgrading it, ever.

Our last known bootloader version is T290XXU3CVG3. Do not update past this, unless you are a brave soul and want to take one for the community...
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] babyrexy:
Hi,

Did you manage to fix your issue?

I'm running into the same issue as you.

I've followed the new instructions without any issues until after I reboot, it will go into a reboot loop and back to recovery. Have tried LOS recovery and twrp recovery. Same result.

- Confirmed OEM unlock is greyed out and enabled.

- flashed a-boot via ODIN

- flash los recovery

- disabled VBMeta

- installed LOS20 with and without gapps too.

-Revert back to stock and tried again

- no luck

- flashed twrp recovery

- flashed LOS20

- no luck and reboot loops

SM-T290 T290XXU3CVG3

I'm stuck and have just gone back to stock until there's a fix.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] lifehackerhansol:
Just like I told the other guy, please provide the last_kmsg file
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] babyrexy:
Since im back at stock now, have followed every process again step by step even flashing aboot and checking OEM unlock enabled.

The only step that doesn't occur is after flashing aboot to BL and it reboots, it doesn't demand to format user data so step 14-16 doesn't happen but did check that Dev mode is enable with OEM Unlock enabled.

- recovery

- vbmeta

- format data

- flash los20 only

- reboot

(after a few reboot loop it goes back to recovery)

Tried pushing vbmeta again with the other command and reboot to see if that helped but still the same.

i've attached the last_kmsg.

Let me know if you need anything else
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] lifehackerhansol:
Something is weird here: the encryption system is broken.

I'm not certain what is going on. I'll try some things and report back.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] lifehackerhansol:
@babyrexy @shadyg next build on official site has some updates that may help solve the problem. It's scheduled on Tuesday.

Basically, I'm scrapping the vbmeta instructions and bundling it into the ROM altogether, which hopefully solves this issue...? maybe, perhaps.

What I'm seeing here is that a few services critical to file encryption is failing, and I genuinely don't know why at this point. I'll keep trying though.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] babyrexy:
I’ll give it try when it’s available and report back. Hopefully it’ll fix the issue but unsure why we’re the unlucky ones. If this fixes the issue at least others won’t run into the same issues we’re having.

Thanks for your hard effort!

Much appreciated
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] lifehackerhansol:
Actually, scratch that, I think the fix I added does nothing.

Can you please test this build: https://sourceforge.net/projects/li.../lineage-20.0-20230211-UNOFFICIAL-gtowifi.zip
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] babyrexy:
OMG.

It bypassed the Samsung logo and into the Lineage OS screen!

I went through the instructions again from the start to finish with flashing your new ROM and rebooted and it worked. Let me run through the quick setup and ill get you the last_msg file if you need it for comparison or research.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] babyrexy:
Here's the latest last_kmsg file.

Was able to load into LOS 20 and set up the device.

Rebooted and shutdown the device and it loaded into the os fine.

Wifi works

BT works

Thanks for resolving the issue. Did you manage to pinpoint and figure out what was the cause?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] lifehackerhansol:
It turns out this is also a bug on Samsung's side. I assume Samsung (or their ODM, Wingtech) worked around their dumb issue somewhere else.

Essentially, Android has a bunch of "init" scripts that prepare the device on boot for general usage. In custom ROM development, device-specific init scripts must be extracted from the device in order to build stuff. So my init scripts are the same as Samsung's for the most part.

Two things going on here:

- This tablet has file-based encryption (FBE) turned on by default.

- According to Google's docs here, they require the keymaster service (basically hardware cryptography stuff) to be active before the FBE-encrypted user data is loaded, and the most common way is to load the user data last. However Samsung did not wait for keymaster, and just loaded everything without verifying anything, causing a race condition that only happened to a couple devices, yours being one of them.

That was a lot of explaining, but the actual fix was like 5 lines of code: https://review.lineageos.org/c/LineageOS/android_device_samsung_gtowifi/+/348851

The next official LineageOS build will also contain this fix. As a general reminder, to convert from unofficial to official builds, you must clean flash, but given this is your first time booting literally anything at all, I don't think that would be too much work for you.

PS: I only ever need last_kmsg it if it's failing to boot, which was the case here. Any issue that happens while the device is running, you can refer to here: https://www.xda-developers.com/how-to-take-logs-in-android/
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] babyrexy:
Thanks for the great insight of the issue. Was an enjoyable read.

I only had a good 20 mins to test out the build and had to leave the house so will go back and try to install gapps and flash LOS 20 again.

I have nothing to lose so clean flash on the new official release will be fine. Excited and can’t wait.

Thanks again.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Minionguyjpro:
ROM looks good. I will try to finally go to LineageOS ROMs (AWAY FROM STOCK). Will flash it soon. Also, many people say that these roms are faster???
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Minionguyjpro:
Hello, installed everything and looks to work correctly, but not the Gapps... So I installed MindTheGapps, went well, but now I get the error in the Google and Google Play Store app that I have no internet connection. I have access to websites when using the built-in browser.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Minionguyjpro:
I think I found an issue: when formatting an SD card as adoptable/internal storage, it reboots after some time saying the SD card is not mounted, and keeps rebooting.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Minionguyjpro:
Nevermind, I finally fixed it by flashing them both, and the setup for LOS used a certain Google theme. Enjoying it already!
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] lifehackerhansol:
I assume this is still an issue, however.

Please do provide /proc/last_kmsg from recovery if possible. This should be a trivial matter(?).

ALSO. Can you please add the OP's firmware update notice in your guide? Your guide seems very solid, but we really do not want people updating to bootloader 4 or they risk never installing anything ever...
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Minionguyjpro:
Which guide? My root instructions? It already says to update to T290XXUVG3, and not higher.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Minionguyjpro:
Wait a min, I will get it.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Minionguyjpro:
It is below. But I formatted it later to a portable storage (temporarily):
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] lifehackerhansol:
Sounds good, just wanted to double check. Thank you.

Will be looked into soon.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Minionguyjpro:
Okay, no problem. What actually is that file? A log or something?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] lifehackerhansol:
last_kmsg is a log dump file, yes. That's where the device throws all the current logs right before it reboots.

It's very helpful when you are facing random reboots, for example.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Minionguyjpro:
It might be possible that it does not contain my problem, because it may have been rebooted after this problem occured, I'm not sure. It may or may not contain the issue. Does this also include a 'fast' reboot?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Minionguyjpro:
A question: I have TWRP instead of LOS recovery (due to the fact it has more features I like) and Magisk (root), but if I update the software for LineageOS 20, will I need to reflash these? As I heard, I can temporary uninstall Magisk from the manager, and then let the update flash from TWRP??? Is LineageOS compatible with updating from TWRP?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] lifehackerhansol:
TWRP supports auto-updates. At least, our current TWRP should support it.

Magisk should support these as well via addon.d, I don't really know how well that works at the moment.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Minionguyjpro:
Otherwise I could reinstall it afterwards I think.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] shadyg:
Thank you for the replay but i just f.... up big time, i installed a stock firmware that changed the bootloader and locked it (i cant unlocked after 4 days im getting annoyed)
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Minionguyjpro:
@lifehackerhansol, did you find something in my log or did not look into it yet?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Minionguyjpro:
What actually happens, is, I format the SD card as adoptable/internal storage. Then it keeps hanging on 20% for about 30-60 seconds, and then it reboots and says that the SD card is missing. And like 10 seconds after that, it sees that it is mounted, and reboots again, and again shows SD card not connected... this loops all the time, but when I format the card as portable, it works. I tried using a root app like Root Essentials, but the same happens. I guess it has something to do with the ROM. Because it worked when I had my stock rom of Samsung. Nice to know; I think these looping reboots are fast reboots, not normal ones because it boots actually fast.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Minionguyjpro:
What?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] babyrexy:
Sorry ignore me.

Was just incorrect information so deleted it rather than misinform others.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Minionguyjpro:
The option/box in the upper right corner is not right, is it???
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] lifehackerhansol:
So, some good news on this, if you're still interested:

I fixed point 1. (I think.) I tested the fix for about 3 days (basically, I built the fix, booted it up, and just left the tablet alone for 3 days, and just remembered to check.) Wi-Fi is still on and working. I haven't tested it much further than that.

Fix will be available on the next official build (scheduled for Tuesday, assuming the build server doesn't die.)

I still don't know what the third point means. Do you mean like, when unlocking the screen, just typing the PIN unlocks the screen? Because if so, as far as I'm concerned, LineageOS (and by definition AOSP) does not have this feature.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Minionguyjpro:
@lifehackerhansol could you fix it? I would love to be able to be able to install apps on this card. I will provide another copy of the log to make sure it contains my problem:
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] LedTV1:
No news for me? Eternal life on the stock firmware?(
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Minionguyjpro:
Did you try to unlock it yourself, or do you not want to do it and want someone else to test it first?