It is legal fry or lock your device!

... you pay for it ... no? ....
As long as you don't download illegal software or bypass a legal buying procedure, or interfering with FCC laws .... the hardware itself is 100% yours.
Of course, claiming warranty because stupidity while doing that, is another thing.