Skip to content
This repository has been archived by the owner on Aug 5, 2022. It is now read-only.

TWRP (AOSP 12.1)

Latest
Compare
Choose a tag to compare
@DozNaka DozNaka released this 15 Jul 18:21
· 3 commits to android-12.1 since this release

TWRP (AOSP 12.1) for A21s

This source is WIP but so far it works good enough for everyday use

Bugs

Everything works except for the following:

  • ADB Sideload
  • Decryption*
  • FastbootD
  • Haptics*

Vibrator (Haptics) doesn't work and it is bloat.

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

Features

  • DTB: Imported Stock DTB from A217MUBU9DVF6
  • DTBO: Imported A217MUBU9DVF6 stock recovery DTBO
  • Implemented Multidisabler command
  • Recovery Kernel: Stock kernel from A217MUBU9DVF6

Installation

Requirements: Rooted by flashing AP file via Odin that was patched using Magisk App

To root your device with the patch AP method you do the following:

  • Install Bitfrost
  • Download stock firmware using bitfrost 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

Once you have done 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 on Odin then flash

When you are finished with flashing TWRP, boot to it (do not boot to system), then you will go to terminal and run the multidisabler command twice, it will disable encryption and it will prevent stock recovery from overriding TWRP.