On 31 December 2010 01:20, Flush <[email protected]> wrote:
> Hello,
>
> I have a problem since one or two months ago. Some times I get some DISK I/O
> errors in phoneui.log and the sms I recieve after that errors seems to be 
> lost.
> When someone
>
> send me a SMS, the phone lights and the tiny envelope icon with the number 1 
> is
> showed. But the message is not open as usual. When I access  the messages
> application, the sms does not appear. I cannot delete any of the existing
> message. To do this, I need to reboot the phone. The envelope icon still 
> appears
>
> there when the reboot is finished.
>
>
> If I access  the  /var/volatile/tmp/fsogsmd/sms directory,  i can see one
> directory with the last updated date matching the message date. It contains 
> one
> file, the message I presume, but it's binary so I can not read it.
>
> There is anyway I Can read that message? It's lost forever?

I found http://brokenpipe.de/misc/chipcard/sim-intro.html - near to
the end of the page there's a link to a small c-program. It's a bit
cumbersome, you need to do a hexdump of the packet, find packet start
and feed the bytes to the program:

$ hexdump -C 001
00000000  01 00 00 00 01 00 00 00  34 39 31 37 37 30 36 31  |........49177061|
00000010  30 30 30 30 00 00 00 00  00 00 00 00 00 00 00 00  |0000............|
00000020  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000030  00 00 00 00 05 00 00 00  00 00 00 00 73 69 6d 79  |............simy|
00000040  6f 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |o...............|
00000050  00 00 00 00 c9 00 0a 03  0a 0a 09 18 04 90 cb b7  |................|
00000060  9b 2e 7f b3 d9 e9 b2 bc  ec 06 4d d3 65 50 3b 4d  |..........M.eP;M|
00000070  07 91 cb 6d 10 31 4c 2f  bb 5b d2 77 b8 9d 76 9f  |...m.1L/.[.w..v.|
00000080  5b cc 74 3b 4d 07 85 c5  a0 f9 db fc 96 d3 41 ea  |[.t;M.........A.|
...
The package starts at 5d hex, 90 is the length of the message, cb b7
9b 2e ... is the message itself. If you want you can send me just the
hexdump of you packet, I'll decode it for you.

> How I can do  a fsck or similar to the SD card (I have shr installed there) 
> with
> the freerunner?

Do "e2fsck -y /dev/mmcblk0p1" to check the first partition on the
sd-card when it's not mounted and when you've not booted from it.
_______________________________________________
Shr-User mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-user

Reply via email to