Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.hardware > #3006 > unrolled thread

hacking a mobile's SMS files?

Started byUnknown <dog@gmail.com>
First post2016-01-21 17:47 +0000
Last post2016-01-23 03:17 +0100
Articles 2 — 2 participants

Back to article view | Back to comp.os.linux.hardware


Contents

  hacking a mobile's SMS files? Unknown <dog@gmail.com> - 2016-01-21 17:47 +0000
    Re: hacking a mobile's SMS files? "Carlos E. R." <robin_listas@invalid.es> - 2016-01-23 03:17 +0100

#3006 — hacking a mobile's SMS files?

FromUnknown <dog@gmail.com>
Date2016-01-21 17:47 +0000
Subjecthacking a mobile's SMS files?
Message-ID<pan.2016.01.22.04.54.02@gmail.com>
Here in S.Africa [3rd world going 4th] I bought a cheap ZTE mobile,
hoping to be able to transfer text between my computer to someone who
has only got a mobile.

It was a complete failure, but works nicely for audio: playing 
TextToSpeech and a radio.

Now I've become curious again to see how I could eg. read/write
the SMSs directly from the computer.

The non-SD-card memory where the SMS's are stored, is only 
770 block [35KB].

So I saved this mem to file:A, 
 added "abc" to the tail of an existing stored/readable SMS
 and saved that as file:B

 cmp -l A B <-- shows 12 bytes difference between files A & B
 1103 307  43
 1104 206 221
 1111 307  43
 1112 206 221
 5647 307  43
 5648 206 221
 5655 307  43
 5656 206 221
 5679 307  43
 5680 206 221
 5687 307  43
 5688 206 221

What going on here?
OK, it's 6 double-bytes.
Perhaps if I'd added 5 chars instead of 3, I'd have gotten
10 double-bytes different.

No!! The 6 double-bytes are identical.
Redundant, repetition.
It seems that the 3 new chars are in 1 double-byte, which
is possible. 

fdisk identifies the file system as QNX.
And  wasn't able to mount it.
And used `dd` to read the contents.

Let's look at the Hex:
A=
00000450 35 48 00 00 | 00 00 C7 86 | 35 48 03 00 | 00 00 00 00  
5H......5H......
00000450 35 48 00 00 | 00 00 23 91 | 35 48 03 00 | 00 00 00 00  
5H....#.5H......
=B

BTW. the file names are written in plain ASCII. eg:
.... 20 20 20 10 | 00 00 99 A0  PHOTOS 

Does someone here know the SMS protocol ?

== TIA.

[toc] | [next] | [standalone]


#3007

From"Carlos E. R." <robin_listas@invalid.es>
Date2016-01-23 03:17 +0100
Message-ID<se4bnc-6q5.ln1@minas-tirith.valinor>
In reply to#3006
On 2016-01-21 18:47, Unknown wrote:

> Now I've become curious again to see how I could eg. read/write
> the SMSs directly from the computer.

I don't know if this is what you want, but there are tools to do that,
like 'gnokii'. You could try to see if it connects to your phone, and
then, if you still want to hack it, then have a look at the source code
to find out how they do it.

-- 
Cheers,
       Carlos E.R.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.os.linux.hardware


csiph-web