HTC One X

lg g6

You can use the LG tool to carry out this process, although we recommend you read the Korean manufacturer's guide.