Chosen Solution

The cable connecting the keyboard and screen in the hinge snapped, keyboard doesn’t work

The best thing to do would probably be to contact HP support and they can provide you with either replacement parts, or do the repair themselves.