• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Wallpaper Launcher issues

Jaay Dogg

Android Expert
Ok I'm trying to add custom wallpapers to the launcher2.apk that's found inside g60madman's CM7, it has a bunch of wallpapers in the launcher, I tried to replace them & they don't work ? Why ? Shouldn't it be just some resizing of jpeg's to match the file size of the one's already inside the launcher2. I'm confused don't know why it's not working ? Anybody know what's up with this ?
 
Ok I'm trying to add custom wallpapers to the launcher2.apk that's found inside g60madman's CM7, it has a bunch of wallpapers in the launcher, I tried to replace them & they don't work ? Why ? Shouldn't it be just some resizing of jpeg's to match the file size of the one's already inside the launcher2. I'm confused don't know why it's not working ? Anybody know what's up with this ?

You also need to update the XML if you are decompiling, or building from source to list the wallpaper located in res/drawable-hdpi/

https://github.com/g60madman/androi...3ae0e04ec851b05c82bf08e018453196362d2#diff-60
 
How are you editing the Launcher2.apk? Did you decompile it using apktool? Or are you building it from source?
 
Well I just decompiled the launcher 2 with apk manager erased the wallpapers & added my mine then recompiled & it showed them this time, did apk manager edit the XML's for me ? Looks like it would work now not sure though ?
 
Well I just decompiled the launcher 2 with apk manager erased the wallpapers & added my mine then recompiled & it showed them this time, did apk manager edit the XML's for me ? Looks like it would work now not sure though ?

You should have to edit the XML but it's possible it may read from the directory if none of the named objects in the XML can be found. I didn't dive that deep in the code when I built it for CM7 just added my new wall papers and edited the XML to list the right wall papers and was done with it. If it works, then it works :D
 
You want to look in the Device Tree under motorola/triumph/overlay/frameworks/base/core/res/res and then put wallpaper JPG in drawable folder and edit config XML in Values folder. Will need to change line for "default_wallpaper_component" from Nexus to @null to use the JPG the drawable or change to another live wallpaper. Otherwise if you are decompiling the Framework-res.apk it is line 27 in the values/string XML.
 
Well I pulled it off doing it a different way, I renamed all my wallpapers to match the ones in the launcher then recompiled it & presto all good.
 
Back
Top Bottom