![]() |
Re: Emojifix (iOS/Android Emoji SMS fix)
Quote:
And install aegis hack . Made a folder called cd were i have libsms deb file . Then i start the terminal app . Write devel-su . Then password :rootme . Then Write : cd /home/user/MyDocs/(name of folder were the libs deb file are ) for me the folder is cd . Hit enter Now you Write :aegis-dpkg -i libsms-utils0_0.5.17.3+0m7_armel-mod.deb hit enter. Now it finish . But i installed Harmoji before i did the rest . |
Re: Emojifix (iOS/Android Emoji SMS fix)
Quote:
|
Quote:
Maybe you should do a new libsms-utils.deb that everyone can test please |
Re: Emojifix (iOS/Android Emoji SMS fix)
Thanks. :)
Unless this solution provides real benefits for users, I think having a single working .deb for users is better and less confusing for them (so they won't ask "which one should I use?!"). And creating a proper .deb which doesn't cause MALF on anyone's N9 needs some time which I'd prefer to spend elsewhere if I found it! And for more experienced users, testing my solution should be fairly easy: all it needs is a hex editor (or a sed like utility for binary files) to replace UCS-2 with UTF16 in libsms, copying it in /usr/lib (preferably after backing up the original one!), and update refhashlist (needs 'real' root access, e.g. using opensudo). |
Re: Emojifix (iOS/Android Emoji SMS fix)
@hedayat=> You're rght, simple user prefer easy installation, that means .deb...anyway thank you i'll test your tips ;-)
|
Re: Emojifix (iOS/Android Emoji SMS fix)
BTW, I'll attach my modified libsms.so as soon as I got home so that the first step isn't necessary.
|
Re: Emojifix (iOS/Android Emoji SMS fix)
1 Attachment(s)
sorry, I forgot this thread.:(
My libsms-utils is attached. |
Quote:
|
Re: Emojifix (iOS/Android Emoji SMS fix)
Can these changes also be applied to the N900 SMS fix? It would be nice to be able to send or send on emoji in SMS without erroring out.
Is there an emoji virtual keyboard for the N9? |
Re: Emojifix (iOS/Android Emoji SMS fix)
Quote:
|
Re: Emojifix (iOS/Android Emoji SMS fix)
hedayat,
what is the benefit switching from UCS-2 to UTF-16? As the fix is working for me already. I did not get really why this should be necessary. |
Re: Emojifix (iOS/Android Emoji SMS fix)
@biketool
as hedayat said this fix is mainly to enable receiving emoticoned SMSes. It works on the N900, too. But you need to copy (”install”) the android emoticon font manually to the N900. Afaik there is no emoticon keyboard available for the N900 (but I may be wrong). You may send SMS with emoticons but you need to copy them from a received one. |
Re: Emojifix (iOS/Android Emoji SMS fix)
Quote:
|
Re: Emojifix (iOS/Android Emoji SMS fix)
Quote:
I only uploaded my own libsms-utils because I found someone (lryus) interested in trying my hack. Everybody else can ignore my posts in this thread. :) Quote:
|
Re: Emojifix (iOS/Android Emoji SMS fix)
@hedayat
Thanks for clarification! (also reread thp's explanation what he did 😃) @biketool Yes, I know. See my last post from relevant thread. I got a SMS from an iPhone user with tens of emoticons (from which even a not so small amount were not displayed correctly). But I agree, the ones where it works are not the ones you/we would like to use daily. |
@peterleinchen
The advantage is you can use without worry Harmoji the latest build (0.7.3) ... send sms containing emojis is now possible. |
Quote:
And for those with openmode is hedayat's solution wich works with Harmoji 0.7.3. and also can send emojis? |
Re: Emojifix (iOS/Android Emoji SMS fix)
Really? I should try then, but I'm not sure that my fix will make harmoji 0.7.3 working. I should check why harmoji > 0.6.6 doesn't work, but it doesn't seem to be related to the fix in this thread which is about receiving emoji smses.
My solution, (& 'raw' thp solution) also doesn't require 'openmode'. You can apply my solution after installing aegis install hack & opensudo. You need to manually update refhashlist though. |
@hadayat
I forgot to mention that my N9 is openmode, Kernel Plus and aegis install hack. Then I installed libsms-utils0_0.5.17.3 0m7_armel-mod.deb. I was in Harmoji 0.6.6 because I could not send text messages with the latest version...few weeks later, thanks to you, i copy paste libsms-utils.so.0.0.0 in /usr/lib and voila! Send sms/mms containing emojis with Harmoji 0.7.3 works perfectly :) PS : Switching from UCS-2 to UTF-16 it was THE solution. Furthermore, I'll test with my second N9 without openmode & hacks ;-) |
Re: Emojifix (iOS/Android Emoji SMS fix)
Quote:
|
Re: Emojifix (iOS/Android Emoji SMS fix)
Quote:
http://talk.maemo.org/showpost.php?p...1&postcount=25 So, you might try this out http://talk.maemo.org/showpost.php?p...1&postcount=26 as Iryus confirmed to work (just above). |
Re: Emojifix (iOS/Android Emoji SMS fix)
Quote:
|
Re: Emojifix (iOS/Android Emoji SMS fix)
Yes, sending SMSes containing real Emoji characters (as used by harmoji 0.7.3) works for me too! :)
An important improvement of harmoji 0.7.3 compared to 0.6.6 is that 0.7.3 uses different unicode characters which will be displayed correctly on Android phones (and probably everywhere!). Thanks to Iryus tests, packaging my libsms-utils (or a patcher) probably makes sense now! There is one remaining problem though: as soon as you insert an Emoji character into your SMS, the SMS count and remaining characters count will become zero. But I successfully sent an SMS with Emoji and it was received at the other side. However, I've not tried sending a multi-part SMS with Emoji. My "guess" is that libsms-utils was also trying to send SMSes using UCS-2, and my hack has fixed both sending & receiving. What about color Emoji? Well, I think "at least" it requires Freetype 2.5 according to its release announcement. So, updating freetype is probably the first step towards that. |
Re: Emojifix (iOS/Android Emoji SMS fix)
@hedayat
Niiiice, good to know! :) You're welcome, I haven't made big thing unlike you. About color emojis, why not, nobody will say no :D @peterleinchen I think aegis hack is mandatory, you confirm that? Because I cannot install "libsms-utils0_0.5.17.3 + 0m7_armel-mod.deb" Also I tried update cheksum (not found) and refhashlist via terminal in devel-su or root without success...permission denied for my second N9 (no hacks), is it normal or did i something wrong? :/ |
Re: Emojifix (iOS/Android Emoji SMS fix)
I didn't either, because the problem (UCS-2) was discovered by others. :)
Yes, as I said in post #62, you need "real" root access to update refhashlist; which can be achieved using opensudo, which in turns requires aegis-hack to be installed. |
Re: Emojifix (iOS/Android Emoji SMS fix)
I know no any working solution for linux to get color emoji fonts working.
|
Re: Emojifix (iOS/Android Emoji SMS fix)
Quote:
When doing manually above quoted post should give you the pointers. get the new sha1sum of libsms-utils put that in /var/lib/aegis/refhashlist and do the accli command You need to do that as root (devel-su), possibly you need also to enter develsh. |
Re: Emojifix (iOS/Android Emoji SMS fix)
@hedayat
I really appreciate your findings and tinkering with hex Editor (reminds me of Symbian times :)). Did not check myself but believe you two guys that SMS sending also works. But I would like thp's opinion about that. Furthermore I would like him to ask to update his solution in following way: Quote:
Code:
iconv_t |
Re: Emojifix (iOS/Android Emoji SMS fix)
refhashlist patcher: http://talk.maemo.org/showpost.php?p...9&postcount=70
|
Re: Emojifix (iOS/Android Emoji SMS fix)
@coderus: Freetype 2.5 says that it supports color emoji fonts (http://freetype.org/). However, it seems that upper layers should support it too and I have not yet seen "color" emojis while I'm able to use google's Noto Color Emoji font in gedit, it is monochrome and also it doesn't work in many other applications. So, you probably are right; but I didn't want to say that for sure. (It might need changes in Qt itself too).
@peterleinchen Thanks. And I also think that your proposed modification to thp's code will work too. |
Re: Emojifix (iOS/Android Emoji SMS fix)
Quote:
https://github.com/thp/emojifix/comm...d6306343645f39 I'll try to update the binaries (updated libxconv library) soon. If anybody feels motivated, one could update the patcher to find the string table in the ELF file and replace "UCS-2" with "UTF16" (hedayat's solution): https://github.com/thp/emojifix/blob.../src/patcher.c Of course, the easier way in that case would just be using Code:
sed -e 's/UCS-2/UTF16/g' |
Re: Emojifix (iOS/Android Emoji SMS fix)
New binary build now available here:
http://thp.io/2014/emojifix/emojifix...5-07-09.tar.gz To reproduce this build from source, just build it in the Harmattan SDK: Code:
git clone git://github.com/thp/emojifix.git |
Re: Emojifix (iOS/Android Emoji SMS fix)
Just one question: I was going to use 'sed', but I was unsure if it'll work on binary files (specially since it is line based). Is using sed safe? If it is, that'll be great. :)
|
Re: Emojifix (iOS/Android Emoji SMS fix)
Hooray,
just sent a SMS with an iPhone emoticon -that did not work before- from N900 to N9 (and vice versa with some added harmoji 0.6.6)! :D Thanks thp (and hedayat). --edit just one (maybe) negative thing now: the char counter is f*#cked up on N900 it goes immediately from 160 to 67 after inserting an emoticon (which is pretty normal) and/but also jumps from 160 to 68 on inserting a normal character --edit and goes back to 158 after inserting second ASCII character. So, as I assume, no one will send a one-char SMS all good on N900 on N9 the counter goes to zero on inserting an emoticon no idea whether those counters are reliable now (possibly using utf16 'eats' resources, 92 chars????) |
Re: Emojifix (iOS/Android Emoji SMS fix)
Quote:
but I am not sure if thp's command Quote:
Quote:
|
Re: Emojifix (iOS/Android Emoji SMS fix)
Quote:
|
Re: Emojifix (iOS/Android Emoji SMS fix)
Quote:
|
Re: Emojifix (iOS/Android Emoji SMS fix)
Not sure if there's anything additional to SMS encoding (each part in a multi-SMS gets less space than a single non-multi-SMS), but in general for UCS-2 vs UTF-16:
UCS-2 can only encode codepoints between 0 and 2^16 (that's the reason why some Emoji characters outside of this range don't work). Each character takes up 16 bits (2 bytes). UCS-2 is defined as big endian, so usually no byte order mark is necessary(?). UTF-16 can encode all unicode codepoints, using either 16 bits (2 bytes) if it fits, or 32 bits (4 bytes) otherwise. UTF-16 can be big endian and little endian, so a byte order mark might be necessary (not sure if the endianness is defined for SMS and UTF-16/UCS-2). The README file contains some links to SMS encoding webpages related to UTF-16/UCS-2. |
Re: Emojifix (iOS/Android Emoji SMS fix)
Will this fix go to CSSU testing?
|
Re: Emojifix (iOS/Android Emoji SMS fix)
Quote:
But definitely worth to be integrated into Maemo/N900 CSSU. As it is fix for Nokia blob, it probably will end up as patcher utility deb. But this will be decision of maintainer. We (you?) should contact CSSU maintainer... |
All times are GMT. The time now is 20:31. |
vBulletin® Version 3.8.8