I doubt if stock rom will solve your problem,
as it is possibly some bootloader mistake.
Newly flashing may help, but not because it's stock rom.
Some advice to not only take out main battery, but also backup for a day or two-
i'd for first start with main battery.
(If this may have been helpful to you, don't hesitate to klick "THANKS" button. Better than posting it
btw: full quotes for direct reply aren't necessary...