5,604,219 Members 49,565 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
iridaki
Old
(Last edited by iridaki; 28th September 2012 at 03:08 AM.)
#1  
iridaki's Avatar
Retired Forum Moderator / Recognized Themer - OP
Thanks Meter 4624
Posts: 3,675
Join Date: Feb 2007
Location: Athens

 
DONATE TO ME
Wink [MOD] Get the Android Emoji Font from JB on ICS



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, 3966 views)
File Type: zip EmojiFontEnablerIridakiV3bigger.zip - [Click for QR Code] (376.8 KB, 2533 views)
The Following 129 Users Say Thank You to iridaki For This Useful Post: [ Click to Expand ]
 
pvyParts
Old
#2  
pvyParts's Avatar
Recognized Developer
Thanks Meter 2279
Posts: 1,792
Join Date: Oct 2010
Quote:
Originally Posted by iridaki View Post



- 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: [ Click to Expand ]
 
iridaki
Old
(Last edited by iridaki; 10th September 2012 at 05:44 AM.)
#3  
iridaki's Avatar
Retired Forum Moderator / Recognized Themer - OP
Thanks Meter 4624
Posts: 3,675
Join Date: Feb 2007
Location: Athens

 
DONATE TO ME
Quote:
Originally Posted by pvyParts View Post
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.
The Following 9 Users Say Thank You to iridaki For This Useful Post: [ Click to Expand ]
 
mundy725
Old
#4  
mundy725's Avatar
Senior Member
Thanks Meter 51
Posts: 186
Join Date: Mar 2011
Location: Baku
as always perfect work dear iridaki


When you try to help someone you 'drop a happy pebble into the sea of life!' The ripples spread out and touch all of us.
 
papayayoghurt
Old
#5  
papayayoghurt's Avatar
Recognized Contributor
Thanks Meter 642
Posts: 668
Join Date: Feb 2012
Location: Velden am Wörthersee

 
DONATE TO ME
Working on 9?

Gesendet von meinem LT18i mit Tapatalk 2
 
iridaki
Old
#6  
iridaki's Avatar
Retired Forum Moderator / Recognized Themer - OP
Thanks Meter 4624
Posts: 3,675
Join Date: Feb 2007
Location: Athens

 
DONATE TO ME
Quote:
Originally Posted by papayayoghurt View Post
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.
 
Pandemic
Old
#7  
Pandemic's Avatar
Senior Member
Thanks Meter 10158
Posts: 14,057
Join Date: Aug 2010
Location: Rebuilded Cybertron By The Autobots

 
DONATE TO ME
Quote:
Originally Posted by iridaki View Post
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 ??

Pandemic Quote: I Shot ya Between The Eyes, So Call It Eyetunes !


... My Projects & Work ...




The Following User Says Thank You to Pandemic For This Useful Post: [ Click to Expand ]
 
Felimenta97
Old
#8  
Felimenta97's Avatar
Senior Member
Thanks Meter 2222
Posts: 7,609
Join Date: Aug 2011
Location: Ribeirão Preto
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: [ Click to Expand ]
 
iridaki
Old
(Last edited by iridaki; 10th September 2012 at 12:20 PM.)
#9  
iridaki's Avatar
Retired Forum Moderator / Recognized Themer - OP
Thanks Meter 4624
Posts: 3,675
Join Date: Feb 2007
Location: Athens

 
DONATE TO ME
Quote:
Originally Posted by Felimenta97 View Post
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
The Following User Says Thank You to iridaki For This Useful Post: [ Click to Expand ]
 
nuansadewangga
Old
#10  
nuansadewangga's Avatar
Member
Thanks Meter 8
Posts: 31
Join Date: Aug 2012
Location: Jekardah
what apk name for sms pop up notification like on your phone..

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

Advanced Search
Display Modes