Quantcast
Channel: admin » TWRP
Viewing all articles
Browse latest Browse all 1595

[Z3][TWRP][UNOFFICIAL] twrp 2.8.7.0 for D6603

$
0
0

What it is:
There is my work with twrp. This recovery is fully working for my sony xperia z3 (D6603) since september 2015. I give it ‘as is’.
I build twrp from the official 2.8.7.0 git sources on a CyanogenMod build tree, and only add configuration for z3, no code modifications (see build instructions).

Disclaimer:

Code:

#include <std_disclaimer.h>

/*
 * Your warranty is now void.
 *
 * We are not responsible for bricked devices, dead SD cards,
 * thermonuclear war, or you getting fired because the alarm app failed. Please
 * do some research if you have any concerns about features included in this ROM
 * before flashing it! YOU are choosing to make these modifications, and if
 * you point the finger at us for messing up your device, we will laugh at you.
 *
 */



Who can use it:

it is only for z3 (D6603 version) and unlocked bootloaders. It should work with all AOSP based rom which support FOTAKernel recoveries.
Actually it had been tested with CyanogenMod, and SlimRom as I know.
Quote:

Originally Posted by LeonidasTurk
(Post 58798513)
Sony Xperia devices don’t have recovery partition. Instead of this in custom kernels is used recovery-in-boot conception with two-stage boot (ramdisk-recovery is packed inside main ramdisk). And there is partition called FOTAKernel that is used for installing official FOTA (firmware-over-the-air) updates. After unlocking your bootloader it partition becomes redundant, because you cannot use OTA function anymore. So it may be used for storing recovery ramdisk. And this very useful future was implemented by a xda member, he developed utility extract_elf_ramdisk https://github.com/Dees-Troy/extract_elf_ramdisk (it is merged to almost all kernels for Sony devices), it extracts recovery ramdisk from FOTA partition instead of using regular one from boot image. So even after updating or changing your kernel or ROM you don’t lose your current recovery!

What is working:

  • backups
  • restore
  • all settings
  • change partitions type (f2fs/ext4)
  • flash zip
  • reboot
  • phone doesn’t overheat but battery goes down really fast

What is not working:

  • unable to decrypt f2fs partitions (but password is asked)
  • wipe data buton (workaround by format, change type)

What is not tested:

  • ext4 partition decryption
  • usb otg
  • what I forget, ask and I test asap

ToDo:

  • create a zip to update this recovery,
  • change the ‘power profile’ in use when in recovery mode
  • create a VM for making weekly builds
  • create a folder on webserver for weekly build
  • publish my files on a VCS
  • update my blog to make a full (french) compiling guide

How to install:

  • download and check md5,
  • reboot your phone in fastboot mode,
  • flash recovery by using command:
  • Code:

    fastboot flash FOTAKernel <filename>

How to build:

  • Follow the official twrp/cyanogen compiling guide (I start from cyanogen),
  • replace original cyanogen recovery by twrp with your repo config. Eg:
    Code:

    <?xml version="1.0" encoding="UTF-8"?>
    <manifest>
      <remove-project name="CyanogenMod/android_bootable_recovery" groups="pdk" />
      <project groups="pdk" name="omnirom/android_bootable_recovery" path="bootable/recovery" revision="android-5.1" />
    </manifest>


  • use my twrp.fstab: https://www.zerobin.net/?f2a76cb1ea3…vtDFaAYVe2YsA=
  • & my BoardConfigCommon.mk: https://www.zerobin.net/?8493cc60589…puapdLkbaORMo=

Thanks to:

@_infected
Team Win

Version Information:

Status: Working in progress
It’s a build of twrp where there is no code modifications. I only follow the official twrp compiling guide and add files for z3 (D6603 version in this case).
( From @LeonidasTurk‘s kernel thread, this build should work with other models but it not tested! Use it at your own risk, unlocked bootloaders only obviously)

official twrp compiling guide: http://forum.xda-developers.com/show….php?t=1943625
official CynogenMod z3 (D6603) thread: http://forum.xda-developers.com/z3/d…ia-z3-t3010201

Created: 2015-12-18
Last Updated: 2015-12-18

Releases:

2015-12-18:
md5: 13b1d5de4e69e4bb49621fbe87b8ae9b
sha1: 9ed93f895897c885d139d723180d50a33ec0a719
download: http://www.datafilehost.com/d/abe4ced7

Fell free to comment, report misspelling, but please be nice as it is first time a work with a NDK tollchain and english is not my native language :)
P.S.: please don’t repack my job, it’s easy to rebuild
P.S.2: I’m not a twrp maintener so I can’t push code modification.


Viewing all articles
Browse latest Browse all 1595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>