The Razer Phone 2 (review) offers some solid specifications, even by today's standards. The phone sports a Qualcomm Snapdragon 845 chipset clocked at 2.8GHz, a decent 4,000mAh battery with Qualcomm Quick Charge 4.0+ as well as wireless Qi charging support, and a surreal 120Hz IGZO LCD 1440p display. However, the OEM is having a hard time keeping the Razer Phone 2 up-to-date and fix long-standing bugs, probably because their smartphone business is in a bit of turmoil right now.

Razer Phone 2 XDA Forums

Talking about bugs, the Android Pie update for the phone reportedly introduced noticeable color smudging and blurriness in the viewfinder of the stock camera. Apparently the issue also affects third-party apps like Instagram while recording videos and taking pictures. To rub salt on the wound, the Electronic Image Stabilization (EIS) feature of the camera is only exposed to a limited number of apps, which is further capped at 30fps.

As expected, the XDA community comes to the rescue. XDA Junior Member Usyless has compiled a Magisk Module that systemlessly replaces a camera library on the stock OS with an older build from the Razer Phone 2's Android Oreo firmware in order to fix the aforementioned viewfinder glitches. Below you can see two instances of video recording using Snapchat - the first one with the unmodified OS and the latter one after applying the Magisk module.

The modder also offers a supplementary Magisk Module that unlocks EIS on 1080p 60fps video recording. Unlike the first mod, the secondary module isn't compatible with the stock camera app. You must install an appropriate Google Camera port with 60fps support to utilize the true potential of EIS. Note that the EIS mod breaks 4K 60fps recording with the rear camera and 1080p 60fps recording with the front camera.

Razer Phone 2 Viewfinder and EIS Fix Magisk Modules — XDA Download and Discussion Thread