Jump to content

Flash on T-Mobile Pulse?


Guest BigBearMDC

Recommended Posts

Hi guys

Wouldn't it be possible to port the Flash Player/Plugin from the HTC Hero to other Android devices?

Greetings,

BigBearMDC

I grabbed the flashplayer.apk file from a hero rom and installed it ok on my pulse, I couldn't work out howto associate .swf files with it though so it didn't know what to do with them when I downloaded one.

In addition to the FlashPlayer.apk file there seem to be a bunch of libfl*.so library files which would I assume be needed.

Edited by rjm2k
Link to comment
Share on other sites

Guest BigBearMDC

Thanks rjm2k!

If you could give me a short explanation on how i have to copy files to my pulse correctly i could try to get the flash player working. Also i don't know how i can get the Files from the Hero. I don't have one so i can't just copy them onto my computer :)

Also i think that the FlashPlayer.apk alone can't play any flash content... On the Hero its integrated in the webbrowser, isn't it?

So we would maybe have to write an app that provides the GUI for the flashplayer. Maybe the Player just decodes the content but can't show it without a Parent Window.

Optional we could also try to copy the Hero's webbrowser onto the pulse.

Greetings,

BigBearMDC

Edited by BigBearMDC
Link to comment
Share on other sites

Thanks rjm2k!

If you could give me a short explanation on how i have to copy files to my pulse correctly i could try to get the flash player working. Also i don't know how i can get the Files from the Hero. I don't have one so i can't just copy them onto my computer :)

Maybe we could write a short app or so that starts the FlashPlayer.apk and gives it the path to the swf file as a parameter...

Greetings,

BigBearMDC

Unfortunatly I don't think it's that simple, it looks like the browser on the pulse maybe modified to support flash directly.

Link to comment
Share on other sites

Guest le_lutin
Unfortunatly I don't think it's that simple, it looks like the browser on the pulse maybe modified to support flash directly.

I think the dolphin browser (which you can install on the Pulse) supports multitouch.

Link to comment
Share on other sites

Guest BigBearMDC

Thats correct Dolphin Browser supports multitouch.

Unfortunatly the Pulse not (yet).

Have a look at this topic.

@rjm2k: could you please explain me how i can get a Hero ROM and how to extract files from it?

Greetings,

BigBearMDC

Edited by BigBearMDC
Link to comment
Share on other sites

Guest BigBearMDC

Ok i tried to copy the Flashplayer.apk to my phone... and i screwed it up..

My phone doesn't boot anymore

Anyway these are the files i copied to my device:

Browser.apk

Browser.obex

FlashPlayer.apk

Flashplayer.obex

libfl.so

libflashlite.so

libflashsnddec.so

I'll wipe my phone now and then try again

Greetings,

BigBearMDC

Link to comment
Share on other sites

Guest BigBearMDC

Ok i guess the libfl.so caused the boot loop - the lib seems not to be from the Flash Player.

I now copied the Browser.apk, FlashPlayer.apk, libflashlite.so and libflashsnddec.so into the custom ROM.

I'm installing it right now.

Edit: It's by far not as simple as i thought. It's not possible to copy other files into the ROM as it will refuse to install...

Ill install now the U8230 Rom again.

I guess I'll need some help from a dev.

@rjm2k: how did you install the Flash Player? On my phone the installation fails everytime...

i have the MCR U8230 Vanilla installed.

Greetings,

BigBearMDC

Edited by BigBearMDC
Link to comment
Share on other sites

Guest BigBearMDC

Hi

For everyone whos interested in:

I got some news.

I took a closer look at the two Browser.apk's.

They both have a plugin directory.

The Browser.apk from the Hero contains a Flash Library (flashplugin.so) and 3 image files - play, loading and error!

Furthermore both Browsers contain the same 'gears.so' library.

Both Browser seem to have basically the same function.

Only the GUI seems to be different.

I'll now try to copy the flashplugin into the Pulse's Browser.apk and install it.

Stay tuned!

Greetings,

BigBearMDC

Link to comment
Share on other sites

Guest blaze23
Hi

For everyone whos interested in:

I got some news.

I took a closer look at the two Browser.apk's.

They both have a plugin directory.

The Browser.apk from the Hero contains a Flash Library (flashplugin.so) and 3 image files - play, loading and error!

Furthermore both Browsers contain the same 'gears.so' library.

Both Browser seem to have basically the same function.

Only the GUI seems to be different.

I'll now try to copy the flashplugin into the Pulse's Browser.apk and install it.

Stay tuned!

Greetings,

BigBearMDC

any updates on the situation??

Link to comment
Share on other sites

Guest BigBearMDC
any updates on the situation??

Of course :)

It's not working ;)

The things i tried:

I copied the plugins into the Pulse Browser - no change, no flash.

I copied FlashPlayer.apk - no change.

I tried to copy libflashlite.so - failure -> not enough memory??

same thing with the Hero Browser - not enough memory.

I think if i could copy the Hero Brwoser and the lib, it might work.

But i don't know how to solve the memory error.

And i can't copy them into a custom ROM because i don't know how to do it.

I tried to just copy the Browser.apk, FlashPlayer.apk and libflashlite.so into the ROM, but it refuses to install...

If somebody could tell me how to integrate those programms and the lib correctly into the image i would do it.

Could somebody please help me?

Greetings,

BigBearMDC

Edited by BigBearMDC
Link to comment
Share on other sites

Guest BigBearMDC

Thanks!

When i look at this... i think porting the Hero ROM to the Pulse might be easier xD

I'll take a closer look at this Topic later on.

Edit:

Ok i think i could test the Flash Player now. The only problem i have is that i can't copy all necessary files (not enough memory error).

I copy the files using adb. Is there any other solution to copy the files?

I would be glad if somebody could explain how to correctly copy the files onto my pulse.

Greetings,

BigBearMDC

Edited by BigBearMDC
Link to comment
Share on other sites

Guest BigBearMDC
How big are the files you are trying to copy???

Stock Browser.apk with FlashPlugin: 1570kB

libcurl.so: 131kB

libfl.so: 55kB

libflashlite.so: 1.325

libflashsnddec.so: 78kB

libon2.so: 78kB

libsiimpl.so: 456kB

libsorenson.so: 46kB

com.htc.framework.jar: 1kB

com.htc.framework.xml: 2kB

platform.xml: 7kB

All in all: 3749kB

Greetings,

BigBearMDC

Link to comment
Share on other sites

Guest BigBearMDC

Can somebody tell me how to copy the files?

I have the MoDaCo U8230 custom ROM installed.

I don't know if that makes an differnce.

Also i have a 512MB ext3 partition on my SD-Card

Edit:

Ive seen now i can copy nearly exactly 2MB before i get the 'no space left on device' error.

I tried rebooting the phone after this, made a normal boot, and then went back into recovery mode.

But no change. I still get the error.

How do others copy large files to the phone??

I can't continue unless somebody explains me how to fix this problem.

Greetings,

BigBearMDC

Edited by BigBearMDC
Link to comment
Share on other sites

Can somebody tell me how to copy the files?

I have the MoDaCo U8230 custom ROM installed.

I don't know if that makes an differnce.

Also i have a 512MB ext3 partition on my SD-Card

Greetings,

BigBearMDC

I assume you are trying:

./adb push local_file remote_file

???

Don't know what operating system you are using but if you have busybox available from an adb shell you may be able to query the drive space available on your device using

busybox df -h

????????

Link to comment
Share on other sites

Guest BigBearMDC
I assume you are trying:

./adb push local_file remote_file

that's what im doing.

I can copy 2MB and then i get the 'no space left' error.

Don't know what operating system you are using but if you have busybox available from an adb shell you may be able to query the drive space available on your device using

busybox df -h

Im using Windows 7 RC.

How do i use busybox?

And it should be installed on my phone as i have the MoDaCo U8230 ROM, shouldn't it?

Edit:

It also seems not to be a problem with a lack of memory. I uninstalled a few programms but that didn't change anything.

Greetings,

BigBearMDC

Edited by BigBearMDC
Link to comment
Share on other sites

that's what im doing.

I can copy 2MB and then i get the 'no space left' error.

Im using Windows 7 RC.

How do i use busybox?

And it should be installed on my phone as i have the MoDaCo U8230 ROM, shouldn't it?

Edit:

It also seems not to be a problem with a lack of memory. I uninstalled a few programms but that didn't change anything.

Greetings,

BigBearMDC

Hhhhhmm, I am pretty much at the limits of my 'nix knowledge unfortunately. Have you tried sending up to 2Mb across, then terminating that shell/disconnecting the phone and then reconnecting and trying to push the rest of the files across?

Link to comment
Share on other sites

Guest BigBearMDC
Have you tried sending up to 2Mb across, then terminating that shell/disconnecting the phone and then reconnecting and trying to push the rest of the files across?

Yap. I even rebooted it. And as that not worked i deleted some programmes on my phone. Not even that changed anything.

Its kinda weird. I think now i will not be able to load anything on my Pulse at all until i install the custom ROM again :)

Thats really annoying. I just want to copy a few files...

Is there maybe a program for the Pulse that allows to copy files into the system/app/lib folder?

Edit:

Maybe i could copy the files into the AmonRA Recovery img.

I'll try that.

Stay tuned.

Greetings,

BigBearMDC

Edited by BigBearMDC
Link to comment
Share on other sites

Guest HunteronX
Yap. I even rebooted it. And as that not worked i deleted some programmes on my phone. Not even that changed anything.

Its kinda weird. I think now i will not be able to load anything on my Pulse at all until i install the custom ROM again :)

Thats really annoying. I just want to copy a few files...

Is there maybe a program for the Pulse that allows to copy files into the system/app/lib folder?

Edit:

Maybe i could copy the files into the AmonRA Recovery img.

I'll try that.

Stay tuned.

Greetings,

BigBearMDC

You can use ES file explorer on the market, enable root on it, and mount the system folder as writable through it. But of course - you need a rooted phone for this, which I assume you have from your earlier posts.

Hope this helps!

Link to comment
Share on other sites

Guest BigBearMDC
I'm pretty sure

adb remount

will mount / as rw.

Thanks, but i think thats not the problem as i can copy files up to 2MB.

Also im not getting an access denied error but a no space left error.

Anyway ES File Explorer is a very good app, but i still can't copy files into lib/framework/app folder :)

Does anybody know how i can make my own recovery image?

Greetings,

BigBeearMDC

Edited by BigBearMDC
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.