FORUMS
Remove All Ads from XDA

[FONT] Oreo 8.1 - Google's Product Sans for MIUI/AOSP/LOS/Stock ROMs

304 posts
Thanks Meter: 1,196
 
By SharkcpN, Senior Member on 26th October 2017, 10:33 AM
Post Reply Email Thread

Google introduced new font "Product Sans" in the Android Oreo 8.1 Developer Preview. This font is by default applied on the Settings app, lockscreen PIN entry and clock on the Pixel 2 series. These fonts are extracted directly from the system images and repacked into suitable files for installing. This should change your fonts system-wide across all apps and typefaces. All font packages are available at the end of the post as attachments.

Changelog
Code:
28/10/2017
Added fix for boxed font on lockscreen (gianton)
Added support for Resurrection Remix ROM
Added support for Pixel devices

27/10/2017
Updated Pixel clock Substratum theme for Nougat 7.x and Oreo 8.x (elmkzgirxp)
Tested & Working On
  • Android Versions - 5.x, 6.x, 7.x, 8.x
  • MIUI Versions - Global & Beta Builds of MIUI8, MIUI9
  • MIUI ROMs - Stock, Xiaomi.EU, Mi-Globe, MIUI Pro, Epic ROM
  • Stock Android ROMs - Sony, OnePlus, Lenovo, Moto devices
  • Custom ROMs - Some ROMs based on LineageOS & AOSP source

Screenshots
For MIUI8 & MIUI9 with TWRP
  • Download MIUI_TWRP_GoogleSans.zip
  • Boot into TWRP > Backup > Select System
  • Install > Select and flash the zip > Reboot > System
  • To revert back to original font, restore "system" using TWRP

For MIUI8 & MIUI9 without TWRP
  • Download MIUI_GoogleSans.mtz
  • Install MIUI Theme Editor : Playstore
  • Open Themes app > Themes > Import
  • Go to Internal Storage > MIUI > Theme > Select GoogleSans.mtz
  • Select the font from themes list and reboot to apply the font
  • To revert back to original font, apply default theme and reboot
  • You wont be able to see bold, italics fonts due to a bug on MIUI
  • Flashing the MIUI_TWRP_GoogleSans.zip using TWRP will fix this issue

For Stock/LineageOS/AOSP based ROMs with TWRP
  • Download TWRP_GoogleSans.zip (AOSP/LOS/Stock based ROM)
  • Download RR_TWRP_GoogleSans.zip (Resurrection Remix ROM)
  • Download PIXEL_TWRP_GoogleSans.zip (Pixel Devices)
  • Boot into TWRP > Backup > Select System
  • Install > Select and flash the zip > Reboot > System
  • To revert back to original font, restore "system" using TWRP (recommended) or flash TWRP_StockRoboto.zip
  • Facing boxed font on lockscreen? Flash this zip by gianton

Change the Lockscreen Font only using Magisk Manager and Substratum
  • This will just change the font on your lockscreen, and not your system font. (Do not flash TWRP font zip if using this method)
  • Your ROM should support OMS, if its Legacy the SystemUI might crash or phone might bootloop.
  • Flash the Magisk-GoogleSans.zip module using TWRP > Reboot > System.
  • Install Substratum Theme Engine : Playstore
  • Install Pixel+2+Lockscreen+Clock_1.1.apk substratum theme.
  • Open Substratum and select the theme and your Android Version.
  • Apply the overlay. Reboot phone if prompted.
  • If your phone bootloops or system UI crashes, flash the rescue package from Internal storage > Substratum folder using TWRP.

Credits
  • elmkzgirxp for creating Magisk module and Substratum theme
  • gianton for his Product Sans font zip which solves boxed font issue on the lockscreen, also check out his awesome thread for more fonts : Link
Attached Files
File Type: zip TWRP_GoogleSans.zip - [Click for QR Code] (1.28 MB, 84044 views)
File Type: zip TWRP_StockRoboto.zip - [Click for QR Code] (3.50 MB, 20554 views)
File Type: mtz MIUI_GoogleSans.mtz - [Click for QR Code] (304.4 KB, 38322 views)
File Type: zip Magisk_GoogleSans.zip - [Click for QR Code] (354.7 KB, 17022 views)
File Type: zip MIUI_TWRP_GoogleSans.zip - [Click for QR Code] (1.66 MB, 17788 views)
File Type: apk Pixel+2+Lockscreen+Clock_1.1.apk - [Click for QR Code] (1.94 MB, 24900 views)
File Type: zip RR_TWRP_GoogleSans.zip - [Click for QR Code] (1.28 MB, 10454 views)
File Type: zip PIXEL_TWRP_GoogleSans.zip - [Click for QR Code] (1.28 MB, 12858 views)
The Following 179 Users Say Thank You to SharkcpN For This Useful Post: [ View ] Gift SharkcpN Ad-Free
 
 
26th October 2017, 02:19 PM |#2  
The Tox's Avatar
Senior Member
Flag Agadir
Thanks Meter: 716
 
More
Thank you for work
Can we flash flash magisk zip using Magisk Manager , i don't have TWRP installed on my phone !
The Following 2 Users Say Thank You to The Tox For This Useful Post: [ View ] Gift The Tox Ad-Free
26th October 2017, 04:57 PM |#3  
Senior Member
Thanks Meter: 56
 
More
Error 255 trying to flash through TWRP.
26th October 2017, 05:13 PM |#4  
SharkcpN's Avatar
OP Senior Member
Thanks Meter: 1,196
 
More
Quote:
Originally Posted by The Tox

Thank you for work
Can we flash flash magisk zip using Magisk Manager , i don't have TWRP installed on my phone !

You may try, havent tested it yet.


Quote:
Originally Posted by x1ld3n

Error 255 trying to flash through TWRP.

Which device? Stock/Custom ROM? Which zip did you flash? TWRP version?
The Following User Says Thank You to SharkcpN For This Useful Post: [ View ] Gift SharkcpN Ad-Free
26th October 2017, 05:23 PM |#5  
Senior Member
Thanks Meter: 56
 
More
I tried to flash TWRP_GoogleSans.zip
Device: ASUS Zenfone 2
ROM: Resurrection Remix 5.8.5
TWRP Version: 3.1.1.0

P.S. I manually replaced files from system/media/fonts with files from archive and it works. But i will have to do this after every ROM update. Flashing is much more easier.

Sent from my ASUS_Z008 using Tapatalk
26th October 2017, 08:56 PM |#6  
Member
Solihull
Thanks Meter: 36
 
More
lockscreen
On the lockscreen where there should be 2 dots splitting the hour and minutes, I get an unfilled box which replaces the dots when I flash the googlesans.zip file through TWRP using an AOSP rom
The Following 2 Users Say Thank You to HotDogfinba11 For This Useful Post: [ View ] Gift HotDogfinba11 Ad-Free
27th October 2017, 01:42 AM |#7  
Senior Member
Thanks Meter: 33
 
More
Big problem here. Did exactly what you told me to.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20171027-034032.jpg
Views:	12594
Size:	125.1 KB
ID:	4315001  
27th October 2017, 04:56 AM |#8  
SharkcpN's Avatar
OP Senior Member
Thanks Meter: 1,196
 
More
Quote:
Originally Posted by HotDogfinba11

On the lockscreen where there should be 2 dots splitting the hour and minutes, I get an unfilled box which replaces the dots when I flash the googlesans.zip file through TWRP using an AOSP rom

Quote:
Originally Posted by Bimm3r

Big problem here. Did exactly what you told me to.

Does your AOSP ROM have lockscreen customizations? If yes then select "Light" or "Thin" lockscreen clock font
27th October 2017, 08:42 AM |#9  
Member
Solihull
Thanks Meter: 36
 
More
Quote:
Originally Posted by SharkcpN

Does your AOSP ROM have lockscreen customizations? If yes then select "Light" or "Thin" lockscreen clock font

I can`t customise the lockscreen font from in the settings on my ROM
27th October 2017, 12:08 PM |#10  
Senior Member
Thanks Meter: 33
 
More
Quote:
Originally Posted by SharkcpN

Does your AOSP ROM have lockscreen customizations? If yes then select "Light" or "Thin" lockscreen clock font


Nope, my rom doesn't have that option. I'm using los 15 beta 4 on OnePlus 2.
27th October 2017, 09:36 PM |#11  
Member
Solihull
Thanks Meter: 36
 
More
Quote:
Originally Posted by SharkcpN

Does your AOSP ROM have lockscreen customizations? If yes then select "Light" or "Thin" lockscreen clock font

what else could we do?
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes