Back to Blog

Hacking the Android Wallpaper Picker: Bringing Pixel & OEM Collections to Any Custom ROM

If you’re anything like me, you love the freedom, performance, and features of custom Android ROMs. But there is always one glaring omission that drives me crazy right after a fresh install: the native Wallpaper & Styles app is almost always completely empty.

Usually, custom ROM developers bundle a single generic wallpaper, or if you're lucky, one specific collection. For someone who loves Android customization and high-quality design, having a barren native wallpaper picker is a massive letdown.

I set out to fix this. My goal was simple: create a universal wallpaper package that injects multiple, high-quality collections directly into the system's native wallpaper picker.

What followed was a journey of frustrating Android limitations, a pivot in strategy, and ultimately, finding the perfect "native" workaround using a Google Wallpaper & Style app.

Attempt #1: The AOSP Roadblock

My initial idea was to build a standard Stub APK for the AOSP (Android Open Source Project) WallpaperPicker2. I figured I could just compile a package containing my images, install it as a Magisk module to replace the original system APK, and be done with it.

I quickly hit two massive brick walls:

  1. The Package Name Nightmare: The AOSP wallpaper picker doesn't just look for any wallpaper app. It looks for a specific, hardcoded package name. LineageOS wants one name, DerpFest wants another, and so on. To make it work across different ROMs, I would have to compile dozens of different APKs with different applicationId tags.

  2. The arrays.xml Limitation: Even if I fixed the package names, the standard AOSP implementation uses a simple arrays.xml file to pull wallpapers. This method only allows for one single collection. If I had 200 wallpapers, they would all be dumped into one massive, unorganized list.

I didn't want a messy, root-dependent Magisk module that only worked on a few ROMs and didn't even support categories. I needed a smarter solution.

The "Eureka" Moment: Hijacking the Google Nexus Stub

Since trying to force the AOSP picker to do what I wanted was a logistical nightmare, I shifted my focus to an app almost everyone uses anyway: the official Google Wallpapers app from the Play Store.

I remembered that back in the Pixel 2 era, Google delivered device-exclusive wallpapers using a specific package: com.google.android.apps.wallpaper.nexus.

I realized that if I decompiled this legacy stub app, I could essentially use it as a Trojan horse. The official Google Wallpapers app is already hardcoded to look for metadata and XML arrays exposed by this exact package name.

By modifying its public.xml, arrays.xml, and strings.xml, I could dynamically feed my own drawable resources and strings back to the main Google Wallpapers app.

The Result: Google Wallpapers - Pixel & OEM Unlocker

The experiment was a massive success. Instead of fighting with root access and system partitions, I had created an extension APK that natively integrates an absurd amount of wallpapers directly into the stock Google Wallpapers app.

  • No Root Required: You literally just install the APK like any normal app. No Magisk, no recovery flashing.

  • Native Integration: It doesn't act like a clunky third-party gallery. The wallpapers appear seamlessly inside the official app as native categories, complete with cover images, titles, and subtitles.

  • Beautifully Categorized: I bypassed the single-list limitation. The app now supports dozens of distinct collections.

SCREENSHOTS

[gallery=5]












[/gallery]

What’s Inside the Box?

I didn't hold back on the content. By installing this single 5MB~ Stub APK alongside the official Google app, you unlock:

  • The Ultimate Pixel Collection: The complete set of exclusive wallpapers from Pixel 1 all the way to the Pixel 10 series, including the Pixel Fold, 9 Pro Fold, and A-series devices.

  • OEM Collections: Hand-picked, high-quality stock walls from devices like the Nothing Phone series (1 through CMF 1), OnePlus, Huawei, Honor, Oppo, Realme, and even Apple.

  • Special Curations: Categories like "For Fun", "Keep Looking", Minerals, and Plants.

Try It Yourself

If you are tired of empty wallpaper pickers on your custom ROMs and want the ultimate Pixel experience without rooting your device, you can grab the project right now.

  1. Install the official Google Wallpapers app from the Play Store.

  2. Head over to my GitHub Releases page and download the latest .apk file.

  3. Install it, open your Wallpaper picker, and enjoy the natively unlocked collections!

You can check out the source code, read more about the technical implementation, and follow the project's updates on the GitHub Repository.

Let me know what custom ROM you are running and how it looks!