View Single Post
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#78
HI to all..
I want to share how I restored my contacts/messages/call-history, maybe it will be usefull for someone...
Yesterday it was my first time, since I purchased my N9 (2 years ago), that I stuck without contacts/messages/call-history... Sometimes it happened before, but was always solved quickly.. Yesterday just nothing worked - reboot/shutdown/full-refresh/restart-some-processes/killall-apps, nothing...
I had last system backup from one month ago, but it enough for me, because I didn't update contacts in this period and last messages not so important for me...

The method:
1. Create new folder in /home/user/MyDocs/.backups named like system one, for example "Backup1"
2. Copy to this folder 3 files from your original backup folder:
Code:
backup.metadata
contacts.zip
messaging.zip
3. Edit backup.metadata file. Example of original one:
Code:
<backup-metadata>
  <format>2</format>
  <size>183213812</size>
  <number-of-files>71631</number-of-files>
  <timestamp>1384851119</timestamp>
  <time_for_restoration>0</time_for_restoration>  <protected>false</protected>
  <device-version></device-version>
  <notes>New_19.11.13</notes>
  <categories>
    <contacts>
      <size>108900691</size>
      <number-of-files>70374</number-of-files>
    </contacts>
    <emails>
      <size>11417919</size>
      <number-of-files>274</number-of-files>
    </emails>
    <messaging>
      <size>2982020</size>
      <number-of-files>108</number-of-files>
    </messaging>
    <organizer>
      <size>2355959</size>
      <number-of-files>21</number-of-files>
    </organizer>
    <bookmarks>
      <size>6456</size>
      <number-of-files>25</number-of-files>
    </bookmarks>
    <settings>
      <size>57349604</size>
      <number-of-files>821</number-of-files>
    </settings>
    <applications>
      <size>201163</size>
      <number-of-files>8</number-of-files>
    </applications>
  </categories>
</backup-metadata>
To this one:
Code:
<backup-metadata>
  <format>2</format>
  <size>111882711</size>
  <number-of-files>70482</number-of-files>
  <timestamp>1384851119</timestamp>
  <time_for_restoration>1387138664</time_for_restoration>  <protected>false</protected>
  <device-version></device-version>
  <notes>Only_mess-cont_19.11.13</notes>
  <categories>
    <contacts>
      <size>108900691</size>
      <number-of-files>70374</number-of-files>
    </contacts>
    <messaging>
      <size>2982020</size>
      <number-of-files>108</number-of-files>
    </messaging>
  </categories>
</backup-metadata>
4. Edit lines 3, 4, 9 (red color)
* line 3:
Code:
<size>111882711</size>  = contacts <size>108900691</size> + messaging <size>2982020</size>
* line 4:
Code:
<number-of-files>70482</number-of-files>  = contacts <number-of-files>70374</number-of-files> + messaging <number-of-files>108</number-of-files>
* Line 4:
Just change name to what you want for finding it easily...

5. Disable internet connection. I also switched off (disabled) all 4 my email accounts from the setting like suggested here by thedead1440 (thanks).

6. Open terminal and run:
Code:
tracker-control -r
7. Reboot your phone.

8. Open Gallery, Music, Video applications and leave them for a few min, when it will finish, you will see all your photos, music, video..

9. Open system backup: Setting -> Sync & backup -> Backup -> choose your new backup -> run restore. When it will finish, phone will reboot itself and you will find your contacts, call-history and messages where they should be..

Worked for me very good, it also saved all contacts parameters (ringtone, mails, facebook...)

Last edited by Schturman; 2013-12-16 at 21:00.
 

The Following 5 Users Say Thank You to Schturman For This Useful Post: