Related
Hi Everyone,
I am just starting to explore developing software for mobile devices. I want to be able to develop an application, generate a CAB file, copy them to a selected device and the make the device automatically expand and install the CAB file.
Does anyone know of an easy way of automating the installation of a CAB file on devices - this is basically so that the end user does not have to be involved in the installation of new software.
Thanks
Dan
I'm interested in it too!
Do you mean that you want to remotely update the software installed in the mobile? Do you plan to send the new installation file by GPRS?
You can't push files over GPRS unless you have a VPN or similar tunnel (most people don't.)
While developing I like to run Eiichiro Ito's ftpd for Windows CE (works with any version from 2.0 to 5.0 - http://www.oohito.com/wince/arm_j.htm) and I have a rule in my Makefile which automatically uploads the new binary to the storage card, ready to run.
Of course if you only want your program to check for updates and install them automatically, then it is just a matter of making it check a website and download available updates each time it is run. This requires extra code in your application but it's the only way to do it for released software. Also it will annoy the user by trying to connect to GPRS every time they run the program.
It sounds like to me you want to know how to make a cab file. Is that right?
If so I can offer some code. The part about getting the cab to automatically work is not so easy. Unless you have some process already running that expects the cab, what will execute it?(unless of cource you mean the device is synched)
Give more detail.
Hi,
Just an util I got together in no time.
Rapi Enabler, certificate disabler.
Enable all the security on your Windows Mobile 5 phone.
Credits to the author of the ce remote tools.
Instructions:
1. Download the attached file (you have to be logged into xda-dev);
2. Extract it somewhere in your computer
3. Connect your phone via activesync
4. Run the EnableRapi.bat (on your computer)
5. Done.
Have fun,
Ricardo
How does it differ from this CAB file I pulled off the HTC Apache?
I use this in my Extended ROM so that I can run unsigned applications, CAB files, and CPF files during the initialization procedure after a hard reset.
Hi BTT,
This is based on that exact cab. The only difference in enabling RAPI calls also, and doing it without needing user interaction, only needing a activesync connection.
Is a little utility I use for integration into batch files.
Bye,
Ricardo
Certificate disabler..
Probably a dumb question, but is it a replacement fort certchk on 2003 devices? Still looking for such a program.
Thx
Thanks Machinegod, this worked well. I used it on an XDA exec will it work with all WM5 devices?
Hi Machinagod
Is there a way i can call your routine from code?
I have developed software for WM5 but cannot access the database with the standard MS settings. I would like to give my users the option to unlock the rapi calls and install automatically.
Thanks in advance
Steve
ronaldovic said:
Certificate disabler..
Probably a dumb question, but is it a replacement fort certchk on 2003 devices? Still looking for such a program.
Thx
Click to expand...
Click to collapse
to ronaldovic: I believe this utility is for disabling signed applications so you can install apps that have not been signed. I have used BTT cert cab in my extended rom since he posted it (Thanks BTT, It has been very usefull)
If you are looking for disable cert check so you can activesync with MS exchange without a a SSL . Certificate connection, Micro$oft still offers a download to disable the cert sync check..
see http://www.microsoft.com/downloads/...b8-8b3a-4f1d-8e94-530a67614df1&displaylang=en
Miracle Registry
i checked many registry of "Security policies" in different device, and also SDK.
http://asukal.seesaa.net/article/12583144.html
You can understand how change it for your neccesity.
this was for your refference.
and also i got made one registry file which has many "Certificate Sotre"
from different setting devicees and CABs and SDK Emu.
This registry make your device to enable working many kinds of dll and exe or any other files without digital signed(not for all)
multi user interface files also can effect without digital signatures.
(shellress still can not, but worked with Smartphone signature)
The security revel will be same or lower than SDK emu.
but not completely finish to edit it.
so possibility of some side-effect or unkown problem.
Hope understand this point and use it as test.
But once you use this registry, you got understand why i said it miracle.
just import this registry and make soft reset.
"syntac error" displayed when you import this, but works.i will cheking the reason of this error.
lets test it.
Re: MachinaGod RAPI Unlocker - certificate disable on WM5 v0
I try to use it on my new Jamin but nothing happen.... Prog still not work.
Pls I'm a newbe, Can you help me ?
Thanks a l ot
Hi MachinaGod,
Could you tell me please what exactly this RAPI unclocker is doing? Is it possible to undo it? RAPI locker or something? Is there any security threat after you execute tis program?
Thank you!
cingular
please tell me what tool can unlock (simlock) my cingular 8525, Thank you very much!
hmmmmmmmmytfghvghdgfgfdtrsdr
unlocking spv m1500
hello,
i tried the RAPI unlocker but it did not work,
could it be because my Pocket pc is running 2003 CE?
hi
someone can send me the file i can download him pls
and one qwuestion this unlock mi simlock???
htc 8125 need help please
machinagod said:
Hi,
Just an util I got together in no time.
Rapi Enabler, certificate disabler.
Enable all the security on your Windows Mobile 5 phone.
Credits to the author of the ce remote tools.
Instructions:
1. Download the attached file (you have to be logged into xda-dev);
2. Extract it somewhere in your computer
3. Connect your phone via activesync
4. Run the EnableRapi.bat (on your computer)
5. Done.
Have fun,
Ricardo
Click to expand...
Click to collapse
i have a htc 8125 and tried your method and it never gave me a code but when i put my sim card in it says sim lock and unlock? explain how to unlock this d$$m phone.It is a cingular phone but i dont have that service.it is version 2.25
[email protected]
I have made it all the way to the part where u run connectionsetup.xap,touchxplorer.xap
everytime I unzip this it will not run them correct, it always tries to open the files in a read me or something instead of running the program.......sucks please help
dman35501 said:
I have made it all the way to the part where u run connectionsetup.xap,touchxplorer.xap
everytime I unzip this it will not run them correct, it always tries to open the files in a read me or something instead of running the program.......sucks please help
Click to expand...
Click to collapse
Ok I think you missed some steps, so lets start from the top. First of all you cant "RUN" or "Execute" a .xap file. Its meant to be installed or "deployed" to your phone, not PC, through the Application Deployment software provided in the Windows Phone 7 SDK(Step 1). Only after installation of Windows Phone 7 developer tools can you go through steps 2-6, and then on step 7 go to your PC's Start>All Programs>Windows Phone 7 Developer Tools>Application Deployment. Choose the Brows button and the two .xap files(1 at a time) and deploy them to your device. After you complete that you can proceed to steps 8-10.
If you find this to be confusing you may consider a Cooked Rom as many of these features are already provided. Good Luck.
1. Install WP7 sdk (Not confrimed, Skip and see if it works);
2. Install zune;
3. Make partneship with zune and phone;
4. Attach the cert to your email and send the email to your email itself (On PC);
5. Login to your email account (On Phone), Open the email, Select attachment and install the cert;
6. Connect your phone to pc and make sure zune is running in background;
7. Run the unlocker (ChevronWP7.exe) and click unlock button(Make sure your phone date is set correctly);
6. Install toms .xap installer;
7. Deploy Connection Setup.xap, Touch Xplorer.xap and XBMODDeployer.xap (Install it on the phone);
8. Copy the .provxml from the ringtons folder to the windows folder (on the phone using touch explorer app);
9. Run connection setup to install the .provxal;
10. Setup up your live ID and enter the activation code (on the phone).
dman35501 said:
I have made it all the way to the part where u run connectionsetup.xap,touchxplorer.xap
everytime I unzip this it will not run them correct, it always tries to open the files in a read me or something instead of running the program.......sucks please help
Click to expand...
Click to collapse
Just use a cooked rom, why stress yourself with the original one, when you can use a cooked rom and have all that done already for you..?
Link?
CrAzYiaN said:
Just use a cooked rom, why stress yourself with the original one, when you can use a cooked rom and have all that done already for you..?
Click to expand...
Click to collapse
A link to your cooked ROM would have been nice!
this one works for me
http://forum.xda-developers.com/showthread.php?t=1356833
please can anyone give me some advice. i have recently updated my HTC HD2 6.5 to windows 7.
i have rung up microsoft and got the activation code but need to install all the bits on the phone to make
it think its an actuall windows 7 phone so i can use the marketplace. these are the steps im following.....
1. Install WP7 sdk Windows Phone Developer Tools;
2. Install zune;
3. Make partneship with zune and phone;
4. Just write this url "http://cr-developers.co.cc/cwp7.cer" in your phone internet browser and install it;
5. Connect your phone to pc and make sure zune is running in background;
6. Run the unlocker (ChevronWP7.exe) and click unlock button(Make sure your phone date is set correctly)
(you need to close skype and disable network adapter.. hamachi.. wireless.. Dropbox.. etc)
7. Install toms .xap installer;
8. Deploy Connection Setup.xap, Touch Xplorer.xap and XBMODDeployer.xap (Install it on the phone and run XBMODDeployer.xap);
9. Copy the .provxml from the ringtons folder to the windows folder (on the phone using touch explorer app);
10. Run connection setup to install the .provxml;
11. Call Microsoft helpdesk and ask them an activating key for your hd2 (don't pm me for the key)
12. Setup up your live ID and enter the activation code (on the phone).
your done
the problem is im not done. i have got as far as step 6 and cant do steps 7,8 and 9.
whenever i try and run the step 8 i get the following error:-
"unhandled exception has occured in your application. if you click continue, the application will ignore
this error and attempt to continue. if you click quit the application will close immediately.
could not load file or assembly 'microsoft.smartdevice.connectivity.version=10.0.0.0, culture=neutral,
publickeytoken=b03f5f
7f11d50a3e or one of its dependencies. the system cannot find the file specified."
i press continue and try again and get the error, and when i press quit it closes the box.i have no idea what it means
or how to fix it. has anyone got any ideas?
thank you in advance.
jamie
Sent from my GT-P1000 using XDA Premium App
you dont need to instal chevron cert... BTTF ROM is already unlocked... just dont forget to do hard reset after upgrade to Mango 7720
for Marketplace, you need just to sign in to live (hotmail) account and enter activation code...
Awsome. The problem i am having with the marketplace is evrytime i try and purchase and download something it says "cant get this imformation at the moment. Check again in a little while". Its been saying that for the last few days.
Sent from my GT-P1000 using XDA Premium App
This procedure works on HD2 Mango and upgraded to terminal blocked, I tested it myself on my HD2 and it works!!!!
1. Download WP7 Update Cab Sender
2. Download DEV_UNLOCK.cab
3. Extract WP7 Update Cab Sender, goto “if needed install this tool”, install Setup-UpdateWP-x86 or Setup-UpdateWP-x64.
4. Copy DEV_UNLOCK.Cab into “WP7-Update-Cab-Sender” folder.
5. Launch WP7 Update Cab Sender.bat and choose S to send this package to device.
6. Let the HD2 reboot.
7. Your HD2 is now unlocked and you can sideload any apps in xap format into your HD2 Windows Phone 7.5 Mango.
8. Enjoy.
raziel79 said:
This procedure works on HD2 Mango and upgraded to terminal blocked, I tested it myself on my HD2 and it works!!!!
1. Download WP7 Update Cab Sender
2. Download DEV_UNLOCK.cab
3. Extract WP7 Update Cab Sender, goto “if needed install this tool”, install Setup-UpdateWP-x86 or Setup-UpdateWP-x64.
4. Copy DEV_UNLOCK.Cab into “WP7-Update-Cab-Sender” folder.
5. Launch WP7 Update Cab Sender.bat and choose S to send this package to device.
6. Let the HD2 reboot.
7. Your HD2 is now unlocked and you can sideload any apps in xap format into your HD2 Windows Phone 7.5 Mango.
8. Enjoy.
Click to expand...
Click to collapse
What do you mean with "you can sideload any apps in xap format into your HD2 Windows Phone 7.5 Mango"? Suppose I have a xap, how could upload it to my phone and install it? Via Update cab sender method?
Thanks
Tyrion84 said:
What do you mean with "you can sideload any apps in xap format into your HD2 Windows Phone 7.5 Mango"? Suppose I have a xap, how could upload it to my phone and install it? Via Update cab sender method?
Thanks
Click to expand...
Click to collapse
No, to install any xap, there are several ways I use the Phone application deployment in the Windows SDK 7.1, but in order to install any xap, you must first unlock the terminal, otherwise it will not allow you to install anything.
To unlock it you must follow the procedures that I described above and use the WP7 Cab sender.
I have some concerns about this.
The ROM should already be dev_unlocked.
Some people have experienced problems, especially with installing Xaps using Toms where the error comes up "either your phone is unlocked or zune isn't running", and because zune is running they assume they have become unlocked.
XBmod said that if the phone becomes locked, send dev_unlock_remove.cab, then send dev_unlock.cab. Which should work whether the phone is locked or not.
There are many reasons why Tom xap installer may not work, no Net framework 4, no SDK, zune still synching, not run as admin etc. and as you say, other xap installers are available.
I wonder how many people using this method to unlock will get the "no applicable package" error after sending the unlock.cab, meaning it is already unlocked.
I appreciate the input here, but isn't this already known?
This has been mentioned several times already in different topics.
Or am I missing something here?
Robbie P said:
I have some concerns about this.
The ROM should already be dev_unlocked.
Some people have experienced problems, especially with installing Xaps using Toms where the error comes up "either your phone is unlocked or zune isn't running", and because zune is running they assume they have become unlocked.
XBmod said that if the phone becomes locked, send dev_unlock_remove.cab, then send dev_unlock.cab. Which should work whether the phone is locked or not.
There are many reasons why Tom xap installer may not work, no Net framework 4, no SDK, zune still synching, not run as admin etc. and as you say, other xap installers are available.
I wonder how many people using this method to unlock will get the "no applicable package" error after sending the unlock.cab, meaning it is already unlocked.
Click to expand...
Click to collapse
I installed using the official Zune Mango and then me and relock the terminal, with this simple method I managed to unlock it again.
raziel79 said:
I installed using the official Zune Mango and then me and relock the terminal, with this simple method I managed to unlock it again.
Click to expand...
Click to collapse
You may well be right, and zune upgrading to mango does remove the dev_unlock cab. But how did you know it was locked? Did you hard reset after the upgrade to activate the unlock?
Robbie P said:
You may well be right, and zune upgrading to mango does remove the dev_unlock cab. But how did you know it was locked? Did you hard reset after the upgrade to activate the unlock?
Click to expand...
Click to collapse
simple, I tried to run "touchExplorer" or "Registry Editor" and in both cases appeared to be a post where I was told that Microsoft had withdrawn the application .... also trying to deploiare xap I was told it was not possible.
Hard reset after upgrade?
Robbie P said:
Hard reset after upgrade?
Click to expand...
Click to collapse
No, i did not hard reset after upgrade, why?
raziel79 said:
No, i did not hard reset after upgrade, why?
Click to expand...
Click to collapse
because if you had of read the instructions you would have seen that it is required to hard reset the device after installing mango to activate the unlock...
your procedure above is not needed at all...
RTFM as they say
Error:
Update device xxxxxxxxx - xxxxxxxxx - xxxxxxxxx - xxxxxxxxx Complete with error code
: 800B010A, error message: A certificate chain could not be built to a trusted r
oot authority.
Why?
neevedr said:
Error:
Update device xxxxxxxxx - xxxxxxxxx - xxxxxxxxx - xxxxxxxxx Complete with error code
: 800B010A, error message: A certificate chain could not be built to a trusted r
oot authority.
Why?
Click to expand...
Click to collapse
Do a hard reset and try again.
Sometimes I get also this message "either your phone is unlocked or zune isn't running" when I try to install xaps via Toms Xap Installer. But this doesnt mean your device is locked again. Just try it again or often the app has been installed but you get this error message. So you just have to ignore it.
cant $¥)&#%* unlock.....
I have tryed all solution .....fresh mango install, sent dev_unlock....nothing
Fresh install,sent dev_unlock, hard reset....nothing
Fresh install,sent dev_unlock_remove, hard reset, sent dev_unlock, hard reset, nothing....
Can anyone please help????
Oh, yes i tryed alot of xap deployer software....no luck!!!
after upgrade to Mango just do hard reset.... nothing else...
that was the first thing i did.......i read the guide....but that does not work for me......i dont know why???? Any other solution???? THANK YOU!!!