Sideloading apps without Zune? - Windows Phone 7 Development and Hacking

For some reason, I can't get Zune to install on my PC. I always get errors.
So is there any way to sideload apps without it? I already have WP7 Developer Tools.

Try running this:
C:\Program Files\Microsoft SDKs\Windows Phone\v7.0\Tools\WPConnect\WPConnect.exe
Good luck

WPConnect allows you to keep the connection open without Zune running, but it still relies on Zune being present.
@Zorai: What error are you getting, and have you searched online for help? Also, what OS are you using?

GoodDayToDie said:
WPConnect allows you to keep the connection open without Zune running, but it still relies on Zune being present.
@Zorai: What error are you getting, and have you searched online for help? Also, what OS are you using?
Click to expand...
Click to collapse
Windows XP Pro 32 bit
I've tried countless Zune installation troubleshooters around the internet. Errors that I have gotten include:
-"The application failed to initialize properly (0xc0150004). Click on OK to terminate the application."
and in another case,
-Error 1920. Service 'Zune Bus Enumerator' (ZuneBusEnum) failed to start. Verify that you have sufficient privileges to start system services.
I already have SP3. I just can't install Zune!

try earlier ver. of zune

Related

Can't deploy apps

Hi all
Great forum...
I am trying to deploy an application from Visual Studio 2005 to my Zest phone. I have done this a hundred times in the past but for some reason it is now failing with an error:
The device security configuration disallowed the connection. Ensure that you have the appropriate certificates on your device for development. Review your SDK documentation for proper security settings for connecting to this device.
I have wasted two days now trawling the net trying to find a solution but with no luck.
I have tried to instal the SDKCerts.cab but it simply wont install.
I have tried to edit the registry using mobile registry editor but get access is denied.
I have tried to install enablerapi but that fails to install also.
I have move the .exe manually and tried to run it but it complains that the app is not signed with a trusted certificate.
I am not too clued up on certificates so I really don't know where to go next.
Any help really apprciciated.

[Windows Phone Utility]Rapi Communications

Program to communicate between the PC <-> Device WP7.The application supporting the connection to the device.
It works on the principle of RAPI communications. He pulled out of the Zune Program
Info:
Description of the product: Windows Phone RAPI Communication Service EXE
Product Name: Zune
Product Version: 4.7.109
Usage:
Waiting....
Files in Attachmend
How to Use?Demo?
Is there any way to access phone without Zune drivers or Zune software installed using this application? Clicking on the EXE doesn't do anything.
thesecondsfade said:
Is there any way to access phone without Zune drivers or Zune software installed using this application? Clicking on the EXE doesn't do anything.
Click to expand...
Click to collapse
have any idea what the communication RAPI?
See this: RAPI in MS
Nokser said:
have any idea what the communication RAPI?
See this: RAPI in MS
Click to expand...
Click to collapse
But how does this package fit into that? This looks like perhaps a way to get native debugging working, but I don't see what to do with this.
You haven't provided any information about what it does--the program just quits regardless of zune state or WP-device connected state. What does it do? Through what means is someone to interact with it? I don't know too much about how RAPI worked on Windows Mobile, but there isn't any indication of how to use /this/ in the article you linked.
davux said:
But how does this package fit into that? This looks like perhaps a way to get native debugging working, but I don't see what to do with this.
You haven't provided any information about what it does--the program just quits regardless of zune state or WP-device connected state. What does it do? Through what means is someone to interact with it? I don't know too much about how RAPI worked on Windows Mobile, but there isn't any indication of how to use /this/ in the article you linked.
Click to expand...
Click to collapse
I give to more info... but not now my friend
[This is a reverse engineering effort in progress. Your mileage may vary and information below could be completely inaccurate. Proceed at your own risk.]
It's a Windows service. Copy it somewhere handy, and issue the command (editing the path as necessary). NOTE: The spaces are required.
Sadly, I don't recall retail phones having RAPI bits, so doubt this will be useful. I'll have another look at the filesystem though.
Update: Judging by the way this executable behaves, it's likely meant to replace WMZuneComm.exe.
Update 2: Because of the reliance on Zune libraries (e.g. ZuneSA.dll), this is for 32-bit Zune users.
Update 3: Listens on localhost, port 64694
These are old binaries from old Zune client software. Retail devices don't have RAPI bits (verified via samsung ffus), therefore this is useless. Silly original poster.
WithinRafael said:
[This is a reverse engineering effort in progress. Your mileage may vary and information below could be completely inaccurate. Proceed at your own risk.]
It's a Windows service. Copy it somewhere handy, and issue the command (editing the path as necessary). NOTE: The spaces are required.
Sadly, I don't recall retail phones having RAPI bits, so doubt this will be useful. I'll have another look at the filesystem though.
Update: Judging by the way this executable behaves, it's likely meant to replace WMZuneComm.exe.
Update 2: Because of the reliance on Zune libraries (e.g. ZuneSA.dll), this is for 32-bit Zune users.
Update 3: Listens on localhost, port 64694
These are old binaries from old Zune client software. Retail devices don't have RAPI bits (verified via samsung ffus), therefore this is useless. Silly original poster.
Click to expand...
Click to collapse
You do not have right to end because of ... Each distributed system WP7, has the shell RAPI applications and libraries.
You can't just dust off old Zune files from 2009 and magically connect this to a phone. Get real.

Locking... Was it all Zune?

Locking... Was it all Zune?
I was wondering, since Chevron was able to work only with Zune, and if you wish to install
a new update on your device, you must update the Zune first.
Is there a possibility that Zune is the one that makes all the problems?
Maybe they altered the ports that Zune uses to comunicate with WP7 device,
and since the chevron used HTTPS, they're not compatible any more,
and therefore, they can not comunicate.
I know it sounds like conspiracy theory, but i was checking protocols and have found some inconsistencies...
Maybe im wrong...
Your opinions?
NoDo doesn't require an extra Zune update, so no.
Arktronic said:
NoDo doesn't require an extra Zune update, so no.
Click to expand...
Click to collapse
Unfortunately, pre-Nodo aksed for Zune to update...
At least it asked me to update it...
That's where my doubts come from
for me, when i couldn't get wp7 unlocked i noticed that either zune or windows was changing the host file just as chevron tried to connect... no matter what i did ie changed values , edit user rights, even tried system with read only rights ,... something kept changing the host file to "my ip.windowsdevelopers.com" now i use a win7 instalation in a virtual drive with no zune or windows updates at all. seems to work for me..
Interesting solution...
I have tried installing Zune on another computer and tried to run Chevron,
but no luck... All I'm getting is error, that Chev. can't make connection with device.
Current state of OS: Build 7008 (That's pre-Nodo right?)
Cheers!
yep 7008 is pre nodo... i unlocked with chevron with that os. used vmware workstation. clean install of win7 (no updates except windows phone 7 usb drivers) then zune. unlocked first time.
you may have to re set your phone?
Well i did hard reset my phone for a couple of times, but had no luck...
I shall wait now... I will probably try some more on other computers, but
if I don't succeed, I will play by MS rules and do the NoDo.
After that, the waiting for a jailbrake shall be waited upon
P.S. A question, bit off topic.
Is there any way to insert custom ringtone to a non-Cheved device?
I can't access My Ringtones folder via Windows Explorer, even though
i changed registry on my computer to be able to access the phone as
a regular usb device...
Tnx up front, for any info provided
not really.... even if you did put them in your music folder zune on your phone doesn't seem to read the id3 tags and calls them unknown without names.
try..... fresh install win7 then connect phone aand get drivers... then zune... then chevron,
Yep, that's the problem with ringtones, or music at all...
I will try that with Win7, because i curently have no other options
Anyway, many thanks for your help!

Windows Phone Power Tools Update Pack error

I've been looking into modding my Lumia 640 WP10, and it seems like most if not all of the apps involved require deploying with Windows Phone Power Tools. When I try to use it, it tells me the phone needs an update, and launches the Phone Tools Update Pack which always results in this message: "The update operation did not succeed. You can press Rescan to try reconnecting to the device. The exception code and error message is: 0x80004003 - Object reference not set to an instance of an object."
I have not been able to find any information about this particular error, and any assistance would be very helpful. I have already set the phone to developer mode and been able to deploy the root tool, but have been unable to do anything else without the power tools.
Same problem
I think the newest update is buggy. I was trying to do the same and keeps getting the same error. This might help you.
I'm not sure why the forum only emailed me for the first reply so I'm a bit late seeing yours, DaRealAce. I am not actually using an Insider build right now but thank you, that link did help. It's definitely not the same problem, but I was able to fix mine by using the Interop Tools app linked in that thread. Since that is an appx I was able to sideload it, making vcREG unnecessary. After going through the unlock settings in that app, I was able to deploy the AdBlocker app (my original goal) using the regular WP 8.1 Deployment Tool rather than WP Power Tools, which did not work previously.
Oddly though, somewhere in the process the phone no longer shows up on the PC as a mass storage device.
the same

[Tutorial] ]Install app offline / sideload app using powershell in windows 8.1 RT on surface RT

It's very sad and unfair that after the extended support ending in Jan 2023, surface RT users are not even allowed to download or install app from windows store anymore, such enormous company as Microsoft is just too rich and huge to not be evil, so i had to start to look for ways to get offline installers and manually install them. I can sucessfully install them and it shows on the windows store as installed. But the app could not run properly, i get a message saying the app needs to be repaird and it just stuck on repairing in the windows store. but i don't know whether it's because the issue of my system, as it's not the original system and I could not sync my license of the windows store in the app undates. As this is usually the reason that the app could not be updated in windows store. So maybe it could work on the original system? Somebody have a try?
You need to open your actual Microsoft Store.
Find the app that you want, get the link of the app.
go to this site:
https://store.rg-adguard.net
put the link in the box and click the tick
Look for and download the ARM or Neutral version of the app that you want, and it must be .appx or .appxbundle filetype.
You will also need to download other appx of the ARM or neutral as well. From the name you would possibly know they are the dependancies to run the actual app, so you will need to manually install them before install the actual app
I will use installing unpacker app for example. Run the powershell as administrater.
Install the dependencies first
just type in
Add-AppxPackage -Path "C:\Users\user1\Desktop\Microsoft.VCLibs.110.00_11.0.51106.1_arm__8wekyb3d8bbwe.Appx"
after this one is done, do the same for the next one
Microsoft.WinJS.1.0_1.0.9200.20789_neutral__8wekyb3d8bbwe.Appx
Add-AppxPackage -Path "C:\Users\user1\Desktop\Microsoft.VCLibs.110.00_11.0.51106.1_arm__8wekyb3d8bbwe.Appx"
After you get everything ready,
just type in
Add-AppxPackage -Path "C:\Users\user1\Desktop\unpacker.appx"
can get more details here: https://learn.microsoft.com/en-us/powershell/module/appx/add-appxpackage?view=windowsserver2022-ps
and voila
if you get error when installing, just read the details and it's possibly you haven't installed the dependencies, which means you will need to use the same code above to install the dependencies first.
-------------------------------------------------------
update:
Thanks to @dj_tech1 , I am pretty much sure that the evil Microsoft must have messed up the license after ceasing the support.
to be able to run the app, we will have to bypass the app license.
I have entered the test mode and also disble the DEP
BCDEdit /set - Windows drivers
The BCDEdit /set command sets a boot entry option value in the Windows boot configuration data store (BCD) for Windows.
learn.microsoft.com
To be able to do this, the secureboot has to be disabled beforehand
I have also acquired the developer liscense thanks to the help of
@jonnyprogamer at #19​
I am not sure whether all the steps above will need to be achieved or not.
Now, we need to remove the signature file of the appx.
First, extract the appx/appxbundle to a working directory, then delete "AppxSignature.p7x".
open a new Powershell window to the working directory, then run the following command:
(I still use unpacker for example)
Add-AppxPackage -Register .\AppxManifest.xml
-Register must point to the path of the AppxManifest.xml
Have a read here: https://titleos.dev/bypassing-microsoft-store-licensing/
And voila!!!!
UPDATE:
with deleting the "AppxSignature.p7x". method, the app stop running after some time. I reinstall it and it can still run for some time.
Anyway, Thanks to @jonnyprogamer @camborita
Go with the method at #29 to test sign the appx and it will not have the issue that I had.
The solution is...Linux.
tomgeniewang said:
It's very sad and unfair that after the extended support ending in Jan 2023, surface RT users are not even allowed to download or install app from windows store anymore, such enormous company as Microsoft is just too rich and huge to not be evil, so i had to start to look for ways to get offline installers and manually install them. I can sucessfully install them and it shows on the windows store as installed. But the app could not run properly, i get a message saying the app needs to be repaird and it just stuck on repairing in the windows store. but i don't know whether it's because the issue of my system, as it's not the original system and I could not sync my license of the windows store in the app undates. As this is usually the reason that the app could not be updated in windows store. So maybe it could work on the original system? Somebody have a try?
You need to open your actual Microsoft Store.
Find the app that you want, get the link of the app.
go to this site:
https://store.rg-adguard.net
put the link in the box and click the tick
Look for and download the ARM or Neutral version of the app that you want, and it must be appx or appxbundle filetype.
You will also need to download other appx of the ARM or neutral as well. From the name you would possibly know they are the dependancies to run the actual app, so you will need to manually install them before install the actual app
After you get everything ready, run the powershell as administrater. I will use installing unpacker app for example
just type in
Add-AppxPackage -Path "C:\Users\user1\Desktop\unpacker.appx"
can get more details here: https://learn.microsoft.com/en-us/powershell/module/appx/add-appxpackage?view=windowsserver2022-ps
and voila
if you get error when installing, just read the details and it's possibly you haven't installed the dependencies, which means you will need to use the same code above to install the dependencies first.
Click to expand...
Click to collapse
This is not the solution. After setup the app says that it cannot run because of the error and it has to be repaired. Only few apps have ability to display repair button. After clicking it nothing is getting repair. Also you cannot Update licenses in your Store account settings.
Setup without -Path command causes no "error badge" on apps list.
It worked before January 10'th. Now as above.
Still waiting for working solution...
dj_tech1 said:
This is not the solution. After setup the app says that it cannot run because of the error and it has to be repaired. Only few apps have ability to display repair button. After clicking it nothing is getting repair. Also you cannot Update licenses in your Store account settings.
Setup without -Path command causes no "error badge" on apps list.
It worked before January 10'th. Now as above.
Still waiting for working solution...
Click to expand...
Click to collapse
Thank you so much for the reply. Do you mean you are with the stock system and upgrade to the latest with Windows update but you still cannot sync your ms store license?
dj_tech1 said:
This is not the solution. After setup the app says that it cannot run because of the error and it has to be repaired. Only few apps have ability to display repair button. After clicking it nothing is getting repair. Also you cannot Update licenses in your Store account settings.
Setup without -Path command causes no "error badge" on apps list.
It worked before January 10'th. Now as above.
Still waiting for working solution...
Click to expand...
Click to collapse
tomgeniewang said:
enormous company as Microsoft is just too rich and huge to not be evil
Click to expand...
Click to collapse
I'm talking about forced updating.
ethical_haquer said:
I'm talking about forced updating.
Click to expand...
Click to collapse
The appx file is directly from the MS store, so I guess the problem is not really with the file, it might be more possible to do with the app license. if some surface RT still got the synced licences, i guess this might work for them?
tomgeniewang said:
Thank you so much for the reply. Do you mean you are with the stock system and upgrade to the latest with Windows update but you still cannot sync your ms store license?
Click to expand...
Click to collapse
Yes. There is an error after clicking sync button.
Surface has reinstalled windows after 10.01.23. After that all updates where installed, including Update 3. There were no differences on apps problems before and after the updates.
dj_tech1 said:
Yes. There is an error after clicking sync button.
Surface has reinstalled windows after 10.01.23. After that all updates where installed, including Update 3. There were no differences on apps problems before and after the updates.
Click to expand...
Click to collapse
So do you mean you didn't get the updates from Windows update, but just get those updated via offline installers?
tomgeniewang said:
So do you mean you didn't get the updates from Windows update, but just get those updated via offline installers?
Click to expand...
Click to collapse
No, Windows Updates came from Windows Update. Windows Store updates only MS default apps, preinstalled with system.
First updates to 2016 rollup has to be installed manually.
dj_tech1 said:
No, Windows Updates came from Windows Update. Windows Store updates only MS default apps, preinstalled with system.
First updates to 2016 rollup has to be installed manually.
Click to expand...
Click to collapse
OK, I see. Thank you very much. I will try to delete those preinstalled apps and install them again manually to see if these ones works.
Sorry, just another question. Before you reinstalled the windows, were you able to sync that app license thing?
tomgeniewang said:
OK, I see. Thank you very much. I will try to delete those preinstalled apps and install them again manually to see if these ones works.
Sorry, just another question. Before you reinstalled the windows, were you able to sync that app license thing?
Click to expand...
Click to collapse
Nope.
dj_tech1 said:
Nope.
Click to expand...
Click to collapse
So, could you install apps from the windows store before January even the app license could not be synced?
tomgeniewang said:
So, could you install apps from the windows store before January even the app license could not be synced?
Click to expand...
Click to collapse
Before January i was able to install apps and they licenses were syncing. All went down after 10.01.
So i'm here to find out is there any walk around.
dj_tech1 said:
Before January i was able to install apps and they licenses were syncing. All went down after 10.01.
So i'm here to find out is there any walk around.
Click to expand...
Click to collapse
Oh, I see. Thank you very much. So it seems like it's the license issue, which needs to be worked around.
I think you can still get a developer license using powershell, maybe that will work
jonnyprogamer said:
I think you can still get a developer license using powershell, maybe that will work
Click to expand...
Click to collapse
Some manual to make test?
I came back home now, i will try on x64 Windows 8.1 and send you the instructions
dj_tech1 said:
Some manual to make test?
Click to expand...
Click to collapse
Btw if dev mode doesnt work it shouls be also possible to make a domain and enable a group policy to sideload apps
dj_tech1 said:
Some manual to make test?
Click to expand...
Click to collapse
Ok i tested it on my Windows 8.1 x64 installation and they still gave me a free developer license, and in fact i was able to sideload AccuWeather for Windows 8, and it doesn't show the "X" symbol (error) in the start screen anymore!
The app still won't launch, but i think it's because of missing dependencies.
Here is how to get a developer license:
1) Run PowerShell as Administrator
2) Type Show-WindowsDeveloperLicenseRegistration
3) Sign in with your MS account when asked, and it will give you the license immediately for free
So in theory i successfully installed an Appx (because i don't get the X showing up on the start screen), im gonna try to get the dependencies now, i attached a screenshot.
PS: I got the instructions from here: https://www.howtogeek.com/129535/how-to-sideload-modern-apps-on-windows-8/
I think we need to do some other stuff in order to successfully run the apps, probably the answer is in this document from MS:
Sideload Apps with DISM
learn.microsoft.com
or this from Technet (archived)
Sideload Windows Store Apps - Windows 8, Try, Test, Help | TechNet
Learn how to quickly and easily build your own Windows Store app to test sideloading apps in Windows 8.
web.archive.org

Categories

Resources