Minor change - General Topics

I changed the display beside each message so that:
Posts: 3
Joined: 04 Jan 2004
Is replaced by:
3 posts since Jan '04
Which is both one line shorter and more informative

Related

PocketZenPhone DOWN!

Seems Zendrui has pulled the plug out of his super PocketZenPhone!
Since a few days I can't reach the site anymore nor his e-mail address.
I have a new SIM-card but I can't get a license code for it anymore. When sending an e-mail the postmaster returns that his address is unreachable.
I managed to get to his site once a few hours ago, but now it's gone again.
This sucks...
PocketZenPhone.net works for me...
As I also indicated in another thread, the problem seems to be with accessing the site from The Netherlands. I've tried it via multiple Dutch ISP's (work, home, T-Mobile) but cannot connect to www.pocketzenphone.net.
However, when using a public proxy server in another country, I can connect to the site. Similar behaviour with traceroute; from my own internet connection it fails, when using a web-based traceroute utility in another country, it succeeds:
Failing traceroute:
traceroute to www.pocketzenphone.net (87.98.206.138), 30 hops max, 40
byte packets
1 172.19.3.1 (172.19.3.1) 0.541 ms 1.164 ms 1.371 ms
2 89.220.224.1 (89.220.224.1) 10.863 ms 12.043 ms 13.221 ms
3 62.100.48.181 (62.100.48.181) 17.422 ms 14.955 ms 16.585 ms
4 k505.xb.ams1.nl.above.net (82.98.254.165) 29.798 ms 26.094 ms
18.586 ms
5 ge-1-2-0.mpr2.ams5.nl.above.net (64.125.26.86) 24.555 ms 28.471 ms
31.191 ms
6 pos-8-2.mpr2.cdg2.fr.above.net (64.125.23.30) 38.318 ms 21.417 ms
21.336 ms
7 te2-1.mpr1.cdg9.fr.above.net (64.125.23.5) 153.574 ms 153.936 ms
154.218 ms
8 * 002G.gsw-1-6k.routers.ovh.net (213.186.32.233) 28.563 ms *
9 gsw-4-m2.routers.ovh.net (213.251.190.40) 31.220 ms 47.580 ms
36.553 ms
10 * * *
11 * * *
...
Working traceroute:
1 156 174 138 72.249.0.65 -
2 95 137 199 8.9.232.73 ge-6-18.car1.dallas1.level3.net
3 103 92 75 4.68.19.133 ae-33-89.car3.dallas1.level3.net
4 219 199 115 4.68.63.162 -
5 87 171 144 209.58.47.13 vlan6.icore1.dtx-dallas.teleglobe.net
6 143 200 152 209.58.47.2 vlan3.icore1.a56-atlanta.teleglobe.net
7 96 98 108 64.86.8.17 if-7-0-0-60.har1.a56-atlanta.teleglobe.net
8 73 59 70 64.86.9.18 if-11-0-0.core3.aeq-ashburn.teleglobe.net
9 116 125 101 216.6.51.6 if-5-0.core2.nto-newyork.teleglobe.net
10 164 255 208 80.231.72.113 if-12-0.core3.pg1-paris.teleglobe.net
11 156 144 170 80.231.73.66 if-11-1.har1.pg1-paris.teleglobe.net
12 166 221 181 213.186.32.241 020g.th1-1-6k.routers.ovh.net
13 251 270 245 213.186.32.210 040g.gsw-1-6k.routers.ovh.net
14 234 222 265 213.251.190.40 gsw-4-m2.routers.ovh.net
15 215 211 206 87.98.206.138 ns77.ophos.com
Anybody any idea how to solve this problem? Anyone else from The Netherlands having this problem? Anybody from the Netherlands that can access the site?
I cannot reach the site from the Netherlands.
Maybe it has something to do with the major problems that KPN currently has??
BTW: Site works with Opera Mini. Strange, but must be something that has to do with KPN problems.
I can access it from the UK... Try using this as a more direct link...
Works fine from switzerland

How to SOLVE market issues with 5.0.xG version (ideas needed)

Too much things in the original post "HTC Sapphire/Vodafone Magic G1 Port".
I'd like to focus on solutions to solve the market issues on 5.0.xG versions.
PLEASE : NO TROLL such as "move to 5.0.xH version, it's better, and it works". Move to another post to troll.
We are here to find solution.
Few ideas have been discussed in the original post such as vendink.apk version or build.prop.
Does anybody have more ideas ?
here is a dump of HTTP packets transiting during a Market application request (useful siwtchers)
It was done (and failed) with 5.0.1G
It could be very interesting to view the same exchange with a working Market version such as 5.0.2H or ADP1. Anybody can do the same capture ? I used BackTrak Linux distribution to did that.
We can see an interesting string in the Market HTTP request : "location,1.0,android,android,en_US.5........g...........g:loc/ql...........1.0.Tandroid/tmobile/kila/dream/trout:1.1/PLAT-RC33/126986:user/ota-rel-keys,release-keys.#2:ddGVOXszuvQlZm8K:1TxOlLJHRfpoZ92D*.fr_FR2.....F SFR .(......server.checkin....settings....location....systemupdater....android....providers.subscribedfeeds....providers.settings"
http://koxx3.free.fr/http_android.cap
http://koxx3.free.fr/http_android.txt
No. Time Source Destination Protocol Info
217 4.254998 192.168.0.104 209.85.229.104 HTTP [TCP Previous segment lost] Continuation or non-HTTP traffic
Frame 217 (881 bytes on wire, 881 bytes captured)
IEEE 802.11 Data, Flags: ...P...T
Logical-Link Control
Internet Protocol, Src: 192.168.0.104 (192.168.0.104), Dst: 209.85.229.104 (209.85.229.104)
Transmission Control Protocol, Src Port: 43119 (43119), Dst Port: http (80), Seq: 139, Ack: 1, Len: 797
Source port: 43119 (43119)
Destination port: http (80)
Sequence number: 139 (relative sequence number)
[Next sequence number: 936 (relative sequence number)]
Acknowledgement number: 1 (relative ack number)
Header length: 32 bytes
Flags: 0x18 (PSH, ACK)
Window size: 5840 (scaled)
Checksum: 0xe072 [correct]
Options: (12 bytes)
[SEQ/ACK analysis]
Hypertext Transfer Protocol
Data (797 bytes)
Data: 00020000226C6F636174696F6E2C312E302C616E64726F69...
0000 08 11 2c 00 00 14 bf 26 7c d8 00 18 41 f3 15 41 ..,....&|...A..A
0010 00 14 bf 26 7c d6 f0 0e aa aa 03 00 00 00 08 00 ...&|...........
0020 45 00 03 51 cd c2 40 00 40 06 f2 15 c0 a8 00 68 [email protected]@......h
0030 d1 55 e5 68 a8 6f 00 50 92 10 67 a4 c3 69 e7 ee .U.h.o.P..g..i..
0040 80 18 0b 68 e0 72 00 00 01 01 08 0a 00 05 aa b6 ...h.r..........
0050 92 94 e5 d0 00 02 00 00 22 6c 6f 63 61 74 69 6f ........"locatio
0060 6e 2c 31 2e 30 2c 61 6e 64 72 6f 69 64 2c 61 6e n,1.0,android,an
0070 64 72 6f 69 64 2c 65 6e 5f 55 53 87 35 04 ae 15 droid,en_US.5...
0080 0b e4 9a 00 01 67 00 00 02 e4 00 01 00 00 09 00 .....g..........
0090 08 67 3a 6c 6f 63 2f 71 6c 00 00 00 00 02 d2 0a .g:loc/ql.......
00a0 97 01 0a 03 31 2e 30 12 54 61 6e 64 72 6f 69 64 ....1.0.Tandroid
00b0 2f 74 6d 6f 62 69 6c 65 2f 6b 69 6c 61 2f 64 72 /tmobile/kila/dr
00c0 65 61 6d 2f 74 72 6f 75 74 3a 31 2e 31 2f 50 4c eam/trout:1.1/PL
00d0 41 54 2d 52 43 33 33 2f 31 32 36 39 38 36 3a 75 AT-RC33/126986:u
00e0 73 65 72 2f 6f 74 61 2d 72 65 6c 2d 6b 65 79 73 ser/ota-rel-keys
00f0 2c 72 65 6c 65 61 73 65 2d 6b 65 79 73 1a 23 32 ,release-keys.#2
0100 3a 64 64 47 56 4f 58 73 7a 75 76 51 6c 5a 6d 38 :ddGVOXszuvQlZm8
0110 4b 3a 31 54 78 4f 6c 4c 4a 48 52 66 70 6f 5a 39 K:1TxOlLJHRfpoZ9
0120 32 44 2a 05 66 72 5f 46 52 32 0e 08 05 12 05 46 2D*.fr_FR2.....F
0130 20 53 46 52 20 0a 28 d0 01 12 10 0a 0e 73 65 72 SFR .(......ser
0140 76 65 72 2e 63 68 65 63 6b 69 6e 12 0a 0a 08 73 ver.checkin....s
0150 65 74 74 69 6e 67 73 12 0a 0a 08 6c 6f 63 61 74 ettings....locat
0160 69 6f 6e 12 0f 0a 0d 73 79 73 74 65 6d 75 70 64 ion....systemupd
0170 61 74 65 72 12 09 0a 07 61 6e 64 72 6f 69 64 12 ater....android.
0180 1b 0a 19 70 72 6f 76 69 64 65 72 73 2e 73 75 62 ...providers.sub
0190 73 63 72 69 62 65 64 66 65 65 64 73 12 14 0a 12 scribedfeeds....
01a0 70 72 6f 76 69 64 65 72 73 2e 73 65 74 74 69 6e providers.settin
01b0 67 73 22 bc 03 0a ac 01 0a 0e 08 98 2a 10 90 ce gs".........*...
01c0 04 18 0a 20 d0 01 28 08 10 a7 a1 c4 82 8b 24 1a ... ..(.......$.
01d0 1f 08 ff ff ff ff ff ff ff ff ff 01 10 ff ff ff ................
01e0 ff ff ff ff ff ff 01 18 0a 20 d0 01 28 14 40 72 ......... ..([email protected]
01f0 1a 20 08 ff ff ff ff ff ff ff ff ff 01 10 ff ff . ..............
0200 ff ff ff ff ff ff ff 01 18 0a 20 d0 01 28 00 40 .......... ..([email protected]
0210 94 03 22 12 08 98 2a 10 90 ce 04 18 0a 20 d0 01 .."...*...... ..
0220 28 08 30 c7 f4 07 22 12 08 98 2a 10 8e ce 04 18 (.0..."...*.....
0230 0a 20 d0 01 28 09 30 d3 d6 07 22 12 08 98 2a 10 . ..(.0..."...*.
0240 90 ce 04 18 0a 20 d0 01 28 09 30 f2 9e 04 22 12 ..... ..(.0...".
0250 08 98 2a 10 8e ce 04 18 0a 20 d0 01 28 08 30 f6 ..*...... ..(.0.
0260 ba 03 28 02 12 85 02 08 f7 a5 c4 82 8b 24 12 13 ..(..........$..
0270 0a 11 30 30 3a 31 34 3a 62 66 3a 32 36 3a 37 63 ..00:14:bf:26:7c
0280 3a 64 38 12 13 0a 11 30 30 3a 31 61 3a 36 62 3a :d8....00:1a:6b:
0290 62 34 3a 61 34 3a 34 65 12 13 0a 11 30 30 3a 31 b4:a4:4e....00:1
02a0 36 3a 34 31 3a 30 34 3a 32 65 3a 35 65 12 13 0a 6:41:04:2e:5e...
02b0 11 30 30 3a 31 61 3a 32 62 3a 36 63 3a 66 65 3a .00:1a:2b:6c:fe:
02c0 62 34 12 13 0a 11 30 30 3a 30 37 3a 63 62 3a 35 b4....00:07:cb:5
02d0 30 3a 32 31 3a 35 36 12 13 0a 11 30 30 3a 31 36 0:21:56....00:16
02e0 3a 34 31 3a 30 34 3a 36 34 3a 64 61 12 13 0a 11 :41:04:64:da....
02f0 61 32 3a 34 61 3a 35 35 3a 61 33 3a 34 33 3a 66 a2:4a:55:a3:43:f
0300 37 12 13 0a 11 37 65 3a 62 64 3a 66 33 3a 39 35 7....7e:bd:f3:95
0310 3a 64 39 3a 36 37 12 13 0a 11 30 30 3a 31 36 3a :d9:67....00:16:
0320 63 65 3a 32 35 3a 37 36 3a 64 32 12 13 0a 11 30 ce:25:76:d2....0
0330 30 3a 30 33 3a 63 39 3a 36 66 3a 64 38 3a 65 31 0:03:c9:6f:d8:e1
0340 12 13 0a 11 30 30 3a 32 32 3a 33 66 3a 32 65 3a ....00:22:3f:2e:
0350 33 38 3a 35 37 12 13 0a 11 30 30 3a 30 37 3a 63 38:57....00:07:c
0360 62 3a 35 31 3a 39 38 3a 34 37 18 02 9a 06 02 08 b:51:98:47......
0370 01 .
No. Time Source Destination Protocol Info
236 4.440358 209.85.229.104 192.168.0.104 HTTP [TCP Previous segment lost] Continuation or non-HTTP traffic
Frame 236 (419 bytes on wire, 419 bytes captured)
IEEE 802.11 Data, Flags: ..m...F.
Logical-Link Control
Internet Protocol, Src: 209.85.229.104 (209.85.229.104), Dst: 192.168.0.104 (192.168.0.104)
Transmission Control Protocol, Src Port: http (80), Dst Port: 43119 (43119), Seq: 289, Ack: 936, Len: 335
Source port: http (80)
Destination port: 43119 (43119)
Sequence number: 289 (relative sequence number)
[Next sequence number: 624 (relative sequence number)]
Acknowledgement number: 936 (relative ack number)
Header length: 32 bytes
Flags: 0x18 (PSH, ACK)
Window size: 8384 (scaled)
Checksum: 0x10b9 [correct]
Options: (12 bytes)
[SEQ/ACK analysis]
Hypertext Transfer Protocol
Data (335 bytes)
Data: 0002000001478100000900C8000167000001F21F8B080000...
0000 08 22 2c 00 00 18 41 f3 15 41 00 14 bf 26 7c d8 .",...A..A...&|.
0010 00 14 bf 26 7c d6 a0 39 aa aa 03 00 00 00 08 00 ...&|..9........
0020 45 00 01 83 f5 7f 00 00 34 06 18 27 d1 55 e5 68 E.......4..'.U.h
0030 c0 a8 00 68 00 50 a8 6f c3 69 e9 0e 92 10 6a c1 ...h.P.o.i....j.
0040 80 18 00 83 10 b9 00 00 01 01 08 0a 92 94 e6 bb ................
0050 00 05 aa b6 00 02 00 00 01 47 81 00 00 09 00 c8 .........G......
0060 00 01 67 00 00 01 f2 1f 8b 08 00 00 00 00 00 00 ..g.............
0070 00 8d 90 3f 4b c3 50 14 c5 1b eb 10 82 4a 4c 29 ...?K.P......JL)
0080 84 68 21 a8 20 74 7a 79 7f 93 33 b9 09 76 f1 23 .h!. tzy..3..v.#
0090 f8 f2 8f 82 8b ae 3a 08 ae 2e 4e 22 88 f5 03 b8 ......:...N"....
00a0 fa 11 04 c1 41 9c 9c fd 02 6e ee 7a 4b 5b 43 d1 ....A....n.zK[C.
00b0 c1 37 3d ee 39 f7 77 0e d7 6d 05 1f 6d b7 15 84 .7=.9.w..m..m...
00c0 9e b7 fc 76 b8 de eb b2 e7 dc 09 af 9c 78 97 dd ...v.........x..
00d0 3d 3d 9e 5f 6c 45 9b 5e 87 b4 95 21 69 ef 19 69 ==._lE.^...!i..i
00e0 9f ed 78 b0 b3 10 2c b9 d7 7d ff f2 65 31 f4 e2 ..x...,..}..e1..
00f0 57 27 ea 05 6b ee d7 ec 39 7e f3 fd 97 dc 8d 3a W'..k...9~.....:
0100 de 2a 63 48 34 64 02 26 a1 25 4a 1b 6d 7b 3e 25 .*cH4d.&.%J.m{>%
0110 1f 9f 51 f2 f0 86 92 07 f1 7e 63 2c 2a 70 05 a3 ..Q......~c,*p..
0120 51 f2 c9 be e5 90 16 4a c1 0a 48 81 da fc 60 39 Q......J..H...`9
0130 87 a8 c1 2b 88 14 ca 4c b1 e2 94 b0 1b f7 84 3d ...+...L.......=
0140 68 b0 16 3c 87 2e 50 57 c8 65 53 cb 42 e7 34 80 h..<..PW.eS.B.4.
0150 95 90 d5 64 6c c8 51 a2 16 c8 14 ca 0c 7a 86 dd ...dl.Q......z..
0160 1b 63 4f 46 73 6d 99 41 91 43 51 91 04 4a 37 58 .cOFsm.A.CQ..J7X
0170 89 9c 6a 69 98 02 65 fa fb 08 54 58 55 53 ac df ..ji..e...TXUS..
0180 27 ec c3 51 31 87 15 28 28 b9 a6 65 54 c9 d4 c8 '..Q1..((..eT...
0190 c6 f9 b8 fd 2b 3f 41 96 42 9a 6f d5 ef 07 79 f2 ....+?A.B.o...y.
01a0 01 00 00 ...
Click to expand...
Click to collapse
I've been following the haykuro megathread...so I wanted to throw out what people are talking about there.
It's possible that there is a difference between the way H and G builds are identifying themselves. We've got a dump from the G build, can anyone get one from the H build so we can compare? That's the first step to either identifying this as the problem or ruling it out. If we can rule out the identification factor it may come down to the actual vending.apk just having a bug, or maybe that specific version of vending.apk is being identified by google. Anyway, it's a start.
TemporalShadows said:
I've been following the haykuro megathread...so I wanted to throw out what people are talking about there.
It's possible that there is a difference between the way H and G builds are identifying themselves. We've got a dump from the G build, can anyone get one from the H build so we can compare? That's the first step to either identifying this as the problem or ruling it out. If we can rule out the identification factor it may come down to the actual vending.apk just having a bug, or maybe that specific version of vending.apk is being identified by google. Anyway, it's a start.
Click to expand...
Click to collapse
do you know if anybody try do pick a vendor.apk from H and run it on G ?
another intersting thing can be to explore build.prop (because it is really used for Market exchange) difference to be sure we can't use G market app (with H build.prop file).
can anybody post a /system/build.prop file in H & G versions here ?
koxx said:
do you know if anybody try do pick a vendor.apk from H and run it on G ?
another intersting thing can be to explore build.prop (because it is really used for Market exchange) difference to be sure we can't use G market app (with H build.prop file).
can anybody post a /system/build.prop file in H & G versions here ?
Click to expand...
Click to collapse
H version of vendor.apk doesn't work on G. At least when I tried it.
Hasn't this already been fixed?
http://code.google.com/p/sapphire-port-dream/downloads/list
koxx said:
another intersting thing can be to explore build.prop (because it is really used for Market exchange) difference to be sure we can't use G market app (with H build.prop file).
can anybody post a /system/build.prop file in H & G versions here ?
Click to expand...
Click to collapse
There's no need; they are identical. If you don't believe me, open H and G update.zip in an archive manager and look at the build.prop checksums. They are identical.
ok ... "good".
here is 5.0.1G build.prop
http://koxx3.free.fr/build.prop.5.0.1G
we really need 5.0.2H build.prop file
do you konw how to get it ?
grokdesigns said:
Hasn't this already been fixed?
http://code.google.com/p/sapphire-port-dream/downloads/list
Click to expand...
Click to collapse
That fix did not resolve the issue.
build.prop from 5.0G and 5.0H are exactly the same..
i'm looking into the issue now. will post back here when it is resolved.
common string between build.prop and HTTP request :
ro.build.fingerprint=tmobile/kila/dream/trout:1.1/PLAT-RC33/126986:user/ota-rel-keys,release-keys
HTTP request : "location,1.0,android,android,en_US.5........g.... .......g:loc/ql...........1.0.Tandroid/tmobile/kila/dream/trout:1.1/PLAT-RC33/126986:user/ota-rel-keys,release-keys.#2:ddGVOXszuvQlZm8K:1TxOlLJHRfpoZ92D*.fr_FR2. ....F SFR .(......server.checkin....settings....location.... systemupdater....android....providers.subscribedfe eds....providers.settings"
Hey Koxx; do you have any quick way of getting your tcp-dump data easily? I'd be glad to help then.
haykuro said:
build.prop from 5.0G and 5.0H are exactly the same..
Click to expand...
Click to collapse
OK, no need to look into this point.
haykuro said:
i'm looking into the issue now. will post back here when it is resolved.
Click to expand...
Click to collapse
Can the "new" G market application transmit more or different informations with same build.prop ?
emms007 said:
Hey Koxx; do you have any quick way of getting your tcp-dump data easily? I'd be glad to help then.
Click to expand...
Click to collapse
easy, not exactly, but not too long.
You need a Laptop with Wifi & a home acces point.
You download a Linux distribution specialized for wifi security test (suck as BackTrak, here : http://www.remote-exploit.org/backtrack_download.html)
You boot on this Live CD.
Here are commands to log wifi packets :
ifconfig wlan0 up
airmon-ng start wlan0
airodump-ng wlan0
airodump-ng wlan0 -c 7 -w nom_fichier # 7 etant le canal wifi des echanges entre ton AP et ton G1
easy
J'avais jamais fait, ca m'a pris moins d'une heure.
Typically...if we're talking about the old rules (no tinfoil hats) the build was identified by the market using the ro.build.fingerprint from the build.prop.
That's what we had to change to make PAID apps work in both builds.
BUT, you can copy the H build.prop to G and it doesn't fix the problem.
I have yet to see anywhere what Haykuro did to make the R2 builds.
Try copying H version's gtalkservice.apk along with Vending.apk
TheDudeOfLife said:
BUT, you can copy the H build.prop to G and it doesn't fix the problem.
Click to expand...
Click to collapse
Did you read what I (and subsequently Hakuro) wrote above? the build properties are identical.
I did a tcpdump on my 5.0.2H and did a successful download. follow the tcpstream in wireshark and I don't see anything similar to
HTTP request : "location,1.0,android,android,en_US.5........g .... .......g:loc/ql...........1.0.Tandroid/tmobile/kila/dream/trout:1.1/PLAT-RC33/126986:user/ota-rel-keys,release-keys.#2:ddGVOXszuvQlZm8K:1TxOlLJHRfpoZ92D*.fr_FR2. ....F SFR .(......server.checkin....settings....location.... systemupdater....android....providers.subscribedfe eds....providers.settings"
Click to expand...
Click to collapse
As I said in the other thread I am sure the market issue has something to do with the market application version. With the almost same build.prop between H and G there's no difference exchanging them.
The interesting part is that G says for "build number" (directly on the phone) PLAT-RC33 (or something like that, forgotten) with the same build.prop. So I edited the build.prop many many times and tried much more options and and and.
Yesterday I flashed back to JF. Installed all my apps directly from the market again. This morning I've downloaded a new application and after that I saw the new uploaded Haykuro build which said "fixed market". I've flashed (wiped twice before and once after) and then configured (APN, wireless networks, etc.) and rebooted the device. After the device rebooted I saw the arrow-down-icon in the notification bar - the application I've downloaded this morning was automatically downloaded and installed. I was happy and thought "Cool, it's really fixed!". But: I couldn't download anything form the market (stalled "downloading file").
My guess is, that Google updated something in the communication between server (market online) and client (market application) for the upcoming Android phones and/or SDK 1.5 - so the "old" client versions act like before and the "new" client versions are somehow blocked/stalled/whatever.
whatchamccallum said:
I did a tcpdump on my 5.0.2H and did a successful download. follow the tcpstream in wireshark and I don't see anything similar to
Click to expand...
Click to collapse
perfect !!!!
can you give all the exchange ? with hexa values ?
and the HTTP answer from google server ?
mrcrb said:
As I said in the other thread I am sure the market issue has something to do with the market application version. With the almost same build.prop between H and G there's no difference exchanging them.
The interesting part is that G says for "build number" (directly on the phone) PLAT-RC33 (or something like that, forgotten) with the same build.prop. So I edited the build.prop many many times and tried much more options and and and.
Yesterday I flashed back to JF. Installed all my apps directly from the market again. This morning I've downloaded a new application and after that I saw the new uploaded Haykuro build which said "fixed market". I've flashed (wiped twice before and once after) and then configured (APN, wireless networks, etc.) and rebooted the device. After the device rebooted I saw the arrow-down-icon in the notification bar - the application I've downloaded this morning was automatically downloaded and installed. I was happy and thought "Cool, it's really fixed!". But: I couldn't download anything form the market (stalled "downloading file").
My guess is, that Google updated something in the communication between server (market online) and client (market application) for the upcoming Android phones and/or SDK 1.5 - so the "old" client versions act like before and the "new" client versions are somehow blocked/stalled/whatever.
Click to expand...
Click to collapse
sounds solid, they're probably updating for 1.5 and did something so that only version 1.5 would be effected by the maintenance, thus causing the slowdown for us(my guess this is probably just a different market application, maybe one that goes through a different server). It definitely isn't blocking downloads though as I've had 3 go through so far. Each one just took a ridiculously long time.

Audio device

Hi everyone,
I've cross-compiled mplayer in order to use it with my magic. Everything's ok except...
Mplayer's seeking to /dev/dsp and android platforms doesn't have this device, an ls returns:
Code:
/ # ls -Al /dev
drwxr-xr-x 2 0 0 260 May 27 22:02 adsp
crw-r----- 1 1008 1000 10, 43 May 27 22:02 akm8976_aot
crw-r----- 1 1008 1000 10, 44 May 27 22:02 akm8976_daemon
crw-r----- 1 1008 1000 10, 42 May 27 22:02 akm8976_pffd
crw-rw-r-- 1 1000 1001 10, 45 May 27 22:02 alarm
crw-rw---- 1 1011 1011 10, 48 May 27 22:02 android_adb
crw-rw---- 1 1011 1011 10, 47 May 27 22:02 android_adb_enable
crw-rw-rw- 1 0 0 10, 53 May 27 22:02 ashmem
crw-rw-rw- 1 0 0 10, 52 May 27 22:02 binder
drwxr-xr-x 3 0 0 380 May 27 22:02 block
crw------- 1 0 0 5, 1 May 27 22:02 console
crw------- 1 0 0 10, 39 May 27 22:02 cpu_dma_latency
crw------- 1 0 0 10, 40 May 27 22:02 device-mapper
crw-rw-rw- 1 0 0 1, 7 May 27 22:02 full
drwxr-xr-x 2 0 0 60 May 27 22:02 graphics
crw-rw-rw- 1 1000 1005 10, 54 May 27 22:02 htc-acoustic
crw-rw---- 1 1000 1003 10, 0 May 27 22:02 hw3d
drwxr-xr-x 2 0 0 160 May 27 22:02 input
crw------- 1 0 0 10, 46 May 27 22:02 keychord
crw------- 1 0 0 1, 11 May 27 22:02 kmsg
drwxr-xr-x 2 0 0 100 May 27 22:02 log
crw-rw---- 1 1000 1005 10, 57 May 27 22:02 msm_audpre
crw-rw---- 1 1000 1005 10, 56 May 27 22:02 msm_mp3
crw-rw---- 1 1000 1005 10, 59 May 27 22:02 msm_pcm_ctl
crw-rw---- 1 1000 1005 10, 58 May 27 22:02 msm_pcm_in
crw-rw---- 1 1000 1005 10, 60 May 27 22:02 msm_pcm_out
crw-rw---- 1 1000 1005 10, 55 May 27 22:02 msm_snd
crw-rw---- 1 1000 1000 10, 41 May 27 22:02 mt9t013
drwxr-xr-x 2 0 0 280 May 27 22:02 mtd
crw------- 1 0 0 10, 38 May 27 22:02 network_latency
crw------- 1 0 0 10, 37 May 27 22:02 network_throughput
crw-rw-rw- 1 0 0 1, 3 May 27 22:02 null
drwxr-xr-x 2 0 0 680 May 27 22:02 oncrpc
crw-rw---- 1 1000 1003 10, 1 May 27 22:02 pmem
crw-rw---- 1 1000 1005 10, 2 May 27 22:02 pmem_adsp
crw-rw---- 1 1000 1006 10, 5 May 27 22:02 pmem_camera
crw-rw---- 1 1000 1003 10, 3 May 27 22:02 pmem_gpu0
crw-rw---- 1 1000 1003 10, 4 May 27 22:02 pmem_gpu1
crw------- 1 0 0 108, 0 May 27 22:02 ppp
crw-rw-rw- 1 0 0 5, 2 May 29 12:59 ptmx
drwxr-xr-x 2 0 0 0 Jan 1 1970 pts
crw-r----- 1 1001 1001 10, 63 May 27 22:02 qmi0
crw-r----- 1 1001 1001 10, 62 May 27 22:02 qmi1
crw-r----- 1 1001 1001 10, 61 May 27 22:02 qmi2
crw-rw-rw- 1 0 0 1, 8 May 27 22:02 random
crw-r----- 1 1001 1001 254, 0 May 29 12:43 smd0
crw------- 1 0 0 254, 27 May 27 22:02 smd27
drwxr-xr-x 2 0 0 180 May 29 11:07 socket
crw-rw-rw- 1 0 0 5, 0 May 27 22:02 tty
crw------- 1 1002 1002 250, 0 May 29 09:02 ttyHS0
crw------- 1 1002 1002 251, 0 May 27 22:02 ttyMSM0
crw------- 1 1002 1002 10, 223 May 27 22:02 uinput
crw-rw-rw- 1 0 0 1, 9 May 27 22:02 urandom
crw-rw-rw- 1 0 0 1, 5 May 27 22:02 zero
So i think that the audio device could be /dev/htc-acoustic but I'm not quite sure, anybody have this information in order I could compile mplayer again?
Thank you all
EDIT: I've tried some of those devices (msm_snd, htc-acoustic, msm_pcm_out, ...) with the -ao option but none seems to work.
By default, mplayer use this device : /dev/dvb/adapter0/audio0 (but the path doesn't exist)
Code:
/ # mplayer /sdcard/Music/pornophonique\ -\ 8-bit\ lagerfeuer/01\ -\ sad\ robot.
mp3
MPlayer 1.0rc2-4.3.3 (C) 2000-2007 MPlayer Team
CPU: ARM
Impossible de trouver le répertoire HOME.
Lecture de /sdcard/Music/pornophonique - 8-bit lagerfeuer/01 - sad robot.mp3
Fichier de type Audio file détecté.
Information sur le clip :
Title: sad robot
Artist: pornophonique
Album: 8-bit lagerfeuer
Year: 2007
Comment: http://www.jamendo.com/
Genre: Pop
==========================================================================
Ouverture décodeur audio : [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Codec audio sélectionné : [mp3] afm : mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
[AO OSS] audio_setup: Impossible ouvrir périphérique audio /dev/dsp : No such file or directory
Opening /dev/dvb/adapter0/audio0
DVB AUDIO DEVICE: No such file or directory
AO: [null] 44100Hz 2ch s16le (2 bytes per sample)
Vidéo : pas de vidéo
Démarre la lecture...
A: 2.5 (02.5) of 367.0 (06:07.0) 66.6%

Fix for ARLiberator 3.01 half screen issue on HDMI sticks

When using ARLiberator on a HDMI stick to connect to an AppRadio it seems to work however there's an issue that only half of the screen can be reached. Which makes it pretty useless even though it seems a small problem and indeed it was. I have developed a fix for it that involves modifying the APK of the ARLiberator 3.01 version.
The steps are as following:
1) Get apktool
- Goto https://code.google.com/p/android-apktool/downloads/list
- Download apktool1.5.2.tar.bz2
- Download apktool-install-windows-r05-ibot.tar.bz2
- Unpack both files in a directory like c:\apktool so it will look like this
aapt.exe
apktool.bat
apktool.jar
2) Get Java JDK 7u25
- Goto //www.oracle.com/technetwork/java/javase/downloads/index.html
- Click on Java Platform (JDK) 7u25
- Click on jdk-7u25-windows-i586.exe if you have a 32bits system
- Click on jdk-7u25-windows-x64.exe if you have a 64bits system
- Save file and install it.
- Add C:\Program Files\Java\jdk1.7.0_25\bin to your path variable.
3) Open command line in c:\apktool
C:\Apktool>java -version
java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b17)
Java HotSpot(TM) Client VM (build 23.25-b01, mixed mode, sharing)
4) Copy your 3.01 apk file to c:\apktool in my case called com.kyle.arliberator-a49f58a925d99a41afeb9a36d472b806.apk
5) Decompile
C:\Apktool>apktool d com.kyle.arliberator-a49f58a925d99a41afeb9a36d472b806.apk 301
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Documents and Settings\Ruud\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
6) Fix files
Open file C:\Apktool\301\smali\com\kyle\arliberator\TouchHandler.smali
Goto line 72. "if-le v0, v1, :cond_0"
Change it to "goto :cond_0"
Open file C:\Apktool\301\smali\com\kyle\arliberator\KillNanny.smali
Goto line 807. "0x1e1cf -> :sswitch_1"
Change it to "0x1e1cf -> :sswitch_0"
7) Build apk
C:\Apktool>apktool b 301 301fixed.apk
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
I: Copying libs...
I: Building apk file...
8) Prepare apk signing (only need to do once, values you enter don't really matter except password)
C:\Apktool>keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000
Enter keystore password: android
Re-enter new password: android
What is your first and last name?
[Unknown]: james brown
What is the name of your organizational unit?
[Unknown]: fluffy
What is the name of your organization?
[Unknown]: fluffers
What is the name of your City or Locality?
[Unknown]: amsterdam
What is the name of your State or Province?
[Unknown]: nh
What is the two-letter country code for this unit?
[Unknown]: nl
Is CN=james brown, OU=fluffy, O=fluffers, L=amsterdam, ST=nh, C=nl correct?
[no]: yes
Generating 2,048 bit RSA key pair and self-signed certificate (SHA256withRSA) with a validity of 10,000 days
for: CN=james brown, OU=fluffy, O=fluffers, L=amsterdam, ST=nh, C=nl
Enter key password for <alias_name>
(RETURN if same as keystore password):
New certificate (self-signed):
[
[
Version: V3
Subject: CN=james brown, OU=fluffy, O=fluffers, L=amsterdam, ST=nh, C=nl
Signature Algorithm: SHA256withRSA, OID = 1.2.840.113549.1.1.11
Key: Sun RSA public key, 2048 bits
modulus: 2302897498469818610507865964188619447321569256045500777798690530354475198664205066592969169321470713032681508
733306834574529850207658647514679181766691822631188140576709323607982695172198123038121197240253522055939542487047506386
716104547119098887170863849418260816385179213380928971384233871142993611611834083487249662969179258518611292988333637102
227241592334735863024515710929024071170905152943178086184336293000456783247552092347479124040297057663523558151307892056
393360874914089822140793285958124895164763575613359626849777825230884625298246269560901997927825106169042411463502008207
2538339018083911783240963349
public exponent: 65537
Validity: [From: Thu Aug 15 22:36:25 CEST 2013,
To: Mon Dec 31 21:36:25 CET 2040]
Issuer: CN=james brown, OU=fluffy, O=fluffers, L=amsterdam, ST=nh, C=nl
SerialNumber: [ 123ba4dd]
Certificate Extensions: 1
[1]: ObjectId: 2.5.29.14 Criticality=false
SubjectKeyIdentifier [
KeyIdentifier [
0000: 18 2A 06 45 87 E9 63 88 52 F7 D1 6C 38 C2 F0 CC .*.E..c.R..l8...
0010: 36 11 9A D7 6...
]
]
]
Algorithm: [SHA256withRSA]
Signature:
0000: 1E BB 4E 57 3D AF C8 51 AA 08 62 5C C9 17 ED B6 ..NW=..Q..b\....
0010: 7E 91 A7 2C 9B A2 E8 31 ED C3 92 FE 67 33 0F 08 ...,...1....g3..
0020: DD 07 51 DF 40 DD 49 B0 A3 BC 79 DE 1B DE 0A F2 ..Q @.i...y.....
0030: E6 91 50 F2 65 3C 14 4B 80 C5 D8 68 10 29 C5 3F ..P.e<.K...h.).?
0040: 3E 8F 01 AC F7 12 25 79 E3 48 80 A8 2C 94 3A 08 >.....%y.H..,.:.
0050: 0D 1F C4 17 56 39 B4 7F 8C 3A 9D 7D EB 29 22 9F ....V9...:...)".
0060: 40 7A 2A 98 CE 5A 24 79 34 AA 85 EE D7 9E DB 6D @z*..Z$y4......m
0070: 1B 50 58 E5 68 22 58 FB A5 84 15 B1 8E 17 FD E8 .PX.h"X.........
0080: 40 E2 95 7A 27 4D 0F E0 6B 45 69 E7 29 80 AB 02 @..z'M..kEi.)...
0090: 38 BB 5B AB 62 68 4B 88 12 1D 32 97 0D 15 F4 9C 8.[.bhK...2.....
00A0: BC 49 11 D1 1E C9 D1 0E 20 92 D0 DE BE C7 73 81 .I...... .....s.
00B0: 38 93 C7 53 36 FD 7E CA 76 1A 71 93 43 B1 95 5D 8..S6...v.q.C..]
00C0: 27 D6 2B 0E E2 EC 57 47 90 EB C0 4B 79 C5 2E 3A '.+...WG...Ky..:
00D0: 91 EA F4 37 B6 10 AC B1 C5 D0 81 6C 42 37 ED E8 ...7.......lB7..
00E0: 77 94 4B E6 1A 07 90 AE B1 A1 5D 24 F7 73 A5 96 w.K.......]$.s..
00F0: B1 08 58 1F 0A 14 D7 06 3A 3A 5F 28 BE 75 E1 01 ..X.....::_(.u..
]
[Storing my-release-key.keystore]
9) Sign apk file
C:\Apktool>jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.keystore 301fixed.apk alias_name
Enter Passphrase for keystore: android
adding: META-INF/MANIFEST.MF
adding: META-INF/ALIAS_NA.SF
adding: META-INF/ALIAS_NA.RSA
signing: assets/digital7.ttf
signing: lib/armeabi/libndk1.so
signing: res/anim/dialog_enter.xml
signing: res/anim/dialog_exit.xml
signing: res/anim/fade_in.xml
..
..
signing: res/xml/appradiohome.xml
signing: res/xml/changelog.xml
signing: res/xml/settings.xml
signing: AndroidManifest.xml
signing: classes.dex
signing: resources.arsc
10) Install your new apk file and enjoy
note: Google license check is removed so it can run anywhere.
Please keep this in mind and do not spread it around.
This only works with invert xy coordinates enabled in the settings.
any suggestions on the better HDMI Sticks to use for this?
Same question, which stick is the best to get?
xdaisgreat said:
Same question, which stick is the best to get?
Click to expand...
Click to collapse
I don't know which one is best but I got a Tronsmart MK908. It's a quad core and it's fast and snappy. It should provide more than enough processing power and memory (2GB) to play music, video and run a navigation app. Here you can read more about it XDA discussion on MK908.
I installed some apps and everything seems to work well and fast. In the XDA discussion some people complain that it's 720p and not 1080p but for use with an AppRadio that doesn't matter at all. To cut a long story short, I got one and I am happy with it thus far.
I fixed this ARL issue but then didn't finish my complete setup with the MK908 yet because now I am working on hacking the Pioneer AppRadio app so it will allow complete control of your phone/stick. I am doing this because ARL doesn't support AppRadio 3 but the Pioneer App does.
Also with ARL 3.01 it was quite difficult to get Bluetooth connected with the stick. This is an ARL issue because the Pioneer app has no problems connecting.
Difficult? How so exactly? Where are the issues?
Willing to try it so I am not limited on my phone selection
Sent from my Nexus 7 using Tapatalk 4
-=Jeff=- said:
Difficult? How so exactly? Where are the issues?
Click to expand...
Click to collapse
That you have to retry connecting many times before it connects. What seems to help is to cycle Bluetooth on/off. If you scroll down a bit here http://forum.xda-developers.com/showthread.php?t=1622795&page=36 there's some quite complicated procedure on how to get it connecting. Note that the older ARL V2.51 had no connection issues. Anyway it's an ARL issue and since the appradio forums is back on I suggest you check there for possible solutions.
This is very interesting, i have been trying to get a Minix Neo X7 Quad core box installed for a week now. i have all the connections working really well but the touch screen is well off.
It would seem using the stock application for touch would not really give me any alignment at all. all the calibration tool did was show on the right had side of the screen and once complete really didn't match a thing.
Once i installed the modded APK the calibration tool still only shows on the right of the screen but i now have the left of the screen setup ok. all works and touch is spot on.!
So can you tell me if the application can be modded again to give me touch across the whole thing?
smartit said:
This is very interesting, i have been trying to get a Minix Neo X7 Quad core box installed for a week now. i have all the connections working really well but the touch screen is well off.
It would seem using the stock application for touch would not really give me any alignment at all. all the calibration tool did was show on the right had side of the screen and once complete really didn't match a thing.
Once i installed the modded APK the calibration tool still only shows on the right of the screen but i now have the left of the screen setup ok. all works and touch is spot on.!
So can you tell me if the application can be modded again to give me touch across the whole thing?
Click to expand...
Click to collapse
Of course it can. If you are willing to spend enough time on it.
Did you enable invert xy coordinates?
This issue should have been fixed by the ARL dev long time ago already. It was actually one of the reasons why I started development of the AppRadio Unchained mod.
When I have some time I will look at it again. There's another line in the code where the coordinates are limited. Removing this will fix the problem.
Area51© said:
Of course it can. If you are willing to spend enough time on it.
Did you enable invert xy coordinates?
This issue should have been fixed by the ARL dev long time ago already. It was actually one of the reasons why I started development of the AppRadio Unchained mod.
When I have some time I will look at it again. There's another line in the code where the coordinates are limited. Removing this will fix the problem.
Click to expand...
Click to collapse
Thank you for your response.
I have not had another chance to look at this but I will over the weekend. I am sure I checked the invert checkbox but I think I will flush all app data and try again, I have noticed that the DEV has added lines for screen resolution etc and I am wondering if it thinks its still in portrait mode. I will confirm all this over the weekend. you also mentioned you have had better connection success with an older version of the app?
Would you be able to PM me about this?
smartit said:
Thank you for your response.
I have not had another chance to look at this but I will over the weekend. I am sure I checked the invert checkbox but I think I will flush all app data and try again, I have noticed that the DEV has added lines for screen resolution etc and I am wondering if it thinks its still in portrait mode. I will confirm all this over the weekend. you also mentioned you have had better connection success with an older version of the app?
Would you be able to PM me about this?
Click to expand...
Click to collapse
Ok, I checked for you. To remove the other limiting thingy, add the following to step 6) :
In TouchHandler.smali
Goto line 119: "if-lt v0, v1, :cond_0"
Change it to "goto :cond_0"
I hope this helps. I would rather not spend more time on it. Quite busy with AppRadio Unchained development.
Thanks again. For you quick help with.
Sent from my GT-I9505 using Tapatalk
Really so I have to recompile the whole package? Yikes! There has to be an easier way. Do you have a patch I could apply? I'm using a mouse to get around the screen right now but that's not really how I wanted to do things.
SageForce said:
Really so I have to recompile the whole package?
Click to expand...
Click to collapse
Yeah. I could have put the APK somewhere for download but didn't want to make a pirated copy available. Also I don't have loads of spare time to make things as easy as possible for anybody that possibly wants to use this. Maybe you can contribute something?
I hear you on that could you PM me a link? I've got my license version but I'd like to take a look at it and see what I could do?
Area51© said:
Yeah. I could have put the APK somewhere for download but didn't want to make a pirated copy available. Also I don't have loads of spare time to make things as easy as possible for anybody that possibly wants to use this. Maybe you can contribute something?
Click to expand...
Click to collapse
Thank u very much
Your tutorial works very fine for me. Takes me about 20 minutes till its works. thx a lot!!:good::good::good:
I tried to do that but it is still not working for my ODROID U3 .
If someone has an idea !
Edit : My bad, I've done again the calibration and now it's working well. Thanks .
My only problem is that I need to force the connection at startup.
Thanks for the write up. I have a MK809III with AppRadio Unchained. Funny enough, it does the same half screen thing. I am going to try this tonight & see if it works. If so, I'll do a FULL walkthrough on setting this up. The main problem I see is that there are soo many variants of these sticks. On my board, its listed a Ver 5_2, which I could not find almost any ROMs that worked. One good thing though, the WiFi is pretty good. It looks like they have an antenna built in around the perimeter of the board.
Sincidius said:
Thanks for the write up. I have a MK809III with AppRadio Unchained. Funny enough, it does the same half screen thing. I am going to try this tonight & see if it works. If so, I'll do a FULL walkthrough on setting this up. The main problem I see is that there are soo many variants of these sticks. On my board, its listed a Ver 5_2, which I could not find almost any ROMs that worked. One good thing though, the WiFi is pretty good. It looks like they have an antenna built in around the perimeter of the board.
Click to expand...
Click to collapse
After not being happy with ARL I made ARU and ARUReloaded that definitely does not have this issue. If you have ARUR make sure that you have selected 'Invert XY-coordinates' in the settings.
Area51© said:
After not being happy with ARL I made ARU and ARUReloaded that definitely does not have this issue. If you have ARUR make sure that you have selected 'Invert XY-coordinates' in the settings.
Click to expand...
Click to collapse
Yeah, 720P output, invert, reset, worked. Thanks!
The only issue now is Google Play music using the SD card storage. I have tried almost everything (Xposed Music fix, RootBrowser) but cannot seem to get Play Music to download to the SD card. The select memory under settings isn't even available. Not looking for a solution, just whining.

[GUIDE] OBEX Protocol for Samsung GSM devices specification

Author: Apriorit (Device Team)
Permanent link: www(dot)apriorit(dot)com/dev-blog/58-samsung-obex-specification
This article describes the protocol of data exchange that is the modification of the well-known OBEX protocol used in the GSM Samsung phones from the SHP family. The described modification of this protocol lets you write data to the phone and also get and save them.
Introduction
This article describes the protocol of data exchange that is the modification of the well-known OBEX protocol used in the GSM Samsung phones from the SHP family. The described modification of this protocol lets you write data to the phone and also get and save them.
Samsung Corporation made the new line of phones from SHP family and implemented the support of OBEX protocol in them that had not been used in the phones of this company before. Tries to use the common OBEX protocol did not succeed. This problem was solved by means of sniffing the Samsung PC Studio 3.0 utility. The obtained results are given in the main part of the article.
This article will be useful for those who develop utilities for writing/reading information from the phones. The described protocol modification will solve the problem of communicating with the device.
First we consider three main types of the protocol commands. Then we pay our attention to the sequence of the commands sent to connect with the device, read data and finish the session. Then I will give some examples for the main commands. At the end of the article some summary will be given.
Main protocol commands format
All protocol commands can be divided into 2 types:
1. AKN-packages. They are packages to confirm the data receiving and request the next part of the extended package.
2. Data packages. They are initialization, acquiring, closing etc. There can be Request and Answer packages.
AKN package is one block with 3 bytes length: 0x83 0x00 0x03.
Request package has the following structure:
Size (bytes) Meaning Description
1 Package ID 0x80 Select the answering device, obtain the properties and establish connection
0x81 Finish the connection session
0x82 Write an object
0x83 Read an object
0x84 Reserved
0х85 Select the default directory on the receiving side
0хFF Cancel current operation
2 Package size The size of the whole package (from the zero byte and to the end)
… Data blocks Some number of data blocks that depends on the context of the command containing them.
Format:
Size (bytes) Meaning Description
1 Type Set the type of the data in the block
2 Size The size of the whole data block (from the zero byte and to the end)
N-3 Data Some data depending on the type specified by the first byte
The description of the Answer packages is given in the table below.
Size (bytes) Value Description
1 Package ID 0x90 Successful but not completed (received package is a part of the extended package)
0xA0 Successful and completed
0xC3 Access denied
0xC4 Not found
0xC9 Conflict
2 Package size The size of the whole package (from the zero byte and to the end)
… Data blocks Some number of data blocks that depends on the context of the command containing them.
Format:
Size (bytes) Meaning Description
1 Type Set the type of the data in the block
2 Size The size of the whole data block (from the zero byte and to the end)
N-3 Data Some data depending on the type specified by the first byte
The sequence of commands
As any standard communication protocol modified OBEX consists of the sequence of requests and answers. In general the communication session can be divided into 3 phases:
1. Initialization
2. Acquiring data
3. Closing the session
Table with the session description is given below.
Initialization phase
Request 41 54 2B 53 59 4E 43 4D 4C 3D 4D 4F 42 45 58 53 54 41 52 54 0D 0A AT+SYNCML=MOBEXS
Answer 41 54 2B 53 59 4E 43 4D 4C 3D 4D 4F 42 45 58 5354 41 52 54 0D 4F 4B 0D 0A AT+SYNCML=MOBEXSTART.OK..
Request 80 00 0F 11 00 FF FF 46 00 08 4D 4F 42 45 58 А.... F..MOBEX
Answer A0 00 14 12 00 05 78 CB 00 00 00 01 4A 00 08 4D 4F 42 45 58 а.....x╦....J..MOBEX
Acquiring phase
Request A series of requests and answers for acquiring data
Answer Note: if the first byte of the package is equal to 0x90 then it is so-called extended package and then the sending of AKN-package (0x83 0x00 0x03) is required,
after it the device will give us the other parts of the package.
Closing phase
Request 81 00 08 CB 00 00 00 01 Б..╦....
Answer A0 00 03 а..
Commands examples
Let’s consider some examples of the data acquisition. They will be the examples of working with the file system.
Obtaining the list of subfolders of the folder(m-obex/fs/folder_listing)
Request
83 00 29 CB 00 00 00 01 42 00 1C 6D 2D 6F 62 65 ?.)E....B..m-obex/fs/folder_listing..../.
78 2F 66 73 2F 66 6F 6C 64 65 72 5F 6C 69 73 74
69 6E 67 00 01 00 05 2F 00
Size (bytes) Value Description
1 0x83 Reading
2 0x00 0x29 Package size
1 0xCB Data block type
4 0x00 0x00 0x00 0x01 Reserved
1 0x42 Data block type (text)
2 0x00 0x1C Block size
N-3 m-obex/fs/folder_listing Block data (command name)
1 0x01 Block type (list)
2 0x00 0x05 Block size
N-3 0x2F 0x00 Block data
Note: “/” for the root, “/” for the other folders
Answer
A0 00 FC 42 00 1B 6D 2D 6F 62 65 78 2F 66 73 2F .uB..m-obex/fs/
66 6F 6C 64 65 72 5F 6C 69 73 74 69 6E 67 C3 00 folder_listingA.
00 00 D6 49 00 D9 41 75 64 69 6F 2C 30 2C 31 31 ..OI.UAudio,0,11
31 30 30 31 30 31 30 2C 32 30 30 34 3A 30 33 3A 1001010,2004:03:
30 31 20 30 31 3A 30 33 3A 30 30 5C 72 5C 6E 47 01 01:03:00\r\nG
72 61 70 68 69 63 73 2C 30 2C 31 31 31 30 30 31 raphics,0,111001
30 31 30 2C 32 30 30 34 3A 30 33 3A 30 31 20 30 010,2004:03:01 0
31 3A 30 33 3A 30 30 5C 72 5C 6E 56 69 64 65 6F 1:03:00\r\nVideo
2C 30 2C 31 31 31 30 30 31 30 31 30 2C 32 30 30 ,0,111001010,200
34 3A 30 33 3A 30 31 20 30 31 3A 30 33 3A 30 30 4:03:01 01:03:00
5C 72 5C 6E 4D 75 73 69 63 2C 30 2C 31 31 31 30 \r\nMusic,0,1110
30 31 30 31 30 2C 32 30 30 34 3A 30 33 3A 30 31 01010,2004:03:01
20 30 31 3A 30 33 3A 30 30 5C 72 5C 6E 4F 74 68 01:03:00\r\nOth
65 72 20 46 69 6C 65 73 2C 30 2C 31 er Files,0,1
31 31 30 30 31 30 31 30 2C 32 30 30 34 3A 30 33 11001010,2004:03
3A 30 31 20 30 31 3A 30 33 3A 30 30 5C 72 5C 6E :01 01:03:00\r\n
Size Value Description
1 0xA0 Successful operation
2 0x00 0x0F Package size
1 0x42 Block type
2 0x00 0x1C Block size
N-3 m-obex/fs/folder_listing(0x00) Block data
1 0xCB Block type
4 0x00 0x00 0x00 0xD6 Reserved
1 0x49 Block type
2 0x00 0xD9 Block size
N-3 Block data
Note: the list items are separated with the pair of symbols “\r\n”
Each element of the list is the folder description: [Name][Size(always 0)][Attributes][Modified][Created].
So in the example of these two commands you can see the general structure of the package in the modified OBEX protocol.
In conclusion I want to mention that the records in the phone book as well as the calendar are represented in VCard as it was in the previous versions of the OBEX protocols.

Categories

Resources