yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi A1 Questions & Answers] Uqbar:
Hi all.

I am going to flash LilneageOS 15.1 on my brand new A1.

We all know it DOESN'T contain any firmware blob (I mean, the stuff that usually drives the baseband modem, the wifi, the touch screen and so on) so I'd need to be sure I am on the latest one before flashing the ROM.

I've been unable to find here a "firmware only" release, also because in a few threads the word "firmware" is used as "ROM".

Is there anyone willing to point me to the proper post?

Please, be patient with me as I'm new to the Xiaomi world, but not new at all with Android and custom ROMs and recoveries.

Thanks in advance.
[Xiaomi Mi A1 Questions & Answers] iG0tB0lts:
Hi, I recently flashed Lineage OS 15.1(Latest version) coming from Stock 8.1 August Update.

I suggest you follow the guide on the Mi A1 Lineage OS wiki which I followed and also use GApps(this survives OTA updates or something) provided by Lineage OS maintainer in his thread + 17.x magisk.

However ok Google does not work from Google App, assistant, maps, etc but the mic works fine.

I have seen people say flashing 8.1 May Beta modem(firmware available here) fixes the issue - see attached image - although I haven't tried it myself.

Hope you have no issues with Lineage OS, it's a bit complicated to flash on this device as it is A/B partition. Ok Google hotword is the only problem I have faced which is outweighed by the many essential features Lineage provides over stock.

If you need additional help please ask, because I myself found it tough to flash initially.

Edit: Having flashed stock GApps zip I also had the issue of camera FC, which was fixed by installing this camera through Magisk, which I will recommend anyway for better photo quality.
[Xiaomi Mi A1 Questions & Answers] Uqbar:
I have just started the process with TWRP recovery by following the LineageOS wiki up to step no.5.

The device is not booting to recovery but rather to system. So I am stuck here.
[Xiaomi Mi A1 Questions & Answers] iG0tB0lts:
Have you already done fastboot OEM unlock?
[Xiaomi Mi A1 Questions & Answers] Uqbar:
I am strictly following the official wiki. Could it be a problem with the A/B partitions?
[Xiaomi Mi A1 Questions & Answers] iG0tB0lts:
If you have already done the

fastboot oem unlock

then reboot to bootloader(Hold Volume Down + Power) and once again do fastboot boot "recovery.img". That will get you into recovery mode.
[Xiaomi Mi A1 Questions & Answers] Uqbar:
Yes, I did the unlock.

What you say deviates from the original wiki.

I am now updating the system so maybe I get the latest firmware.

I will try again soon after.
[Xiaomi Mi A1 Questions & Answers] Uqbar:
Nope. It doesn't reboot, even if the command line says it did.

I have found something about this problem, but am really puzzled as the official wiki isn't mentioning anything about A/B slots.

:confused:
[Xiaomi Mi A2 / 6X Questions & Answers] stkrdknmibalz:
I've had it or 2 weeks and now it will not boot. :mad:

It started with it charging slowly then after it lost charge, it would not boot anymore.

After pressing the boot button + volume up or down, the led blinks and nothing happens.

Can anyone help me with booting this back into stock?
[Xiaomi Mi A2 / 6X Questions & Answers] thedisturbedone:
Have you tried keeping it plugged in overnight? To the wall charger?
[Xiaomi Mi A2 / 6X Questions & Answers] Arju:
If you just got it and have not tampered with it in any way then I would return it and get it exchanged.
[Magisk] vietnam100:
Works fine on Xiaomi Mi Mix 2s and Redmi S2. Thanks

Gesendet von meinem MIX 2S mit Tapatalk
[Magisk] Looki75:
Just wanted to add that if anyone has suggestions to further improve, please suggest.

Depending on the suggestion, I might decline (if too much work or if above my competence).

Cheers
[Magisk] VincentJoshuaET:
Thanks.

Maybe you can make a customized "Condensed" font style? IMO it will look better on some areas like the QS panel and the app drawer.

Also, is DroidSansFallback still needed? It's not mentioned on my ROM's fonts.xml, and I removed it from your module and it still works.
[Magisk] VincentJoshuaET:
Update: I just customized the module and removed the condensed font files. I think I prefer this. (But I guess more people who installed this module would prefer Google Sans everywhere)
[Magisk] Looki75:
You're right, DroidSansFallback is probably not needed, but I included it just in case...

And, this is true: I couldn't find any condensed version of Google Sans / Product Sans so I just re-used the regular one.

The thing is: I am not a font designer, so I cannot design it. In FontForge, I could apply a 90% factor in the x-values, but then letter width would not be uniform depending if the line is horizontal, oblique or vertical...

If anyone can find and give me the condensed version of this font t(+variants italic, bold, bolditalic...) , I would be more than happy to rework it and include it in my module.
[Magisk] VincentJoshuaET:
I guess a good solution is to create another module that still uses the Roboto Condensed fonts (not replacing these fonts)? I already did it myself though, thanks.
[Magisk] VincentJoshuaET:
For comparison:
[Magisk] Saikotmirza:
How can I do this?
[Magisk] MobyDuhFreak:
Do I install this or this magisk module?

Which works best for Resurrection Remix 6.2.0?
[Magisk] Looki75:
UPDATE: V7 with all missing glyphes imported from usual ROBOTO.
[Magisk] cpt.macp:
how did you merge , when i was merging from one font family to othere i was getting offset mismatch and suitable invalids errors

and unicode mismatching acc to glyph name
[Magisk] Looki75:
I used FontForge. At first, the merge process ended up with a mess, with Roboto glyphes being GIANTS compared to GoogleSans'...

On a FontForge, forum I learned that the main parameter to adapt is in "Element/Font info/General/EM".

In order to have a nice merge, this parameter has to have the same value in both fonts.

GoogleSans had 1000, Roboto had 2048.

I changed Roboto's to 1000 (at this point FontForge scales all glyphes), generated the modified version.

Then opened GoogleSans, "Element/Merge fonts" then selected the modified Roboto and FontForge integretad all glyphes of Roboto that were not defined in GoogleSans... No error whatsoever, glyphes with same "overall" size.

Of course its not perfect, because of fonts styles being different...

For example upscript figures of Roboto don't fall exactly in the same place than the one of GoogleSans (only ^4 was defined in GoogleSans)... but anyway it's better than what I had before: some weird characters were missing in GoogleSans and - some of my apps using these weird characters - they were displayed as "squares"...

Hope I could help you.
[Magisk] cpt.macp:
if you are rescaling the roboto then i think some characters might be oddly looking because they are resized now

also you can just deodex the apk and see what all character it uses in resources and just copy those gylphs , but yes it will take time

boxes are bascially " .notdef" so missing glyphs are shows as that box or (5 horizontal lines parallel together )
[Magisk] Aijen:
Amazing Work! All works in AOSPExtended 8.1.0 September Build :B thanks a lot!
[Magisk] taxuezju18:
Hello, I wanna know what is the difference between Roboto fonts and GoogleSans fonts here : https://github.com/Magisk-Modules-Repo/Pixel-Experience-Magisk/tree/master/system/fonts

I have compared between them, it seems their versions are different. Are they the same?
[Magisk] Aijen:
Read the OP for understanding
[Magisk] mp3deviant721:
Thanks for this very complete font module! I noticed the cursor issue too and some missing glyphs but now it's fixed and works perfectly. I'd recommend this module to anybody who asks about it!
[Magisk] taxuezju18:
I have read the OP，I have known this module fixed a problem. When I extract this module, I found the fonts named Roboto, not GoogleSans, and compared with them, find their versions are different. GoogleSans is newer than Roboto, I want to know whether Roboto is the GoogleSans in Android P.
[Magisk] averdin:
Thanks works great for Z5 Compact
[Magisk] jonas786:
Wow loving this font perfecto :good:
[Magisk] Unknowx:
The hour and minute digits are not aligned in the ambient display with One plus 7 pro.
[Magisk] Looki75:
Can you please post a screenshot or photo ?

I have OnePlus 7 Pro as well and don't see any issue...

Thanks
[Magisk] EVR_PR:
[MENTION=2468642]Looki75[/MENTION]

Does anyone know if this module will work on official Android 10?

---------- Post added at 01:57 PM ---------- Previous post was at 01:57 PM ----------

[/COLOR [MENTION=2468642]Looki75[/MENTION]

Does anyone know if this module will work on official Android 10?
[Magisk] Looki75:
Not yet.

But probably will.
[Magisk] TENN3R:
Tested on my Pixel, works flawlessly
[Magisk] EVR_PR:
Thanks! Will test it out!
[Magisk] zen95:
works fine on Android 10 Oneplus 7pro
[Magisk] Afisall_James:
Hey, anyone tested it on pixel experience 10?
[Magisk] KapilNagpal01:
Is it compatible to install with Magisk Canary 19.5

I am on Android Q and guys have confirmed above it works on Android Q. My only concern has script been updated for Magisk as it has got many updates.

Thanks in advance for your help.
[Magisk] Looki75:
No need to update anything in my module.

Working great on Android Q + Magisk 19.4 on my OnePlus 7 Pro.
[Magisk] KapilNagpal01:
Thanks buddy. Will try it immediately. Thanks for your reply ?
[Magisk] pi4a7a:
Xiaomi Mi Mix 2s user here, running MIUI EU 9.9.26 v2 and with today's update they somehow broke your module, half of the system isn't running GS, half is.

I wanna help you fix that, tell me what can I upload for you so you could look into your problem. We really enjoy this module and I'll be glad to help gettings it fixed, thanks.
[Magisk] NeO_ReVoLuTiOn89:
The same here for a xiaomi mi 8 using the same miui version.
[Magisk] wewenk:
You need to replace MiLanProVF.ttf with Roboto-Regular.ttf from this module..
[Magisk] Looki75:
Can you upload anywhere the content of your /system/fonts folder?
[Magisk] Ghd182:
How do you edit magisk modules?

I tried to simply unzip, add the file and zip it again but it gives me error during install
[Magisk] wewenk:
I don't edit magisk module..

I just copy paste it with rooted file explorer

It's on /sbin/.magisk/modules/modules_name/system/fonts
[Magisk] Ghd182:
Thanks it works!

But what about the name of the apps in notifications? They used to be bold in miui 10... Do you know if it's possible to turn them bold again?
[Magisk] Looki75:
Guys,

If you can share with me (through Google Drive) a zip file with the content of your ROM's /system/fonts folder, I can update the module so that it works every where...
[Magisk] DvLAx3l:
Pixel 3 XL Android 10 October Update fonts if u need

https://drive.google.com/file/d/140xsDFvBxeQHSUN13bF97MaxMVtF_6kK/view?usp=drivesdk
[Magisk] FaizanChauhaan:
Flash via magisk but not found this font.. where can find this font?

I have S9 plus device
[Magisk] Looki75:
Please reformulate your question...

What did you flash?

What did you not find and where you expected to find it?
[Magisk] wewenk:
Set it bold in setting, display, text size and font weight

---------- Post added at 04:26 PM ---------- Previous post was at 04:21 PM ----------

here you are.. I'm on MIUI 11 (MIUI eu 9.926) btw, so it will be default roboto instead

https://drive.google.com/open?id=17cReOhykpkYQnKTLBvv9wuUzEDRVkBz5
[Magisk] Ghd182:
To me nothing changes in the width
[Magisk] FaizanChauhaan:
How to installed this font on my Galaxy s9 plus..i flash vua magisk but not found google sans font..
[Magisk] Looki75:
It is applied automatically
[Magisk] FaizanChauhaan:
Not Working On My Device...[emoji53]
[Magisk] Looki75:
Are you able to successfully install other Magisk don't module?
[Magisk] FaizanChauhaan:
Yes
[Magisk] wewenk:
First, you have to use default font on theme/settings. Not other themed font.

Then flash this font magisk module, reboot.
[Magisk] FaizanChauhaan:
Ok I'll try tonight thn post result
[Magisk] Hirs_E_Fruit:
[MENTION=2468642]Looki75[/MENTION] is there a way to check if the Module works because I am not sure.

OnePlus 7 Pro, OOS 10

---------- Post added at 11:55 AM ---------- Previous post was at 11:55 AM ----------

[/COLOR [MENTION=2468642]Looki75[/MENTION] is there a way to check if the Module works because I am not sure.

OnePlus 7 Pro, OOS 10
[Magisk] Looki75:
This is how I do:

Look for capitalized letters Q and O everywhere you can. If they look like perfect circles, you're ok.

Look for figures 6 and 9 everywhere you can.vif they look like a small perfect circle with added straight line, you're ok.

Check in as many places as you can because depending on the place or app, some proprietary fonts might be used...

A good place to start is to check in Gboard.

If ok, then the module applies successfully.

Then look elsewhere. If somewhere the test fails, it means in that specific place a specific font is used.

If it fails somewhere, then send me a zip file with the content of your /system/fonts folder.

If there is a font that I didn't take into account, I will be able to identify it and patch my module.

Final note: on some phones, there is the possibility to choose a system-wide font from a selection. In this case, you need to make sure you select "default font".
[Magisk] Looki75:
By the way, I own the same device with same ROM than you: OnePlus 7 Pro with OOS10.

The module works perfectly if you choose "roboto" font in OnePlus settings. Do not select "OnePlus slate" font - that would make the module not applying.
[Magisk] Hirs_E_Fruit:
Solved it!

Seems like I somehow installed the wrong Magisk Module...

Thank you for your help!
[Magisk] JonathanR9:
Not working on lock screen (time)

Hey I have installed the magisk module on my Moto G5 plus and everything looks fine except for the lock screen ( as you can see on the screen shot attached) the time on the Google pixel has type of font black and this one shows normal still.

But thank you for this module! I'll keep it! :)
[Magisk] Hellboy4:
It's work on PE 10 ?
[Magisk] Looki75:
Yeah, nothing I can do about this... Sorry.
[Magisk] Looki75:
I don't know what is PE10.

It should work though...
[Magisk] Hellboy4:
Poco f1 Android 10
[Magisk] yashinodon:
It's Pixel Experience 10
[Magisk] Gordietm:
I just flashed the latest twrp zip. I'm on a OnePlus 7 Pro running Android 10 beta 4. And I can't tell any difference in the font. Can someone tell me if it worked?
[Magisk] Looki75:
On your screenshot it seems the font applied correctly in the status bar, but seems to not apply in the settings text...

Look for capitalized letters Q and O everywhere you can. If they look like perfect circles, you're ok.

Look for figures 6 and 9 everywhere you can. If they look like a small perfect circle with added straight line, you're ok.

Check in as many places as you can because depending on the place or app, some proprietary fonts might be used...

A good place to start is to check in Gboard.

If ok, then the module applies successfully.

Then look elsewhere. If somewhere the test fails, it means in that specific place a specific font is used.

If it fails somewhere, then send me a zip file with the content of your /system/fonts folder.

If there is a font that I didn't take into account, I will be able to identify it and patch my module.

Final note: on some phones (eg OnePlus), there is the possibility to choose a system-wide font from a selection. In this case, you need to make sure you select "default font".

I own a OnePlus 7 Pro as you, running Stable OOS 10.0.1 and the module works correctly.
[Magisk] Gordietm:
Here is the file:

https://drive.google.com/file/d/12S0Kw9X1SrbQPGbOIStj1A4zxXzOr5GP/view?usp=drivesdk
[Magisk] Looki75:
Is that in Oxygen OS ?
[Magisk] Gordietm:
Yes, I'm on OOS 10 beta 4
[Magisk] Looki75:
Ok I'll check that.

Thanks for your contribution.
[Magisk] Looki75:
Did you select "Roboto" in Settings / Customization / Font ?
[Magisk] Gordietm:
Yes
[Magisk] Looki75:
Ok, trying to narrow-down the issue(s), could you please make the following screenshots

* Gboard letters and figures keyboards

* Magisk "Modules" page

Thanks
[Magisk] Gordietm:
Screenshots:
[Magisk] Looki75:
Apparently the module did not apply...

But...

I don't see my module in the Magisk screenshots... ??*♂️

Are you sure you installed it?
[Magisk] Gordietm:
I installed the twrp zip file.
[Magisk] Looki75:
Oh... Try installing the module instead.

On newer devices with A/B slots I'm not sure my TWRP zip file will work...

On my OnePlus 7 Pro I use the module. Works flawlessly.

Let me know how it goes.
[Magisk] Gordietm:
Ok, I just flashed the magisk module, here is the screenshot. I think it's working.

Let me know.
[Magisk] Looki75:
Yep, working perfectly now (see "9" in the status bar and "o" in some words of the settings screen).

Enjoy ?
[Magisk] Gordietm:
Great, thank you for the great support. ?

---------- Post added at 02:09 PM ---------- Previous post was at 01:09 PM ----------

This font is just a pleasure to look at. :)
[Magisk] Looki75:
Yeah, a real pleasure.

I PM'd you about an off-topic question. Did you see that?
[Magisk] Gordietm:
Just saw it and replied.
[Magisk] liver20:
Works on oos stable !!

Enviado desde mi GM1913 mediante Tapatalk
[Magisk] richardqcarvalho:
In miui 10, it works perfectly. But, in miui 11, the font install only in some parts of system. In another, the font Roboto keeps.
[Magisk] Ghd182:
Yup it's due to continuously scalable width of default font... Maybe is only a temporary bug and with the next updates it will be solved

With miui 11 default font I can't see any difference between regular and bold while writing on WhatsApp for example and even after following this suggestion (which is the only way I found to apply product sans system-wide)

↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓
[Magisk] tehrzky:
yup not working correctly on miui 11. is this the problem of os?
[Magisk] wewenk:
Read my post above
[Magisk] Ghd182:
Yeah the problem is that miui 11 introduced magical "continuously resizable" font... So now you can control width of system default font and choose how much thin or bold should it appear... Btw there are some related issues:

1) this mod on miui 11 works completely only after substitution of fonts as said by [MENTION=3102136]wewenk[/MENTION] (but you cannot resize width after that)

2) bold text in notifications, Whatsapp or others is broken... No difference with plain text ?
[Magisk] wewenk:
I can resize and make it bold with miui 11.. it's working
[Magisk] hshah:
Everything seems good to me on my Samsung Note 8 :good:
[Magisk] Ghd182:
I tried but on my phone it doesn't work properly... Which fonts have you edited/substituted, only MiLanProVF.ttf with Roboto-Regular.ttf?
[Magisk] Majeeds91:
thanks.....
[Magisk] Lauriso:
Greetings!

I'm a bit stupid and can't quite understand what is meant by "You need to replace MiLanProVF.ttf with Roboto-Regular.ttf from this module". Do I take the Roboto file from the module, copy it to system/fonts folder, and then rename it to MiLanPro?

What I want is for the Google font to also show on WhatsApp and Chrome, which stopped happening with MIUI11.
[Magisk] Ghd182:
Yup! You have to Copy Roboto-Regular.ttf somewhere, rename it as MiLabProVF.tff and copy in magisk path ??
[Magisk] Lauriso:
So I replace MiLab with Roboto all in the magisk folder? Not the system/fonts?

I think I messed something up and now the Google font looks much thinner (was it bold before?) ?
[Magisk] Ghd182:
Steps that worked for me:

(1) Find all Roboto fonts you have in /system/fonts/ (these are the fonts you want to replace)

(2) Find all Roboto fonts you have in /sbin/.magisk/modules/looki75productsansfont/

(3) save them somewhere (for example in your Download folder)

(4) change the names of fonts saved in Download with the related one (or what you suppose is the analogous) you have discovered in point (1) in /system/fonts/

For example:

Roboto-regular.ttf from my magisk saved copy in Download folder is renamed MiLanProVF.ttf

Also I renamed other copies of Roboto-Regular.ttf as MiuiEx-Regular.ttf and others

...Actually I don't know where these other fotns appear in MIUI interface, so I renamed also to MiuiEx and a few others in my substitution

Hope it helps ✌?
[Magisk] Looki75:
Thanks guys for helping each other.

I didn't have much time lately, but I need to modify the module so that it works out of the box for MIUI ROM's

I hope to do so soon.
[Magisk] Brodie_:
I don't think it's working for me ? OnePlus 6 A10 Stable. Any ideas?
[Magisk] Ghd182:
Try these steps

↓ ↓ ↓ ↓ ↓

they work for MIUI... I think it's the same on OxygenOs, maybe there are z6ome fonts with a different name (such as MiuiEx-Bold.ttf in MIUI)
[Magisk] Looki75:
I works on all my OnePlus devices.

Follow steps in first post and send requested screenshots to troubleshoot...
[Magisk] arindy:
Font
[Magisk] :
OB5 Android 10 OnePlus 7 Pro doesn't seem to work. Font isn't applied at all.
[Magisk] Looki75:
Please follow instructions in post 1 so that I can help
[Magisk] Arnav74:
Works for me on OP7P Android 10 (10.0.1.GM21AA). I had to make sure I was using the default font and not OnePlus font in Settings>customization>font. Looks amazing, thanks for this module btw <3
[Magisk] c3k:
Hi, i've found a problem with utf8 arrows:

↘	SOUTH EAST ARROW

↙	SOUTH WEST ARROW

south east should point on bottom right and south west should point on bottom left

in your font are inverted

fixable?
[Magisk] Looki75:
Probably fixable.

I'll have a look later this week.

Thanks
[Magisk] Deluriane:
Hello! Thanks for the font looks great on my phone, been using it for awhile now. Just wanna inform you that file sizes on playstore seems to be cut off by a little, not an issue w/me though. I've attached a screenshot w/red dots on the file sizes that are cut off by a little and font size I'm using is the smallest if that helps.
[Magisk] furkaan28:
That is a playstore bug.
[Magisk] Deluriane:
Gotcha! :good:
[Magisk] Looki75:
Little Christmas present :)

UPDATE: V15 - improved compatibility with latest versions of MIUI roms + fixed south-east and south-west arrows.

Note: between V14 and V15, I changed my system from PC to Mac and for some reasons the fonts are now generated with a much higher file sizes...

Embedded in V15 of module

Fixed in V15 of module.

Enjoy !
[Magisk] Gordietm:
The module description in the Magisk modules once it's flashed shows v14.

I can see when it's flashing that it's v15 though.
[Magisk] Looki75:
Oh yes, you're right...

Forgot to update this...
[Magisk] Looki75:
Should be ok in the updated version I just uploaded
[Magisk] Ghd182:
Just to know, why is there a MACOSX folder with same structure of main path inside the zip archive?
[Magisk] Gruber008:
Actually font changed a bit, seems like it got more "bold", but I just like it and always will to be honest, I'm using it since it was released and I must say I really appreciate all your work. :)
[Magisk] delete2019:
Oneplus 7 pro Android 10

after i install this module my font was change but i dont know where i cant change fonstyle which one i like. This only one style defaut. I want to change to Roboto style. Some one can help me.
[Magisk] CarbonGTR:
Would it be possible to add stock pixel like, Roboto+Product Sans in the UI?
[Magisk] brenosnt:
This module overlaps the source of the system because it was designed exactly for those who want Product Sans. To use another, you need to uninstall this module
[Magisk] EVR_PR:
The new update to v15 changed the font type from v14. It's as if v14 used regular and medium weight when needed but now v15 uses light and thin weights all over. It makes it very uncomfortable for reading. I'm running stock Android 10 on a Pixel 4 with the December patch.

Edit: v16 fixed all issues on my phone. Thank you, OP!
[Magisk] Gruber008:
I actually like it better like this, only minor issue that I'm having in v15 is that the letter "d" in links gets cut off.

(check the screenshot below)
[Magisk] answa:
Can somebody please upload v14. This new one looks messed up on my phone.