Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
If you installed AMD Catalyst BETA Drivers and want to remove AMD Testing Use Only Watermark: http://tuxperience.blogspot.no/2012/12/remove-amd-testing-use-only-watermark.html
#!/bin/sh
DRIVER=`find /usr/lib -name fglrx_drv.so`
echo "Come on AMD!"
for token in $DRIVER;do
echo "Removing AMD logo from "$token
for x in $(objdump -d $DRIVER|awk '/call/&&/EnableLogo/{print "\\x"$2"\\x"$3"\\x"$4"\\x"$5"\\x"$6}'); do
sed -i "s/$x/\x90\x90\x90\x90\x90/g" $DRIVER
done
done
echo "Reboot computer to finish"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment