74

Samsung Galaxy Tab A8 2021 (SM-X200) Android 12 / Android 13 Treble flash Guide

 1 year ago
source link: https://forum.xda-developers.com/t/samsung-galaxy-tab-a8-2021-sm-x200-android-12-android-13-treble-flash-guide.4497299/page-5#post-88370465
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

How To Guide Samsung Galaxy Tab A8 2021 (SM-X200) Android 12 / Android 13 Treble flash Guide

lewmur

Senior Member
Apr 30, 2011 2,413
I decided to try installing a new gsi on my sm-x200 today, had lineage-19 bvS gsi already installed. I ran into trouble with all android gsi I tried, they would install using fastboot but then get into a static state on boot, then I tried reinstalling my previous lineage gsi and it stuck on lineage logo. I finally worked out I had to wipe all the internal partitions (previously was only wiping cache, data and internal storage) to get lineage bvS reinstalled. Would this also explain why i havent been able to fastboot bvN versions onto my device?

If you use fastboot -w to wipe instead of TWRP, I'm pretty sure it wipes everything necessary. But why would you want to install a bvN instead of bvS? bvN just means the same as bvS but without the super partition. It wouldn't add anything to what you already have. A bgN would add gapps but there might not be room for that.

If you use fastboot -w to wipe instead of TWRP, I'm pretty sure it wipes everything necessary. But why would you want to install a bvN instead of bvS? bvN just means the same as bvS but without the super partition. It wouldn't add anything to what you already have. A bgN would add gapps but there might not be room for that.

Isn't the S for Superuser?

lewmur

Senior Member
Apr 30, 2011 2,413
Isn't the S for Superuser?

Super, Superuser, call it what you want, but it is still a partition that is either included or not. If you flash the bvN it is because you already have the S partition. It contains several logical partitions.

If you use fastboot -w to wipe instead of TWRP, I'm pretty sure it wipes everything necessary. But why would you want to install a bvN instead of bvS? bvN just means the same as bvS but without the super partition. It wouldn't add anything to what you already have. A bgN would add gapps but there might not be room for that.

Thanks @lewmur for that answer. I have found it hard to find many gsi in bvS format they mainly seem to be bvN or bvN.. The only one I have consistently seen with bvS versions are lineage. I have nothing against lineage but always want to experiment!

lewmur

Senior Member
Apr 30, 2011 2,413
Thanks @lewmur for that answer. I have found it hard to find many gsi in bvS format they mainly seem to be bvN or bvN.. The only one I have consistently seen with bvS versions are lineage. I have nothing against lineage but always want to experiment!

My bad. You can try different bvN ROMs if you want to experiment. That is AFTER you have succeeded in flashing a bvS ROM. The S portion should remain the same from one ROM to another, so you only need it once. But the v still stands for vanilla, so there won't be much difference from one ROM to another.

My bad. You can try different bvN ROMs if you want to experiment. That is AFTER you have succeeded in flashing a bvS ROM. The S portion should remain the same from one ROM to another, so you only need it once. But the v still stands for vanilla, so there won't be much difference from one ROM to another.

OK, so I have installed lineage-19 bvS again, if I wanted to try any bvN I would still need to do a full format or just advanced wipe?

lewmur

Senior Member
Apr 30, 2011 2,413
OK, so I have installed lineage-19 bvS again, if I wanted to try any bvN I would still need to do a full format or just advanced wipe?

I think I'd try fastboot -w.

Code:
options:
  -w                                       Erase userdata and cache (and format
                                           if supported by partition type).
  -u                                       Do not erase partition before
                                           formatting.
  -s <specific device>                     Specify a device. For USB, provide either
                                           a serial number or path to device port.
                                           For ethernet, provide an address in the
But that is just a guess. I haven't done it on this device.
I think I'd try fastboot -w.
Code:
options:
  -w                                       Erase userdata and cache (and format
                                           if supported by partition type).
  -u                                       Do not erase partition before
                                           formatting.
  -s <specific device>                     Specify a device. For USB, provide either
                                           a serial number or path to device port.
                                           For ethernet, provide an address in the
But that is just a guess. I haven't done it on this device.

OK thanks for the advice

I flashed lineage-20.0-20230324-UNOFFICIAL-arm64_bgN.img by Andy Yan on my SM-X205 (the LTE model) and all is going great, I surprisingly don't even have the colours inverted during video playback bug that was mentioned in the OP for Android 13, however I am not able to turn on Bluetooth, and once LOS has booted I see a "Bluetooth has stopped" message very briefly. Is Bluetooth not working a known issue for this tablet in GSIs and is there a fix for it? Or is it just an issue for me since I am using the X205 and not X200?

Edit: also the lock screen is always portrait, is there a way I can make it landscape? And how do I change the Model value in Settings > About device?
Last edited: Yesterday at 7:21 AM
Super, Superuser, call it what you want, but it is still a partition that is either included or not. If you flash the bvN it is because you already have the S partition. It contains several logical partitions.

Ok, I thought Superuser and the Super Partition were two separate things. Thanks for the clarification

the_ccm

New member
May 25, 2008
Hello, I would need some helps because I'm stuck in TWRP with a wrong firmware ....

I got stock Rom, I rooted it with the guide on this forum, got TWRP installed, everything was fine.

then I made a big mistake, I did OTA update
so after reboot I was in TWRP, if I understand well, because OTA files were encrypted and TWRP doesn't know how to manage them, anyway.

I tried to flash this file :
lineage-19.1-20220814-UNOFFICIAL-arm64_bgS.img

but maybe I did another mistake, didn't select the good partition or something else.


Now if I want to wipe partitions in TWRP, here are the error messages :
TWRP.jpg
here is the result of triying to flash lineageos image :
E:\>fastboot flash system system.img
target reported max download size of 268435456 bytes
Invalid sparse file format at header magi
sending sparse 'system' (256379 KB)...
OKAY [ 8.633s]
writing 'system'...
FAILED (remote: No such file or directory)
finished. total time: 8.654s
here is the result of erasing in fastboot
E:\>fastboot -w
Erase successful, but not automatically formatting.
Can't determine partition type.
FAILED (remote: Fastboot HAL not found)
Erase successful, but not automatically formatting.
Can't determine partition type.
FAILED (remote: Fastboot HAL not found)
erasing 'userdata'...
OKAY [ 18.448s]
erasing 'cache'...
OKAY [ 0.084s]
finished. total time: 18.533s
this is exactly the same problem described in this post on page 3 :
forum.xda-developers.com

Samsung Galaxy Tab A8 2021 (SM-X200) Android 12 / Android 13 Treble flash Guide

Your warranty will be void after any of these procedures. * I am not responsible for the outcome for using any of this information, e.g. bricked devices, dead devices, boot loops * do some research regarding flashing, custom ROM and unlocking...
forum.xda-developers.com forum.xda-developers.com
If I understand it seems that a super partition is missing, but I took LineAgeOs "bgS", so it should have work ?

I don't really what to do any help you be appreciated.

thanks.
I flashed lineage-20.0-20230324-UNOFFICIAL-arm64_bgN.img by Andy Yan on my SM-X205 (the LTE model) and all is going great, I surprisingly don't even have the colours inverted during video playback bug that was mentioned in the OP for Android 13, however I am not able to turn on Bluetooth, and once LOS has booted I see a "Bluetooth has stopped" message very briefly. Is Bluetooth not working a known issue for this tablet in GSIs and is there a fix for it? Or is it just an issue for me since I am using the X205 and not X200?

Edit: also the lock screen is always portrait, is there a way I can make it landscape? And how do I change the Model value in Settings > About device?

How did you do it? I can't seem to fathom how to do it myself.

Info about my tablet:
32GB Internal Storage (I also have a 64GB SD card)
Is an SM-X205 (XTC)
Rooted through a patched boot.img (Magisk v25.2)
Doesn't use TWRP
Supports Project Treble
Uses VNDK 30.0 and has VNDK Lite (Full linker namespace seperation enabled)
Uses System-as-Root
Does not have Seamless Upgrades
Uses Dynamic Partitions
ARM64 CPU Arch and 64-bit Binder Arch

Last edited: Today at 2:47 PM

lewmur

Senior Member
Apr 30, 2011 2,413
Hello, I would need some helps because I'm stuck in TWRP with a wrong firmware ....

I got stock Rom, I rooted it with the guide on this forum, got TWRP installed, everything was fine.

then I made a big mistake, I did OTA update
so after reboot I was in TWRP, if I understand well, because OTA files were encrypted and TWRP doesn't know how to manage them, anyway.

I tried to flash this file :
lineage-19.1-20220814-UNOFFICIAL-arm64_bgS.img

but maybe I did another mistake, didn't select the good partition or something else.


Now if I want to wipe partitions in TWRP, here are the error messages :
View attachment 5879585

here is the result of triying to flash lineageos image :


here is the result of erasing in fastboot

this is exactly the same problem described in this post on page 3 :
forum.xda-developers.com

Samsung Galaxy Tab A8 2021 (SM-X200) Android 12 / Android 13 Treble flash Guide

Your warranty will be void after any of these procedures. * I am not responsible for the outcome for using any of this information, e.g. bricked devices, dead devices, boot loops * do some research regarding flashing, custom ROM and unlocking...
forum.xda-developers.com forum.xda-developers.com
If I understand it seems that a super partition is missing, but I took LineAgeOs "bgS", so it should have work ?

I don't really what to do any help you be appreciated.

thanks.

How did you do an OTA update with the bootloader unlocked? This needs clarification in order to know EXACTLY what update you did. And you need to FORMAT the data partition BEFORE you wipe to get rid of the encryption.

the_ccm

New member
May 25, 2008
How did you do an OTA update with the bootloader unlocked? This needs clarification in order to know EXACTLY what update you did. And you need to FORMAT the data partition BEFORE you wipe to get rid of the encryption.

thanks for your reply. I just did normal OTA. I was running stock rom with rooted device, unlocked bootloader and TWRP installer as recovery, then samsung offer me ota update in the preferences pane, just clicked yes, then device rebooted in TWRP recovery mode, then ..... well I didn't know exactly what I did honestly, I tried to install lineos ROM but not with fastboot method, directly in TWRP.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK