Go Back   maemo.org - Talk > OS / Platform > MeeGo / Harmattan
 
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
  #1  
Old 2013-06-20, 16:45
Win7Mac's Avatar
Win7Mac Win7Mac is offline
Community Council
 
Join Date: Apr 2012
Location: Hamburg
Posts: 664
Thanks!: 1,512
Thanked 1,648 Times in 410 Posts
Default [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?
__________________
Nokia 5110 > 3310 > 6230 > N70 > N9 BLACK 64GB
Hildon Foundation Board member
Maemo Community e.V. co-creator, founder and director since Q4/2016
Current Maemo Community Council member

Last edited by Win7Mac; 2013-06-20 at 20:36.
Reply With Quote
The Following 2 Users Say Thank You to Win7Mac For This Useful Post:
  #2  
Old 2013-06-20, 20:02
Win7Mac's Avatar
Win7Mac Win7Mac is offline
Community Council
 
Join Date: Apr 2012
Location: Hamburg
Posts: 664
Thanks!: 1,512
Thanked 1,648 Times in 410 Posts
Default 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?
__________________
Nokia 5110 > 3310 > 6230 > N70 > N9 BLACK 64GB
Hildon Foundation Board member
Maemo Community e.V. co-creator, founder and director since Q4/2016
Current Maemo Community Council member
Reply With Quote
  #3  
Old 2013-06-20, 21:00
gaiosgf gaiosgf is offline
 
Join Date: May 2012
Location: THESSALONIKI GREECE
Posts: 73
Thanks!: 69
Thanked 16 Times in 10 Posts
Default Re: [REQUEST] tweakflash for N9?

Quote:
Originally Posted by Win7Mac View Post
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.
Reply With Quote
  #4  
Old 2013-06-21, 14:15
Win7Mac's Avatar
Win7Mac Win7Mac is offline
Community Council
 
Join Date: Apr 2012
Location: Hamburg
Posts: 664
Thanks!: 1,512
Thanked 1,648 Times in 410 Posts
Default 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?
__________________
Nokia 5110 > 3310 > 6230 > N70 > N9 BLACK 64GB
Hildon Foundation Board member
Maemo Community e.V. co-creator, founder and director since Q4/2016
Current Maemo Community Council member

Last edited by Win7Mac; 2013-06-21 at 14:52.
Reply With Quote
  #5  
Old 2013-07-01, 08:06
nieldk
Guest
 
Posts: n/a
Default Re: [REQUEST] Tweak Flash Version on N9

Quote:
Originally Posted by Win7Mac View Post
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?
Or, decompress the deb file, make the change in libflashplayer.so, and re-create the deb file ?
Reply With Quote
The Following User Says Thank You to For This Useful Post:
  #6  
Old 2013-07-01, 08:44
Win7Mac's Avatar
Win7Mac Win7Mac is offline
Community Council
 
Join Date: Apr 2012
Location: Hamburg
Posts: 664
Thanks!: 1,512
Thanked 1,648 Times in 410 Posts
Default 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?
__________________
Nokia 5110 > 3310 > 6230 > N70 > N9 BLACK 64GB
Hildon Foundation Board member
Maemo Community e.V. co-creator, founder and director since Q4/2016
Current Maemo Community Council member
Reply With Quote
  #7  
Old 2013-07-01, 10:10
Morpog's Avatar
Morpog Morpog is offline
 
Join Date: Nov 2011
Posts: 956
Thanks!: 245
Thanked 2,628 Times in 623 Posts
Default 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
Reply With Quote
  #8  
Old 2013-08-04, 14:29
Win7Mac's Avatar
Win7Mac Win7Mac is offline
Community Council
 
Join Date: Apr 2012
Location: Hamburg
Posts: 664
Thanks!: 1,512
Thanked 1,648 Times in 410 Posts
Default Re: [REQUEST] Tweak Flash Version on N9

:bump:

Anybody got this working? - if so, how exactly?
__________________
Nokia 5110 > 3310 > 6230 > N70 > N9 BLACK 64GB
Hildon Foundation Board member
Maemo Community e.V. co-creator, founder and director since Q4/2016
Current Maemo Community Council member
Reply With Quote
  #9  
Old 2013-08-04, 15:04
coderus's Avatar
coderus coderus is offline
 
Join Date: Nov 2011
Location: Ängelholm, Sweden
Posts: 6,435
Thanks!: 150
Thanked 12,698 Times in 3,852 Posts
Send a message via ICQ to coderus Send a message via Skype™ to coderus
Default Re: [REQUEST] Tweak Flash Version on N9

attach link to plugin
__________________
Telegram | Openrepos | GitHub | Revolut donations
Reply With Quote
  #10  
Old 2013-08-04, 15:16
Win7Mac's Avatar
Win7Mac Win7Mac is offline
Community Council
 
Join Date: Apr 2012
Location: Hamburg
Posts: 664
Thanks!: 1,512
Thanked 1,648 Times in 410 Posts
Default Re: [REQUEST] Tweak Flash Version on N9

Quote:
Originally Posted by coderus View Post
attach link to plugin
this?: http://maemo.org/packages/view/tweakflashver/
__________________
Nokia 5110 > 3310 > 6230 > N70 > N9 BLACK 64GB
Hildon Foundation Board member
Maemo Community e.V. co-creator, founder and director since Q4/2016
Current Maemo Community Council member

Last edited by Win7Mac; 2013-08-04 at 16:00.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 18:10.