Reverting memory mapping for fixing bootloops