Related
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.
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!
Registry Editor
Download
Advanced Configuration Tool
Download
drkfngthdragnlrd said:
Registry Editor
Download
Advanced Configuration Tool
Download
Click to expand...
Click to collapse
thank you
Under Mango it will install under Settings (both apps).
there is no straight forward way to uninstall the newly installed apps from the settings page. I successfully uninstalled with XAPDeployX. Sideload the xap again and check "force uninstall if application is already installed". Then click deploy. The program will uninstall the existing one on the device first and report this in the deploy tool with a success message. Right then you unplug the phone from the USB. Voila - it is now uninstalled and gone from settings.
Somebody else posted that you can install an older version (e.g. v1.3) that will show up in apps. Then you uninstall and it normally and it will be removed from settings as well.
just in case it doesn't work for you and you want to remove it...
thanks
edit1: Cool, I can confirm that adding new themes works fine now on LG Quantum. With v1.3 only an existing one could be changed (there is a little bug that it multipies the colors within the program when you go back and forth, but luckily it doesn't stick in settings). When the app first opens I get an "UnauthorizedAccessException" message, but it continues to run.
I honestly have no clue, never installed a "Settings App" before. I'm not even on Mango yet. Waiting for the official update. I installed them on NoDo so I'll be ready & they show up as apps.
drkfngthdragnlrd said:
Registry Editor
Download
Advanced Configuration Tool
Download
Click to expand...
Click to collapse
How do I avoid this error 81030120 deploy xap issue again on HTC Mozart mango 7712?
My device is developer unlocked.
thanx
fml
it crashes on me
How do I avoid this error 81030120 deploy xap issue again on HTC Mozart mango 7712?
Click to expand...
Click to collapse
Do not install because:
My device is developer unlocked.
Click to expand...
Click to collapse
M$ and developer account does not support homebrew applications that edit system.
Has anyone been able to manage the sounds with advanced config tool?
I was able to deploy and run the app on DFT Freedom ROM 7720 but when I go to the sound category, everything is listed as "None". Setting a ringtone for certain events (I tried email and SMS), will disable the ringtone alltogether.
Budniu said:
Do not install because:
M$ and developer account does not support homebrew applications that edit system.
Click to expand...
Click to collapse
It would appear that the error message can be overcome using the ProvXML method to edit the Registry in Mango. Do the following Registry Edit;
-Allow max number of unsignd apps
Code:
[HKEY_LOCAL_MACHINE\Software\Microsoft\DeviceReg\Install]
"MaxUnsignedApp"=dword:7fffffff
drkfngthdragnlrd said:
It would appear that the error message can be overcome using the ProvXML method to edit the Registry in Mango. Do the following Registry Edit;
-Allow max number of unsignd apps
Code:
[HKEY_LOCAL_MACHINE\Software\Microsoft\DeviceReg\Install]
"MaxUnsignedApp"=dword:7fffffff
Click to expand...
Click to collapse
By using provXML means going back to NODO first? thanx
joseph.sapri said:
By using provXML means going back to NODO first? thanx
Click to expand...
Click to collapse
If you have TouchXplorer installed & are already unlocked, than, no. You'll also need HTC Connection Setup for HTC's or the Samsung GPRS tool. There's thread all about how to apply ProvXML registry changes.
drkfngthdragnlrd said:
If you have TouchXplorer installed & are already unlocked, than, no. You'll also need HTC Connection Setup for HTC's or the Samsung GPRS tool. There's thread all about how to apply ProvXML registry changes.
Click to expand...
Click to collapse
hmm.. yes, I don't have touchxplorer installed, and I cannot install it on mango, so NODO is the only way to go... anyway, I will do it when the official mango roll out is on, since I have to go back to NODO anyway. Thanx for your help
I like schaps stuff and use it a lot on NoDo and glad to see Mango. I am still on NoDo and waiting official Mango and then will definitely install.
woow..thx.. very nice
I succesfully deployed the ADv Config app to settings, but when I open it, it just flips and closes. How do I get it to stay open? Add it to the Provxml folder?
rbrsddn said:
I succesfully deployed the ADv Config app to settings, but when I open it, it just flips and closes. How do I get it to stay open? Add it to the Provxml folder?
Click to expand...
Click to collapse
I put my phone in airplane mode then open advance configuration,that seems to prevent it from closing. can't remember where i got that from though
That worked!
For anyone who having the error 81030120 with the final SDK Kit, try to install the Beta Tool Kit , i mean the SDK Beta 1, or Beta 2, you can google for Offline install.
This is the direct link for Offline Installer, Full ISO of SDK Beta 1 7.1:
http://download.microsoft.com/downl...6-4272-93D8-C4D98F0567AE/WPDT_v2_Beta_en1.iso
from:
http://www.windowsvalley.com/windows-phone-developer-tools-7-1-beta-now-available/
I read an article from WPCentre a few mins ago and they said the Beta tool kit doesn't prevent user from Installing XAP that change the System File. So let's hope this work.
PS: DOn't even bother. Tried. And doesn't work.
I'm pleased that I found this app! I was bummed that Mango had such limited color choices for the tiles. Now I've got my dark blue back!!!
Works Perfect!
Installs and works perfectly on my HD2 running official Mango with the XBmod-Yuki rom.
HTC new drivers Mango Rom will not allow old system apps to get root access, like TouchXplorer does not work on 4.xx above roms.So these days i found a way to make my custom rom based on htc 5.10 rom work perfect with old system apps.
Step 1
get an old htc offical rom, like 1.xx, get a htc offical 4.0x rom.dump them.copy HTCFileUtility.dll and HTCRegUtility.dll from 1.xx rom dump, and HTCProvisionDrv.dll from 4.0x rom dump.(they are both in OEM\HTC_AppDrivers)
Step 2
use the three files(modules) copied above to replace your custom rom, if u are using 4.0x rom as your base skip step 3.
Step 3
replace the ApprovedlistDB.db(in OEM\CSConn_DB) by my uploaded one.
Step 4
use OSBuilder to relloc your modules, or relloc them by yourself(just like me, cause OSBuilder is hard for me to understand how to use it)
Step 5
package your custom rom, and flash it, then you will get a new rom that TouchXplorer and RegistryEditor(this works much faster than before) can work like charm
Step 6
thx DFT bring us HSPL & Julien Schapman bring us magic system tools!
remarkable,thx 4 sharing
Would be awesome if there was a way to restore the old versions in-place without re-flashing the whole phone. CAB maybe? I don't think you can overwrite ROM modules any other way. I've avoided installing the latest HTC updates because I've written a couple apps that rely on the File and Reg DLLs, but that also means I don't have things like the Connected Media app working.
GoodDayToDie said:
Would be awesome if there was a way to restore the old versions in-place without re-flashing the whole phone. CAB maybe? I don't think you can overwrite ROM modules any other way. I've avoided installing the latest HTC updates because I've written a couple apps that rely on the File and Reg DLLs, but that also means I don't have things like the Connected Media app working.
Click to expand...
Click to collapse
if you can put files in \windows folder, and change reg key under HKLM\Drivers\BuiltIn\, you can make it works without flash a rom.
cause we could get drivers from htc orginal update cabs then rename them to put into \windows folder and change reg key to make these drivers load, no need to replace.
Well, if you care about this at all, you're already interop-unlocked.
If you're interop-unlocked, then you can set registry values and move files (using provxml).
So... yes, this sounds pretty exciting. Having the official HTC updates but still being able to use TouchXplorer would be awesome.
So, would it just be a matter of copying the old files under new names to the Windows folder and changing the "Dll" value of "HKLM\Drivers\BuiltIn\HTCFileUtility" and such? Or would something need to be done with the DB as well? I'm not sure if that can be changed on a running device.
Tell me what needs to be done and I'll create a tool to do it.
GoodDayToDie said:
Well, if you care about this at all, you're already interop-unlocked.
If you're interop-unlocked, then you can set registry values and move files (using provxml).
So... yes, this sounds pretty exciting. Having the official HTC updates but still being able to use TouchXplorer would be awesome.
So, would it just be a matter of copying the old files under new names to the Windows folder and changing the "Dll" value of "HKLM\Drivers\BuiltIn\HTCFileUtility" and such? Or would something need to be done with the DB as well? I'm not sure if that can be changed on a running device.
Tell me what needs to be done and I'll create a tool to do it.
Click to expand...
Click to collapse
you are on the way, m8.
get drivers from htc update cab, then u'll get files not modules
Code:
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\HTCFileUtility]
"Dll"="HTCFileUtility_new.dll"
if you make new HTCFileUtility.dll work, you will have enough power to replace files.
then make your new reg drivers work.
Code:
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\HTCRegUtility]
"Dll"="HTCRegUtility_new.dll"
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\HTCProvisionDrv]
"Dll"="HTCProvisionDrv_new.dll"
thanks for sharing, waiting for this method for along time.
Thanks ted. I'll update my backup (so I can roll back to working version if I need to) and go hunt down those files.
I don't think I'll need to overwrite HTCProvisionDrv, the current version seems to work just fine. In fact, if it doesn't, there won't be any way to do the overwrite. It's just the registry and filesystem drivers that were broken.
Now I'm wondering what the other HTC drivers do. There's a specific one for Connection Setup and for HTC YouTube, plus drivers for "HTCBgService" (a way to run tasks in the background, I assume) and "HTCVersionUtility" (probably not useful, but maybe?). It would be interesting to examine the APIs of those.
For that matter, it would be interesting to examine the API of things like the provision driver. It appears to have full permissions, but the DMXMLCOM.DLL library used to interface with it has a fairly limited API (no way to get the result of a provxml query, for example). Talking directly to the driver may work better.
Anyhow, off to find the correct CAB!
Sounds pretty awesome! New drivers in Mango with support for old apps - cool! Really hoping for a tool to do this, i've never cooked my own ROM, I solely rely on the experts for this
Hi Ted (or anybody), do you knwo where I can get the pre-Mango HTC cabs? All the cabs I've been able to find are for the Mango HTC updates, and have the wrong versions of the files.
EDIT: Found some that might work. They aren't labeled but the datestamp is from January.
Pretty sure xboxmod has a thread with all the official cabs linked somewhere on xda.
Sent from my HD7 T9292 using XDA Windows Phone 7 App
Thanks. I'll see if the files I found work. They're old enough, and are supposedly from an official update, but it's hard to be sure. Their file sizes are different from the ones in the latest update, but not by much.
The real trick, of course, is seeing whether I can install my own drivers at all or not. I know I can place files and change registry values, we just have to see if the phone will use them.
ted973 said:
HTC new drivers Mango Rom will not allow old system apps to get root access, like TouchXplorer does not work on 4.xx above roms.So these days i found a way to make my custom rom based on htc 5.10 rom work perfect with old system apps.
...
Click to expand...
Click to collapse
Any chance you would release your custom ROM? Can you make one for Trophy, only one using 5.10 version are Ansar's, your's sounds nicer!
Well, I didn't find Xboxmod's cabs, so I'm using the ones linked in Heathcliff74's thread. Unfortunately all the reliable ones are pretty recent, so I don't think they'll work. Last resort I'll try pulling them off my phone's filesystem, but that gets weird with modules.
I've successfully broken TouchXplorer and Connection Setup, and then fixed them again. I think this constitutes progress. Next step: try some older drivers, and see if I can install them without breaking anything. If so, then I'll try updating my phone with the official HTC update, and see if it's still working. If so, I'll clean up the XAP a little and publish.
EDIT: Additional discovery: Connection Setup relies on HTCFileUtility.dll. Installing the broken FileUtility driver causes Connection Setup to complain that there's no database installed on the phone, and then quit. Now I *really* wonder what HTCConnectionSetUp.dll is used for. Also, I'm not gonna touch the Provision driver unless I have to; this testing takes long enough when every step requires a reboot. If I mess up the provision driver I'll probably need to restore the phone backup.
EDIT2: The new HTCConnectionSetUp.dll driver is several times the size of the old one, but it doesn't seem to change how Connection Setup works when I use it. In particular, it still processes CustClear.provxml.
EDIT3: Still not working, even with very old drivers (January). I have a few possible ideas as to why, but it looks like I may need to run this with drivers from my "working" phone instead of from a CAB.
OK, I haven't been able to get this working with any of the DLLs I've been able to pull from CABs, and the DLL modules on the filesystem can't be moved, renamed, or read (ERROR_ACCESS_DENIED when I try to read one using ComFileRW.dll).
I either need the right CAB, the special sauce to make it work with the wrong CAB, or a way to extract those modules as files. I suspect it's at least partially a "special sauce" situation - the errors I get when I try using different drivers are not the same as the errors I get with the official update that breaks third-party apps trying to use those drivers.
I would *REALLY* appreciate some assistance with this. It has the potential to provide an easier interop-unlock (if the official update doesn't reset the driver DLL paths) and even if that doesn't work, it would be a big step forward for HTC homebrew. However, I know nothing about ROM assembly - not even how to extract a file from a shipped ROM. I'm trying to learn, but if somebody wants to point me in the right direction that would be a big help.
EDIT: I managed to extract the ROM module (took some doing; HTCRIE will crash at the drop of a hat if you aren't careful). I can't rebuild the file though - recmod doesn't seem to like it.
if you can use Provxml i have some way to replace module in \Windows dir
1.
<wap-provisioningdoc>
<characteristic type="Registry">
<characteristic type="HKLM\System\Explorer\Shell Folders">
<parm name="My Ringtones" value="\Windows" datatype="string" />
</characteristic>
</characteristic>
</wap-provisioningdoc>
Click to expand...
Click to collapse
copy this to notepad and save as File.Provxml file
2.Install DiagProvXMLv0.91
3.Use Chevron Ringtone Installer to copy .Provxml to your phone
4.Run DiagProvXML and go to " File Operations" tab , select Copy (to isoStore)
in Source Path use
\My Documents\My Ringtones\
Click to expand...
Click to collapse
and Source File use
File.Provxml
Click to expand...
Click to collapse
,,
Press (+) to save ,,
and now go to provxml tab and Press Publish (disk icon) ,,
go to iso store tab and Hold press at File and select Excute ,,
restart your phone and now you can use Chevron Ringtone installer to Add File you need to \Windows\ (sure as module , and defaultcert.dat for cab sender)
Best Regard
PPJD
@peeks20: Thanks (sort of) but your method is both overly complicated and doesn't solve the actual problem. If you're already interop-unlocked (and you have to be, to use DiagProvXML), then it's trivial to write a small app that just uses DMXMLCOM.dll to process whatever provxml commands you want. That includes copying files to the Windows directory.
The problem is that I'm not sure what file to copy, and I'm not sure it'll work even if I have the right file (I've tried multiple official files from various update CABs, and none of them have worked). There's probably either a version-matching function that's getting in the way, or a database somewhere that needs to register the new drivers (beyind just changing the path in the Dll value in the registry). Heck, maybe it's both. The point is, it doesn't work.
Now, if there's something about deploying the files using the Chevron ringtone installer instead of using pvroxml that will make all the difference, that would be cool. I really doubt it, though. The files copy just fine, and can be accessed and opened. They jut don't actually work. I get the same errors as if I point the Dll path in the registry to completely bogus paths ("Dll"="ThisFileDoesNotExist.dll").
GoodDayToDie said:
@peeks20: Thanks (sort of) but your method is both overly complicated and doesn't solve the actual problem. If you're already interop-unlocked (and you have to be, to use DiagProvXML), then it's trivial to write a small app that just uses DMXMLCOM.dll to process whatever provxml commands you want. That includes copying files to the Windows directory.
The problem is that I'm not sure what file to copy, and I'm not sure it'll work even if I have the right file (I've tried multiple official files from various update CABs, and none of them have worked). There's probably either a version-matching function that's getting in the way, or a database somewhere that needs to register the new drivers (beyind just changing the path in the Dll value in the registry). Heck, maybe it's both. The point is, it doesn't work.
Now, if there's something about deploying the files using the Chevron ringtone installer instead of using pvroxml that will make all the difference, that would be cool. I really doubt it, though. The files copy just fine, and can be accessed and opened. They jut don't actually work. I get the same errors as if I point the Dll path in the registry to completely bogus paths ("Dll"="ThisFileDoesNotExist.dll").
Click to expand...
Click to collapse
i uploaded HTC Appdrivers from Mozart 1.32 & 4.06 update cabs, maybe you can continue your test
Thanks, I'll give them a try. However, I've got to ask - what is Approvedlist.db, and if you have to modify it for a custom ROM, would I also need to modify it for this app? I can't shake the feeling that there's more to installing a driver than just changing a registry value.
GoodDayToDie said:
Thanks, I'll give them a try. However, I've got to ask - what is Approvedlist.db, and if you have to modify it for a custom ROM, would I also need to modify it for this app? I can't shake the feeling that there's more to installing a driver than just changing a registry value.
Click to expand...
Click to collapse
hard for me to explain this in english, this file decides which Registry keys allow apps to change.its format changed in 5.xx rom, so RegistryEditor v1.2.0.0 didn't work on these roms, we need to use old version HTCRegUtility & HTCProvisionDrv and old format ApprovedlistDB.db to make htc apps and 3rd Registry tools works perfect, that's why you need to replace ApprovedlistDB.db.
This is only confirmed working for the AT&T Lumia 1520 and may work as is for other phones but also might require tweaks to the XML (see below). It is very possible to brick your phone with this. Your mileage may vary!
From a high level this works by using FiddlerCore to intercept the traffic going to the Microsoft WPflights server that controls the Insider app and responds with our own custom data. The app accepts registry editing information from the web responses and acts upon that. This allows us to write stuff to select locations in the registry. In the case of the Windows 10 Preview, it appears to only look for your phone's PhoneManufacturerModelName to decide if it should be offered previews. Windows Update also checks this value. Other devices like Samsungs or HTCs may need different settings. My phone did revert to it's factory values after Windows 10 was installed (I actually think it might have done it after Windows 8.1 was installed but it continued with 10 nonetheless).
1. For the Lumia 1520 (and other phones?) reset your phone using the Windows Phone recovery tool. I recommend not logging in and setting everything up yet and just waiting til the end and doing a reset and letting it restore after you’re on Windows 10. This may not be required for your device but most likely is due to the space issue cited by Microsoft. You can see your available space in the About menu of the Windows Insiders app. Before resetting mine was ~200mb and after it was ~600mb. You can try without resetting but may get an error after it tries to download and install the update.
2. Install the [url=http://go.microsoft.com/fwlink/?LinkId=522524]Windows Insider app on your phone (you will need to have a store account configured)
3. Open the insiders app and go to the about options in the app bar and screenshot/make notes/email the settings to yourself. You may need this later.
4. Download and extract the WPInsidersHacks app (attached to this post) to your computer
5. Start the WPInsiderHacks app on pc, approve any firewall requests
6. Connect to the same WiFi that your PC is on. Edit the settings for the WiFi connection to turn on the Proxy and set it to use the PC’s IP address and enter 8877 for the port
7. Open Internet Explorer on your phone and navigate to http://[pc.ip.add.ress]:8877 where [pc.ip.add.ress] is the IP address of the PC running the WPInsidersHacks app
8. Tap on the link at the bottom to the fiddler root certificate
9. When prompted click open and then install to trust the cert and ok at the confirmation
10. Run the Windows Insider app and tap get preview builds
11. Tap on which custom action you’d like to perform. In my case I hit "Set to ATT Lumia 635" and click the arrow at the bottom
12. Accept the agreement and click the check mark at the bottom. the app will close
13. Now clear your proxy settings and run the insider app again
14. Tap get preview builds and login with your Microsoft account
15. Select the fast branch (if you’re reading this of course you want the fast branch) and click the arrow at the bottom
16. Go into the phone settings and check for updates. With any luck you should have Windows 10 there for you to install. On my AT&T 1520 it had to do 8.1 first but it kept going to 10 after 8.1 installed (had to check for updates again)
17. You’ll probably want to go into the settings and do another reset and then log into the phone and let it restore your previous data
The Windows Insider options are populated from the WPFlights.xml file. Feel free to edit/add stuff. I've experimented with writing to other keys but had mixed results. I wasn't able to write to the Software\Microsoft\Settings\{1DEF9B7D-2322-40eb-A007-16A75D5CDA6F} for example (seemed to not like the curly braces?). It should have all the same permissons as the preview for developers app. You'll just need to run the WPInsiderHacks app on your PC and point your phone's proxy settings to it if you want to go back and set something again (such as enabling tethering).
I just used this to install the TP on my Lumia 930 and .. it worked like a charm! phone is booting, OS is working! Thank you very much for the work you put into this! Really excited to try out the Preview now..
Edit: I did change the target device ID from ATT though.
Confirmed working for the Lumia 930
Confirmed working for the Lumia 920
I will try tomorrow on Lumia 520 and post result.
Not working on my Lumia 535
tried it on a Lumia 535. After Setting no proxy again the Windows Insider app shows that there is no update available.
the about-setting Shows RM-975 correctly instead of RM-1089, but I think the FW Version needs to be changed too.
Does anyone know a fix? Tried it several times by now.
LogString: DefaultCertMaker: GetRootCertificate() did not find the root in t
he Windows TrustStore.?
error0x0000034 said:
tried it on a Lumia 535. After Setting no proxy again the Windows Insider app shows that there is no update available.
the about-setting Shows RM-975 correctly instead of RM-1089, but I think the FW Version needs to be changed too.
Does anyone know a fix? Tried it several times by now.
Click to expand...
Click to collapse
Which carrier are you on? Sometimes you have to use device information for a phone on the same carrier as you're on for it to work.
I tried this with both a 520 and a 920. Everything works fine until I tap Get preview builds. I get the no builds message, but I know it's using the proxy because the WPInsiderHacks window gives this message:
** LogString: !SecureClientPipeDirect failed: System.IO.IOException Authenticati
on failed because the remote party has closed the transport stream. on pipe to (
CN=login.live.com, O=DO_NOT_TRUST, OU=Created by http://www.fiddler2.com)
** LogString: !SecureClientPipeDirect failed: System.IO.IOException Authenticati
on failed because the remote party has closed the transport stream. on pipe to (
CN=sn3301.storage.live.com, O=DO_NOT_TRUST, OU=Created by http://www.fiddler2.co
m)
Click to expand...
Click to collapse
Both devices get exactly the same result.
EDIT: I should clarify something: both the 920 and the 520 get this script. The 920 differs a bit on the device itself. Instead of going directly to the no builds page, an error pops up that says:
Server error
A connection error prevented us from downloading programs for you. Please check the date/time of your device and its network connection and try again.
Click to expand...
Click to collapse
Lumia 920
OK certificate installed
Windows insider no change ?
What would the registry entry for MOID be?
I have a non AT&T carrier, and I want to change that entry to be AT&T
Tried it on my Lumia 530 don't work i get we weren't able to find a preview build for you please confirm
Working fine on my 920 now.
I just installed. Working fine here on my Lumia 720.
For those asking, I've found you absolutely have to modify the WPFlights.xml PhoneManufacturerModelName to one that matches the carrier your device is from. In my case, I have a //Build/ (Rogers Canada) Lumia 920, and a Hong Kong unlocked 620 & 1520.
I managed to spoof the build check by using the following:
Unlocked/Hong Kong: RM-1027_1007
Rogers/Canada: RM-985_1004
http://twitter.com/stroughtonsmith/status/566460948291260417
Also, wiping the devices first /with the Windows Phone Recovery Tool/ (not Reset in Settings->About) for the most part isn't optional; only the 920 for me had enough space to install without doing that
Hope this helps
stroughtonsmith said:
For those asking, I've found you absolutely have to modify the WPFlights.xml PhoneManufacturerModelName to one that matches the carrier your device is from. In my case, I have a //Build/ (Rogers Canada) Lumia 920, and a Hong Kong unlocked 620 & 1520.
I managed to spoof the build check by using the following:
Unlocked/Hong Kong: RM-1027_1007
Rogers/Canada: RM-985_1004
http://twitter.com/stroughtonsmith/status/566460948291260417
Also, wiping the devices first /with the Windows Phone Recovery Tool/ (not Reset in Settings->About) for the most part isn't optional; only the 920 for me had enough space to install without doing that
Hope this helps
Click to expand...
Click to collapse
Hi, would you be able to upload your WPFlights.xml for me to have a look at what you have changed. For me it's not working. Cheers.
ajay003 said:
Hi, would you be able to upload your WPFlights.xml for me to have a look at what you have changed. For me it's not working. Cheers.
Click to expand...
Click to collapse
You just need to change the phonemanufacturermodel to whatever phone that supports windows 10 from your carrier/region.
ajay003 said:
Hi, would you be able to upload your WPFlights.xml for me to have a look at what you have changed. For me it's not working. Cheers.
Click to expand...
Click to collapse
The line in the screenshot is what you'd need to change; nothing too complicated, but finding a valid model for your phone's carrier is the hard part (took me a lot of Googling to find the two I needed), hence why I posted mine
stroughtonsmith said:
The line in the screenshot is what you'd need to change; nothing too complicated, but finding a valid model for your phone's carrier is the hard part (took me a lot of Googling to find the two I needed), hence why I posted mine
Click to expand...
Click to collapse
Not working for me. I'm having Lumia 920 and the carrier rom is RM-821_apac_australia_new_zealand_218. Here's my file attached. Am i doing something wrong?
What exactly did you google ? because the i am with is Telstra in Australia they have a prepaid Nokia Lumia 635 so where would i get the PhoneManufacturerModelName ?
German, Unlocked 830: RM-984_1002
For googling help: some forums automatically include the model variant in signatures of members, I just started with RM-984_10XX for 830 and tried increasing numbers for XX in order to find one that was posted a lot on german forums. Good luck!
ajay003 said:
Not working for me. I'm having Lumia 920 and the carrier rom is RM-821_apac_australia_new_zealand_218. Here's my file attached. Am i doing something wrong?
Click to expand...
Click to collapse
Yeah, you just placed RM-821_apac_australia_new_zealand_218 into the XML - that's your existing device. You need to use the correct form for a 63x/730/830 on same carrier, not your existing 920. That's the hard part to find.
My 1520 was "RM-937_apac_hong_kong_222", which I substituted for "RM-1027_1007" (a Hong Kong Lumia 636) - from what I could tell it doesn't need the "apac_hong_kong" part, but it needs the valid number at the end, and I don't know an easy way to find out what that should be (took me 50 mins of Googling to find that one).
---------- Post added at 12:13 PM ---------- Previous post was at 12:12 PM ----------
th0mas96 said:
German, Unlocked 830: RM-984_1002
For googling help: some forums automatically include the model variant in signatures of members, I just started with RM-984_10XX for 830 and tried increasing numbers for XX in order to find one that was posted a lot on german forums. Good luck!
Click to expand...
Click to collapse
lmfao. I was far too lazy to try bruteforcing it, but again, that's why I posted my working ones!