SOLVED!!
Your solution involving a tiny piece of paper worked for me!
My phone started acting crazy few months and, getting worse over the time. After a reset, the problem of switching itself off was gone only for few days, so I was about buying a new phone, not from LG, the next day. After...