The Custom Droid

Android Tutorials, Tips and Tricks

Install Google Product Sans Font on Any Android

Install Google Product Sans font on Any Android

The Pixel 2 on Android 8.1 Dev Preview incorporates a fresh new typeface in Settings, Clock, Lockscreen, etc. Using this guide, you will be able to install Google Product Sans font on any Android device running AOSP, MIUI, LineageOS, or Stock.


Android 8.1 Developer Preview was announced recently and it brought some hefty new features and aesthetic changes that make the overall visual experience pretty neat and better than ever. We have seen new changes like the revamped settings menu, translucent Quick Settings, dimming navigation bar and much more.

But there’s another renovation that has only made in case of the Pixel 2. The device’s system now uses a different font family (Than Roboto or Nato). The new typeface is known as ‘Google Product Sans‘. But it is only limited to the 2017 Pixel devices only. That’s unfortunate, but then Android customization community makes its way through such things. So, it is now possible for you to install Google Product Sans font on Android devices.

Install Google Product Sans font on Any Android

Google Product Sans Font in Android

The Roboto font family has been a part of Android phones since 2011 and were introduced in Ice Cream Sandwich. Since then, Google hasn’t made any major changes till date. Now, in 2017, with a new set of Pixel devices, it was about time that the company did some reformations.

Other OEMs including Samsung and OnePlus have their own native settings for changing fonts device-wide. However, that’s not the case with devices running AOSP based firmware including Nexus and Pixels. Such device owners either have to struggle with rooting to use custom fonts. But that’s another story, today we are here to help you install Google Product Sans font on any Android device, irrespective of the type of firmware it is running.

Install Google Product Sans Font on Android - Specimen
Install Google Product Sans Font on Android – Specimen (Source:

If you have noticed close enough, you will realize that it is the same font that is used in the ‘Google’ logo. While the Google Product Sans font was itself introduced in 2015, with the remake of the official Google logo, it was never introduced to be a part of the Android system, until only recently.

For now Google Product Sans is officially only available on the Pixel 2. We are not sure if it will make its way to other Nexus and Pixel devices in further Developer Preview releases or not. But no worries, you can still install Google Product Sans font on your phone, thanks to XDA Senior member SharkcpN.

While the major instructions rely on root, the font could still be installed on non-rooted devices, required that the phone is running an Oreo ROM (Officially or Unofficially). That is because we will be using a Substratum theme for such devices.


Before you go ahead and install Google Product Sans font, have a look the screenshots below. The image on the left shows the stock Robot font and on the right shows the Product Sans font.

How to Install Google Product Sans Font on Android

Brief up:

  • If your device is running MIUI 8 or 9, you will have the choice to either install using TWRP or without it.
  • TWRP is compulsory in case of LineageOS, AOSP, or stock ROMs.
  • Only the lockscreen font will be changed using Magisk Module/Substratum theme.

Now that you have a clear idea on how you will proceed, let us hop onto the instructions to install Google Product Sans font on Android.

Option 1: AOSP, LineageOS, Stock ROM, MIUI 8 and MIUI 9 using TWRP

Install Google Product Sans Font - TWRP Installation

  1. Download the TWRP flashable *.zip file according to your ROM/device.
  2. Now, once you have downloaded the file from above, connect your phone to the PC in MTP/File transfer mode.
  3. Copy the specific *.zip file to the internal storage and then disconnect the device.
  4. Boot your device into TWRP mode using the special button combination. We can’t mention it here for every device, but if you don’t know it, you can ask us through the comments.
  5. Tap on the ‘Install’ button. Navigate through the storage and select the zip package.
  6. Swipe the ‘Swipe to confirm Flash’ button.
  7. Once done, tap on ‘Reboot System’.

Option 2: MIUI 8/9 without TWRP

To install Google Product Sans font on MIUI devices, we can also make use of ‘MIUI Theme Editor’ app and manually add the font *.mtz file.

  1. Download the Google Product Sans font file: MIUI_GoogleSans.mtz
  2. If you have downloaded the file to your PC, then make sure to transfer it to your device’s storage.
  3. Open the Mi Themes app on your device.
  4. Under the ‘Theme’ tab, select ‘Offline’.
    Install Google Product Sans Font - MIUI Themes App 1
  5. Scroll down to the bottom and press on the ‘Import’ button.
  6. Browse through the storage and select the ‘MIUI_GoogleSans.mtz’ file to install Google Product Sans font on your MIUI Themes.
  7. The font installation will begin and complete in a few seconds.
    Install Google Product Sans Font - MIUI Themes App 2
  8. After the font has been installed, go to the ‘Offline’ menu again and choose ‘GoogleSans’.
  9. Select ‘Apply’.

Option 3: Only Lockscreen Font using Magisk Module

If you only wish to change the lockscreen font and install Google Product Sans font, then you can simply make use of the Magisk module.

Install Google Product Sans Font - Magisk Module

  1. For this, you must first have Magisk installed on your device.
  2. Download the Magisk module (Credits: elmkzgirxp):
  3. Open the ‘Magisk Manager’ app on your device.
  4. Swipe out from the left-edge of the app screen to open the menu.
  5. Select ‘Modules’.
  6. Tap on the rounded plus “+” icon on the bottom.
  7. Navigate through the phone’s storage and select ‘’.
  8. Press ‘OPEN’ to install Google Product Sans Font.
  9. Finally, reboot the device by pressing on ‘REBOOT’.

The module will automatically be activated when your device boots back.

Option 4: Only Lockscreen Font using Substratum Theme

Another option is to install Google Product Sans font is by using a Substratum Theme. Note that this theme will only work for ROMs that support OMS or Android Oreo 8.0 (without root).

Install Google Product Sans Font - Substratum Theme

  1. Download the Substratum theme: Pixel+2+Lockscreen+Clock_1.1.apk
  2. Install the APK file using a file manager of your choice.
  3. Open ‘Substratum’ from the app drawer.
  4. Select the ‘Pixel 2 Lockscreen Clock’ theme.
  5. Now select the current Android version of your device in the ‘Select Android version’ drop-down menu.
  6. Select the checkbox next to the ‘System UI’ overlay.
  7. Finally, tap on the round paint roller icon and select ‘Build & Enable’.
  8. The overlay installation will complete in a few seconds.
  9. Finally, reboot your device for the changes to take effect.

That was all you need to do to install Google Product Sans font on your device. If you have any problems installing or have questions prior to the process, then please feel free to comment below.

Our appreciations go to XDA senior member SharkcpN, and a few others who played an important role including elmkzgirxp, who created the Magisk Module and Substratum theme for this. And Recognized Contributor gianton for fixing the boxed layout issue.

Source: XDA-Developers

About the Author

Founder and Editor-in-Chief

Dhananjay has more than 11 years of experience in Android software customization and development, and has spent the past 10 years writing about it. He spends most of his prime time reading, learning and writing about Android and other open-source projects. He is also a community-taught web developer. Apart from that, he loves mountain biking and playing video games on his PlayStation.

Comments 11 Comments

  1. Hi,

    I have just ordered Mi A2 and it will be on my hand by Sunday, 14th,
    1st thing that I will do is I will set Google Sans font,
    So for a new phone, please guide each and every steps, so that my newly bought phone don’t get dead or I have to format on the 1st use.

    and is it safe to do this for changing the font?

    and please also suggest me how I can get default font again if I don’t like?

    Thanks in advance.


    1. And please also suggest me which method will be best for Mi A2.
      Do it void the warranty?

    2. Hi JD! First off, congrats on your new Android device!

      This tutorial has not been updated in a while. I did find a Magisk Module that can help you install Sans font and uninstall it by just disabling the module, whenever you want.

      The module could be downloaded from here and you will need to follow the instructions under ‘Option #3’ above.

      Of course, you must have Magisk installed for this, which will break your warranty. But that shouldn’t be an issue, you can always revert to stock firmware and lock the bootloader if you wish to take the phone to the service center at any time in the future. Instructions for rooting using Magisk could be found here:

  2. Hi,

    I am new to android root concept. I am using Moto Z Play (addison) non-root phone, have read your blog, and I have a few questions. Please help me.
    1. I will go with Option 1: via TWRP. I have installed the Official TWRP app and downloaded the .img file. What to do next?
    2. I need to hide the root via magisk manager, I am stuck there too.
    3. I placed the TWRP addison .img file in internal storage, rebooted -> recovery and I saw message ‘No command’. After few minutes, the OS got booted.

    Let me know what I have to do.

    – Charan

    1. Hi Charan. You will need to flash the downloaded TWRP image file via fastboot. So first, make sure to set up Android platform-tools on the PC. Here’s a quick tutorial by us.

      Once set up, follow the steps below.
      1) Boot your phone into bootloader mode. Power it off, then press Volume Down and Power button together.
      2) Connect the phone to the PC.
      3) Execute the following command: fastboot flash recovery twrp-3.2.3-0-addison.img
      4) After flashing, boot your phone into recovery mode. This time, instead of entering the ‘No command’ screen (Which is the stock recovery), it will boot into TWRP recovery.

      Once in TWRP, you can flash Magisk to root the phone. The latest version of Magisk which is v17.1 was just released, you can find the links within our post on the blog’s homepage.

      Let me know if you need any further help.

  3. How to boot MiA1 into TWRP? Will it work on the device containing android one? Thanks!

    1. Hi Sheldon. Assuming that you have already installed TWRP on your Mi A1, booting into it could be easily done using the physical buttons. To do so, first power off the phone. Then hold the Volume Down and Power button all together to boot into TWRP.

      By the way, aren’t you running Android 8.1 Oreo on your phone already?

    1. Hi Pratik,

      Kindly follow the steps below in the given order to enter TWRP mode. Note that you must first install TWRP itself. Otherwise, the phone will only boot into the stock recovery.

      1) Power off.
      2) Hold the Volume Down + Power buttons simultaneously until you see the bootloader mode.
      3) In bootloader, use the Volume keys to move the selector and confirm a selection using the Power button.
      4) Select “Recovery” or “Recovery mode”.

      That’s it! Your device should now be in TWRP.

  4. Why can’t I apply the Google Sans Font on my Redmi Note 4 MTK? It says Themes for third party are not supported, how can I fix that problem?

Leave a Reply

Comments are moderated, and published only if they are relevant to the topic and add value in a constructive way. If you disagree with something, please be polite and respectful. We suggest you read our comment policy before commenting.