[Samsung Galaxy A21s ROMs, Kernels, Recoveries, & O] RiskyINIT:
View attachment 6070118

LIVE Updates on the state of my lineage-20 (last updated 11/04/2024):

- I am currently working on fixing bugs like fingerprint/bluetooth audio

- Soon I will release a small OTA update to test the functionality of it

* LineageOS 20.0 now Boot!

After applying heavy modifications to jameskdev's device trees and many hours of debugging I was able to build LineageOS 20 for multiple A21s variants. The original sources are based on the Galaxy Tab S6 Lite Wi-Fi version (gta4xlwifi) and the device trees of @jameskdev. In the process, I added the popular custom kernel - KawaKernel (By Doz Naka) - and I fixed issues on the GSI such as SIM, GAPPS and device borders.

KernelSU is built into the kernel, meaning that your phone will have root privilege, if the necessary app is installed and configured. This kernel will get every last bit of performance out of your A21s, decrease battery charge time and make your Lineage experience smoother.

Screenshots:

View attachment 6070120View attachment 6070121View attachment 6070122View attachment 6070123View attachment 6070124

Features:

- Google Apps

- SELinux Enforcing

- LineageOS Overlay

- Bluetooth

- USB Debugging

- File Encryption

- Lineage Apps

- Touchscreen

- Wifi

- Mobile Data (Sim Card)

- Brightness adjuster/Dim Light mode

- Camera

- Audio/Sound/Vibration

- Location/GPS

- NFC

- Torch

- Screen turn on when plugged in

- Lineage animations

- Keyboard/Touchscreen

Not Working:

- Fingerprint

- Volte

- Bluetooth Audio

- You tell me... ;)

Source Code:

local_manifests

android_device_samsung_a21s,android_device_samsung_a21s-common

android_vendor_samsung_a21s,android_vendor_samsung_a21s-common

android_kernel_samsung_universal3830

Instructions For Installation:

1)

Flash Stock for your device and UNLOCK your bootloader, then enable developer options in settings by tapping on 'build number' a few times then enabled USB debugging as well, allowing the phone access to your computer. There are many guides out there if you are struggling with this step.

2)

Download Lineage Recovery, Lineage ROM, Google Apps, vbmeta, ADB, and Odin. Unzip ADB and Odin to somewhere appropriate.

DON'T DOWNLOAD everything, there are different versions for different binarys/models!!

Move the ROM and Google Apps to the same directory as your ADB tools are stored in, to avoid changing your environment variables.

*NOTE* Couldn't find A217M vbmeta, sorry

- ROM(A217F-SA) / ROM(A217F-S8) / ROM(A217M-UB)

- vbmeta(SA) / vbmeta(S8)

- Google Apps

- Lineage Recovery

- ADB Tools

- Odin

3)

Now all of the files have been downloaded we can prepare your phone for installation!

- Power off your phone

- Plug your phone into a Computer and simultaneously hold the power up and power down buttons

- Once you reach a blue screen(Download mode) press the power up button to continue

- Open Odin and add your corresponding binary's vbmeta to the BL and USERDATA slot, keeping it as a tar achieve

- Add the recovery.tar file to AP and press Start. AS SOON AS THIS SUCCEEDS HOLD VOLUME UP AND POWER BUTTON

- It is fairly important that you don't let it boot into Stock, but instead your custom recovery

4)

Now we are in Lineage Recovery we can format the phone's data.

- Go to, Factory reset -> format data

- Advanced -> Reboot -> Recovery

- Advanced -> Enable ADB

- Apply update -> Apply from ADB

5)

Now on your computer open up terminal and cd (change directory) to your adb tools/ROM folder. Then run the command replacing ROM_NAME with your corresponding ROM name.

adb sideload ROM_NAME.zip

For Google Apps return back into ADB sideload mode and run the following command.

adb sideload MindTheGapps-13.0.0-arm64-20231025_200931.zip

6)

Press 'Reboot System' and Enjoy Lineage OS 20.0!!

If you receive a message saying 'There is an internal error please contact your manufacturer', you can safely press 'ok' and ignore it.

If you find any bugs or have any questions, don't hesitate to drop a comment and I will reply as quickly as I can.