'Jailbreaking' smartphones to become illegal