You have to have superuser installed on your phone which you can get from the play store for free
Then BEFORE you type the command lines, you need to type "su" without the inverted comers, a new line will appear with the word "root" at the start, then follow the instructions above exactly...