×

Discussion Board

Results 1 to 14 of 14
  1. #1
    Registered User
    Join Date
    Oct 2008
    Posts
    12

    how to retain private data on master reset

    I have created a data file in my process private directory( \private\sid)
    When I execute master Reset on my device, private directory remains but data file is whipped out. How do I retain my data file and its contents on master reset?

  2. #2
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: how to retain private data on master reset

    i donot think you can retain any data when you master reset the phone.

  3. #3
    Super Contributor
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034

    Re: how to retain private data on master reset

    AFIK only pre-installed application will retain its data file on master reset and other applications data files will whipped out.

  4. #4
    Registered User
    Join Date
    Oct 2008
    Posts
    12

    Re: how to retain private data on master reset

    Quote Originally Posted by savaj View Post
    AFIK only pre-installed application will retain its data file on master reset and other applications data files will whipped out.

    My .exe is included on the device Rom Image. I cannot retain my data file in private area even then?

  5. #5
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,683

    Re: how to retain private data on master reset

    Quote Originally Posted by prabhu_a View Post
    My .exe is included on the device Rom Image. I cannot retain my data file in private area even then?
    In that case you may succeed in surviving *#7780#, the same way as other data survives. However the necessary API and documentation is not part of the public SDK, deploying applications to the ROM is not typical for 3rd-party developers.
    Ask your BDM and/or the person who migrates your application to a ROM image.

  6. #6
    Registered User
    Join Date
    Oct 2008
    Posts
    12

    Re: how to retain private data on master reset

    Quote Originally Posted by wizard_hu_ View Post
    In that case you may succeed in surviving *#7780#, the same way as other data survives. However the necessary API and documentation is not part of the public SDK, deploying applications to the ROM is not typical for 3rd-party developers.
    Ask your BDM and/or the person who migrates your application to a ROM image.
    My exe is in the ROM image so it is installed to Z drive. I have created a private\sid path in C drive and storing my <appname>.ini file in it. When I do master Reset Im losing this file. Is there anyway i can retain it?

  7. #7
    Super Contributor
    Join Date
    Nov 2004
    Location
    Wiltshire, UK
    Posts
    3,644

    Re: how to retain private data on master reset

    I think that you will find thats why its called a master reset, rather than just a reset. What you are protecting against is a corrupt data file turning the phone into a brick.

    IIRC the device wipe just marks the c drive as corrupt and forces a reformat of it.
    Download Symbian OS now! [url]http://developer.symbian.org[/url]

  8. #8
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,683

    Re: how to retain private data on master reset

    It is not that obvious to me what you mean on 'master reset', but the 7780-reset is the only one which is supposed to be survived by some data.

  9. #9
    Registered User
    Join Date
    Oct 2008
    Posts
    12

    Re: how to retain private data on master reset

    Quote Originally Posted by wizard_hu_ View Post
    It is not that obvious to me what you mean on 'master reset', but the 7780-reset is the only one which is supposed to be survived by some data.
    Im just exucuting Master reset, which is present on the device
    Control Panel UI.

  10. #10
    Super Contributor
    Join Date
    Nov 2004
    Location
    Wiltshire, UK
    Posts
    3,644

    Re: how to retain private data on master reset

    Is this S60 or UIQ?
    On S60 hard reset is *#7370# (ie RES0)
    Download Symbian OS now! [url]http://developer.symbian.org[/url]

  11. #11
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,683

    Re: how to retain private data on master reset

    That one is not really supposed to be survived. But you can experiment with the related API - if you are entitled to experiment with it.

  12. #12
    Registered User
    Join Date
    Oct 2008
    Posts
    12

    Re: how to retain private data on master reset

    Quote Originally Posted by wizard_hu_ View Post
    That one is not really supposed to be survived. But you can experiment with the related API - if you are entitled to experiment with it.
    What is the API wizard?? I can give it a try..

    Thanks in advance

  13. #13
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: how to retain private data on master reset

    Quote Originally Posted by prabhu_a View Post
    What is the API wizard?? I can give it a try..

    Thanks in advance
    wizard means there are non in public SDK. and you may try with non-public apis if you have access to them.

  14. #14
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,683

    Re: how to retain private data on master reset

    Quote Originally Posted by prabhu_a View Post
    What is the API wizard?? I can give it a try..
    I have no permission to name the API, that is why I have suggested to ask your internal contact in Nokia (BDM or somebody else - in fact I do not know the hierarchy).

Similar Threads

  1. S60 3rd FP2: race condition in layout manager?
    By schoenke in forum Mobile Java General
    Replies: 2
    Last Post: 2009-08-31, 20:40
  2. J2ME encrypt C# decrypt
    By josual in forum Mobile Java Networking & Messaging & Security
    Replies: 13
    Last Post: 2008-10-20, 04:29
  3. illegal argument exception
    By jwidd in forum Mobile Java General
    Replies: 4
    Last Post: 2007-10-01, 20:43
  4. PC Connectity with VB6
    By mkintanar in forum PC Suite API and PC Connectivity SDK
    Replies: 5
    Last Post: 2003-09-24, 04:18
  5. Painting problem
    By guidopater in forum Mobile Java Media (Graphics & Sounds)
    Replies: 12
    Last Post: 2003-06-20, 08:53

Posting Permissions

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