Default Tutorial - editing - htc_wallpaper_xx.jpg

After taking some time and removing and reorganizing some things on my v3r2 hero rom, i decided to go ahead and push some of my own wallpapers.

I didnt mind looking in the downloads section, but I wanted it to feel and look more authentic when i changed a wallpaper, so I did some toying around and I ended up being able to push a new wallpaper to my G1 into the same directory as all the original ones and still retain a preview of what it looked like.

Here is a screenshot of the stock wallpapers along with some of the ones i pushed...

and here are the empty spots that I have from deleting some of the stock wallpapers...


I am going to try to make this short and sweet, but still keep it as informative as can be.

NOTE - THIS IS ON A HERO BUILD, THAT CAME STOCK WITH 25 WALLPAPERS. THEY ARE ALL NAMED htc_wallpaper_XX.jpg for the 640x480 version and htc_wallpaper_small_XX.jpg for the 80x60 version(XX is a number from 1-25). In order to see which ones you want to get rid of you can either unzip the update file that you downloaded and flashed and look in update.zip/system/customize/resource/ to see the wallpapers or you can press menu on the home screen->wallpaper->Home->Wallpaper Gallery and view them in there. They are in the same order from left to right, if you are on drizzy build, the first wallpaper should be the 3d one. this is not named htc_wallpaper_XX.jpg but rather TMO_wallpaper_V2.jpg and TMO_wallpaper_V2_small.jpg

First things first... you need adb running in order for this to work, i am sure you can use terminal but adb is so much faster and easier.... so lets get to it

get adb going and do an adb remount- for the record all adb commands will be in green colored font and bolded

-TO REMOVE WALLPAPERS-
adb remount
adb shell rm -r /system/customize/resource/htc_wallpaper_XX.jpg

now we need to remove the thumbnail/preview of the wallpaper

adb shell rm -r /system/customize/resource/htc_wallpaper_XX.jpg


repeat this as needed to remove all unwanted wallpapers, but unless you push a new one in its place, you will have just a black square where its preview used to be.

-PREPARING WALLPAPERS-
NOTE 1------MAKE NOTE OF WHICH WALLPAPERS YOU DELETED, IT WILL MAKE THIS PROCESS MUCH EASIER AND WILL HELP TO ENSURE THAT YOU DONT OVERWRITE WALLPAPERS ON ACCIDENT
NOTE 2------FIND THE WALLPAPERS YOU WANT TO ADD TO YOUR PHONE AND RENAME THEM ACCORDINGLY. YOU CAN DO AN EXTRA CUSTOM TRICK HERE BY PUTTING MORE COMMONLY USED WALLPAPERS AT THE FRONT OF THE LIST BY NAMING THEM WITH A LOWER NUMBER SUCH AS htc_wallpaper_01.jpg or htc_wallpaper_02_.jpg. BE SURE THAT THE ACTUAL WALLPAPER AND THE PREVIEW/THUMBNAIL ARE NUMBERED ACCORDINGLY.

TO RESIZE THE ORIGINAL IMAGE FROM 640X480 TO 80X60 I USED PHOTOSHOP. OPEN THE IMAGE IN PHOTOSHOP AND THEN CHOOSE IMAGE->IMAGE SIZE->UNCHECK CONSTRAIN PROPORTIONS->CHANGE WIDTH TO 80 PIXELS AND HEIGHT TO 60 PIXELS->OK->SAVE AS AND RENAME TO htc_wallpaper_small_XX.jpg

-PUSH WALLPAPERS-
adb remount
adb push directory of file\htc_wallpaper_xx.jpg /system/customize/resource
adb push directory of file\htc_wallpaper_small_xx.jpg /system/customize/resource

repeat this step to push as many wallpapers as you want, I only did up to 25. I wasnt sure if I would mess something up if i pushed more, if anyone wants to test it feel free to

-AFTER YOU PUSH ALL WANTED WALLPAPERS-
follow the normal steps you would to change your wallaper. if you do not see your new wallpapers there you need to go back to adb and do-
adb shell reboot

you should be good as gold now once your phone reboots. any questions just ask, hope this helps some of you guys.Also... if you wanted to just remove the stock wallpapers/previews for extra space with rosie since she is a big ole girl, you can do that as well, just follow the steps for removing the wallpaper.
1)Google Nexus One | ROM: Enom Official 1.9.1 / FroYo 2.2 Leak | Radio: Stock

2)T-Mobile HTC HD2 (HTC Leo1024) | ROM: Energy 21903 Sense 2.5+Co0kieHT | SPL: 2.08HSPL | Radio: Stock

3)T-Mobile G1 (HTC Dream) switchROM.sh: XROM v2.X/JACXHEROSKI 1.8 custom/Cyanogen v4.X.X | SPL: Haykuro's 1.33.2005 | Radio: 2.22.19.26I

4)T-Mobile G1 (HTC Dream) - Stock (Used as test/dev device)

p33p me - palosjr

Quote:
Originally Posted by empty-ness View Post
I rooted the nexus one... and since then the phone wont open beyond the G1 logo