Market - full of lags and bugs [reloaded] - G1 Q&A, Help & Troubleshooting

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

Related

Internet Tab and Opera 10 Beta 2u...??

I am running WM 6.5 for t-mobile and I have installed the Opera 10 Beta 2u.
I can launch the browser from ever location except the "Internet Tab" on Touch Flo 3d
It will always launch the Opera 9 Browser.
I have confirmed my registry entry:
Code:
0 Opera Browser
1 "\Program Files\Opera Mobile 10\Opera10-armv4i.exe"
How do I get Opera 10 to Launch from the Internet Tab??
I have also tried editing the .xml file as well....??
It reads:
Code:
<?xml version="1.0" encoding="utf-16"?>
<InternetPortal>
<BrowserExe>\ProgramFiles\OperaMobile10\Opera10-armv4i.exe</BrowserExe>
<IncludeUserFavorites>False</IncludeUserFavorites>
<Banner DefaultImagePath="\Windows\HTC\Assets\Images\InternetPortal\banner.qtc"
SelectedImagePath="\Windows\HTC\Assets\Images\InternetPortal\banner_selected.qtc"
Text="Launch Browser"
NavigateUrl="http"
UrlText="Google"
Width="480"
Height="215" />
<OperatorLinks>
<Link
Text="XDTalk"
NavigateUrl=""
ImagePath="\Windows\_Bookmark_icon.qtc" />
<Link
Text="USAA"
NavigateUrl="/"
ImagePath="\Windows\_Bookmark_icon.qtc" />
<Link
Text="CNN"
NavigateUrl=""
ImagePath="\Windows\_Bookmark_icon.qtc" />
<Link
Text="eBay"
NavigateUrl=""
ImagePath="\Windows\_Bookmark_icon.qtc" />
</OperatorLinks>
</InternetPortal>
When I try to start Opera 10 from the internet tab I get the following Error:
The file cannot be opened. Either it is not signed with a trusted certificate ... etc
Click to expand...
Click to collapse
Additionally, I can manually navigate to the \ProgramFiles\OperaMobile10\Opera10-armv4i.exe file and Run Opera 10 without an issue using File Explorer....
Please Help!
try to uninstall opera 9 and set opera 10 beta as ur default when you open it...hope this works
when u installed 10B2 did it ask you to set it as your default browser?
thats all i did was check yes in the setup and my internet tab launches 10 now and my 9 is integrated
I did select Opera 10 as my default browser during the install.
I cannot "uninstall" Opera9 as it was cooked into the Rom from t-mobile.
Any other suggestions?

[FIX] Slow market on froyo (SocketTimeoutException)

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.

Alltel hero mms sending fix needed!!!

So now that we have been able to root the alltel hero, we seem to have an issue with mms sending... while everything else works great in all roms tested thus far...
While I am quite experienced in winmo, I am not in android...
Any help with a patch or fix ideas that might help us alltel users or input would be appreciated!!!
cd C:\android-sdk\tools
adb shell
cd /data/data/com*telephony/databases
sqlite3 telephony.db
update carriers set mmsc='http://mms.alltelpcs.net/?X-MDN=YOUR11DIGITNUMBER' where name='Production';
or
cd C:\android-sdk\tools
adb shell
cd /data/data/com*telephony/databases
sqlite3 telephony.db
update carriers set mmsc='http://mms.alltel.net/?X-MDN=YOUR11DIGITNUMBER' where name='Production';
try one of those........I could be wrong though...
Working with darchster last night, we got it working on my alltel hero by adding:
Code:
<apn mcc="000" mmsc="http://mms.alltel.com/servlets/mms" mmsprotocol="2.0" mmsport="8080" type="mms" mmsproxy="mms.alltel.com" carrier="Production" apn="1" port="" mnc="00" />
to the end of /system/etc/apns-conf.xml, and deleting /data/data/com.android.providers.telephony/databases/telephony.db
then rebooting
s0be said:
Working with darchster last night, we got it working on my alltel hero by adding:
Code:
<apn mcc="000" mmsc="http://mms.alltel.com/servlets/mms" mmsprotocol="2.0" mmsport="8080" type="mms" mmsproxy="mms.alltel.com" carrier="Production" apn="1" port="" mnc="00" />
to the end of /system/etc/apns-conf.xml, and deleting /data/data/com.android.providers.telephony/databases/telephony.db
then rebooting
Click to expand...
Click to collapse
Thanks for all of the hard work on this!!!
I'm still not able to get it to go through it is stuck on sending.... can you please post the apns that you used.
racer67h said:
Thanks for all of the hard work on this!!!
I'm still not able to get it to go through it is stuck on sending.... can you please post the apns that you used.
Click to expand...
Click to collapse
Sure... one sec...
This sends, but I've not confirmed receipt by the recipient yet.
I must be pushing it wrong. I am getting file read only error. Rooted on darchstar.
halfevildruid said:
I must be pushing it wrong. I am getting file read only error. Rooted on darchstar.
Click to expand...
Click to collapse
adb remount
Fix still needed... none of these work. I have tried every possible configuration I can think of for the apn file. The answer must be in the stock rom somewhere since it sends with it and no other rom... just where????
no good for me
So has any of you managed to get them to go yet?
halfevildruid said:
no good for me
So has any of you managed to get them to go yet?
Click to expand...
Click to collapse
So far fresh based roms, (fresh, zen, etc work for me when I update the server with ##3282#
all other roms without this capability I cant get to go. This includes the voice open apns dialer when available and the apn backup restore tool from market.
I have as well pulled the apn files from the stock rom and used them, however still can not get them to work. The stock apn from the alltel rom is as follows, if it helps anyone else:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <apns count="3">
<apn name="CDMA" numeric="00000" mcc="000" mnc="00" apn="0" user="null" server="null" password="null" proxy="null" port="" mmsproxy="" mmsport="" mmsprotocol="" mmsc="" type="*" />
<apn name="Production" numeric="00000" mcc="000" mnc="00" apn="1" user="null" server="null" password="null" proxy="null" port="" mmsproxy="mms.alltel.com" mmsport="8080" mmsprotocol="2.0" mmsc="http://mms.alltel.com/servlets/mms" type="mms" />
<apn name="Android" numeric="310995" mcc="310" mnc="995" apn="internet" user="*" server="*" password="*" proxy="null" port="null" mmsproxy="null" mmsport="null" mmsprotocol="null" mmsc="null" type="null" />
</apns>
well. i hope this helps you guys, I know i dont have any previous posts but heres my /system/etc/apns-conf.xml i pulled from my Alltel Hero. There's an "spn-conf.xml" i noticed too so i pulled that as well just in case
Code:
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2008 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
[http]apache.org/licenses/LICENSE-2.0 <-- had to edit link of course. :P
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- This file contains fake APNs that are necessary for the emulator
to talk to the network. It should only be installed for SDK builds.
This file is not installed by the local Android.mk, it's installed using
a PRODUCT_COPY_FILES line in the sdk section of the toplevel Makefile.
-->
<!-- use empty string to specify no proxy or port -->
<!-- This version must agree with that in apps/common/res/apns.xml -->
<apns version="6">
<apn carrier="Android"
mcc="310"
mnc="995"
apn="internet"
user="*"
server="*"
password="*"
mmsc="null"
/>
<!--apn carrier="TelKila"
mcc="310"
mnc="260"
apn="internet"
user="*"
server="*"
password="*"
mmsc="null"
/-->
</apns>
i was able to pull this after restoring my pre-rooted/stock BART backup then reflashing the recovery to ClockworkMod and using that to mount /data and /system folders (also pulled telephony.db and mmssms.db from the databases dir)
im still in the process of getting things figured out with all this too, been trying to send mms using CM6 and came across all this just hours ago.
hoping someone might be able to help...
been working on getting mms send to work for alltel, and was hoping to get some input... below is what is read when I send mms, I have also done logcats for sending from a working rom and don't get what below... anyone have some input or ideas that might help?
logcat:
E/SendTransaction( 335): java.lang.NullPointerException: uriString
E/SendTransaction( 335): at android.net.Uri$StringUri.<init>(Uri.java:420)
E/SendTransaction( 335): at android.net.Uri$StringUri.<init>(Uri.java:410)
E/SendTransaction( 335): at android.net.Uri.parse(Uri.java:382)
E/SendTransaction( 335): at com.android.mms.transaction.Transaction.ensureRout eToHost(Transaction.java:218)
E/SendTransaction( 335): at com.android.mms.transaction.Transaction.sendPdu(Tr ansaction.java:165)
E/SendTransaction( 335): at com.android.mms.transaction.Transaction.sendPdu(Tr ansaction.java:150)
E/SendTransaction( 335): at com.android.mms.transaction.SendTransaction.run(Se ndTransaction.java:118)
E/SendTransaction( 335): at java.lang.Thread.run(Thread.java:1096)
E/SendTransaction( 335): Delivery failed.
this is all that fails or is in read in the logcat, everything else seems ok. I have the entire log if needed
dont know... but maybe this will help you?
http: //forum.xda-developers.com/showpost.php?p=7916563&postcount=1523
are you disabling wifi before you try sending the mms messages, i know with my carrier you can't send or recieve mms messages if wifi is enabled even with the stock rom.

AOSP builds and SetupWizard.apk

PS: Should t be in development?
Hi,
I'm working on my AOSP branch of my ROM but I get a weired problem that I cannot solve since almost a week.
So I check'ed out the AOSP code from scrach and try it.
I/ Point #1: It hangs
Here is what happens:
- compile
- flash
- flash gapps-up frf91
- reboot
Now SetupWizard.apk hangs for ever on the "Signing in..." screen.
I tried branches: froyo, android-2.2_r1 and android-2.2_r1.1... all the same.
adb logcat shows me:
Code:
I/SetupWizard( 211): Got response: SUCCESS
D/SetupWizard( 211): in mWaitForAndroidId.run()
D/GoogleLoginService( 211): in waitForAndroidId result=0
D/SetupWizard( 211): waitForAndroidId returned: 0
then
Code:
D/MobileDataStateTracker( 83): replacing old mInterfaceName (rmnet0) with rmnet0 for hipri
D/MobileDataStateTracker( 83): default Received state= CONNECTED, old= CONNECTED, reason= (unspecified), apnTypeList= default
D/NetworkLocationProvider( 83): onDataConnectionStateChanged 3
D/MobileDataStateTracker( 83): replacing old mInterfaceName (rmnet0) with rmnet0 for hipri
D/MobileDataStateTracker( 83): default Received state= CONNECTED, old= CONNECTED, reason= (unspecified), apnTypeList= default
D/NetworkLocationProvider( 83): onDataConnectionStateChanged 3
D/SntpClient( 83): request time failed: java.net.SocketTimeoutException: Connection timed out
Over and over and over again...
II/ Point #2: It partially worked
Then I do a hard reboot.
When it reboots, I go to Settings, accounts etc.
From there I can see my account... sync is on so I click on it:
- Contacts: OFF
- Gmail: OFF
- Picasa: ON
- Calendar: ON
I tried douzens of times and no matter the time I wait on the "Signing in screen", I always get the same logcat and results.
Please, help me guess what's wrong.
Full logcat: http://fpaste.org/xNXT/
-----
What could I do wrong by building strict from AOSP?
Thanks a lot!
http://pastebin.com/im1v07hZ
Jr33 said:
http://pastebin.com/im1v07hZ
Click to expand...
Click to collapse
Yeah I'm trying thanks bro!
I'm wondering... if "@null" was in place, does it means my AOSP build was not using NetworkLocation.apk ?
Because I saw on CM' git repo and its: "@null" and "@null"... wonder how CM get it working
leonnib4 said:
Yeah I'm trying thanks bro!
I'm wondering... if "@null" was in place, does it means my AOSP build was not using NetworkLocation.apk ?
Because I saw on CM' git repo and its: "@null" and "@null"... wonder how CM get it working
Click to expand...
Click to collapse
i think he has it in the vendor overlay. if "@null" is in place it will not use any network location
Well still not a go.
I'm having the same sockets timeouts...
When logging from the "normal" way and when logging in the "browser" way (menu then "Browser sign-in"):
D/Genie ( 540): Can not get the location from network
D/SntpClient( 89): request time failed: java.net.SocketTimeoutException: Connection timed out
...
Here is the fix!
Thanks to Jr33 !!!
In order to get the SetupWizard.apk properly working when building from AOSP, in my case, android-2.2_r1.1 (full-passion-eng), you need to merge this:
- http://pastebin.com/im1v07hZ
- http://pastebin.com/yqjnY3xP
And it simply works!
Thanks to Jr33 !!!
I actually spent 7 days on that issue...

[Solved] build custom rom

Hi,
Im trying to build DotOs and after doing all necessities and with local_manifest/dot_pdx203.xml see next post
In file included from build/make/core/config.mk:290:
In file included from build/make/core/envsetup.mk:268:
vendor/sony/pdx203/edo-vendor.mk:195: error: _nic.PRODUCTS.[[device/sony/pdx203/dot_edo.mk]]:
"vendor/dot/config/common_full_phone.mk" does not exist.
18:38:48 dumpvars failed with: exit status 1
Device edo not found. Attempting to retrieve device repository from DotOS-Devices Github (http://github.com/DotOS-Devices).
Repository for edo not found in the DotOS-Devices Github repository list.
If this is in error, you may need to manually add it to your .repo/local_manifests/dot_manifest.xml
In file included from build/make/core/config.mk:290:
In file included from build/make/core/envsetup.mk:268:
vendor/sony/pdx203/edo-vendor.mk:195: error: _nic.PRODUCTS.[[device/sony/pdx203/dot_edo.mk]]:
"vendor/dot/config/common_full_phone.mk" does not exist.
18:38:49 dumpvars failed with: exit status 1
In file included from build/make/core/config.mk:290:
In file included from build/make/core/envsetup.mk:268:
vendor/sony/pdx203/edo-vendor.mk:195: error: _nic.PRODUCTS.[[device/sony/pdx203/dot_edo.mk]]:
"vendor/dot/config/common_full_phone.mk" does not exist.
18:38:49 dumpvars failed with: exit status 1
** Don't have a product spec for: 'dot_edo'
** Do you have the right repo manifest?
Click to expand...
Click to collapse
Edit: so it seems things are moving forward, but still not there.. at least lunch is picking up the device tree..
Update : local_manifest/dot_pdx203
<remote name="vendor"
fetch="https://github.com"
revision="lineage-18.1" />
<remote name="device"
fetch="https://github.com"
revision="pe_eleven" />
<remote name="common"
fetch="https://github.com"
revision="fluid_11" />
<remote name="kernel"
fetch="https://github.com"
revision="LA.UM.8.12.r1" />
<!-- Vendor folders -->
<project path="vendor/sony/pdx203" name="hellobbn/android_vendor_sony_pdx203" remote="vendor" />
<!--Device Trees-->
<project path="device/sony/pdx203" name="hellobbn/android_device_sony_pdx203" remote="device" />
<project path="device/sony/edo-common" name="SetsunaKiyouraTD/android_device_sony_edo-common" remote="common" />
<!--Kernel-->
<project path="kernel/sony/sm8250" name="hellobbn/android_kernel_sony_sm8250" remote="kernel" />
Click to expand...
Click to collapse
Ah nevermind I figurd it out and learnt something in the process
To those buildmaster out there does this seem correct?
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=11
DOT_VERSION=dotOS-R-v5.2-pdx203-UNOFFICIAL-20211005-1948
TARGET_PRODUCT=dot_pdx203
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=generic
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.4.150_1-x86_64-void
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=RD2A.210905.003
OUT_DIR=/home/userx/build/dotos/out
PRODUCT_SOONG_NAMESPACES=vendor/sony/pdx203 hardware/qcom-caf/sm8250 vendor/qcom/opensource/commonsys-intf/display vendor/qcom/opensource/dataservices vendor/qcom/opensource/data-ipa-cfg-mgr packages/apps/Bluetooth hardware/qcom-caf/common/fwk-detect
============================================
Click to expand...
Click to collapse
Since Im building on voidlinux some issues needed resolve
// Error notes
ERROR: vendor/dot/config/common_full_phone.mk" does not exist.
- Use common.mk instead of common_full_phone.mk (..device/sony/pdx203/dot_pdx203.mk)
ERROR: while loading shared libraries: libncurses.so.5
for f in ncurses form panel menu; do ln -sfr /usr/lib/lib${f}.so.6 /usr/lib/lib${f}.so.5; done
for f in ncurses form panel menu; do ln -sfr /usr/lib/lib${f}w.so.6 /usr/lib/lib${f}w.so.5; done
for f in ncurses form panel menu; do ln -sfr /usr/lib32/lib${f}.so.6 /usr/lib32/lib${f}.so.5; done
for f in ncurses form panel menu; do ln -sfr /usr/lib32/lib${f}w.so.6 /usr/lib32/lib${f}w.so.5; done
ln -sf /usr/bin/ncursesw6-config /usr/bin/ncursesw5-config
ln -sf /usr/bin/ncursesw6-config /usr/bin/ncurses5-config
ERROR: error while loading shared libraries: libtinfo.so.5
ln -sf /usr/lib/libtinfo.so.6 /usr/lib/libtinfo.so.5
Click to expand...
Click to collapse
All be attachii some build logs on finnish; if anyone cares to read and compair..

Categories

Resources