[Android Software/Hacking General [Developers Only]] berryman13:
Oh my god.

I bet you have a Samsung to boot.

Just because xposed supports 5.0 does NOT mean it supports an alternate installer script. Let's explain why.

updater-script:

# this is a dummy file, the magic is in update-binary, which is a shell script

updater-binary:

#!/sbin/sh
#
# Xposed framework installer zip.
#
# This script installs the Xposed framework files to the system partition.
# The Xposed Installer app is needed as well to manage the installed modules.
#
# Thanks to Chainfire for some of the functions and logic!
#

OUTFD=$2
ZIP=$3

SYSTEMLIB=/system/lib

ui_print() {
echo -n -e "ui_print $1\n" > /proc/self/fd/$OUTFD
echo -n -e "ui_print\n" > /proc/self/fd/$OUTFD
}

ch_con() {
LD_LIBRARY_PATH=$SYSTEMLIB /system/toolbox chcon -h u:object_r:system_file:s0 $1
LD_LIBRARY_PATH=$SYSTEMLIB /system/bin/toolbox chcon -h u:object_r:system_file:s0 $1
chcon -h u:object_r:system_file:s0 $1
LD_LIBRARY_PATH=$SYSTEMLIB /system/toolbox chcon u:object_r:system_file:s0 $1
LD_LIBRARY_PATH=$SYSTEMLIB /system/bin/toolbox chcon u:object_r:system_file:s0 $1
chcon u:object_r:system_file:s0 $1
}

ch_con_ext() {
LD_LIBRARY_PATH=$SYSTEMLIB /system/toolbox chcon $2 $1
LD_LIBRARY_PATH=$SYSTEMLIB /system/bin/toolbox chcon $2 $1
chcon $2 $1
}

ln_ext() {
LD_LIBRARY_PATH=$SYSTEMLIB /system/toolbox ln -s $1 $2
LD_LIBRARY_PATH=$SYSTEMLIB /system/bin/toolbox ln -s $1 $2
ln -s $1 $2
}

set_perm() {
chown $1.$2 $4
chown $1:$2 $4
chmod $3 $4
ch_con $4
ch_con_ext $4 $5
}

cp_perm() {
rm $5
cat $4 > $5
set_perm $1 $2 $3 $5 $6
}

install_and_link() {
TARGET=$1
XPOSED="${1}_xposed"
BACKUP="${1}_original"
if [ ! -f "/tmp/xposed/$XPOSED" ]; then
return
fi
cp_perm $2 $3 $4 /tmp/xposed/$XPOSED $XPOSED $5
if [ ! -f $BACKUP ]; then
mv $TARGET $BACKUP
ln_ext $XPOSED $TARGET
fi
}

install_overwrite() {
TARGET=$1
if [ ! -f "/tmp/xposed/$TARGET" ]; then
return
fi
BACKUP="${1}.orig"
NO_ORIG="${1}.no_orig"
if [ ! -f $TARGET ]; then
echo -n > $NO_ORIG
elif [ ! -f $BACKUP -a ! -f $NO_ORIG ]; then
cp_perm $2 $3 $4 $TARGET /tmp/xposed/$BACKUP $5
rm -f $TARGET
fi
cp_perm $2 $3 $4 /tmp/xposed/$TARGET $TARGET $5
}

zip_backups() {
if [ ! -f "/system/xposed-originals.tgz" -a -f "./system/lib/libart.so.orig" ]; then
if [ -x "/sbin/tar" -o -x "/system/bin/tar" -o -x "/system/xbin/tar" ]; then
cat /system/toolbox
chmod 0755 /system/toolbox
ch_con /system/toolbox

cp_perm 0 0 0644 /tmp/xposed/system/xposed.prop /system/xposed.prop
cp_perm 0 0 0644 /tmp/xposed/system/framework/XposedBridge.jar /system/framework/XposedBridge.jar

install_and_link /system/bin/app_process32 0 2000 0755 u:object_r:zygote_exec:s0
install_overwrite /system/bin/dex2oat 0 2000 0755 u:object_r:dex2oat_exec:s0
install_overwrite /system/bin/oatdump 0 2000 0755
install_overwrite /system/bin/patchoat 0 2000 0755 u:object_r:dex2oat_exec:s0
install_overwrite /system/lib/libart.so 0 0 0644
install_overwrite /system/lib/libart-compiler.so 0 0 0644
install_overwrite /system/lib/libart-disassembler.so 0 0 0644
install_overwrite /system/lib/libsigchain.so 0 0 0644
install_overwrite /system/lib/libxposed_art.so 0 0 0644
if ($IS64BIT); then
install_and_link /system/bin/app_process64 0 2000 0755 u:object_r:zygote_exec:s0
install_overwrite /system/lib64/libart.so 0 0 0644
install_overwrite /system/lib64/libart-compiler.so 0 0 0644
install_overwrite /system/lib64/libart-disassembler.so 0 0 0644
install_overwrite /system/lib64/libsigchain.so 0 0 0644
install_overwrite /system/lib64/libxposed_art.so 0 0 0644
fi

zip_backups
rm /system/toolbox
else
ui_print "! Please download the correct package"
ui_print "! for your platform/ROM!"
RC=1
fi

ui_print "- Unmounting /system"
umount /system

ui_print "- Done !"
exit $RC

Good luck converting that using this. Xposed has a method of installation that clearly is incompatible with everything this... Is. It won't work, it can't work, this makes me want to hit my face on my keyboard.