[Q] How do I edit a .xap to change the apps icon? - Windows Phone 8 Q&A, Help & Troubleshooting

I have the official YouTube .xap, but I still hate the horrible gradient app tile with the YouTube logo on it. How can I decompile an app to change the tile icon and the splash screen.
Thanks in advance guys,
Dylan.

You can not,XAP downloaded from Store are protected by DRM.

titi66200 said:
You can not,XAP downloaded from Store are protected by DRM.
Click to expand...
Click to collapse
It hasn't been downloaded for the store. It was downloaded as a .xap file from XDA and deployed to my phone using the SDK.

If you can open the xap with Winrar, extract it, find the icon file and replace it.
If you can't find the icon file, you can check its location in WMAppManifest.xml.
If you can't open the xap with Winrar, it is protected and you cannot decrypt it, unless you have a interop unlock device.

Gnad said:
If you can open the xap with Winrar, extract it, find the icon file and replace it.
If you can't find the icon file, you can check its location in WMAppManifest.xml.
If you can't open the xap with Winrar, it is protected and you cannot decrypt it, unless you have a interop unlock device.
Click to expand...
Click to collapse
I tried that. But unfortunately when I installed it on my device it looked the same. Icon never changed.. Maybe it needs to be an exact size or something?

For tile icon
ApplicationIcon.png
Background.png
Tile_Wide.png
and for splash screen
SplashScreenImage.jpg
SplashScreenImage.screen-720p.jpg
you must uninstall before reinstall

titi66200 said:
For tile icon
ApplicationIcon.png
Background.png
Tile_Wide.png
and for splash screen
SplashScreenImage.jpg
SplashScreenImage.screen-720p.jpg
you must uninstall before reinstall
Click to expand...
Click to collapse
Changed everything. But now when I try to deploy the app (after re archiving it with WinRAR)., it says theres an invalid signature or something.

I use 7-zip for repack into Zip file and rename to xap.

titi66200 said:
I use 7-zip for repack into Zip file and rename to xap.
Click to expand...
Click to collapse
Got it to work, thanks Now to find a way to change icons and things etc in the app. Like the YouTube icon header on the top of the app.

Related

donut: unwanted images in galley

ok this is really starting to bug me. ever since i updated to donut, there have been images showing up in the gallery that i dont want to show. is there anyway i can get rid of them?
djosiah said:
ok this is really starting to bug me. ever since i updated to donut, there have been images showing up in the gallery that i dont want to show. is there anyway i can get rid of them?
Click to expand...
Click to collapse
If your talking about pictures that you only want viewable in something like "Astro File Manager" you could put a dot in front of the folder in question.
For example, for the pictures I have of my GF, i hide it by naming the folder ".GF" and it wont show in Gallery at all... but if you use a file browser like Astro you can view the files by going into the folder.
In Linux, a dot before the name of the folder usually means a hidden folder, hence thats why gallery won't pick it up then.
ive added dots to the beginning of some of the folder, but they are still appearing in the gallery
try using the nomedia file.
connet your phone to your computer, go to the file you don't want pic, music or whatever from create a new txt file open it, save as name nomedia change file type ot all files remove the .txt extention and then delete the first .txt file..
works for me...
thisoneguy said:
try using the nomedia file.
connet your phone to your computer, go to the file you don't want pic, music or whatever from create a new txt file open it, save as name nomedia change file type ot all files remove the .txt extention and then delete the first .txt file..
works for me...
Click to expand...
Click to collapse
ok i didnt understand all of what you said but i will try
ok that didnt work either. i think its because the images i am trying to hide are in a .zip file. for example the themes that you can download for lock 2.0 and weather widgets donate. anyone know how to hide these images?
so none has a solution to this problem?
djosiah said:
ok that didnt work either. i think its because the images i am trying to hide are in a .zip file. for example the themes that you can download for lock 2.0 and weather widgets donate. anyone know how to hide these images?
Click to expand...
Click to collapse
The gallery is displaying images compressed in a zip file?!?!
AdrianK said:
The gallery is displaying images compressed in a zip file?!?!
Click to expand...
Click to collapse
well thats what i believe, because i dont know where else the images would be located. f
If you wana hide pic, you can use advanced launcher to just hide the gallery. Images in a zip should not come up in your gallery unless the zip was extracted. I think you my have images in your "download" folder. Just move them somewhere else and they shouldn't come up anymore
BlackElvis79 said:
If you wana hide pic, you can use advanced launcher to just hide the gallery. Images in a zip should not come up in your gallery unless the zip was extracted. I think you my have images in your "download" folder. Just move them somewhere else and they shouldn't come up anymore
Click to expand...
Click to collapse
i cant find where the other pictures are, the only place they are on my Sd card inside the zip files i dont know where else they could be

I Need Help Themeing on a MAC!!

can anyone sign this for me? i think i zipped everything correctly, but i use a mac so i am not sure, it has the notification bar i want (white with see through background) and a white launcher bar
http://www.zshare.net/download/75495216631b6c2e/
DrededStar87 said:
can anyone sign this for me? i think i zipped everything correctly, but i use a mac so i am not sure, it has the notification bar i want (white with see through background) and a white launcher bar
http://www.zshare.net/download/75495216631b6c2e/
Click to expand...
Click to collapse
Try this: http://www.darktremor.com/upload/changes-signed.zip
scratch that, i packaged it wrong, there is the main folder "Changes-signed" and inside of that there is a "changes" folder, then they system folder inside of that and the "framework-res.apk" folder is still a zip and not apk, it just has an alias apk file name fml
DrededStar87 said:
can anyone sign this for me? i think i zipped everything correctly, but i use a mac so i am not sure, it has the notification bar i want (white with see through background) and a white launcher bar
http://www.zshare.net/download/75495216631b6c2e/
Click to expand...
Click to collapse
I use mac too. The way you zip it is go into the folder where it is, select the contents, right-click and hit compress. It should save into archive.zip. Now, to sign it, use this amazing tool. http://forum.xda-developers.com/showthread.php?t=573498 Put the testsign.jar in Macintosh HD and put the app in the dock. Just drag the zip you want to sign onto the icon, and wait for the dot to go away under the sign app. Then, go to the folder where the original zip was, and there should be a Myzip-signed.zip. That should be a flashable zip as long as there's an update-script.
HeroMeng said:
I use mac too. The way you zip it is go into the folder where it is, select the contents, right-click and hit compress. It should save into archive.zip. Now, to sign it, use this amazing tool. http://forum.xda-developers.com/showthread.php?t=573498 Put the testsign.jar in Macintosh HD and put the app in the dock. Just drag the zip you want to sign onto the icon, and wait for the dot to go away under the sign app. Then, go to the folder where the original zip was, and there should be a Myzip-signed.zip. That should be a flashable zip as long as there's an update-script.
Click to expand...
Click to collapse
so it does not have to be an apk file? im gonna try to sign it myself
DrededStar87 said:
so it does not have to be an apk file? im gonna try to sign it myself
Click to expand...
Click to collapse
Uhh... that program is for your mac, not your phone.
HeroMeng said:
Uhh... that program is for your mac, not your phone.
Click to expand...
Click to collapse
i meant the "framework-res.apk" file because i made it an alias of the original file, but it is still a zip, i have no clue how to make it back into an apk file after unzipping it
and i used the search button but the things i found were not much help....just to let people getting ready to yell at me for not using it
DrededStar87 said:
i meant the "framework-res.apk" file because i made it an alias of the original file, but it is still a zip, i have no clue how to make it back into an apk file after unzipping it
and i used the search button but the things i found were not much help....just to let people getting ready to yell at me for not using it
Click to expand...
Click to collapse
Ok, you know what... just make a metamorph file. Metamorph is much easier.
Wait, what? You were trying to reinstall framework-res.apk? Nonononono. No. You need to write an update-script. It will put the apk in /data/app (or /sdext/app) if you install it as an apk.
HeroMeng said:
Ok, you know what... just make a metamorph file. Metamorph is much easier.
Click to expand...
Click to collapse
ummmmmm...i guess saying that i am extremely new to this is an understatement
the easiest way to do what you are talking about is to use something like 7zip or winzip to open , NOT UNZIP, the apk. Next, open up the zip you made. Now, drag the folder called res from YOUR zip into the open window of the apk. This should replace the old folder with your new one that contains all your edits. Now just close the opened apk, and you are done. Simple.
tejasrichard said:
the easiest way to do what you are talking about is to use something like 7zip or winzip to open , NOT UNZIP, the apk. Next, open up the zip you made. Now, drag the folder called res from YOUR zip into the open window of the apk. This should replace the old folder with your new one that contains all your edits. Now just close the opened apk, and you are done. Simple.
Click to expand...
Click to collapse
He has mac, like me. No 7zip.
HeroMeng said:
He has mac, like me. No 7zip.
Click to expand...
Click to collapse
But you have some sort of zip program, right?
tejasrichard said:
But you have some sort of zip program, right?
Click to expand...
Click to collapse
We have Archive Utility, straight from apple, comes with the mac.
It doesn't allow you to open without unzipping? (obviously I know nothing about macs)
tejasrichard said:
It doesn't allow you to open without unzipping? (obviously I know nothing about macs)
Click to expand...
Click to collapse
Nope. We can run Windows apps in WINE if we want....
so...what are my options people? cuz im still confused...
Re: i think i did this right...
bump.....anyone know anything?
Sent from my HERO200 using the XDA mobile application powered by Tapatalk
So here's the issue: Drededstar has unzipped the framework apks, and changed the files...now he wants to know how to turn the .zip folder into actual apk files.
Macs don't have 7zip or ANY program that lets you look into apk contents without unzipping them all the way. So, you have to unzip them. Then once you're done making the changes, you need to change them back to apk files. DOES ANYONE KNOW HOW TO CHANGE THEM BACK TO APK FILES?!!!
I have a mac too, but I do all my theming on my wife's computer...and she's probably tired of me kicking her off. If anyone knows how to do this one simple step could you please let us mac users know?!! Thanks!
as long as the file structure is right, you just have to rename the zip file to apk.

Change Phone icon

Which file and apk do I need to edit in order to change the icon that shows in the launcher. I know to change the messaging icon is in the mms.apk but I can find the apk to edit to change the phone icon. I edited the phone.apk but the icon hasn't changed.
DialerTabActivity.apk, I think.
Sent from my Captivate.
Thanks it worked
rg400smarttowel said:
Thanks it worked
Click to expand...
Click to collapse
Hi, I have a newbie question. I want to change the stock messaging icon in my phone. I already found the apk and the .png file. I read that I could change the icon by:
1. copying apk file to desktop
2. renaming the apk file to zip
3. changing the stock icon with the icon of my choice
4. renaming the zip file back to apk file
Then what? should I just copy the new apk file back to the directory where I found it? Please help. Thanks.
emtan said:
Hi, I have a newbie question. I want to change the stock messaging icon in my phone. I already found the apk and the .png file. I read that I could change the icon by:
1. copying apk file to desktop
2. renaming the apk file to zip
3. changing the stock icon with the icon of my choice
4. renaming the zip file back to apk file
Then what? should I just copy the new apk file back to the directory where I found it? Please help. Thanks.
Click to expand...
Click to collapse
Double click the new zip file to view the contents. Do not extract it. Just replace the file in the zip interface. Then change the extension back to apk, copy it back to your phone, reboot, and profit.
Aphex13 said:
Double click the new zip file to view the contents. Do not extract it. Just replace the file in the zip interface. Then change the extension back to apk, copy it back to your phone, reboot, and profit.
Click to expand...
Click to collapse
Awesome. I finally got it to work. Thank you so much!

[Q] Edit official icon pack apks

Hi im a total no0b to android dev and such..
what im trying to do is unzip an icon pack apk, change some pngs (keeping the same file name) and rezipping or pasting the files/folder back into the original zip and renaming file back to apk
i transfer it to my phone, i can see the apk has the official logo but when i try to install it on my phone (oneplus one) it just says "X App not installed."
can someone help me? or show me where i can find a tut to use some of the existing apk/or make my own?
i appreciate any help
romyrider said:
Hi im a total no0b to android dev and such..
what im trying to do is unzip an icon pack apk, change some pngs (keeping the same file name) and rezipping or pasting the files/folder back into the original zip and renaming file back to apk
i transfer it to my phone, i can see the apk has the official logo but when i try to install it on my phone (oneplus one) it just says "X App not installed."
can someone help me? or show me where i can find a tut to use some of the existing apk/or make my own?
i appreciate any help
Click to expand...
Click to collapse
You won't be able to do that with a signed apk. It might be possible to replace pngs without unzipping. Try opening the apk as an archive and dragging in the new pngs.
upndwn4par said:
You won't be able to do that with a signed apk. It might be possible to replace pngs without unzipping. Try opening the apk as an archive and dragging in the new pngs.
Click to expand...
Click to collapse
already did that and it didnt work aswell...
i dont have the time neither the knowledge to make and icon pack myself from scratch

File Transfer From PC

Hey guys! I wanted to add some wallpapers to my Note 5 from my pc. I have some but they are APK files. Does anyone know which folder I would transfer them to?
MrGrim999 said:
Hey guys! I wanted to add some wallpapers to my Note 5 from my pc. I have some but they are APK files. Does anyone know which folder I would transfer them to?
Click to expand...
Click to collapse
Just transfer them in to your device Download folder and then enable unknown sources in security settings and then use the file explorer to navigate to the Download folder and tap the apk to install it.. It really doesn't matter where you put it as long as you go into settings and then Lock screen and security and enable unknown sources it'll work fine.
MrMike2182 said:
Just transfer them in to your device Download folder and then enable unknown sources in security settings and then use the file explorer to navigate to the Download folder and tap the apk to install it.. It really doesn't matter where you put it as long as you go into settings and then Lock screen and security and enable unknown sources it'll work fine.
Click to expand...
Click to collapse
Thanks alot! For some reason, I just assumed it wouldn't recognize an apk file hehe
MrGrim999 said:
Hey guys! I wanted to add some wallpapers to my Note 5 from my pc. I have some but they are APK files. Does anyone know which folder I would transfer them to?
Click to expand...
Click to collapse
What kind of wallpapers are you using that are APK files? I usually just use Jpeg or PNG files and I created a new folder within the photos folder on the phone and it finds them. are you trying to change entire themes? if so you probably need to root it as often the phone will not open APKs without root.
Like I said to keep it simple I would just search to find JPegs of the wallpapers you want. Just my humble opinion

Categories

Resources