If serial is derived by vin you are screwed, since nobody knows the algorithm. Of course hp s.....r somehow got it and check it for valid combo.

You can fix the serial and vin in hex editor and flash in clone mode with lsdroid. Does the vin needs to be exact match to your current one.