Skip to content

TeamWin/android_device_sony_tama

 
 

Repository files navigation

TWRP configuration for Sony Tama (SDM845) platform devices

Supported Sony Snapdragon 845 based devices

  • Xperia XZ2 H8216/H8266/H8296 => akari
  • Xperia XZ2 Compact H8314/H8324 => apollo
  • Xperia XZ2 Premium H8116/H8166 => aurora
  • Xperia XZ3 H8416/H9436/H9493 => akatsuki

Checks

Blocking checks

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

Medium checks

  • update.zip sideload
  • UI colors (red/blue inversions)
  • Screen goes off and on
  • F2FS/EXT4 Support, exFAT/NTFS where supported
  • all important partitions listed in mount/backup lists
  • backup/restore to/from external (USB-OTG) storage
  • decrypt /data
  • Correct date
  • USB-OTG (flash drive)

Minor checks

  • MTP export
  • reboot to bootloader
  • reboot to recovery
  • poweroff
  • battery level
  • temperature
  • encrypted backups
  • input devices via USB (USB-OTG) - keyboard and mouse
  • USB mass storage export
  • set brightness
  • vibrate
  • screenshot
  • partition SD card
  • fastbootd (adb reboot fastboot)
  • decrypt adoptable storage
  • reboot to EDL

Clone manifest twrp-12.1

repo init -u https://github.com/minimal-manifest-twrp/platform_manifest_twrp_aosp.git -b twrp-12.1

Sync manifest twrp-12.1

repo sync -j$(nproc --all)
git clone https://github.com/minimal-manifest-twrp/android_device_common_version-info -b twrp-12.1 device/common/version-info

Clone the device tree

git clone https://github.com/j4nn/android_device_sony_tama.git -b android-12.1 device/sony/tama

Optional patch to support SODP roms too

patch -p1 < device/sony/tama/patches/vold-decryption-workaround-for-sodp-kernel.patch

Build

unset JAVAC
unset JAVA_HOME
unset LEX
export ALLOW_MISSING_DEPENDENCIES=true
. build/envsetup.sh
export USE_CUSTOM_VERSION=true

lunch twrp_akari-userdebug; mka bootimage
lunch twrp_apollo-userdebug; mka bootimage
lunch twrp_aurora-userdebug; mka bootimage
lunch twrp_akatsuki-userdebug; mka bootimage

Thanks

  • MartinX3 (android9 twrp for tama devices including touch type detection)
  • TWRP developers (other devices setup as a base template)
  • Lineage OS developers (multiple picks from tama devices configs)

Please see commits history for proper attribution.

About

TWRP configuration for Sony Tama (SDM845) platform devices

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C++ 68.3%
  • Makefile 21.8%
  • C 6.0%
  • Shell 3.9%