Active Topics

 


Reply
Thread Tools
peterleinchen's Avatar
Posts: 4,117 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#61
Originally Posted by OVK View Post
Excellent. I have got lost in all these instructions&solutions which some need openmode, some need something else...
You do not need open mode!
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).
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature
 

The Following 4 Users Say Thank You to peterleinchen For This Useful Post:
Posts: 165 | Thanked: 625 times | Joined on Oct 2012
#62
Originally Posted by Iryus View Post
@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 ;-)
Thanks for the clarification. However, while open mode is not required, aegis-install-hack (or any other method which allows you to update your refhashlist IS required. If you replaced your libsms-utils, make sure that you update refhashlist before rebooting/powering off your phone; or your phone will not boot (I've not tried such a scenario, but others say that your phone will enter into reboot loop; so you'll probably prefer to not try it too!). ).
__________________
My N9 apps: MeeTeleGram, Dukto, Prayers, Saaghar, N9 Easy Boot
Donations are appreciated
 

The Following 6 Users Say Thank You to hedayat For This Useful Post:
Posts: 165 | Thanked: 625 times | Joined on Oct 2012
#63
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.
__________________
My N9 apps: MeeTeleGram, Dukto, Prayers, Saaghar, N9 Easy Boot
Donations are appreciated

Last edited by hedayat; 2015-07-08 at 12:07.
 

The Following 4 Users Say Thank You to hedayat For This Useful Post:
Iryus's Avatar
Posts: 80 | Thanked: 56 times | Joined on Mar 2012 @ France
#64
@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

@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? :/
 

The Following User Says Thank You to Iryus For This Useful Post:
Posts: 165 | Thanked: 625 times | Joined on Oct 2012
#65
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.
__________________
My N9 apps: MeeTeleGram, Dukto, Prayers, Saaghar, N9 Easy Boot
Donations are appreciated
 

The Following User Says Thank You to hedayat For This Useful Post:
coderus's Avatar
Posts: 6,436 | Thanked: 12,699 times | Joined on Nov 2011 @ Ängelholm, Sweden
#66
I know no any working solution for linux to get color emoji fonts working.
__________________
Telegram | Openrepos | GitHub | Revolut donations
 

The Following 3 Users Say Thank You to coderus For This Useful Post:
peterleinchen's Avatar
Posts: 4,117 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#67
Originally Posted by Iryus View Post
@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? :/
About using aegis-hack I cannot confirm (as my device is in open mode) but I am quite sure it is needed.
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.
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature
 

The Following 2 Users Say Thank You to peterleinchen For This Useful Post:
peterleinchen's Avatar
Posts: 4,117 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#68
@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:
The wrapper function is straightforward - just replace fromcode with "UTF-16"
when when function is called with tocode="UTF-8" and fromcode="UCS-2":
Code:
    iconv_t
    xconv_open(const char *tocode, const char *fromcode)
    {
        if (strcmp(tocode, "UTF-8") == 0 && strcmp(fromcode, "UCS-2") == 0) {
            fromcode = "UTF-16";
        }

        return iconv_open(tocode, fromcode);
    }
to
Code:
iconv_t
    xconv_open(const char *tocode, const char *fromcode)
    {
        if (strcmp(tocode, "UTF-8") == 0 && strcmp(fromcode, "UCS-2") == 0) {
            fromcode = "UTF-16";
        }
       if (strcmp(tocode, "UCS-2") == 0 && strcmp(fromcode, "UTF-8") == 0) {
            tocode = "UTF-16";
        }

        return iconv_open(tocode, fromcode);
    }
This should do the trick!?
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature
 

The Following 3 Users Say Thank You to peterleinchen For This Useful Post:
coderus's Avatar
Posts: 6,436 | Thanked: 12,699 times | Joined on Nov 2011 @ Ängelholm, Sweden
#69
 

The Following 6 Users Say Thank You to coderus For This Useful Post:
Posts: 165 | Thanked: 625 times | Joined on Oct 2012
#70
@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.
__________________
My N9 apps: MeeTeleGram, Dukto, Prayers, Saaghar, N9 Easy Boot
Donations are appreciated
 

The Following 3 Users Say Thank You to hedayat For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 22:27.