Sony Xperia XZ SO-01J is a Japan-exclusive variant released through the carrier NTT Docomo

It is the primary solution for fixing boot loops , soft bricks, or "hanging" on the logo screen.

The stock ROM is responsible for controlling the device's hardware and providing a seamless user experience. It's typically optimized for performance, battery life, and compatibility with the device's hardware components.