Does brightness setting work without the theme?
As for the color change, I suspect this is due to partition naming. The script temporarily writes files to /cache partition.
From what I've read, it might be required to edit the script to make it work.
Simply pull the ui.xml from the zip and open it in Notepad++.
Search for "<page name="set_color">".
This is what the script used to change the color looks like:
Code:
<action function="cmd">
mkdir "/cache/twrp";
if [ -f "/sdcard/TWRP/theme/ui.zip" ];
then unzip -o "/sdcard/TWRP/theme/ui.zip" -d "/cache/twrp";
chmod 777 "/cache/twrp/zip";
cp -r /cache/twrp/%tw_folder%/* "/cache/twrp/images";
busybox mv "/cache/twrp/ui.xml" "/cache/twrp/ui_temp.xml";
busybox sed "s/%text_highlight%/#%tw_text_color_highlight%/g" "/cache/twrp/ui_temp.xml" > "/cache/twrp/ui_temp2.xml";
rm -f "/cache/twrp/ui_temp.xml";
busybox sed "s/%text_actionbar%/#%tw_text_actionbar%/g" "/cache/twrp/ui_temp2.xml" > "/cache/twrp/ui.xml";
rm -f "/cache/twrp/ui_temp2.xml";
cd "/cache/twrp";
./zip -0 -r -u "/sdcard/TWRP/theme/ui.zip" *;
cd /;
rm -r "/cache/twrp"
else
unzip -o "/int_sd/TWRP/theme/ui.zip" -d "/cache/twrp";
chmod 777 "/cache/twrp/zip";
cp -r /cache/twrp/%tw_folder%/* "/cache/twrp/images";
busybox mv "/cache/twrp/ui.xml" "/cache/twrp/ui_temp.xml";
busybox sed "s/%text_highlight%/#%tw_text_color_highlight%/g" "/cache/twrp/ui_temp.xml" > "/cache/twrp/ui_temp2.xml";
rm -f "/cache/twrp/ui_temp.xml";
busybox sed "s/%text_actionbar%/#%tw_text_actionbar%/g" "/cache/twrp/ui_temp2.xml" > "/cache/twrp/ui.xml";
rm -f "/cache/twrp/ui_temp2.xml";
cd "/cache/twrp";
./zip -0 -r -u "/int_sd/TWRP/theme/ui.zip" *;
cd /;
rm -r "/cache/twrp"
fi
</action>
You could try to replace every occurrence of "cache" with "dev/block/mmcblk0p24" (for SM-900P, for SG-900H it is "dev/block/mmcblk0p19"). Then replace the ui.xml in the zip with your edited one and give it a try.