best google service for lineage os 22 samsaug a21s
- User
best google service for lineage os 22 samsaug a21s
- Assistant
For a Samsung Galaxy A21s running LineageOS 22 (which is based on Android 12), the best Google service setup depends on what you want in terms of Google apps and services:
1. Google Apps (GApps) Package
Since LineageOS does not come with Google services pre-installed, if you want Google Play Store, Google Play Services, and core Google apps, you need to flash a GApps package compatible with Android 12 (S) and ARM64 architecture (which fits the Galaxy A21s).
- User
how to purge it without anys system
- Assistant
- User
iwant to purge lineage os
- Assistant
- User
antix@Antix:~/Downloads/a21s
- Assistant
- User
antix@Antix:~/Downloads/a21s
- Assistant
- User
antix@Antix:~/Downloads/a21s$ heimdall flash --pit a21s.pit --boot boot.img --dtbo dtbo.img --recovery recovery.img --no-reboot Heimdall v2.1.1
Copyright (c) 2010-2017 Benjamin Dobell, Glass Echidna https://glassechidna.com.au Copyright (c) 2021-2024 Henrik Grimler This software is provided free of charge. Copying and redistribution is encouraged.
Initialising connection... Detecting device... Claiming interface... Initialising protocol... Resetting device... Protocol initialisation successful.
Beginning session...
Some devices may take up to 2 minutes to respond. Please be patient!
Session begun.
Downloading device's PIT file... PIT file download successful.
ERROR: Partition "boot" does not exist in the specified PIT. Ending session... Releasing device interface...
- Assistant
The error:
ERROR: Partition "boot" does not exist in the specified PIT.means that the PIT file you provided (
a21s.pit) does not list a partition named exactlyboot.
Why this happens:
Samsung devices often use different partition names than the generic
boot. Common alternatives include: - User
- Assistant
Thanks for the detailed PIT partition list! From what you've posted, the relevant partitions and their exact names are:
Partition Correct PIT Name boot BOOT recovery RECOVERY dtbo DTBO vbmeta VBMETA super SUPER
So your
heimdallflash command should use these exact names, e.g.:heimdall flash --pit a21s.pit \ --partition BOOT=boot.img \ --partition DTBO=dtbo.img \ --partition RECOVERY=recovery.img \ --partition VBMETA=vbmeta.img \ --no-reboot - User
antix@Antix:~/Downloads/a21s$ heimdall flash --pit a21s.pit
--partition BOOT=boot.img
--partition DTBO=dtbo.img
--partition RECOVERY=recovery.img
--partition VBMETA=vbmeta.img
--no-reboot Duplicate argument: DTBO=dtbo.img (partition)Action: flash Arguments: [-- ...] [-- ...] [--pit ] [--verbose] [--no-reboot] [--resume] [--stdout-errors] [--usb-log-level <none/error/warning/debug>] [--skip-size-check] [--wait] or: --repartition --pit [-- ...] [-- ...] [--verbose] [--no-reboot] [--resume] [--stdout-errors] [--usb-log-level <none/error/warning/debug>] [--tflash] [--skip-size-check] [--wait] Description: Flashes one or more firmware files to your phone. Partition names (or identifiers) can be obtained by executing the print-pit action. With --wait Heimdall waits until a compatible device is connected. T-Flash mode allows to flash the inserted SD-card instead of the internal MMC. Use --skip-size-check to not verify that files fit in the specified partition. Note: --no-reboot causes the device to remain in download mode after the action is completed. If you wish to perform another action whilst remaining in download mode, then the following action must specify the --resume flag. WARNING: If you're repartitioning it's strongly recommended you specify all files at your disposal. antix@Antix:~/Downloads/a21s$
- Assistant
The error message:
Duplicate argument: DTBO=dtbo.img (partition)means that you have accidentally specified the
--partitionargument more than once forDTBOor Heimdall is interpreting your command incorrectly due to the way it's formatted.
Common cause:
The way you have written your command with backslashes (
\) for line continuation may have caused Heimdall to misinterpret the input. Or there could be an invisible duplicate somewhere.
How to fix it:
- User
antix@Antix:~/Downloads/a21s$ heimdall flash --pit a21s.pit --partition BOOT=boot.img --partition DTBO=dtbo.img --partition RECOVERY=recovery.img --partition VBMETA=vbmeta.img --no-reboot Duplicate argument: DTBO=dtbo.img (partition)
Action: flash Arguments: [-- ...] [-- ...] [--pit ] [--verbose] [--no-reboot] [--resume] [--stdout-errors] [--usb-log-level <none/error/warning/debug>] [--skip-size-check] [--wait] or: --repartition --pit [-- ...] [-- ...] [--verbose] [--no-reboot] [--resume] [--stdout-errors] [--usb-log-level <none/error/warning/debug>] [--tflash] [--skip-size-check] [--wait] Description: Flashes one or more firmware files to your phone. Partition names (or identifiers) can be obtained by executing the print-pit action. With --wait Heimdall waits until a compatible device is connected. T-Flash mode allows to flash the inserted SD-card instead of the internal MMC. Use --skip-size-check to not verify that files fit in the specified partition. Note: --no-reboot causes the device to remain in download mode after the action is completed. If you wish to perform another action whilst remaining in download mode, then the following action must specify the --resume flag. WARNING: If you're repartitioning it's strongly recommended you specify all files at your disposal. antix@Antix:~/Downloads/a21s$
- Assistant
The
Duplicate argument: DTBO=dtbo.imgerror in Heimdall is unexpected given the command you’ve provided. This usually happens when Heimdall's argument parser somehow gets confused — maybe due to Heimdall version, environment, or command syntax issues. - User
it not works
- Assistant
Since Heimdall keeps throwing a duplicate argument error when you try to flash multiple partitions in one command, the most reliable way now is to flash your images one partition at a time.
Flash partitions one by one
Run these commands separately (letting the device reboot or not depending on your preference):
heimdall flash --pit a21s.pit --partition BOOT boot.img - User
erasing lineage os
- Assistant
To erase LineageOS from your Samsung Galaxy A21s and basically get a clean system (without LineageOS remnants), you essentially want to wipe the current custom ROM installation from your device.