readme update
This commit is contained in:
parent
7d7b0263af
commit
03fdcfac12
1 changed files with 37 additions and 3 deletions
40
README.md
40
README.md
|
|
@ -1,4 +1,11 @@
|
|||
# TWRP configuration for Sony Tama (sdm845) platform devices
|
||||
# TWRP configuration for Sony Tama (SDM845) platform devices
|
||||
|
||||
## Supported Sony Snapdragon 845 based devices
|
||||
|
||||
- Xperia XZ2 H8216/H8266/H8296 => [akari](https://www.gsmarena.com/sony_xperia_xz2-9081.php)
|
||||
- Xperia XZ2 Compact H8314/H8324 => [apollo](https://www.gsmarena.com/sony_xperia_xz2_compact-9082.php)
|
||||
- Xperia XZ2 Premium H8116/H8166 => [aurora](https://www.gsmarena.com/sony_xperia_xz2_premium-9166.php)
|
||||
- Xperia XZ3 H8416/H9436/H9493 => [akatsuki](https://www.gsmarena.com/sony_xperia_xz3-9232.php)
|
||||
|
||||
## Checks
|
||||
|
||||
|
|
@ -35,7 +42,9 @@ Minor checks
|
|||
- [x] vibrate
|
||||
- [x] screenshot
|
||||
- [x] partition SD card
|
||||
|
||||
- [x] fastbootd (adb reboot fastboot)
|
||||
- [ ] decrypt adoptable storage
|
||||
- [x] reboot to EDL
|
||||
|
||||
## Clone manifest twrp-12.1
|
||||
|
||||
|
|
@ -47,6 +56,7 @@ repo init -u https://github.com/minimal-manifest-twrp/platform_manifest_twrp_aos
|
|||
|
||||
```bash
|
||||
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
|
||||
|
|
@ -55,8 +65,32 @@ repo sync -j$(nproc --all)
|
|||
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
|
||||
|
||||
```bash
|
||||
patch -p1 < device/sony/tama/patches/vold-decryption-workaround-for-sodp-kernel.patch
|
||||
```
|
||||
|
||||
## Build
|
||||
|
||||
```bash
|
||||
export ALLOW_MISSING_DEPENDENCIES=true; . build/envsetup.sh; lunch twrp_akari-userdebug; mka bootimage
|
||||
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](https://github.com/MartinX3) ([android9 twrp](https://github.com/MartinX3-AndroidDevelopment/TWRP_android_device_sony_akari_old) 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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue