yashsingh1/xdaforums huggingface dataset:
[EVO 4G Themes and Apps] tonyz2897:
Just curious, when you installed flash_hex_edited.apk did it show the install as successful? Also, did you reboot between installing and trying it? The reason I ask is that I can't remember if it worked right away or if I had to reboot first.

I'm wondering if maybe the original version of flash won't reinstall itself over the fixed version after a reboot if you can get a successful install of the fixed version prior to the reboot? Of course that might also have something to do with the version # of the original vs. the fixed. That would explain why I had no trouble with the install after downgrading (assuming the original flash apk in 3.26 had the same or an older version # than the fixed apk). If that's the case, then it should simply be a matter of repeating the process with a fixed version of flash that reports the same or a higher version #.

Out of curiosity, if you tap Adobe flash player 10.1 in Manage applications. what version # does it list?
[EVO 4G Themes and Apps] Obama's>god:
RRRRrrrrraaaaaaaaagggge!!!
[EVO 4G Themes and Apps] Obama's>god:
yeah i have no idea why this is happening for some people, make sure that you are NAND unlocked, and after doing the uninstall try

mount -o rw,remount -t yaffs2 /dev/mtdblock3 /system

and use rm *flash* in whichever directory the apk and stuff is in. then try a reboot or installing with adb install. also helps if you cross your fingers and toes
[EVO 4G Themes and Apps] Obama's>god:
yeah but as I understand it that link wont bump ....

also you're welcome. it's amazing what a normal person + booze + being pissed off can do for development
[EVO 4G Themes and Apps] tonyz2897:
Confirmed working in 3.28 stock rom

Ok, I got it sorted out in the stock rooted 3.28 rom.

The steps were convoluted, so I'm going to post now while it's fresh in my mind.

The original version of flash in this rom is 10.1.72.7

The version I installed is 10.1.95.2 (flash_fixed.apk from the Nexus One thread updated sept. 24). This might work with the version posted in this thread, but I haven't tried it.

First, download flash_fixed.apk from the Nexus One thread and save to your SD card.

Second, Move flash_fixed.apk to /system/app using root explorer and change permissions to "rw-r--r--".

Third, search and delete all files related to flash player EXCEPT flash_fixed.apk.

Fourth, Open "manage applications" and look for Adobe Flash Player 10.1. At this point it should be there, but showing nothing for file size.

Fifth, Reboot.

Sixth, Open "Manage applications" again and look for Adobe Flash Player 10.1. At this point it should be listing the new (fixed) version # 10.1.95.2 but it won't work yet at this point (the browser behaves as though flash isn't installed).

Seventh, Navigate to /system/app in Root Explorer, tap flash_fixed.apk and select install. The install should succeed and with the UA string change, it should work (Watching SGU now on a 3.28 rom after following these steps).

I'm going to wipe, reflash the 3.28 rom, and follow my own instructions using the version of flash from this thread to see if it works in the 3.28 rom. That will also let me check my steps to make sure I didn't leave anything out. I'll edit this post with the results as soon as I'm done.

EDIT: It worked fine the second time around too. The flash-hex-edited apk is the same version (10.1.95.2) as the flash_fixed apk from the Nexus One thread.
[EVO 4G Themes and Apps] kzibart:
The install of flash_hex_edit.apk was successful, but it did warn that I was replacing a system app before it installed. So even then, with flash completely uninstalled, it still recognized it as a system app rather than a user app.

I did not reboot between installing flash_hex_edit and trying hulu / browsers. But I have in the past (I've tried variations on these steps a dozen or more times, but not with this level of cleaning out the old flash first).

You may be onto something. The flash_hex_edit.apk is version 10.1.95.2 whereas the install_flash_player.apk built into /system/app (before updating through the market) is version 10.1.72.7. That's what version I show in Applications right now, but I am not allowed to "update" Adobe Flash Player to 10.1.95.2 using the flash_hex_edit.apk because it claims to be replacing instead of updating, and the installation ultimately fails.
[EVO 4G Themes and Apps] tonyz2897:
Check out post #70. I reinstalled the 3.28 rom and played with it until I got it working. Twice.:)

Done in exactly that order, it doesn't reinstall the old version and treats the fixed version as a fresh install (not an update).

Hopefully those steps will work for you too.
[EVO 4G Themes and Apps] kzibart:
Oh, cool. I missed that post. Unfortunately, it still didn't work for me. I went through your steps, and everything was fine until after I rebooted. At that point, Manage Applications no longer showed flash player installed. I went ahead and installed the flash_hex_edit.apk from /system/app, which succeeded, and I changed the UA string and set plugins to always on, but it still doesn't work. I'm guessing whatever kept flash player from looking like it was installed also kept the hex edited version from looking "official." I'm running the latest stock rom, 3.29.651.5, so that could make a difference.

What state did you start your process from? The stock, older flash installed without updates from the market? I'll mess around with it more tomorrow, trying different things.
[EVO 4G Themes and Apps] tonyz2897:
That's the way I started, no market updates, just a clean install of 3.28. I'll have to track down a stock copy of 3.29 and fool with it. The only problem is that I'm working 6-10's (took a sick day yesterday) so it'll likely be sunday before I have the time. If nothing else works, maybe we can pull flash from a 3.29 rom and get somebody to edit that apk. If the problem is caused by something specific to the version that comes installed in 3.29, hopefully that would get around it.
[EVO 4G Themes and Apps] kzibart:
EDIT: This method doesn't stick after a reboot. See my next post (down 2 from this one) for a better, easier solution that does.

Hope you feel better. You should because your suggestion motivated me to just get off my @$$ and hex edit my own version rather than trying to make someone else's work for me. And guess what? It worked! This was so much easier than trying to trick my rom into accepting a different copy of the flash apk. Here are the exact steps I followed:

Nandroid restore to an untouched 3.29 rom (from before all the deletes/copies/uninstalls, etc.). For others, I would suggest a backup instead at this point.

Copy /system/app/install_flash_player.apk to /sdcard using Root Explorer (make an additional backup copy if you want).

Connect the USB and mount the SD card as a drive.

Open install_flash_player.apk from the SD card with 7zip (other zip programs may work).

Extract \lib\armeabi-v7a\libflashplayer.so from the apk.

Use Ultra Edit to search for the version string of "AND 10,1,72,2" and change it to "WIN 10,1,85,3" (other hex editors should work).

Copy libflashplayer.so back to the archive using 7zip, and to the SD card by itself, outside of the archive.

Disconnect the USB.

Copy /sdcard/install_flash_player.apk to /system/app using Root Explorer.

Change permissions of /system/app/install_flash_player.apk to "rw-r--r--".

Copy /sdcard/libflashplayer.so to /system/lib using Root Explorer.

Change permissions of /system/lib/libflashplayer.so to "rw-r--r--".

It didn't immediately work. I got distracted while fiddling with the phone trying to get flash working again, so I don't recall everything I did or in what order. It's possible simply rebooting was enough, but I also tried uninstalling and reinstalling flash (from my edited /system/app/install_flash_player.apk version). I aslo don't know if I really needed to copy both the .apk and the .so over or if just one or the other would do it. Regardless, everything is working fine now.

It's funny, the first thing I tried to watch was one of the trailers on the hulu landing page, and the video started off with an ad for htc phones!

Thanks tonyz2897, obama's>god, and everyone else who helped get hulu working on the stock rom. Now I'm off to watch some SG-1 on my lunch break!
[EVO 4G Themes and Apps] tonyz2897:
Awesome! I really glad that you got it working. And thanks for posting a guide. I expect I'll be trying out 3.29 soon (possibly sunday) and that will be really helpful.

I know! Right?? I had a little geekgasm the first time I watched a commercial for the Evo on Hulu on an Evo.:D

Out of curiosity, how is playback in 3.29? Does the audio/video stay in sync?
[EVO 4G Themes and Apps] kzibart:
Update to my previous post (2 above). After rebooting again later, I lost my flash modifications. It went back to reporting that it was Android instead of Windows. So I did things a little differently this time.

I started fresh and updated Adobe Flash to the latest version through the market. Then I searched for all copies of libflashplayer.so using Root Explorer. It found two copies. The one in /lib still reported the old version, but the other one reported the updated 10.1.92.5 version, so I figured that's the copy I needed to update. Here's where it was located:

/data/data/com.adobe.flashplayer/lib/libflashplayer.so

So I copied that to /sdcard, hex edited the version information in it, and then copied it back to /data/data/com.adobe.flashplayer/lib. Then I ran hulu and checked what version flash reported and it immediately said Windows. And hulu content played immediately as well.

As a final test, I went ahead and rebooted. The changes stuck, and hulu content still played fine.
[EVO 4G Themes and Apps] kzibart:
The first video I watched seemed fine. The second got out of sync pretty bad. The third seemed fine. They were all just trailers from the landing page. I never did watch my SG-1. I think I have an old version of the hulu app though, because full screen doesn't work right (it's half off the screen). So that might have something to do with it, but I haven't been able to find a newer version. Looking now.
[EVO 4G Themes and Apps] tonyz2897:
I think the off center deal is pretty common. I've seen it mentioned several times and mine does the same thing even opening the widget player in the browser instead of using the app. I'm not sure about the app, but if you open the widget page in the browser, double tap to zoom gets almost full screen and you can pinch zoom the rest of the way if you don't mind it over scanning the sides a little. Oh, and overclocking seems to help some with smooth playback and a/v sync but (as you would expect) it burns through the battery.
[EVO 4G Themes and Apps] emaster101:
Weird...mine plays full screen in the web browser just fine. Its a little tricky to hit the full screen button but if you zoom in first it helps. just tap until you can get it. Also if you change the video resolution to the lowest setting (which looks fine on the Evo) and hit update it fixes the out of sync issues. For all those wondering I'm running the latest stock rooted rom. And KiNgxKernel #11. Works flawlessly. Here's how I got it running:

http://xdaforums.com/showpost.php?p=8550342&postcount=53

Forgot to mention...If the video doesn't load up right away look for a green down arrow next to "share the video" hit that and it will load the video.
[EVO 4G Themes and Apps] tonyz2897:
Right, right. I should have been more clear. I was referring to the widget player page (the same one the app takes you to). Full screen works for me too from the main site but I've been using the widget player page because it's preset to the lower resolution and seems to load faster than the main page.
[EVO 4G Themes and Apps] Obama's>god:
that's awesome! good work man
[EVO 4G Themes and Apps] DrawnToScale:
I uninstalled the Flash using Titanium and intalled this new fixed Flash and the Hulu app. Reboot. At first it seemed promising - the app runs, I see video icons. When I tap on an icon, I get an unresponsive small blue cube with a question mark on it. I tried repeating the procedure, but no luck. Any ideas what I'm doing wrong?
[EVO 4G Themes and Apps] kzibart:
What rom are you running? If stock, you may need to follow my instructions in posts 75 and 77 (read them both before doing anything).
[EVO 4G Themes and Apps] emaster101:
Well its not the hulu app its hulu's site. Go to this link on your phone: http://www.hulu.com/widget/player

All the app does is loads that link. If you try landscape out the screen is still messed up....
[EVO 4G Themes and Apps] tonyz2897:
It works fine for me, so long as I don't try to long press on the video and then hit the full screen icon that comes up (that makes it off center). Instead, I double tap to zoom (this keeps it centered and zooms in so that the video is almost fullscreen). If close isn't good enough, you can use pinch zoom from there to make it completely fullscreen.
[EVO 4G Themes and Apps] DrawnToScale:
I'm running the stock ROM. Are you saying that this problem seen with the stock ROM is not seen with other ROMs? Perhaps its easier to simply flash a ROM that works with the Hulu app, rather than editing files in the OS?
[EVO 4G Themes and Apps] kzibart:
I have only heard of this issue happening on the stock ROM. My guess is, most custom ROMs don't have any flash support baked into them directly like the stock ROM apparently does. But ultimately, the same result is being achieved either way. The uninstall/reinstall method described in this and other threads is making the same change I describe, but to a user app rather than a system app. The net effect should be identical.

Flashing a different ROM, either with Hulu support baked in or without flash at all (so that you can side-load the fixed version) is definitely an option. I just didn't want to have to wipe, reload and reconfigure all of my apps and settings, which is why I opted for finding a solution on the stock ROM.
[EVO 4G Themes and Apps] Zero101212:
Firs post! Thanks for the guide! I tried to Hex edit the version number for the file you pointed too but couldn't figure out how to edit the version number. Could you by any chance, upload you're hex edited version of flash since it seems like the only way to make this method work on the rooted stock HTC kernel? Thank you so much!
[EVO 4G Themes and Apps] kzibart:
Here you go. I had to zip it since .so isn't a valid file extension.

To recap, this is for stock EVO 3.29 builds (the latest as of this posting). It most likely will not work for other ROMs, and likely not for other versions of the stock ROM. To implement, you need root and a file manager capable of replacing system files, like Root Explorer.

Just unzip the attached file and copy it to /data/data/com.adobe.flashplayer/lib (replacing the one that is there). You should probably set permissions to rwxr-xr-x as well, to match the original.

I recommend a Nandroid backup first, but at least save off the existing libflashplayer.so before replacing it with this one.

daniel06gt, feel free to reference this post or copy these instructions to your first post so people can find it.

obama's>god, feel free to do the same with your thread if you like.
[EVO 4G Themes and Apps] Zero101212:
You kind sir are the man! I'll try it this evening. Thanks again!
[EVO 4G Themes and Apps] furrelkt:
Got mine working

I did this and all works great... :D

1. removed the flash apk (i used root explorer)

2. rebooted

3. installed hex-edited.apk

4. installed hulu.working.apk

this hulu also has the exit button so you don't have to FC the app. Its a bit choppy but figured as much..

edit: btw- i am running Myn's ROM

Keri
[EVO 4G Themes and Apps] Obama's>god:
I should mention if you liked my flash hex edit please vote liberal in nov ;)

also if you live in cali YES ON PROP 19!!!
[EVO 4G Themes and Apps] Philosuffer:
You got it, and also considering that I was born on 4/20 it would be blasphemy for me to not vote Yes.
[EVO 4G Themes and Apps] dag16:
ha, same here!
[EVO 4G Themes and Apps] adamsisty:
Help!

So I was able to install the hulu app, uninstalled flash and installed the flash hex fixed apk but now my browser (stock and dolphin) fail to detect flash at all. I go to hulu and it tells me "Hulu requires Flash player 10.0.32" I check under applications and it shows that I'm running 10.1.95.2. Anyone have any ideas? I've uninstalled Flash and reinstalled the "fixed" version and same thing. Thoughts?
[EVO 4G Themes and Apps] kzibart:
This sound just like what I was going through before we figured out you can't simply reinstall Adobe Flash on the stock ROM. So if you're on the stock ROM, you will need to follow my directions here (from the previous page post 90).
[EVO 4G Themes and Apps] Almighty1:
The edit of the shared object library was all that was needed on my rooted Motorola DROID 1 running froyo 2.2 FRG22D for it to work in hulu. The only issue with Adobe Flash is that I noticed with both hulu and other sites, using both dolphin and the stock browser, it will exit all of a sudden back to the home screen as if something killed the browser, actually seems like the process died on it's own as can be seen in the log:

http://pastebin.com/raw.php?i=KgxGJsh4

This happens with all versions of Adobe Flash I have installed so far.
[EVO 4G Themes and Apps] adamsisty:
Thank you thank you thank you! That worked like a champ! You're the man kzibart :D
[EVO 4G Themes and Apps] fmedina2:
This worked perfectly! Thank you very much!

Although Hulu is perfectly clear both on my EVO and PC. Also even though it doesnt work in landscape, if you zoom until it fits the screen it still plays great.
[EVO 4G Themes and Apps] dahauss:
I have flash 10 1 installed. What version is the hex edited version. The version I have is not the version that comes with the phone but the never version from market
[EVO 4G Themes and Apps] fmedina2:
It is a modified version. Go to settings, manage applications, and un-install the Adobe Flash Player update there. Then open up Titanium Backup, and un-install the Adobe Flash Player there also. Then boot into recovery, flash the Hulu.zip, reboot, then install the hex version of flash player, and then install hulu, and youll be set.
[EVO 4G Themes and Apps] dahauss:
I realise it's a modified version but which modified version? And does have any effect on running flash in the my web browser dolphin HD?
[EVO 4G Themes and Apps] Lostx:
Is there any version that fixes the landscape mode issue?
[EVO 4G Themes and Apps] kzibart:
It's 10.1.95.2, which as of right now is the latest version. It does not hinder using flash in browsers, including Dolphin HD. It just reports that it is the Windows version of flash instead of the Android version. So any flash content that actually cares, like hulu, will be affected. But hopefully only positively.
[EVO 4G Themes and Apps] TalynOne:
This hack is teasing me. The farthest I can get is seeing the hulu ads, but when the main feature (tv show or movie) tries to play, hulu times out with a video unavailable message, no matter what I try to watch.
[EVO 4G Themes and Apps] androidarmin:
Works like a charm on my EVO 4G, running Calculin's EViO ROM 2 (v1.1). Didn't see/find the UASTRING to select 'Desktop'... but it works fine anyway :

I used these instructions as listed in post 53:

http... xdaforums.com/showpost.php?p=8550342&postcount=53

[sorry, not allowed to post proper link]

Currently using WiFi since there's no stable 4G near my place in the Chicago burbs. Hope they'll add a few more 4G cell towers soon.

Anyways...

YOU GUYS ROCK !!

Thank you, Devs!
[EVO 4G Themes and Apps] dahauss:
Everything worked but now sites that had video that played fine before now say not optimized for mobile and don't play smooth. Any way to resolve? or is the the tradeoff when using this modified version of FLASH? I have DOLPHIN HD Broswer set for DESKTOP and it always played flash content without this error...

Edit: I read up on this error... It appears some sites have both regular FLASH content and content optimized for mobile use. One site si VIMEO. I used to be able to play video videos from my web site without the error.. now I get that error.... is there any way to fix?
[EVO 4G Themes and Apps] RCCola85:
Worked perfectly for me, running Fresh 3.4 w/ the recently released OTA (3.30.651.2).
[EVO 4G Themes and Apps] dahauss:
anyone know a resolution to my issue about now web sites do not play optimized flash content?
[EVO 4G Themes and Apps] tonyz2897:
Just a shot in the dark, but try switching your UA from desktop back to android before visiting one of those sites. If that doesn't work, then it might be necessary to switch back to an unmodified version of flash player (and lose hulu) to sort it out.
[EVO 4G Themes and Apps] dahauss:
I'll try that but anyone can go to www.unlimitedsounds.com/blog and see the error I get on the videos. I think it does have to do with the modified FLASH as before, with the regular version, I could leave the browser set to desktop and then when I played a FLASH piece, it would be optimized for mobile since the sting in flash said it was NOT a desktop...

HMM.. I guess Maybe that is the trade if we want to use HULU
[EVO 4G Themes and Apps] tonyz2897:
Right, well, that's where I was unsure. I didn't know if these sites use the browser UA or the flash version to determine whether or not to serve the mobile optimized video.

Along those lines, I wonder how hard it would be to write an app that would toggle flash player between the stock/modified version? If I understand this right, it would just be a matter of switching libflashplayer.so back and forth between the original and edited version. The only thing I'm not sure of is whether or not it would require a reboot for the change to take effect.

EDIT: Tried the link. In the stock browser with "Mobile view" enabled and the UA set to android, I did not get the message about the video not being optimized for mobile. The video appeared relatively low quality with big controls on the player and played smoothly. Disabling "Mobile view" and switching the UA to desktop caused the not optimized message to be displayed. The video was higher quality, had smaller controls, and did not play as smoothly.

So, it appears that site is checking the browser not the flash version.
[EVO 4G Themes and Apps] magicriggs:
Are there any special instructions to implement this tweak in a stock 3.30 ?
[EVO 4G Themes and Apps] fmedina2:
Everything works fine except I an getting the voices after I exit the app. Is there a fix for this yet?

Also the sound is off, and when you pause it the sound stops and but the image keeps playing, thus throwing the sound off even more. Is this all normal?
[EVO 4G Themes and Apps] dahauss:
New vesion of flash

I see in the market there is a NEW version of FLASH. does anyone have a EDITED version of the new FLASH that will work with HULU?

Thanks...
[EVO 4G Themes and Apps] Shauli20:
I'm having the issue with the audio playing too slow. What's that called? Demon voice or something?

Anyway, anyone know a solution for that?

Sent from my EVO rockin' MikFroYo!
[EVO 4G Themes and Apps] Almighty1:
To make it easier, all you need to do is download Adobe Flash Player 10.1.105.6 from market and replace the

/data/data/com.adobe.flashplayer/lib/libflashplayer.so which is AND 10,1,105,6 hex edited to look like WIN 10,1,102,64 for HULU.

1) Extract libflashplayer.so to sdcard

2) Copy libflashplayer.so from sdcard to

/data/data/com.adobe.flashplayer/lib using root explorer and make sure the permissions for libflashplayer.so is rwxr-xr-x
[EVO 4G Themes and Apps] Shauli20:
I don't have root explorer. Can I do this via ADB? How do I check what permission is set to?

Sent from my EVO rockin' MikFroYo!
[EVO 4G Themes and Apps] Dreddge:
Working on Myn's warm twopointtwo

Sent from the bowels of my mind...