I've tried the solutions posted there on mediatek Hotwav H1 device, but none worked. I unlocked the bootloader, rooted the phone, got original stock firmware to play with, but flashing boot.img with fastboot does not make any changes, I still see the same unchanged "on charger" part in init.rc when I look at flashed device's system. No lpm, playpm, custom.rc or any other file can be found on unpacked image except init.rc and init.recovery.mt6580.rc, and these files do not even have "on charger" section.
Tyring "fastboot oem off-mode-charge 0" gives some kind of unsupported error.
I'm quite lost at this point and I owuld even pay someone to explain how to make correct changes to boot.img that would work.