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
Martin Duenkelmann b471f5993b adjustments from 52.0.A.3.27
XZ2 October PIE stock firmware
2018-11-03 17:55:12 +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.27 firmware update 2018-10-12 22:26:30 +02:00
recovery/root adjustments from 52.0.A.3.27 2018-11-03 17:55:12 +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 add stuff for encryption on PIE 2018-11-03 17:47:46 +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 add stuff for encryption on PIE 2018-11-03 17:47:46 +01:00
system.prop add stuff for encryption on PIE 2018-11-03 17:47:46 +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

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