Search Discussions:
Advanced Search...
Welcome to Nokia Support Discussions! Here you can share advice and tips with thousands of other Nokia users around the world in English. Many Nokia employees also follow and participate in the discussions, see our guidelines for more information. Everyone can search and read the discussions, but to post your own question or reply to others, simply sign in with your Nokia account. If this is your first time here, you can choose an alias to represent you. And if you don't have a Nokia account yet, please register.
Reply

.nbu file viewer

Registered Member
Posts: 1

.nbu file viewer

Guys,

Please help me with my contact. I backup my file contacts & messages, but i upgraded my phone i used to have a nokia 6230i, i need to view my contact so i can upload it to my phone or re-encode it. Is there a program that i can use to view the .NBU file?


Thanks
Please use plain text.
Sage
knowledge
Posts: 380

Re: .nbu file viewer

What program did you use to make the .NBU files ?
Knowledge should be your Advisor when you need help.
1610»2110»8110»5110»3310»6210»7250i»6220»6230»6230i»6233


Love me or hate me, its still an obsession. Love me or hate me, that is the question. If you love me then Thank you! If you hate me then ...
Please use plain text.
Professor
al_lea
Posts: 734

Re: .nbu file viewer

please try noki to extract and explore the .nbu file.
What's the law of the jungle?
Please use plain text.
Registered Member
Posts: 2

Re: .nbu file viewer

Just Download NBU Reader.
Download Link: http://www.thebeatlesforever.com/processtext/abcnbu.zip
Please use plain text.
Contributor
Posts: 7

Re: .nbu file viewer

that only does messages.

:smileysad:

noki is not free .
Please use plain text.
Registered Member
Posts: 4

Re: .nbu file viewer

hi i'm new, i red this topic and i built a software for you because i've had the same problem.

It's very bad from GUI but it's usefull. Remember to create 2 subfolders in the root of the program: CONTACTS and CALENDAR.

This is the link: http://visual.spazioms.0lx.net/cms/index.php?option=com_docman&task=doc_download&gid=1&Itemid=53 

Please use plain text.
Registered Member
Posts: 1

Re: .nbu file viewer

[ Edited ]
If you understand perl, here's a little script I wrote to convert my .nbu files to CSV.
Just replace the :smileysad: with ": (" with no spaces and :smileyvery-happy: to ": D" with no spaces.
 
This discussion form doesn't let me paste code :smileysad:
 
Hope it works out for you. Feel free to modify the code :smileyhappy:
 
Reza Sanaie 
 
================ 
 
#!/usr/bin/perl
use strict;
use Data::smileyvery-happy:umper;
my $F;
open($F,'file.nbu');
my $file = join '', <$F>;
close($F);
my @vcards;
print "First Name,Last Name,Birthday,Primary Phone,Home Phone,Home Phone 2,Mobile Phone,Mobile Phone 2,Mobile Phone 3,Work Phone,Work Phone 2,Home Fax\n";
my %max_phone;
while ($file =~ /BEGIN:VCARD(.*)END:VCARD/s) {
    $file =~ s/BEGIN:VCARD(.*?)END:VCARD//s;
    my $record = $1;
    $record =~ s/[\r\n]/_/g;
    $record =~ s/PHOTO;ENCODING=BASE64:crying:.*)$//;
    $record =~ s/VERSION:3\.0//;
    chomp $record;
    my @info;
    $record =~ s/_+/_/g;
    @info = split('_',$record);
    my %c;
    foreach my $record (@info) {
        if ($record =~ /^N:/) {
            $record =~ /^N:smileysad:.*?):crying:.*?);/;
            my $fname = $1;
            my $lname = $2;
            $c{FNAME} = $fname;
            $c{LNAME} = $lname;
        } elsif ($record =~ /^TEL:crying:[A-Z]+):smileysad:\+?\d+)/) {
            my $type = $1;
            my $num = $2;

            unless($c{$type}) { $c{$type} = () };
            push @{$c{$type}}, $2;
            $max_phone{$type} = int(@{$c{$type}}) > $max_phone{$type} ? int(@{$c{$type}}) : $max_phone{$type} ;

        } elsif ($record =~ /^BDAY:smileysad:\d{4})(\d{2})(\d{2})/) {
            $c{BDAY} = "$2/$3/$1";
        } else { #print $record . $/ if ($record);
        }
    }
    print join(',' , ($c{FNAME}, $c{LNAME}, $c{BDAY}, $c{VOICE}->[0], $c{HOME}->[0], $c{HOME}->[1], $c{CELL}->[0], $c{CELL}->[1], $c{CELL}->[2],                                                         $c{WORK}->[0], $c{WORK}->[1], $c{FAX}->[0])). $/;

Message Edited by rsanaie on 19-Jun-2009 08:55 AM
Please use plain text.
Registered Member
Posts: 1

Re: .nbu file viewer

thanks it works fine 

one thing is curly brace missing at the end i added it "}"

at last

i added few lines for writing the contents to file

 

 

#!/usr/bin/perl
use strict;
use Data::smileyvery-happy:umper;
my $F;
open($F,'file.nbu');
my $file = join '', <$F>;
close($F);

open(MYFILE, '>data.txt');

my @vcards;
print "First Name,Last Name,Birthday,Primary Phone,Home Phone,Home Phone 2,Mobile Phone,Mobile Phone 2,Mobile Phone 3,Work Phone,Work Phone 2,Home Fax\n";
my %max_phone;
while ($file =~ /BEGIN:VCARD(.*)END:VCARD/s) {
  $file =~ s/BEGIN:VCARD(.*?)END:VCARD//s;
  my $record = $1;
  $record =~ s/[\r\n]/_/g;
  $record =~ s/PHOTO;ENCODING=BASE64:crying:.*)$//;
  $record =~ s/VERSION:3\.0//;
  chomp $record;
  my @info;
  $record =~ s/_+/_/g;
  @info = split('_',$record);
  my %c;
  foreach my $record (@info) {
    if ($record =~ /^N:/) {
      $record =~ /^N:smileysad:.*?):crying:.*?);/;
      my $fname = $1;
      my $lname = $2;
      $c{FNAME} = $fname;
      $c{LNAME} = $lname;
    } elsif ($record =~ /^TEL:crying:[A-Z]+):smileysad:\+?\d+)/) {
      my $type = $1;
      my $num = $2;

      unless($c{$type}) { $c{$type} = () };
      push @{$c{$type}}, $2;
      $max_phone{$type} = int(@{$c{$type}}) > $max_phone{$type} ? int(@{$c{$type}}) : $max_phone{$type} ;

    } elsif ($record =~ /^BDAY:smileysad:\d{4})(\d{2})(\d{2})/) {
      $c{BDAY} = "$2/$3/$1";
    } else { #print $record . $/ if ($record);
    }
  }
  print MYFILE join(',' , ($c{FNAME}, $c{LNAME}, $c{BDAY}, $c{VOICE}->[0], $c{HOME}->[0], $c{HOME}->[1], $c{CELL}->[0], $c{CELL}->[1],
    $c{CELL}->[2],$c{WORK}->[0], $c{WORK}->[1], $c{FAX}->[0])). $/;
}
close (MYFILE);

Please use plain text.
Counsellor
petrusek
Posts: 68

Re: .nbu file viewer

You can also try NbuExplorer. In "bruteforce scan mode" it can do the same thing as this and all similar scripts in more comfortable way. It is still missing function for export data to csv, but source code (C#) is available...
Please use plain text.
Registered Member
iagnel
Posts: 1

Re: .nbu file viewer

Hello newbie here. I'm not familiar with writing code but desperately need to get my contacts from OVI and/or *.NBU file into CSV or Vcard format.

 

Do you mind clarifying basic-code-for-dummies. I've tried this as a *.BAT file (this may be dumb?), replacing the respective smileys and my NBU file name but it flicks to a DOS screen and does nothing.

 

Please help. Thanks.

Please use plain text.
Professor
al_lea
Posts: 734

Re: .nbu file viewer

[ Edited ]

Please check the Noki vCard recovery guide. Select "merge into an outlook .csv file" to get a .csv or select "extract to ..." to get vCard files.

Noki phonebook to vCard or .csv

What's the law of the jungle?
Please use plain text.
Registered Member
Posts: 4

Re: .nbu file viewer

http://sourceforge.net/projects/nbuexplorer/

 

try this one it's for free

Please use plain text.
Advisor
Posts: 11

Re: .nbu file viewer

This is a prefect solution for transferring 6610i contacts to E52.

 

Thanks alot.

Please use plain text.
Registered Member
rajaovi
Posts: 1

Re: .nbu file viewer

Noki is working for .nbu file format..It is not working for .nbf file format... How to view the data's in .nbf file formats.

Raja Ovi
Please use plain text.
Counsellor
petrusek
Posts: 68

Re: .nbu file viewer

nbuexplorer, or simply rename nbf to zip...

Please use plain text.