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

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.

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.

[Q] Vulkano player and Leaked Gingerbread

Anyone got the Vulkano player working on any of the leaked GB roms? I just get an "Unable to play stream", it works just fine on CM 7, so there must be something goofy about the leak.
I read that there might be a trick with libmediaplayerservice.so but I cannot find any links to this.
tommyboy2034 said:
Anyone got the Vulkano player working on any of the leaked GB roms? I just get an "Unable to play stream", it works just fine on CM 7, so there must be something goofy about the leak.
I read that there might be a trick with libmediaplayerservice.so but I cannot find any links to this.
Click to expand...
Click to collapse
This thread should be moved out of the "Thunderbolt Android Development" and placed in "Thunderbolt Q & A"; which would seem more appropriate, since you are asking a question.
I have the same question. I did a search, and this appears to be the only place it was asked. I love the new Bamf GB roms, but if I can't get my Vulkano working, I'm afraid I'm going to have to go back to Froyo.
I found a thread on Vulkano's website, but it wasn't explained very well (also I'm not allowed to link it due to my low post count). He didn't say which previous version, or where to find and replace it (I assume using root explorer) Could anyone with more knowledge of this please explain where I might look for "libmediaplayerservice.so" and why it might be the culprit?
Does anyone know where I might find the "libmediaplayerservice.so" file from CM7? I think this may be the file to try to use based on what I read. I would like to give it a whirl and report back if possible.
This is where I found the suggestion: http://vulkanocommunity.com/forum/v...ingerbread-broke-my-vulkano-streaming/page-2/
Thanks
LaDamian said:
Does anyone know where I might find the "libmediaplayerservice.so" file from CM7? I think this may be the file to try to use based on what I read. I would like to give it a whirl and report back if possible.
This is where I found the suggestion: http://vulkanocommunity.com/forum/v...ingerbread-broke-my-vulkano-streaming/page-2/
Thanks
Click to expand...
Click to collapse
I took the file from the .zip file for cm7...its in the system/lib folder. I pushed this over the one on the phone and it wouldn't boot up. It probably needs some other files...versioning is huge and could cause build issues, I have a lot of programming xp, just not Java/android so I'm playing with fire while I'm in there.
Sent from my ThunderBolt using XDA App
I used the lib file from the bamf 2.0.4 rom. Changed permissions to r-rw. Working on the roms that aren't sense 3.0. On the bamf 3.0 rom I get sound from the vulkano app, but no video. Replacing the lib file does nothing. I am guessing the framework changes on 3. have broken this app. Oh well, I am content with the sense 2 gb roms. Hopefully, vulkano will get this working in the future with sense 3 roms.
Sent from my ADR6400L using Tapatalk
Just wanted to chime in here on XDA that the libmediaplayerservice.so file from 2.0-4 doesn't work on BAMF 1.8.6...won't boot up. I'm going to try to grab the same file from BAMF 1.7 as streaming my Vulkano worked fine on that ROM. Fingers crossed.
Reporting back that grabbing the file from BAMF 1.7 remix, pasting (overwrite) into the system/lib folder, and setting the appropriate permissions didn't work on BAMF 1.8.6. Rebooted the phone twice and even uninstalled/re-installed the Vulkano app to no avail.
I reallllly don't want to leave this ROM because I love it but losing the functionality of my Vulkano absolutely blows. Anyone have any suggestions?

[Q] Flash fix for CM7 RC 1.6.1

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.

Market 3.3.11

Just in case anyone hasn't seen this yet
http://rootzwiki.com/_/articles/download-android-market-update-3311-r94
That's where I read about it.(someone mentioned it in another thread also...sorry can't remember your name...ill edit if u reply )
Here is a direct download link also found at bottom of the rootzwiki article http://lts.cr/BDW_
I just installed it and so far it looks great. They have finally brought back the "top NEW free" and "top NEW paid" sections for those that.miss that. I know I did.
some new settings options and nice UI tweaks.
I haven't made any purchase/download yet though. Will updated this post when I do.
Hopefully google got it right this time
If you do this I would recommend making a copy of your current vending.apk in case you want to go back. I just used root explorer and copied the apk to my sdcard and installed the new market after that as normal.
Have fun
::::::UPDATE::::::
For all those who are cautious
I have successfully bought apps, updated apps, downloaded new apps, and also downloaded apps I had previously bought but hadn't had installed.
Also when you look at an app it shows you how many of each different star ratings it has.
I.e.-- 5stars:20 users
4stars:60 users
3stars:30 users
Etc..
Working smoothly all around. Much better than 3.1.5 or 3.1.3 imho
thanks man, will be uploading now!!!
I'm loving the new market. It's very polished now. The icons are now sized properly on the screen.
thx im loving the auto update
I upgraded last night and am still running into compatibility issues with certain apps ... ended up going back to trusty 2.3.6.
Is there anyone running build.prop edits (in particular, enhanced screen resolution) who has been able to get this version of the market working without any restrictions?
Pj
Phoenix, AZ
Yeah finally there is no lag when switching between the screens. But it's NOT faster than the old version. :/
Sent from my HTC Legend using XDA App
pdinphx said:
I upgraded last night and am still running into compatibility issues with certain apps ... ended up going back to trusty 2.3.6.
Is there anyone running build.prop edits (in particular, enhanced screen resolution) who has been able to get this version of the market working without any restrictions?
Pj
Phoenix, AZ
Click to expand...
Click to collapse
I don't really mess wit build.prop other than vm heap, max window events, wifi scan interval.
and I have not once ever had a compatibility issue.
Did you send feedback about that to google?
They might have something you can do or may work on it for future market versions

Google Maps Lockup Fix?

Hey is there a google maps lockup fix? Using EH03 SC with the latest KGB kernel....
is this still an EH03 bug then?
Your sig states that you're using the kgb 11/27 kernel. For me, this bug went away for geewiz kernels 2.4.1 (released 12/29) or later. Have you tried a more recent kernel?
I have the same problem with the latest CM7 Kang 7.2 Build and EDO5. I get FC with Google Maps and Navigation
Older Gmaps
I installed an older Gmaps that I had backed in my SD card from October 2011 and now my GPS locks on right away and doesn't freeze anymore. I have tested it MANY times and it has no signs of lockup at all. Try it out and see if it works for you. This Gmaps is version 5.8. I guess updates aren't always better.
Update... GPS has been working flawlessly, earlier today I got a lock in my basement!
Uninstall Google Maps through the Market or in Applications, (I used Root Explorer and deleted the APK in "system/app") then reboot and install the older Gmaps from down below and you're good to go.
Also, make sure you don't have your Maps set to auto update in the Market.
I have searched trying to find who posted this next bit of info and I can't seem to find them. I copied this from someone on XDA and it seems to help GPS lock a little faster... Thanks whomever you are!
MOD] Better GPS EC01
For those of us that are not getting better gps on EC01 or various Rom's like me this fix is for you.
Instructions: With Root Explorer (or similar app) go to /etc/gps.conf
In Root Explorer long press on the file and select open in text editor
Change the first line from: NTP_SERVER=north-america.pool.ntp.org to NTP_SERVER=us.pool.ntp.org
Then Download GPS aids from the market and run that for even better results
Save changes and reboot
ejdavis72 said:
I installed an older Gmaps that I had backed in my SD card from last year and now my GPS locks on right away and doesn't freeze anymore. I have tested it 10 different times and it has no signs of lockup at all. Try it out and see if it works for you. I guess updates aren't always better.
Uninstall Google Maps through the Market or in Applications, (I used Root Explorer and deleted the APK in "system/app" and then reboot and install the older Gmaps from down below and you're good to go.
Also, make sure you don't have your Maps set to auto update in the Market.
I have searched trying to find who posted this next bit of info and I can't seem to find them. I copied this from someone on XDA and it seems to help GPS lock a little faster... Thanks whomever you are!
MOD] Better GPS EC01
For those of us that are not getting better gps on EC01 or various Rom's like me this fix is for you.
Instructions: With Root Explorer (or similar app) go to /etc/gps.conf
In Root Explorer long press on the file and select open in text editor
Change the first line from: NTP_SERVER=north-america.pool.ntp.org to NTP_SERVER=us.pool.ntp.org
Then Download GPS aids from the market and run that for even better results
Save changes and reboot
Click to expand...
Click to collapse
I did the same thing. went back to 5.0 and now have been running for a week with no problems so far.
phxshadow said:
I did the same thing. went back to 5.0 and now have been running for a week with no problems so far.
Click to expand...
Click to collapse
Ha! Yeah, I tried all kinds of things trying to cure the problem, ROM's, kernels, radio's... Didn't think it would be so simple but it's always the last thing you try cause why would you keep looking once you already found the answer, right?

Categories

Resources