yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Tab A series Guides, News, & Discus] System23:
Ya can use the Following

use one of this to Flash

Odin3 v3.13.1_3B_PatcheD.zip

Odin3 v3.14.1_3B_PatcheD.zip

Odin3_v3.13.3_3B_PatcheD.zip

Odin3_v3.13.3.zip

Odin3_v3.14.1.zip

Odin3_v3.14.4.zip

CustomFW_T510XXU5CWA1_DBT_lineage_20.0_20230507_UNOFFICIAL.tar.md5

lineage-20.0-20230507-UNOFFICIAL-with-latest-TWRP.tar.md5

when ya have the Problem that your Lineage not Start also hangs in the Load Animation ya must go the other way!!!

Flash

lineage-19.1-20230403-UNOFFICIAL-T510XXU5CWA1.tar.md5

start the Device and make the First Setup

then Flash

lineage-20.0-20230507-UNOFFICIAL-with-latest-TWRP.tar.md5

or

Flash the GSI Image "lineage-20.0-20230507-UNOFFICIAL-a64_bgN.img" via TWRP as System-Image!!

than its works!!!
[Samsung Galaxy Tab A series Guides, News, & Discus] System23:
4 All Ya The 4 Working Methods to Flash 20.0, here i have the HowTo and the Files!!! so cant go it wrong

Install_Methods_20.0

sry but needs now to Upload!!!

Update its Finished!!!!! Enjoy
[Samsung Galaxy Tab A series Guides, News, & Discus] K-BOX2022:
I have a problem. I cannot boot Lineage Os 20 on GSI. When I enter TWRP the sdcard memory is empty. I tried Factory Reset and Format Data and it did not help. Tablet goes into bootloop with lineage os logo. what is the problem?
[Samsung Galaxy Tab A series Guides, News, & Discus] System23:
Use the working method Flash 19.1 start in system setup the first setup and reboot and Flash 20.0 via twrp or Odin and it works
[Samsung Galaxy Tab A series Guides, News, & Discus] niveZz:
every time after i flashed lineageos 20 it gets stuck on the boot animation

lineageos 19 however boots every time

I tried flashing lineageos 20 with odin and with twrp both didn't work (I formatted data every time)

I wonder if I have to use the a64 vndklite version or just the normal a64 version
[Samsung Galaxy Tab A series Guides, News, & Discus] System23:
I use the normal a64 version
[Samsung Galaxy Tab A series Guides, News, & Discus] AfiqAffandi:
after you can boot LOS 19, just flash LOS 20. Do not format data and factory reset. Just flash that LOS 20
[Samsung Galaxy Tab A series Guides, News, & Discus] rw_on_xda:
I'm trying to nail the unsuccessful GSI 13 install via twrp after format data.

phhusson offered a script to let a stock recovery run fastboot (in download mode)

does anyone have a stock recovery ( T510XXU5CWA1) ???

Bug report is here:

bootloop on SM-T510 (Galaxy Tab A 10.1) only with android 13.x · Issue #38 · TrebleDroid/treble_experimentations

Current Behavior: directly installing android_13.x on the device via TWRP with format data leads to a bootloop. installing AOSP 12.1 v416 doesn't show this behavour. installing ASOP 12.1 and direct...

github.com
[Samsung Galaxy Tab A series Guides, News, & Discus] System23:
Download the StockROM / FW and extract it from AP.tar.md5, iam not at home sry
[Samsung Galaxy Tab A series Guides, News, & Discus] rw_on_xda:
Thanks @System23
[Samsung Galaxy Tab A series Guides, News, & Discus] rw_on_xda:
anyone who could deliver a pointer how to bring the modified boot/-recovery image on the phone.

I've read on the Magisk page to NOT update the stock packages with the modified boot/recovery, it could brick the phone:

Installation

The Magic Mask for Android

topjohnwu.github.io

=> and there: "Important Notes"

Hint:

fastboot isn't working in download mode.

that's why the modification of boot/recovery is needed.

my destination is to flash GSI 13 via fastboot after the reset via stock recovery
[Samsung Galaxy Tab A series Guides, News, & Discus] niveZz:
I just renamed the magisk.apk to magisk.zip and flashed it through the recovery

they don't support that method anymore but it worked for me
[Samsung Galaxy Tab A series Guides, News, & Discus] rw_on_xda:
@niveZz, sorry that wasn't my question. maybe I was inaccurate...

I want to directly [1] (try to) flash GSI 13 via fastboot [2] after a reset with stock recovery

but a stock rom do not have fastboot available in download mode.

so I got a script to modify (hexpatch) the stock boot and recovery image.

now I do have that modified images, but I'm unsure how to bring that images on the tab (without bricking the device)

[1]

without going the TWRP way: flash TWRP, run TWRP recovery, format data, flash GSI 12, flash GSI 13

[2]

fastboot seems to be available when in recovery (running: fastboot devices), but after booting into download mode fastboot or - AFAIK- fastbootd is dead/unavailable
[Samsung Galaxy Tab A series Guides, News, & Discus] lewmur:
I've never done this but I would think that you would need the replace the recovry.img in the AP file with the modified one an then flash AP, BL and Home with Odin.
[Samsung Galaxy Tab A series Guides, News, & Discus] rw_on_xda:
exactly that should one not do

- IF I get it right, see comment #68, the link to Magisk "Important Note" -
[Samsung Galaxy Tab A series Guides, News, & Discus] lewmur:
This has to do with installing a modified recovery. Not with installing a Magisk modified boot.img. And it isn't even correct for Magisk modified boot.img. If you used Magisk to modify the AP md5, you use Odin to flash it in the AP slot and BL and CSC in their slots.
[Samsung Galaxy Tab A series Guides, News, & Discus] niveZz:
that seems highly experimental and it might brick the device
[Samsung Galaxy Tab A series Guides, News, & Discus] rw_on_xda:
could you please elaborate why ?

any background info's ?

I would like to say:

the script comes from phhusson himself (see comment #65)

so for that part I'm convinced it is working

but for the second part e.g. to bring the modified boot- and recovery image on the device I agree with you, cause I'm complete unsure

a) how I could do it and

b) where and why the risk exists

I mean the deeper technical background here apart from the *usual* risk to flash custom rom's at all/in general
[Samsung Galaxy Tab A series Guides, News, & Discus] niveZz:
I bricked another phone once so I'm very cautious about such things
[Samsung Galaxy Tab A series Guides, News, & Discus] rw_on_xda:
me too
[Samsung Galaxy Tab A series Guides, News, & Discus] V0latyle:
Samsung devices don't have a normal fastboot mode, so I would suggest flashing a GSI using TWRP. I've done it on my T290.

The "official" way to root with Magisk is to patch the AP.tar then flash it in Odin. This hasn't worked for me though so I just flashed Magisk in TWRP.
[Samsung Galaxy Tab A series Guides, News, & Discus] rw_on_xda:
that's what phhuson's provided script should have done (but I'm no hex code reader)

seem to be the only option so far (done several times: TWRP => format data => GSI 12 => GSI 13)

anyway I wonder why GSI 13 directly flashed on top (?!) of stock under TWRP with format data does not boot, where it boots when GSI 13 was flashed without format data on top of GSI 12 with format data under TWRP.

I mean:

- TWRP stays in both cases the same

- and format data should do the same too (?!)

it bug's me ...(efficiency syndrom :cool:)

rooting wasn't my intention.

just to get the modified boot and recovery image providing fastboot in download mode on the device (without brick)
[Samsung Galaxy Tab A series Guides, News, & Discus] V0latyle:
Link?

If you're talking about the script that modifies the stock recovery to provide fastbootd, like this, that makes sense. But, if TWRP is available, why not just use that?

Maybe I'm reading it incorrectly but this doesn't make sense. When installing a GSI, you want to wipe both /system and /data. You then flash the GSI to /system

TWRP (recovery) is installed to the recovery partition. The kernel is in /boot, the OS is in /system, and /data is used for settings/apps/user space

Oh okay. It doesn't provide fastboot in download mode (assuming we are talking about the same thing), it provides an option for fastbootd in the stock recovery so that you can flash partitions using ADB.
[Samsung Galaxy Tab A series Guides, News, & Discus] rw_on_xda:
see comment #65

follow the link to the bug report and scroll down to phhusson last enty, where it reads "you can flash samsung's recovery with ..."

EDIT

identical scripts !

following "This CI service patches recovery images of Samsung to enable Fastbootd. Based on Phh's script"

yep.

when directly flashing GSI 13 to /system under TWRP with/without format data the boot get stuck at the logo [1] why:

maybe my log (vanilla_log.txt) in the bug report reveals the cause (don't know; I'm no developer, but it looks insane to my)

[1]

where I need to say:

I solely formated (not wiped) data before flashing to /system and no wipe of system

will try, but to be sure:

- format data and wipe system ???
[Samsung Galaxy Tab A series Guides, News, & Discus] rw_on_xda:
correct !
[Samsung Galaxy Tab A series Guides, News, & Discus] V0latyle:
Yes
[Samsung Galaxy Tab A series Guides, News, & Discus] rw_on_xda:
following:

Patch-Recovery/.github/workflows/recovery.yml at master · Johx22/Patch-Recovery

CI service that patches recovery.img of Dynamic Samsung devices launched with Android 10 and above to enable fastbootd. - Johx22/Patch-Recovery

github.com

and if I get it right, I only need

a)

to flash the modified recovery.img under TWRP to recovery

Q.: is it sane to overwrite a running recovery with another, and here a different, recovery ???

OR (for my taste: somewhat saner)

b)

to execute line 46 in the above recovery.yml : tar cvf fastbootd-recovery.tar recovery.img

and

to flash that fastbootd-recovery.tar under ODIN (AP field)

on top of stock (I guess ?!)
[Samsung Galaxy Tab A series Guides, News, & Discus] AfiqAffandi:
Hey guys, I just want to update latest build from andy lineage-20.0-20230622-UNOFFICIAL-a64_bgN-vndklite can boot without problem after factory reset and format data. Can someone confirm back?

Before that please backup your data and important partition to revert back to previous setup.
[Samsung Galaxy Tab A series Guides, News, & Discus] rw_on_xda:
1. are you sure you flashed "arm64" on an SM-T510 ?

2. shouldn't that be "a64" ?

3. you flashed under TWRP, too ?

anyway:

I just flashed "lineage-20.0-20230622-UNOFFICIAL-a64_bvS" and also tried "lineage-20.0-20230622-UNOFFICIAL-a64_bvS-vndklite"

with format /data and wiped /system under TWRP

stucks at the logo and crashes in the log file !
[Samsung Galaxy Tab A series Guides, News, & Discus] AfiqAffandi:
Sorry, wrong quote. Should be a64 not arm64. 😅

So you flash bvs and still stuck at the logo. Then i will try flash that bvs and confirm back.

Update: its booted
[Samsung Galaxy Tab A series Guides, News, & Discus] cahesakuu:
It works but how do I fix magisk

When I install zip the magisk app doesn't have direct install

magisk is important for me
[Samsung Galaxy Tab A series Guides, News, & Discus] AfiqAffandi:
Here patched boot for Magisk. Im not a Magisk user but can you confirm back is this successfully installed?

Before that please backup your boot partition.

Flash this boot image to your boot partition in twrp and reboot.
[Samsung Galaxy Tab A series Guides, News, & Discus] rw_on_xda:
I thought this already

Huhhh.

I wonder what I'm doing wrong here ?

May I ask how did you flash ?

1. via TWRP ?

2. with a modified boot and/or recovery image ?

when answering my questions please be precise as possible.

best write down all steps you did beginning with stock
[Samsung Galaxy Tab A series Guides, News, & Discus] AfiqAffandi:
1. Yes using TWRP

2. Nope, just using gsi image from andy and twrp recovery from magendanz.

I came from previous method, install LOS 19.1, finish setup first then dirty flash LOS 20.

For this latest build from Andy i try factory reset and format data and then it booted. So i dont really know how this can happen as previous build, it will stuck on logo.😅🙏
[Samsung Galaxy Tab A series Guides, News, & Discus] rw_on_xda:
so here too

yep, this is what I did before too.

was working

how and when did you do the "factory reset" ?

cause it is - AFAIK - only available

- either running stock recovery

- or running LOS 19.1 triggering it via setting menu

to be clear:

I'm talking about *directly* flashing GSI 13 via TWRP *without* the step flashing LOS 19.1 before

Hint:

in comment #86 I didn't start over !

means:

1. flashed stock

2. in stock recovery: factory reset

3. flashed TWRP via ODIN

4. in TWRP recovery: format data/wiped system and flashed GSI 13 (AndyYan's last ROM)

I was solely running step 4.

P.S.

it would be nice to get an answer on my comment #84

( how to get a modified boot/recovery image on the device without bricking it)
[Samsung Galaxy Tab A series Guides, News, & Discus] AfiqAffandi:
Same here, from your step no 4.

1. From last build, factory reset and format data

2. Flash latest build

3. Factory reset and format data again

4. Reboot

5. System boot and finish setup

Attached log from twrp for reference.
[Samsung Galaxy Tab A series Guides, News, & Discus] rw_on_xda:
with "last build" you mean last stock ?

again: with "last build" you mean last stock ?

Factory reset under stock recovery ?

cause TWRP - AFAIK - doesn't have a "factory reset"

talking about: twrp-3.7.0_11-0-T510XXU5CWA1-20230330

where did you flashed what and how ?

sorry, your answers seem to be unprecise

my usually doing is the following:

1. flash last stock (what is 5CWA1, here) with ODIN

2. let the device full boot stock

3. connect to wifi and let the setup doing all the updates until setup has finished

4. boot to stock recovery

5. do a factory reset (under stock recovery)

6. directly boot to download mode

7. flash TWRP via ODIN

8. directly boot to TWRP recovery

9. format data and wipe system

10. flash AndyYan's last GSI to system

running solely step 9. and 10. doesn't work out (here) !

but on your device ?

please carefull read all the steps above and let me know if did something other !
[Samsung Galaxy Tab A series Guides, News, & Discus] AfiqAffandi:
Forget all about stock rom, and all stock recovery. Refer picture of this twrp (swipe to factory reset). All references i already attached. No stock recovery or stock rom involved.
[Samsung Galaxy Tab A series Guides, News, & Discus] rw_on_xda:
well, I overread that *is* the factory reset under TWRP

sorry !!!

so I did (as you suggested):

1. boot to TWRP recovery

2. factory reset

3. format data

4. flashed lastest AndyYan's GSI to system (tried both with/without vndklite)

5. factory reset

6. format data

7. reboot to system

and it stucks at the spinning logo !

are you sure you haven't flashed a modified boot image moons ago and forgot about it ?

what was your last stock before flashing custom, rom's ?

5CWA1 ?
[Samsung Galaxy Tab A series Guides, News, & Discus] cahesakuu:
It works, thanks
[Samsung Galaxy Tab A series Guides, News, & Discus] rw_on_xda:
ping @AfiqAffandi

any answers on my questions in comment #96 (3 last sentence) ?
[Samsung Galaxy Tab A series Guides, News, & Discus] AfiqAffandi:
If not mistake, I already flash 5CVG2 stock

Boot image that I had played around with this rom:

LOS 19.1 Magendanz > Magisk boot

LOS 19.1 gsi Andy > Magendanz boot (from his LOS19.1)

LOS 19.1 gsi Andy > Magisk boot

LOS 20 gsi Andy > Magisk boot

LOS 20 gsi Andy > Magendanz boot (from his LOS19.1) (Currently for experimental)

Other than that original boot from original rom.

For now, eventhough i flash gsi without others boot.img still can boot up. As you can see at my twrp screenshot.
[Samsung Galaxy Tab A series Guides, News, & Discus] rw_on_xda:
thanks for fast response

as I'm already on stock 5CWA1 it seems this is the only difference (my <=> your device)

I will try to go back to 5CVG2 and try again.

- next days ... -
[Samsung Galaxy Tab A series Guides, News, & Discus] AfiqAffandi:
No need to rollback, I already flash latest stock firmware. Here my process:

1. Flash SM-T510_XME_T510XXU5CWA1 firmware using Odin

2. Reboot and finish setup

3. Enter donwnload mode to flash LOS 19.1 Magendanz

4. Reboot to TWRP, factory reset & wipe data

5. Boot up LOS 19.1 and finish setup (no problem with internal and external storage, able to install app from Play Store)

6. Reboot to TWRP, factory reset & wipe data

7. Flash LOS 20 GSI from Andy, factory reset, wipe data again and reboot

8. LOS 20 succeffully booted and finish setup

Step No.5 just want to double confirm there is no problem with storage after flash stock and LOS 19.1 to someone. You can ignore it.
[Samsung Galaxy Tab A series Guides, News, & Discus] rw_on_xda:
well, we spent a lot time to talk at cross purposes ! [1]

why ?

flashing android 13 on top of android 12 ROM wasn't the problem here.

the problem I want to fix is: flashing android 13 directly without needing android 12.

either via TWRP (what is currently not working) or via fastboot (therefore I need some info's I currently don't have, what are: to get a modified boot-/recovery.img which provides that fastboot in download mode on the device without brick/at all)

my doing was always (for a clean install; for update: only step 9. and 10.):

1. flashed last stock via ODIN

2. booted last stock and let the setup finish (wifi on)

3. rebooted to stock recovery and did a reset

4. directly booted to download mode and flashed TWRP via ODIN (if not already included in ROM)

5. directly booted to TWRP recovery

6. resetted and formated /data and wiped /system

7. flashed android 12 under TWRP to /system

8. directly booted to TWRP again

9. same as in 6.

10. flashed android 13

done

I'm unsure if all steps are definitively needed, but they won't hurt and to be on the safe side ...

and if I got it right: phhusson suggested step 3. explicit

HINT:

with "android 12" I mean AndyYan's LOS 19.x, Magendanz's LOS (what - AFAIK - is CAOS), etc

with "android 13" I mean phhusson's GSI 13, AndyYan's LOS 20, etc.

[1]

I could image it could be a language problem:

your stock was XME, what means Malaysia

here is a translator what can do Idonesian (if that might help)

DeepL Translate: The world's most accurate translator

Translate texts & full document files instantly. Accurate translations for individuals and Teams. Millions translate with DeepL every day.

www.deepl.com
[Samsung Galaxy Tab A series Guides, News, & Discus] rw_on_xda:
Ah, okay !
[Samsung Galaxy Tab A series Guides, News, & Discus] System23:
some has say he needs a recovery here it is!!!

Recovery + Boot img
[Samsung Galaxy Tab A series Guides, News, & Discus] rw_on_xda:
that could have been me.

if so:

I was solely asking for "How to bring modified recovery-/boot.img on the device without brick"

P.S.

I do already have modified images here (via scripts from phhusson), but thanks anyway.

oder sollte ich sagen:

"Danke f. nachbarschaftliche (!) Hilfe" ?
[Samsung Galaxy Tab A series Guides, News, & Discus] System23:
Bitte schön, ich hab deine Beiträge gelesen in bezug auf Modify the Boot Mode so that ya can use Fastboot-Mode!!! Stellt sich mir die Frage warum sollt ich Fastboot aufm Tablet haben wollen, wenn doch TWRP/Download-Mode ausreichend ist um alle nötigen vorgänge zu tätigen!!

Ich würde mir das ganze mal anschauen,rein weg der Spielerei dwegen

kannst du mal die gesammelten Files von dir Irgendwo hochladen oder Posten das wäre nett!!
[Samsung Galaxy Tab A series Guides, News, & Discus] System23:
Good news!!! The LineageOS_19.1 Flash is not Longer needed!!!

Here the Steps!!!

-1# I dont know if the Erase Process has something to do with Working now!!!

-1.1# Download the Files dcfldd_&_adb_fastboot_etc

-1.2# You can use dd but its shows no Progress Status so like dcfldd

-1.3# Setup android_tools & Open Console & Reboot Device into Recovery-Mode

-1.4#

adb push dcfldd /sbin/

adb push dcfldd /bin/

adb shell

su

dcfldd if=/dev/urandom of=/dev/block/by-name/param

dcfldd if=/dev/urandom of=/dev/block/by-name/radio

dcfldd if=/dev/urandom of=/dev/block/by-name/product

dcfldd if=/dev/urandom of=/dev/block/by-name/boot

dcfldd if=/dev/urandom of=/dev/block/by-name/vbmeta

dcfldd if=/dev/urandom of=/dev/block/by-name/vendor

dcfldd if=/dev/urandom of=/dev/block/by-name/system

dcfldd if=/dev/urandom of=/dev/block/by-name/userdata

dcfldd if=/dev/urandom of=/dev/block/by-name/recovery

dcfldd if=/dev/urandom of=/dev/block/by-name/param

dcfldd if=/dev/urandom of=/dev/block/by-name/misc

dcfldd if=/dev/urandom of=/dev/block/by-name/cache

###############################################################

"/dev/urandom", this is a pseudo random number generator

while

"/dev/random" is a “true” random number generator

So that all Datas where Securely wiped, and overwritten,

its take some Time Especially "userdata & system"

################################################################

After that my Device shows a Error and Reboots at the Startlogo

The Screen looks like Damaged and it needs a few times to Start into Download-Mode,

and it Power OFF the Screen in Download-Mode, and need Connect 2 Times via USB

But it works

Now Flash the STOCK Firmware and all is Fine

#################################################################

0# Download the Files

1# Flash latest Firmware SamFW SM-T510 Firmware

1.1# Start the Device and Complete the First Setup

1.2# Reboot to Download-Mode

2# Flash this lineage-20.0-20230622-UNOFFICIAL-a64_bgN_incl_TWRP_incl_root_Magisk_26-1.tar.md5 via Odin

2.1# Device starts in Recovery-Mode

2.2# Now make a Data-Wipe and confirm with yes

2.3# Now make a Factory-Reset

3# Reboot the Device and wait a few Minutes

3.1# Now Setup your Device

3.2# Download Magisk Magisk_26.1.apk Download

3.3# Install Magisk and youre Device is Rooted without the other Steps

4# Enjoy the Release!!
[Samsung Galaxy Tab A series Guides, News, & Discus] rw_on_xda:
That was the suggestion from phhusson in the bug report thread. - if I got it right -

they should be the same, cause phhusson provided a link to the the same scripts.

here checked with meld

EDIT

I uploaded a folder with a script, readme and the extracted boot-/recovery image from stock:

Ihr persönlicher Freigabelink | 1&1 Cloud-Speicher

Mit diesem Link erhalten Sie Zugriff auf die mit Ihnen geteilten Daten.

c.1und1.de

read the 0_README

Questions:

- what to do with b.img

it isn't further used in the script, but it is - at least - different in size ...

my idea would be

- to compress the b.img and the recovery.img via "magiskboot compress" to *.lz4 (similar in my script lines 13,14)

- find the correct command to integrated same in the stock image

- flash via ODIN

I guess you you've tried it already ?

and if yes: with the modified boot.img ?

AFAIK fastboot is on stock, but it isn't started in download mode (assuming boot starts the daemons fastbootd)

or

is there a way to flash boot-/recovery.img via ODIN ?

if so: what field exactly to use in ODIN?
[Samsung Galaxy Tab A series Guides, News, & Discus] rw_on_xda:
how did you create that file, as I prefer "bvX" variants without google stuff ?

and

is Magisk really needed for people who don't root ?
[Samsung Galaxy Tab A series Guides, News, & Discus] rw_on_xda:
have you tried to fetch a log during boot via usb cable and command "adb logcat -G 16M && adb logcat > log.txt"