LG:
Firmware can be upgraded from these modes: Upgrade and Fix
Upgrade: will flash the minimum required partitions, and will try to keep the User-data intact, but still, backup is recommended.
Fix: will erase all User-data, but most likely will fix any error regarding partition tabled corruption or android system errors.
Huawei:
General: