[Q] How To add pictures to the "Wallpaper Gallery" menu - T-Mobile Samsung Galaxy S II SGH-T989

Does anyone know to add pictures to the "Wallpaper Gallery menu"???? I use the stock ROM rooted which only comes with only about 4 or 5 wallpapers embedded into the Wallpaper Gallery menu however I decompiled the TwWallpaperChooser.apk and found there's waaaay more wallpapers than what the OS actually allows us to choose from... In the end I would like to have all the wallpapers shown under the Wallpaper Gallery menu. Can anyone help with this? Anyone??

I went to sys/apps/twwallpaper picker.
Extracted all.sent as email to myself.
Downloaded.
Went to gallery and then applied wallpaper.
Sent from my SGH-T989 using XDA

you have to decompile the twwallpaper.apk
go into res/values and open up arrays and in there you will see picture names...add the ones from in the drawable-hdpi folder that are not present in the arrays

TY for the help. I was wondering the same thing myself. Is this also how to change the default wall paper when preparing a custom rom?

Master&Slave™ said:
you have to decompile the twwallpaper.apk
go into res/values and open up arrays and in there you will see picture names...add the ones from in the drawable-hdpi folder that are not present in the arrays
Click to expand...
Click to collapse
Res/value/arrays?? no such directory exists. Let's rewind a little bit, which APK needs to be decompiled?? There are about 33 wallpapers sitting in TwWallpaperChooser.apk. They came pre-installed to the following directory:
TwWallpaperChooser\res\drawable-hdpi ...
however only 4 or 5 only appear and the rest do not show up under the Wallpaper Gallery menu. How can I get all 33 wallpapers visible when I access my Wallpaper Gallery menu?? If we are referring to the same APK that you suggested earlier, then I can assure you there no Res/value/arrays directory listed after decompiling. Any suggestions anyone??

Can one see these "hidden" pics on the default manufacturer's ROM?
Sent from my SGH-T989 using XDA

sippinalizay said:
Res/value/arrays?? no such directory exists. Let's rewind a little bit, which APK needs to be decompiled?? There are about 33 wallpapers sitting in TwWallpaperChooser.apk. They came pre-installed to the following directory:
TwWallpaperChooser\res\drawable-hdpi ...
however only 4 or 5 only appear and the rest do not show up under the Wallpaper Gallery menu. How can I get all 33 wallpapers visible when I access my Wallpaper Gallery menu?? If we are referring to the same APK that you suggested earlier, then I can assure you there no Res/value/arrays directory listed after decompiling. Any suggestions anyone??
Click to expand...
Click to collapse
First thing i told you to do was decompile.
U must be extracting because Im looking at it right now....
M&S

AlchemistAndroid said:
TY for the help. I was wondering the same thing myself. Is this also how to change the default wall paper when preparing a custom rom?
Click to expand...
Click to collapse
The default wallpaper is in the the framework/res/drawable-hdpi folder
"Default_wallpaper"
M&S

Master&Slave™ said:
First thing i told you to do was decompile.
U must be extracting because Im looking at it right now....
M&S
Click to expand...
Click to collapse
My mistake, man you are good. It worked! Good job man.

sippinalizay said:
My mistake, man you are good. It worked! Good job man.
Click to expand...
Click to collapse
Its cool, we all make them including myself numerous times. I tried that on a whim one day and i was like holy ****!
M&S

Ummm , sounds like you guys are making this overly complicated ......
Wallpaper, Gallery, is your phones gallery, not the TWwallpapers ....
If you are asking how to add more pictures to Wallpaper>Gallery, just create a folder on your phone, call it wallpapers or whatever else you want, and copy the 960x800 wallpapers to it and "rescan media" using an app from the market or reboot ...
Then open up Wallpaper>Gallery, and choose your wallpaper folder .....
Maybe I read your first post wrong but you did ask about Wallpaper Gallery not the TW wallpapers ....

@Watcher64 - I believe the reason behind this is when installing custom ROM, you would like to have the wallpapers already present when it is installed and not worry about downloading a bunch or transferring them from your computer. This is why I am editing/adding to mine.
While it is located under "Wallpaper gallery" on the phone, the actual apk is TwWallpaperChooser.apk in system\app
......
The list of the wallpapers in the array.xml file was not located in \res\values, rather \res\values-hdpi in my ROM.
Thanks sippinalizay and M&S for helping sorting it all out!

Using custom.xml?
I recently stumble myself on this same question and the answers I found on the Internet either didn't properly apply to my phone ROM or they were not much feasible (like tampering with the system resources files).
But I observed something interesting... a custom vendor wallpaper image added to the default wallpaper gallery; I tried to find the trace back to the source files that made it possible that addition and I found this:
/system/csc/custom.xml
Code:
<Display>
<NbWallpaper>1</NbWallpaper>
<Wallpaper src="/Customer/XTE/Wallpaper/Sun 480 x 320.jpg" width="480" height="320">
<Position>1</Position>
<FileType>JPG</FileType>
</Wallpaper>
</Display>
Modify that at your will and add pictures to the Wallpaper Gallery in a simple way.
Note about the attached pic: the 3rd wallpaper is a custom one that I added by injecting it directly to the TwWallpaperChooser.apk with same name of a previous one picture, actually replacing it.

How can I decompile an APK file?

Related

[Q] Installing Icon Collection Set

As for "theme", I am happy with just the default.
What I want to do is just change the icons. I have seen a ton of icon sets that I love, but no clue how to bring them in.
I am running Syndicate with Genocide. Before when I was on stock, I was using File manager or something to "change" the icon. Basically it was putting a file manager widget there instead of the actual app icon.
Is there a tutorial for jsut changing icons? Or maybe an installer?
I reccomend for you to try this.
0.) Make a nandroid in case something goes wrong[Optional, reccomended]
1.) Open up the roms zip file(not extract) in 7zip onyour pc, and go to the system/app directory of the zip.
2.) Open up(not extract) the apk you want to edit in 7zip, and the icons are usually in the res/drawable-hdpi folder.
3.) Rename the image you want to be in there to match the one in the apk, and replace the old one with yours.
4.) Then back out, save, and do steps 2 & 3 for all of the apps in that folder who's icons you want to change.
5.) Flash that zip in cwm.
6.) Reboot
7.) Report if it worked. If it didn't, restore your nandroid.
Thanks!
I will try that this week.
Ok, I will stay subscribed to this thread so post here if you have any problems
Roll Tide
Ok, so I am starting to run through this, and I thought of something.
By editing that ROM, I am editing the default icons.
How do we do the apps I get from the market? These would not be in the ROM.
For example, Google Music, or Accuweather.
Can we edit these straight on the phone? Or are we getting more into themes?
Shot in the dark....
Could I take my nandroid backup, copy it, open it up and replace the icons there, then "restore" this backup?
lardo5150 said:
Shot in the dark....
Could I take my nandroid backup, copy it, open it up and replace the icons there, then "restore" this backup?
Click to expand...
Click to collapse
I dont think so. To edit the ones you get from the market, you have to copy from data/app to your pc, edit the apps icon, then put the apk back in data/app, replacing the old one, and rebooting
zanderman112 said:
I dont think so. To edit the ones you get from the market, you have to copy from data/app to your pc, edit the apps icon, then put the apk back in data/app, replacing the old one, and rebooting
Click to expand...
Click to collapse
I am going to try this tonight.
Just prepping for it though, I cant see the folders when going through the PC.
Do I need to download a file manager, and on the phone, copy the folder to the SD card, then to the PC, edit, and repeat in reverse?
Yes, you'll need es file explorer, and you'll have to turn on its root capabilities in it's setings. Then you can see the data/app folders contents. Curious though, did you try changing the default apps icons already that came with the rom?
Roll Tide
I am hoping to do that tonight.
I will let you know how it goes.
I am going to do that first, then I will tackle the added apps.
K, and remember to backup before just to be sure lol
Roll Tide
Ok, so tonight I tried some things...
1. ROM Package - I unzipped this and checked the majority of the apk files. I COULD NOT find the phone icon to save my life. none of the icons my epic has now with syndicate and genocide, I could not find. Any ideas where they might be? In the res folders, there are several combinations of the drawable folders.
2. I did a test of modding an app I downloaded. I took google music and the PSD template for the Illest Icon Set. I created an icon for google music. Now, I know the icon works, cause when I was using that other program to change the icon before I rooted (file organizer or something???) it worked. Under the res folder there were a TON of drawable folders, some were like v8, v9, v10, v11, etc. etc. There were a ton. So I went with the default drawable.hdpi folder. I found an ic_musiclauncher_normal.png and ic_musiclauncher_small.png. I changed the normal one, drug it back into my 7zip, yes to overwright, copied it back to my SD card (talking about the com.google.android.music-1.apk now), used ES to copy it from my SD card back into data\apps, yes to overright and rebooted.
When it rebooted, I got that default green and white android box and the application did not work.
I did a restore from my backup and everything is good now.
So...where do I need to look in the ROM to find the actual stinking icons?
And what am I doing wrong with the market apps?
lardo5150 said:
Ok, so tonight I tried some things...
1. ROM Package - I unzipped this and checked the majority of the apk files. I COULD NOT find the phone icon to save my life. none of the icons my epic has now with syndicate and genocide, I could not find. Any ideas where they might be? In the res folders, there are several combinations of the drawable folders.
2. I did a test of modding an app I downloaded. I took google music and the PSD template for the Illest Icon Set. I created an icon for google music. Now, I know the icon works, cause when I was using that other program to change the icon before I rooted (file organizer or something???) it worked. Under the res folder there were a TON of drawable folders, some were like v8, v9, v10, v11, etc. etc. There were a ton. So I went with the default drawable.hdpi folder. I found an ic_musiclauncher_normal.png and ic_musiclauncher_small.png. I changed the normal one, drug it back into my 7zip, yes to overwright, copied it back to my SD card (talking about the com.google.android.music-1.apk now), used ES to copy it from my SD card back into data\apps, yes to overright and rebooted.
When it rebooted, I got that default green and white android box and the application did not work.
I did a restore from my backup and everything is good now.
So...where do I need to look in the ROM to find the actual stinking icons?
And what am I doing wrong with the market apps?
Click to expand...
Click to collapse
1.) Phone icon is in DialerTabActivity.apk. DialerTab is the actual dialer part you open up, and phone.apk is the "in call" stuff.
2)Different apps use different drawable folders for their icons, but they are usually in drawable-hdpi. they are sometimes named "icon.png" or "ic_launcher_appname.png." I think the new icon you want has to be the same pixel size as the one you're replacing.
zanderman112 said:
1.) Phone icon is in DialerTabActivity.apk. DialerTab is the actual dialer part you open up, and phone.apk is the "in call" stuff.
2)Different apps use different drawable folders for their icons, but they are usually in drawable-hdpi. they are sometimes named "icon.png" or "ic_launcher_appname.png." I think the new icon you want has to be the same pixel size as the one you're replacing.
Click to expand...
Click to collapse
Yep, the one place I did not look. Thank you! I will try again tomorow, I have practice tonight. Stay tuned....
What is the reason for the same pixel? Is that set somewhere? The reason why I ask is people theme the phone out and make the icons anyway they want.
I gave you a thanks as well
1.) Yeah, two apks is confusing lol
2.) I'm not 100% sure about that, buut images can be resized to match the resolution of icons.
3.) THX4THX
Sent from my SPH-D700 using Tapatalk
Ok, so I replaced the phone icon with the one I wanted in the ROM's zip file.
Wiped the phone and installed the rom and kernel and my icon is there!
So success.
I did make the icon the same size in pixesl as well. 72x72
Nice! Glad it worked!
Btw, by doing this, you're dabbling your toes in themeing water lol.
Ya, I realized you are like Mr Miyagi, lol.
I do appreciate this, I would rather learn it then someone just give it to me.
Although, like the issue I had before cause of all the apk's, I could use some help with locating a few items....please
Here is what I need to find...
facebook
text messaging
calendar
settings
yahoo mail (is that standard?)
youtube
market
maps
voicemail
email
movies
I am going to start looking here in a bit (wife is making me watch jersey shore with her )
The rest of the icons I have are for google music, dolphin, etc....so I need to figure that out and why it bombed out on me before, I am assuming like you said the pixels were wrong.
screw it, I am going to try and tackle the status bar as well.
lardo5150 said:
Ya, I realized you are like Mr Miyagi, lol.
I do appreciate this, I would rather learn it then someone just give it to me.
Although, like the issue I had before cause of all the apk's, I could use some help with locating a few items....please
Here is what I need to find...
facebook
text messaging
calendar
settings
yahoo mail (is that standard?)
youtube
market
maps
voicemail
email
movies
I am going to start looking here in a bit (wife is making me watch jersey shore with her )
The rest of the icons I have are for google music, dolphin, etc....so I need to figure that out and why it bombed out on me before, I am assuming like you said the pixels were wrong.
screw it, I am going to try and tackle the status bar as well.
Click to expand...
Click to collapse
Status bar itself is in framework-res.apk/res/drawable-hdpi/statusbar_background.9.png, so if you don't know how to edit .9.png's, you'll have to find a statusbar you like.
The other parts of the notifiation drawer start with status_bar_ and are .9.pngs as well.
But some parts of the notification drawer are in twframework-res.apk/res/drawable-hdpi/
Sent from my SPH-D700 using Tapatalk
Cool, thanks.
Going after them now!

cusom icon on ICS folder?

i know i can use smart shortcuts or folder organizer, but personally i prefer the layout and style of the ICS folder, but i'd like to be able to put a custom icon on them.
i've been desperately searching the market without any luck, so i was hoping maybe someone here would have some ideas.
neok44 said:
i know i can use smart shortcuts or folder organizer, but personally i prefer the layout and style of the ICS folder, but i'd like to be able to put a custom icon on them.
i've been desperately searching the market without any luck, so i was hoping maybe someone here would have some ideas.
Click to expand...
Click to collapse
I would start out by taking a look at systemui or the framework.
tristan202 said:
I would start out by taking a look at systemui or the framework.
Click to expand...
Click to collapse
yeah but that will do EVERY folder. i want to be able to have one icon on one folder and another on another folder. not the same icon on every single folder.
For example, games folder has games icon, media folder has media icon.
Mmm that sounds pretty tricky, good luck with that one
i figured as much since i haven't been able to find anything. guess all i can do is wait for the folder organizer dev, or some other to update their apps to the ICS folders.

[Q] how to copy static wallpapers

I found some cool wallpapers. How can I copy these wallpaer to my Galaxy Nexus? What is the location of wallpapers and is there any special method of transfer? I will appreciate your help.
Just put them on your phone somewhere using USB then open them in the gallery and use the menu to set them as wallpaper.
-Sent via XDA Premium-
Ryjabo said:
Just put them on your phone somewhere using USB then open them in the gallery and use the menu to set them as wallpaper.
-Sent via XDA Premium-
Click to expand...
Click to collapse
Thanks fro your advice but the problem is that you have to crop the image when you try use any image from gallery. I was looking for the path or location of wallpapers on the phone so that I just copy jpeg files.
I downloaed new galaxy s3 wallpapers and wanted to use them.
I think if you download "QuickPic" from the market...
Long press your homescreen and select wallpaper>quickpic you can drag the sliders to the full image.
Jubakuba, thanks. Quickpic did the job.
rookie8155 said:
Thanks fro your advice but the problem is that you have to crop the image when you try use any image from gallery. I was looking for the path or location of wallpapers on the phone so that I just copy jpeg files.
I downloaed new galaxy s3 wallpapers and wanted to use them.
Click to expand...
Click to collapse
The "cropping" in the Gallery doesn't actually downsize it if you go to the full size, it just shows what you'll actually see when taking away the top/bottom bars.

Multipicture Live 4.2 Fix

Hi:
Google changed the folder to accommodate multiple users. If you're using MultiPicture Live for wallpaper for your screens, the common settings for Picture Folder no longer point to the same location. You'll need to switch to Album, deselect any folders you weren't using and hit ok. Then you can switch back to Picture Folder, you'll find the path cleared and you can navigate back to the correct location.
Tom
Help!
thenrik said:
Hi:
Google changed the folder to accommodate multiple users. If you're using MultiPicture Live for wallpaper for your screens, the common settings for Picture Folder no longer point to the same location. You'll need to switch to Album, deselect any folders you weren't using and hit ok. Then you can switch back to Picture Folder, you'll find the path cleared and you can navigate back to the correct location.
Tom
Click to expand...
Click to collapse
Can you please post specific step by step instructions? I tried everything and it will not keep any settings.
I am on a nexus 7 jellybean 4.2.1 THANX.
THEBIGWET said:
Can you please post specific step by step instructions? I tried everything and it will not keep any settings.
I am on a nexus 7 jellybean 4.2.1 THANX.
Click to expand...
Click to collapse
Can anyone please help me with this issue? I set up a wicked Hubs UI and its just not the same without the multi wallpapers. If not does anyone know another app that works the same way that does not have issues with 4.2.1?
THEBIGWET said:
Can anyone please help me with this issue? I set up a wicked Hubs UI and its just not the same without the multi wallpapers. If not does anyone know another app that works the same way that does not have issues with 4.2.1?
Click to expand...
Click to collapse
He is saying your old saved location is broken in the live wallpaper app and to fix it for each wallpaper you have select any album you have in you gallery and save it for each. Then go back and reselect your picture folder that you had previous to 4.2.1 and you'll be back to normal.
This is due to Google introducing virtual sdcards and the live wallpaper app not be updated to support this.
Sent from my Nexus 7 using XDA Premium HD app
slimdizzy said:
He is saying your old saved location is broken in the live wallpaper app and to fix it for each wallpaper you have select any album you have in you gallery and save it for each. Then go back and reselect your picture folder that you had previous to 4.2.1 and you'll be back to normal.
This is due to Google introducing virtual sdcards and the live wallpaper app not be updated to support this.
Sent from my Nexus 7 using XDA Premium HD app
Click to expand...
Click to collapse
Thanks but I have a nexus 7 and it is not keeping the settings. That's why I asked specifically for step by step instructions. I use nova launcher paid version and I have seven screens. I have a folder with about ten pics for each screen. For example my leftmost first screen is Tools. The folder with the pics for it is called Tools WP. Also for the nexus seven should I be using a workaround for some home settings in the advanced settings and if so, which one?
I switched to ssLauncher, no need for MPL; set whatever pictures per screen and different ones for landscape if you want, and they all stick.
Hi:
@THEBIGWET: Sorry to be so tardy but I was out of town for the holidays. You'll find step-by-step instructions here:
http://www.nexus7nexus10.com/forum/...our-nexus-7-tablet-basic-step-step-setup.html
There may be conflicts between Nova Launcher and MultiPicture Live I recall trying Nova and having problems with MultiPicture Live. I could be wrong.
Best,
Tom

Issues with .PNG files?

So I whipped up some neat icons for a custom theme I'm working on and found to my horror that Zooper Widget seems to not support importing .png files as static images? Perhaps I'm wrong and this is a bug but if it's not then It's a feature that I highly desire to have, and I'm sure I'm not the only one.
I looked around for ages to see if there was anyone else who might have mentioned this but I've seen nothing, aside from .svg support.
I do have the paid version of Zooper and do enjoy using it immensely. I loathe having to return to UCCW just to make a couple of folder widgets to use my icons on so if that tells you anything about how much I enjoy Zooper.
----
If nothing else, where do I go from here? I'm using a gradient as a background for my folder bar so the icon images I'm using absolutely have to have transparency and I already exported them all in .png format. I have around 25 and I still have yet to figure out how to load an alpha channel from my transparent background in photoshop (because apparently you can't, you have to manually do it).
Best wishes and thanks for the great app devs! Keep up the hard work!
Png works man...We are using since ages
Must be a bug then.
On my app if I choose "Bitmap: Add a static bitmap from your Device Gallery" and then select the .png image then nothing happens. I've left it there for a few hours to see if it would just load up in time, even rebooted to check and see if that might be a bug as well. No dice either way, just the default folder icon sitting there mocking me.
Is there a size requirement to the images that I wasn't aware of? I was using 640x640 images... which is a little on the large size so if that's it then it's totally my fault. If not then I need to go and find a place to submit a bug report because it's not working properly for anything other than .bmp and .jpg files on my end it seems.
From what I've found you have to select always on the open with dialog, and only gallery. No idea why.
Sent from carbon note 2 on XDA premium app
I rooted my phone and the issue appears to have been resolved.
Whether that was due to the rooting or an update I'm not sure. Either ways your solution is extremely helpful. Thank you.
Hi, I was wondering if anybody here could give me some advice. Using my Zooper widget Pro, I made my own template with Bitmaps and all. It works great on my phone so I decided I would share the template and had it uploaded in my google drive so I could just share a download link. Now I did a test run and downloaded the template using my other phone (also has zooper widget pro) and used the template. To my surprise, the bitmaps don't show. They only appear as folder icons. All the other parts of the template such as text and weather icons work fine.

Categories

Resources