Releases: DozNaka/android_device_samsung_a21s
TWRP | OrangeFox (AOSP 12.1)
TWRP Stable
Bugs
Everything works except for the following:
- Decryption*
Decryption does not work on this device and if your device is encrypted then TWRP will be unable to view your files. To Decrypt your device, enter the terminal in TWRP and run the multidisabler
command THEN FORMAT DATA
Features
- DTB: Imported KawaKernel A12 DTB
- DTBO: Imported A217MUBUADVL2 stock recovery DTBO
- Implemented Multidisabler command
- Recovery Kernel: KawaKernel-R (Debloated version of KawaKernel)
Installation
DISCLAIMER: If this is your first time modding A21s then YOU NEED TO REFLASH STOCK ROM FIRST!
**If you do not do this then you will get KG STATE blocked and you will have to flash stock firmware anyway to fix it.
Requirements: Rooted by flashing AP file via Odin that was patched using Magisk App (or patched vbmeta)
To root your device with the patch AP method you do the following:
- Install Bifrost apk
- Download stock firmware using the Bifrost app
- Extract AP from firmware
- Install Magisk
- Open Magisk, press Install and then Select and Patch a File
- Select the AP file you have extracted from stock firmware
- Once finished patching, you will find the patched AP file in Downloads
- Move the patched AP file to your computer
- Flash the patched AP file with Odin
If you are on linux then extract the AP file and flash vbmeta and boot images with heimdall
Once you have finished this you can proceed with the methods below:
Method 1: recovery.img
- If you are on linux then flash recovery.img with heimdall
heimdall flash --RECOVERY recovery.img
OR
- You can the TWRP app to flash the recovery.img
OR
- You can use the dd command to flash recovery.img by placing the recovery.img in /sdcard and running these commands
su
dd if=/sdcard/recovery.img of=/dev/block/by-name/recovery
Method 2: recovery.tar
- Place the tar file in AP in Odin then flash
Booting to TWRP
- Once TWRP is flashed, boot to it with volume up + power combo
- Go to Advanced -> Terminal, then you will enter the
multidisabler
command - Reboot to recovery again
- Format data as you will get bootloops if you don't
Both recovery files are TWRP
OrangeFox is OrangeFox, tar file is inside the zip
*Last updated on 07/07/2024
- Implemented sgdisk binary