xap package signature is not valid? - Windows Phone 7 Q&A, Help & Troubleshooting

i try to load some xap files into my phone using Tom XAP Installer v1.1, but i consistently got some error messages. i tried every method and can not fix it.
1. make sure your phone is unlocked
2. make sure you connected device to pc and zune launched.
My device is 100% sure unlocked and i have every tool installed in my machine.
Finally i used application deployment tool by MS, and i got error message:
"xap package signature is not valid or the wp manifest file is invalid. re-sign with valid signature and fix the manifest file."
what should i do? thanks for you help.

The XAP's are DRM protected. I know multiple ways to strip off the DRM, but that would be illegal and therefore I will not give you instructions on this forum. That would violate the rules of XDA forum.

The guy who gave you the xap used the wrong compression method to generate it.
- Rename it to .zip
- Decompress the zip
- Compress the decompressed files with Windows Integrated ZIP (Right Click->Send To)
- Rename .zip to .xap

so basically if you knew multiple ways to strip off the DRM, i can google it and do it by myself.
anyway, thanks.
Heathcliff74 said:
The XAP's are DRM protected. I know multiple ways to strip off the DRM, but that would be illegal and therefore I will not give you instructions on this forum. That would violate the rules of XDA forum.
Click to expand...
Click to collapse

simply re-decompressing the file will solve my problem? i doubt.
but i will try later. thanks.
kuerbis2 said:
The guy who gave you the xap used the wrong compression method to generate it.
- Rename it to .zip
- Decompress the zip
- Compress the decompressed files with Windows Integrated ZIP (Right Click->Send To)
- Rename .zip to .xap
Click to expand...
Click to collapse

thanks it's working...

does not work for me, but thanks?

I think you can use WP7-DesktopMarketplace
And remember to choose Remove DRM & Replace signature

Related

XAP size limit in Nodo

Hi guys !
Anyone noticed XAP size litmit in Nodo ?
For 7004,7008 jailbreaked we can install xap with any size , but in nodo we can't not install xap more than 75-80 mb , anyone found way change the litmit of xap size in nodo ?
Tom
tom_codon said:
Hi guys !
Anyone noticed XAP size litmit in Nodo ?
For 7004,7008 jailbreaked we can install xap with any size , but in nodo we can't not install xap more than 75-80 mb , anyone found way change the litmit of xap size in nodo ?
Tom
Click to expand...
Click to collapse
THIS I HAVE NOTICED TOO
I tried to install a game my friend was developing on 3 devices and no dice. I thought it was a registry setting but evidently no.
Is there a registry edit to regulate app size?
yes, same problems , anyone know how to fix that , please share the trick
I didn't notice this. I'm going to check when I get home.
Sent using XDA Windows Phone 7 App
yeah i noticed it too
for these big xaps, i just install them with a smaller size and then install the big files with touchxperience or another phone->file-manager
diboze said:
yeah i noticed it too
for these big xaps, i just install them with a smaller size and then install the big files with touchxperience or another phone->file-manager
Click to expand...
Click to collapse
could you explain your process a lil bit more? dont really get it ^^;
ok
First I extract the .xap into a folder. Next thing is to open the xap and remove the large files and look which guid the app has in the manifest.xml .
Install .xap . Now we use TouchXperience or Advanced Eplorer to copy the files into Applications/Data/guid/* and voila. extra-big-xap is installed
Holy Smoke °_°!
Thanks for the hint, gonna try that one out~
Man... this question was asked by me before already ... i guess i wasnt specific enough on my title ><
http://forum.xda-developers.com/showthread.php?t=1020532
and i also checked the folder structure...
it seems the file was deployed to Application/install/GUID/Install
well thats where i found the deployed files
AND IM HAPPY TO SAY IT TOTALLY WORKS!! YAYYYY THANKS FOR DISCOVERING THIS METHOD!!!
Hm didnt work for me ^^;
May I ask for a step by step guide?
File transfer is extremely slow, i'm getting old transfering 200MB apps....
If the game only has 1 big file, you can use the usb trick for windows, your files will be then in my document / zune /content / ...
I cause that problem too, but when I tried installed 2 files (with small file size) in same times that working
but i fail the method delete big file in xap and installed
by the way I don't found XDA app for WP7. I search for a week and my eye nearly blind thanks
yay... I success install big xap to my phone. method delete big file is working but copy file to phone is need to wait for age
There is a MUCH easier method. Simpy deploy using Homebrew Marketplace found here:
http://forum.xda-developers.com/showthread.php?t=1016766
Just deployed some xtra large XAP's with it on NoDo and everything went fine
TheOnly1 said:
There is a MUCH easier method. Simpy deploy using Homebrew Marketplace found here:
http://forum.xda-developers.com/showthread.php?t=1016766
Just deployed some xtra large XAP's with it on NoDo and everything went fine
Click to expand...
Click to collapse
Thanks, i'll reupdate to NoDo and try it out
EDIT: not working
On what OS did you try? did you use the MS dev tools or ConMan libs?
I used Dev Tools with this program. I deployed Guitar Hero 5 (212 MB) as a test and it worked. The Harvest also gave me no problems.
Edit: Now I tried it again and got a timeout error. Then I launched Windows Phone Device Manager 1.2 and deployed again with Homebrew Marketplace and in worked. Weird
Edit 2: My desktop OS is Windows 7.
This method is if everything fails (quite tedious).... it worked for me every time so far
You need:
- Unlocked phone
- TouchXperience (Windows Phone Device manager) or advanced explorer (So that you can transfer files from PC to Phone)
1. Make a copy of the .xap file (just in case u screw it up)
2. Open the .xap file with winrar
3. Extract everything into a New folder
3. Find the file "WMAppManifest.xml" - open it and check the "productID", record this number down
3. By using winrar, delete files inside the .xap file until you have around 20mb left of the .xap file (Make note of what you deleted it, i usually just delete the content folder)
4. Deploy the modified .xap file
5. Now by using Touchexperience, transfer the files u deleted into the following destination in ur phone: (Just in case u forget, you have already extracted all the files previously, so find the deleted files from there)
Applications\Install\"Product ID"\Install
(make sure the folder structures remain the same as it was in the .xap file)
6. And you are done
I hope i was clear with this!!~~
toothfish said:
This method is if everything fails (quite tedious).... it worked for me every time so far
You need:
- Unlocked phone
- TouchXperience (Windows Phone Device manager) or advanced explorer (So that you can transfer files from PC to Phone)
1. Make a copy of the .xap file (just in case u screw it up)
2. Open the .xap file with winrar
3. Extract everything into a New folder
3. Find the file "WMAppManifest.xml" - open it and check the "productID", record this number down
3. By using winrar, delete files inside the .xap file until you have around 20mb left of the .xap file (Make note of what you deleted it, i usually just delete the content folder)
4. Deploy the modified .xap file
5. Now by using Touchexperience, transfer the files u deleted into the following destination in ur phone: (Just in case u forget, you have already extracted all the files previously, so find the deleted files from there)
Applications\Install\"Product ID"\Install
(make sure the folder structures remain the same as it was in the .xap file)
6. And you are done
I hope i was clear with this!!~~
Click to expand...
Click to collapse
Yes it would work if the file transfer wasn't so damn slow.
where can I download XDA app for WP7?
help me please..
my eye nearly blind for reading and searching that baby
Cheerrrr
bubbl3 said:
Yes it would work if the file transfer wasn't so damn slow.
Click to expand...
Click to collapse
sadly this method only works on htc devices

Uploading Files directly to phone?

I have been googling and researching for an hour but have had no luck, and my question is pretty basic
I am trying to get some XML files as described in this post
http://forum.xda-developers.com/showthread.php?p=17060997
into my phone. I have a registered dev phone, but I cant figure out how to get **** into the device! "
http://forum.xda-developers.com/showthread.php?t=1239329
RealEmotionX said:
I have been googling and researching for an hour but have had no luck, and my question is pretty basic
I am trying to get some XML files as described in this post
http://forum.xda-developers.com/showthread.php?p=17060997
into my phone. I have a registered dev phone, but I cant figure out how to get **** into the device! "
Click to expand...
Click to collapse
Visit my initial thread for Samsung provxml under Mango:
http://forum.xda-developers.com/showthread.php?t=1226030
That would have been perfect if the program you built worked. Thank you very much but I am going to have to seek another solution. Every time I try to use the IsoStoreSpy, the software crashes.
UPDATE
@contable and when I try your method, the application deployment program tells me the XAP is invalid.
RealEmotionX said:
That would have been perfect if the program you built worked. Thank you very much but I am going to have to seek another solution. Every time I try to use the IsoStoreSpy, the software crashes.
UPDATE
@contable and when I try your method, the application deployment program tells me the XAP is invalid.
Click to expand...
Click to collapse
My .xap file is working well on chevron unlocked devices, so it should also work on developer unlocked devices.
I can deploy the file with the official deployment tool or WPV xap deployer 1.5.
When I unzip the XAP and change any of the XML files is when it decides the XAP file is invalid. I can upload the original file.
RealEmotionX said:
When I unzip the XAP and change any of the XML files is when it decides the XAP file is invalid. I can upload the original file.
Click to expand...
Click to collapse
I have changed the xml files inside the xap 1000 times.
Did you change the file extension from .xap to .zip before unzipping ?
Here are the steps
1. Unzip files after renaming extension to .zip
2. Update XML
3. Rezip files with 7zip
4. Rename file extension to .xap
RealEmotionX said:
Here are the steps
1. Unzip files after renaming extension to .zip
2. Update XML
3. Rezip files with 7zip
4. Rename file extension to .xap
Click to expand...
Click to collapse
I use Winrar not 7zip...
Sent from my OMNIA7 using XDA Windows Phone 7 App
same result using winrar compression
is there another way to deploy apps?
Anyone have any suggestions?
Are you on Mango or NoDo? If Mango you have to do some reg edits when you get to Mango or you can't side load unsigned apps (I think; I could be wrong).
I was trying to be able to do what is described in my first post of this thread. Those tweaks can be applied and carried into Mango, I am currently on NoDo. About to give up though

[Q] can someone help me increase my test recipients above 10

I am using a Samsung Focus S, I have tried the Advanced Config, Registry Editor and everything and it won't save my settings. I am interlop and chevron unlocked
Welcome to the wonderful world of AT&T! Why would you ever want to do that? <eye-rolling goes here>
That said, while AT&T does appear to cap the recipients themselves, you can certainly try increasing that limit on the phone. To do that, you'll need to edit the registry, as you appear to have figured out.
The apps you mention (in fact, pretty much any interop-requiring app) won't work on a Focus S (or any other second-gen phone) right now - Samsung changed the drivers used for high-privilege access to apps, and the apps written for first-gen phones can't use them.
Instead, you'll need to use provxml, deployed using ZIP path traversal and processed using the Diagnostics app (basically, what you did for WindowBreak, but with your own file). First, you'll need to build the provxml file. If you look at the Windowbreak zip file (I suggest you use 7-Zip, as it will keep the .. folders correctly) you'll see that it has an xml file buried in it, which contains registry "provisioning" commands (the format is called "provxml"). Alternatively, you can look up the format for registry provisioning directly from MS: http://msdn.microsoft.com/en-us/embedded/gg155017
OK, so you've created your provxml file (or edited an existing one) to update the correct registry value with the data you want to use. Next, get that file onto the phone. You can either put it in a ZIP file that you email to yourself, or put it in a XAP file (which is just a renamed ZIP, again 7-Zip is your friend here as it will automatically recognize the archive format) and install that file to the phone. In both cases, it'll need to be in a folder called something like "..\..\..\..\..\provxml\" (if you look at the Windowbreak zip file, you'll see this).
Then, just follow the same instructions you used for WindowBreak but select your own file instead. The registry should be changed!
GoodDayToDie said:
Welcome to the wonderful world of AT&T! Why would you ever want to do that? <eye-rolling goes here>
That said, while AT&T does appear to cap the recipients themselves, you can certainly try increasing that limit on the phone. To do that, you'll need to edit the registry, as you appear to have figured out.
The apps you mention (in fact, pretty much any interop-requiring app) won't work on a Focus S (or any other second-gen phone) right now - Samsung changed the drivers used for high-privilege access to apps, and the apps written for first-gen phones can't use them.
Instead, you'll need to use provxml, deployed using ZIP path traversal and processed using the Diagnostics app (basically, what you did for WindowBreak, but with your own file). First, you'll need to build the provxml file. If you look at the Windowbreak zip file (I suggest you use 7-Zip, as it will keep the .. folders correctly) you'll see that it has an xml file buried in it, which contains registry "provisioning" commands (the format is called "provxml"). Alternatively, you can look up the format for registry provisioning directly from MS: http://msdn.microsoft.com/en-us/embedded/gg155017
OK, so you've created your provxml file (or edited an existing one) to update the correct registry value with the data you want to use. Next, get that file onto the phone. You can either put it in a ZIP file that you email to yourself, or put it in a XAP file (which is just a renamed ZIP, again 7-Zip is your friend here as it will automatically recognize the archive format) and install that file to the phone. In both cases, it'll need to be in a folder called something like "..\..\..\..\..\provxml\" (if you look at the Windowbreak zip file, you'll see this).
Then, just follow the same instructions you used for WindowBreak but select your own file instead. The registry should be changed!
Click to expand...
Click to collapse
You just got a thanks and I will learn that stuff one day...

[Q] tool for opening .rar file ??

any tool for opening a .rar file on wp7.5 ??
i am also looking for something like that.
Opening - for what? What would you like to do with rar content?
Presumably, the same think you'd do with the ability to open ZIP files on the phone, which it already has (I've never actually needed to do this, except for hacks, but it works).
The RAR format has some annoying restrictions around its use; some developers don't like it for that reason and are therefore less likely to develop for it. You'll probably need to get a C/C++ RAR library and then port it to the phone and access it through COM. Doing it all in managed code would be cleaner (and would let you put it on the Marketplace) but I don't know if there are any managed implementations to work from, so you might have to write the whole thing.
@sensboston
actually i wanna open the mail attachment whic come in .rar format..
GoodDayToDie, here is the managed code to work with rar archives: http://nunrar.codeplex.com/ (and project already has SL implementation so it can be easily ported to WP7 platform). Technically it's possible to create .rar extension handler (for full/policy unlocked devices) but I see no reason why this should be done...
vivek27, I still don't get why do you want to open rar attachments? What are you going to do with unrared files? You can't play 'em or install 'em or read 'em. Just unpack to the rar-handler isolated storage file? Why?
loki338 said:
hey dude why r u not use winrar .ZIp Apps
Click to expand...
Click to collapse
I doubt there's such an app on MP .

Install app from zip file

We know how to install or deploy xap files..but can someone tell me how to deploy .zip file to windows phone devices?
What do you mean, "deploy zip file"? XAP files are ZIP archives; if it's a WP7 app with the wrong extension, just rename the file. If it's a ZIP archive containing a XAP file, extraft the XAP and deploy as normal. If it's something else... I can't help you unless you tell me more.
by deploying i meant the way we deploy .xap files with windows phone dev tools.I tried as you said,to rename the extension of the .zip to .xap.But then application deployment tool is showing error message cant deploy .xap file.
when i extract the contents are..a content folder..couple of language folder,a AppManifest.xaml file,WMAppManifest.xml and couple of .dlls.What should i do now?
btw thank you for quick response :laugh:
The files you name indicate that it is indeed a regular XAP file which you have there. You don't need to extract the contents.
What error does the tool give you? You can't deploy all XAPs on all unlock levels - for instance deploying a XAP with InterOp services capabilities would result in an error (more info here).
P.S.: Downloading a XAP file with IE will somehow result in the file being renamed to ZIP. I suspect a MIME issue or similar. Renaming these downloaded ZIP's extensions back to XAP makes them deploy fine.
Is it a homebrew app downloaded from XDA-Devs or a similar site, or is it a Marketplace app? The latter cannot be sideloaded with standard tools, by design.
GoodDayToDie said:
Is it a homebrew app downloaded from XDA-Devs or a similar site, or is it a Marketplace app? The latter cannot be sideloaded with standard tools, by design.
Click to expand...
Click to collapse
It can't be an encrypted XAP; if it was, he couldn't extract the contents since PlayReady encrypts the entire ZIP archive and the XAP doesn't contain a valid ZIP hence.
I doubt he got an older marketplace XAP renamed with a ZIP extension though, especially due to the fact that IE downloads attached XAPs from here exactly in that manner.
Sometimes people post Marketplace XAPs for download from other sites, including here; that was just a guess.

Categories

Resources