Active Topics

 


Reply
Thread Tools
Posts: 458 | Thanked: 783 times | Joined on Jan 2010 @ France
#21
Originally Posted by thedead1440 View Post
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...
That doesn't help ...

Same size files :

Code:
~ # ll /root/libemoticontransform0.so.0.0.62-original /usr/lib/libemoticontransform0.so.0.0.62 
-rw-r--r--    1 root     root        241004 Aug 12 13:15 /root/libemoticontransform0.so.0.0.62-original
-rw-r--r--    1 root     root        241004 Aug 12 14:14 /usr/lib/libemoticontransform0.so.0.0.62
~ #
Properly applied changes using 'sed' command provided by coderus :

Code:
~ # strings /root/libemoticontransform0.so.0.0.62-original  | grep "img src='%1'"
<img src='%1'  width='20' height='20'>
~ # strings /usr/lib/libemoticontransform0.so.0.0.62 | grep "img src='%1'"
<img src='%1'  width='28' height='28'>
~ #
By the way the refhashlist must be regenerated ?

At least, it look like it need to be regenerated :

Code:
~ # sha1sum /usr/lib/libemoticontransform0.so.0.0.62
deb27873ec7baaf68d928872cffdaef8fc7791ad  /usr/lib/libemoticontransform0.so.0.0.62
~ # sha1sum /root/libemoticontransform0.so.0.0.62-original 
7fbee9d75ce07302975c2ca0210f89de79e15190  /root/libemoticontransform0.so.0.0.62-original
~ # grep libemoticontransform0.so.0.0.62 /var/lib/aegis/refhashlist
S 15 com.nokia.maemo H 40 7fbee9d75ce07302975c2ca0210f89de79e15190 A 0 0 33188 P 21 libemoticontransform0 R 39 usr/lib/libemoticontransform0.so.0.0.62
~ #
You can see the hash is the one of the original file ...

Any troubles to change the hash in the file or does it break anything more ?

A++

Last edited by colin.stephane; 2012-08-12 at 12:29.
 
F2thaK's Avatar
Posts: 4,365 | Thanked: 2,467 times | Joined on Jan 2010 @ Australia Mate
#22
Yeah I cannot get the command to work either, even with 2 spaces
 
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#23
Well if you are not in open mode you need to replace the files using ariadnesh/opensh every reboot. A permanent solution would be to update the refhashlist.

I'm currently running in open mode so it doesn't need to be replaced for me at every reboot. This is very similar to the Grob UA thread that Arie had posted in the sense the instructions for refhashlist can be gotten from there: http://talk.maemo.org/showthread.php?t=85098


Edit: Pending updating of refhashlist, you can do the following at every reboot:

devel-su
rootme
ariadnesh
cp -R /path/to/original/libemofile /usr/lib/
cp -R /path/to/modified/libemofile /usr/lib/

Last edited by thedead1440; 2012-08-12 at 12:34.
 

The Following User Says Thank You to thedead1440 For This Useful Post:
Posts: 458 | Thanked: 783 times | Joined on Jan 2010 @ France
#24
Originally Posted by thedead1440 View Post
Well if you are not in open mode you need to replace the files using ariadnesh/opensh every reboot. A permanent solution would be to update the refhashlist.

I'm currently running in open mode so it doesn't need to be replaced for me at every reboot. This is very similar to the Grob UA thread that Arie had posted in the sense the instructions for refhashlist can be gotten from there: http://talk.maemo.org/showthread.php?t=85098


Edit: Pending updating of refhashlist, you can do the following at every reboot:

devel-su
rootme
ariadnesh
cp -R /path/to/original/libemofile /usr/lib/
cp -R /path/to/modified/libemofile /usr/lib/
Ok, now that make sense to me ...

Used the perl 'refhashlist.pl' to regenerate the 'refhashlist' file after the modifications, all goes well ...

A++

Last edited by colin.stephane; 2012-08-12 at 13:01.
 
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#25
Can we use the same file of "refhashlist.pl" from the UA thread ?
 
Posts: 458 | Thanked: 783 times | Joined on Jan 2010 @ France
#26
Originally Posted by Schturman View Post
Can we use the same file of "refhashlist.pl" from the UA thread ?
If you ask if you can use the perl script file 'refhashlist.pl' from the UA thread to regenerate the 'refhashfile' in this thread, YES ...

If you ask if you can use the regenerated 'refhashfile' from the UA thread to replace the one of this thread NO !!!

At every modification of a file contained in the 'refhashfile', you need to regenerate the file ...

Hope it help.

A++
 

The Following User Says Thank You to colin.stephane For This Useful Post:
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#27
No no, i mean perl script
Thanks. I will add this to N9QT like i added UA changer.
 
wook_sf's Avatar
Posts: 640 | Thanked: 435 times | Joined on Oct 2011 @ rajvoSa BA
#28
nice progress here.
maybe Vesuri can make "additional" line in duicontrol panel for editing size of emotes, maybe we even can use <frame> for external htm/css file for this
__________________
~ # mv /usr/bin/smartsearch /usr/bin/stupidsearch
 
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#29
I don't think Vesuri will do it...He stays away from hacking binaries to achieve goals...We'll have to stick to N9QTweak for the best implementation
 
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#30
yes it will be added with option to insert custom number (size)..
 

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


 
Forum Jump


All times are GMT. The time now is 01:00.