[Q] Flash fix for CM7 RC 1.6.1 - Thunderbolt Q&A, Help & Troubleshooting

I'm wondering how the recommendation to `chmod 000 /data/data/com.android.browser/app_plugins/com.adobe.flashplayer/.macromedia/Flash_Player/config.data` works for fixing flash browser playback, when in my case the dir `/data/data/com.android.browser/app_plugins/` does not exist ... I have app_appcache, app_database, app_geolocation, app_icons, app_thumbnails ... but no app_plugins dir. Am I missing something? I have root, CM7 RC 1.6.1 on a HTC Thunderbolt. I don't see this directory under firefox either.

If I recall, I had to enable viewing system files and also hidden files in order to get access to those files. I couldn't find them at first either and it was driving me nuts. I think it was the hidden files setting I needed to enable for it to show up, but I could be wrong. Regardless, you might try poking around in the settings of your file manager and see if it makes a difference.

deesto-xda said:
I'm wondering how the recommendation to `chmod 000 /data/data/com.android.browser/app_plugins/com.adobe.flashplayer/.macromedia/Flash_Player/config.data` works for fixing flash browser playback, when in my case the dir `/data/data/com.android.browser/app_plugins/` does not exist ... I have app_appcache, app_database, app_geolocation, app_icons, app_thumbnails ... but no app_plugins dir. Am I missing something? I have root, CM7 RC 1.6.1 on a HTC Thunderbolt. I don't see this directory under firefox either.
Click to expand...
Click to collapse
which file exploring app are you using?
i recommend root explorer; never have any problems finding anything i need in that

Thanks dr_rick and shelooga, but I've now downloaded and tried finding this folder in 3 different file managers (Including ES; didn't want to spring for Root Explorer just for this, esp. if it doesn't work), and making sure any "show hidden files" options are enabled (otherwise I don't think you can even see /data/data in some cases). Note: Astro doesn't show anything in /data, even with hidden files enabled. But even in ES, the app_plugins directory just isn't there among the others in /data/data/com.android.browser.

Sorry that didn't work. I use ES and what you described is exactly what I had happening, and I know I changed something to make it work. Let me fiddle with ES a little and see if I can figure out what I did. I'll post back if I figure it out.

Ok, I think I replicated the problem I was having before. Do you have the root explorer option enabled in the ES settings? It isn't enabled by default, and will give you some warning messages when you check it. You also need to ensure that mount system as writable is checked.
If that doesn't solve your problem, them I'm at a loss. When I unchecked root access, it made my app_plugins folder empty. Checking it brought back the stuff that should be there. I'm sure that's what I ran into before--after a reinstall of ES, the root explorer option was unchecked again.
Anyway, hope that's all it is. If not, I'm really at a loss, though I'll do what I can to help!

When I start ES I get the info note that SU has granted it root permissions (which I'm pretty sure happened when I first enabled root mode in ES). But just to check, I went into settings, and "Root Explorer" is checked, and also "File Settings" -> "Show Hidden Files" is checked as well. What wasn't checked was "Mount File System", but I think that's only for writing and not reading. I enabled that just for the heck of it, since I'd need it eventually. But still there's no app_plugins folder in app.android.browser. I must be missing something.

Sorry that didn't fix your problem. I poked around a bit more and realized that I hadn't been checking the com.android.browser folder, but rather the folder for Dolphin HD (which is what I use). When I looked in my com.android.browser folder I didn't have an app_plugins folder either (I don't have firefox installed on my phone, so didn't check it). Not sure what the deal is there. There's one in every other app I use that utilizes flash for videos. I've done the mod for Dolphin, Crackle, and a game that my daughter plays. So I don't know why it doesn't show up for the regular browser, but at least it means you probably aren't doing anything wrong. Wish I could offer more help besides recommending using Dolphin HD.

Ok, this is just like a challenge I really wanted to unravel, and I made the app_plugins folder show up on my phone. I went in and tried to actually play a video using flash in the stock browser. Don't use youtube, but use something different. I went to collegehumor.com and started a video there. As expected, I got sound but no picture. I stopped the video and went into ES and lo and behold, there was an app_plugins folder under com.android.browser and inside the appropriate folder was the config.data file. So give that a shot and see if that solves the problem for you.
What's strange for me is that even after doing this fix, it didn't make the video play in my browser (though the fix works for Dolphin HD). I don't know what the deal is there. Anyway, see what it does for you. I'll keep messing around with it and see if I can't get mine to work just for the heck of it. I'll see what I can do to help if you can't get yours up and running.
BTW, I noticed in another thread that some people had luck just fixing the file in terminal. So if all else fails, you might try that.
The code they used was
Code:
su
chmod 000 /data/data/com.android.browser/app_plugins/com.adobe.flashplayer/.macromedia/Flash_Player/config.data

Ok, one more update for you. Though videos at collegehumor.com don't seem to work, everywhere else on the web (well, foxsports.com and engadget) seems to after applying the fix. Hopefully that should get you up and running now. Don't know what the deal is with collegehumor though. After checking Dolphin HD, it doesn't work there either. Must be a quirk of the site.

OK, here's what I've tried since my last post and your most recent suggestions:
- Downloaded Dolphin Browser HD, tried a Flash test page, which showed that plugin 10.3 was installed (which is good)
- Tried a Flash embedded video in Dolphin, which showed the plugin/brick icon, which means Flash isn't working (which is bad)
- Went into /data/data/ to look for a Dolphin directory to check for an app_plugins directory, but couldn't see a `dolphin` directory there (what was it called?)
- Went to collegehumor.com with the stock browser. Strange thing was that the videos showed a player there with play controls, etc, and I could see that the video data was downloaded/buffered, but playing a video just showed 4 seconds of black screen and wouldn't go any further. I then tried another video there, and that one played sound only with a black screen, as you described.
- Then went to the /data/data/com.android.browser folder in ES, and there was an app_plugins folder! I went in and cleared all permissions from the config.data file.
- Re-opened the stock browser, and got an error: "ReferenceError: gp is not defined".
- After getting past that error, it looks like videos are working!
- Trying to do this for Firefox resulted in the plugin/brick icon on video pages, no "app_plugins" folder in org.mozilla.firefox, no luck so far.
So it looks like the trick to get this working in the stock browser is to first get it to fail miserably! Otherwise you won't have the app_plugins folder to play with, which was the case for me.
It would be nice to get Firefox working too, since I sync all my bookmarks to it from everywhere else, but it's definitely nice to have at least the stock browser working.
Thanks very much, dr_rick, for your ideas and persistence.

The exact location of the flash files you modify permissions of will depend on the browser you are using and as dr_rick noticed, the files themselves will not be initially created until you attempt to play a file.

Hi Absolute_Zero,
Absolute_Zero said:
The exact location of the flash files you modify permissions of will depend on the browser you are using and as dr_rick noticed, the files themselves will not be initially created until you attempt to play a file.
Click to expand...
Click to collapse
Right: but I _had_ tried to play Flash media and I guess those attempts didn't get far enough to create the necessary files for the default browser. Also, what worked for the default browser didn't seem to work for Firefox, unless the relevant files and folders beneath org.mozilla.firefox are completely different from those under com.android.browser. Is there a listing somewhere where I can find the relevant files for other browsers (Firefox, Dolphin, etc.)?

deesto-xda said:
Hi Absolute_Zero,
Right: but I _had_ tried to play Flash media and I guess those attempts didn't get far enough to create the necessary files for the default browser. Also, what worked for the default browser didn't seem to work for Firefox, unless the relevant files and folders beneath org.mozilla.firefox are completely different from those under com.android.browser. Is there a listing somewhere where I can find the relevant files for other browsers (Firefox, Dolphin, etc.)?
Click to expand...
Click to collapse
#blamefirefox or #blameadobe
http://support.mozilla.com/en-US/questions/825353#answer-187995
If you have to have flash, use another browser that supports it.

Absolute_Zero said:
#blamefirefox or #blameadobe
http://support.mozilla.com/en-US/questions/825353#answer-187995
If you have to have flash, use another browser that supports it.
Click to expand...
Click to collapse
Thanks. I wasn't asking about Firefox specifically, but about any non-default, Android-compatible browsers that people use, and whether there's a known resource for fixing them (e.g., hacking them, if necessary) to work with Flash media. The answer for the default browser is out there and cited here (in my case, it was just missing a bit of information).

As far as I can tell, not every browser is affected by the issue. Opera Mobile works fine with flash on CM7 without doing any fixes.
Also, I don't think chmod 000 is the most desirable thing to do to a config file. That's basically saying "I don't want anything to read from this file, period." Sure it works, but it's not the best solution. Someone needs to narrow down what is causing it in the file by reading the logcats and commenting out that part of the config file (that or check and test by commenting things out one at a time in the config file).
As far as some sites not working with flash, it could be host file related. Some sites will not work if you have certain adhosts blocked, such as espn.com and hulu.

Hi yareally,
yareally said:
As far as I can tell, not every browser is affected by the issue. Opera Mobile works fine with flash on CM7 without doing any fixes.
Click to expand...
Click to collapse
I'm sure that's the case. I'd rather not install another browser just to view Flash content, but if I had to, it's good to know that Opera works, for whatever reason. Also thought I'd mention that in the latest RC version of CM7 for Nook Color, which is somewhat older and a lower version than the TB one, Flash just worked in the default browser out of the box.
Also, I don't think chmod 000 is the most desirable thing to do to a config file. That's basically saying "I don't want anything to read from this file, period." Sure it works, but it's not the best solution.
Someone needs to narrow down what is causing it in the file by reading the logcats and commenting out that part of the config file (that or check and test by commenting things out one at a time in the config file).
Click to expand...
Click to collapse
Agreed, and I'm not even sure how this would work (wouldn't it be easier then just to remove/rename the file?). But I'm glad that at least someone has found something that works, for now.
As far as some sites not working with flash, it could be host file related. Some sites will not work if you have certain adhosts blocked, such as espn.com and hulu.
Click to expand...
Click to collapse
I'm not using any mobile ad blocks, so that's probably not the issue across the board, likely some local Flash player quirk on some sites.

Of course, if the stock browser is your favorite, by all means keep using it . It just doesn't seem to be a flash issue with every app, oddly though.
Renaming it would have the same effect as removing all permissions as you mentioned.

Related

My ventures into youtube app.

So we all know that for some reason the youtube app doesnt open after a login, we also know that a simple delete of the youtube.xml in shared preferences lets us once again use youtube...(/data/data/com.google.android.youtube/shared_prefs)
I had a been working on a little script to delete that file every time I closed youtube but realized this would get repetitive. I am wondering is this a B&N problem with the way permissions work and where information is stored...similiar to the inability to run shortcuts. Even if you go in and delete from the .xml file your username information or even delete everything in the file but dont delete the physical file, after trying to open youtube it will once again reset. I have been frustrated by this numerous times...where is that data being stored? Does anyone know...
I can't help other than bumping this, but being able to favorite videos is a big part of my youtube experience and I also find this annoying.
On an unrelated note side loading honeycomb youtube apk is wonderful.
Here is where I fail. I have managed to delve further into the youtube.xml file and figure out what exactly is seeming to cause the problem with permission, but I cannot repackage the apk after editing...because I cant sign it. Any thoughts on a solution to this...also it is possible to extract edit then repackage an apk on the nook itself?
Check out this tool. It handles re-signing the APKs.
http://forum.xda-developers.com/showpost.php?p=6703735&postcount=1
I actually came across that tool about 20 minutes before you replied, as an update. I now have youtube where it will allow me to sign in (I do a full quit using task killer) and then restart it with no problems. The problem occurs when I shut down my nook and bring it back...on some shutdowns it just makes me sign in again, others it does the normal process where it does not open up. I dont understand where this thing is storing my permissions or login data, I have erased and looked at most every bit of code that could have anything to do with data storage...maybe it calls some process built in to the nook that I'm missing.
Oh wow...finally got this running on the stook root. I'm having a few friends test it out to make sure I'm not breaking permissions for other things...I'll send out the apk or explain the steps momentarily.
Awesome! Can't wait to try it out. Is this for Froyo or for Nook rooted?
Just for rooted 1.1 though I see no reason it wouldnt work on rooted 1.01 or 1.00...though I'm running into problems. It seems that I wont be able to release an update to the apk but instead will need to include instructions on how to update your own apk which will automatically make it less doable.

Firefox Mobile- Great Tablet Browser?

So now that the new Firefox 4 Beta 5 is out, I personally think Firefox is the best Tablet browser available. Its unique approach to tabs works well on a tablet, as does the back button. The earlier versions were super slow, but I think this new one has caught up a lot. I now prefer it greatly to Dolphin HD.
I have installed the following add-ons to maximize my Nook Color internet use:
-Quit Fennec- force closes after last tab closes, a must
-Phony- easy User Agent changer, another must
-readability- fixes messy pages to fit
-Full Screen- Does what it says and makes browsing a joy
What do you all think?
I agree. Seems stable and fast (compared to Dolphin). I also used Sync to import all my passwords and favorites from my desktop.
I'll give it a try, it was even slower and klunkier than Dolphin HD last time I tried it, I use Opera 10 on my NC and it's great. I've tried Mirin too but something about that browser bugs me, can't really put my finger on it.
Can you guys post an apk? I can't get to it from market or Mozilla's website.
Thanks for the tip. Every browser seems to have 1 thing wrong with it so ill definitely give this one a try. I would like opwlera best but i can't get over the terrible way it handles initial zoom.
I agree, I can't find a working link to download the apk. I fennec but it installed an update that didn't work and now I can't install Firefox. Bummer
Would appreciate the apk as well. Thanks
FTP is your friend, as old-school as it is.
ftp://ftp.mozilla.org/pub/mozilla.o...roid-r7/en-US/fennec-4.0b5-en-US.eabi-arm.apk
Thanks for the link. But everytime I try to install this, it seems to progress, asks about permissions, but at the end, says "program not installed". I've enabled usb debugging, used titanium backup to uninstall the previous left overs of Fennec, and I still get this message. A little stumped.
is this compatible with Android 2.1 with the latest dalingrin OC? I cannot get the apk to install. launched the Package Installer and installation would not get through saying "Application not installed"
Also each time I start the installer, it would warn that the app will replace an existing appl, but i do not currently have a fennec/firefox appl installed. Titanium Backup does not show any fennec/firefox app.
Can someone help please?
thanks
finally able to install by tweaking the the build.prop as suggested here:
http://forum.xda-developers.com/showthread.php?t=938114&highlight=firefox
if anyone else was having the same problem. that tweak fixed it for me.
I gave this a try based on this thread. While I do like the UI and it has a snappy response, the app itself is not ready for prime-time. If you try to enter numeric information into a field, it causes the insertion point to jump around. For example, I tried to visit the website for a local library and when it asked me to enter in my library card #, instead of "1234..." it would go "1243...". The insertion of characters as I typed them magically skipped around in the field. This was not isolated to just that website. Happened on a registration form on Adobe's site as well. Very annoying.
Looking forward to future updates.
--ex
I personally think Miren browser is the best for the nook. I have it set so that that status bar/tabs stays around all the time, and the floating buttons always hide. The only issue is that it doesn't work well with image links when they are opened in a new tab. In the new tab it will instead go to the link of the picture, not the actual link to the website. I will try this though, I tried the beta a long time ago so it will be nice to see how far they have come.
evilxenu said:
For example, I tried to visit the website for a local library and when it asked me to enter in my library card #, instead of "1234..." it would go "1243...". The insertion of characters as I typed them magically skipped around in the field.
Click to expand...
Click to collapse
I have noticed this too. The only (painful) solution I have found is to very slowly type with a pause in-between each letter. Thank goodness it can sync with my desktop Firefox and slurp up all my passwords to avoid this mostly.
OMG SERIOUSLY? I tried Firefox last night for about 20 minutes and it GROUND TO A HALT each time I tried to search or put input in the URL bar. It'd freeze, if I tried to do anything I'd get the FC/Wait dialog, I hit Wait several times.. Finally killed it, tried again... Same thing. Eventually it'd load the page.
If you all think it's great, I wonder wtf is going on with my install. Maybe I need to uninstall it, make sure any old sdcard stuff is cleaned (I had it installed a few betas ago) and try again. Totally unusable for me right now.
I'm hoping the FF Deskop Ad Block Pro extension works with the FF mobile soon. That can make the internet a much more bearable place.
Works for me. But can't t flash to work. Works in dolphin and stock
Sent from my Nook Color (zoom2) using Tapatalk
will75 said:
Works for me. But can't t flash to work. Works in dolphin and stock
Click to expand...
Click to collapse
Yeah, Flash doesn't work so far.

[Q] Question about CM7 browser settings

Anyone use the web app at readability.com to read stuff on their phones? I've been using it fine on Eugene's Ginger Clone ROM, and I flashed CM7 yesterday to try that out for a while, and I got an interesting error when I tried to use the Readability site:
Readability Mobile was unable to create the database to store your articles. Your device may not be supported, or your cache may be full. Go into your browser settings and clear your cache and try again.
Click to expand...
Click to collapse
So I tried clearing cache like it said, and it didn't change anything. I tried using different browsers like Dolphin and Opera, and still had the same error. Since it worked fine on an earlier ROM, I'm assuming the difference here is CM7. Anyone know if there's some kind of setting that I'm missing that would allow the browser to create the database? I'm really liking CM7 and don't want to go through the pain of going back to a Samsung based ROM, but I use that site often enough that I'd pretty much have to if it won't work on CM7.
Try this, menu, more, settings, user agent, make it ie.. Site should see your phone as a pc now. Good?
Doesn't seem to help. I tried a couple of other agents and it keeps spitting the same error at me. Best I can tell, the app wants to write something to the phone and it isn't allowed to. I tried to catch it in a logcat and the only related thing I turn up is:
E/browser ( 3345): Console: Uncaught TypeError: Cannot call method 'transaction' of null https://www.readability.com/media/js/persistence/persistence.store.websql.js:67
Some kind of javascript thing, but every sort of "allow javascript" setting I can find in the browser seems to be correct.
Out of curiosity, do you have the latest Adobe Flash from the Market installed?
If not, maybe try that. I am not familiar with the site you are using...
I started getting force closes all over the place, so I odined to stock and flashed nightly #6. Things seem to be working now and I'm able to use the Readability app again. Thanks for your help.

[Q] Google music force closes on 3G - Gingerbread rooted

I'm not sure if anyone has encountered this but I'm getting force closes whenever I try to stream Google Music on 3g. It works great on wifi. I have uninstalled/reinstalled, fixed permissions, cleared cache, the works - to no avail.
I had read elsewhere that the problem lied in allowing ad blocking (using an app to block ads). I was using JRummy's Android Overclock to block ads and do some tweaks on the build.prop file so I made sure to enable ads, then I uninstalled the app. Too bad the problem still occurs.
I'm trying to see if the issue lies on the build.prop file. Does anyone have a clean, unaltered build.prop file for 2.3.3 they can share with me? I would love to see if some of the tweaks I made caused the problem.
Thanks in advance!
-Javier
I am at work right now and just moved the clean 2.3.3 from my dropbox but when I get home tonight I can bring up both and let you know. As an FYI I have no issues streaming on my non-root device but have not tried rooting since the latest update. I usually give stock about 3 months before I ****-can it.
Just looked around using log me in and I might not have that one anymore. Gotta do some digging but I will see what I can get for you.
Here is a fresh never upgraded 2.3.3 file from a device that has always been 100% stock
Thanks for the file! I just tried it and I still get the force close on google music. HOWEVER, i couldn't stream amazon music, either, and now it works.
One last favor : I'm hoping you have a stock HOSTS file (in the ../system/etc folder). If so, what values do you have? I have 4 different lines in there. If you have less, can you send me that file or post the values? I think that is the file where the ad blocker holds the values to block.
Thanks again. I really appreciate it.
this is one of the reasons that i am going to flash back to froyo.
debloated v6 supercharge froyo >>>>> debloated v6 supercharged gingerbread
i kept my wife's x2 at rooted froyo. i was antsy and flashed p3's gingerbread. i now have android version envy. newer is not always better.
I have to sorta agree with you. Gingerbread didn't seem like such an improvement
BTW, here are the values I have in my HOSTS file:
127.0.0.1 localhost
127.0.0.1 localhost.localdomain
255.255.255.255 broadcasthost
0.0.0.0 local
Are these the values that stock gingerbread (or froyo for that matter) have in this file?
Can anyone confirm?
Thanks
UPDATE: I kinda bricked my phone doing some stupid stuff so I had to SBF.
Now that I'm back to normal, I checked my HOSTS file and all it should have in it is the first line:
127.0.0.1 localhost
Now my google music works flawlessly.
If anyone has any issues with their gmusic not streaming on 3g, make sure to go to this hosts file and make sure that's all you have in there.
Hope it helps someone out there.
chewybang said:
UPDATE: If anyone has any issues with their gmusic not streaming on 3g, make sure to go to this hosts file and make sure that's all you have in there.
Hope it helps someone out there.
Click to expand...
Click to collapse
I'm using adfree with a hosts file about 650k with no problems streaming. I don't think it is related to adblocking, but could be due to bad addressing in the hosts file.

Sudden internet slowdown

I have an HD6 that is rooted. SO far it's been great but then I updated Firefox to the new 48. I don't know if it's related or not but after doing that update the HD6 has completely slowed down surfing. Even other pass like K9 email are also slow. It takes forever to check my email now and that should have nothing to do with Firefox.
So what I tried first was to completely uninstall Firefox and reinstall a fresh copy. No good; did nothing. Surfing with browser and email are still slow.
I checked with MalwareBytes to see if I got infected with something but it says I'm clean.
Then I looked in my root folder and I noticed a lot of files but I don't know what files are supposed to be there or if these are new. They all have a date of 1969 oddly enough. Could someone please give me a list of files (not folders) that should be in the root directory so I can check to see if these are legit before trying to delete them? They all start with the name init and end with a .rc. So they look like "init.usb.rc" with a date of Dec 31, 1969.
Other than that I have no idea why this thing suddenly became such a slow dog.
One other odd thing I noted. During the Firefox update to 48 it said that it needed to add a new permission. I don't remember the name but it was something like Amazon notification or something like that. Don't know if it's related but I just remembered it.

Categories

Resources