maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   Emojifix (iOS/Android Emoji SMS fix) (https://talk.maemo.org/showthread.php?t=94027)

thp 2014-10-18 15:05

Emojifix (iOS/Android Emoji SMS fix)
 
Here's a fix for the "N9 eats Emoji SMS silently" bug:
http://thp.io/2014/emojifix/

The Emoji SMS Fix consists of a patcher utility and a drop-in library that can
be used to fix a bug in libsms-utils, causing incoming SMS containing Emoji
characters to be silently dropped.

Thanks to Jonni for the initial inspiration and some pointers.

This fixes delivery of SMS to the SMS application. For actually displaying
Emoji, you need to install Harmoji, which includes suitable fonts.

nanashi 2014-10-24 15:38

Re: Emojifix (iOS/Android Emoji SMS fix)
 
I just knew about it about a week ago, and finding a fix is really amazing :)

mika123 2014-10-27 19:00

Re: Emojifix (iOS/Android Emoji SMS fix)
 
Hey, that is a very welcome patch.
For some reason this worked fine when I first deployed it, but it doesn't work anymore:
The patched library is still there in /usr/lib/ but I am getting disappearing messages again...

Any idea what I did wrong?

mika123 2014-10-27 21:18

Re: Emojifix (iOS/Android Emoji SMS fix)
 
Quote:

Originally Posted by mika123 (Post 1444613)
Hey, that is a very welcome patch.
For some reason this worked fine when I first deployed it, but it doesn't work anymore:
The patched library is still there in /usr/lib/ but I am getting disappearing messages again...

Any idea what I did wrong?

Ah, nevermind, turns out the phone did get patched successfully.
it's just that some emojis still cause an error, even with the patch: utils_tpdu_data_parse(): Error decoding TPDUs. Discarding message

What version of Harmoji do you recommend using?

I am on 0.6.6 because there is a big warning about using any other versions, but do you recommend trying 0.7.3?

saleki 2014-10-27 21:27

Re: Emojifix (iOS/Android Emoji SMS fix)
 
I need step by step guide for patching. Does it work only on openmod?

nanashi 2014-10-28 16:10

Re: Emojifix (iOS/Android Emoji SMS fix)
 
wanted to apply the fix, but first i'm i have 2 questions:
- what's MALF state?
- how could i disable Aegis?
thank you.

hedayat 2014-10-31 08:17

Re: Emojifix (iOS/Android Emoji SMS fix)
 
@thp: As you are already patching libsms-utils, I was wondering if replacing "UCS-2" with "UTF16" (AFAIK, it is recognized by iconv as UTF-16) is enough?

Rockenroller 2014-11-03 06:10

Re: Emojifix (iOS/Android Emoji SMS fix)
 
Hojo hojo... I didn't got it at the first lane.

Rockenroller 2014-11-08 18:36

Re: Emojifix (iOS/Android Emoji SMS fix)
 
Now I did it... First have to install 'curl' ..Can't tell how I did it?

Rockenroller 2014-11-16 00:48

Re: Emojifix (iOS/Android Emoji SMS fix)
 
https://github.com/thp/emojifix/blob/master/README ....On a half way there.. After installing the hack, must try to understand what I'm reading.

colin.stephane 2014-11-16 08:36

Re: Emojifix (iOS/Android Emoji SMS fix)
 
Ok, I'm in a reboot loop now :-(

@thp, does your device running in open mode ???

I have an error message at boot saying :

Security problem (csd) :

/usr/lib/libsms-utils.so.0.0.0

Since I have a second device :

~ # grep libsms-utils.so.0.0.0 /var/lib/aegis/refhashlist
S 15 com.nokia.maemo H 40 1d126608c8e5da34c7b5ec37402a6967daf09676 A 0 0 33188 P 13 libsms-utils0 R 29 usr/lib/libsms-utils.so.0.0.0
~ #

PLEASE CORRECT QUICKLY THE INSTALL INFORMATION YOU PROVIDE AT : http://thp.io/2014/emojifix/

Now, my last question is :

How to boot the MALF device and revert the file to the original one ???

Hope it help ...

A++

coderus 2014-11-16 09:56

Re: Emojifix (iOS/Android Emoji SMS fix)
 
@colin.stephane you can recover only going to openmode, you know. if you dont want openmode only full flash saves you,

Rockenroller 2014-11-16 10:28

Re: Emojifix (iOS/Android Emoji SMS fix) *edit
 
It isn't difficult. Only the stupid warranty warning always showing on boot-up. ...in open-mod

Rockenroller 2014-11-16 10:30

Re: Emojifix (iOS/Android Emoji SMS fix)
 
..but this hack is over enough for to understand. Will I have to use maemo-SDK?

Rockenroller 2015-01-01 13:16

Re: Emojifix (iOS/Android Emoji SMS fix)
 
WTH! It works! And my sms isn't broken.

OVK 2015-01-08 11:42

Re: Emojifix (iOS/Android Emoji SMS fix)
 
Is it possible to install emojifix with the Aegis hack: http://talk.maemo.org/showthread.php?p=1359379 ?

Would like to have emojifix installed (seems like I have lost a lot of SMS lately and emojis are probably the biggest cause) but don't want to go to open mode.

thp 2015-01-11 13:00

Re: Emojifix (iOS/Android Emoji SMS fix)
 
Quote:

Originally Posted by OVK (Post 1455892)
Is it possible to install emojifix with the Aegis hack: http://talk.maemo.org/showthread.php?p=1359379 ?

Would like to have emojifix installed (seems like I have lost a lot of SMS lately and emojis are probably the biggest cause) but don't want to go to open mode.

Yes, it it possible, but then you have to repackage the modified .so file into a replacement libsms-utils .deb and install that .deb with the com.nokia.maemo origin, so that aegis is still happy about the file's hash.

AGui 2015-01-11 19:56

Re: Emojifix (iOS/Android Emoji SMS fix)
 
Thanks thp.

If someone happens to make a deb file, is it possible to share it here for someone like me who doesn't have any clue on the procedure to follow to make it? This bug is really annoying.

peterleinchen 2015-01-11 20:00

Re: Emojifix (iOS/Android Emoji SMS fix)
 
@thp
Would it not suffice to patch refhashlist with changed md5sum (and possibly add the new library)?

coderus 2015-01-11 20:43

Re: Emojifix (iOS/Android Emoji SMS fix)
 
@peterleinchen it's same operation as with any other file listed in refhashlist, just replace binary and start script to update hashes or modify it yourself.

peterleinchen 2015-01-11 21:29

Re: Emojifix (iOS/Android Emoji SMS fix)
 
So, as I thought.

Should it then not be sufficient to replace/modify that lib, adapt refhashlist as root and we are good to go in closed (aegis) mode?
Cannot check myself as using open kernel and already applied (without taking care about refhashlist ;)).

kapu2 2015-01-12 01:14

The instructions say you must disable Aegis before installing this patch... so in order to do that, I need to have Inception installed....right?

EDIT: LIES. I only need Coderus's aegis-hack, is that right?

EDIT2: Reread this thread and actually absorbed the information into my brain. In order to install with aegis-hack you have to follow the steps THP said to make a deb or such, which I cannot do with my limited skills :/ Next step, figure out how to enable open mode?

Shadowdog 2015-01-15 17:51

Re: Emojifix (iOS/Android Emoji SMS fix)
 
I would also be very interested in a step by step tutorial.
Maybe someone can explain how to disable Aegis (with Inception/Aegisctl or Coderus Aegis hack) as required by THP!? :rolleyes: I couldn't really figure out how THP defines Aegis as disabled or if Aegis can be enabled again after applying the patch!?? :confused:

It is a bit odd to use the N9 as the daily phone and to know that SMS will be getting lost, so maybe some genius here is willing to help the noobs to be totaly happy with the N9 again. ;)

rainisto 2015-01-15 20:27

Re: Emojifix (iOS/Android Emoji SMS fix)
 
yes tested that it also works in closed aegis mode as long as you update and sign refhashlist with right checksum.

peterleinchen 2015-01-15 21:50

Re: Emojifix (iOS/Android Emoji SMS fix)
 
Quote:

Originally Posted by rainisto (Post 1456787)
yes tested that it also works in closed aegis mode as long as you update and sign refhashlist with right checksum.

@rainisto
Would you be so kind to list those two/three additonal steps, so thp might update his installation tutorial?
Something like
cd /var/lib/aegis
s/old-sha1sum/new-sha1sum or using sed -i -e "s/old/new" refhashlist
accli -c tcb-sign -F /var/lib/aegis/refhashlist < refhashlist
right?

acf 2015-01-23 04:25

Re: Emojifix (iOS/Android Emoji SMS fix)
 
1 Attachment(s)
I've created a deb package which appears to work with Aegis enabled, without breaking anything. Note that the standard disclaimer still applies :P. It must be installed using aegis-dpkg (see http://talk.maemo.org/showthread.php?t=90750).

(as root)
Code:

# aegis-dpkg -i libsms-utils0_0.5.17.3+0m7_armel-mod.deb
-Alan

Shadowdog 2015-01-25 15:52

Re: Emojifix (iOS/Android Emoji SMS fix)
 
Guys you are all great, now my N9 can again receive all SMS!! Big thanks to THP, coderus and acf and everybody who gave advice!!! :cool:

pmeuh 2015-01-25 18:47

Re: Emojifix (iOS/Android Emoji SMS fix)
 
Guys, I read this thread carrefully, and I am not sure what process I should follow. :D
You can find in what state is my N9 with the link in my signature. ;)

I am a little bit scared to crash my N9, and I cannot afford this mistake because I am lacking time ... :|

Thanks for any tips !
cheers

Iryus 2015-01-26 10:32

Re: Emojifix (iOS/Android Emoji SMS fix)
 
1 Attachment(s)
Quote:

Originally Posted by pmeuh (Post 1458133)
Guys, I read this thread carrefully, and I am not sure what process I should follow. :D
You can find in what state is my N9 with the link in my signature. ;)

I am a little bit scared to crash my N9, and I cannot afford this mistake because I am lacking time ... :|

Thanks for any tips !
cheers

Hello, I'm in open mode and I followed acf's instructions...no crashes or something else, everything works!



Thanks Alan ;)

pmeuh 2015-01-26 12:17

Re: Emojifix (iOS/Android Emoji SMS fix)
 
what makes you be in open mode? If I am in ooen mode, i am not aware of it :/

coderus 2015-01-26 12:20

Re: Emojifix (iOS/Android Emoji SMS fix)
 
it's custom kernel.

Shadowdog 2015-01-26 15:22

Re: Emojifix (iOS/Android Emoji SMS fix)
 
Quote:

Originally Posted by pmeuh (Post 1458133)
Guys, I read this thread carrefully, and I am not sure what process I should follow. :D
You can find in what state is my N9 with the link in my signature. ;)

I am a little bit scared to crash my N9, and I cannot afford this mistake because I am lacking time ... :|

Thanks for any tips !
cheers

I have just installed coderus Aegis hack and then acf's .deb following his instructions. That's it and my N9 didn't MALF. Thanks to acf it was really easy.

Shadow_Max 2015-01-29 17:12

Re: Emojifix (iOS/Android Emoji SMS fix)
 
Thanks for the fix, i can now receive. But i cannot send messages with emoji, it alwas fail.

peterleinchen 2015-01-29 21:26

Re: Emojifix (iOS/Android Emoji SMS fix)
 
Quote:

Originally Posted by Shadow_Max (Post 1458669)
Thanks for the fix, i can now receive. But i cannot send messages with emoji, it alwas fail.

This fix is for enabling receiving.
Whatever kind of problem you have with sending I am sure it does not belong to this thread (or give more details).

Shadow_Max 2015-01-30 09:30

Re: Emojifix (iOS/Android Emoji SMS fix)
 
Quote:

Originally Posted by peterleinchen (Post 1458719)
This fix is for enabling receiving.
Whatever kind of problem you have with sending I am sure it does not belong to this thread (or give more details).

Thanks @peterleinchen but I have understaint this fix is for receiving, i was also thinking it was for sending SMS wich include emoji because i was supposing the system using the same function to send SMS.
I can send SMS without emoji, :)

juiceme 2015-01-30 09:50

Re: Emojifix (iOS/Android Emoji SMS fix)
 
The problem that this fix addresses is internal handling of a SMS message that contains extended characters; without the patch what happens is the device trashes your incoming SMS without a trace, after the device has niformed the network that the message has been delivered successifully.

This is extremely bad as it leads to situation where the sender thinks that the receiver has seen the message and the receiver has no idea that a message ever even arrived :(

To be able to send emoji in SMS, you need this.

OVK 2015-01-30 12:03

Re: Emojifix (iOS/Android Emoji SMS fix)
 
Quote:

Originally Posted by Shadowdog (Post 1458279)
I have just installed coderus Aegis hack and then acf's .deb following his instructions. That's it and my N9 didn't MALF. Thanks to acf it was really easy.

And just to check: you don't have open mode kernel?

Shadowdog 2015-01-30 16:09

Re: Emojifix (iOS/Android Emoji SMS fix)
 
Quote:

Originally Posted by OVK (Post 1458854)
And just to check: you don't have open mode kernel?

No i'm on the standard kernel, never changed anything.

lfc22 2015-01-30 23:21

Quote:

Originally Posted by juiceme (Post 1458818)
To be able to send emoji in SMS, you need this.

Are you sure? I have Harmoji v0.7.3 installed and cannot send any sms containing those chars. Instead I get "Couldn't send message to..." notification. Any ideas?

lokai 2015-01-31 00:13

Re: Emojifix (iOS/Android Emoji SMS fix)
 
Quote:

Originally Posted by lfc22 (Post 1458953)
Are you sure? I have Harmoji v0.7.3 installed and cannot send any sms containing those chars. Instead I get "Couldn't send message to..." notification. Any ideas?

Yes:
Quote:

Harmoji - 0.6.6 [USE THIS ONE - OTHER VERSIONS HAVE SMS AND WAZAPP ISSUES]
http://code.google.com/p/harmoji/downloads/list


All times are GMT. The time now is 12:06.

vBulletin® Version 3.8.8