Skip to content

PitchBlackRecoveryProject/android_device_samsung_r9q

Repository files navigation

PitchBlack Device Tree for the Samsung Galaxy S21 5G FE (Snapdragon)

How-to compile it:

export ALLOW_MISSING_DEPENDENCIES=true
. build/envsetup.sh
lunch pb_r9q-eng
make recoveryimage

Kernel source: https://github.com/edward0181/android_kernel_samsung_sm8350

TWRP functions list

Blocking checks:

  • Correct screen/recovery size
  • Working Touch, screen
  • Backup to internal
  • Restore from internal
  • reboot to system
  • ADB

Medium checks:

  • update.zip sideload
  • UI colors (red/blue inversions)
  • Screen goes off and on (T2W - Tap To Wake is broken)
  • F2FS/EXT4 Support, exFAT/NTFS where supported
  • all important partitions listed in mount/backup lists
  • backup/restore to/from external (USB-OTG) storage (not supported by the device)
  • backup/restore to/from adb (https://gerrit.omnirom.org/#/c/15943/)
  • decrypt /data
  • Correct date

Minor checks:

  • MTP export
  • reboot to bootloader
  • reboot to recovery
  • poweroff
  • battery level
  • temperature
  • encrypted backups
  • input devices via USB (USB-OTG) - keyboard, mouse and disks (not supported by the device)
  • USB mass storage export
  • set brightness
  • vibrate
  • screenshot