|
|
| Post Number: 1
|
thepriory 

Group: Members
Posts: 13
Joined: Apr. 2012
Member Rating: None
|
 |
Posted on: Apr. 18 2012,16:08 |
|
 |
Hi, This is my first post on here and was wondering if someone could help me. I have an iphone Keyboard text dat file, which when opened with a hex editor ( or notepad) displays a page of words. These are the words that have been typed into the iphone. Now the top half of the page shows the words in chronological order, however the bottom part the words are in alphabetical order. I guess the iphone sweeps from the top to the bottom occasionally.
What i want to do is rearrange these words so that they are ALL in chronological order.
I have been told the best way to do this is to use a Hex Editor.
I know it can be done as there is currently software (for $600) which can do it, but i cant afford.
Having no experience at all with Hex, I assume that somewhere in the hex'code' is a timestamp that can be used to rearrange these words.
I hope someone can help
Thanks
|
 |
|
|
| Post Number: 2
|
andrew 

Group: Super Administrators
Posts: 635
Joined: Oct. 2003
Member Rating: 4
|
 |
Posted on: Apr. 20 2012,03:10 |
|
 |
Can you post a bit of the data (as text) so I can take a look? Or email a file.
Note that Hexedit has no sort so it may not be easy to do what you want. might need a keystroke macro.
-------------- Andrew Phillips Moderator of Forums and creator of Hex Edit
|
 |
|
|
| Post Number: 3
|
thepriory 

Group: Members
Posts: 13
Joined: Apr. 2012
Member Rating: None
|
 |
Posted on: Apr. 20 2012,03:44 |
|
 |
Hi Andrew,
It would be easy for me to email you the file as its only small......what email address please?
Stuart
|
 |
|
|
| Post Number: 4
|
andrew 

Group: Super Administrators
Posts: 635
Joined: Oct. 2003
Member Rating: 4
|
 |
Posted on: Apr. 23 2012,13:17 |
|
 |
Just use the Help/Email Support menu item in HexEdit. You can attach a file to the email; from the dialog.
If that doesn't work just email to aphillips @ hexedit.com.
-------------- Andrew Phillips Moderator of Forums and creator of Hex Edit
|
 |
|
|
| Post Number: 5
|
thepriory 

Group: Members
Posts: 13
Joined: Apr. 2012
Member Rating: None
|
 |
Posted on: Apr. 24 2012,15:21 |
|
 |
Thanks, have emailed.
|
 |
|
|
| Post Number: 6
|
thepriory 

Group: Members
Posts: 13
Joined: Apr. 2012
Member Rating: None
|
 |
Posted on: May 03 2012,10:50 |
|
 |
Hi, I emailed the file across 10 days ago, but haven't heard back from you since. Did you receive the file ok and if so, were you able to help? thanks again
|
 |
|
|
| Post Number: 7
|
andrew 

Group: Super Administrators
Posts: 635
Joined: Oct. 2003
Member Rating: 4
|
 |
Posted on: May 06 2012,03:28 |
|
 |
I did not notice it. Will look more closely.
-------------- Andrew Phillips Moderator of Forums and creator of Hex Edit
|
 |
|
|
| Post Number: 8
|
thepriory 

Group: Members
Posts: 13
Joined: Apr. 2012
Member Rating: None
|
 |
Posted on: May 06 2012,04:21 |
|
 |
Hi, was emailed 24th April. If you have not received, let me know and I will resend
|
 |
|
|
| Post Number: 9
|
andrew 

Group: Super Administrators
Posts: 635
Joined: Oct. 2003
Member Rating: 4
|
 |
Posted on: May 15 2012,05:40 |
|
 |
I found it in my SPAM folder.
-------------- Andrew Phillips Moderator of Forums and creator of Hex Edit
|
 |
|
|
| Post Number: 10
|
thepriory 

Group: Members
Posts: 13
Joined: Apr. 2012
Member Rating: None
|
 |
Posted on: May 15 2012,15:24 |
|
 |
ahh excellent, I hope you have some success !!
|
 |
|
|
| Post Number: 11
|
thepriory 

Group: Members
Posts: 13
Joined: Apr. 2012
Member Rating: None
|
 |
Posted on: May 30 2012,13:18 |
|
 |
hello, have you had any luck?
|
 |
|
|
| Post Number: 12
|
andrew 

Group: Super Administrators
Posts: 635
Joined: Oct. 2003
Member Rating: 4
|
 |
Posted on: Jun. 06 2012,03:14 |
|
 |
Sorry, I didn't get back to you earlier but I had a look at the file and could not really tell much about it. (Also been a bit flat out recently.)
There appear to be two parts to the file as you say:
1. The first part just has strings separated by null (zero bytes) 2. The 2nd part has more strings but each is preceded by a byte for which I cannot discern a purpose, and again terminated by a null byte. - the single byte seems to be a small number (like 1, 2 etc) but can be larger (like 26) - the strings are not sorted alphabetically but seemed to be grouped on prefixes somehow
I think it would be possible to manually reorder the strings, placing them all in the first section. This would be very tedious.
It would be simple to write a program to reorder them but I do not known where you would find the ordering. You said you wanted chronological order but I don't think that is stored, unless the mysterious single byte values store some sort of time sequence.
To resolve this I either need: a) More information on the file format, OR b) Experiment with creating different files and inspecting the result. (I have no idea how the file you gave me was created - ie what order words were added etc).
Note that I have an Android phone but may be able to borrow an IPhone to experiment.
-------------- Andrew Phillips Moderator of Forums and creator of Hex Edit
|
 |
|
|
| Post Number: 13
|
thepriory 

Group: Members
Posts: 13
Joined: Apr. 2012
Member Rating: None
|
 |
Posted on: Jun. 10 2012,09:49 |
|
 |
Hi, Wow. I do have all of the iphone files on my hard-drive. Would the sequence be contained in their somewhere or would it be determined by hardware ? (the phone has now gone)
|
 |
|
|
| Post Number: 14
|
andrew 

Group: Super Administrators
Posts: 635
Joined: Oct. 2003
Member Rating: 4
|
 |
Posted on: Jun. 14 2012,21:45 |
|
 |
The sequence is determined by whatever software wrote the file. I doubt that any other files will be useful, but I can't say unless we find more information somewhere. Note that I avoid anything to do with Apple as they are very unhelpful in this sort of thing.
-------------- Andrew Phillips Moderator of Forums and creator of Hex Edit
|
 |
|
|
| Post Number: 15
|
thepriory 

Group: Members
Posts: 13
Joined: Apr. 2012
Member Rating: None
|
 |
Posted on: Jun. 15 2012,03:08 |
|
 |
OK I will see if I can find out. As you can see the text in the dat file is split into two halves. The first half shows words that were typed in most recently (in chrono order) the second half below,shows the words sorted roughly alphabetically which is fed from the top half words when it becomes full. But thats all Ive got at the mo. Will search online and see if I can find out more., Thanks
|
 |
|
|
| Post Number: 16
|
thepriory 

Group: Members
Posts: 13
Joined: Apr. 2012
Member Rating: None
|
 |
Posted on: Jun. 22 2012,02:15 |
|
 |
Nothing online.....looks like this time, Apple have beaten both of us
|
 |
|
|
| Post Number: 17
|
thepriory 

Group: Members
Posts: 13
Joined: Apr. 2012
Member Rating: None
|
 |
Posted on: Nov. 08 2012,11:50 |
|
 |
Hi, Me again.....I have found this site regarding potentially reordering the words in the iphone dictionary (I think!)....would this help? http://stackoverflow.com/questio....ry?rq=1
|
 |
|
|
| Post Number: 18
|
thepriory 

Group: Members
Posts: 13
Joined: Apr. 2012
Member Rating: None
|
 |
Posted on: Nov. 08 2012,11:52 |
|
 |
or this?......it means nothing to me, but might to you.....http://stackoverflow.com/questions/10074470/how-to-access-the-array-of-dictionary-values-in-iphone?rq=1
|
 |
|
|
|
|