webOS Nation Forums >  webOS developer forums >  Canuck Coding > How to get Flash on legacy devices with 2.1.0
How to get Flash on legacy devices with 2.1.0

  Reply
Like Tree2Likes

 
LinkBack Thread Tools Display Modes
Old 02/24/2011, 11:44 AM   #41 (permalink)
Member
 
arkieboy's Avatar
 
Join Date: Aug 2009
Posts: 157
Likes Received: 0
Thanks: 16
Thanked 45 Times in 31 Posts
Default

Thanks for taking the lead with this..I am currently downloading all of your updated patches now. Thanks for that as well...
arkieboy is offline   Reply With Quote
Old 02/24/2011, 11:58 AM   #42 (permalink)
Fuu
Member
 
Join Date: May 2009
Posts: 43
Likes Received: 1
Thanks: 7
Thanked 3 Times in 3 Posts
Default

hmm, still wont do here:

http://imgur.com/UsKYi
Fuu is offline   Reply With Quote
Old 02/24/2011, 12:11 PM   #43 (permalink)
Legend
 
Jason Robitaille's Avatar
 
Join Date: May 2005
Location: Winnipeg, MB, Canada
Posts: 3,883
Likes Received: 496
Thanks: 801
Thanked 12,954 Times in 1,495 Posts
Default

Quote:
Originally Posted by Fuu View Post
hmm, still wont do here:

imgur: the simple image sharer
odd, looks like the stock file isn't even on your device
__________________
If you've liked my software, please consider to towards future development.

Developer of many apps such as: WebOS Quick Install, WebOS Theme Builder, Ipk Packager, Unified Diff Creator, Internalz Pro, ComicShelf HD, LED Torch, over 70 patches and more.

@JayCanuck @CanuckCoding Facebook
Jason Robitaille is offline   Reply With Quote
Old 02/24/2011, 12:13 PM   #44 (permalink)
Fuu
Member
 
Join Date: May 2009
Posts: 43
Likes Received: 1
Thanks: 7
Thanked 3 Times in 3 Posts
Default

doesnt really matter because i dont really want flash..
just wanted to try out.

German o2 pre-
Fuu is offline   Reply With Quote
Old 02/24/2011, 12:14 PM   #45 (permalink)
Member
 
Join Date: Mar 2010
Location: UK
Posts: 1,947
Likes Received: 0
Thanks: 152
Thanked 428 Times in 350 Posts
Default

I'm getting the unclean FlashMiniPlugin. I used the container that you uploaded 30 minutes ago (17:41 GMT)
o2 UK pre plus webos 2.1.
On that container, there was no pmpostinstall script with the ipk.
Any other details you'd like?
pip smith is offline   Reply With Quote
Old 02/24/2011, 12:18 PM   #46 (permalink)
Legend
 
Jason Robitaille's Avatar
 
Join Date: May 2005
Location: Winnipeg, MB, Canada
Posts: 3,883
Likes Received: 496
Thanks: 801
Thanked 12,954 Times in 1,495 Posts
Default

I've just updated the zip (as of the time of this post) so it can handle the scenario where no FlashMiniPlugin.so is not found prior to install.


Quote:
Originally Posted by pip smith View Post
I'm getting the unclean FlashMiniPlugin. I used the container that you uploaded 30 minutes ago (17:41 GMT)
o2 UK pre plus webos 2.1.
On that container, there was no pmpostinstall script with the ipk.
Any other details you'd like?
and you've still got the stock FlashMiniPlugin.so? If you got the same error as the above guy, it's probably because you were missing the FlashMiniPlugin.so file in the first place. In which case, the new zip should help
__________________
If you've liked my software, please consider to towards future development.

Developer of many apps such as: WebOS Quick Install, WebOS Theme Builder, Ipk Packager, Unified Diff Creator, Internalz Pro, ComicShelf HD, LED Torch, over 70 patches and more.

@JayCanuck @CanuckCoding Facebook
Jason Robitaille is offline   Reply With Quote
Thanked By: pip smith
Old 02/24/2011, 12:19 PM   #47 (permalink)
Member
 
Join Date: Dec 2009
Location: Mexico
Posts: 2,392
Likes Received: 225
Thanks: 88
Thanked 944 Times in 475 Posts
Default

Jason, I built the ipk with Linux, but I have two small issues:
1. My FlashMiniPlugin has also the same MD5 as the new one (I had to remove the check)
2. For some reason, the ipk copies the files to /media/crypto/apps/files, but in the postinst script you reference to /media/crypto/apps (I changed postinst to reference to /media/crypto/apps/files and it worked).

Code:
#if ["$MD5_CURRENT" == "$MD5_210" ] ; then
        mv -f /usr/lib/BrowserServerPlugins/FlashMiniPlugin.so /usr/lib/BrowserServerPlugins/FlashMiniPlugin.so.bak
        cp -f /media/cryptofs/apps/files/usr/lib/BrowserServerPlugins/FlashMiniPlugin.so /usr/lib/BrowserServerPlugins/FlashMiniPlugin.so
#else
#       echo "Unclean FlashMiniPlugin.so or invalid webOS version"
#       exit 1
#fi

cp -f /media/cryptofs/apps/files/etc/adobe/mms.cfg /etc/adobe/mms.cfg
cp -f /media/cryptofs/apps/files/etc/adobe/oem.cfg /etc/adobe/oem.cfg
cp -f /media/cryptofs/apps/files/usr/lib/BrowserServerPlugins/libflashplayer.so /usr/lib/BrowserServerPlugins/libflashplayer.so
cp -f /media/cryptofs/apps/files/usr/lib/BrowserServerPlugins/resource/plugin-icon-noplay.png /usr/lib/BrowserServerPlugins/resource/plugin-icon-noplay.png
cp -f /media/cryptofs/apps/files/usr/lib/BrowserServerPlugins/resource/plugin-icon-play-down.png /usr/lib/BrowserServerPlugins/resource/plugin-icon-play-down.png
cp -f /media/cryptofs/apps/files/usr/lib/BrowserServerPlugins/resource/plugin-icon-play.png /usr/lib/BrowserServerPlugins/resource/plugin-icon-play.png
cp -f /media/cryptofs/apps/files/usr/lib/BrowserServerPlugins/resource/plugin-icon-unknown.png /usr/lib/BrowserServerPlugins/resource/plugin-icon-unknown.png
cp -f /media/cryptofs/apps/files/usr/lib/BrowserServerPlugins/resource/plugin-scrim.png /usr/lib/BrowserServerPlugins/resource/plugin-scrim.png
cp -f /media/cryptofs/apps/files/usr/lib/libFlashGraphics.so /usr/lib/libFlashGraphics.so
3. By the way, in one of the install tests, the script renamed FlashMiniPlugin.so to .bak and didn't returned to its original name, it may be because I didn't edit the prerm script.

4. One more, the files in the resources folder didn't get copied, the directory didn't exist and the postinst script doesn't create it (I think it happened the same with the /etc/adobe directory) :S
__________________
Just remember: If I helped you, press the thanks button!

Owner of: Pre Sprint, Pre Telcel, Pre Plus AT&T, Pre 2 Unlocked, Pixi Plus AT&T, TouchPad, and a shiny new AT&T Pre3.
Needs: Veer (anyone?)
Apps: Subnet Calculator, FreeCam, PhotoFun, NuttyPad (work in progress)
HomeBrew: meta-doctor and Messaging Plugins collaborator
Twitter: @cesarneg

Last edited by NuttyBunny; 02/24/2011 at 12:33 PM.
NuttyBunny is offline   Reply With Quote
Old 02/24/2011, 12:24 PM   #48 (permalink)
Member
 
Join Date: Oct 2009
Posts: 151
Likes Received: 12
Thanks: 17
Thanked 52 Times in 20 Posts
Default

Installation of IPK and patch ran fine without any errors, I can also see the settings in the browser, flash is activated there. But when I click on any flash content I just get some strange grey borders around that window and it seems I get the exit button of the flash plugin but nothing happens. The video is still greyed out and if I click the play button again in the case of a youtube video the youtube app gets started. Any idea what might have gone wrong?

German Palm Pre Plus on O2 Germany stock doctored to 2.1.0
heth is offline   Reply With Quote
Old 02/24/2011, 12:29 PM   #49 (permalink)
Legend
 
Jason Robitaille's Avatar
 
Join Date: May 2005
Location: Winnipeg, MB, Canada
Posts: 3,883
Likes Received: 496
Thanks: 801
Thanked 12,954 Times in 1,495 Posts
Default

Quote:
Originally Posted by NuttyBunny View Post
Jason, I built the ipk with Linux, but I have two small issues:
1. My FlashMiniPlugin has also the same MD5 as the new one (I had to remove the check)
2. For some reason, the ipk copies the files to /media/crypto/apps/files, but in the postinst script you reference to /media/crypto/apps (I changed postinst to reference to /media/crypto/apps/files and it worked).

3. By the way, in one of the install tests, the script renamed FlashMiniPlugin.so to .bak and didn't returned to its original name, it may be because I didn't edit the prerm script.
(1) so the stock 2.1.0 one was the same md5sum as the 2.0.1 verizon for you?
(2) that's a side effect of the way you packaged you ipk. Using Ipk Packager packs it to /media/cryptofs/apps/ as designed.
(3)I suspect that's part of the md5sum issue

For what it's worth, I took my md5sums directly from the Verizon 2.0.1 webOSDoctor and the O2 2.1.0 webOSDoctor.
__________________
If you've liked my software, please consider to towards future development.

Developer of many apps such as: WebOS Quick Install, WebOS Theme Builder, Ipk Packager, Unified Diff Creator, Internalz Pro, ComicShelf HD, LED Torch, over 70 patches and more.

@JayCanuck @CanuckCoding Facebook
Jason Robitaille is offline   Reply With Quote
Old 02/24/2011, 12:33 PM   #50 (permalink)
Member
 
Join Date: Mar 2010
Location: UK
Posts: 1,947
Likes Received: 0
Thanks: 152
Thanked 428 Times in 350 Posts
Default

I tried the new zip, but am getting the same error as the image, the only difference is the line is now line 17 and not 14.
pip smith is offline   Reply With Quote
Old 02/24/2011, 12:35 PM   #51 (permalink)
Member
 
Join Date: Nov 2009
Posts: 3
Likes Received: 0
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by pip smith View Post
I tried the new zip, but am getting the same error as the image, the only difference is the line is now line 17 and not 14.
Same here
O2 Germany Pre- 2.1
Liltonar is offline   Reply With Quote
Old 02/24/2011, 12:45 PM   #52 (permalink)
Member
 
Join Date: Oct 2010
Posts: 159
Likes Received: 0
Thanks: 1
Thanked 11 Times in 10 Posts
Default

still getting the error :/

im pretty sure im using the newest flashplugincontainer.zip you have uploaded

O2 UK pre plus using the german/ROW O2 pre plus 2.1 update

EDIT: now webos doctor won't get to the installing part. gets to transferring part then the pop-up disappears.

Last edited by 7 fissurez; 02/24/2011 at 12:55 PM.
7 fissurez is offline   Reply With Quote
Old 02/24/2011, 01:10 PM   #53 (permalink)
Member
 
Join Date: Jul 2008
Posts: 42
Likes Received: 1
Thanks: 4
Thanked 3 Times in 3 Posts
Default

Quote:
Originally Posted by GLAzedFAith View Post
Not sure what I'm doing wrong here.
Getting errors even trying to install it.

Attachment 55915

Attachment 55916
I am having this problem and I can't seem to fix it. Preware installs it but it doesnt work. Just shows a container with the ? logo in it.
Now, webos quickinstall gives me the problem attached. I want o try
the "typing roofs_open -t in a terminal before installing the ipks" but terminal isn't working. it doesnt show where to type, the screen is black.
Any help?

EDIT: I am using Sprint Pre phone.
hellbinder is offline   Reply With Quote
Old 02/24/2011, 01:17 PM   #54 (permalink)
Member
 
volcom45's Avatar
 
Join Date: Jun 2009
Posts: 1,546
Likes Received: 42
Thanks: 721
Thanked 182 Times in 131 Posts
Default

I followed these instructions to a T this morning before your last couple updates and had no errors, the preferences showed up fine in Internet browser, but like others, flash content just shows the empty question mark and doesn't do anything. I've uninstalled both the patch and the ipk and just redid it all with the newest zip and file requirements from the main post with the latest of Jason's changes. Rebooting now but sounds like it'll still just have the empty question mark. I'll update if it works.

Edit: Hrmmm, now I get error installing ipk from preware which I didn't get with it the first time around.. Looks like its due to FlashMiniPlugin.so not found..

Last edited by volcom45; 02/24/2011 at 01:23 PM.
volcom45 is offline   Reply With Quote
Old 02/24/2011, 01:24 PM   #55 (permalink)
Legend
 
Jason Robitaille's Avatar
 
Join Date: May 2005
Location: Winnipeg, MB, Canada
Posts: 3,883
Likes Received: 496
Thanks: 801
Thanked 12,954 Times in 1,495 Posts
Default

As of the time of this post, I'm uploaded a new zip.

This has big changes. A lot of the scripts are redone and should be far easier to install now (with less pitfalls in the scripts than before) with no errors expected.
__________________
If you've liked my software, please consider to towards future development.

Developer of many apps such as: WebOS Quick Install, WebOS Theme Builder, Ipk Packager, Unified Diff Creator, Internalz Pro, ComicShelf HD, LED Torch, over 70 patches and more.

@JayCanuck @CanuckCoding Facebook
Jason Robitaille is offline   Reply With Quote
Thanked by pip smith, volcom45
Old 02/24/2011, 01:27 PM   #56 (permalink)
Homebrew Developer
 
Join Date: May 2010
Location: Germany
Posts: 518
Likes Received: 22
Thanks: 44
Thanked 130 Times in 76 Posts
Default

Thanks Jason! Flash is working now! Note that I had to remove your md5sum check from the postinst file. (I was using a version of your script from about 30 minutes ago)
pcworld is offline   Reply With Quote
Old 02/24/2011, 01:33 PM   #57 (permalink)
Legend
 
Jason Robitaille's Avatar
 
Join Date: May 2005
Location: Winnipeg, MB, Canada
Posts: 3,883
Likes Received: 496
Thanks: 801
Thanked 12,954 Times in 1,495 Posts
Default

Quote:
Originally Posted by pcworld View Post
Thanks Jason! Flash is working now! Note that I had to remove your md5sum check from the postinst file. (I was using a version of your script from about 30 minutes ago)
yea, current version uses a much more "gentle" script that should install somewhat similar anyway
__________________
If you've liked my software, please consider to towards future development.

Developer of many apps such as: WebOS Quick Install, WebOS Theme Builder, Ipk Packager, Unified Diff Creator, Internalz Pro, ComicShelf HD, LED Torch, over 70 patches and more.

@JayCanuck @CanuckCoding Facebook
Jason Robitaille is offline   Reply With Quote
Old 02/24/2011, 01:50 PM   #58 (permalink)
Homebrew Developer
 
Join Date: May 2010
Location: Germany
Posts: 518
Likes Received: 22
Thanks: 44
Thanked 130 Times in 76 Posts
Default

Quote:
Originally Posted by Jason Robitaille View Post
Lastly, install the attached "show-flash-prefs-on-legacy-devices.patch" file using WOSQI or Internalz. This will let you go into the Browser and enable Flash in the Preferences screen
One quick question: Why do you suggest to install the patch via Internalz, if the current Internalz version from Preware doesn't work on webOS 2.x? Is there any way to get a beta version?
pcworld is offline   Reply With Quote
Old 02/24/2011, 01:50 PM   #59 (permalink)
Member
 
Join Date: Nov 2009
Posts: 3
Likes Received: 0
Thanks: 1
Thanked 0 Times in 0 Posts
Default

I just have to say, thank you
This works fine on german O2 Palm Pre doctored to 2.1.
Liltonar is offline   Reply With Quote
Old 02/24/2011, 02:04 PM   #60 (permalink)
Member
 
Join Date: Nov 2010
Posts: 8
Likes Received: 1
Thanks: 2
Thanked 3 Times in 3 Posts
Default

Quote:
Originally Posted by mgmft View Post
Installing these additionally helps! But on a Pre - with 500 MHz Flash is of no use IMHO. That`s probably the cause, why it`s not included.
it shouldn't be that bad - on the nokia n900 flash is very usable and it has the exact same hardware as the pre- (so much so that PDK 3D-accelerated apps can be run natively on the n900 with a little tweaking of the environment the apps are run in).

so i wouldn't write off flash on the pre- just yet, unless 10.1 is far less well-written than 9.4 was.

on the other hand, the first thing i did on my n900 was to install flashblock, so i wouldn't get flash based ads on websites. anyone know if work is being done to port that to the pre?
bitflung is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0