[Galaxy S 4 Mini General] johanneszab:
UPDATE: Do not flash cm-11 roms with the current stable version (2.6.3.0) of TWRP. It won't work. I will create new builds for the I9195 and the I-9190 after someone this issue.

Hi!

I've compiled a TWRP 2.6.3.0 for the Samsung Galaxy S4 Mini LTE (GT-I9195) with crypto support. I've attached a screencapture during an installation of an cyanogenmod update from my encrypted /data partition using goomanager. So i thought, maybe someone can use this because i didn't find any build for the device yet.

I'm not sure if you can use it with encrypted stock samsung roms (I've included some samsung libs, but i couldn't test it), but for cm it should work. And any unencrypted devices..

Should work for the GT-I9190 and GT-I9192 as well, as written on page 4.

Installation as usual (Odin (tar.md5.zip - needs to be unzipped) or Heimdall (.img)):

For Odin:

Download the recovery-twrp-2.6.3.0-serranoltexx.tar.md5.zip and unzip it

Turn off the phone.

Press and hold home, volume down and power. Download screen should appear.

Connect USB cable, and press volume up

Start Odin, uncheck "F. Reset Time" and "Auto Reboot", and then click AP button.

Select extracted "recovery.tar.md5" file and press Start button.

A blue transfer bar will appear on the device showing the recovery being transferred. Check the Message Window in Odin for: "All threads completed. (succeeded 1 / failed 0). The transfer has successfully completed.

Long press the power botton to turn it off.

Hold volume up, home button and power buttons simultaneously to boot into recovery mode.

Sorry, i couldn't post in the Developer Forum and no direct links (< 10 Post for me). And a special thanks to [MENTION=912474]Dees_Troy[/MENTION] for helping me getting the right crypto options.

I hope the image works, first time building a TWRP for me. At least it won't brick your device ;)

_____________

Edit 18.09.2013. (Already Fixed) If the screen locks in the recovery after a few minutes idle (without userinput), the screen gets greyish after the unlock, but the recovery still seems to work properly (see post #4 for image). I've asked in the twrp channel on freenode and tried a fix, that didn't help. :(. So, it seems more cosmetic. I wonder if someone else gets this, because they said in the channel, they've never seen something like that before.

_____________

Edit 19.09.2013: Sourcecode with my modifications here: https://github.com/johanneszab

Its mainly the BoardConfigCommon.mk and recovery.fstab for TWRP and enryption in the msm8930-common repo and the crypto libs in the recovery directory in the serranoltexx repo.

_____________

Edit 20.09.2013: New recovery.img without Screentimeout, so no more messed up screen after screenlock.

_____________

Edit 28.09.2013: Added SELinux and exfat and removed USB-OTG Support. Recovery should be ready for Android 4.3 with this settings. You won't lose SELinux contexts if you should ever make a backup and then restore it. Thanks to [MENTION=912474]Dees_Troy[/MENTION] for the SELinux informations!

_____________

Edit 19.10.2013: Recreated, reuploaded and tested .tar.md5.zip file with odin since i somehow completely ****ed it up (post #12 and so forth). I'm so sorry for all those broken files without testing and thanks for the Info!

$ md5sum recovery-twrp-2.6.3.0-serranoltexx.img
9262c28bf81632c66ff1133d6078c8c6 recovery-twrp-2.6.3.0-serranoltexx.img

$ md5sum recovery-twrp-2.6.3.0-serranoltexx.tar.md5.zip
e5014d5e230a5bb1103771b30dd2a159 recovery-twrp-2.6.3.0-serranoltexx.tar.md5.zip