Reply
Thread Tools
coderus's Avatar
Posts: 6,431 | Thanked: 12,683 times | Joined on Nov 2011 @ Open Mobile Platform, Innopolis, Russia
#11
make it easy

Code:
sed -i -e "s@<img src='%1'..width='[0-9][0-9]'.height='[0-9][0-9]'>@<img src='%1'  width='30' height='30'>@" /usr/lib/libemoticontransform0.so.0.0.62
 

The Following 5 Users Say Thank You to coderus For This Useful Post:
F2thaK's Avatar
Posts: 4,365 | Thanked: 2,466 times | Joined on Jan 2010 @ Australia Mate
#12
Originally Posted by coderus View Post
make it easy

Code:
sed -i -e "s@<img src='%1'..width='[0-9][0-9]'.height='[0-9][0-9]'>@<img src='%1'  width='30' height='30'>@" /usr/lib/libemoticontransform0.so.0.0.62
I tried executing this a s a script:

devel-su
sh /home/user/MyDocs/emoticonpatch.sh

Made messaging not work
 
coderus's Avatar
Posts: 6,431 | Thanked: 12,683 times | Joined on Nov 2011 @ Open Mobile Platform, Innopolis, Russia
#13
i don't know what inside script. tried in terminal? copy ad paste. all working.
 
F2thaK's Avatar
Posts: 4,365 | Thanked: 2,466 times | Joined on Jan 2010 @ Australia Mate
#14
put this inside script

sed -i -e "s@<img src='%1'..width='[0-9][0-9]'.height='[0-9][0-9]'>@<img src='%1' width='30' height='30'>@" /usr/lib/libemoticontransform0.so.0.0.62
 
coderus's Avatar
Posts: 6,431 | Thanked: 12,683 times | Joined on Nov 2011 @ Open Mobile Platform, Innopolis, Russia
#15
rebooted? if yes and messaging not working yet: you breaked it before using command.
 
coderus's Avatar
Posts: 6,431 | Thanked: 12,683 times | Joined on Nov 2011 @ Open Mobile Platform, Innopolis, Russia
#16
okay, i see, you have single space before width. please be more careful. there are two spaces.
 

The Following User Says Thank You to coderus For This Useful Post:
Posts: 458 | Thanked: 782 times | Joined on Jan 2010 @ France
#17
Originally Posted by coderus View Post
make it easy

Code:
sed -i -e "s@<img src='%1'..width='[0-9][0-9]'.height='[0-9][0-9]'>@<img src='%1'  width='30' height='30'>@" /usr/lib/libemoticontransform0.so.0.0.62
Hi coderus,

After applying the changes using the sed replacing command with a simple cut & paste, I cannot run anymore the messaging application.

Also trying to launch '/usr/bin/messaging-ui -prestart' bail out error :

Code:
~ $ /usr/bin/messaging-ui -prestart
/usr/bin/messaging-ui: error while loading shared libraries: libemoticontransform0.so.0: failed to map segment from shared object: Operation not permitted
~ $
I don't know why it ending like that, since the modifications seems to be ok ...

I have saved the original lib in '/root/libemoticontransform0.so.0.0.62-original' like you can see :

Code:
~ $ strings /usr/lib/libemoticontransform0.so.0.0.62 | grep "img src='%1'"
<img src='%1'  width='30' height='30'>
~ $ strings /root/libemoticontransform0.so.0.0.62-original | grep "img src='%1'"
<img src='%1'  width='20' height='20'>
~ $
Reverting back to original file (cp /root/libemoticontransform0.so.0.0.62-original /usr/lib/libemoticontransform0.so.0.0.62) fix the problem ...

A++

Last edited by colin.stephane; 2012-08-12 at 12:07. Reason: Using Wrap [code] to see properly the console results ...
 
Moderator | Posts: 6,215 | Thanked: 6,402 times | Joined on Nov 2011
#18
colin.stephane, there must be two spaces between %1' and width hence, the error....

The two files must be identically sized right down to the byte for this to work otherwise refhashlist won't allow messaging-ui to start up...
 
Posts: 458 | Thanked: 782 times | Joined on Jan 2010 @ France
#19
Originally Posted by thedead1440 View Post
colin.stephane, there must be two spaces between %1' and width hence, the error....

The two files must be identically sized right down to the byte for this to work otherwise refhashlist won't allow messaging-ui to start up...
Hi thedead1440,

See my editing reason of my last message, the 2 files have same size, and 2 spaces (obvious since I have used the copy paste) ..

A++
 
Moderator | Posts: 6,215 | Thanked: 6,402 times | Joined on Nov 2011
#20
Colin.stephane, could you try with 28x28 instead of 30x30...I don't have my phone right now but previously it worked for me at 28x28...

If 28x28 works it means the size of the emoticon is the issue...
 
Reply

Thread Tools

 
Forum Jump


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