[Galaxy S 4 Mini Android Development] Android-Andi:
[MENTION=5280400]ne0zone75[/MENTION] nice to see you got it working :)

To build the recovery, make it a flashable zip and odin-flashable *.tar.md5 in one rush you might wan't to check my script:

#!/bin/bash

#
# NOTE: NEVER rename a *.tar.md5! Convert the recovery.img again if you want to rename the file!
#
# Jul 2014 Android-Andi @ XDA
# Thanks to ketut.kumajaya @ XDA
#

#---------------------Device Settings------------------#

# device name in your "out" folder
DEVICENAME1[0]="p3110"
#DEVICENAME1[1]="p3100"
#DEVICENAME1[2]="p5100"
#DEVICENAME1[3]="p5110"
#DEVICENAME1[4]="golden"

# 2nd device name to rename the *.tar.md5 and *.zip the right way
# the odin-flashable tar.md5 will be name like this: DEVICENAME2_RECNAME1_RECVER.tar
DEVICENAME2[0]="GT-P3110"
#DEVICENAME2[1]="GT-P3100"
#DEVICENAME2[2]="GT-P5100"
#DEVICENAME2[3]="GT-P5110"
#DEVICENAME2[4]="GT-I8190"

#---------------------General Settings------------------#

# select "y" or "n"... Or fill in the blanks... some examples placed in allready.

# recoveryname
RECNAME1="TWRP"

# recovery version number
RECVER="2.8.6.1"

# Move the *.tar.md5 and recovery.img?
MOVE=y

# path to move the *.tar.md5
#(*.img and *.zip will also get moved if MOVE=y)
STORAGE=~/android/roms/recovery

# Create a flashable zip?
FLASHZIP=y

# Place your pre-flashable-zip in this path. Nameing of the zip: DEVICENAME1-RECNAME1.zip
ZIPBASE=~/android/roms/recovery/base

# Your build source code directory path.
# If your source code directory is on an external HDD it should look like:
# //media/your PC username/the name of your storage device/path/to/your/source/code/folder
SAUCE=~/android/android-5.1

#---------------------Convert & Move Code----------------#
# Very much not a good idea to change this unless you know what you are doing....

cd $SAUCE
. build/envsetup.sh
make clobber
for VAL in "${!DEVICENAME1[@]}"
do
cd $SAUCE

breakfast ${DEVICENAME1[$VAL]}

make -j10 recoveryimage

echo "Moving to out directory ( ${DEVICENAME2[$VAL]} ) ..."
cd $SAUCE/out/target/product/${DEVICENAME1[$VAL]}

echo "Converting recovery.img to a odinflashable *.tar.md5 ..."
tar -H ustar -c recovery.img > ${DEVICENAME2[$VAL]}"_"$RECNAME1"_"$RECVER".tar"
md5sum -t ${DEVICENAME2[$VAL]}"_"$RECNAME1"_"$RECVER".tar" >> ${DEVICENAME2[$VAL]}"_"$RECNAME1"_"$RECVER".tar"
mv ${DEVICENAME2[$VAL]}"_"$RECNAME1"_"$RECVER".tar" ${DEVICENAME2[$VAL]}"_"$RECNAME1"_"$RECVER".tar.md5"

if [ $MOVE = "y" ]; then
echo "Moveing odin flashable *.tar.md5...."
#mkdir -p $STORAGE/${DEVICENAME1[$VAL]}
mv *".tar.md5" $STORAGE/${DEVICENAME1[$VAL]}/
cp "recovery.img" $STORAGE/${DEVICENAME1[$VAL]}/${DEVICENAME2[$VAL]}"_"$RECNAME1"_"$RECVER".img"
fi

if [ $FLASHZIP = "y" ]; then
echo "Makeing flashable zip..."
cp $ZIPBASE/${DEVICENAME1[$VAL]}"-"$RECNAME1".zip" $STORAGE/${DEVICENAME1[$VAL]}/${DEVICENAME2[$VAL]}"_"$RECNAME1"_"$RECVER".zip"
zip -g $STORAGE/${DEVICENAME1[$VAL]}/${DEVICENAME2[$VAL]}"_"$RECNAME1"_"$RECVER".zip" "recovery.img"
fi

echo "Moving back to source directory..."
cd $SAUCE

done

echo "Done!"

It's really selfexplained ;) hit me up if you have questions :)

Btw:

Stock TWRP theme get's updated soon, it's wip but looks really nice

if someone want to give it a try download attached ui.zip.

Place the ui.zip inside /data/media/0/TWRP/themes/ (don't rename the zip! doubble check you choose the right path!)

Reboot the recovery once now!

Works on latest TWRP for S3 mini - not tested on older versions!

Download: http://xdaforums.com/attachment.php?attachmentid=3351428&d=1433626891

Screenshot

Edit:

pre-flashable-zip = flashable recovery.zip without recovery.img inside

If you have problems uploading *.tar.md5 on AFH using FileZilla:

Settings -> Edit -> Settings -> File Types: remove "md5" from the list!