>
This makes the legality of such acts unclear. So, you can root your phone, but if you wish to keep the warranty intact without any problems, then reverse the root to the stock operating system and check if everything was undone. If the stock OS functions as it should, then you do not have an issue.
Some manufacturers, like Samsung, will permanently disable certain features when you unlock the device, even if you restore the device to stock.