Tutorial - editing - htc_wallpaper_xx.jpg - G1 Themes and Wallpapers

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...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
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.

Related

Open Cramfs image for JF1.51 CRB43-US using Cygwin

OPEN CRAMFS WITH
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
SHELL...
I have finally figured out how to open or make Cramfs images using Cygwin. And it is much more easier to use then my previous thread on How to Theme JF1.51 CRB43-US using Ubuntu. If you don't believe me, take a crack at it. Themers get on your grind. Your going to laugh when you see how easy it is to do. I would have not continued to explore Cygwin option for Cramfs if it wasn't for Binary100 100 and the others that had problems with the Ubuntu way, like bboy_201. I didn't forget about you...
I hope that all of you guy/gals that were having trouble with the Ubuntu way, suceed with this method.
Complete Setup in 7 steps
1)Download and install Cygwin.
2)When you reach the select package menu open Devel.
3)Scroll down to the Cramfs and select 1.1-1 26k.
4)Click next to finish the setup.
5)Right click on the Cygwin icon on your desktop and click on Open file location.
6)Open the home folder. You will see your name there. Make a shortcut of your name and place it on your desktop.
**Everytime you open Cygwin, this will be your default folder**. This is why we placed it on our desktop.
7)Open the shortcut folder and hide the .bash_profile, .bashrc,and .inputrc folders(right click-->properties-->click Hidden). This is so that you have a clean folder to work with. You can rename this folder to help you identify it later.
Your setup is completed!!!
Now what???
Download the Theme template !!!
You MUST use the ORIGINAL files from the framework and app's folders of CRB43-US to prevent problems/foreclosers!!!
To easily open an image, you:
Place the framework.cramfs from the template in your shortcut folder.
Run Cygwin Shell and simply type:
Code:
cramfsck -x framework framework.cramfs
Now look in your shortcut folder, you will see a folder called "open" with all the framework folder files inside.
Now you can edit the framework-res.apk, Xml's, jar,etc...
Making your custom image is just as simple, when your finished modifying ,type:
Code:
mkcramfs framework framework.cramfs
Your new custom cramfs image is in the shortcut folder ready to be placed in the Update.zip
RichieDaze you are the man, now working on Windows Server 2003!
Great tutorial now I can port my theme for more users thanks!
What a wonderful tool you have discovered! Finally I can edit the ROM I want to use.
I prefer to use the "Tmobile" stuff just in case problems arise. Have been using ADP.
Thanks again for the super info and tut!

Need help editing a clock widgit: Can anyone help?

I don't mind donating to someone who can help either, but, basically, here's my theme/setup:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
What I want to do, is change the color of the inside of the boxes behind the numbers to red, and leave the rims around them black/gray.
Is there anyway to edit the apk to do this? If so, could anoyne guide me through it? I would love help, because I think that that would just put my setup towards perfect for me.
well, usually what I do in this situation is first copy the apk to a working directory. Then extract the apk in the working directory, and look in one of the drawable folders for the image. Edit the image to your liking. Then when you are done, replace the original image inside the untouched apk you kept in your working directory. You should then be able to either push that apk back onto the phone, install it, or package it in the rom and reflash.
elegantai said:
well, usually what I do in this situation is first copy the apk to a working directory. Then extract the apk in the working directory, and look in one of the drawable folders for the image. Edit the image to your liking. Then when you are done, replace the original image inside the untouched apk you kept in your working directory. You should then be able to either push that apk back onto the phone, install it, or package it in the rom and reflash.
Click to expand...
Click to collapse
Ya know, I've been looking for the Apk file in my phone, and I have no idea where it's at (using sdk tools to search through my phone), because I was thinking just with common sense, that what you said would be the way to go about it.
here's the dev. site:
http://www.davidgoemans.com/mainsite/node/13
It looks like there's no apk to dload to the computer first... is there anyway you can help me with where to look on my phone for the file?
It is probably in /system/framework
Either com.htc.resources.apk
or
framework-res.apk
Well, I went ahead and found it, but, now it's not letting me install the apk for some reason. It's saiying that it's replacing the old digiclock even though I removed that one.
Here's the apk file I created. All I did was rename it to a zip, replace the files, and rename it back to apk.
Can anyone help?
Ok, I got it. I ended up getting the apk manager 4.8 from here, and it took seconds to run through that.
Here's the updated clock.
Looks very good
elegantai said:
Looks very good
Click to expand...
Click to collapse
Hey, thanks!

[Q] Can this be themed without altering anything else on my phone? (With Pic)

Running a deodexed 2.2 rom with a custom theme that I love and don't want to part with, but one thing I would love to change are the white boxes that come up in apps. (Whats shown here on the bottom)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Is there a transparent or black theme that I could change those to without altering anything else?
From searching this forum I found many transparent staus/notification bars but no transparent menus yet.
The two files you need to edit are menu_background_fill_parent_width.9.png and menu_background.9.png. Both are in framework-res in the drawable-hdpi folder. Be warned if you make em black you will need to invert the text also or it'll be black on black and useless.
N-Forced said:
The two files you need to edit are menu_background_fill_parent_width.9.png and menu_background.9.png. Both are in framework-res in the drawable-hdpi folder. Be warned if you make em black you will need to invert the text also or it'll be black on black and useless.
Click to expand...
Click to collapse
Thanks so much man.
Ok I found the files in question through the framework.apk through root explorer but I don't think me going in and editing the .png image will work on it's own right? I can't just extract the image, change it, and plug it back in and have it work right?
Ok searching some more looks like I will need Ninjamorph to just change out the .png files. Lets see how this goes. Thanks again!
Hand76 said:
Thanks so much man.
Ok I found the files in question through the framework.apk through root explorer but I don't think me going in and editing the .png image will work on it's own right? I can't just extract the image, change it, and plug it back in and have it work right?
Is this something I would need metamorph for?
Click to expand...
Click to collapse
Thats exactly what you do.
Put the framework-res.apk on your desktop
Extract it
Go to those images and edit them
Drop your edited images back into their proper path in the actual .apk itself
adb push that apk back into system/framework.
Reboot. Set perms with root explorer on that modded apk and reboot again.
Done
Ok thanks Wild, I just edited my last post and I am guessing I can eliminate some of that (connecting to the PC) if I just use Ninjamorph.
Well after following the Ninjamorph directions to a T. I got stuck in boot loops and never got to seee how teh finished product came out.
Will probably just try tomorrow on my computer doing it the other way.
Anyway thanks for the help guys and have a nice night.

Modify default wallpaper in custom rom

Hi
I want to replace the default wallpaper and lockscreen wallpaper, in custom rom that I'm make.
But I don't find the location of those files.
Anyone can help please?
framework-res.apk in folder framework ...
No other location
The wallpaper doesnt change the Picture when you not flash the Rom again with the framework-res.apk
This mean:
Put the modifyed framework-res.apk into the Rom and wipe your phone and then Flash the Rom ...after first start you will see the Wallpaper
Or method 2:
Wipe your data partition without touch our own userdata ( pictures ect...) and then restart the phone.
Attention: you will lose all your Apps and Games in your Phone ......
Thank you for reply.
Now I managed to replace the image inside the system/framework/framework-res.apk.
Id did work, but it made the picture scrollable for 3 homescreens and I need the normal option which the whole picture didplayed in each home screen. (the two options are avilable when I do it mannualy from the device, but as default he choose the wrong option)
Also I need to modify the default lockscreen wallpaper, which is not in theframework-res.apk file, I don't know where it is.
Very appriciate the help, Avi.
p.s. Anyboudy know how to modify the default homescreens? (number of homescreens and the items inside them)
I hope i understand you....
Show on the Original Wallpaper what a (xxxx-xxxx Pixel) it have...
The custom Wallpaper (xxxx - xxxx Pixel) must have the same Pixels than Original Wallpaper
jamal2367 said:
I hope i understand you....
Show on the Original Wallpaper what a (xxxx-xxxx Pixel) it have...
The custom Wallpaper (xxxx - xxxx Pixel) must have the same Pixels than Original Wallpaper
Click to expand...
Click to collapse
The screen is 720x1280 (G3 Beat).
This is not the issue.
First I set the wallpaper via the device itself, then I pulled the walpaper from /data/system/users/0/wallpaper which is 720x1280 like the original (xhdpi) , and put it in the framework-res.apk file.
The problem is that there are two option to set wallpaper from the device.
For example for this wallpaper (720x1280)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Option 1.
The picture will fill the screen, and if I have for example 3 homescreens the whole picture will displayed on each one.
Option 2.
It will take only the middle part of the image to make it landsacpe , and make the wallpaper scrollable. (along with the homescreens)
And then in homescreen number 2 for example, it will show only part of the image.
The problem is that I want the wallpaper to be like option 1, but as default is like option 2.
I hope you're understand now.
I'm also need the location of the default lockscreen wallpaper.
Edit:
I found the it, It's in the LGLockScreenSettings.apk/res/deawable/drawable-xxxx/walpaper_01.jpg
Still need solution to the problem above.
Thanks for the help.
Avi.

Redstone Emoji for Telegram, WhatsApp & build 10586

The new Redstone emoji are awesome, but the release is only in July, if you want to have the new emoji on build 10586 now, I'm uploading the original file here (password: !0rhASo77YawIoOFuLzKTOPlJBDGEuy0iA0GeE4bwMRE). It works and was tested on my Lumia 830 & 630. To use the file you can follow the instructions from this thread. (No need to edit the file)
The file is not the same from the PC version, using the PC version also seemed to work on the emulator but I did not test on a phone. Anyway, much safer to use the file from the phone.
Oh, and you can also use the ninja cat emojis, though not directly available in the keyboard you can still input typing two emojis:
Cat + Silhouette = Ninja Cat
Cat + Laptop = Ninja Cat on Laptop
Cat + Dragon = Ninja Cat riding T-Rex
Cat + Rocket = Ninja Cat with Space clothing
Cat + Motorcycle = Flying Ninja Cat (Motorcycle is not available through the keyboard, but shows when you write motorcycle)
Cat + Coffee = Ninja Cat with Coffee (does not work, and I don't know why)
Obviously only those that are using the redstone emoji will see the ninja cat, as only they have the support.
http://i.imgur.com/zWmWc2G.png
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
---
Now you might have noticed that both Telegram and WhatsApp always display the ugly iOS emoji. Well, I changed that.
I went on a huge work to export the font files to svgs and then to pngs, not an easy job seeing these are non-standard and not all software managed to deal with it very well. Also needed to rename the files according with the Unicode values and place them inside the collection files. I guess this all took much more than 24 hours of work time, as it took me more than a week to accomplish. The result however is awesome, as now I can have these great emoji rather than the horrible iOS version.
Download - password: !GL2VpgpWgAVngXSokqoFhrj-Qe2sHI5cXuFrxSkRpLQ
To install you need Full FS Access, the readme inside the file tells you where to replace the files. Every update from the apps will replace the files to the iOS emoji so you'll need to replace the files again. But since the updates are not that much frequent, replacing the files takes just a few seconds and the result is awesome it should not be a hassle. ;D
On WhatsApp I needed to create some custom emoji as the family emojis are too wide for the square WhatsApp expects. And for you homosexual couples I created the homosexual couples with a heart emojis on WhatsApp since Microsoft forgot about them.
Tell me if you find any bug with them or if Microsoft updated any emoji.
Can you maybe help me?
I'm sorry if I'm asking you this but where do i put the package.ico file and what registry i need to edit?:silly:
julesxwings said:
I'm sorry if I'm asking you this but where do i put the package.ico file and what registry i need to edit?:silly:
Click to expand...
Click to collapse
Lol, linked wrong file. I updated the first post, so just re-download and disregard the old file.
And edit the registry that says Segoe UI Emoji.

Categories

Resources