Le 21/01/2014 15:01, Ernesto Acosta a écrit :
> Hello. Yesterday I updated my ZTE Open using the ROM available on the website 
> of ZTE. Everything works fine, but I lost all my SMS, Settings, Applications 
> ... etc.
>
> My question is how can i save my stuff using ADB? What is the directory or 
> file I should save before upgrading?
>

For SMS, everything is stored in IndexedDB. The location of indexedDB
data changes between versions:

Could be in:

/data/local/indexedDB for older versions
/data/local/storage/persistent in current versions

In older versions, you can have the "/idb" subdirectory inside each
origin directory, or not, depending on the version. Using the
subdirectory "/idb" is the current way. I don't know how/when we move
data, maybe it's done automatically if we find no data at the expected
location and some data at the older location, but I haven't tried it.

Some other data (cookies, localStorage, Settings, Preferences,
DataStore) are in your profile, so you should also save
/data/b2g/mozilla too.

Your downloaded applications are in /data/local/webapps.
I think that's it but I may forget something.

-- 
Julien

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to