You may want to note that for sudo gainroot, you need to have easyroot (www.nitapps.com) installed. (Or becomeroot or RD mode enabled but I think easyroot is best imho)