Close

Results 1 to 14 of 14
  1. #1
    DF VIP Member reverend's Avatar
    Join Date
    Feb 2006
    Location
    On the couch
    Posts
    2,615
    Thanks
    181
    Thanked:        452
    Karma Level
    403

    Default Anyone need files recovering from a Nokia backup?

    Right then, I've been looking all over the internet for something that would allow me to access files in backup.arc, which is the file that is generated when you go into the Memory application on a Nokia Series 60 phone and select 'Backup Phone to Memory Card' and found nothing!

    Anyway, I eventually found a script that parsed binary data for files in the GZip format and uncompresses them so that they're usable again, but the problem is that it doesn't actually load the file in at all so it just didn't do anything!

    I've never touched PHP before but have been sat tonight figuring out how to do it and it looks like I've just recovered all the messages, pictures and everything from the backup.arc file!

    I've still got some work to do on the script to make it usable for other people as it's really messy at the mo, but just wondered if it's worth me finishing it off so that you guys can use it - is there anyone here that would find this useful?

    If so I'll finish it off somehow

  2. #2
    DF VIP Member reverend's Avatar
    Join Date
    Feb 2006
    Location
    On the couch
    Posts
    2,615
    Thanks
    181
    Thanked:        452
    Karma Level
    403

    Default Re: Anyone need files recovering from a Nokia backup?

    OK I'm all finished anyway

    Right then, basically all you need is the backup.arc file from the \backup folder on your memory card, this stores everything that has been backed up from your phone.

    The first script just extracts things like pics, vids and tunes etc.

    PHP Code:
    <?php

    //header("Content-Type: "."text/plain");
    $index 0;

    $backupfilename "backup.arc";

    $fr fopen($backupfilename,'rb');
    $compressed fread($frfilesize($backupfilename));
    echo 
    strlen($compressed);

    echo 
    "Finding headers..\n";
    //while(!(FALSE === ($iParse = strpos ($compressed, chr(0x78).chr(0xda)))) )
    while(!(FALSE === ($iParse strpos ($compressedchr(0x78).chr(0x9c)))) )
    {
      
    $iSkip 1;
      echo 
    "iParse: ".$iParse."  DataLeft: ".strlen($compressed)."\n";
      
    $compressed substr($compressed$iParse);
      if(
    FALSE != ($uncompressed gzuncompress($compressed)) )
      {
        
    //$iSkip = strlen(gzcompress($uncompressed, 6));
        //              file_put_contents("bck_".$index, $uncompressed);
        
    $filename "bck_".$index;
        if (!
    $handle fopen($filename'a')) {
          echo 
    "Cannot open file ($filename)";
          continue;
        }

         if (
    fwrite($handle$uncompressed) === FALSE) {
             echo 
    "Cannot write to file ($filename)";
         }

         
    fclose($handle);

        
    $index++;
      }

      echo 
    "Skipping ".$iSkip."\n";
      
    //remove "x"
      
    $compressed  substr($compressed$iSkip);
    }
    ?>
    The second script extracts things like contact data, messages and calendar data:

    PHP Code:
    <?php

    //header("Content-Type: "."text/plain");
    $index 0;

    $backupfilename "backup.arc";

    $fr fopen($backupfilename,'rb');
    $compressed fread($frfilesize($backupfilename));
    echo 
    strlen($compressed);

    echo 
    "Finding headers..\n";
    while(!(
    FALSE === ($iParse strpos ($compressedchr(0x78).chr(0xda)))) )
    //while(!(FALSE === ($iParse = strpos ($compressed, chr(0x78).chr(0x9c)))) )
    {
      
    $iSkip 1;
      echo 
    "iParse: ".$iParse."  DataLeft: ".strlen($compressed)."\n";
      
    $compressed substr($compressed$iParse);
      if(
    FALSE != ($uncompressed gzuncompress($compressed)) )
      {
        
    //$iSkip = strlen(gzcompress($uncompressed, 6));
        //              file_put_contents("bck_".$index, $uncompressed);
        
    $filename "bck_".$index;
        if (!
    $handle fopen($filename'a')) {
          echo 
    "Cannot open file ($filename)";
          continue;
        }

         if (
    fwrite($handle$uncompressed) === FALSE) {
             echo 
    "Cannot write to file ($filename)";
         }

         
    fclose($handle);

        
    $index++;
      }

      echo 
    "Skipping ".$iSkip."\n";
      
    //remove "x"
      
    $compressed  substr($compressed$iSkip);
    }
    ?>
    Both scripts output the data found to files named BCK_xxx - the xxx is a numeric value that increments for each new file.

    Unfortunately you can't tell which files are of which type but you can kind of guess by the size, or just do a search for JFIF or Exif which gives you all the JPGs etc.

    Just save them into a file named whatever.php and then run at the command line via

    php whatever.php

    They'll run through and when the script encounters any GZip'd data it will extract it to disk!

    Works ok and I've just recovered all the data from my N73 now
    Last edited by reverend; 7th December 2006 at 11:21 PM.

  3. #3
    DF Rookie TestosTeronE's Avatar
    Join Date
    Jun 2007
    Location
    FRANCE
    Posts
    3
    Thanks
    0
    Thanked:        0
    Karma Level
    0

    Default Re: Anyone need files recovering from a Nokia backup?

    Hello, Y-O-U A-R-E T-H-E M-A-N

    I have a N93 nokia phone and I saw that u posted a message for anyone who needed to retrieve data from a backup.arc file !

    That really interests me because I lost all my contact numbers and that is a real problem because I have all my customers in it...

    U posted this script :
    PHP Code:
    <?php

    //header("Content-Type: "."text/plain");
    $index 0;

    $backupfilename "backup.arc";

    $fr fopen($backupfilename,'rb');
    $compressed fread($frfilesize($backupfilename));
    echo 
    strlen($compressed);

    echo 
    "Finding headers..\n";
    while(!(
    FALSE === ($iParse strpos ($compressedchr(0x7.chr(0xda)))) )
    //while(!(FALSE === ($iParse = strpos ($compressed, chr(0x7.chr(0x9c)))) )
    {
    $iSkip 1;
    echo 
    "iParse: ".$iParse." DataLeft: ".strlen($compressed)."\n";
    $compressed substr($compressed$iParse);
    if(
    FALSE != ($uncompressed gzuncompress($compressed)) )
    {
    //$iSkip = strlen(gzcompress($uncompressed, 6));
    // file_put_contents("bck_".$index, $uncompressed);
    $filename "bck_".$index;
    if (!
    $handle fopen($filename'a')) {
    echo 
    "Cannot open file ($filename)";
    continue;
    }

    if (
    fwrite($handle$uncompressed) === FALSE) {
    echo 
    "Cannot write to file ($filename)";
    }

    fclose($handle);

    $index++;
    }

    echo 
    "Skipping ".$iSkip."\n";
    //remove "x"
    $compressed substr($compressed$iSkip);
    }
    ?>
    Can u make an executable file or what ? or explain me more about how to use it. I am really new in PHP I don't know anything. I have created a script.PHP file and I've put all your script in it. But then, I cannot execute it with my "Backup.arc" file.

    THANK YOU FOR ANSWERING.

  4. #4
    DF Rookie TestosTeronE's Avatar
    Join Date
    Jun 2007
    Location
    FRANCE
    Posts
    3
    Thanks
    0
    Thanked:        0
    Karma Level
    0

    Default Re: Anyone need files recovering from a Nokia backup?

    you are very interesting; i have lost everything on my mobile phone! i have my backup.arc file but i cannot retrieve my contact's telephone numbers and It is very important for me because they are all my 300 customers!

    Your script looks very intereting but I don 't know anything about PHP. Please contact me or post an explanation to use your script...it looks like chinese for me : )

    THANK YOU FOR ALL.

  5. #5
    DF VIP Member Ganty's Avatar
    Join Date
    Jan 2007
    Location
    Leicester
    Posts
    9,298
    Thanks
    949
    Thanked:        682
    Karma Level
    1166

    Default Re: Anyone need files recovering from a Nokia backup?

    Just thought I should let you know you may not get a response as quickly as you like!
    This thread is quite old anyway, but if you're patient I'm sure someone will be able to help you

  6. #6
    DF Rookie TestosTeronE's Avatar
    Join Date
    Jun 2007
    Location
    FRANCE
    Posts
    3
    Thanks
    0
    Thanked:        0
    Karma Level
    0

    Default Re: Anyone need files recovering from a Nokia backup?

    8)

  7. #7
    DF VIP Member BertRoot's Avatar
    Join Date
    Sep 2004
    Location
    Poppy Fields
    Posts
    23,955
    Thanks
    1,038
    Thanked:        2,059
    Karma Level
    2513

    Default Re: Anyone need files recovering from a Nokia backup?

    Not bad. Three posts and all in this thread. Do you have any other interests?


  8. #8
    DF VIP Member reverend's Avatar
    Join Date
    Feb 2006
    Location
    On the couch
    Posts
    2,615
    Thanks
    181
    Thanked:        452
    Karma Level
    403

    Default Re: Anyone need files recovering from a Nokia backup?

    Can't make an exe of it as I'm on the Mac, but if you're desperate send me your backup.arc file and I'll see what I can do - don't worry if there are any nice French titties in there I won't post them up here!

  9. #9
    DF Rookie mrbenn's Avatar
    Join Date
    Jun 2007
    Location
    uk
    Posts
    2
    Thanks
    0
    Thanked:        0
    Karma Level
    0

    Default Re: Anyone need files recovering from a Nokia backup?

    reverend: thank you so much for the script, it MAY just save my life IF i can get it working 100% properly. I had a problem with sisters phone and had to factory reset after doing a backup. However, when it restarted after the reset, the option to restore the backup had gone I do have a copy of the backup.arc file and (after a bit of wrangling) have installed and got the script working and extracted a load of bck_* files. However there are a couple of problems:
    1: I am getting an error Warning: gzuncompress() [function.gzuncompress]: data error for each bck_* file the script creates
    2: I do not know how to get the bck_* files back into the phone in the readable format (do they need renamed? folders to put them in etc) - am only really interested in the contacts and messages. If i open the bck_* in a text editor program i can see text i know is from some of the backed up texts etc but that only makes it more tantalisingly close and frustrating

    please help, any advice would be gratefully received
    Last edited by mrbenn; 16th June 2007 at 03:58 PM. Reason: spellcheck

  10. #10
    DF Rookie hypermaster's Avatar
    Join Date
    Jun 2007
    Location
    Mumbai, India
    Posts
    1
    Thanks
    0
    Thanked:        0
    Karma Level
    0

    Attention Re: Anyone need files recovering from a Nokia backup?

    Hi,
    I saw your post on this site. I think your the only one who can help me out & the only one who managed to extract data from back.arc file of a nokia backup.
    This is extremely urgent.... i have a nokia N80 which i backed up & then after upgrading it,,it does not restore the backup.arc file... can you please extract the contacts and messages for me..this is extremely urgent...
    i'll be extremely greatful to you if you can do it for me...
    Please email me back so that i can send you my backup.arc file..

    i dont know anything about php, thats why i'm asking...
    if you need any help with any software for your nokia or PPC phone or anything like that, maybe i can help...
    Please help..Please help....

    Thanks,
    Regards,
    Gaurav Vadehra
    (Mumbai, India)
    ( hypermaster@gmail.com )

  11. #11
    DF Rookie mehtadone's Avatar
    Join Date
    Jun 2007
    Location
    London
    Posts
    2
    Thanks
    0
    Thanked:        0
    Karma Level
    0

    Default Re: Anyone need files recovering from a Nokia backup?

    Quote Originally Posted by mrbenn View Post
    reverend: thank you so much for the script, it MAY just save my life IF i can get it working 100% properly. I had a problem with sisters phone and had to factory reset after doing a backup. However, when it restarted after the reset, the option to restore the backup had gone I do have a copy of the backup.arc file and (after a bit of wrangling) have installed and got the script working and extracted a load of bck_* files. However there are a couple of problems:
    1: I am getting an error Warning: gzuncompress() [function.gzuncompress]: data error for each bck_* file the script creates
    2: I do not know how to get the bck_* files back into the phone in the readable format (do they need renamed? folders to put them in etc) - am only really interested in the contacts and messages. If i open the bck_* in a text editor program i can see text i know is from some of the backed up texts etc but that only makes it more tantalisingly close and frustrating

    please help, any advice would be gratefully received
    I've got this far too! Did you figure out what to do next? Again, mainly for contacts.

  12. #12
    DF Rookie mrbenn's Avatar
    Join Date
    Jun 2007
    Location
    uk
    Posts
    2
    Thanks
    0
    Thanked:        0
    Karma Level
    0

    Default Re: Anyone need files recovering from a Nokia backup?

    nope, no reply from original poster so far

  13. #13
    DF Rookie mehtadone's Avatar
    Join Date
    Jun 2007
    Location
    London
    Posts
    2
    Thanks
    0
    Thanked:        0
    Karma Level
    0

    Default Re: Anyone need files recovering from a Nokia backup?

    Ok, I managed to recover my contacts. Use textpad to edit each file. One or two will have your numbers in it. Rename to Contacts.cdb and then use Noki or such a tool to export to VCard. Then you can reimport using iSync!! lol! It works!

  14. #14
    DF Rookie al_lea's Avatar
    Join Date
    Sep 2007
    Location
    BeiJing
    Posts
    2
    Thanks
    0
    Thanked:        0
    Karma Level
    0

    Default Re: Anyone need files recovering from a Nokia backup?

    Noki is a Nokia backup file extractor (support .nbu, .nfb, backup.arc, .nfc, contacts.cdb).

    It's recently upgraded to v1.8 with MMS, Skype, Call Group support.

    Check Noki site at: http://www.nokisoft.com

Similar Threads

  1. Nokia 8310
    By Pegasus in forum Buy, Sell and Trade
    Replies: 1
    Last Post: 18th September 2002, 09:26 PM
  2. Nokia 8310
    By mjf5 in forum Buy, Sell and Trade
    Replies: 3
    Last Post: 18th September 2002, 09:18 PM
  3. WTD: nokia 7110/8210 or swap 4 dc + extras
    By Billy_Wiz in forum Buy, Sell and Trade
    Replies: 1
    Last Post: 30th August 2002, 08:58 PM

Social Networking Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •