No description. Add one?
  • Makefile 58.2%
  • Shell 41.8%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2018-12-11 16:49:23 +01:00
.idea Add touchpad drivers for XZ2, XZ2C and XZ2P 2018-10-09 23:37:50 +02:00
prebuilt stock 52.0.A.3.126 firmware update 2018-12-10 21:57:39 +01:00
recovery/root add xz3 touch drivers 2018-12-10 22:00:25 +01:00
.gitignore the first real working device sources. 2018-10-13 16:59:39 +02:00
AndroidBoard.mk the first real working device sources. 2018-10-13 16:59:39 +02:00
AndroidProducts.mk the first real working device sources. 2018-10-13 16:59:39 +02:00
BoardConfig.mk fix TW_BRIGHTNESS_PATH for our device 2018-12-11 16:49:23 +01:00
device.mk Updated stuff and removed other not needed stuff. 2018-10-13 18:03:26 +02:00
omni_akari.mk the first real working device sources. 2018-10-13 16:59:39 +02:00
README.md Added XDA thread. 2018-11-27 09:21:41 +01:00
system.prop additional system info 2018-12-10 20:56:29 +01:00
vendorsetup.sh the first real working device sources. 2018-10-13 16:59:39 +02:00

TWRP device configuration for Sony Xperia XZ2

XDA Thread

https://forum.xda-developers.com/xperia-xz2/development/recovery-twrp-3-2-2-0-touch-recovery-t3821597

Compile

First checkout minimal twrp with omnirom tree:

repo init -u git://github.com/minimal-manifest-twrp/platform_manifest_twrp_omni.git -b twrp-8.1
repo sync

Then add these projects to .repo/manifest.xml:

<project path="device/sony/akari" name="MartinX3/android_device_sony_akari" remote="github" revision="android-9.0" />

To make all works you need to modify the buildinfo.sh in build/tools

echo "ro.build.version.release=$PLATFORM_VERSION"

echo "ro.build.version.security_patch=$PLATFORM_SECURITY_PATCH"

to

echo "ro.build.version.release_orig=$PLATFORM_VERSION"

echo "ro.build.version.security_patch_orig=$PLATFORM_SECURITY_PATCH"

And you need to increase the PLATFORM_VERSION to 16.1.0 in build/core/version_defaults.mk to override Google's anti-rollback features


Finally execute these:

. build/envsetup.sh export ALLOW_MISSING_DEPENDENCIES=true # Only if you use minimal twrp tree. lunch omni_akari-eng mka adbd bootimage


To test it:

fastboot boot out/target/product/akari/boot.img