Since the link to
K5 diags+ssh (no fastboot needed!): is broken I will assist:
Main thread:
https://www.mobileread.com/forums/sho...d.php?t=170929
Read this for links to the images you might need and decide what tools to use
Handy links for your device:
K5 diags+ssh (no fastboot needed!): (One more mirror for K5 images)
https://www.mobileread.com/forums/sho....php?p=2202022
Pdf debricking guide:
https://www.mobileread.com/forums/sho...d.php?t=180789
Ixtabs Windows debricking tools & drivers:
https://www.mobileread.com/forums/sho....php?p=2148818
Hope that helps.