Due to unrelated reasons my homescreen may reset sometimes. I do not seek help with that, and in fact I am already sure it cannot be fixed right now. However it is annoying to put everything back all the time.

So here's my idea: to work around this, I need to make a backup of the layout file whenever I change it, and when it resets, restore the backup. This way, I won't have to put everything back myself, just restore the file, restart the launcher, and everything is back to normal.

However, I cannot find this file. Where is it?


You will need root permission to do this.

The files for the stock launcher are in /data/data/com.sonyericsson.home/databases. You need to back up the database AND the journal. If it ever resets, just restore the files. After that, you need to restart the launcher for the backup to take effect. You can do this by temporarily switching launchers and then going back. You could also do this by using a task killer (note - there is no need to have a task killer, refer here)

Note that the location for the layout file is almost always in /data/data/<app package>/database. <app package> usually looks like com.company.launcher.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.