I have a 3 years old LG Nexus-4, I have tried multicore cpu controller pro and some cardboard/VR apps (google cardboard, fulldive, etc..) recently & I have faced some rare random restart for 4-5 days. (that was not too much, its like 2 times restart a day)
Now I am facing a very wired issue. My phone runs fine on AC/charging status, but as soon as I go on battery (disconnect AC/charging) mobile just goes off or reboot and does not boot at all :(
Another weirdest thing is it works fine (on battery as well) on bootloader & recovery clockwork (22.214.171.124-mako.img) adb & fastboot command works & even touches works fine on TWRP 2.7 and battery status reports properly 100% to 1% (till it dies after full battery drain & it takes for 3-5 hours), so battery is not a real problem :|
The following things are already tired and result are mentioned respectively.
Uninstalled all the recently installed app and cleared all settings from mutlicore cpu controller pro
Updated OS to 3rd party marshmallow, Tried a 6.0 Android M for nexus 4 from xda forum.
Rolled back to factory image - Android 4.4 (occam-krt16s)
Updated OS from factory image - Android 4.4.4 (occam-ktu84p)
Tried TWRP 2.8, 3.0 as well
Tried debugging with adb :
C:\Program Files (x86)\Minimal ADB and Fastboot>adb bugreport
/sbin/sh: bugreport: not found
C:\Program Files (x86)\Minimal ADB and Fastboot>adb logcat -v time
/sbin/sh: exec: line 1: logcat: not found
- Tried to boot to safe mode. works fine again only on AC/Charging. :(
Results: No change at all :(
It would be very grateful, if anyone could give some information how to find the root cause or a solution/fix for this.