RAZR#: GSI on RAZR Fold Cover Display

RAZR# (pronounced as “razor sharp”) is an Android GSI Project to bring a full Android experience to the Moto Razr cover displays. The Motorola Razr cover display is typically limited to vendor-defined experiences such as widgets, notifications, media controls, and Always-On Display (AOD) functionality. Android itself does not officially expose the cover panel as a fully interactive primary display.

drawing

At this moment, this demonstrates a proof of concept showing that the Razr cover display can operate as a functional Android display capable of running standard applications and even Android Settings app and Launcher3 directly on the external panel.

Current State of RAZR#

  • Rendering standard Android activities on the cover display
  • Running Settings app and Launcher3 directly on the external display
  • Functional touch input on the cover panel
  • Multi-display activity launching through Android’s display framework
  • Interaction with Android’s SurfaceFlinger and WindowManager subsystems using the external display
  • Preliminary experiments toward enabling full SystemUI support on the cover panel

Some Reverse Engineering

During reverse engineering and testing, several important observations were made:

  • The cover touchscreen is fully recognized by Android’s InputReader subsystem
  • Android can dispatch touch events from the external panel
  • SurfaceFlinger can render application content to the cover display
  • Launcher3 can successfully operate on the external panel
  • The display occasionally boots into an interactive clock/AOD state where Android properly associates the display viewport
  • The primary limitation is not hardware capability, but rather Android framework and vendor display policy restrictions

Future of RAZR#

This project demonstrates that the cover display is significantly more capable than the stock configuration suggests. With additional framework modifications and vendor service integration work, it is possible to provide a fully functional Android experience directly on the cover display. This work is currently an experimental proof of concept intended for Android framework developers, reverse engineers, and mobile systems researchers interested in foldable device system architecture.

At the moment, I am fairly busy with other ongoing projects and academic responsibilities. However, if there are developers interested in contributing, feel free to open a pull request. I will be happy to help contributors set up the development environment, share debugging notes, and provide guidance on the Android framework and display stack components involved in the project.

There is still significant unexplored potential in making foldable cover displays fully functional and capable Android environments.

Disclaimer

THIS REPOSITORY CONTAINS A CUSTOM ANDROID GENERIC SYSTEM IMAGE (GSI) ROM PROVIDED “AS IS,” WITHOUT WARRANTY OF ANY KIND. USE, DOWNLOAD, OR INSTALLATION OF THIS SOFTWARE IS AT YOUR OWN RISK. THE AUTHORS ARE NOT LIABLE FOR ANY DAMAGES, INCLUDING BUT NOT LIMITED TO DEVICE DAMAGE, DATA LOSS, OR OTHER ISSUES RESULTING FROM THE USE OR INSTALLATION OF THIS ROM. INSTALLING CUSTOM ROMS MAY VOID YOUR DEVICE’S WARRANTY AND COULD BRICK YOUR DEVICE, RENDERING IT UNUSABLE. VERIFY COMPATIBILITY WITH YOUR DEVICE BEFORE INSTALLATION. NO GUARANTEE OF UPDATES, FIXES, OR SUPPORT IS PROVIDED. THIRD-PARTY SOFTWARE INCLUDED IS SUBJECT TO ITS OWN TERMS. MODIFICATION AND REDISTRIBUTION ARE PERMITTED UNDER THE PROVIDED LICENSE, BUT AUTHORS DISCLAIM LIABILITY FOR ISSUES ARISING FROM SUCH ACTIONS. BY PROCEEDING, YOU ACCEPT THESE TERMS. IF YOU DO NOT AGREE, DO NOT USE THIS FIRMWARE IMAGE.