Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
compuw22c
Old
(Last edited by compuw22c; 11th July 2012 at 03:24 AM.) Reason: Updated for 11.1.115.12
#1  
compuw22c's Avatar
Senior Member - OP
Thanks Meter 182
Posts: 499
Join Date: Dec 2007
Location: Chicago, IL
Default [MOD] Hulu Hack GB/ICS 11.1.115.12

Ok guys, so I absolutely love Hulu and other legit TV sites, some of which prohibit mobile devices based on a "flash id" similar to what you have with a User Agent string for the browser. It is based on this ID that it prohibits mobile phones from accessing content such as hulu and HBO (I think?). With this mod your phone will appear as though it is a PC running flash and I believe it also modifies your version number to be something like 99.9.999.99 for sites that try and check the version number. I also must make sure to give credit where credit is due. Credit goes to imneveral0ne who posted the modified lib files in the Thunderbolt forums http://forum.xda-developers.com/show...6#post12433036.

His mod stopped working because Gingerbread (and 10.3) copies the lib files from the APK itself back into the lib folder (/data/data/com.adobe.flashplayer/lib/) on boot, thus require the mod be redone every reboot. I simply took his mod, wrote a simple script that installs the hacked lib files to /data/flash/ at first for storage, modifies permission of /data/data/com.adobe.flashplayer/lib/ so that it can be written to by the script, and also installs a "run on boot" script at /system/etc/init.d/01-fixflash.sh which will copy the hacked lib files from /data/flash to /data/data/com.adobe.flashplayer/lib/. It also adds Hulu Bookmark app (1.0) to /data/app.


REQUIREMENTS:
Kernel with init.d support (most custom kernels with root support) and root
Busybox (for running the copy commands. If you don’t have it, install ‘busybox installer’ from the market once you are rooted)
Root explorer (recommended, not required)
NOTE: I have developed this file FOR gingerbread.


INSTRUCTIONS:
Install latest flash player (11.1.115.12) from the market FIRST and be sure to uncheck automatic updates (and don't manually either)
Make sure busybox is installed. One way to test this is to type cp –help in ADB and see if it can run the command. If it does, you’re good to go.
Next, simply flash the zip. Wipe cache/dalvik if you want (I don't believe it's necessary, although again, this is my first time and for whatever reason the script doesn't seem to want to run on its own the first time)


Upon first reboot, you MAY be lucky enough that it simply just works and you’re all set.If you still get the “Hulu not available for your platform” error, simply use either root explorer or adb to run the script for the first time manually. In root explorer, navigate to /system/etc/init.d, tap on S98fixflash and select “execute”. In ADB, navigate to /system/etc/init.d and type ‘sh S98fixflash’. Wait a sec for it to run, then try Hulu again. It should be working immediately (without a reboot required) AND the script should then run correctly on subsequent reboots.


Like I said this is my first "product" I've been able to make available to the community and am more than open to suggestions, criticisms and ideas of how I can make this script better. Enjoy guys!




EDIT: If you do have issues with the script not running on every reboot, simply install "Script Manager" from the market, navigate to /system/etc/init.d, select S98fixflash and check the "run on boot" checkbox.

NOTE: ICS Only version now (least as far as I know). May work on others, please let me and others know if it does work on GB
File is now attached to post due to multiupload being unavailable -

UPDATE 6/26/2012 for 11.1.115.12

Note: after more feedback it seems using busybox installer from the market helps if running the script, even manually does nothing.
If this post (or other's) helped you, hit THANKS!

Device History:
98 Casio E11 (4mb) || 99 Palm Vx (8mb) || 2000 iPaq 3635 (with PCMCIA sled for BT/WIFI) || 2001 Kyocera 2135 (Verizon) || 2003 Samsung SPH-A620 / VGA1000 (Sprint) || 2004 LG PM325 (Sprint) || 2005 Treo 600 (Sprint) || 2006 Treo 650 (Sprint) || 2007 HTC Mogul/VX6800 (Sprint) || 2008 HTC Touch Pro (Sprint) || 2009 HTC Touch Pro 2 (Sprint) || 2010 Samsung Epic 4g (Sprint) || 2011 Samsung i9100 Galaxy SII || 2012 Google Nexus 4 (L3)
The Following 10 Users Say Thank You to compuw22c For This Useful Post: [ Click to Expand ]
 
qwerty warrior
Old
#2  
Senior Member
Thanks Meter 79
Posts: 592
Join Date: Jan 2011
ahh too much to do
cba
 
compuw22c
Old
#3  
compuw22c's Avatar
Senior Member - OP
Thanks Meter 182
Posts: 499
Join Date: Dec 2007
Location: Chicago, IL
Sorry, lots of explaining. If your rooted just update flash to latest in market, uncheck auto update adobe flash, then flash the zip. Should just work like it did on my gsII.

Sent from my GT-I9100 using XDA App
If this post (or other's) helped you, hit THANKS!

Device History:
98 Casio E11 (4mb) || 99 Palm Vx (8mb) || 2000 iPaq 3635 (with PCMCIA sled for BT/WIFI) || 2001 Kyocera 2135 (Verizon) || 2003 Samsung SPH-A620 / VGA1000 (Sprint) || 2004 LG PM325 (Sprint) || 2005 Treo 600 (Sprint) || 2006 Treo 650 (Sprint) || 2007 HTC Mogul/VX6800 (Sprint) || 2008 HTC Touch Pro (Sprint) || 2009 HTC Touch Pro 2 (Sprint) || 2010 Samsung Epic 4g (Sprint) || 2011 Samsung i9100 Galaxy SII || 2012 Google Nexus 4 (L3)
sileshnair Old
#4  
Guest
Thanks Meter
Posts: n/a
Default A query

I was going thru your update-script. What does this line do?
Code:
set_perm(0, 2000, 0755, "/system/etc/init.d/01-fixflash.sh");
I did not find a 01-fixflash.sh in /system/etc/init.d folder, only S98fixflash?
The Following User Says Thank You to For This Useful Post: [ Click to Expand ]
 
compuw22c
Old
#5  
compuw22c's Avatar
Senior Member - OP
Thanks Meter 182
Posts: 499
Join Date: Dec 2007
Location: Chicago, IL
Quote:
Originally Posted by sileshn View Post
I was going thru your update-script. What does this line do?
Code:
set_perm(0, 2000, 0755, "/system/etc/init.d/01-fixflash.sh");
I did not find a 01-fixflash.sh in /system/etc/init.d folder, only S98fixflash?
Oops, your right. Sorry I quickly modified this script from my old one I used on my epic and forgot to change that line. Will repair and repost now...

http://www.multiupload.com/VJWDKZ23FR
sileshnair Old
#6  
Guest
Thanks Meter
Posts: n/a
Quote:
Originally Posted by compuw22c View Post
Oops, your right. Sorry I quickly modified this script from my old one I used on my epic and forgot to change that line. Will repair and repost now...

http://www.multiupload.com/VJWDKZ23FR
No problem. I already made the necessary changes. Will help others.

Sent from my GT-I9100 using Tapatalk
 
compuw22c
Old
#7  
compuw22c's Avatar
Senior Member - OP
Thanks Meter 182
Posts: 499
Join Date: Dec 2007
Location: Chicago, IL
Cool. Also, it did work for you after those changes correct?

Sent from my SPH-D700 using XDA App
If this post (or other's) helped you, hit THANKS!

Device History:
98 Casio E11 (4mb) || 99 Palm Vx (8mb) || 2000 iPaq 3635 (with PCMCIA sled for BT/WIFI) || 2001 Kyocera 2135 (Verizon) || 2003 Samsung SPH-A620 / VGA1000 (Sprint) || 2004 LG PM325 (Sprint) || 2005 Treo 600 (Sprint) || 2006 Treo 650 (Sprint) || 2007 HTC Mogul/VX6800 (Sprint) || 2008 HTC Touch Pro (Sprint) || 2009 HTC Touch Pro 2 (Sprint) || 2010 Samsung Epic 4g (Sprint) || 2011 Samsung i9100 Galaxy SII || 2012 Google Nexus 4 (L3)
 
compuw22c
Old
#8  
compuw22c's Avatar
Senior Member - OP
Thanks Meter 182
Posts: 499
Join Date: Dec 2007
Location: Chicago, IL
Note: after more feedback it seems using busybox installer from the market helps if running the script, even manually does nothing.

Sent from my GT-I9100 using XDA App
If this post (or other's) helped you, hit THANKS!

Device History:
98 Casio E11 (4mb) || 99 Palm Vx (8mb) || 2000 iPaq 3635 (with PCMCIA sled for BT/WIFI) || 2001 Kyocera 2135 (Verizon) || 2003 Samsung SPH-A620 / VGA1000 (Sprint) || 2004 LG PM325 (Sprint) || 2005 Treo 600 (Sprint) || 2006 Treo 650 (Sprint) || 2007 HTC Mogul/VX6800 (Sprint) || 2008 HTC Touch Pro (Sprint) || 2009 HTC Touch Pro 2 (Sprint) || 2010 Samsung Epic 4g (Sprint) || 2011 Samsung i9100 Galaxy SII || 2012 Google Nexus 4 (L3)
 
compuw22c
Old
(Last edited by compuw22c; 5th September 2011 at 08:59 PM.) Reason: update notice
#9  
compuw22c's Avatar
Senior Member - OP
Thanks Meter 182
Posts: 499
Join Date: Dec 2007
Location: Chicago, IL
update 9/5/2011 for 10.3.186.6 AND hopefully fixed data mounting issues on certain devices so it works easily on CWM on more devices

NOTE: Latest update includes a brand new flashplayer.so files freshly edited, so no more issues with youtube in the browser, and uses TRUE flash 10.3.186.6 libraries for increased performance (no longer based on 10.2)
The Following User Says Thank You to compuw22c For This Useful Post: [ Click to Expand ]
 
A|G
Old
#10  
Senior Member
Thanks Meter 9
Posts: 405
Join Date: Dec 2007
does nothing no matter what on kh3 deodexed

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Go to top of page...