androidoperating-systemandroid-sourceandroid-wallpaper

How do I change the default wallpaper on my custom rom


I am trying to create my own custom rom, and I want to change the default wallpaper. How can I change the default wallpaper on custom rom's. To be more exact, where are default wallpapers generically located in the source code of various rom's.


Solution

  • For most custom roms it can be found in:

    vendor/{SOME_CUSTOM_VENDOR_NAME}/overlay/common/frameworks/base/core/res/res/drawable-nodpi/default_wallpaper.png

    e.g. LineageOS:

    vendor/lineage/overlay/common/frameworks/base/core/res/res/drawable-nodpi/default_wallpaper.png

    e.g. HavocOS:

    vendor/havoc/overlay/common/frameworks/base/core/res/res/drawable-nodpi/default_wallpaper.png

    For plain AOSP it is:

    frameworks/base/core/res/res/drawable-nodpi/default_wallpaper.png

    And it can also be in a Device Tree Overlay as well.