So I edited the CMWallpaper.apk by deleting one of the wallpapers I didn't want, however I noticed that now there is a blank box where the wallpaper was. Does anyone know how to get rid of that? I added another wallpaper to it but that didn't help.
Welcome to CyanogenMod
![]() |
Welcome to our forum. Like most online communities you must register to post, but don't worry this is a simple free process that requires minimal information for you to signup. Be a part of the CyanogenMod Forum by signing in or creating an account. You can even sign in with your Facebook or Twitter account.
|
Guest Message by DevFuse
CMWallpapers.apk question
Started by shekki, Nov 01 2010 06:15 PM
4 replies to this topic
#1
Posted 01 November 2010 - 06:15 PM
#2
Posted 02 November 2010 - 11:20 AM
shekki, on 01 November 2010 - 06:15 PM, said:
So I edited the CMWallpaper.apk by deleting one of the wallpapers I didn't want, however I noticed that now there is a blank box where the wallpaper was. Does anyone know how to get rid of that? I added another wallpaper to it but that didn't help.
I think you might have to get rid of the value for that wallpaper in the wallpaper.xml file.
#3
Posted 03 November 2010 - 03:43 AM
mojo_droid, on 02 November 2010 - 11:20 AM, said:
I think you might have to get rid of the value for that wallpaper in the wallpaper.xml file.
Do you have any idea how I can edit this xml file? If I can get rid of the wallpaper value on the xml file I could probably add different values for new wallpapers as well.
#4
Posted 03 November 2010 - 10:31 AM
shekki, on 03 November 2010 - 03:43 AM, said:
Do you have any idea how I can edit this xml file? If I can get rid of the wallpaper value on the xml file I could probably add different values for new wallpapers as well.
decompile the cmwallpaper.apk file using apk manager. this will allow you to easily edit the xml files. once you are done you can recompile the apk with the same tool. but I am not sure if this is the solution, it is just a guess. you can also get the source code for the apk since it is open source.
#5
Posted 05 December 2011 - 03:49 PM
One way to do this is to give the new wallpaper the filename of the one you don't like then replace in in the apk with 7zip. If you want the preview to work you also need no make a small version. it has the same filename with the addition of _small at the end. It's less than ideal as the text description will be wrong and you once you replace all the ones you dislike you cant add new ones, but it does work.
I tried the other way, by decompiling. There are a ton of xml files and I couldn't make much sense of it all. I would like to know if anyone figured it out.
I tried the other way, by decompiling. There are a ton of xml files and I couldn't make much sense of it all. I would like to know if anyone figured it out.













