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.
Hey. Just got into the world of smartphones with a Galaxy S2 (GT-I9100P), running Samsung's stock ICS (XXLPH). After a fairly smooth rooting of the phone, I did something stupid - I tried to use CWM to install this mod - an NFC enabler. Stupid, because the mod wasn't designed for ICS.
I was fortunate enough to have the enabler 'only' freeze the phone every 5 seconds instead of bricking it. Then I went in through the adb shell and deleted the appropriate apk.
My question is - is the apk the whole of the app? It looks like it, certainly - the phone works like before, no problem. I'm just worried about leaving 'garbage' around it.
I don't expect everyone here to be an expert on this particular mod - but in general, if I am manually uninstalling an app, do I need to worry about anything besides the apk?
If so, where else should I look (again, generally, where do apps tend to change or dump things)? I'd ask the developer, but it seems rude to privately message him, and I can't exactly post in the relevant thread.
No you should be ok. Nothing more needs to be done. Some apps also install data on the sd card which show up in 'My files'. It doesn't affect the phone in any way but if you find anything just delete it. I have mine sort by date so changes show at the top of the list.
Sent from my GT-I9100T
Hello all,
This is my first post on XDA, so I apologize in advance if I'm in the wrong place. I've searched high and low for an answer to this, but all the threads I've come across are at least 5+ years old and don't directly relate to the issue I'm having.
Basically, here's what's going on. I have two app APK files that I have edited to change some of the resources in them. One of them is SwiftKey. I used APKEditor from the Play Store to replace two of the keyboard sounds included to custom ones. After I save the edited APK, I rename it to 'base.apk' and then replaced the 'base.apk' inside of the app's directory with the edited one. After doing this, everything seems to work fine, and the app continues to work normally with the new sounds I've added in.
However, the issue I'm having is that anytime I need to reboot my phone, any apps that I've edited the APK for disappear. After Android starts up, I can see the apps on my home screen for a second, and then they vanish. The folder for the app is still present inside of /data/apps, but the app does not appear under the list of installed apps anymore. I'm wondering if this is maybe because the modified APK isn't being signed right, or if I'm doing something wrong. I made sure the permissions were correct too after I replaced the base.apk file as well.
If there is another (better) way to do this, I am all ears! I'm pretty tech savvy, but I just recently switched from iOS to Android after not using Android for 4-5 years, so things are a bit different now than they were the last time I used Android.
Thank you for your help!
*EDIT- I also should mention that I am rooted, although that may have already been apparent
Hey.
I've searched far and long (really) but (maybe because I'm quite new) I haven't found a thing.
I have 2 problems, quite similar to each other.
I use android 9, rooted, on motorola moto g6, stock rom. I have magisk.
1. I would like to be able to copy some file to another place every time specified app is opened. Namely: I want to copy bookmarks from one browser to second browser's directory, every time the second one is opened. My first thought was to use Automate, but I couldn't find any way to get it to somehow read if some app is run. What is more it seemed like and overkill, because why would it have to monitor activity all the time, since maybe I could use some scripts in android? I have found no information about that, so I came here for your help. If I could use some scripts, I could just a script to 1. copy the file 2. run the app. Tada! So, is there any way to run such scripts?
2. I use an app to desaturate my display. I love it almost all the time. The only time I would like to have my display saturation reverted to default, is when I open camera app. And that is the second problem. Scripting probably would not be of help (if it is possible in general at all) because I want to be able to open camera not only through shortcut on main screen (which could have been a shorcut to script) but also through double-clicking power button or moving phone in a particular way (both of these acutally do open the camera app. But I would need these to both default saturation and open camera app). So, any ideas how one could achieve this?
Thank you in advance. I am trying to make my phone finally user-friendly after years of being subject to frustration. If you could at least point me in some direction, it would be appreciated! Thanks!