yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device General] whalesplaho:
Really wish i could do something so has to get font selector working.... Missing tha app n cant change font!:crying:

Did yhu check tha logcat?
[Sony Cross-Device General] IgorEisberg:
The logcat is pretty much useless, it's a kernel related error.

Which font do you want? I'll make you a flashable ZIP that does exactly what the app does.
[Sony Cross-Device General] whalesplaho:
I want Inconsolata.... Maybe i can even use tha zip for other fonts i have. Just a guide on how-to ll also help me.

Thanks!

---------- Post added at 10:45 PM ---------- Previous post was at 10:26 PM ----------

It works with stock patched kernel.... I ll try to inform tha kernel dev im using. As yhu mentioned kernel, i just tried out stock 33 kernel patched...:highfive::good:
[Sony Cross-Device General] IgorEisberg:
So basically you wasted my time while you were using non-stock, probably error-ridden kernel? Good to know...
[Sony Cross-Device General] whalesplaho:
Sorry buddy... I didnt mean to!!!

Its a stock based kernel and thanks for mentioning dat cos it made me give a try... Please yhu can still post me tha zip cos im a lover of tha kernel buh i have informed tha dev... Thanks!
[Sony Cross-Device General] IgorEisberg:
Switch font and then switch kernel that's all I can offer.
[Sony Cross-Device General] whalesplaho:
I dnt understand... Was thinking yhu wanna provide me a zip file to use!!!
[Sony Cross-Device General] Marília de Oliveira:
Good job! :D
[Sony Cross-Device General] utsav911:
Does anyone know what's wrong here?
[Sony Cross-Device General] IgorEisberg:
Try not using any spaces in the path of the application. Move the application's folder to the root of your drive, i.e. "C:\AdvancedApkTool".
[Sony Cross-Device General] utsav911:
Sweet man. That worked!
[Sony Cross-Device General] whalesplaho:
anyone using dis on 7.1.1?

doesnt work here... triggered reboot when i clikc on font in settings-display
[Sony Cross-Device General] IgorEisberg:
Is your services.jar patched?
[Sony Cross-Device General] Beetle84:
Yeah mate, works here, X performance, 41.x.x.x.8
[Sony Cross-Device General] whalesplaho:
Year... I patched it!

---------- Post added at 12:54 PM ---------- Previous post was at 12:45 PM ----------

Please tell not how did you patch your services.jar... I have done it using disk method; https://xdaforums.com/crossdevice-dev/sony-themes-apps/guide-disable-signature-verification-t3549952
[Sony Cross-Device General] Pandemic:
Me and works on xz latest fw 7.1.1

Verstuurd vanaf mijn F8331 met Tapatalk
[Sony Cross-Device General] Beetle84:
I tried that way too but no good, I used serajr's method and it worked from the call recorder thread, BUT, I had a modified core-oj.jar from trying the same method you did. So it maybe a combination of both (services.jar and core-oj.jar) or maybe serajr's method is enough. Serajr's method is perfect.
[Sony Cross-Device General] whalesplaho:
I ll give it a shot now again.... Thanks!!
[Sony Cross-Device General] whalesplaho:
Font selector working atleast.... It was due to improper patch of services.jar!!!

Thanks to [MENTION=3989065]serajr[/MENTION] and [MENTION=5503871]Beetle84[/MENTION]
[Sony Cross-Device General] chitose_ndy:
How do u get it working?

I use ur superuser mod but still got reboot :(
[Sony Cross-Device General] whalesplaho:
Did yhu download tha one i re-uploaded??

Its working fine here brov.... Just make sure yhu have a deodexed rom den flash my mod and also download font selector from OP N flash.
[Sony Cross-Device General] chitose_ndy:
Yea, I deodexed my rom and redownload and reinstall ur superuser mod..

Still reboot..

Is it because of the kernel Mode?
[Sony Cross-Device General] whalesplaho:
Nope... Im on stock with patch kernel and rooted with magisk. If same den download selinux changer and put in permissive mode den reboot and try font selector again.
[Sony Cross-Device General] chitose_ndy:
Yeah, the Problem is the kernel mode.

I changed it to permissive and now its working!

Thanks!
[Sony Cross-Device General] whalesplaho:
I stated in my thread dat make sure yhu re on permissive mode.... :highfive::good:

PS: please post feedback on tha thread.
[Sony Cross-Device General] kloroform:
Hi I followed this superuser mod and I can see Change Font option but whenever I click it my phone just crashes and restarts

I am using Sony Xperia F5122 7.1.1

Edit:

Used this method for Permissive mode and its working, Thanks!
[Sony Cross-Device General] IgorEisberg:
Yeah, SELinux became much stricter on Nougat, so Font Selector won't work on Enforcing mode anymore because Font Selector is identified as a "foreign" app, because it was signed with a signature that is different than system's signature.
[Sony Cross-Device General] kloroform:
Hattori Hanzo font
[Sony Cross-Device General] KobySam87:
Can the fonts be used on Oreo custom rom like Nitrogen O Shamu. ???
[Sony Cross-Device General] IgorEisberg:
It's not intended for custom ROMs.
[Sony Cross-Device General] KobySam87:
Ok. Well noted.. However, can you point me in the right direction where I can get fonts for my device?
[Sony Cross-Device General] Bewildered Wolf:
Do you want flashable zips ?
[Sony Cross-Device General] KobySam87:
Yeah... Flashable zips or normal APKs are welcomed..
[Sony Cross-Device General] IgorEisberg:
Android doesn't support installing fonts as normal APKs... Your only option is to completely replace your system fonts.
[Sony Cross-Device General] KobySam87:
Well, flashable zips then..
[Sony Cross-Device General] Bewildered Wolf:
Google. Flashable zip fonts. And there is a very large xda thread about that. You'll get almost every font there.
[Sony Cross-Device General] iXaidyiu:
Or, manually rename the 6 variants of fonts and push them into /system/fonts\ with correct permissions.
[Sony Cross-Device General] Bewildered Wolf:
Too much hassle. [emoji14]
[Sony Cross-Device General] KobySam87:
A link to the thread will be very much appreciated.

---------- Post added at 07:42 PM ---------- Previous post was at 07:41 PM ----------

[emoji12] [emoji14]
[Sony Cross-Device General] Bewildered Wolf:
https://www.google.co.in/amp/s/xdaforums.com/android/themes/fonts-flashable-zips-t2964304/amp/

https://xdaforums.com/showthread.php?t=801160

You've got to search bro.
[Sony Cross-Device General] IgorEisberg:
I took some time to update Font Picker's flashable ZIP. Now you can, theoretically, flash it on any device.

Pick the "Universal" variant from the OP for your custom ROM and give it a try. No guarantees though, but it works for me.

P.S. I renamed the app from Font Selector to Font Picker. It's just a better name.
[Sony Cross-Device General] KobySam87:
[emoji122] [emoji122] [emoji122] [emoji122] ... You are genius bro...
[Sony Cross-Device General] Bewildered Wolf:
Will work on any Sony device or any device ?
[Sony Cross-Device General] IgorEisberg:
Should work on any Android 5.0+ device, not just Sony.

The new flashable ZIP does a tricky one-time patching of fonts.xml and it relies on a few things that, supposedly, every ROM has, but that remains to be seen. Report to me if anything goes wrong (just make sure you followed the requirements beforehand).
[Sony Cross-Device General] KobySam87:
Ok.. After flashing the universal zip... What next? How do I change the fonts?
[Sony Cross-Device General] IgorEisberg:
You install a font APK from the OP.

Then you have a Font app in your launcher to switch between installed fonts.

If you don't see the launcher icon, it means you haven't followed the Requirements on the OP.
[Sony Cross-Device General] KobySam87:
Hehehe

---------- Post added at 11:39 AM ---------- Previous post was at 11:19 AM ----------

Well, obviously I don't see the font picker app... Yep... Missed a step in the OP
[Sony Cross-Device General] IgorEisberg:
Must be these two. Make sure that checkSignatures method is patched in services.jar and that your SELinux is in Permissive mode.
[Sony Cross-Device General] whalesplaho:
I jux mod a font and it working perfectly..... I need help on modifying my fonts so as to use dem. Thanks for yur help!
[Sony Cross-Device General] IgorEisberg:
That I cannot do. FontCreator is not a freeware.

http://www.high-logic.com/font-editor/fontcreator.html
[Sony Cross-Device General] whalesplaho:
I know... Im jux asking bout a tut how to convert a regular font to italics, bold etc!
[Sony Cross-Device General] IgorEisberg:
I'm sure Google has these answers. I learned in 2 minutes by trial and error.
[Sony Cross-Device General] whalesplaho:
appreciate yur help brov.... thanks
[Sony Cross-Device General] Metallijim:
Ubuntu

HI all I've made Ubuntu, from the Tutorial. As I haven't installed the mod yet, I'm attaching it here for you guys.

Please test and let me know that it's working fine. If there is enough interest I'll create more from my font thread.

ENJOY!!

EDIT: Re-uploaded, was wasting space Thanks [MENTION=1879618]IgorEisberg[/MENTION] I'm still learning!
[Sony Cross-Device General] IgorEisberg:
The Black and BlackItalic variants are an exact copy of the Bold and BoldItalic variants. Why waste space? Just set the XML to read the Bold and BoldItalic for both 700 weight and 900 weight. Also you never used the "Ubuntu-M.ttf" file, again, a waste of space. I presume it's the Medium variant. In that case It would be wise to rename it to Ubuntu-Medium and create an Ubuntu-MediumItalic variant, then set the 500 weight entries to those variants. I could do it myself later if you wish.
[Sony Cross-Device General] Metallijim:
I see, I'll edit. Sorry new to this.
[Sony Cross-Device General] IgorEisberg:
Done. http://www.mediafire.com/download/vv71glg3iojvtlj/FontPack-Ubuntu.apk
[Sony Cross-Device General] Metallijim:
Beat Me! Dammit!

Strange though, Mine is smaller than yours (1.38mb vs 2.13mb)
[Sony Cross-Device General] IgorEisberg:
Muahaha. I wish I had more time, there are so many elegant fonts out there I wish to pack and share...
[Sony Cross-Device General] Metallijim:
Name them from my thread, and I'll do them, and upload to a folder on mediafire, should be able to send you a shared, editable link, so we can put them all in one place, or if you want i could upload to a shared folder of yours, do a similar setup to my fonts thread. what do you say?
[Sony Cross-Device General] IgorEisberg:
Sure I'll figure how to make a shared folder when I get home.

However I do manual editing for each font file, especially to remove useless glyphs (like icons and symbols which aren't used by Android but could occupy more than 1MB of space), and also generate variants for different weights and styles (italics).
[Sony Cross-Device General] Metallijim:
I see, more through than me. Perhaps you can teach me how to, then I can optimise the fonts, then make them into an Apk. What tool do you use to edit the fonts? Font Forge? As for making variants, again I don't know, I just usually try to find a complete family.
[Sony Cross-Device General] IgorEisberg:
You won't always find a complete family. I use FontCreator by High-Logic.
[Sony Cross-Device General] Metallijim:
I'll look into it. Thanks!
[Sony Cross-Device General] polomalkin:
Both of zips not works at all. No icon in settings (with "no icon" file) and nothing with "icon" file.

Xperia Z Ultra c6833, stock 5.1.1 rom.
[Sony Cross-Device General] IgorEisberg:
For Z Ultra and Z1 there won't be a shortcut in Settings. It's only for Z2 and up.

If you don't see Font icon after flashing the "With Icon" variant, you have a problem with your launcher, as there is a LAUNCHER intent defined.

EDIT: Took the time to make things more clear, about which variant you should use:
[Sony Cross-Device General] aidy.lucas:
Installed settings version as running z2 port with z2 x settings fonts installed and working fine on my M2 look forward to seeing more fonts nice work.

D2303 5.1 deodexed z2 port+z5+X apps+themes, be,xr,sv,ad,XZRt2urecovery,xposed,z5 cam2.0,xLOUD,S-Force,viperaudio+more
[Sony Cross-Device General] IgorEisberg:
Yeah, I have my Settings ported from a Z5 5.1.1 firmware to my Z1 too (just like you see in my screenshots). For ported Settings apps the Settings->Display icon variant will work.
[Sony Cross-Device General] Bewildered Wolf:
Also for more fonts apk, check for my thread named Fonts for Xperia. In my description.
[Sony Cross-Device General] KobySam87:
I have a nexus 6... Will they work on it.
[Sony Cross-Device General] Bewildered Wolf:
Basically this app needs anfomt apk to work. I've made a lot of font apks.aybe you should try.
[Sony Cross-Device General] IgorEisberg:
These font APKs are universal and will work on any device, especially on AOSP-based.

Only on devices that use custom fonts (Xperia UI, MIUI, etc) some modification to the font APKs is needed.
[Sony Cross-Device General] vicl89:
The option appears in my phone settings, the fonts appear, even the phone reboots when I select an option to change rhe font but... After reboot, the font is the same. I downloaded the apk from apkmirror, I'm on Oreo, my device is a XZP

Any advice?
[Sony Cross-Device General] IgorEisberg:
Interesting. Do you have a folder /data/system/fonts and do you see files inside?
[Sony Cross-Device General] vicl89:
The only font I see is this one: "UserFont.ttf"

My device is odexed and is strage because you said that the option will be visible if I'm on deodexed file with patched services.jar. I just rooted my phone with Storm's XperiFix. Is there a chance to me to change the fonts?
[Sony Cross-Device General] IgorEisberg:
"UserFont.ttf"? What exactly did you flash and where did you get the flashable ZIP?
[Sony Cross-Device General] vicl89:
I just downloaded the apk that you uploaded fron apkmirror, I created a folder called "com.sonymobile.fontselector" put the right permissions. I did the same with your apk (change name and permissions) and yes, it worked, it appears on system settings but I guess I miss something, maybe something with fonts.xml.

The last time I selected babypop font, it seems that the selector extracts the font you choose and put in the data/system/fonts folder. But I saw that my selector has the default one but when I see the font in font viewer, is the babypop one.
[Sony Cross-Device General] IgorEisberg:
Why the hell would you do that? The APK on APKMirror has nothing to do with this Font Picker on this thread. They are absolutely different apps.

The one on APKMirror is Sony's official Font Selector for Japanese ROMs. It's absolutely useless.

Why would you even look for it on APKMirror when you have a flashable ZIP linked on the OP?
[Sony Cross-Device General] vicl89:
Because I flashed yours and I didn't see nothing, I got desperate and wanted to kill myself so I did my best try. What's the main difference between yours and Sony? I just wanted to get tricky and make experiments on my device and just wanna know why the app works on my device without making nothing. I guess I'll patch the services.jar and see if ot works.
[Sony Cross-Device General] IgorEisberg:
You "didn't see nothing" because you failed to follow the requirements. Your ROM rejects the APK, it's part of Android's defense.

As to "What's the main difference between yours and Sony?" - I told you already, completely different apps. I wrote mine from scratch and it's signed with my own signature. That's why Sony's app works immediately but mine doesn't, the OS rejects apps that are not signed by Sony.

I really don't understand why you're trying to "work around" the requirements and then reporting it as if something with the app is wrong...
[Sony Cross-Device General] vicl89:
Nope, I didn't say yours didn't work, I knew the reasons, I just want to experiment and see results. I said since the first time that I downloaded the app that you uploaded from apkmirror. Your work is great, I just wanna know exactly why the official one didn't work. First I'll need to get ride of deodexing my ROM, an then I'll need to patch services.jar, after all this time I'll flash your pack again. Sorry, I didn't want to get you mad.

EDIT: But if you want to share me the method you used to get the system dump from the DoCoMo's firmware, I'll appreciate it. I downloaded the XZP firmware with xperifirm but I didn't find a good way to ger the system files from .sin
[Sony Cross-Device General] nophyan:
Not work on z1 lollipop, when selecting font and want to apply, the device is not restart, and nothing changed

Logcat in attachment
[Sony Cross-Device General] IgorEisberg:
I'm using it on Z1 Lollipop and it works perfectly. The screenshots were taken on a Z1 Lollipop...

Make sure every requirement is met and that Sony RIC and SELinux are disabled.

To do that easily on a Z1 Lollipop, just open the file "/system/etc/init.qcom.post_boot.sh" and append these lines to the end of the file:

# Disable Sony RIC
echo 0 > /sys/kernel/security/sony_ric/enable

# Set SELinux to permissive mode
setenforce 0

Save and reboot.
[Sony Cross-Device General] nophyan:
Thanks, working like a charm
[Sony Cross-Device General] tommy1616:
when I use in z1 nougat(e.g.LOS and carbon), sometimes it cant work, FC.
[Sony Cross-Device General] IgorEisberg:
That tells me nothing.
[Sony Cross-Device General] tommy1616:
Sorry, my English is not good, it can sometimes open, but most of the time can not, how do I let you know bugs?
[Sony Cross-Device General] IgorEisberg:
You output a log with Logcat. If you can't figure out how-to then there's nothing I can do for you.
[Sony Cross-Device General] Beetle84:
[MENTION=1879618]IgorEisberg[/MENTION] heres a log from my XZ Premium running Oreo. The zip file hangs on extracting data in twrp 3.2.1, so I placed files manually and gave correct permissions. The menu appears as normal in display settings, but freezes then reboots when you press the change font tab. I have Patched Services.jar and am deodexed. If you could have a look when you have the spare time, it would be greatly appreciated.
[Sony Cross-Device General] IgorEisberg:
This log is useless. Being only 93.4KB in size, I would mention that this is not a complete log. A complete log is several megabytes in size.
[Sony Cross-Device General] Beetle84:
Thanks for replying, I will have another attempt tomorrow (3.30am here), ive never taken a Logcat before, sorry.
[Sony Cross-Device General] Mamal73:
please someone create farsi-english or arabic-english fonts.
[Sony Cross-Device General] kevin.kvik:
Delete
[Sony Cross-Device General] IgorEisberg:
Try setting SELinux to Permissive mode.
[Sony Cross-Device General] whalesplaho:
[MENTION=1879618]IgorEisberg[/MENTION] i tried using on Nokia 8... No recovery yet so i copy to system/app and tha other to system/etc/permissions but after reboot it disappeared. Any other way??
[Sony Cross-Device General] whalesplaho:
After so much try, it doesnt disappears anymore but no app in drawer yet. Android 8.1.0 Oreo
[Sony Cross-Device General] IgorEisberg:
Your ROM has to meet ALL of the requirements.
[Sony Cross-Device General] whalesplaho:
Yaaay!!!

My Nokia 8 feeling like my old Xperia.... Its working bro!!! Using tha universal version since tha other version is for Xperia device alone! Thanks man. :good:
[Sony Cross-Device General] IgorEisberg:
Glad you like it buddy. :o
[Sony Cross-Device General] whalesplaho:
Sorry for tha troubles bro... After selecting tha font and reboots, it doesnt take effects. Still tha original font buh wen i launch fontpicker app, its showing dat tha font i selected is active. I dnt know why!!!
[Sony Cross-Device General] whalesplaho:
[MENTION=1879618]IgorEisberg[/MENTION], after changing a font, it doesn't take effects at all buh using magisk fonts module to change fonts and working fine....

https://xdaforums.com/apps/magisk/avfonts-march-6-t3760827

I dnt know why it doesn't change.. Please sorry for troubling yhu bro.
[Sony Cross-Device General] Beetle84:
[MENTION=1879618]IgorEisberg[/MENTION] could you reupload (if you have it) the advancedapktool.zip again please? Zippyshare says unavailable on their servers.
[Sony Cross-Device General] IgorEisberg:
Link updated.
[Sony Cross-Device General] Beetle84:
Thanks mate.
[Sony Cross-Device General] Beetle84:
Product sans
[Sony Cross-Device General] whalesplaho:
I dnt know if i can get help please.... Really been a while i used dis app. I flashed tha universal mod on my Redmi Note 7 running 9.0 Pixel Experience CAF rom and it works but my challenge is after selecting a font and rebooting, it doesnt take effect at all. Please help me!

Love dis mod.
[Sony Cross-Device General] Beetle84:
Try with permissive selinux mode, for xperia xz series phones on pie you need it.
[Sony Cross-Device General] whalesplaho:
I have selinux set to permissive already bro..... I dnt know why its not changing.
[Sony Cross-Device General] Pandemic:
Because you use no Sony anymore... Thats why it aint work.
[Sony Cross-Device General] IgorEisberg:
MIUI doesn't use Roboto font (as in AOSP) by default. You'll need font packs that were adapted to MIUI. I'm actually using some font packs I made for my Mi 5.
[Sony Cross-Device General] whalesplaho:
Can yhu please put me through and share please bro.... Im grateful man!!!:highfive::good:
[Sony Cross-Device General] IgorEisberg:
That's all I got for MIUI:

https://www.mediafire.com/folder/9nyxn451490ci/
[Sony Cross-Device General] Beetle84:
.ttf files

Hi mate, just curious where you got the .ttf files to make the fonts? Ive searched online and most of the fonts are incomplete.
[Sony Cross-Device General] Beetle84:
18 extra fonts, sorry no screenshots...

Extract and install as normal.
[Sony Cross-Device General] aidy.lucas:
Any plans for Sony sketch font?

D2303 5.1 deodexed z2 port+z5+X apps+themes, be,xr,sv,ad,XZRt2urecovery,xposed,z5 cam2.0,xLOUD,S-Force,viperaudio+more
[Sony Cross-Device General] Metallijim:
Well, that's not a problem. I'll make it soon.
[Sony Cross-Device General] Shakib Haris:
Hi,

I tried to make an apk with my chosen fonts. But the apk doesn't show.

I wanted the "Inconsolata" font. Or the "FreeMono" will do too. Someone please make an apk for either one of those or both :P

TIA
[Sony Cross-Device General] IgorEisberg:
Enjoy.

http://www.mediafire.com/download/6w78nn67izurnka/FontPack-Inconsolata.apk

http://www.mediafire.com/download/9v31le6q71o6szr/FontPack-FreeMono.apk
[Sony Cross-Device General] cdou2391:
Any news on that sonysketch font?i really want that too
[Sony Cross-Device General] Pandemic:
Yes please insert Sony Sketch and also Expletus sans font by my bro [MENTION=4364359]Metallijim[/MENTION] and this is perfect ^^
[Sony Cross-Device General] Metallijim:
I'll be having some free time when I've finished work tonight.

ETA: 6am gmt. I'll post links here then [MENTION=1879618]IgorEisberg[/MENTION] can add to OP

EDIT: links removed, now found in OP.

Enjoy [MENTION=2902434]Pandemic[/MENTION].

[MENTION=1879618]IgorEisberg[/MENTION], I'll let you handle the screenshots, you can show them off better! :laugh:
[Sony Cross-Device General] thesplitter:
Do I need a deodexed rom also for the launcher icon version?
[Sony Cross-Device General] bambis880:
Please Comic sans.

Thanks.
[Sony Cross-Device General] IgorEisberg:
It doesn't matter which variant you download, both need a deodexed ROM with a patched services.jar.
[Sony Cross-Device General] IgorEisberg:
Well done mate, added to the collection. Not sure why anyone would use the fugly vertically-condensed Sketch font. -__-
[Sony Cross-Device General] Metallijim:
Well, gotta please the public! :D
[Sony Cross-Device General] ryandxter:
I'm really appreciate mr. Igor's work so our Xperia device possible to change font from built-in Settings

now I want to contribute give some mod, this is helvetica neue font (iOS font) attached below (tested on Z3 MM eXistenZ 1.0.5)

P.S. merge font type
[Sony Cross-Device General] IMZihad21:
Not Working..

After choosing a font,when i press yes & reboot...nothing happens.. what to do?
[Sony Cross-Device General] IgorEisberg:
That doesn't tell me anything, you need to specify your exact ROM and device.
[Sony Cross-Device General] aidy.lucas:
Do you have root+superuser mod and deodexed rom. Working great

D2303 5.1 deodexed z2 port+z5+X apps+themes, be,xr,sv,ad,XZRt2urecovery,xposed,z5 cam2.0,xLOUD,S-Force,viperaudio+more