joypixels/emojione

Emojione v4.5 not working on Android 5.0 (lower versions work)

Opened this issue ยท 5 comments

I've been using emojione since v3 on my Android phone in different ways. From renaming and replacing the font in system/fonts to using the Magisk module and it's worked every time for the tens of times I've done it. But with v4.5 it doesn't work on Android 5 in any ways and all I see is black simple ones from the phone fonts itself. I've tried both the replacing way and Magisk module but it's not working. Surprisingly it works with no problem when I do it on Android 7.1.2 LineageOS custom rom.
I contacted Emojione support team and they advised me to submit my issue here and also to ask for help from @maximbaz in this case
Thanks

Hey, it sounds really suspicious, sorry I don't know, I only use this font on Linux, have never installed it on Android - a friendly ping to @mxalbert1996 who I believe is using it on the phone and might have some ideas.

Thanks a lot
And you know, there's something I don't understand and I don't know to blame or not. But there's so much difference in file size between v3/v4 and v4.5. I thought this might help in someway

I noticed that too... but I didn't figure out a reason for that, the font worked fine on Linux so I just went with it.

@iamxcuze The reason why file size became much bigger is that the format of the images changed from PNG8 to PNG32 (where 8 and 32 is the bit depth).
Can you try this? If you are using Magisk, you can simply replace the NotoColorEmoji.ttf in the original zip file and reinstall it.
If this still doesn't work, then the problem is probably the bit depth. In that case I recommend that you stick with 4.0 because it's impossible to convert PNG32 to PNG8 losslessly.

Thanks for the detailed answer. I guess I'll stick with LineageOS. I guess my stock rom doesn't support png32 then (whether because it's Android 5 or something else)
Thanks again @mxalbert1996 and @maximbaz