Can do this using the Registry Viewer and Network Profile Tool. I will be making a tool for samsung that will allow you to provision any xml.
Sent from my OMNIA7 using Board Express
Awesome. Care to share how?
Indeed very good news. When do you think the tool will be ready ?
Okay here it goes, its very similar to the HTC method which requires alot of tinkering.
Firstly, you need to be Dev Unlocked. Search for Chevron Unlocker if you dont already have it.
Secondly, you will need Tom XAP Installer which can be found as a sticky at the top of the thread.
Lastly you will need nico's Registry Viewer XAP Package which can be found here: http://forum.xda-developers.com/showpost.php?p=10623201&postcount=19
Now when you have all the above done, Load up Registry Viewer and goto:
HKLM\System\State\Samsung\Phone\Operator\Base
You will see some numbered subkeys. You can edit any of these but I reccommend editing [1].
Now navigate to [1] and tap FileName this is where you enter the desired xml.
Now I have a UK Omnia 7 but I flashed the Unbranded XENJK1 ROM which is for Netherlands. So whenever you run the Network Profile App you will see the Network for the sim card you are currently using plus 4 other networks to choose from which will be Netherlands Phone Operators.
Here is a little example to run your desired provxml file. Remember we tapped on FileName in the [1] subkey, now clear the current filename thats already there and type in: UK_XEU_BASE.xml
Exit Registry Viewer and startup the Network Profile App and Tap on the Top Profile. (This is why we edited [1]). You will see the loading dots in the middle of the screen to tell you the device is busy (thats the provxml installing). When its done, exit the Network Profile App and restart it. You will now notice that ALL the UK network providers are now in the Profile list.
So this definately works, we just now need a way to create our own provxml files and copy them to the Windows folder on our Omnia 7!
So this in effect is the same as what I found/hit in this thread. The problem is, we don't have a way of writing to the \windows directory. I've tried all sorts of things to read the provxml from other locations but it doesn't want to.
RustyGrom said:
So this in effect is the same as what I found/hit in this thread. The problem is, we don't have a way of writing to the \windows directory. I've tried all sorts of things to read the provxml from other locations but it doesn't want to.
Click to expand...
Click to collapse
If what he described (anyone tested it with a custom provxml file yet?) works, then maybe the network profile app doesn't need a provxml file within the Windows folder (to test too).
Patch network setup dll to apply provxml from the xap install folder.
i 've do this on my htc provxml deployer by this way you can deploy custom provxml.
RustyGrom said:
So this in effect is the same as what I found/hit in this thread. The problem is, we don't have a way of writing to the \windows directory. I've tried all sorts of things to read the provxml from other locations but it doesn't want to.
Click to expand...
Click to collapse
Yes its more or less the same, also the method everyone is using for Interop to use native DLLs in their code is only for using Subs/Functions inside of Interfaces. Now to call an Exported Function in a native DLL requires a different approach. We first have to build a DLL using C++ in Visual Studio 2008 for Windows Mobile 6 (yes you heard me right! ) and create an interface for the functions we wish to use in the native DLL we want to call. We then use C# to use the ComBridge method to load the custom made native DLL which will then provide us the access to the Subs/Functions so when these are called, our custom made DLL will then call the Exported Function in our target DLL.
Now this will also enable us to use the Exported Functions in Coredll.dll which have all the juicy functions that we used and loved in Windows Mobile, including Registry read and write and file access and IO operations.
Now, Any C++ Volunteers???
martani said:
If what he described (anyone tested it with a custom provxml file yet?) works, then maybe the network profile app doesn't need a provxml file within the Windows folder (to test too).
Click to expand...
Click to collapse
It definately works with xml in windows folder but not tried a custom one yet.
lyriquidperfection said:
Now when you have all the above done, Load up Registry Viewer and goto:
HKLM\System\State\Samsung\Phone\Operator\Base
..........................
Click to expand...
Click to collapse
We can do the same by runnig "/windows/AppPreInstaller.exe path_to_provxml_file" (using l3v5y.WP7DT.RemoteExecute).
The problem is that AppPreInstaller.exe refuses any attempts to install provxml from any place outside /windows folder.
xboxmod said:
Patch network setup dll to apply provxml from the xap install folder.
i 've do this on my htc provxml deployer by this way you can deploy custom provxml.
Click to expand...
Click to collapse
But aren't the DLLs signed? Did you just resign it with a different cert?
lyriquidperfection said:
Yes its more or less the same, also the method everyone is using for Interop to use native DLLs in their code is only for using Subs/Functions inside of Interfaces. Now to call an Exported Function in a native DLL requires a different approach. We first have to build a DLL using C++ in Visual Studio 2008 for Windows Mobile 6 (yes you heard me right! ) and create an interface for the functions we wish to use in the native DLL we want to call. We then use C# to use the ComBridge method to load the custom made native DLL which will then provide us the access to the Subs/Functions so when these are called, our custom made DLL will then call the Exported Function in our target DLL.
Now this will also enable us to use the Exported Functions in Coredll.dll which have all the juicy functions that we used and loved in Windows Mobile, including Registry read and write and file access and IO operations.
Now, Any C++ Volunteers???
Click to expand...
Click to collapse
I know some people (davux) have started this. I wrote a simple one but I suck at C++ so didn't get very far.
lyriquidperfection said:
It definately works with xml in windows folder but not tried a custom one yet.
Click to expand...
Click to collapse
That reg key doesn't include a path, just a file name. I guess you could throw in DiagnosisApp_1.provxml and see if it launches it (it just installs the Diagnosis app).
denominator77 said:
We can do the same by runnig "/windows/AppPreInstaller.exe path_to_provxml_file" (using l3v5y.WP7DT.RemoteExecute).
The problem is that AppPreInstaller.exe refuses any attempts to install provxml from any place outside /windows folder.
Click to expand...
Click to collapse
yes and this apps doesn't deploy custom provxml!
i've try on my Htc by editing provxml called by this apps.
apppreinstaller is run on 1st boot to install in rom Xap's via a provxml.
RustyGrom said:
That reg key doesn't include a path, just a file name. I guess you could throw in DiagnosisApp_1.provxml and see if it launches it (it just installs the Diagnosis app).
Click to expand...
Click to collapse
Ha! I entered DiagnosisApp_1.provxml into the FileName value and when I applied the modified profile, it did indeed install the Diagnosis App but not launch it. The provxml is for installation only as when I did this, Diagnosis appeared in my app list without keying in ##634# in the dialer!
lyriquidperfection said:
Ha! I entered DiagnosisApp_1.provxml into the FileName value and when I applied the modified profile, it did indeed install the Diagnosis App but not launch it. The provxml is for installation only as when I did this, Diagnosis appeared in my app list without keying in ##634# in the dialer!
Click to expand...
Click to collapse
Cool so as best I can tell looking at the disassembled code SetNetworkSetting(string settingName, out int bRet) from NwProfDLL.dll does that with "settingName" being the provxml file or the name assigned to the provxml file, leaning towards the latter.
Edit... maybe not... doesn't seem to work to launch DiagnosisApp_1.provxml. Might be due to my phone being carrier locked?
RustyGrom said:
Cool so as best I can tell looking at the disassembled code SetNetworkSetting(string settingName, out int bRet) from NwProfDLL.dll does that with "settingName" being the provxml file or the name assigned to the provxml file, leaning towards the latter.
Edit... maybe not... doesn't seem to work to launch DiagnosisApp_1.provxml. Might be due to my phone being carrier locked?
Click to expand...
Click to collapse
I have the same problem, too. My OMNIA 7 is still carrier locked (bad bootloader version...). I will try to unlock it tomorrow.
Doesnt matter if it is locked or unlocked. It doesnt launch it only installs it. It adds the icon to the app list if it wasnt there already.
Sent from my OMNIA7 using Board Express
lyriquidperfection said:
Doesnt matter if it is locked or unlocked. It doesnt launch it only installs it. It adds the icon to the app list if it wasnt there already.
Sent from my OMNIA7 using Board Express
Click to expand...
Click to collapse
In the NetworkProfile app, I can't choose a profile. It just says "This application can not be used if the device is in network locked state by mobile operator."
I tried bypassing it and just calling the function from my own code but it didn't work. That doesn't mean it won't work as I may be doing something wrong but the COM DLL could be checking the phone's lock status before trying to run the provxml.
RustyGrom said:
In the NetworkProfile app, I can't choose a profile. It just says "This application can not be used if the device is in network locked state by mobile operator."
I tried bypassing it and just calling the function from my own code but it didn't work. That doesn't mean it won't work as I may be doing something wrong but the COM DLL could be checking the phone's lock status before trying to run the provxml.
Click to expand...
Click to collapse
I don't think it's so much if the device is carrier-locked, but if the device is carrier-branded. I couldn't use the Network Profile tool with my original T-Mobile UK ROM, but since flashing it with the generic ROM that leaked, I can now use it, despite still being carrier-locked.
guys on your samsung device operator xml are deployed by configxml.exe in the windows folder called by AutoSim.exe imself run by coldinit.exe
the operator provxml are named like this FRANCE_SFR_BASE.xml
i'm looking if i find somethink.
i think autosim is also run by NetworkProfile.
RustyGrom said:
In the NetworkProfile app, I can't choose a profile. It just says "This application can not be used if the device is in network locked state by mobile operator."
I tried bypassing it and just calling the function from my own code but it didn't work. That doesn't mean it won't work as I may be doing something wrong but the COM DLL could be checking the phone's lock status before trying to run the provxml.
Click to expand...
Click to collapse
I can confirm that it works on my carrier locked OMNIA 7 !.
I edited the filename in the registry, then I launched the Network profile app.
If the first profile is allready choosen on your device, choose the second one and then the first one. It works only for the [1] registry filename so you have to choose the first profile of the list.
After that the diagnosis app appears on your device...
Edit: my device is T-Mobile Germany branded...
Related
One way to start custom executabled in windows phone 7 is following method:
1) create a exe file that runs in phone
2) create a zip file and put exe inside
3) upload zip file to some internetpage and create .html page for it with <a href.. link for it.
4) navigate to the page with phone IE.
5) when clicking the link the phone can open the zip file and display its contents (tap to open the file ...zip)
6) when clicking the .exe file the phone asks are you sure you want to run
(The program ...exe is from an unknown publisher. Running it could harm your phone. Do you want to continue?)
7)enjoy your homebrews
will this also work on a phone that isn't developer unlocked ?
if that is right than this is the ultimate way to jailbreak a wp7 phone
Never-mind
Nope, he isn't, and described above method works (I guess because of MS ZipView executable bug). But I can't get my apps running, probably because they are not compatible with CE 7.0 and WP7 .Net (I've tried CE 6.0 native code and .NET code).
sensboston said:
Nope, he isn't, and described above method works (I guess because of MS ZipView executable bug). But I can't get my apps running, probably because they are not compatible with CE 7.0 and WP7 .Net (I've tried CE 6.0 native code and .NET code).
Click to expand...
Click to collapse
is your phone developer unlocked ?
Yes, unlocked.
sensboston said:
Yes, unlocked.
Click to expand...
Click to collapse
**** bummer , do you have a web link to that test file of yours then I can try it my phone is locked
xttp://home.comcast.net/~sergsv/
There are two links to zip archives at the left top corner of the page. I can't run these files but MS zip archiver open these zips and asked to run
yes man this is working on a locked phone
now we need some code that works to test this
lets say an .exe that run the file explorer
yes. right now we don't know whether the apps are opened at all. Are the managed Apps in VS compiled into an exe? Maybe we could extract one from an xap for testing purposes...
Silverlight XAPs use XAMLs and DLLs, no EXEs involved I'm afraid.
Hmm yes you're right. Are there extracted executables from the leaked Mondrian ROM?
There are, but they are not GUI apps, they look mainly like command line executables provided by Qualcomm, and some of them look like they could mess up your phone if you don't know what you're doing.
There are some GUI apps, but they come disassembled. I've been trying to assemble them but haven't had much luck yet.
Neat. I shall put together a sample application to test this. (I have Visual Studio 2010 configured to pump out CE7 native executables.)
I think the executable run is blocked. They left typical MS (say - stupid) dialog box but, I believe, ignore the user input...
However the Word and Excel documents can be opened this way.
I tried a few things -- rebooting the phone, crashing the program with invalid pointers, and launching some known executables. Nothing. I even signed my executable with a valid certificate; It still claims unknown publisher.
Wonder if this is some left over dialog as mentioned by sensboston
WithinRafael said:
I tried a few things -- rebooting the phone, crashing the program with invalid pointers, and launching some known executables. Nothing. I even signed my executable with a valid certificate; It still claims unknown publisher.
Wonder if this is some left over dialog as mentioned by sensboston
Click to expand...
Click to collapse
The dialog will be hidden by the shell. You need to add your cert into the phone, email it, resign your app and try it again.
It's possible it'll work.
this will only work with MSFT signed exe's.
walshieau said:
this will only work with MSFT signed exe's.
Click to expand...
Click to collapse
I tried with both my signed executable (with Root CA cert installed) and a Microsoft executable. Neither show signs of execution.
INSTALLING HOMEBREW APPS
Ok, so I figured out how to get a homebrew app installed that has "INTEROPSERVICES".
NOTE: Most apps still don't load/work, but at least they can be installed. So, maybe someone can figure out what to do from here. In fact, the only app that works properly that I've tested is Navigator Select. Granted this app is probably signed with a cert or what ever because it's from an OEM.
Instructions;
1) Extract the XAP using 7Zip/WinRAR/etc.
2) Find WMAppManifest.xml & open it in an editor (Wordpad/Notepad/VS/Word/etc.).
3) Delete the line "<Capability Name="ID_CAP_INTEROPSERVICES"/>"
4) Save the file.
5) Compress all files from XAP into a ZIP
6) Rename ZIP to XAP
7) Install
RESUMIBLE APPS
Also, I found this article.
In order to make an app resumible, we'll edit the same file as above, but this tome we're going to add "ActivationPolicy="Resume"" to the "<DefaultTask Name="_default" NavigationPage="PivotPage.xaml" />" line so it looks like "<DefaultTask Name="_default" NavigationPage="PivotPage.xaml" ActivationPolicy="Resume"/>". Save file compress everything to ZIP & rename to XAP same as above. Now install apps using what ever side loader you like. I used "Tom XAP Installer".
NOTE: DON'T use the resumible hack on Navigator Select, at least on Mango. Otherwise it'll just show a black screen if you open it from the start menu/app list when you have a map open. You can still use task switcher to open it, but just not worth it. Than again this could be a Mango problem with the resume hack.
Anyone out there with a T-Mobile USA HD7 happen to have WPDM from Schaps installed & no Mango Beta? If so, can you see if you can copy out the TMOUS Cert that should be on your device. I'm on Mango, so cant. I want to try to sign a homebrew app with that cert & see if it'll work on Mango Beta.
I rolled back but have the HTC 7 Pro, so I can send you that cert, maybe you can edit it so it works with the HD7?
Glad to see you working on this btw .
blindpet said:
I rolled back but have the HTC 7 Pro, so I can send you that cert, maybe you can edit it so it works with the HD7?
Glad to see you working on this btw .
Click to expand...
Click to collapse
Thank you, it shouldn't matter which HTC device it comes from. The main issue is I'm on T-Mobile so for my device has T-Mobile's OEM cert on it where your 7 Pro most likely doesn't. Probably has a Verizon OEM or for what ever OEM you're on. Your device might have an HTC Cert though. The main thing I'm looking for is a cert that's trusted & allowed INTEROPSERVICES access as OEM's/Manufacturers are the only ones allowed this atm. This is why Navigon Select works even though it has INTEROPSERVICES. I'm hoping I can use the SDKCert Signer tool & an OEM cert to sign the dll's/mui's in the XAP with.
I'm on an unbranded HTC 7 Pro. If you walk me through extracting whatever certs you can use I'm more than happy to do it.
blindpet said:
I'm on an unbranded HTC 7 Pro. If you walk me through extracting whatever certs you can use I'm more than happy to do it.
Click to expand...
Click to collapse
Okay, you'll need WPDM. Install that to your pc/laptop. Once you run it the first time, it'll prompt to install TouchXperience. Open TouchXperience on your 7 Pro. Now WPDM will sync with it. Now open the file manager in WPDM on your PC. The certs should be in \windows or one of it's sub directories. I don't remember exactly where I saw them. Try to find one with HTC or Test in the file name. You can than copy if & paste it into windows explorer somewhere to zip it up & upload it here.
Unsigned app limit
Any idea which homebrew can get rid of the unsigned applications limit on Mango?
I am afraid of removing all my unsigned apps for nothing
Before following the OPs suggestions I was not able to deploy Navigon Select onto my device. After editing WMAppManifest.xml I was finally able to deploy it again. Sadly it won't work. After startup it tells me that it can't complete the registry process due to not being able to connect to the network. Pitty.
dkp1977 said:
Before following the OPs suggestions I was not able to deploy Navigon Select onto my device. After editing WMAppManifest.xml I was finally able to deploy it again. Sadly it won't work. After startup it tells me that it can't complete the registry process due to not being able to connect to the network. Pitty.
Click to expand...
Click to collapse
It worked for me, which version are you using. I have the patched 1.3 install with maps & everything.
Handala said:
Any idea which homebrew can get rid of the unsigned applications limit on Mango?
I am afraid of removing all my unsigned apps for nothing
Click to expand...
Click to collapse
Advanced Config has that feature. Not sure what else does. There's a couple apps that do it.
drkfngthdragnlrd said:
It worked for me, which version are you using. I have the patched 1.3 install with maps & everything.
Click to expand...
Click to collapse
Tried it with 3.0 and 1.4. Both patched. I wasn't able to deploy either one of them.
dkp1977 said:
Tried it with 3.0 and 1.4. Both patched. I wasn't able to deploy either one of them.
Click to expand...
Click to collapse
In order to deploy you have to edit that file I listed in the OP. I've got v1.3 installed as US maps only works with v1.3 & is what the map loader software came with.
EDIT: Whoops, v1.4 is what i have installed on Mango.
drkfngthdragnlrd said:
In order to deploy you have to edit that file I listed in the OP. I've got v1.3 installed as US maps only works with v1.3 & is what the map loader software came with.
EDIT: Whoops, v1.4 is what i have installed on Mango.
Click to expand...
Click to collapse
Yeah, I followed your advice and was able to deploy it successfully. But I just can't use it anymore since it won't registert. It keeps telling me to turn airplone mode off (which isn't on anyway).
dkp1977 said:
Yeah, I followed your advice and was able to deploy it successfully. But I just can't use it anymore since it won't registert. It keeps telling me to turn airplone mode off (which isn't on anyway).
Click to expand...
Click to collapse
Hum, no clue, I used Map Loader to add my maps. It turns my pc into the server. Have you checked you internet to make sure you have a good connection by loading any website in IE. Also, try WiFi. My only guess could be a data connection problem.
drkfngthdragnlrd said:
Hum, no clue, I used Map Loader to add my maps. It turns my pc into the server. Have you checked you internet to make sure you have a good connection by loading any website in IE. Also, try WiFi. My only guess could be a data connection problem.
Click to expand...
Click to collapse
Tried 3G and WiFi. No luck. -.-
dkp1977 said:
Tried 3G and WiFi. No luck. -.-
Click to expand...
Click to collapse
That sux, the server must not recognize a Mango device or something. My only suggestion is if you have iPhone Maps for Navigon Select, use Map Loader found here on XDA to load those maps.
drkfngthdragnlrd said:
Advanced Config has that feature. Not sure what else does. There's a couple apps that do it.
Click to expand...
Click to collapse
Ok thanks a lot, I'm going to try your trick then! Hope this homebrew will launch on Mango...
drkfngthdragnlrd said:
That sux, the server must not recognize a Mango device or something. My only suggestion is if you have iPhone Maps for Navigon Select, use Map Loader found here on XDA to load those maps.
Click to expand...
Click to collapse
k, I'll try. Gotta read the whole thread first, since it seems rather complicated to set up. Thanks for your help.
dkp are you dev unlocked?
WPDM is broken, it doesn't work with the new beta tools. I uninstalled them and reinstalled WPDM but it crashes on load. Unfortunately I don't have the time to mess with this now so if anyone else can provide the certs that'd be great.
Running touchxperience on my phone I can't find an HTC or Test folder in \windows.
blindpet said:
dkp are you dev unlocked?
WPDM is broken, it doesn't work with the new beta tools. I uninstalled them and reinstalled WPDM but it crashes on load. Unfortunately I don't have the time to mess with this now so if anyone else can provide the certs that'd be great.
Running touchxperience on my phone I can't find an HTC or Test folder in \windows.
Click to expand...
Click to collapse
No problem, I have the same problem with WPDM & the beta tools. I may just have to go back to NoDo to get them myself. At least now someone made a BAT files to update so hopefully I won't have to reset my HD7 to get back into Mango again.
Original Post(Chinese):http://www.wpxap.com/thread-82265-1-1.html
Ddeveloped by GLB in C-reader developing team(a ebook reader app made in china)
EDIT: If you updated to 7712 with 7661 unlocked, you can enter diagnosis->gprs settings then choose the unlock.xml to unlock 7712.
Not working properly on focus right now. The Diagnosis app in Focus is different from the Omnia7's . So the methods below are not recommended for Focus users.
See the "Problems and Solutions" part for detail.
Please post your Diagnosis version and ROM if you succeed.
Simple translation(I'm chinese, so the translation is not very good,sorry for that)
REQUIRES
IF you have updated to mango, roll back to 7392 or earlier. make sure it's unlocked.
Then you needs these files(1-4 are contained in the Omnia7 mango JB.zip)
1)Wp7UsbStorageEnabler
2)WP7RootTools 0.5 alpha.xap
3)language.xml (this is for chinese languages,can be omitted)
4)unlock.xml
5) Diagnosis app(ver 1xxx)
Note: If your Diagnosis version is 0929 or earlier, you should uninstall it and dial ##634# under 7932. By doing this you can update your Diagnosis app.
Before updating to mango
1)copy language.xml and unlock.xml to rootfolder/picture/ via Wp7UsbStorageEnabler
2)deploy WP7RootTools 0.5 alpha.xap and copy the xml file(s) to provxml/ in the root folder(create one if provxml folder doesn't exist)
note:
the file name will change after being copied to phone. Look for it under /My Documents/Zune/Content, including sub-folders.(size is the clue)
You can look through /My Documents/Zune/Content/0400 first.
Don't forget to rename the xml files to original one.
3)exit WP7RootTools and enter diagnosis(##634#),open GPRS settings (*#9908#). click "Select GPRS" and you will see the xml file(s). dont choose any of them. Just click Save.
note: Don't update to mango if you can't find unlock.xml in GPRS settings! You can't jailbreak mango without unlock.xml.
If you want chinese,you should choose language.xml then save. the Unlock.xml is used after updating to mango.
After Updating to Mango
after updating to mango,enter diagnosis->gprs settings,and choose the unlock.xml then save.
No rebooting needed.
All done.Enjoy
Problems and solutions
--->Focus<---
It's confirmed that Diagnosis(ver 0929 or earlier) can't find the xml file in the GPRS settings.
The Diagnosis version is different according to which rom you are using.
Rogers -> 0929
Att -> 1122
If your Diagnosis version is 0929 or earlier, uninstall and dial ##634# to reinstall it again (in 7392). It will update the Diagnosis app.
If it still not work:
Reflash to AT&T 7004 > Open Diagnose > Unlock > 7008 > 7390 > Open Diagnose (still 929) > Uninstall Diagnose > Open ##634# again, and it's already updated.(Thanks to minori_aoi,http://forum.xda-developers.com/showpost.php?p=15368673&postcount=55)
Note:
If your phone is updated to 7392 with the OEM registry information (ATT-US) deleted, the Diagnosis won't be updated.
If the unlock.xml is still missing in the GPRS settings, here is a solution:
Copy&paste unlock.xml in another way:
1)In 7392, download and deploy New_SMS_Unlock.xap.
2)Browse with WP7 Root Tools to Applications\Install
3)Search for a folder which starts with D19A80F2-1717.....Then you will find the unlock.xml
Then do as above.
I don't know what's the difference between the unlock.xml in New_SMS_Unlock.xap and the normal one. Both size and content are the same. But it just worked on hx4700 Killer's focus.
See http://forum.xda-developers.com/showpost.php?p=15329491&postcount=5 for detail
Thanks to contable and hx4700 Killer.
--->Wp7UsbStorageEnabler<---
Zune will start automatically when the phone is connected. Then you will see nothing in WP7 phone's folder in the Explorer.
Here's the solution:
When the phone s connected,open phone's folder in Explorer as fast as you can.
This make Wp7UsbStorageEnabler connect with your phone before Zune.
You can also close Zune when it appears.
About C-Reader
C-Reader is a fascinating ebook reading app and the developers are working hard to make it optimized for mango.A beta release will soon be published including some "mango features" like extremely fast resuming and background downloading.I hope you guys could have try~~
App link:http://wp7applist.com/en-US/app/16650/creader
That's great!! I have jailbreaked!
Thank to GLB in C-reader.
very very nice tweak !!!!
we can now execute all registry tweak we want in mango, just edit xml file !!!
What make this hack can't be used on Focus ??? As far as the Unlock.xml goes, it's only contain Dev Unlock, Prevent Re-lock, and Max Sideloaded Application limit.
I also can access *#9908# from diag tools. So what's missing from Focus compared to Omnia 7 ?
It seems that some focus succeeded. It depends on the ROM and diagnose app you are using.
diagnoise v1122 works
rogers seems not working.
Have a try and good luck!
Mine is AT&T Focus with Diagnose v 0.929 and running Rogers ROM.
Out of topic :
Regarding Diagnose Tools, can we change the Diagnose tools with another version ???
Edit : Tried this, but I can't see the xml file from *#9908#.
There're 3 options :
- Gumi Test Bed
- Suwon2G Test Bed
- Suwon3G Test Bed
Damn ... I thought it would also worked on my Focus
i updated my post . see the last part "Problems and solutions" . But the xap file is still downloading...
EDIT: the Diagnosis.xap in attachment did't work, deleted.
I have a problem, i don't see any file under /My Documents/Zune/Content after i loaded unlock.xml in Pictures folder via USBenabler. I have only seven folders in Content folder, no files. Any clue?
Here an easier way to copy the unlock.xml to the OMNIA 7:
1. if you are still on build 7392 deploy the attached xap to your device
2. Browse with WP7 Root Tools to Applications\Install
3. Search for a folder which starts with D19A80F2-1717.....
=> there you will find the unlock.xml
4. copy the unlock.xml as described with WP7 Root Tools to the before created provxml\ folder
So you don´t need to copy the unlock.xml via USBStorageEnabler.
Cheers
contable
svarog84 said:
I have a problem, i don't see any file under /My Documents/Zune/Content after i loaded unlock.xml in Pictures folder via USBenabler. I have only seven folders in Content folder, no files. Any clue?
Click to expand...
Click to collapse
You should look through every folder and sub-folder to find those 2 xml files.
The diagnose (v.1027) crashed as soon as I open GPRS screen.
What's SMS Unlock used for ?
Edit : It's just for copying the unlock.xml, lol
@contable
i don't have folder that starts with D19A80F2
I am trying now to find it with first method. If file is renamed it will keep .xml extension, right?
Tnx for replying so quickly everyone
After 1 hour's hard work, finally get my O7 mangoed and jailbreaked!
svarog84 said:
@contable
i don't have folder that starts with D19A80F2
I am trying now to find it with first method. If file is renamed it will keep .xml extension, right?
Tnx for replying so quickly everyone
Click to expand...
Click to collapse
That is the folder I found it on my OMNIA 7. The file isn´t renamed after deploying the xap. If you don´t have such a folder just search in Applications\Install folder for unlock.xml.
svarog84 said:
@contable
i don't have folder that starts with D19A80F2
I am trying now to find it with first method. If file is renamed it will keep .xml extension, right?
Tnx for replying so quickly everyone
Click to expand...
Click to collapse
No, the file name is totally changed.
mine is 7a.3z and 7c.3z
they are in the same folder and the folder has no other files in it.
Tested, it work on omnia7. I has more than 20 xap deployed on phone before mango and I can deploy other xap after upgrade to mango.
thank you !
yhd4711499 said:
No, the file name is totally changed.
mine is 7a.3z and 7c.3z
they are in the same folder and the folder has no other files in it.
Click to expand...
Click to collapse
I have seen them but didn't pay attention, i was trying to find .xml extension.
EDIT
Found it, i have unlock option under gprs settings. Updating to Mango now, hope it will work. Thanks a lot
Thanks for this. Worked on my WP7 Omnia 7
htc support?
will there be support for htc hd7 coming? or can i use these instructions with my hd7?
Gateau Noël said:
will there be support for htc hd7 coming? or can i use these instructions with my hd7?
Click to expand...
Click to collapse
Please read the title of this thread. For HD7 you can find another thread...
Has anybody written one? I've seen lots of apps that include this binary, but they all use provisioning for registry writes and a homebrew WinCE DLL for registry reads. That's great, except that in Mango you can't use the homebrew DLLs anymore.
I'd like to write an app that can read and write specific values (the signed DLL doesn't appear to support browsing). The catch is, of course, no dependency on unsigned native code.
If somebody has already written an app or library that does this, and doesn't mind sharing the code (I'll open anything I write with it, of course) that would be awesome.
hm you don't need provisioning for registry editing with this HTC DLL, I think. The DLL provides functions that enable you to edit/read registry entries. The provision part is used for this provider specific configurations.
And there should be a way to use these homebrewn registry editors to use in Mango. People around here report that they installed the apps while running NoDo and then using Ansars method to upgrade to Mango. But unfortunately it didn't worked for me so far
If somebody is intrested we can make a port of our app (which generates on device provxml files) available for htc devices. Ill need somebody to help me out with some testing. It works already on samsung devices on mango, file operations and stuff.
i just need to know where the provxml needs to be installed to and i think we can find a way to make it work.
Pm me if you are intrested.
Marvin_S said:
If somebody is intrested we can make a port of our app (which generates on device provxml files) available for htc devices. Ill need somebody to help me out with some testing. It works already on samsung devices on mango, file operations and stuff.
i just need to know where the provxml needs to be installed to and i think we can find a way to make it work.
Pm me if you are intrested.
Click to expand...
Click to collapse
Let us talk about that when the Samsung version is finished. I also have a HD7.
The problem is that the HTC Connection Setup deletes the custclear.provxml file after executing...
Have a nice day.
contable said:
Let us talk about that when the Samsung version is finished. I also have a HD7.
The problem is that the HTC Connection Setup deletes the custclear.provxml file after executing...
Have a nice day.
Click to expand...
Click to collapse
yes i have heard. I think we can solve this by adding a copy command to replace itself again? If we are lucky this might work. Otherwise we have to look for file transfer tools. Thank you haha i will, talk to you tomorrow.
In theory will work but once ran connection setup in mango file transfer is available via touch explorer.
Sent from Ant's HTC Mozart using XDA Windows Phone 7 App
yes, file transfer should work, if you installed the tools before the mango update. However for newer phones that do not have NoDo firmware this won't be possible anymore :/
@rudelm: That's the point of my question. I know that the HTC DLLs supposedly allow registry access, the problem is I've never seen a working example, and my skill with COM is crap.
@Marvin_S: That's a cool idea, and I can show you how to make it work even easier on HTC (I've written apps in the past that used XML provisioning on HTC; you don't even need to use Connection Setup since we have a Mango-compatible DLL to do it). The catch is that you can't use them to *read* values.
Also, I've already tried chaining the CustClear.provxml file using Connection Setup. It doesn't work - I think the file gets deleted at the end, not the start. However, HTC has a working filesystem DLL that allows moving files anyhow, so not that important. It's the registry I'm concerned about right now.
Again, if anybody has an example of working code using a ComRegRW DLL from an HTC app, please let me know!
GoodDayToDie said:
@rudelm: That's the point of my question. I know that the HTC DLLs supposedly allow registry access, the problem is I've never seen a working example, and my skill with COM is crap.
It's the registry I'm concerned about right now.
Again, if anybody has an example of working code using a ComRegRW DLL from an HTC app, please let me know!
Click to expand...
Click to collapse
It's actually simple, if you use another library here from XDA. Its called NativeLibrary and was made bei (nico)
With his code I was able to access the registry to change an entry. Basically it looked like this:
Code:
// check for HTC Device
bool isHTC = false;
isHTC = Device.IsHTC();
if (isHTC)
{
Device.Registry.SetStringValue("HKLM", "Software\\HTC\\HTC_Weather", "AppVersion", "1337");
contentTextBlock.Text = Device.Registry.GetStringValue("HKLM", "Software\\HTC\\HTC_Weather", "AppVersion");
//NativeHTCFileSystem.Init();
//NativeHTCFileSystem.GetFileSize("/My Documents/Explore Excel.xlsx", out fileSize);
}
else
{
contentTextBlock.Text = "Found no HTC Device :D";
}
He wrote a wrapper for different devices and included most of their dll files, so you don't have to handle the COM part. This is what I'm trying to understand next... But I bet its really ugly I never got the COM part running just by looking at reversed HTC or Samsung XAPs and I am still wondering how (nico) did it, but anyways: he helped me a lot with his source
If you put this code into a button listener, you need to push the button two times to display the new registry value as my textbox did not get refreshed. But thats the smallest problem here
It's not that difficult actually if you know C++, COM, and .Net COM Bridge.
There is nothing here specific to Windows Phone, it's all pretty standard stuff.
BTW, this is not how you should use my lib, as it is supposed to handle the device check for you.
I've not updated this for a long time, so I don't think it work on LG nor Mango.
Here is an example:
Code:
var registry = NativeLibrary.Device.Registry;
var currenttheme = registry.GetStringValue("HKLM", @"ControlPanel\Themes", "CurrentTheme");
GoodDayToDie said:
@rudelm: That's the point of my question. I know that the HTC DLLs supposedly allow registry access, the problem is I've never seen a working example, and my skill with COM is crap.
@Marvin_S: That's a cool idea, and I can show you how to make it work even easier on HTC (I've written apps in the past that used XML provisioning on HTC; you don't even need to use Connection Setup since we have a Mango-compatible DLL to do it). The catch is that you can't use them to *read* values.
Also, I've already tried chaining the CustClear.provxml file using Connection Setup. It doesn't work - I think the file gets deleted at the end, not the start. However, HTC has a working filesystem DLL that allows moving files anyhow, so not that important. It's the registry I'm concerned about right now.
Again, if anybody has an example of working code using a ComRegRW DLL from an HTC app, please let me know!
Click to expand...
Click to collapse
This would be nice. Do you know if there is a similar .dll for samsung? So we will not have to go into the diagnosis menu everytime?
@Marvin_S: Yes, there's a similar app for Samsung - there's already a Samsung registry editor that works with Mango. It's nto a registry *browser* of course, but it can do read and write. I used it (at least, the writing portion) in my IE Search Switcher app too.
(nico) said:
BTW, this is not how you should use my lib, as it is supposed to handle the device check for you.
I've not updated this for a long time, so I don't think it work on LG nor Mango.
Here is an example:
Code:
var registry = NativeLibrary.Device.Registry;
var currenttheme = registry.GetStringValue("HKLM", @"ControlPanel\Themes", "CurrentTheme");
Click to expand...
Click to collapse
Ah ok, that looks better
I'm currently setting up my VM to look into this c++ and com things, but I guess its more complicated than I thought. You've got some links to help me here getting started for WP7?
@Marvin_s: there are the XAP packages of Samsungs apps here on XDA. You can just rename the files to zip and unpack. Then you will have the Samsung specific DLLs
Hi hackers,
Version 2.1 of DeployProvXML is here, and should be more robust than the previous version:
1: The CustClear.provxml file is now copied both using the filesystem DLL (like v1) and using XML provisioning (hopefully works aroudn the HTC update blocking filesystem access.
2: The CustClear.provxml file is now self-chaining. Really, this time - so long as you run the program *once*, you can even change the included CustClear.provxml, re-deploy, and run Connection Setup; your new version will then be copied to \Windows. (Re-run CS to actually process your new version). No more need to re-run DeployProvXML after each use of Connection Setup!
3. The program now contains more diagnostics. It sets a registry value at launch (using ComRegRW.DLL), changes that registry value (using provxml) when deploying the file, and changes it again when the deployed file is processed by Connection Setup (as part of the CustClear.provxml). It also checks that the value is as expected avter deploying.
REQUEST:
Anybody who has an interop-unlocked HTC phone with the latest official HTC update (meaning you can't use TouchXplorer anymore), please run this app, then run Connection Setup, then use a registry editor to check the key HKCU\Software\DeployProvXML. It should have a value, LastOperation. Please include the data in the value (or the fact that it doesn't exist) with your reports. Thank you!
Description:
Another handy little utility for people with HTC phones, this app simply copies a CustClear.provxml file from its install directory to \Windows, then exits. The idea is to make sure that you're never without at least a basic file that can be used by Connection Setup to unlock your phone. New in v2, every time you run Connection Setup, the file will automatically restore itself to the Windows directory. This ensures you'll never accidentally get caught with a locked phone after an upgrade or something!
The included Provxml has three parts. However, you can customize it however you like by opening the XAP file and editing the embedded provxml. The parts are:
1: Applies the registry settings to unlock the phone, including Interop-Unlock.
2: Applies a test value in the registry, at HKCU\Software\DeployProvXML. This value is harmless but can be used to test if the app is working.
3: Chain-copies itself from DeployProvXML's install folder into Windows again, replacing the copy that Connection Setup consumes.
Note that this program does not actaully apply the provxml, merely copies it to where Connection Setup expects to find it. It should close immediately after starting; this is not a bug. If you see a dialog box instead, something went wrong and you should report it below!
This program is only going to work on HTC phones, since it uses the HTC DLLs for provxml, file access, and registry. It is a 7.0 app but is compatible with Mango if you have Interop Unlock already.
XAP is in DeployProvxml\bin\debug. Source included for those interested.
Do you think a deployer for OMNIA 7 is possible ?
Maybe with a .dll of WP7 Root Tools ?
So users who didn´t prepare their device for our OnDevice provxml app under NoDo could also enable this feature...
contable said:
Do you think a deployer for OMNIA 7 is possible ?
Maybe with a .dll of WP7 Root Tools ?
So users who didn´t prepare their device for our OnDevice provxml app under NoDo could also enable this feature...
Click to expand...
Click to collapse
This has been solved I can finally test the app myself now. I changed the path to copy the provxml from the iso storage of the app instead of the provxml folder.
Interop.Services
Just read this http://translate.google.com/transla...oducing-windows-phone-7-5-native-programming/
Any joy?
Looks cool, but I'll need to investigate further. It has definitley been reproted that Homebrew apps without ID_CAP_INTEROPSERVICES don't work even in Mango. It sounds like this guy is maybe using a marketplace signed DLL, though? Not sure - the translation isn't great. He's working from an app that I've never explored, and that appears to be specific to the Japanese Mango phone.
how do we use it. will it permanently unlock when we update to official Mango?
Ttblondey said:
how do we use it. will it permanently unlock when we update to official Mango?
Click to expand...
Click to collapse
Install app in NoDo.
Run in once.
Upgrade to Mango.
Run the Connection Setup app (from Marketplace).
Hit "OK" in Connection Setup.
Your phone is now dev-unlocked and will not automatically relock. Additionally, you can now install Mango homebrew.
I suggest you then run DeployProXml again, since installing an update, even something like a HTC firmware update, may re-lock the phone. So long as you've run DeployProvXml since the last time you ran Connection Setup, though, you can unlock again.
If this helps, please hit Thanks!
piaqt said:
Just read this http://translate.google.com/transla...oducing-windows-phone-7-5-native-programming/
Any joy?
Click to expand...
Click to collapse
he does pretty much the same from what I read. You just use oem dll's and have some native functions to work with. f/e htc has file operations + regoperations + provxml, samsung has regoperations + provxml (trough which you can do regops). This manufacturer dll probably contains fileops as well, which is nice since there might also be a chance that there will be a working provxml method and with the fileops you can copy the provxml files to the desired location. In theory ofcourse.
Marvin_S said:
he does pretty much the same from what I read. You just use oem dll's and have some native functions to work with. f/e htc has file operations + regoperations + provxml, samsung has regoperations + provxml (trough which you can do regops). This manufacturer dll probably contains fileops as well, which is nice since there might also be a chance that there will be a working provxml method and with the fileops you can copy the provxml files to the desired location. In theory ofcourse.
Click to expand...
Click to collapse
There are two differences that are worth noting, though.
A) This is a phone that came with Mango. There was never any chance to unlock it for Mango homebrew. It blocks apps with ID_CAP_INTEROPSERVICES - something we had to work around with registry edits.
B) Related to A, he can call native code without having ID_CAP_INTEROPSERVICES. This isn't supposed to be possible at all. Makes me wonder if he's actually calling anything in the DLL or if he's just loading the COM object but not using it and calling that success.
GoodDayToDie said:
There are two differences that are worth noting, though.
A) This is a phone that came with Mango. There was never any chance to unlock it for Mango homebrew. It blocks apps with ID_CAP_INTEROPSERVICES - something we had to work around with registry edits.
B) Related to A, he can call native code without having ID_CAP_INTEROPSERVICES. This isn't supposed to be possible at all. Makes me wonder if he's actually calling anything in the DLL or if he's just loading the COM object but not using it and calling that success.
Click to expand...
Click to collapse
Ahh yeah your right. Yeah I realy wonder what the trick behind it is and if he manages to install it.
Something else I have not tried yet, but what happens if you deploy it without the id_cap and than run it. It will not work obviously, but what happens if you redeploy with the tag in? Will it still get rejected? Because the phone rejects the app I think.
Hey, the ZIP contains a folder, which, if I package into a XAP, fails on deployment. What's the best way to get this packaged into a usable XAP?
trying to figure out how to install this app.
@thesecondsfade:
Bottom line of the first post:
"XAP is in DeployProvxml\bin\debug. Source included for those interested."
I distribute most of my apps this way, unless the source is really big and the XAP alone is a significantly smaller download for some reason.
@Ttblondey:
Is your phone dev-unlocked?
Is your phone either pre-Mango, or interop-unlocked?
Do you have a XAP deployment program and the Zune software?
GoodDayToDie said:
@thesecondsfade:
Bottom line of the first post:
"XAP is in DeployProvxml\bin\debug. Source included for those interested."
I distribute most of my apps this way, unless the source is really big and the XAP alone is a significantly smaller download for some reason.
@Ttblondey:
Is your phone dev-unlocked?
Is your phone either pre-Mango, or interop-unlocked?
Do you have a XAP deployment program and the Zune software?
Click to expand...
Click to collapse
My TouchXplorer does not work anymore after updating to the official Mango, though my phone is still unlocked. This XAP will definitely helps if new firmware/updates come along to deploy Provxml to /windows.
I've installed it but how can I verify if this is being installed/copied to /windows?
GoingInside said:
My TouchXplorer does not work anymore after updating to the official Mango, though my phone is still unlocked. This XAP will definitely helps if new firmware/updates come along to deploy Provxml to /windows.
I've installed it but how can I verify if this is being installed/copied to /windows?
Click to expand...
Click to collapse
This app uses the same DLL as TouchXplorer, which means it doesn't work either (I wrote a number of apps using that DLL, including a backup tool, and none of them can see any files anymore). I'm not sure exactly what was changed, but yeah, they broke it. My hope is that Heathcliff74's WP7 Root Tools will restore file browsing on HTC soon.
As soon as I finish restoring my phone, I'll try writing a version of the app that uses ProvXML to copy the file, instead of ComFileRW.dll (which no longer works if you get the final HTC update). Using ProvXML is limited in some ways - you can't browse the filesystem, for example - but it works great for this type of operation.
i'm on force unlock from Ansar's thread with Pedbe way final mango.Been trying to use advancedconfig 1.3,1.4 battery meter it don't work anymore.Good thing I can sideload(that's important)
GoodDayToDie said:
This app uses the same DLL as TouchXplorer, which means it doesn't work either (I wrote a number of apps using that DLL, including a backup tool, and none of them can see any files anymore). I'm not sure exactly what was changed, but yeah, they broke it. My hope is that Heathcliff74's WP7 Root Tools will restore file browsing on HTC soon.
As soon as I finish restoring my phone, I'll try writing a version of the app that uses ProvXML to copy the file, instead of ComFileRW.dll (which no longer works if you get the final HTC update). Using ProvXML is limited in some ways - you can't browse the filesystem, for example - but it works great for this type of operation.
Click to expand...
Click to collapse
Ok, guess I'll have to wait for the experts (Heathcliff74 and you etc) to solve this HTC drive update issue. Thank you!
GoingInside said:
Ok, guess I'll have to wait for the experts (Heathcliff74 and you etc) to solve this HTC drive update issue. Thank you!
Click to expand...
Click to collapse
@GoingInside, and anybody else in the same boat (latest HTC update installed, filesystem browsing broken), please try the latest version (v2, now on the initial post)! After running the app once, run Connection Setup and hit OK. After you do that, use a Registry Editor to check for the presence of the following registry key: HKCU\Software\DeployProvXML.
Please report whether that key is present. If it is, that means the app is fully functional even with the latest update!
I only have a NoDo Backup (my phone came with nodo) - can I get the interop unlock trough dev unlocking the phone and then running our app?
nvm, I am now downgrading to NoDo and Will then update to the HTC RTM (the one that Comes via zune). As soon as I am there I will tell you if i had luck with it or not (I hope I can interopunlock on NoDo as the 3 apps sideloadlimit is crap)
Update 1: I am on NoDo and I started your app. It cloesd, i went to Connection Setup and ran it. Will check if the registry value is there as soon as some XAPs are deployed (first time that I can deploy more than 3 XAPs )
Update 2: Now going trough the Beta - RTM - HTC Update Update marathon. Will Report back as soon as I am on HTC's RTM
GoodDayToDie said:
@GoingInside, and anybody else in the same boat (latest HTC update installed, filesystem browsing broken), please try the latest version (v2, now on the initial post)! After running the app once, run Connection Setup and hit OK. After you do that, use a Registry Editor to check for the presence of the following registry key: HKCU\Software\DeployProvXML.
Please report whether that key is present. If it is, that means the app is fully functional even with the latest update!
Click to expand...
Click to collapse
Unfortunately, it seems that the new XAP (v2) doesn't work as well. Copy and deploy the latest DeployProvXML.xap (dated 5/10/2011) to my HTC trophy. After running Connection Setup, I can't find the registry key: HKCU\Software\DeployProvXML. I only found MICROSOFT under HKCU/Software/.
But please continue your research into this. THANKS!