Skip to content

iKeramat/platform_packages_apps_LMODynamicWallpaper

Repository files navigation

LMODroid Dynamic Wallpaper

LMODroid Dynamic Wallpaper is an Android live wallpaper service that dynamically changes the wallpaper based on the time of day.

Installation

Using Gradle/Studio

  1. Clone the repository:
    git clone https://github.com/iKeramat/platform_packages_apps_LMODynamicWallpaper.git
    cd platform_packages_apps_LMODynamicWallpaper
  2. Build the APK using Gradle:
    ./gradlew assembleDebug
  3. Install the APK on your Android device:
    adb install -r app/build/outputs/apk/debug/app-debug.apk

Using AOSP Soong

  1. Setup build env
    . build/envsetup.sh
  2. Clone the repository:
    git clone https://github.com/iKeramat/platform_packages_apps_LMODynamicWallpaper.git packages/apps/LMODynamicWallpaper
  3. Lunch your device tree
    lunch device-codename
  4. Build project
    m LMODynamicWallpaper
  5. Install the APK on your Android device:
    adb install -r $OUT/system/product/app/LMODynamicWallpaper/LMODynamicWallpaper.apk

AOSP Integration

To set this live wallpaper as the default in an AOSP build:

  1. Modify the overlay:
     <!-- Component name of the default wallpaper. This will be ImageWallpaper if not
          specified -->
      <string name="default_wallpaper_component" translatable="false">com.libremobileos.dynamicwallpaper/com.libremobileos.dynamicwallpaper.GLWallpaperService</string>   
  2. Build LMODynamicWallpaper in Products makefile:
     # Dynamic Wallpaper
     PRODUCT_PACKAGES += \
         LMODynamicWallpaper
  3. Build and flash the AOSP ROM.

License

This project is licensed under the Apache License 2.0

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages