[FIX] Slow market on froyo (SocketTimeoutException) - Nexus One Q&A, Help & Troubleshooting

Market is broken on froyo since install. i have experienced the very same issue when i upgraded to N1 from Hero, that problem was somehow solved that time.
now i have installed Paul's rooted Froyo and every market page loads in ~30sec, in logcat i see that market waits for some network response, and timeouts in 30sec than the requested page loads. this is the logcat
D/vending ( 2378): [12] BaseActivity$BaseAction.run(): IOException:
D/vending ( 2378): java.net.SocketTimeoutException
D/vending ( 2378): at org.apache.harmony.luni.net.PlainSocketImpl.read(PlainSocketImpl.java:564)
D/vending ( 2378): at org.apache.harmony.luni.net.SocketInputStream.read(SocketInputStream.java:88)
D/vending ( 2378): at org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:103)
D/vending ( 2378): at org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:191)
D/vending ( 2378): at org.apache.http.impl.conn.DefaultResponseParser.parseHead(DefaultResponseParser.java:82)
D/vending ( 2378): at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:174)
D/vending ( 2378): at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:179)
D/vending ( 2378): at org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:235)
D/vending ( 2378): at org.apache.http.impl.conn.AbstractClientConnAdapter.receiveResponseHeader(AbstractClientConnAdapter.java:259)
D/vending ( 2378): at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:279)
D/vending ( 2378): at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:121)
D/vending ( 2378): at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:410)
D/vending ( 2378): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
D/vending ( 2378): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
D/vending ( 2378): at android.net.http.AndroidHttpClient.execute(AndroidHttpClient.java:248)
D/vending ( 2378): at com.google.android.common.http.GoogleHttpClient.executeWithoutRewriting(GoogleHttpClient.java:203)
D/vending ( 2378): at com.google.android.common.http.GoogleHttpClient.execute(GoogleHttpClient.java:260)
D/vending ( 2378): at com.android.vending.api.RequestDispatcher.performRequestsOverNetwork(RequestDispatcher.java:200)
D/vending ( 2378): at com.android.vending.api.RequestDispatcher.performRequests(RequestDispatcher.java:166)
D/vending ( 2378): at com.android.vending.api.RequestManager.doRequestsOverNetwork(RequestManager.java:233)
D/vending ( 2378): at com.android.vending.api.RequestManager.doRequests(RequestManager.java:219)
D/vending ( 2378): at com.android.vending.BaseActivity$BaseAction.run(BaseActivity.java:1792)
D/vending ( 2378): at com.android.vending.BaseActivity$BaseAction$BackgroundThread$1.run(BaseActivity.java:1873)
D/vending ( 2378): at java.lang.Thread.run(Thread.java:1096)
E/vending ( 2378): [1] InitializeMarketAction$MetadataAndDownloadsAction.abortOnServerError(): Server error in InitializeMarketAction:
E/vending ( 2378): java.net.SocketTimeoutException
E/vending ( 2378): at org.apache.harmony.luni.net.PlainSocketImpl.read(PlainSocketImpl.java:564)
E/vending ( 2378): at org.apache.harmony.luni.net.SocketInputStream.read(SocketInputStream.java:88)
E/vending ( 2378): at org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:103)
E/vending ( 2378): at org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:191)
E/vending ( 2378): at org.apache.http.impl.conn.DefaultResponseParser.parseHead(DefaultResponseParser.java:82)
E/vending ( 2378): at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:174)
E/vending ( 2378): at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:179)
E/vending ( 2378): at org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:235)
E/vending ( 2378): at org.apache.http.impl.conn.AbstractClientConnAdapter.receiveResponseHeader(AbstractClientConnAdapter.java:259)
E/vending ( 2378): at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:279)
E/vending ( 2378): at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:121)
E/vending ( 2378): at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:410)
E/vending ( 2378): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
E/vending ( 2378): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
E/vending ( 2378): at android.net.http.AndroidHttpClient.execute(AndroidHttpClient.java:248)
E/vending ( 2378): at com.google.android.common.http.GoogleHttpClient.executeWithoutRewriting(GoogleHttpClient.java:203)
E/vending ( 2378): at com.google.android.common.http.GoogleHttpClient.execute(GoogleHttpClient.java:260)
E/vending ( 2378): at com.android.vending.api.RequestDispatcher.performRequestsOverNetwork(RequestDispatcher.java:200)
E/vending ( 2378): at com.android.vending.api.RequestDispatcher.performRequests(RequestDispatcher.java:166)
E/vending ( 2378): at com.android.vending.api.RequestManager.doRequestsOverNetwork(RequestManager.java:233)
E/vending ( 2378): at com.android.vending.api.RequestManager.doRequests(RequestManager.java:219)
E/vending ( 2378): at com.android.vending.BaseActivity$BaseAction.run(BaseActivity.java:1792)
E/vending ( 2378): at com.android.vending.BaseActivity$BaseAction$BackgroundThread$1.run(BaseActivity.java:1873)
E/vending ( 2378): at java.lang.Thread.run(Thread.java:1096)
Click to expand...
Click to collapse
i have found this thread about the topic, the solution described there didn't solve my problems. could someone with working market post the content of /data/data/com.android.vending/shared_prefs/vending_preferences.xml
maybe it will help us.
i have tried full wipe, clear market cache, data, nothing helped.
thank you for your help/ideas in advance.

try this http://forum.xda-developers.com/showthread.php?t=687371 and fix_uid packages in recovery

dixxa said:
try this http://forum.xda-developers.com/showthread.php?t=687371 and fix_uid packages in recovery
Click to expand...
Click to collapse
Hi, i have already tried this and didn't work, i am running fix_permissions right now, will see if recovery has something else for me...
btw i have used the install to sd hack so almost all of my applications are on the sd (restored with titanium backup), except services and widgets. market doesn't show them installed as well...
would you please post working vending_preferences' content?

The first day market was very slow , i just type *#*#2432546#*#* without push any files and the second day all was good. market works normally now.
BTW i move this in Q&A section

dixxa said:
try this http://forum.xda-developers.com/showthread.php?t=687371 and fix_uid packages in recovery
Click to expand...
Click to collapse
nothing helped.... any ideas?

Did you try imfloflo's suggestion right above your post?

derfolo said:
Did you try imfloflo's suggestion right above your post?
Click to expand...
Click to collapse
i have entered it yesterday, but still no luck. i am pretty sure that the problem is somewhat related to my account, and that the market cannot update itself right now.
i have market version 1.82 (you can check it at settings->applications->manage applications->all and clicking on Market) what version do you have?
and still desperately need the content of /data/data/com.android.vending/shared_prefs/vending_preferences.xml from a working market
you can get it with entering
adb shell cat /data/data/com.android.vending/shared_prefs/vending_preferences.xml
Click to expand...
Click to collapse
with a rooted froyo device connected. could someone please post it?

Here is mine, rename from .txt to .xml

that was it thank you.
now my problem is that installed apps doesn't show up...
Edit:
<boolean name="local_db_sync_required" value="false" />
setting to
<boolean name="local_db_sync_required" value="true" />
did the trick, thank you all for your help

ratson said:
<boolean name="local_db_sync_required" value="false" />
setting to
<boolean name="local_db_sync_required" value="true" />
did the trick, thank you all for your help
Click to expand...
Click to collapse
Are you able to see protected apps now? Not simply paid, but protected. For example, can you find "Pure Calendar widget" app (not Pure Grid Calendar) with your current set up?

Chahk said:
Are you able to see protected apps now? Not simply paid, but protected. For example, can you find "Pure Calendar widget" app (not Pure Grid Calendar) with your current set up?
Click to expand...
Click to collapse
i don't mind to be honest. but the mentioned hack will do that for you.

imfloflo said:
The first day market was very slow , i just type *#*#2432546#*#* without push any files and the second day all was good. market works normally now.
BTW i move this in Q&A section
Click to expand...
Click to collapse
Hey there French colleague ;-)
On my non-rooted N1, market is so slow it is unusable as it stands... Cannot undertand it, it's just a real pain in the ass... The FRF50 leaked Froyo build IS buggy on that but will the upcoming OTA update fix that??
I don't want to root my phone jus for that !
I also tried your *#*#2432546#*#* prompt, but nothing happend, except "checkin succeeded" in the notif bar...
Any other clue ?

i'm not sure /data is writable in non rooted devices, but on rooted ones the following command has to be executed:
adb push vending_preferences.xml /data/data/com.android.vending/shared_prefs/
Click to expand...
Click to collapse
in the directory where you have the correct vending_preferences.xml
i used the attached file from the first page ant tweaked a little bit to make market database refresh after next start (remove .txt from the end of filename).
please note that market shall be closed before this new file is pushed. no phone restart needed.
xml content:
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<map>
<boolean name="local_db_sync_required" value="true" />
<int name="SERVER_VERSION" value="1000" />
<long name="RESTORE_START_TIME" value="1274634505015" />
<boolean name="metadata_billing_events_enabled" value="true" />
<boolean name="metadata_comment_post_enabled" value="true" />
<long name="last_tickle_id" value="1274791746263" />
<string name="vending_backup_state">vending</string>
<string name="vending_tos_version">1.0.0</string>
<boolean name="metadata_paid_apps_enabled" value="true" />
<int name="device_configuration_hash" value="100471" />
<long name="MARKET_LAST_HEARTBEAT_TIMESTAMP" value="1274791741845" />
<int name="reconciled_version" value="1820" />
<long name="last_sync_time" value="1274673257401" />
</map>
Click to expand...
Click to collapse

cornwall said:
Hey there French colleague ;-)
On my non-rooted N1, market is so slow it is unusable as it stands... Cannot undertand it, it's just a real pain in the ass... The FRF50 leaked Froyo build IS buggy on that but will the upcoming OTA update fix that??
I don't want to root my phone jus for that !
I also tried your *#*#2432546#*#* prompt, but nothing happend, except "checkin succeeded" in the notif bar...
Any other clue ?
Click to expand...
Click to collapse
btw i am pretty sure it will fix itself in 1-5 (maybe more) days automatically, but i didn't want to wait...

thanks, helped me

Thanks for the vending_preferences.xml fix.
A slow market was my only problem with Froyo.

Thank you!!!
I was really unhappy with the slow market!
You saved the day!

just a thread up, because many seem to suffer from this problem ....

ratson said:
i'm not sure /data is writable in non rooted devices, but on rooted ones the following command has to be executed:
in the directory where you have the correct vending_preferences.xml
i used the attached file from the first page ant tweaked a little bit to make market database refresh after next start (remove .txt from the end of filename).
please note that market shall be closed before this new file is pushed. no phone restart needed.
xml content:
Click to expand...
Click to collapse
Thanx a lot, that did the job ;-)

I have the same problem. Seems to be related to my google account. Market works fine when using a different account, only bad thing is that all my paid apps are on my other (slow) account.

Related

Market - full of lags and bugs [reloaded]

hey all,
I have a big problem with the android market:
First, the app lags like hell: Loading pages always needs several minutes. Logcat gives me few network connection errors- but I only have them for the market-app
When I noticed this bug for the first time (some months ago) I just had to reboot the device about 5 times and everything was working well again (I know this sounds strange ) but problems started again after flashing a new rom.
But after some time this soloution didn't work anymore and the bugs got worse:
When I download a app the download / installation bar doesnt dissapear sometimes, even if the app is installed since some hours.
I also have Apps in "Downloads", which I removed long time ago (but they are not market as "installed", but as "free")
One more thing: When a new update arrives usually you get notification "1 update available" - after installing this update the "1" is reset to "0" again - but not for me... with every update this number rises. Currenly I have 23 updates available (but if I enter the market there is no update available)
Seems like my database is somewhere somehow totaly broken. Pls help, because the market is nearly unusable.
What I tried to solve (and didnt work):
Installing several new Roms (1.6 and 2.1)
Flashing latest radio (see signature)
Cleared dalvik cache
cleared market cache (via settings and via console rm cache folder)
Tried different market versions
Fix_permissions
Repartition sd card
Would appreciate any idea
edit: this probs do not depend on the connection speed - noticed this on wifi, 3g and edge
Repartition your SD card, fix permissions.
Deleted apps will stay in market because they are not removed from market database on your phone, this is by default.
Good luck
borodin1 said:
Repartition your SD card, fix permissions.
Deleted apps will stay in market because they are not removed from market database on your phone, this is by default.
Good luck
Click to expand...
Click to collapse
I forgot to mention that I did fix permissions several times
Maybe I should really try to repartition this evenning.
Thx for that hint
Could anyone with a working market post me the output of chmod
Code:
cd /data/data/com.android.vending
ls -R -l > /sdcard/output.txt
Re: Market - full of lags and bugs
I have had this issue, and a repartition of the sd fixed it.
thx @ both for that hint. I will try that when I flash the next update / rom and i need to wipe anyway
i will hit you up with the result
ok, a update of ZX Donut was just released and i flasht it after i repartitionitioned my sd card via recovery ext2/swap/fat -
Market is still buggy - seems like nothing changed
Thx anyway.
Does anyone have another idea?
Here's the logcat, maybe some one can find the error:
Code:
04-22 01:38:08.503: ERROR/vending(870): com.android.vending.InitializeMarketAction$MetadataAndDownloadsAction.abortOnServerError(): Server error in InitializeMarketAction:
04-22 01:38:08.503: ERROR/vending(870): java.net.SocketTimeoutException: The operation timed out
04-22 01:38:08.503: ERROR/vending(870): at org.apache.harmony.luni.platform.OSNetworkSystem.receiveStreamImpl(Native Method)
04-22 01:38:08.503: ERROR/vending(870): at org.apache.harmony.luni.platform.OSNetworkSystem.receiveStream(OSNetworkSystem.java:478)
04-22 01:38:08.503: ERROR/vending(870): at org.apache.harmony.luni.net.PlainSocketImpl.read(PlainSocketImpl.java:565)
04-22 01:38:08.503: ERROR/vending(870): at org.apache.harmony.luni.net.SocketInputStream.read(SocketInputStream.java:87)
04-22 01:38:08.503: ERROR/vending(870): at org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:103)
04-22 01:38:08.503: ERROR/vending(870): at org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:191)
04-22 01:38:08.503: ERROR/vending(870): at org.apache.http.impl.conn.DefaultResponseParser.parseHead(DefaultResponseParser.java:82)
04-22 01:38:08.503: ERROR/vending(870): at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:174)
04-22 01:38:08.503: ERROR/vending(870): at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:179)
04-22 01:38:08.503: ERROR/vending(870): at org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:235)
04-22 01:38:08.503: ERROR/vending(870): at org.apache.http.impl.conn.AbstractClientConnAdapter.receiveResponseHeader(AbstractClientConnAdapter.java:259)
04-22 01:38:08.503: ERROR/vending(870): at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:279)
04-22 01:38:08.503: ERROR/vending(870): at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:121)
04-22 01:38:08.503: ERROR/vending(870): at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:410)
04-22 01:38:08.503: ERROR/vending(870): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
04-22 01:38:08.503: ERROR/vending(870): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
04-22 01:38:08.503: ERROR/vending(870): at android.net.http.AndroidHttpClient.execute(AndroidHttpClient.java:288)
04-22 01:38:08.503: ERROR/vending(870): at com.google.android.net.GoogleHttpClient.executeWithoutRewriting(GoogleHttpClient.java:224)
04-22 01:38:08.503: ERROR/vending(870): at com.google.android.net.GoogleHttpClient.execute(GoogleHttpClient.java:295)
04-22 01:38:08.503: ERROR/vending(870): at com.android.vending.api.RequestDispatcher.performRequestsOverNetwork(RequestDispatcher.java:206)
04-22 01:38:08.503: ERROR/vending(870): at com.android.vending.api.RequestDispatcher.performRequests(RequestDispatcher.java:174)
04-22 01:38:08.503: ERROR/vending(870): at com.android.vending.api.RequestManager.doRequestsOverNetwork(RequestManager.java:244)
04-22 01:38:08.503: ERROR/vending(870): at com.android.vending.api.RequestManager.doRequests(RequestManager.java:230)
04-22 01:38:08.503: ERROR/vending(870): at com.android.vending.BaseActivity$BaseAction.run(BaseActivity.java:1566)
04-22 01:38:08.503: ERROR/vending(870): at com.android.vending.BaseActivity$BaseAction$BackgroundThread$1.run(BaseActivity.java:1647)
04-22 01:38:08.503: ERROR/vending(870): at java.lang.Thread.run(Thread.java:1096)
Finally i found a solution here:
Code:
push this file -
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<map>
<boolean name="local_db_sync_required" value="false" />
<int name="SERVER_VERSION" value="1000" />
<string name="vending_tos_version">1.0.0</string>
<long name="MARKET_LAST_HEARTBEAT_TIMESTAMP" value="1271657433127" />
<long name="last_sync_time" value="1271659724720" />
<long name="last_tickle_id" value="1271657514775" />
<int name="reconciled_version" value="1710" />
<boolean name="metadata_paid_apps_enabled" value="ture" />
<string name="vending_backup_state">vending</string>
<string name="vending_tos_version">1.0.0</string>
</map>
to this file:
/data/data/com.android.vending/shared_prefs/vending_preferences.xml
omg omg omg...
Everything went well with this fix, but now I flashed the new CM-Mod (see signature) - and the damn market is laggy again. Flashin the vending_prefernces.xml doesnt change anything. I really hate the android market >.<
Any suggestions?
Che123 said:
omg omg omg...
Everything went well with this fix, but now I flashed the new CM-Mod (see signature) - and the damn market is laggy again. Flashin the vending_prefernces.xml doesnt change anything. I really hate the android market >.<
Any suggestions?
Click to expand...
Click to collapse
yep, same problem here
did you try pushing the vending_preferences.xml?
also tryied pushing this file but now change for me too
There is a typo in the xml file pasted: 'ture' instead of 'true'.
The correct file is:
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<map>
<boolean name="local_db_sync_required" value="false" />
<int name="SERVER_VERSION" value="1000" />
<string name="vending_tos_version">1.0.0</string>
<long name="MARKET_LAST_HEARTBEAT_TIMESTAMP" value="1271657433127" />
<long name="last_sync_time" value="1271659724720" />
<long name="last_tickle_id" value="1271657514775" />
<int name="reconciled_version" value="1710" />
<boolean name="metadata_paid_apps_enabled" value="true" />
<string name="vending_backup_state">vending</string>
<string name="vending_tos_version">1.0.0</string>
</map>
PS1: The market is still slow (timeout in the logcat's output) but now I can see the paid applications.
PS2: i can see all the paid applications but I have several issues (I can't install some applications, blank pages,...).
From another thread, maybe it's the same for you:
mrcrb said:
On freshly installed ROMs I always have slow market connections, it takes some time (hours to days) till it updates itself and gets faster.
Click to expand...
Click to collapse
mrcrb said:
From another thread, maybe it's the same for you:
Click to expand...
Click to collapse
This is what i mentioned first - after a few reboots everything went well again - but that was just in the beginning of market-lag-history
@ankn: Thx for that info
There must be another solution - or a modified vending.apk
edit: anyone tried deleting the vending_preferences.xml, and saw what happened?
Che123 said:
This is what i mentioned first - after a few reboots everything went well again - but that was just in the beginning of market-lag-history
@ankn: Thx for that info
There must be another solution - or a modified vending.apk
edit: anyone tried deleting the vending_preferences.xml, and saw what happened?
Click to expand...
Click to collapse
for me on CM5.0.7 and Magic Elicir 2.1.0 it takes about 1-2 days to get normal speed on market it. i think its not a local problem - it seems to be a google problem
bluedragon1982 said:
for me on CM5.0.7 and Magic Elicir 2.1.0 it takes about 1-2 days to get normal speed on market it. i think its not a local problem - it seems to be a google problem
Click to expand...
Click to collapse
It's definitely a google problem - they should completly reinvent the market app. But till this day comes, we need a solution for this annoying bug

Ok I really need help with this....

So my market keeps dying. Simply what it does is when I go to downloads, it dies and goes back to main page. Sometimes I can get to an app to update it, but never click the ok button on the popup to confirm the update. It simply closes, and goes back to market home. This only happens on 2.1 ROMs. Never on a 1.6.
I hate tried EVERYTHING. I have no market update to uninstall. I've deleted marketupdater.apk. I've signed into Google talk manually. I've cleared market cache. Disabled compatability mode. Disable compcache. I've done EVERYTHING you can THINK of. I've Googled it for days and days. I don't think anyone else is having this problem.
Below is a logcat of when it dies. Seems like the quoted text before it might be important?
Edit: Seems if I do the search for the application it updates as normal. My only problem is with Market Downloads when updating (marketupdater.apk is still there for reference)! Sync issues?
android.providers.downloads.DownloadProvider is in dying process android.process.media
Click to expand...
Click to collapse
Code:
E/vending ( 5589): com.android.vending.cache.CacheManagerImpl.readFromDisk(): Reading cach
e file: GIR_6976532497457602818_0_0
E/vending ( 5589): java.io.EOFException
E/vending ( 5589): at java.io.DataInputStream.readShort(DataInputStream.java:375)
E/vending ( 5589): at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.ja
va:2402)
E/vending ( 5589): at java.io.ObjectInputStream.<init>(ObjectInputStream.java:445)
E/vending ( 5589): at com.android.vending.cache.CacheManagerImpl.readFromDisk(CacheMa
nagerImpl.java:308)
E/vending ( 5589): at com.android.vending.cache.CacheManagerImpl.get(CacheManagerImpl
.java:129)
E/vending ( 5589): at com.android.vending.api.RequestDispatcher.populateFromCache(Req
uestDispatcher.java:433)
E/vending ( 5589): at com.android.vending.api.RequestDispatcher.performRequestsFromCa
che(RequestDispatcher.java:138)
E/vending ( 5589): at com.android.vending.api.RequestManager.doRequestsFromCache(Requ
estManager.java:167)
E/vending ( 5589): at com.android.vending.api.RequestManager.doRequests(RequestManage
r.java:222)
E/vending ( 5589): at com.android.vending.AssetItemAdapter$ImagesRequest.doRequest(As
setItemAdapter.java:809)
E/vending ( 5589): at com.android.vending.AsynchRequestRunner$1.runRequestRetryingFai
lure(AsynchRequestRunner.java:57)
E/vending ( 5589): at com.android.vending.AsynchRequestRunner$1.run(AsynchRequestRunn
er.java:50)
E/vending ( 5589): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExe
cutor.java:1068)
E/vending ( 5589): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolEx
ecutor.java:561)
E/vending ( 5589): at java.lang.Thread.run(Thread.java:1096)
E/vending ( 5589): at com.android.vending.AsynchRequestRunner$VendingThreadFactory$Ve
ndingFactoryThread.run(AsynchRequestRunner.java:114)
D/dalvikvm( 5661): GC freed 2752 objects / 176128 bytes in 108ms
I/DumpStateReceiver( 154): Added state dump to 1 crashes
I/ActivityManager( 154): Process android.process.media (pid 5661) has died.
I/ActivityManager( 154): Killing app com.android.vending (pid 5589) because provider com.
android.providers.downloads.DownloadProvider is in dying process android.process.media
I/Process ( 154): Sending signal. PID: 5589 SIG: 9
I/ActivityManager( 154): Low Memory: No more background processes.
I/WindowManager( 154): WIN DEATH: Window{44115a00 com.android.vending/com.android.vending
.MyDownloadsActivity paused=false}
I/ActivityManager( 154): Process com.android.vending (pid 5589) has died.
I/WindowManager( 154): WIN DEATH: Window{44173d10 com.android.vending/com.android.vending
.AssetBrowserActivity paused=false}
I/ActivityManager( 154): Start proc com.android.vending for activity com.android.vending/
.AssetBrowserActivity: pid=5675 uid=10007 gids={3003}
I/ActivityManager( 154): Low Memory: No more background processes.
I/UsageStats( 154): Unexpected resume of com.android.vending while already resumed in com
.android.vending
I/ActivityThread( 5675): Publishing provider com.android.vending.SuggestionsProvider: com.
android.vending.SuggestionsProvider
D/dalvikvm( 5675): GC freed 2777 objects / 188480 bytes in 96ms
I/vending ( 5675): com.android.vending.api.RadioHttpClient$1.handleMessage(): Handle DATA_
STATE_CHANGED event: NetworkInfo: type: WIFI[], state: CONNECTED/CONNECTED, reason: (unspe
cified), extra: (none), roaming: false, failover: false, isAvailable: true
D/dalvikvm( 154): GC freed 13136 objects / 780520 bytes in 322ms
mine is a lil weird on the download tab also....if i hit download n leave it there itll restart the market....
if i hit downloads...and then click on one of the updateable apps real quick i can go back to the download tab with out a problem....a lil annoying sumtimes....but its really not that big of an issue for me
im having the exact same problem. it loads the downloads section then resets to market main. it does it a few times before i actually get to use it to update my apps.
Sorry, my computer died on me so I can't respond as often. No one has found a fix for this or any idea why this is happening?

Market stuck installing

I hope i put this in the right section.
Long and short yesterday I started having market issues where anything I would install would get stuck on installing on the market app but in the notification bar it would say it was installed. I figured something was screwy so i did a full wipe and installed another Rom. The issue repeated itself on the next 3 Roms i tried even when i went back to a 2.1 build.
I also noticed that my phone likes to remove the stuck on installing app's on a reboot. I am not using Apps2Sd.
Is anyone else having this problem? I did a few searches but could not come up with a solution.
Had the same/similar problem with the OTA froyo build (stock), Apps would constantly report they had failed to download, and market would crash if i tried cancel a download while another was running.
The second ota update FRF91 appears to have fixed the problem for me, so may be worth looking for a rom that incorporate's the changes
Tried a few more Rom's they all seem to have this issue.
I have done full wipes and this issue persists I am completely at a loss.
yep i have the same issue. did you by chance install cyanogenmod 6.0 alpha 1? thats when it first started for me.
Now even after going back to stock froyo the issue is still there after wiping.
workaround is to kill the market app, but that doesn't solve the issue. I think something is stuck on the google server side.
If I sign in with a different google account, things are fine.
Yes I did install cm6 alpha 1. And you are right I noticed the issue from that point on. It is very frustrating as out seems to have screwed up my google account going forward.
Hopefully someone comes up with a fix for this issue.
My problem is a Server Error on the download tab, but same symptom in that using a different google account after a wipe causes NO problems.
If a wipe doesn't fix it, how is this not a google server problem? And who on earth at Google could fix it? (or would given that we're not on the 100% stock reservation?)
Randy
following the instructions in this thread fixes the issue for me.
Basically, replacing the vending_preferences.xml file
http://forum.xda-developers.com/showthread.php?t=689133
I've attached the file I use to this thread.
Rename it to vending_preferences.xml and push it to /data/data/com.android.vending/shared_prefs/
+1 cyan alpha had the same problem so I decided to revert back to my previous froyo rom. None of em fixed the problem. Not even the frf91 like the previous poster suggested. Ill delete some stuff in the SD uncheck back up files from privacy setting and see if anything works.
dwang said:
yep i have the same issue. did you by chance install cyanogenmod 6.0 alpha 1? thats when it first started for me.
Now even after going back to stock froyo the issue is still there after wiping.
workaround is to kill the market app, but that doesn't solve the issue. I think something is stuck on the google server side.
If I sign in with a different google account, things are fine.
Click to expand...
Click to collapse
Or do this. Lol
dwang said:
following the instructions in this thread fixes the issue for me.
Basically, replacing the vending_preferences.xml file
http://forum.xda-developers.com/showthread.php?t=689133
I've attached the file I use to this thread.
Rename it to vending_preferences.xml and push it to /data/data/com.android.vending/shared_prefs/
Click to expand...
Click to collapse
Tried that. Didn't help my server error issue.
rmagruder said:
Tried that. Didn't help my server error issue.
Click to expand...
Click to collapse
Same for me!!!
Did you kill the market app afterwards?
I'm not sure what your server issue is, but modified vending_preferences.xml did fix my issue with installing apps getting stuck.
Don't have to reboot phone to fix it though, just have to forcestop from applications setting.
Same problem:
(can't post outside links, but go to google's android support forum and look at thread ID 3e3a6c8eadb9acbd - or search for the subject "After 2.2 Update, missing "Top Paid" button from market")
www . google . com / support / forum / p / android / thread?tid=3e3a6c8eadb9acbd&hl=en
I'm betting if you factory reset the phone and sign into a different google account the problem will be fixed. Something got wacked with my primary google account when I signed in after installing FRF85B, and now it's permanently stuck, even after rolling back to ERD79.
Don't know if it will help the gurus here, but this is what I get when I launch Market with my primary account:
D/MobileDataStateTracker( 95): replacing old mInterfaceName (rmnet0) with rmnet0 for dun
D/MobileDataStateTracker( 95): replacing old mInterfaceName (rmnet0) with rmnet0 for hipri
D/MobileDataStateTracker( 95): replacing old mInterfaceName (rmnet0) with rmnet0 for supl
D/MobileDataStateTracker( 95): replacing old mInterfaceName (rmnet0) with rmnet0 for mms
D/MobileDataStateTracker( 95): default Received state= CONNECTED, old= CONNECTED, reason= (unspecified), apnTypeList= *
D/NetworkLocationProvider( 95): onDataConnectionStateChanged 3
D/vending ( 1327): [13] BaseActivity$BaseAction.run(): ApiException:
D/vending ( 1327): com.android.vending.api.ApiException: Error from backend. Request=com.android.vending.model.AssetRequest,
Response=INTERNAL_SERVICE_ERROR
D/vending ( 1327): at com.android.vending.api.RequestDispatcher.readResponses(RequestDispatcher.java:284)
D/vending ( 1327): at com.android.vending.api.RequestDispatcher.performRequestsOverNetwork(RequestDispatcher.java:218)
D/vending ( 1327): at com.android.vending.api.RequestDispatcher.performRequests(RequestDispatcher.java:166)
D/vending ( 1327): at com.android.vending.api.RequestManager.doRequestsOverNetwork(RequestManager.java:233)
D/vending ( 1327): at com.android.vending.api.RequestManager.doRequests(RequestManager.java:219)
D/vending ( 1327): at com.android.vending.BaseActivity$BaseAction.run(BaseActivity.java:1792)
D/vending ( 1327): at com.android.vending.BaseActivity$BaseAction$BackgroundThread$1.run(BaseActivity.java:1873)
D/vending ( 1327): at java.lang.Thread.run(Thread.java:1096)
E/vending ( 1327): [1] InitializeMarketAction$MetadataAndDownloadsAction.abortOnServerError(): Server error in InitializeMark
etAction:
E/vending ( 1327): com.android.vending.api.ApiException: Error from backend. Request=com.android.vending.model.AssetRequest,
Response=INTERNAL_SERVICE_ERROR
E/vending ( 1327): at com.android.vending.api.RequestDispatcher.readResponses(RequestDispatcher.java:284)
E/vending ( 1327): at com.android.vending.api.RequestDispatcher.performRequestsOverNetwork(RequestDispatcher.java:218)
E/vending ( 1327): at com.android.vending.api.RequestDispatcher.performRequests(RequestDispatcher.java:166)
E/vending ( 1327): at com.android.vending.api.RequestManager.doRequestsOverNetwork(RequestManager.java:233)
E/vending ( 1327): at com.android.vending.api.RequestManager.doRequests(RequestManager.java:219)
E/vending ( 1327): at com.android.vending.BaseActivity$BaseAction.run(BaseActivity.java:1792)
E/vending ( 1327): at com.android.vending.BaseActivity$BaseAction$BackgroundThread$1.run(BaseActivity.java:1873)
E/vending ( 1327): at java.lang.Thread.run(Thread.java:1096)
D/dalvikvm( 1327): GC_FOR_MALLOC freed 4879 objects / 335752 bytes in 31ms
D/dalvikvm( 1327): GC_EXTERNAL_ALLOC freed 910 objects / 38864 bytes in 32ms
D/MobileDataStateTracker( 95): replacing old mInterfaceName (rmnet0) with rmnet0 for dun
D/MobileDataStateTracker( 95): replacing old mInterfaceName (rmnet0) with rmnet0 for hipri
D/MobileDataStateTracker( 95): replacing old mInterfaceName (rmnet0) with rmnet0 for supl
D/MobileDataStateTracker( 95): replacing old mInterfaceName (rmnet0) with rmnet0 for mms
D/MobileDataStateTracker( 95): default Received state= CONNECTED, old= CONNECTED, reason= (unspecified), apnTypeList= *
D/NetworkLocationProvider( 95): onDataConnectionStateChanged 3
D/dalvikvm( 1327): GC_EXTERNAL_ALLOC freed 4050 objects / 348384 bytes in 45ms
D/MobileDataStateTracker( 95): replacing old mInterfaceName (rmnet0) with rmnet0 for dun
D/MobileDataStateTracker( 95): replacing old mInterfaceName (rmnet0) with rmnet0 for hipri
D/MobileDataStateTracker( 95): replacing old mInterfaceName (rmnet0) with rmnet0 for supl
D/MobileDataStateTracker( 95): replacing old mInterfaceName (rmnet0) with rmnet0 for mms
D/MobileDataStateTracker( 95): default Received state= CONNECTED, old= CONNECTED, reason= (unspecified), apnTypeList= *
D/NetworkLocationProvider( 95): onDataConnectionStateChanged 3
Same exact errors for me too.
I am having the same issue with an EVO running the latest stock 2.1 ROM w/ current updates. I am going to try and sign in with a new Gmail account and see if that fixes it for me. I'll edit my post with results.
Here's another thread in the market forum, with a less-than-stellar Google response:
www . google . com / support / forum / p / Android+Market / thread?tid=3ca03be96dee2acf&hl=en
I have the exact same errors.
This is very frustrating as I know it seems like only a minor irritant but who knows what else this issue can effect.
vendor fix did not work for my "market stuck on installing" issue.
To the posted who said sign in on another gmail account do you mean sign in on another then sign back to your old one?
kavyt said:
To the posted who said sign in on another gmail account do you mean sign in on another then sign back to your old one?
Click to expand...
Click to collapse
Unfortunately No - I can't sign into my main account at all (either first thing after a factory refresh, or as a secondary account later on). Once my phone talks to my primary account in any way, the "top paid" tab disappears, and the problems begin.

[Q] New Google Search and Voice Search on CM6?

So I tried to install the Google Search and Voice Search on my Nexus One running CM6 RC2.
Everything else seems to be updating & installing fine, but these two new ones announced today download and always get "Installation Unsuccessful" triangles.
Anyone have any ideas?
D/MediaScannerService( 751): IMediaScannerService.scanFile: /mnt/sdcard/download/downloadfile-7.apk mimeType: application/vnd.android.package-archive
W/ResponseProcessCookies( 764): Cookie rejected: "[version: 0][name: GX][value: DQAAAKEAAADoW5InIleIE9RqqV6eYk2WiSYyef-jgFXjSU9Kd7rHFPLDmdqqvDszzWeEvd8IsqMp7AB
0a9JMjOOT-OsePyphGVzk3y_Jtb3mw1ANfVkFQ2vgCqDvkigA-3qxEG-QtN3I8uTRKbdItA8cguyHJKD_2c8XAg0zFmvNvCpKFQBJXx2lb_P_tMyt2iDiB9lVwF_ALMCwz9eA48ES1EbcHJiT17I8SFngj6WWseh
vpxqBqg][domain: mail.google.com][path: /proxy/gmail/mail][expiry: Thu Aug 26 14:17:47 EDT 2010]". Illegal domain attribute "mail.google.com". Domain of origin:
"android.clients.google.com"
D/PackageParser( 115): Scanning package: /data/app/vmdl11503.tmp
D/Gmail ( 764): MailProvider.query: content://gmail-ls/labels/<EDITED OUT>/(null, null)
D/LocationMasfClient( 115): getNetworkLocation(): Returning cache location with accuracy 2564.0
I/dalvikvm( 764): Jit: resizing JitTable from 4096 to 8192
D/dalvikvm( 764): GC_EXPLICIT freed 6976 objects / 334952 bytes in 41ms
D/NativeCrypto( 764): Freeing OpenSSL session
I/Gmail ( 764): MainSyncRequestProto: lowestBkwdConvoId: 0, highestHandledServerOp: 147445, normalSync: true
D/dalvikvm( 115): GC_EXPLICIT freed 23810 objects / 1273120 bytes in 120ms
D/vending ( 966): [379] LocalAssetDatabase.notifyListener(): 3131690986141917527 / INSTALL_FAILED
D/vending ( 966): [379] VendingNotificationManager.showNotification(): Showing notification: [AssetID=3131690986141917527, NotificationID=-1645805789, Title=Go
ogle Search, Message=Installation unsuccessful.]
I/vending ( 966): [379] AssetDownloader$DownloadManagerBroadcastReceiver$MyPackageInstallObserver.packageInstalled(): Package install from content://downloads/
download/502 failed: Package file was not signed correctly.
D/dalvikvm( 966): GC_FOR_MALLOC freed 15107 objects / 817416 bytes in 132ms
W/ResponseProcessCookies( 764): Cookie rejected: "[version: 0][name: GX][value: DQAAAJ8AAAD0ea0_tCf_SwFr8haP_VXq6VdvgIVXnGjaV0EiGYX-IuyIqxoiX3f3o8ZdKCAKsVPxGYl
SB7DmiDck1W4qZO5oJWNGqlRjkC1Kzy2y6l4fcQFJ_uCPV8N32bAhZpX211G75VLzPa1EMvUWw8gacZ8siBP2e5nbePvwRRH8msMSbOxndW2VB-g6QsKNzLXoOcUsjvGlsNRG2mq8gaY93RST][domain: mail.
google.com][path: /proxy/gmail/mail][expiry: Thu Aug 26 14:17:50 EDT 2010]". Illegal domain attribute "mail.google.com". Domain of origin: "android.clients.goog
le.com"
D/dalvikvm( 764): GC_EXPLICIT freed 3244 objects / 232840 bytes in 37ms
I/Gmail ( 764): MainSyncRequestProto: lowestBkwdConvoId: 0, highestHandledServerOp: 147445, normalSync: true
D/Gmail ( 764): sending notification. Adjusted values are label=2, oldCount=0, newCount=1, unseenCount=1, getAttention=true
I/Gmail ( 764): Sending notification intent: Intent { act=android.intent.action.PROVIDER_CHANGED dat=content://gmail-ls/unread/^i (has extras) }
D/Gmail ( 764): New email:<EDITED OUT> (1) mapSize:1 getAttention:true
D/Gmail ( 764): Validating Notification:<EDITED OUT> (1) mapSize:1 getAttention:true
D/Gmail ( 764): MailProvider.query: content://gmail-ls/conversations/<EDITED OUT>(label:^^unseen-^i, [SELECTION_ARGUMENT_DO_NOT_BECOME_ACTIVE_NET
WORK_CURSOR])
I am seeing the same issue.
moved to q&a
Yeah... It tells me, "Package was not signed correctly."
Edit: I wonder if it has anything to do with the fact that we have google apps installed on our phones with the FRF91 addon pack. I wonder if people not using that have the same issues...
Me too please fix!!!!!!! Somebody!!!!!!
oh im using cyanogen mod night version...
Sent from my Nexus One using XDA App
Same here.
So it's a problem with CM6 RC2?
I'm using a stock rooted rom and I get the same error..
Yeah, I have just noticed the same thing, chrome to phone installed just fine however the voice search will not install
nexus one also on rc2
I'm encountering the same problem, CM6 RC2 on Droid.
This message was deleted by its author
What I did was mount /system/app as RW with root explorer, used adb to "rm VoiceSearch.apk and then rebooted, downloaded and installed from the market.
Click to expand...
Click to collapse
Try that, worked for me.
http://forum.xda-developers.com/showthread.php?t=752669&page=3
From the comments responding to the announcement, here is how it can be made to install on custom ROMs. Just tested this:
Just run the following commands to uninstall the old system apps if you use a custom rom.
adb remount
adb shell rm /system/app/GoogleQuickSearchBox.apk
adb uninstall com.google.android.googlequicksearchbox
adb shell rm /system/app/VoiceSearch.apk
adb uninstall com.google.android.voicesearch
This will let the new ones install from market without the package signing error
This message was deleted by its author
Is it possible to just uninstall the Voice Search.apk from titanium backup?
Am i missing something? mines is the same old google voice search. I see no help and everything opens in the browser.
ty rmagruder. Worked like a charm.
rmagruder said:
Just run the following commands to uninstall the old system apps if you use a custom rom.
adb remount
adb shell rm /system/app/GoogleQuickSearchBox.apk
adb uninstall com.google.android.googlequicksearchbox
adb shell rm /system/app/VoiceSearch.apk
adb uninstall com.google.android.voicesearch
This will let the new ones install from market without the package signing error
Click to expand...
Click to collapse
<<<<------THIS!
Thanks!
rmagruder said:
This will let the new ones install from market without the package signing error
Click to expand...
Click to collapse
I installed Voice search but what else is there? I am now missing my google search widget.
aad4321 said:
Any other way to do this besides adb?
Click to expand...
Click to collapse
Titanium Backup/Root Explorer

[Q] Optimus 4x HD No boot after clockwork

Installed clockwork, confirmed the su access, hit reboot normal, and there is no normal reboot.
Device is stuck at boot screen. I can access with adb, and have root access, but I'm not sure where to start looking to figure out why it won't boot.
dmesg has a lot of battery info,
try not to accidentally 'cat /init' it makes windows console confused.
Any idea where to look to determine why the phone won't boot? is there a boot log of some sort?
I've tried resetting the busybox in /data/local and resetting permissions.
Any other suggestions?
Update
I've not gotten as far as finding some logs using adb.
I'm curious as to why it doesn't hit the startup sound unless I fire init, yet the graphic/bootscreen is up.
I/boot_progress_start( 150): 9177
I/boot_progress_preload_start( 150): 9751
I/boot_progress_preload_end( 150): 15154
I/boot_progress_system_run( 252): 16404
I/boot_progress_pms_start( 252): 16698
I/boot_progress_pms_system_scan_start( 252): 17410
I/boot_progress_pms_data_scan_start( 252): 20932
I/boot_progress_pms_scan_end( 252): 53648
I/boot_progress_pms_ready( 252): 54926
C:\o4xr>adb logcat -d |grep preload
W/Zygote ( 150): Class not found for preloading: android.media.AudioManager$2
W/Zygote ( 150): Class not found for preloading: android.media.IRemoteControlC
lientDispatcher
W/Zygote ( 150): Class not found for preloading: android.media.IRemoteControlC
lientDispatcher$Stub
W/Zygote ( 150): Class not found for preloading: android.text.TextDirectionHeu
ristics$CharCount
W/Zygote ( 150): Class not found for preloading: android.text.method.WordItera
tor$1
W/Zygote ( 150): Class not found for preloading: android.widget.EdgeGlow
E/PhonePolicy( 150): Could not preload class for phone policy: com.android.inte
rnal.policy.impl.PhoneWindow$ContextMenuCallback
I/Zygote ( 150): ...preloaded 2297 classes in 4308ms.
I/Zygote ( 150): ...preloaded 379 resources in 1009ms.
I/Zygote ( 150): ...preloaded 31 resources in 8ms.
W/PackageManager( 252): Unknown permission com.shazam.android.preloadinfo.provi
der.ACCESS_DATA in package com.shazam.android
scidhuv00 said:
Installed clockwork, confirmed the su access, hit reboot normal, and there is no normal reboot.
Device is stuck at boot screen. I can access with adb, and have root access, but I'm not sure where to start looking to figure out why it won't boot.
dmesg has a lot of battery info,
try not to accidentally 'cat /init' it makes windows console confused.
Any idea where to look to determine why the phone won't boot? is there a boot log of some sort?
I've tried resetting the busybox in /data/local and resetting permissions.
Any other suggestions?
Click to expand...
Click to collapse

Categories

Resources