maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   [REQUEST] Tweak Flash Version on N9 (https://talk.maemo.org/showthread.php?t=90519)

Win7Mac 2013-06-20 16:45

[REQUEST] Tweak Flash Version on N9
 
Flash 10.1. just won't do it anymore on many sites.
I wonder if somebody already came across an equivalent of tweakflash for the N9? - Like this for N900.

Or at least how to do it manually?

Win7Mac 2013-06-20 20:02

Re: [REQUEST] tweakflash for N9?
 
Following this instruction, I searched for libflashplayer.so and found it in /opt/adobe-flashplayer/libflashplayer.so.
Now when I search for "31302e31" in a hexeditor, I can't find that number. I guess it differs from N900. Any help?

gaiosgf 2013-06-20 21:00

Re: [REQUEST] tweakflash for N9?
 
Quote:

Originally Posted by Win7Mac (Post 1353544)
Following this instruction, I searched for libflashplayer.so and found it in /opt/adobe-flashplayer/libflashplayer.so.
Now when I search for "31302e31" in a hexeditor, I can't find that number. I guess it differs from N900. Any help?

I think this file is the firefox not for stock browser.I wish , however, to find someone a solution.

Win7Mac 2013-06-21 14:15

Re: [REQUEST] Tweak Flash Version on N9
 
OK, here's something that might work, but is prone to render your device MALF (need to reflash), because of aegis file protection:
Code:

sed -i 's/10_1_105_6/11_*_***_*/' /opt/adobe-flashplayer/libflashplayer.so
You could of course copy that file to PC, open it with a hexeditor, search for "10_1_105_6" and edit to a higher value. Make sure to only overwrite characters and not change the file length.
Actual version on N9 is 10.1.105.6, not sure which higher versions might work, here's a list: http://helpx.adobe.com/flash-player/...-versions.html

EDIT: Some furter info I gathered on IRC:
After editing, refhashlist has to be re-signed. There is even a refhashlist.pl perl script somewhere on the forum that could do the magic for you if your not that familiar with aegis magic.
Basicly after edit, you just take sha1sum of the new library, update the checksum in refhashlist file and then resign the refhashlist to avoid malf.

Would this work? Anybody willing to test? :p

nieldk 2013-07-01 08:06

Re: [REQUEST] Tweak Flash Version on N9
 
Quote:

Originally Posted by Win7Mac (Post 1353694)
OK, here's something that might work, but is prone to render your device MALF (need to reflash), because of aegis file protection:
Code:

sed -i 's/10_1_105_6/11_*_***_*/' /opt/adobe-flashplayer/libflashplayer.so
You could of course copy that file to PC, open it with a hexeditor, search for "10_1_105_6" and edit to a higher value. Make sure to only overwrite characters and not change the file length.
Actual version on N9 is 10.1.105.6, not sure which higher versions might work, here's a list: http://helpx.adobe.com/flash-player/...-versions.html

EDIT: Some furter info I gathered on IRC:
After editing, refhashlist has to be re-signed. There is even a refhashlist.pl perl script somewhere on the forum that could do the magic for you if your not that familiar with aegis magic.
Basicly after edit, you just take sha1sum of the new library, update the checksum in refhashlist file and then resign the refhashlist to avoid malf.

Would this work? Anybody willing to test? :p

Or, decompress the deb file, make the change in libflashplayer.so, and re-create the deb file ?

Win7Mac 2013-07-01 08:44

Re: [REQUEST] Tweak Flash Version on N9
 
I pm'ed ladoga about it and here's what he said:

Quote:

Originally Posted by ladoga
Do you know that /opt/adobe-flashplayer/libflashplayer.so is protected by aegis or is it just a guess? libflashplayer.so comes in optional package so I doubt there's any protection.

For a quick test I just moved libflashplayer.so to another filename on my main n9 and the phone works just fine. Exited shell and then renamed it back without any issues in normal devel-su root. If you tried to do that to an aegis protected system file (for example /etc/init.d/rcS) the file would be locked and you'd have to disable aegis validation with aegisctl before you could rename it back. (and yes you'd need to update refhashlist if the file was changed.)

My suggestion is to simply take backup of the library in case hexediting goes wrong:
Code:

# cp /opt/adobe-flashplayer/libflashplayer.so /opt/adobe-flashplayer/libflashplayer.so.bak
and then replace the original file with a one that has modified flash version string in it.

thedead1440, feeling adventurous?

Morpog 2013-07-01 10:10

Re: [REQUEST] Tweak Flash Version on N9
 
Just checked my refhashlist:

Code:

adobe-flashplayer R 39 opt/adobe-flashplayer/libflashplayer.so
S 15 com.nokia.maemo H 40 b38e7706479854fdc9b047bbfcb20deb96007b6b A 0 0 33261 P 6


Win7Mac 2013-08-04 14:29

Re: [REQUEST] Tweak Flash Version on N9
 
:bump:

Anybody got this working? - if so, how exactly?

coderus 2013-08-04 15:04

Re: [REQUEST] Tweak Flash Version on N9
 
attach link to plugin

Win7Mac 2013-08-04 15:16

Re: [REQUEST] Tweak Flash Version on N9
 
Quote:

Originally Posted by coderus (Post 1364880)
attach link to plugin

this?: http://maemo.org/packages/view/tweakflashver/


All times are GMT. The time now is 07:14.

vBulletin® Version 3.8.8