Last month, itself random went into usb host mode when charging and the phone totally cant charge, need to restart then its ok. When i go into fastboot it shows FASTBOOT AC and then FASTBOOT randomly (like gotten shock) and after awhile the problem gone so i didnt bother about it.
Last week, I unplug my phone after i wake up and then itself shows USB HOST MODE, so i tried connect USB OTG and then it didn't works. I thought it was kernel problem so I downloaded ElementalX 18.2 and then i flashed it. Now, after boot, the phone wont charge. It only charge when powered off and RECOVERY mode. Fastboot shows no sign, no FASTBOOT AC or USB, even OTG power. This is strange and weird.
Also, i flashed ARHD 81.0 at older version of TWRP Recovery, and then after i got that problem, i reflash my phone with TWRP 22.214.171.124, at the end it says : "set_metadata_recursive some changes failed" , and the phone can't boot. Luckily i got a nandroid of it so i flash it immediately. It can boot, but the no charging problems still exist.
I later upgrade my TWRP to 126.96.36.199 via TWRP Manager, still get "set_metadata_recursive some changes failed" problem. But, I found out that after i flash the rom, then flash nandroid, when i boot into OS with charging, it can charge in the OS, but not anymore after i went into fastboot or recovery.
And something interesting is, when the phone boot, haven't load the drivers, itself began OTG mode and powered up my powerbank, PLEASE HELP!! Im totally stuck on this!
Does this is a hardware or software problem? Its this the USB board broken or the motherboard? Please respond..
Sorry for my bad English.