Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
NoSudo
Old
#41  
Senior Member - OP
Thanks Meter 76
Posts: 188
Join Date: Feb 2012
Location: Kalifornia
Quote:
Originally Posted by g4ry12 View Post
The Flashex script worked great with stock based Gingerbread ROMs on my Samsung Galaxy S 4G phone. But after I moved to a MIUI based ROM, it stopped working. I thought it was an outdated script version issue, but apparently it was not. Recently Flash Player got updated, and the latest version of Flashex was still throwing this error message:
Code:
unknown operand
ERROR02: Unable to get the expected results from the strings grep sed lines(s)
But I found a workaround. I deleted all files in the Flashex's folder, and the /cache folder too. Basically, I deleted everything that was created by the script on its previous run, leaving only the script itself. I ran Flashex then, and that time it worked flawlessly.
Interesting. The only time the script leaves the cache files is when it isn't able to complete an edit. I had it leave them to help with troubleshooting.

I'm wondering since I know you said you had to update busybox to get the script working again after changing to the new ROM if maybe the previous busybox left a corrupt/unreadable file in cache. If so it's possible that file could fool the file checks I have in place and cause the script to stop before doing the edit.

In any case I'm glad you where able to get it to work after clearing the old files. I would love to figure out exactly what happened so I could add a check for it in future updates.
Tablet: Acer Iconia A100 unlocked cwm FlexReaper ROM and Hulu enabled

Need help figuring out how to customize your Acer A100/101? Look here for Help

Author of Flashex 2.05 (Enables watching Hulu and others in browser by hex-editing libflashplayer.so file from AND back to WIN, then copies it back to Abobe Flash and checks Adobe Flash for updates, and will re-edit libflashplayer.so when a new version is detected. Compatible with ANY Flash version and any device that can run it )
 
aaps
Old
#42  
Junior Member
Thanks Meter 1
Posts: 13
Join Date: Jan 2011
I can confirm that this works on a Samsung Galaxy Nexus LTE.
The Following User Says Thank You to aaps For This Useful Post: [ Click to Expand ]
 
ThunderRootedDragon
Old
(Last edited by ThunderRootedDragon; 15th May 2012 at 02:22 PM.)
#43  
ThunderRootedDragon's Avatar
Senior Member
Thanks Meter 29
Posts: 308
Join Date: Jul 2011
Gave this a go on my tfp using script manager method. It all seemed to install fine, per script manager. Changed the stock browser to desktop and when I try to load hulu on the browser it just stalls. Tried opening a new tab and loading a diff website -- stalled. If I open another browser it works fine. Any ideas?

Def taking slow connectivity into account -- using wifi hotspot from my phone -- so I don't expect it to zip through, but it never loads; I've left it there for half hour or so...
 
emerson julien
Old
#44  
Junior Member
Thanks Meter 3
Posts: 8
Join Date: Oct 2009
Location: new jersey
This is awesome, you're doing good work. I just tried the mod on my Droid Razr and it's CONFIRMED. Hulu works on this device.
The Following User Says Thank You to emerson julien For This Useful Post: [ Click to Expand ]
 
ThunderRootedDragon
Old
#45  
ThunderRootedDragon's Avatar
Senior Member
Thanks Meter 29
Posts: 308
Join Date: Jul 2011
Tried this on my TB as well with no success...don't mean to be nagative nancy though -- mad props to the dev.

I did make better progress than running it on my TFP. -- After running the script on my TB and removing ads in terminal I can load hulu and even put it in full screen, but all I get is audio...I put the browser on linux desktop -- had a choice between linux and mac desktop -- perhaps that may be causing an issue...I'll keep trying on both platforms and post my progress and hopefully success.
 
NoSudo
Old
#46  
Senior Member - OP
Thanks Meter 76
Posts: 188
Join Date: Feb 2012
Location: Kalifornia
Quote:
Originally Posted by emerson julien View Post
This is awesome, you're doing good work. I just tried the mod on my Droid Razr and it's CONFIRMED. Hulu works on this device.
Thanks good to know. I'll add it to the list.
Tablet: Acer Iconia A100 unlocked cwm FlexReaper ROM and Hulu enabled

Need help figuring out how to customize your Acer A100/101? Look here for Help

Author of Flashex 2.05 (Enables watching Hulu and others in browser by hex-editing libflashplayer.so file from AND back to WIN, then copies it back to Abobe Flash and checks Adobe Flash for updates, and will re-edit libflashplayer.so when a new version is detected. Compatible with ANY Flash version and any device that can run it )
 
NoSudo
Old
#47  
Senior Member - OP
Thanks Meter 76
Posts: 188
Join Date: Feb 2012
Location: Kalifornia
Quote:
Originally Posted by ThunderRootedDragon View Post
Tried this on my TB as well with no success...don't mean to be nagative nancy though -- mad props to the dev.

I did make better progress than running it on my TFP. -- After running the script on my TB and removing ads in terminal I can load hulu and even put it in full screen, but all I get is audio...I put the browser on linux desktop -- had a choice between linux and mac desktop -- perhaps that may be causing an issue...I'll keep trying on both platforms and post my progress and hopefully success.
First let me say, I apologize for not being around the last few days to respond.

Next, Can you be more specific as to the issue(s) you are running into. Maybe post or pm the scripts output so I can take a look. Also Im guessing TFP is a Asus Transformer Prime but Im wondering what the TB is. Some browsers work better then others. The stock ICS browser is working well on the A100 right now, but dolphin continues to have issues with full screen, as does chrome. Surefire is another browser option that works fine in full screen lots of browsers available.

Also if you are trying to remove the adds I would think that might cause issues playing hulu videos through the otherwise stock Adobe Flash. So I am guessing that may be causing the issue. My script doesn't bypass or eliminate Ads, or the need to have an account for restricted content. It's only purpose is to allow the user to access things like hulu as if it's a desktop PC on an Android device that is capable.

Also try to remember that hulu is a streaming media service running through Adobe Flash, and that can have a delay based on bandwidth and CPU performance as to load time, frame rate, picture quality, and sync of video and audio. My script can't help you with any of those things, but I'm happy to help you narrow the issue even if it has nothing to do with the script.
Tablet: Acer Iconia A100 unlocked cwm FlexReaper ROM and Hulu enabled

Need help figuring out how to customize your Acer A100/101? Look here for Help

Author of Flashex 2.05 (Enables watching Hulu and others in browser by hex-editing libflashplayer.so file from AND back to WIN, then copies it back to Abobe Flash and checks Adobe Flash for updates, and will re-edit libflashplayer.so when a new version is detected. Compatible with ANY Flash version and any device that can run it )
 
ThunderRootedDragon
Old
(Last edited by ThunderRootedDragon; 24th May 2012 at 06:06 PM.)
#48  
ThunderRootedDragon's Avatar
Senior Member
Thanks Meter 29
Posts: 308
Join Date: Jul 2011
Quote:
Originally Posted by NoSudo View Post
First let me say, I apologize for not being around the last few days to respond.

Next, Can you be more specific as to the issue(s) you are running into. Maybe post or pm the scripts output so I can take a look. Also Im guessing TFP is a Asus Transformer Prime but Im wondering what the TB is. Some browsers work better then others. The stock ICS browser is working well on the A100 right now, but dolphin continues to have issues with full screen, as does chrome. Surefire is another browser option that works fine in full screen lots of browsers available.

Also if you are trying to remove the adds I would think that might cause issues playing hulu videos through the otherwise stock Adobe Flash. So I am guessing that may be causing the issue. My script doesn't bypass or eliminate Ads, or the need to have an account for restricted content. It's only purpose is to allow the user to access things like hulu as if it's a desktop PC on an Android device that is capable.

Also try to remember that hulu is a streaming media service running through Adobe Flash, and that can have a delay based on bandwidth and CPU performance as to load time, frame rate, picture quality, and sync of video and audio. My script can't help you with any of those things, but I'm happy to help you narrow the issue even if it has nothing to do with the script.

No need to apologize...the response is much appreciated...sorry to throw the whole kitchen sink at you -- probably best to focus on the TFP (Prime) not the TB (Thunderbolt)

Wiped everything...unpacked the zip, copied files, and ran script using script manager, all per OP...The script indicated it was successful, although it first says source file does not exist. Honestly the problem I had and am still having probably has nothing to do with your script, but my connection -- though all other searches and website load up fine on the stock browser with desktop as the agent -- The problem is that the browser just stalls at hulu. I run a search for family guy from the main page and it looks like it will load, but stalls. Below is my scripts output...**did a search for surefire browser and its not in the play store or on google...I also use Dolphin and have used skyfire...I'll give those a try too....

Command:
'/mnt/sdcard/Flashex2/flashex205.sh'
-------------
Out:
exec sh '/mnt/sdcard/Flashex2/flashex205.sh'
root@android:/ # exec sh '/mnt/sdcard/Flashex2/flashex205.sh'
================================================== ====================
Found busybox, grep and sed in /system/xbin
Confirmed execute permission for /system/xbin/busybox
BusyBox v1.20.0

Source Files Doesn't Exist

Destination File: /data/data/com.adobe.flashplayer/lib/libflashplayer.so
Destination Ver: Adobe Flash says AND(Androiud) v1111158
Detected READ access for /data/data/com.adobe.flashplayer/lib/libflashplayer.so

Created /mnt/sdcard/Flashex2/cache Sucessfully...
Checking... /data/data/com.adobe.flashplayer/lib/libflashplayer.so
preparing to copy and edit file........
Copy: /mnt/sdcard/Flashex2/cache/libflashplayer_PREMOD looks good
================================================== ====================
Preparing to create a hexdump.........
Dont panic...This could take over a minute on a Tegra 2..
Its Converting an 8MB or so Binary on a little tablet...Just wait its fine
Created a hexdump of /mnt/sdcard/Flashex2/cache/libflashplayer_PREMOD
================================================== ===================
Preparing to edit /mnt/sdcard/Flashex2/cache/libflashplayer_HEXDUMP..
This might take a minute too....
/mnt/sdcard/Flashex2/cache/libflashplayer_HEXDUMP has been edited...
================================================== ===================
Converting /mnt/sdcard/Flashex2/cache/libflashplayer_EDITED to binary...
Binary File: /mnt/sdcard/Flashex2/WIN_libflashplayer.so created...
Checking Binary file /mnt/sdcard/Flashex2/WIN_libflashplayer.so...
================================================== ===================
HEXEDIT SUCCESSFUL
File: /mnt/sdcard/Flashex2/WIN_libflashplayer.so now reads as
Version: WIN 11,1,115,8

Preparing to copy edited file to Adobe Flash....
Version WIN 11,1,115,8 detected continuing...
Checking Permissons for: /data/data/com.adobe.flashplayer/lib/libflashplayer.so....
Confirmed write access to /data/data/com.adobe.flashplayer/lib/libflashplayer.so...
Confirmed: AND 11,1,115,8 in /data/data/com.adobe.flashplayer/lib/libflashplayer.so...

Preparing to make a Backup of Original /data/data/com.adobe.flashplayer/lib/libflashplayer.so
Backing up /data/data/com.adobe.flashplayer/lib/libflashplayer.so to /mnt/sdcard/Flashex2/ORIG_libflashplayer.BAK...
Backup of /data/data/com.adobe.flashplayer/lib/libflashplayer.so Successful...continuing
Your backup is /mnt/sdcard/Flashex2/ORIG_libflashplayer.BAK

Preparing to Write /mnt/sdcard/Flashex2/WIN_libflashplayer.so to /data/data/com.adobe.flashplayer/lib/libflashplayer.so

File copied...Checking /data/data/com.adobe.flashplayer/lib/libflashplayer.so...
diff says the files Look the same...continuing checks...

Found WIN 11,1,115,8 inside /data/data/com.adobe.flashplayer/lib/libflashplayer.so...

All Tasks Completed Successfully
REMEMBER you MUST ALSO set Web Browser to Desktop in settings
then you can enjoy watching Hulu in your browser


AGAIN...your support is much appreciated.
The Following User Says Thank You to ThunderRootedDragon For This Useful Post: [ Click to Expand ]
 
NoSudo
Old
(Last edited by NoSudo; 24th May 2012 at 07:26 PM.)
#49  
Senior Member - OP
Thanks Meter 76
Posts: 188
Join Date: Feb 2012
Location: Kalifornia
Quote:
Originally Posted by ThunderRootedDragon View Post
No need to apologize...the response is much appreciated...sorry to throw the whole kitchen sink at you -- probably best to focus on the TFP (Prime) not the TB (Thunderbolt)

Wiped everything...unpacked the zip, copied files, and ran script using script manager, all per OP...The script indicated it was successful, although it first says source file does not exist. Honestly the problem I had and am still having probably has nothing to do with your script, but my connection -- though all other searches and website load up fine on the stock browser with desktop as the agent -- The problem is that the browser just stalls at hulu. I run a search for family guy from the main page and it looks like it will load, but stalls. Below is my scripts output...**did a search for surefire browser and its not in the play store or on google...I also use Dolphin and have used skyfire...I'll give those a try too....


Yep I can see from the script output that it was successful and able to confirm the file. It will perform a diff and also verify that it finds a specific string inside the binary after making the final copy and it reported it all. So I'm sure the libflashplayer.so file is fine.

As you can see here

Quote:
HEXEDIT SUCCESSFUL
File: /mnt/sdcard/Flashex2/WIN_libflashplayer.so now reads as
Version: WIN 11,1,115,8
and then here
Quote:
Preparing to Write /mnt/sdcard/Flashex2/WIN_libflashplayer.so to /data/data/com.adobe.flashplayer/lib/libflashplayer.so

File copied...Checking /data/data/com.adobe.flashplayer/lib/libflashplayer.so...
diff says the files Look the same...continuing checks...

Found WIN 11,1,115,8 inside /data/data/com.adobe.flashplayer/lib/libflashplayer.so...
those are a good confirmation the hexedit, file copy, etc was all successful. So the script worked fine for you.

As for the Browser I was wrong it's Skyfire not Surefire sorry about that. It works fine for me, as does Dolphin HD(but NOT full screen though it used to before the sonar updates). The Stock browser is what I like to use at the moment. Once you get used to checking the Show as Desktop each time it has nice performance. I still use Dolphin allot for a normal browser though.

It does sound allot like it might be a connection/bandwidth issue TBH. I know if I try to watch hulu from some wifi hotspots I can sorta watch but it's unreliable. At home or other places I know aren't throttled or low bandwith, weak signal etc. It works very well and I can even watch in 480p full screen which looks great on that little screen btw. I have even used it on trips to watch some TV on a large monitor via hdmi. I would be curious what it runs like in a location you know has a strong signal and ample bandwidth.

Thank you for the feedback information.

Let me know how it goes with what ever you decide to try next.

---Addedd in Edit----
Quote:
The script indicated it was successful, although it first says source file does not exist.
This is normal and should happen the first time you run the script. The "Source File" is the hex edited copy of the file that is created by the script. That file by default would be /mnt/sdcard/Flashex2/WIN_libflashplayer.so and it will remain stored in place unless removed by the user. So the next time the script is run you will see a message saying Found Source file instead. It's just part of the system of checks I have in place to ensure everything runs properly. You may also from time to time see it say the Source File is old or out of date in which case it will edit an updated version and replace the old one with the update.
Tablet: Acer Iconia A100 unlocked cwm FlexReaper ROM and Hulu enabled

Need help figuring out how to customize your Acer A100/101? Look here for Help

Author of Flashex 2.05 (Enables watching Hulu and others in browser by hex-editing libflashplayer.so file from AND back to WIN, then copies it back to Abobe Flash and checks Adobe Flash for updates, and will re-edit libflashplayer.so when a new version is detected. Compatible with ANY Flash version and any device that can run it )
 
ThunderRootedDragon
Old
#50  
ThunderRootedDragon's Avatar
Senior Member
Thanks Meter 29
Posts: 308
Join Date: Jul 2011
Quote:
Originally Posted by NoSudo View Post
Yep I can see from the script output that it was successful and able to confirm the file. It will perform a diff and also verify that it finds a specific string inside the binary after making the final copy and it reported it all. So I'm sure the libflashplayer.so file is fine.

As you can see here


and then here

those are a good confirmation the hexedit, file copy, etc was all successful. So the script worked fine for you.

As for the Browser I was wrong it's Skyfire not Surefire sorry about that. It works fine for me, as does Dolphin HD(but NOT full screen though it used to before the sonar updates). The Stock browser is what I like to use at the moment. Once you get used to checking the Show as Desktop each time it has nice performance. I still use Dolphin allot for a normal browser though.

It does sound allot like it might be a connection/bandwidth issue TBH. I know if I try to watch hulu from some wifi hotspots I can sorta watch but it's unreliable. At home or other places I know aren't throttled or low bandwith, weak signal etc. It works very well and I can even watch in 480p full screen which looks great on that little screen btw. I have even used it on trips to watch some TV on a large monitor via hdmi. I would be curious what it runs like in a location you know has a strong signal and ample bandwidth.

Thank you for the feedback information.

Let me know how it goes with what ever you decide to try next.

---Addedd in Edit----

This is normal and should happen the first time you run the script. The "Source File" is the hex edited copy of the file that is created by the script. That file by default would be /mnt/sdcard/Flashex2/WIN_libflashplayer.so and it will remain stored in place unless removed by the user. So the next time the script is run you will see a message saying Found Source file instead. It's just part of the system of checks I have in place to ensure everything runs properly. You may also from time to time see it say the Source File is old or out of date in which case it will edit an updated version and replace the old one with the update.
Nice thanks for the in depth reply...I'll give it a try some time soon..for now I get internet from tethering from my cell...lol...I will def keep you posted...

One last question, if I select boot in script manager, will it run up every time I boot and reboot? Is this necessary...or does the script run automatically each time?

 
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...