[Xperia Z3 Android Development] Muhammad Ashraf:
Bismillahi Alrahmani Alraheem

(in the name of God the most gracious, the most merciful)

Finally Unoffoicial TWRP 3.0.2 is here for Dual sim version of XPERIA Z3 (D6633)!!

Introduction:

​

Team Win Recovery Project or twrp2 for short, is a custom recovery built with ease of use and customization in mind. We started from the ground up by taking AOSP recovery and loading it with the standard recovery options, then added a lot of our own features. It's a fully touch driven user interface , no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.

Key Features:

Touchscreen driven with real buttons and drag-to-scroll

XML-based GUI that allows full customization of the layout true theming!

Settings are saved to the sdcard and persist through reboots

Ability to choose which partitions to back up and which to restore

Ability to choose to compress backups now with pigz (multi-core processor support for faster compression times)

Onscreen keyboard

Decryption of /data

Easy selection of internal/external storage

And much more...

In addition to the above new features, TWRP features a scripting engine that allows an app to send commands to the recovery for the recovery to perform during startup. We call this scripting engine OpenRecoveryScript. This engine will be put to use immediately in the GooManager app. GooManager will be able to install recoveries automatically for most supported devices. The app will also let you choose to install multiple zips from within Android, wipe cache & dalvik, and run a backup.

Source Code:

GitHub - https://github.com/omnirom/android_bootable_recovery

Gerrit Instance - http://gerrit.omnirom.org

Notes About Sony Devices:

The Xperia devices have a recovery-in-boot arrangement. This means that the recovery is booted using the regular kernel / boot image in the device. Team Win has worked with the FreeXperia device maintainers to come up with a way to extract the ramdisk from the FOTAKernel partition and use the ramdisk from that partition instead of the recovery that is included in the boot image of your device. This means that if you install current CM nightlies and flash TWRP to the FOTAKernel partition, you will be able to use TWRP instead of the CWM or CM recovery that normally comes in a CM boot image. Other boot images including stock kernels can be repacked to include this extraction utility to allow you to use TWRP from the FOTAKernel partition. This setup allows you to choose what recovery you want to have installed and allows you to update your recovery more easily. Unfortunately this setup requires that the boot image that you have installed include the ramdisk extraction utility. The source for this utility is here:

https://github.com/Dees-Troy/extract_elf_ramdisk

This utility is designed to work in conjunction with the current methods that most AOSP ROMs use for the ramdisk and can also be used on stock kernels. This setup means that you must have a kernel or boot image installed that will use the FOTAKernel method. Most AOSP based ROMs like OmniROM or CyanogenMod will support this method. Some stock kernels may also support the FOTAKernel method.

What does all this mean? It means that TWRP may not work on your device unless you install other custom software as well. Check with your ROM developer to see what they support.

DOWNLOAD:​

Please notice that it won't work in stock based roms, only custom roms will run it

20160907 (img)

20160907 (zip)

Installation methods

TWRP Install (Requires TWRP 2.8.4 or higher already installed):​

Download the latest TWRP image file (.img) from the download link and boot TWRP. Go to install and find and select the Images... button. Browse to the image that you downloaded and select it. Choose recovery and swipe to flash.

dd Install Method (Requires Root):

Download the latest image file (.img) from the download link above. Place it in the root of your /sdcard folder and rename it to twrp.img. Run the following commands via adb shell or a terminal emulator app:

su

dd if=/sdcard/recovery-twrp-302-z3dual.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel

Fastboot method:

you should have fastboot in your pc (either downloaded separately or with android SDK)

fire up Terminal (Linux and OS X) or CMD window (MS Windows) in the folder you have the image on it and it is preferred to copy the image to the folder of fastboot so the following command work then type:

fastboot flash FOTAKernel recovery-twrp-302-z3dual.img

don't forget to put ./ before 'fastboot' if you are using OS X or linux (./fastboot)

ZIP method:

flash the zip using any recovery :)

Themes and colors:

HERE

(Read Post #2 in the link if you want to customize, I'll be making pre-made themes later on inshaaAllah (God willing) :))

NOTE: You are free to repack it and even sharing it without taking my permission:)

Please Donate If you want me to support Z3 dual more and more, it is back to you :D​

XDA:DevDB Information

TWRP 3.0.2 for Z3 Dual D6633, Tool/Utility for the Sony Xperia Z3

Contributors

Muhammad Ashraf

Source Code: https://github.com/omnirom/android_bootable_recovery

Version Information

Status: Testing

Created 2016-06-25

Last Updated 2016-09-07