Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[MOD] Get the Android Emoji Font from JB on ICS

OP iridaki

10th September 2012, 03:20 AM   |  #1  
iridaki's Avatar
OP Retired Forum Moderator / Recognized Themer
Flag Edinburgh, Scotland
Thanks Meter: 4,881
 
3,957 posts
Join Date:Joined: Feb 2007
Donate to Me
More


Admit it, you secretly like emoji icons that iOS users seem to (ab)use in their messages.
OK maybe you don't, but you do hate the "blocks" or blank spaces appearing in their place on Twitter, Instagram, Foursquare, Email, SMS, etc.


Google knows. And has worked out a way to implement their own version in Android, starting from Jelly Bean 4.1.

Now, ICS users seem to be out of luck and that made me think and finally figure out a way to implement them in ICS.

Here is a little sneak-peek on how they look:



Note that they are black and white. This is because they are font symbols and not drawables (as they are in iPhones).

HOW?

First of all, Android uses a set of so-called "fallback fonts" for displaying characters that are not included in the primary fonts (DroidSans, Roboto, etc).
In the older days, to get emoji support, we used a modified DroidSansFallback ttf file, placed in /system/fonts. Well, if I wanted to merge AndroidEmoji font and DroidSansFallback, I'd probably lose a great part of my patience sanity and eye-vision... (there are 471 emoji icons)

So, I modified the fallback_fonts.xml in /system/etc/ and added the AndroidEmoji.ttf, as well as changing the priority with which the fallback fonts are called.

And TADA, I could view Google B/W emojis everywhere!

HOW DO I INSTALL IT?

I made a flashable zip that will work on all the Xperia 2011 models, on stock and stock-based ICS ROMs and probably to all Sony models that run ICS also (do not have access to those devices to check and be 100%).

DOWNLOAD ANDROID JB EMOJI FONT ENABLER

Flash with CMW.
(If you are rooted and on stock kernel, check how to get CMW here)
Preferably make a backup prior to installing.
I am not responsible for your device, YOU are!
Nandroid backups take 5-10 minutes to complete and can save lives.
Enjoy!

WHAT IF YOU DON'T HAVE AN XPERIA DEVICE OR RUN A CUSTOM ROM?

The tinkering needed for it to work on all devices is minimal.
Depending on the company, there may be different fallback fonts included.
For those you feel confident enough to edit system files, all you have to do is
add this line in the fallback_fonts.xml, save it, replace it in the CMW zip and flash:

Code:
<family>
        <fileset>
            <file>AndroidEmoji.ttf</file>
        </fileset>
    </family>
Just make sure it is before all the other entries, so that the Emoji font gets called first upon an unknown character.

HOW CAN I PUT EMOJIS IN MY MESSAGES/STATUSES/TWEETS/etc?

If you also want to be able to insert them anywhere, you have some choices:

1. A brilliant choice is Multiling Keyboard, which uses the newer encoding system.



2. There is also Emoji Keyboard.
However, it uses and older encoding system, so you will also need to flash this package. This mod is totally independent, you can flash it whether you flash the main mod or not. They will not interfere with each other at all. Having both mods means you can view emojis of both older and newer encoding.

EMOJI FONT IS TOO SMALL!

Try this updated version of the AndroidEmoji.ttf by yours truly.


___________________


NOTES

- If you like this, just press Thanks.
Do not post just to say how awesome I am. I know.
- If you are having questions/problems, post here, do not PM me.
Other people might also benefit from our conversation.
- If you are a ROM cooker/developer, PLEASE, ask for my permission before including this mod in your ROMs.
And I shall elaborate on this:
What I did here is no rocket science. Yes, I am sure anybody who would set their mind on it, could pull it through eventually. And maybe someone already has. However, I do enjoy being appreciated, because I took some time off my life to create this thread rather than just parading with my cool emoji-enabled phone, unwilling to spread the joy. I do wish for all the members of this community to benefit from this small tweak, but if I see something like this:

Quote:

eMooJEd Super Freakishly Superb Unbelievable Mod Update Emojis EveryWhere OMG OMG OMG LOL

without my name mentioned anywhere and a link to this thread, I am going to be hurt. And probably mad.


That's all folks!
Attached Files
File Type: zip EmojiFontEnablerIridaki.zip - [Click for QR Code] (455.6 KB, 5060 views)
File Type: zip EmojiFontEnablerIridakiV3bigger.zip - [Click for QR Code] (376.8 KB, 3359 views)
Last edited by iridaki; 28th September 2012 at 04:08 AM.
The Following 132 Users Say Thank You to iridaki For This Useful Post: [ View ]
10th September 2012, 03:25 AM   |  #2  
pvyParts's Avatar
Recognized Developer
Thanks Meter: 2,324
 
1,858 posts
Join Date:Joined: Oct 2010
More
Quote:
Originally Posted by iridaki




- If you like this, just press Thanks.
Do not post just to say how awesome I am. I know.

OMG your so Awesome! ROFL,

Nice mod will it work on a different phone or is the xml different from manufacturer to manufacturer

Pvy
The Following 3 Users Say Thank You to pvyParts For This Useful Post: [ View ]
10th September 2012, 03:29 AM   |  #3  
iridaki's Avatar
OP Retired Forum Moderator / Recognized Themer
Flag Edinburgh, Scotland
Thanks Meter: 4,881
 
3,957 posts
Join Date:Joined: Feb 2007
Donate to Me
More
Quote:
Originally Posted by pvyParts

OMG your so Awesome! ROFL,

Nice mod will it work on a different phone or is the xml different from manufacturer to manufacturer

Pvy

I know, I know...

The tinkering needed for it to work on all devices is minimal.
Depending on the company, there may be different fallback fonts included.
For those you feel confident enough to edit system files, all you have to do is
add this line in the fallback_fonts.xml, save it, replace it in the CMW zip and flash:

Code:
<family>
        <fileset>
            <file>AndroidEmoji.ttf</file>
        </fileset>
    </family>
Just make sure it is before all the other entries, so that the Emoji font gets called first upon an unknown character.
Last edited by iridaki; 10th September 2012 at 06:44 AM.
The Following 9 Users Say Thank You to iridaki For This Useful Post: [ View ]
10th September 2012, 06:28 AM   |  #4  
mundy725's Avatar
Senior Member
Flag Baku
Thanks Meter: 51
 
186 posts
Join Date:Joined: Mar 2011
More
as always perfect work dear iridaki
10th September 2012, 06:32 AM   |  #5  
papayayoghurt's Avatar
Recognized Contributor
Flag Velden am Wörthersee
Thanks Meter: 650
 
688 posts
Join Date:Joined: Feb 2012
Donate to Me
More
Working on 9?

Gesendet von meinem LT18i mit Tapatalk 2
10th September 2012, 06:36 AM   |  #6  
iridaki's Avatar
OP Retired Forum Moderator / Recognized Themer
Flag Edinburgh, Scotland
Thanks Meter: 4,881
 
3,957 posts
Join Date:Joined: Feb 2007
Donate to Me
More
Quote:
Originally Posted by papayayoghurt

Working on 9?

Gesendet von meinem LT18i mit Tapatalk 2

You mean CM9?
Yes, probably, but you have to check the fallback_fonts.xml to make sure.
Here is a rough guide.
10th September 2012, 11:15 AM   |  #7  
Pandemic's Avatar
Senior Member
Flag MePpEl
Thanks Meter: 12,128
 
16,013 posts
Join Date:Joined: Aug 2010
Donate to Me
More
Quote:
Originally Posted by iridaki

I know, I know...

The tinkering needed for it to work on all devices is minimal.
Depending on the company, there may be different fallback fonts included.
For those you feel confident enough to edit system files, all you have to do is
add this line in the fallback_fonts.xml, save it, replace it in the CMW zip and flash:

Code:
<family>
        <fileset>
            <file>AndroidEmoji.ttf</file>
        </fileset>
    </family>
Just make sure it is before all the other entries, so that the Emoji font gets called first upon an unknown character.

hahahaha about this:
Quote:

I know, I know...

To high ownDUNK ??
The Following User Says Thank You to Pandemic For This Useful Post: [ View ]
10th September 2012, 11:36 AM   |  #8  
Felimenta97's Avatar
Senior Member
Flag Ribeirão Preto
Thanks Meter: 2,328
 
7,843 posts
Join Date:Joined: Aug 2011
More
Status 0 on CWM. Xperia S. Just to let you know.

Sent from my LT26i with Tapatalk 2
The Following User Says Thank You to Felimenta97 For This Useful Post: [ View ]
10th September 2012, 11:39 AM   |  #9  
iridaki's Avatar
OP Retired Forum Moderator / Recognized Themer
Flag Edinburgh, Scotland
Thanks Meter: 4,881
 
3,957 posts
Join Date:Joined: Feb 2007
Donate to Me
More
Quote:
Originally Posted by Felimenta97

Status 0 on CWM. Xperia S. Just to let you know.

Sent from my LT26i with Tapatalk 2

Please re-DOWNLOAD

iR¡D@k!* via Tapatalk 2
Last edited by iridaki; 10th September 2012 at 01:20 PM.
The Following User Says Thank You to iridaki For This Useful Post: [ View ]
11th September 2012, 05:45 AM   |  #10  
nuansadewangga's Avatar
Member
Flag Jekardah
Thanks Meter: 8
 
31 posts
Join Date:Joined: Aug 2012
More
what apk name for sms pop up notification like on your phone..

Post Reply Subscribe to Thread

Tags
androidemoji.ttf, emoji, emoji support
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes