Where is current wallpaper stored on Jellybean?

  • On my Nexus S running 4.1.1, I am unable to find where the current wallpaper is stored. I referred to Where is the background image saved?, but my /data/data/com.android.settings/files folder is empty (I do have my file browser showing hidden files). It was confirmed in that question that ICS stored it in that location, but did Jellybean move it to a different place?

    Unless you are rooted (Thanks @Izzy) you can't see the files and folders under /data folder. I am running 4.1.1 CM10 and as I am rooted, I can see files and folders under /data

    In my CM10 4.1.1, I do not have "/data/data/com.android.settings/files/wallpaper" but under "/data/data/com.android.settings/" I have folders: cache, lib, shared_prefs only. And only share_prefs folder is not empty with two xml files with no pointer to wallpaper info.

    I switched file browsers and now have a similar situation to @Narayanan where the shared_prefs is the only folder with files in it. The files folder isempty

  • R R

    R R Correct answer

    8 years ago

    The wallpaper was in

    data/data/com.android.settings/files/
    

    on previous versions of Android. However it appears that it was moved as part of the multi-user preparations. The current location is

    data/system/users/0/
    

    The file is conveniently called wallpaper and it is a png file.

    I am not using default wallpaper, and my files folder is empty (see my comment on the question). Is there some utility that let's you see what files are being modified?

    @penguinrob It's not moved in JB. What do you mean by being modified?

    On Mac, I can use fs_usage to monitor what files an application accesses. I'm wondering if there's something similar that could be used to see what files are modified when I change the wallpaper.

    @penguinrob you're right it was moved. I haven't noticed as I haven't wiped when I upgraded to JB.

    I'm glad I'm not the only one then!

    I looked in /data/system/users/0 and I found the wallpaper file but none of apps will read it when opened as an image even after renaming it.

    @damastah you need to copy it to your SD card. Normal apps can't open images from /data

License under CC-BY-SA with attribution


Content dated before 6/26/2020 9:53 AM