yashsingh1/xdaforums huggingface dataset:
[Nexus One General] PacoBell:
I've found it much easier to do everything DIY on-device. My solution is to use Root Explorer* to mount /data/data/com.adobe.flashplayer/lib R/W and then use the HexEditor app to search for "AND 10" and swap AND for WIN and whatever the current version number is to "10,1,102,64". Funny note: It used to be that you could simply modify the "AND" portion of the version string and Hulu would accept it, but it seeems that they've caught on to that and now they're checking the actual version number as well. Good thing we have control over that, too ;)

*It would seem that Adobe's trying to be clever by making the flashplayer lib directory read-only. If you have root, that shouldn't stop you, but I hadn't found a simple one-click way of getting around that restriction without resorting to adb. The closest I could find was Root Explorer, but it fell short when I tried to mount that directory R/W as there didn't seem to be any method of doing so. I contacted Colin, the developer, and he made me a custom build that allowed R/W on all directories. I've attached the APK in case anyone wants to give it a whirl.

Good luck!
[Nexus One General] R3sidu3:
after much work... it didn't work so sad so bout leaving the libflash.so with the WIN 10 tag on will it cause any life complications or should i just switch back to the AND tag
[Nexus One General] Almighty1:
It's really the same and I guess whatever floats your boat. I hate typing on the phone so it's actually faster to do it on the desktop as it makes it easier to share the file as well as I only read forums on the desktop and not the phone. I'm sure you can change the AND to WIN as long as the version number is the minimum or larger than the desktop counterpart so it's really >= 10.2.152.26, Google Chrome has the flash integrated and the version number is actually a bigger number. I couldn't load HexEditor on my phone as when I bootup, it is already down to 300k in space due to the /data/dalvik-cache and that's with 9-10 apps that gets excluded because of lack of space. Never realized the lib was read-only but if you know Unix, that's the way it's supposed to work since there is no reason to have the directory with write permissions. Root Explorer is meant for those that have "su" aka root access on the phone hence the name root explorer so if you don't, then that's why you're having the issue. Even if the directory was read-only, as long as you had su, then you can easily just add the write access to the directory without problems.
[Nexus One General] Almighty1:
The answer to that one depends... If it works for other sites that requires flash, then it's fine. If not, then it's another issue altogether and you should switch back as either you installed the file incorrectly at this point.
[Nexus One General] jae-v:
yea its terrible, i wonder if we can modify the old file to work with 2.3...it doesn't even show flash as installed
[Nexus One General] eluno:
works just fine on my evo. tho it does take awhile for the video to startup:)
[Nexus One General] taongbundok101:
Thanks for sharing . ill try it.
[Nexus One General] taongbundok101:
Thanks for sharing...
[Nexus One General] Paul22000:
Thanks! Worked great!
[Nexus One General] prettyha8:
Does HuLu care about your location when using a mobile device? Can I install this modified-flash and use Hulu from Canada?
[Nexus One General] shah_vm:
yes it still goes my location. you will have to use us based proxy to access hulu
[Nexus One General] tmckenn2:
hey, can you pm me with what you did or build me a version optimized for tegra 2... ive got a tablet that is aching for hulu... thanks :)
[Nexus One General] rockymelboa:
Worked for me

I used your file, copy pasted into that folder, adjusted permissions and PRESTO it worked like magic. Thanks man!

Edit: Nexus 1 on CM7 RC1 with the stock browser. BTW
[Nexus One General] jae-v:
Is there anything you can do about the original fast file not being detected anymore in gingerbread? I can upload the file, the latest ones are so unstable
[Nexus One General] Almighty1:
I can't do anything about stability or compatibility since I am only tricking hulu that you're running a different version so it's just reporting a different version number or rather info to hulu, the program's stability and everything else has not changed as that requires the source code or reverse engineering to fix. Another way to say this is that if the problems exist outside of hulu.com with the stock application, then it's something I can't fix. Also, what exactly do you mean by original fast file?

Please also try post #185 and #186 in this thread to see if your problem is fixed:

http://xdaforums.com/showthread.php?t=794512&page=4
[Nexus One General] Almighty1:
Please see post #185 and #186 in this thread as I believe 10.2 is supposed to cover everything including the Honeycomb tablets:

http://xdaforums.com/showthread.php?t=794512&page=4
[Nexus One General] jimbobalu:
Almighty1,

So when are you going to release a new libflashplayer.so for 10.2? You do great work, keep it up.

Thanks
[Nexus One General] eluno:
checkout post #205 in this thread it worked for me.

http://xdaforums.com/showthread.php?t=794512&page=21
[Nexus One General] jimbobalu:
Thanks, I missed this.
[Nexus One General] Almighty1:
In a few hours... ;)
[Nexus One General] Almighty1:
[Fix] Hulu working using Flash 10.2.156.12

To make it easier, all you need to do is download Adobe Flash Player 10.2.156.12 from market and replace the /data/data/com.adobe.flashplayer/lib/libflashplayer.so which is AND 10,2,156,12 hex edited to look like WIN 99,9,999,99 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 or chmod 755 the file.

To get this working, make sure to set your browser User Agent string. With the stock Android browser and probably other browsers excluding the Dolphin browser, you might have to do this each time you run any flash based site including hulu.com or start the browser:

http://xdaforums.com/showthread.php?t=686765

Others are strongly encouraged to make a .apk installer file to share with others as a contribution to the Android community. Unfortunately, I have no way to make the .apk file as I have tried existing .apk's and all they did was made it seem like Adobe Flash was not even installed on all sites including hulu.com.
[Nexus One General] fylim:
Hi,

I followed these steps but still doesn't work. If I try to run hulu.apk immediately after overwriting the file, i get repeated FCs.

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 or chmod 755 the file.

If I then reboot, I find that the file version reverts back to the original version after a reboot. It seems like there is some version protection there.

Any ideas ? I am on SGS i9000 2.2.1
[Nexus One General] Almighty1:
You have the same issue as mentioned here:

See Posts #51, 63, 75, 77 in the following thread:

http://xdaforums.com/showthread.php?t=802133&page=2

It seems you have another libflashplayer.so somewhere else on the phone, this is likely if your phone shipped with flash.
[Nexus One General] zonbal33:
Will Hulu work with the new Flash for the Droid X? I haven't been on the forums for a while, just curious to see if still works? If so, what should I do, I could really use Hulu. Thanks guys.
[Nexus One General] Almighty1:
Only way to know is to try it, follow directions in #416 and report back!
[Nexus One General] AndroidGraphix:
Hulu loads but no sound?

***EDIT

I had to reboot. I now have sound and was finally able to watch youtube without getting an error message. Thanks

Sent from my rooted Thunderbolt, VirusROM AirborneTB 1.5mhz
[Nexus One General] rcxquake:
Flash_fixed.apk has been updated to the latest version!
[Nexus One General] nyeazyone:
Worked great on my Evo Shift!
[Nexus One General] walliester:
wow thanks ....
[Nexus One General] seb6000:
Hulu on Dell Streak 5

Using a Dell Streak 5 (2.2)

Ok Ive been jumping through all the hoops, and hulu still wont work.

I started 1st by getting a proper browser that had selections for the UAString (desktop). Opera, firefox and an already installed browser wouldnt allow this action. I found: Dolphin HD browser at the market and it has this option.

Next I unInstalled the flash version from the market...

then did a reboot,

then installed the latest flash fix, linked at the beginning of this forum post.

did another reboot

opened the Dolphin browser, set it to (desktop)

browsed to hulu... and its a no go!

all it shows is an image for the flash plugin.

---

So I uninstalled the fix and installed the flash from the market and at least the flash in the main page of Hulu will load now... u know the main flash show schroller on their homepage... but still no shows will load.

---

So I read this section in this post and think it would work for me, but I cannot find that location in the files... Ive looked and looked and looked for this path, but another no go for me.., this part of his post I cannot locate on the dell streak

2) Copy libflashplayer.so from sdcard to /data/data/com.adobe.flashplayer/lib

----

I hope someone finds a way to root this newer version of the Dell streak soon..

v2.2.2

2.6.32.9 kernel

15274 build

----

any help would be good.

thanks
[Nexus One General] rcxquake:
@Seb6000

You have a tegra device, which is why it is not recognizing this version of flash. Try the .apk in this post. It's an old version of flash, but I don't have a newer version for tegra.

http://xdaforums.com/showpost.php?p=9635382&postcount=352
[Nexus One General] Reign255:
I tried searching, but it was temporarily unavailable.

First of all, thank you so much for this! This was the only one that had worked for me out of all the ones I have been trying for days now. Thank you again.

I am having an odd problem though that I can't seem to solve. In the stock browser, everything is flawless, but with Opera Mobile 11, it doesn't detect Flash as installed. All of the options that used to be there for Flash settings are gone and I cannot play Flash content within Opera, but again, I can play them in the stock browser.

Any help would be much appreciated.
[Nexus One General] seb6000:
rcxquake: thanks for the info, but that doesnt work either. u do know the flash version u linked me to is 10.110.1.120.1 - Could it be outdated?

I didnt know or see anywhere in any post that the type of processor running, could have an effect on the flash version.

rcxquake: any ideas on how to root this newer version dell streak 2.2.2 - I've looked all over and nothing seems to be working for this version yet

thanks for the help

---

next for some people who may not know this, when u uninstalled the original market version of flash 10.2, do a reboot, then open/check your easy uninstall app again, because there will still be a lesser version of flash in the list that you will need to uninstall...

thanks again
[Nexus One General] manaox2:
I'd been using the hex-edited libflashplayer.so for flash 10.2 on Droid X Froyo and setting my useragent to desktop to watch hulu for a long while on Froyo with no problems.

With Gingerbread installed, I manage to get it working by removing libstagefright-froyo.so and libstagefright-honeycomb.so from the data/data/com.adobe.flash/libs directory and replacing libflashplayer.so with the hex-edited version. However, upon reboot, all libs are replaced back to stock with the libs packed inside the com.adobe.flash-1.apk in the data/app directory.

Theoretically, I could fix this by uninstalling and then reinstalling a signed flash apk containing the hex-edited libs and the libstagefright files removed. I have no experience modifying META info or signing apks though and none currently exist to my knowledge.
[Nexus One General] Almighty1:
manaox2,

see post #1059 in the thread:

http://xdaforums.com/showthread.php?t=919326&page=22

While it is not related to Adobe Flash, it is related to the scenario you describe as the author of Link2SD which is a great app to allow all apps to be installed and run on the SD Card.

Basically what is said is as follows, perhaps you can confirm with logcat:

On Android 2.3, the links to the lib files are being lost after reboot because the PackageManager service unpack all native libraries from the apk files at boot time.

Android 2.3 links native library directories and it does not unpack libs for apps on the external card since they have their libraries in the ASEC container.

But it unpacks the lib files that are in the devices internal memory.

A solution has yet to be found,

Logcat log shows what is going on...

...

I/PackageManager( 184): Unpacking native libraries for /data/app/com.aurorasoftworks.quadrant.ui.standard-1.apk

I/PackageManager( 184): Unpacking native libraries for /data/app/com.cerience.reader.app-1.apk

I/PackageManager( 184): Unpacking native libraries for /data/app/arity.calculator-1.apk

I/PackageManager( 184): Unpacking native libraries for /data/app/com.eclipsim.gpsstatus2-1.apk

...
[Nexus One General] Almighty1:
[Fix] Hulu working using Flash 10.2.157.51

To make it easier, all you need to do is download Adobe Flash Player 10.2.157.51from market and replace the /data/data/com.adobe.flashplayer/lib/libflashplayer.so which is AND 10,2,157,51 hex edited to look like WIN 99,9,999,99 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 or chmod 755 the file.

To get this working, make sure to set your browser User Agent string. With the stock Android browser and probably other browsers excluding the Dolphin browser, you might have to do this each time you run any flash based site including hulu.com or start the browser:

http://xdaforums.com/showthread.php?t=686765

Others are strongly encouraged to make a .apk installer file to share with others as a contribution to the Android community. Unfortunately, I have no way to make the .apk file as I have tried existing .apk's and all they did was made it seem like Adobe Flash was not even installed on all sites including hulu.com.

If you are running Android 2.3 aka Gingerbread, you might run into the problem where your lib will be

replaced with the original one from the .apk as detailed below:

see post #1059 in the thread:

http://xdaforums.com/showthread.php?t=919326&page=22

While it is not related to Adobe Flash, it is related to the scenario you describe as the author of Link2SD which is a great app to allow all apps to be installed and run on the SD Card.

On Android 2.3, the links to the lib files are being lost after reboot because the PackageManager service unpack all native libraries from the apk files at boot time.

Android 2.3 links native library directories and it does not unpack libs for apps on the external card since they have their libraries in the ASEC container but it unpacks the lib files that are in the devices internal memory.

A solution has yet to be found,

Logcat log shows what is going on...

...

I/PackageManager( 184): Unpacking native libraries for /data/app/com.aurorasoftworks.quadrant.ui.standard-1.apk

I/PackageManager( 184): Unpacking native libraries for /data/app/com.cerience.reader.app-1.apk

I/PackageManager( 184): Unpacking native libraries for /data/app/arity.calculator-1.apk

I/PackageManager( 184): Unpacking native libraries for /data/app/com.eclipsim.gpsstatus2-1.apk

...
[Nexus One General] winsettr:
Awesome work, finally fixed flash on CM7! Thanks!
[Nexus One General] Almighty1:
[Fix] Hulu working using Flash 10.3.185.21

To make it easier, all you need to do is download Adobe Flash Player 10.3.185.21 from market and replace the /data/data/com.adobe.flashplayer/lib/libflashplayer.so which is AND 10,3,185,21 hex edited to look like WIN 99,9,999,99 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 or chmod 755 the file.

To get this working, make sure to set your browser User Agent string. With the stock Android browser and probably other browsers excluding the Dolphin browser, you might have to do this each time you run any flash based site including hulu.com or start the browser:

http://xdaforums.com/showthread.php?t=686765

Others are strongly encouraged to make a .apk installer file to share with others as a contribution to the Android community. Unfortunately, I have no way to make the .apk file as I have tried existing .apk's and all they did was made it seem like Adobe Flash was not even installed on all sites including hulu.com.

*** NOTE FOR ANDROID 2.3 aka Gingerbread ROM USERS ***

If you are running Android 2.3 aka Gingerbread, you might run into the problem where your lib will be

replaced with the original one from the .apk as detailed below:

see post #1059 in the thread:

http://xdaforums.com/show...919326&page=22

While it is not related to Adobe Flash, it is related to the scenario you describe as the author of Link2SD which is a great app to allow all apps to be installed and run on the SD Card.

On Android 2.3, the links to the lib files are being lost after reboot because the PackageManager service unpack all native libraries from the apk files at boot time.

Android 2.3 links native library directories and it does not unpack libs for apps on the external card since they have their libraries in the ASEC container but it unpacks the lib files that are in the devices internal memory.

A solution has yet to be found,

Logcat log shows what is going on...

...

I/PackageManager( 184): Unpacking native libraries for /data/app/com.aurorasoftworks.quadrant.ui.standard-1.apk

I/PackageManager( 184): Unpacking native libraries for /data/app/com.cerience.reader.app-1.apk

I/PackageManager( 184): Unpacking native libraries for /data/app/arity.calculator-1.apk

I/PackageManager( 184): Unpacking native libraries for /data/app/com.eclipsim.gpsstatus2-1.apk

...
[Nexus One General] malibu_23:
Many thx works with latest flash on my evo
[Nexus One General] nateseviltwin:
Keep up the good work. It's great to be able to update flash and have hulu still work.

Thanks!
[Nexus One General] Chosen_on184:
Couldn't a script be created that automatically inserts the lib file back in the folder with the correct permissions on reboots ?
[Nexus One General] Almighty1:
I suppose so, I have experience with doing scripts in Unix but not on mobile phones, it probably goes something like:

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

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

The problem is you have to make the script execute after a x amount of time so that when the device automatically replaces the lib, you have the script do it immediately after.
[Nexus One General] Almighty1:
[Fix] Hulu working using Flash 10.3.185.22

To make it easier, all you need to do is download Adobe Flash Player 10.3.185.22 from market and replace the /data/data/com.adobe.flashplayer/lib/libflashplayer.so which is AND 10,3,185,22 hex edited to look like WIN 99,9,999,99 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 or chmod 755 the file.

To get this working, make sure to set your browser User Agent string. With the stock Android browser and probably other browsers excluding the Dolphin browser, you might have to do this each time you run any flash based site including hulu.com or start the browser:

http://xdaforums.com/showthread.php?t=686765

Others are strongly encouraged to make a .apk installer file to share with others as a contribution to the Android community. Unfortunately, I have no way to make the .apk file as I have tried existing .apk's and all they did was made it seem like Adobe Flash was not even installed on all sites including hulu.com. I have tried replacing the libflashplayer.so file in the .apk with WinRAR and when I install, it says "Application Not Installed" which means it requires the .apk to be resigned. Others said they were able to just replace the file with WinRAR without resigning. When I attempt to sign the .apk, it installs fine with the files and permissions correct except when I visit flash sites,

they all think flash is not installed on the device as I get the blue cube box.

*** NOTE FOR ANDROID 2.3 aka Gingerbread ROM USERS ***

If you are running Android 2.3 aka Gingerbread, you might run into the problem where your lib will be

replaced with the original one from the .apk as detailed below:

see post #1059 in the thread:

http://xdaforums.com/showthread.php?t=919326&page=22

While it is not related to Adobe Flash, it is related to the scenario you describe as the author of Link2SD which is a great app to allow all apps to be installed and run on the SD Card.

On Android 2.3, the links to the lib files are being lost after reboot because the PackageManager service unpack all native libraries from the apk files at boot time.

Android 2.3 links native library directories and it does not unpack libs for apps on the external card since they have their libraries in the ASEC container but it unpacks the lib files that are in the devices internal memory.

A solution has yet to be found,

Logcat log shows what is going on...

...

I/PackageManager( 184): Unpacking native libraries for /data/app/com.aurorasoftworks.quadrant.ui.standard-1.apk

I/PackageManager( 184): Unpacking native libraries for /data/app/com.cerience.reader.app-1.apk

I/PackageManager( 184): Unpacking native libraries for /data/app/arity.calculator-1.apk

I/PackageManager( 184): Unpacking native libraries for /data/app/com.eclipsim.gpsstatus2-1.apk

...
[Nexus One General] Almighty1:
And here is the apk of Adobe Flash with the hulu fix, be sure to uninstall Adobe Flash first before installing.
[Nexus One General] GordNYC:
Awesome! Thanks for packaging it!
[Nexus One General] winsettr:
Thanks for the update!
[Nexus One General] Chosen_on184:
Even with it pre-packaged in the apk i assume it still falls victim to the reboot issue.

Correct ?
[Nexus One General] Almighty1:
No it won't because the reboot issue basically unpacks whatever is in the apk so if the lib in the apk is already inside, you won't have the problem.
[Nexus One General] Chosen_on184:
Ahh i have been enlightened
[Nexus One General] jugchock:
Almighty1, what did you have to do to package the .apk?
[Nexus One General] lbyer123:
Has anyone tried to run Netflix with this version of Flash?
[Nexus One General] Almighty1:
Open the .apk with WinRAR and either delete the libflashplayer.so and add the new libflashplayer.so or replace and update the libflashplayer.so with the new one. Sign the apk. The apk doesn't work on my Motorola Droid 1 running p3droid's stock rooted FRG83G froyo Android 2.2 or HP Zeen running froyo 2.2 rooted as both of them would make it seem as if flash was installed but running a incompatible version even with youtube as it tells me to upgrade flash. It installs fine on my Motorola Xoom so it seems like something in the stock ROMs are preventing the apk from working correctly.
[Nexus One General] Almighty1:
No, never knew Netflix requires flash. All I have heard is you can now download the Netflix app from Android Market and it'll work as there is no longer a device model check.