Welcome to CyanogenMod
![]() |
Welcome to our forum. Like most online communities you must register to post, but don't worry this is a simple free process that requires minimal information for you to signup. Be a part of the CyanogenMod Forum by signing in or creating an account. You can even sign in with your Facebook or Twitter account.
|
Fix for Flash 10.3 on CM7
#1
Posted 09 June 2011 - 07:05 AM
1) force stop the browser process
2) Remove all permissions for /data/data/com.android.browser/app_plugins/com.adobe.flashplayer/.macromedia/Flash_Player/config.data
*Fix also works for Dolphin. Just change com.android.browser to mobi.mgeek.TunnyBrowser
Changing the permissions restricts the flash plugin or the stock browser or the webkit or I dunno what from reading config.data. This file is screwing with video playback of anything over 240p.
What's weird is that the config.data generated for 10.2 and 10.3 appears to be identical, except for the ProductVer string. Since the file contains settings for h264 high, baseline and main profiles, there's probably some change in 10.3 to the way it uses this information.
Either way, this is a bandaid for those that don't wish to use Opera until the heart of the issue is found/addressed.
#2
Posted 14 July 2011 - 03:08 AM
Edited by Kamikaze78, 14 July 2011 - 03:11 AM.
#3
Posted 01 August 2011 - 06:40 PM
I did it using ADB, to avoid any typing errors.
Thank you.
#4
Posted 11 August 2011 - 03:14 PM
wget http://www.adobe.com/software/flash/about/ -O - | grep '10.' | grep -v 's' | uniq | cut -d '>' -f2 | cut -d '<' -f1 > /sdcard/version winversion=$(sed 's/\./,/g' /sdcard/version) andversion=$(cat /data/data/com.adobe.flashplayer/lib/libflashplayer.so | grep 'AND 10,') echo "Replacing \"$andversion\" with \"WIN $winversion\"" echo "Will open the adobe test page on completion" sed -i "s/$andversion/WIN $winversion/" /data/data/com.adobe.flashplayer/lib/libflashplayer.so rm /sdcard/version am start -a android.intent.action.VIEW -d http://kb2.adobe.com/cps/155/tn_15507.html
Just copy the code into a new file anywhere on your sdcard and execute it as su with "sh your_file_name" from the terminal emulator. It gets the current version from adobe's site and replaces the android user agent in libflashplayer.so. This will work until they up it to 11.x, and then all you have to do is change the last bit of the 3rd line to "grep 'AND 11,')" instead.
Whenever flash updates you can just execute this script and you'll be free to watch hulu and what not in ~30 seconds.
Happy modding!
PS I release this code asking only for a thank you in return. Anyone that wants to make an app like adFree for this feel free to do so as long as it is distributed for free.
#5
Posted 17 August 2011 - 10:18 PM
#6
Posted 27 August 2011 - 07:36 AM
Kamikaze78, on 14 July 2011 - 03:08 AM, said:
The files are hidden. I think I just right-clicked and checked "show hidden files".
#7
Posted 29 August 2011 - 06:26 AM
#8
Posted 10 September 2011 - 02:10 PM
#9
Posted 10 September 2011 - 10:28 PM
#11
Posted 03 October 2011 - 10:10 PM
Kamikaze78, on 14 July 2011 - 03:08 AM, said:
I have the same problem. Anyone else seen this and know how to fix it?
#12
Posted 04 October 2011 - 05:02 AM
#13
Posted 08 October 2011 - 04:01 AM
#15
Posted 25 October 2011 - 02:15 PM
flippin flappin, on 03 October 2011 - 10:10 PM, said:
I have the same problem. Anyone else seen this and know how to fix it?
I used the terminal emulator on the phone. If you have ever used Linux this is much easier. I can give you the list of commands:
su root
(grant terminal emulator root permissions when busybox comes up)
cd /data/data/com.android.browser/app_plugins/com.adobe.flashplayer/.macromedia/Flash_Player/
(the .macromedia folder is hidden, so if you cd to the com.adobe.flashplayer and want to see it, you can type ls -a and it will show you)
once in the/Flash_Player folder you can review the permissions on the config.data file by typing ls -l and it should come up as -rw-rw-rw-
then you type the following to remove the permissions:
chmod 000 config.data
and you are done.
Remember, Linux file paths are case sensitive, so type it exactly as shown.
#16
Posted 25 October 2011 - 02:49 PM
#17
Posted 26 October 2011 - 04:27 AM
#18
Posted 26 October 2011 - 04:36 AM
Sent from my Inspire 4G using Tapatalk
#19
Posted 29 October 2011 - 11:05 PM
hopefully someone can figure out the cause behind this, but for now i won't have to go to the computer to watch flash videos.
#20
Posted 17 February 2012 - 02:27 AM
Kamikaze78, on 14 July 2011 - 03:08 AM, said:
we have the same problem. no app_plugin folder in com.android.browser
















