Where are wallpapers stored? - Captivate Q&A, Help & Troubleshooting

So I am having issues with the way Gallery sets wallpapers.
Even though I have a high resolution photo, it insists on cropping the photo and somehow scaling it without zooming. So I end up with a really terrible zoomed in portion of my original picture. I would prefer to just dump my wallpaper in the touchwiz or launcher pro wallpaper chooser.
Thoughts?

Up, any ideas?

they are inside TwWallpaperChooser.apk and about setting up wallpapers is best if u use the correct res 960x800 that way it won't crop it or scale it.

When setting the wallpaper, you can grab the crop border and "pull it out" to fit the entire image so it won't be cropped.

I have done this but it still looks terrible even though the picture looks great on the computer
Sent from my SAMSUNG-SGH-I897 using XDA App

inku said:
they are inside TwWallpaperChooser.apk and about setting up wallpapers is best if u use the correct res 960x800 that way it won't crop it or scale it.
Click to expand...
Click to collapse
Hmm being new to android your statement about it being inside an APK confuses me. I thought APK's were containers to be installed on the phone. Do you have any insight on how to add/remove files from an APK? As far as the proper resolution, it continues to scale the picture from the size presnted on the screen will degraded quality.
Another question, in the android theming forum, Alot of themes are labled CM5/6, does this mean they can only be used with phones with CM? or just optimized?

I'm having this same problem. Anyone figure out a way add pictures to the twWallpaper chooser?

I take no responsibility if you brick your phone doing this. Modifying system files is always done at your own risk.
To modify an .apk (in this case TwWallpaperChooser.apk):
step 0: Make a backup!!!
adb shell
su
cp /system/app/TwWallpaperChooser.apk /sdcard/TwWallpaperChooser.bak
Click to expand...
Click to collapse
then get out of adbshell
exit
exit
Click to expand...
Click to collapse
(that's right, 2 "exit"s, one to exit root, one to exit the shell)
1) pull the file from your phone to your computer:
adb pull /system/app/TwWallpaperChooser.apk
Click to expand...
Click to collapse
2) Open the archive
a) If in linux just use archive manager
b) In Windows it might be easier to change the extension from .apk to .zip first
3) Add the files you want. Wallpapers go in the apk here: /res/drawable-hdpi/
3b)If you changed the extension to .zip change it back to .apk
4) Push the files back to your phone. Theoretically this command should work:
adb push TwWallpaperChooser.apk /system/app/
Click to expand...
Click to collapse
but adb (for me anyway) doesn't like pushing files into /system, so you might have to do this instead:
push the file to the sd card:
adb push TwWallpaperChooser.apk /sdcard
Click to expand...
Click to collapse
Then use root explorer to move the file to /system/app or use adb:
adb shell
su
mv /sdcard/TwWallpaperChooser.apk /system/app
Click to expand...
Click to collapse
5) reboot
adb reboot
Click to expand...
Click to collapse
Ta-da!

Tried the method above except I used Root Explorer to move around the file. Everything is fine except none of the wallpapers I added show up. I tried ADB but I get a Cross-Device link error when I try to move it.

rob989_69 said:
Tried the method above except I used Root Explorer to move around the file. Everything is fine except none of the wallpapers I added show up. I tried ADB but I get a Cross-Device link error when I try to move it.
Click to expand...
Click to collapse
Much easier method...workload justpictures from market and set resolution to miami maximum....nice pretty zoomed in pictures and clear wallpapers
Sent telepathically using vulcan mind meld app.

Related

System > Wallpaper > ???

When I select my custom wallpaper, I don't want to go through the resizing process over and over again. Is there a way I can copy the wallpapers I want to the system directory in order to use the system wallpaper app? I tried searching for this topic, but couldn't find anything like it. Thanks for any assistance with this issue.
*Update*I found my answer on another website:
"They are not in a directory.. they are on the Launcher.apk under \res\drawable
I know you can replace the wallpapers there with your own ( I've done this before) but I'm not sure If you'll be able to add more wallpapers to the gallery without replacing the default ones. "
To MOD: Please delete this thread!!! Thanks!!!
any guide/info on the proccess. would like to change some wallpapers
MotoMudder77 said:
any guide/info on the proccess. would like to change some wallpapers
Click to expand...
Click to collapse
It would probably be easier if you checked out on the market Wallpaper Set and Save.
MotoMudder77 said:
any guide/info on the proccess. would like to change some wallpapers
Click to expand...
Click to collapse
The wallpapers are in the Launcher.apk file.
Replace as necessary and re-sign the apk file.
You will find wallpapers that are in there twice they are in fact the wallpaper itself and a thumbnail (with "small" added onto the name).
nolimit78 said:
It would probably be easier if you checked out on the market Wallpaper Set and Save.
Click to expand...
Click to collapse
Got it, Is very easy. Thanks, would still like to change walls in the wallpaper gallery.
Binary100100 said:
The wallpapers are in the Launcher.apk file.
Replace as necessary and re-sign the apk file.
You will find wallpapers that are in there twice they are in fact the wallpaper itself and a thumbnail (with "small" added onto the name).
Click to expand...
Click to collapse
I've got that much from searching around. Is it just too in depth that theres not a guide for it? Sorry Im a noob to android.
The fact that you have to replace them is what gets me, is it too hard to write new ones into the .apk?
And even if (heres the noob Q) how would I pull apart the .apk, and then resign it?
MotoMudder77 said:
Got it, Is very easy. Thanks, would still like to change walls in the wallpaper gallery.
I've got that much from searching around. Is it just too in depth that theres not a guide for it? Sorry Im a noob to android.
The fact that you have to replace them is what gets me, is it too hard to write new ones into the .apk?
And even if (heres the noob Q) how would I pull apart the .apk, and then resign it?
Click to expand...
Click to collapse
Wow you are a noob. LOL.
To open the apk just use winrar or similar. Extract it like you would a zip file but don't delete anything. Now say you are wanting to replace Wallpaper1.jpeg, Wallpaper2.jpeg, Wallpaper3.jpeg and Wallpaper4.jpeg you only need to replace those 4 and the corresponding _small.jpeg file (example: Wallpaper1_small.jpeg) with your appropriately named replacements (customized Wallpaper1.jpeg and Wallpaper1_small.jpeg) and replace the original. Then take your modified files and drop it back into the /drawable directory of your apk file. Sign your apk file and you should be good to go. Make sure that you don't have a Thumbs.db in the directory. It's safe to have in there but it can take up space and it's completely unnecessary. In regards to just adding additional wallpapers it would have to be done from source. It's probably easier for a beginner to just rename and replace.
To resign... (sigh) there are about half a dozen ways to do it. Seek and ye shall find.

[Tutorial] Custom Boot Animation

This tutorial will explain how to make a custom boot animation for your droid eris by replacing the stock verizon wireless animation.
Notes:
- We will be working with .png files so be prepared to convert a video-animation to a series of pngs.
- There are other stock animations such as the HTC one and it may be possible to add another animation onto the end of the verizon wireless one.
1) Create a video animation of 320x480 resolution in Adobe After Effects, another video animating software, or create a series of images for your animation.
2) Convert that video into a series of .png files with the names: 00.png 01.png ... etc ... to 25.png (I have not attempted to use more or less than 25 png files, it may or may not work)
3) Extract the stock bootanimation.zip (provided below) into a working directory, with the following file structure...
- /bootanimation
---- /android -> should contain (00.png -> 03.png) "HTC"
---- /last -> should contain (01.png -> 02.png)
---- /vzw -> should contain (00.png -> 25.png)
---- desc.txt
4) Copy and replace the png files in the vzw folder with the pngs you just created.
5) Choose 2 .png files to be shown after your animation has completed and copy them into your /last directory replacing 01.png and 02.png.
5) Create a new zip file with the folders and desc.txt at root. Make sure to use the Store as the compression method when creating a new zip file. See picture attached to this post.
6) Use adb to send your file to /system/media/bootanimation.zip on your phone.
7) Reboot, and enjoy your fresh boot animation.
I have included my bootanimation.zip as an example. Heres a video of mine:
{Need to be approved by moderator to post youtube link}
youtube -> /watch?v=geghwnIfKS4
This works on the non-rooted eris also
DarthMowzy said:
This works on the non-rooted eris also
Click to expand...
Click to collapse
Really?...
I thought you needed it to mount the system to RW and you can't do this until you have Root?
Also anyone willing to convert this animation from the G1 over to the eris? I really don't know anything about Photoshop or anything like that so I would really appreciate if you would convert these two animations for the eris if its possible.
http://www.4shared.com/file/209835047/9ae956d/bootanimation_boing.html
and this one
http://www.megaupload.com/?d=CY4DK79B
DarthMowzy said:
This works on the non-rooted eris also
Click to expand...
Click to collapse
How? Don't you need ROOT Acess to gain those folders
You need root to copy the zip here: /system/media/bootanimation.zip
but you dont need root to copy it here: /data/local/bootanimation.zip
Do the same steps but change the zip location and it will work.
What if the boot is WAAAAAAAAAAAAAAAAAAAAY longer than 25?? What do I do
Like this one: http://www.mediafire.com/?25notzfztgz
Plus, DarthMowzy in data there is no local folder do I make one
iloveandroid said:
What if the boot is WAAAAAAAAAAAAAAAAAAAAY longer than 25?? What do I do
Like this one: http://www.mediafire.com/?25notzfztgz
Plus, DarthMowzy in data there is no local folder do I make one
Click to expand...
Click to collapse
try it out, i heard a couple of people getting files with over 200 frames working
i3urn said:
try it out, i heard a couple of people getting files with over 200 frames working
Click to expand...
Click to collapse
Yea I can vouch that it works I have one that is 250+ and it works fine.
just a tip to help avoid hours of pulling your hair out..not that i did this or anything
zip up the folders within bootanimation folder, not the bootanimation folder and the folders. If you do, you end up with another directory and it won't load.
Please elp me with desc.txt
t2noob said:
Yea I can vouch that it works I have one that is 250+ and it works fine.
Click to expand...
Click to collapse
I see you guys are having good luck loading boot animations and I imagine your are not running as choppy as mine. all I did was replace the .png files from the example_bootanimation, and mine looks like crap. Can someone tell me what you used in your desc.txt file?
THanks
iloveandroid said:
What if the boot is WAAAAAAAAAAAAAAAAAAAAY longer than 25?? What do I do
Like this one: http://www.mediafire.com/?25notzfztgz
Plus, DarthMowzy in data there is no local folder do I make one
Click to expand...
Click to collapse
When using "adb shell" I can see the local dir. I didnt create it. It was already there.
What cool animations have you guys made
can you guys post some ani,mations you have made that you would not mind sharing. Mine is not that great but I would like to learn. In the mean time I would really like to find something cool to use.

...how do you remove default gallery?

I love the new stable cyanogen 5.0.7 for the G1, I just miss the 3d gallery. I was able to find the 3d gallery and install it just fine, but now I have double gallery in app tray. Is it possible to remove the default gallery, and if so, how is it done? I have already tried the following:
Code:
rm /system/app/gallery.apk
SG_Shadow said:
I love the new stable cyanogen 5.0.7 for the G1, I just miss the 3d gallery. I was able to find the 3d gallery and install it just fine, but now I have double gallery in app tray. Is it possible to remove the default gallery, and if so, how is it done? I have already tried the following:
Code:
rm /system/app/gallery.apk
Click to expand...
Click to collapse
did you
Code:
adb remount
first? or use root explorer to delete it
samir5421 said:
did you
Code:
adb remount
first? or use root explorer to delete it
Click to expand...
Click to collapse
I entered the code listed above to remove the gallery.apk from the system. What ends of happening is the 3d gallery gets removed, not the default system gallery. Is there another method, aside from the code I entered in my original post?
SG_Shadow said:
I entered the code listed above to remove the gallery.apk from the system. What ends of happening is the 3d gallery gets removed, not the default system gallery. Is there another method, aside from the code I entered in my original post?
Click to expand...
Click to collapse
here:
I wanted the 3d gallery back which was removed from test 6, so what i did was unzip test5 and renamed Gallery3D.apk which is located in the /system/app folder to "Gallery.apk" and then used adb to push it back to my phone after installing test 6
adb remount
adb push Gallery.apk /system/app
worked fine for me
yozpalang said:
here:
I wanted the 3d gallery back which was removed from test 6, so what i did was unzip test5 and renamed Gallery3D.apk which is located in the /system/app folder to "Gallery.apk" and then used adb to push it back to my phone after installing test 6
adb remount
adb push Gallery.apk /system/app
worked fine for me
Click to expand...
Click to collapse
Did you have double galleries?
SG_Shadow said:
Did you have double galleries?
Click to expand...
Click to collapse
NO, when you rename it it will replace the 2D gallery
Can you please post the .apk for the 3D Gallery?
pziv2 said:
Can you please post the .apk for the 3D Gallery?
Click to expand...
Click to collapse
...here ya go. I will try to install via adb from home. I was just at work and couldn't use adb, so I just tried numerous different things via terminal. So hopefully when I get home, I can just rename the file Gallery.apk and push via adb.
yozpalang said:
NO, when you rename it it will replace the 2D gallery
Click to expand...
Click to collapse
Thanks man. I'm at home right now and I just followed the easy, simple instructions and BINGO, done. No double galleries...
SG_Shadow said:
Thanks man. I'm at home right now and I just followed the easy, simple instructions and BINGO, done. No double galleries...
Click to expand...
Click to collapse
NP, glad I could help
any way to remove 3d gallery or the other gallery?? i dont care which one is removed as long as i have 1.. via terminal becuz im no good with adb
yozpalang said:
here:
I wanted the 3d gallery back which was removed from test 6, so what i did was unzip test5 and renamed Gallery3D.apk which is located in the /system/app folder to "Gallery.apk" and then used adb to push it back to my phone after installing test 6
adb remount
adb push Gallery.apk /system/app
worked fine for me
Click to expand...
Click to collapse
Hi Yozpalang,
I am very much newbiee in rooting and after reading this whole thread i didnt got where and how to enter this commands(amd adb remount
adb push Gallery.apk /system/app).
By great effort and loads of reading, i was able to root Cyanogen 5.0.7 Rom to my G1 and its working perfectly. After going through this thread i am also interested in having 3D gallery instead of existing photo gallery. So can u please put the step by step procedure for getting it installed in my G1.
SG_Shadow said:
...here ya go. I will try to install via adb from home. I was just at work and couldn't use adb, so I just tried numerous different things via terminal. So hopefully when I get home, I can just rename the file Gallery.apk and push via adb.
Click to expand...
Click to collapse
Isn't the gallery.apk also the camera app? Aren't the two tied in? Does the "3D gallery" come with the camera tied in?

[Q]Anyone tried to theme the new market?

I am trying to theme the new 2.2.7 market apk but I can't find the .png that corresponds to the green background on the top half of the screen. Anyone know where that is? I've looked all through the drawable-mpdi folder.
PMDColeslaw said:
I am trying to theme the new 2.2.7 market apk but I can't find the .png that corresponds to the green background on the top half of the screen. Anyone know where that is? I've looked all through the drawable-mpdi folder.
Click to expand...
Click to collapse
It's all in the values /colors.xml when you de-compile it.
Use the attached image and run a Hue/Saturation on it until ypou get the color you want. Then use the dropper tool to get the colors and add those to the colors.xml file in the correct places (Which should be easy since I have the original color codes on it).
JAguirre1231 said:
It's all in the values /colors.xml when you de-compile it.
Use the attached image and run a Hue/Saturation on it until ypou get the color you want. Then use the dropper tool to get the colors and add those to the colors.xml file in the correct places (Which should be easy since I have the original color codes on it).
Click to expand...
Click to collapse
Very cool, thank you!
JAguirre1231 said:
It's all in the values /colors.xml when you de-compile it.
Use the attached image and run a Hue/Saturation on it until ypou get the color you want. Then use the dropper tool to get the colors and add those to the colors.xml file in the correct places (Which should be easy since I have the original color codes on it).
Click to expand...
Click to collapse
Im not seeing a colors.xml in the apk. Where is it locatated? I searched the whole res folder and had no results
I don't even see a Values folder in the apk.
PMDColeslaw said:
Im not seeing a colors.xml in the apk. Where is it locatated? I searched the whole res folder and had no results
I don't even see a Values folder in the apk.
Click to expand...
Click to collapse
It's all in the values /colors.xml when you de-compile it.
Click to expand...
Click to collapse
Use apktool.
JAguirre1231 said:
Use apktool.
Click to expand...
Click to collapse
Yeah I just realized my ignorance an few ago
I saw this and have edited the colors via the xml files after de-compiling but no change. I edited all colors for the header background. Thanks in advance.
Edubyah said:
I saw this and have edited the colors via the xml files after de-compiling but no change. I edited all colors for the header background. Thanks in advance.
Click to expand...
Click to collapse
I'm having the same results. I de-compile, edit the colors.xml file, compile, sign and flash. Still shows the green header
I used ninjamorph tried to Change the new market's stat_notify_market_update
& stat_sys_install_complete
Icons with the custom icons from my macnutR14 rom. It says successful but I reboot & nothing still green
vibrant rooted
macnutR14
super io kernel+OCLF
QS 1998
2.2 froyo
please share your works, if successful...
PMDColeslaw said:
I'm having the same results. I de-compile, edit the colors.xml file, compile, sign and flash. Still shows the green header
Click to expand...
Click to collapse
Where are you flashing it to? Make sure that there's no com.android.vending-*.apk in /data/app/
Also, I was able to do it just fine right now. Made everything a blue color.
JAguirre1231 said:
Where are you flashing it to? Make sure that there's no com.android.vending-*.apk in /data/app/
Also, I was able to do it just fine right now. Made everything a blue color.
Click to expand...
Click to collapse
Well there was a com.Android.vending-1.apk in there so I deleted it and reflashed mine. Now I get a bunch of fc's. You mind posting the one you made so I can take a look?
Sent from my HERO200 using XDA App
PMDColeslaw said:
Well there was a com.Android.vending-1.apk in there so I deleted it and reflashed mine. Now I get a bunch of fc's. You mind posting the one you made so I can take a look?
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
adb shell pm uninstall com.android.vending
adb remount
adb shell rm /system/app/Vending.apk
adb push <name of attached> /system/app/
JAguirre1231 said:
adb shell pm uninstall com.android.vending
adb remount
adb shell rm /system/app/Vending.apk
adb push <name of attached> /system/app/
Click to expand...
Click to collapse
I get failure on that first command "adb shell pm uninstall com.android.vending"
EDIT: I went ahead and comleted the other staeps after the failure and I was able to get yours to load. I'll decompile yours and see if I'm doing something wrong with the hex color codes or something.
Thanks for all your help!

[MOD] Transparent Music Widget

I really did not like the gray background on the music widget so I made a transparent version that looks real good on the Xoom.
To apply the apk you will need adb and root running.
adb remount
adb push Music2.apk /system/app/Music2.apk
What exactly did you edit to get it to do that? I'd like to play around with it a little bit.
arrtoodeetoo said:
What exactly did you edit to get it to do that? I'd like to play around with it a little bit.
Click to expand...
Click to collapse
Used Photoshop to edit the images. If you extract the files from the .apk using winrar or something similar you can find the background files in res/drawable-mdpi. There are 4 files in there that all start with bg_panel and are 9.png's.
Once I had the files edited the way I wanted, I just dragged and dropped them into the .apk using winrar.
Hope that helps.
great job on this
why do you use advanced task killer?
Works great, thanks.
Note to anyone trying to be lazy like me: You must use the ADB method he instructed how to use, simply trying to install the .apk doesn't work.
PaulG1488 said:
why do you use advanced task killer?
Click to expand...
Click to collapse
I use ATK more out of habit than anything else. I like to know what is running and kill what is not needed to reduce battery usage. Have used this since the G1 days
B Dizzle said:
Used Photoshop to edit the images. If you extract the files from the .apk using winrar or something similar you can find the background files in res/drawable-mdpi. There are 4 files in there that all start with bg_panel and are 9.png's.
Once I had the files edited the way I wanted, I just dragged and dropped them into the .apk using winrar.
Hope that helps.
Click to expand...
Click to collapse
Thank you! I knew how to edit them, I just couldn't track down the files.
There is also a preview file that shows up when you are adding widgets to the screen. I don't recall which folder it is in but the name of the png is obvious.
Was searching for a market alternative that looked like this but none I found worked so this made my day! Thanks!
pure music should be working sometime soon, i emailed the dev about it and he acknowledged that there was a problem.
@B Dizzle: Thanks for this. I have not rooted yet but will soon to get this music widget mod. I am trying to make all my widgets have transparency (except CNN) and Pandora is the only one I have left to make my home screen complete. Do you know if it is possible to do something similar with Pandora widget?
See screen here (lower center).
Please HELP
Ive tried to install this mod, but music app is now lost.
Anyone can help me on this one?
Thanks in advance!
drziddo said:
Ive tried to install this mod, but music app is now lost.
Anyone can help me on this one?
Thanks in advance!
Click to expand...
Click to collapse
For simplicity put the music2.apk file in the same directory as adb. Then attempt to push the file again.
A reboot may also fix this.
If all else fails, download the official dump from the dev section and push the original music2.apk back to your device.
Sent from my Xoom using Tapatalk
I havnt got a XOOM yet so I can only use the emulator but maybe I could make one with the blue "holographic" outline if anyone is interested. Just let me know.
B Dizzle said:
For simplicity put the music2.apk file in the same directory as adb. Then attempt to push the file again.
A reboot may also fix this.
If all else fails, download the official dump from the dev section and push the original music2.apk back to your device.
Sent from my Xoom using Tapatalk
Click to expand...
Click to collapse
Downloaded the dump, pushed the apk, not working.
Any ideas?
If I had to guess there is a permission issue if the music2.apk is actually in the /system/app folder. Check permissions on the apk. Check the owner of the file. Try replacing the file with another using Root Explorer.

Categories

Resources