Many Android phone manufacturers, such as Google Nexus, allow you to root your phone legally. Other manufacturers, such as Apple, do not permit jailbreaking. It is legal to root your smartphone in the United States under the DMCA. Rooting a tablet, on the other hand, is prohibited.