Warning: A failed flash can brick the unit. Use a UPS on your programming PC.
If OTA fails, you can use the official LG Bridge software on a Windows PC. lm-k500um firmware