[Q] modify the registry with wp7 sdk ? - Windows Phone 7 Software Development

Need help - How to modify the registry when i'm programming an app?
It seems to be possible because it gives a registry editor (WP7 Root Tools).
Can someone help me?

-Der_Bayer- said:
It seems to be possible because it gives a registry editor (WP7 Root Tools).
Click to expand...
Click to collapse
It - what? MS WP7 SDK or HEATHCLiFF74? SDK don't have tools or APIs to access registry. But native signed code and forum whitehat's app has

ok that mean's that i can't modify the registry?

-Der_Bayer- said:
ok that mean's that i can't modify the registry?
Click to expand...
Click to collapse
By "official way" - you can't. It's a "sandbox" concept of WP7 architecture.

sensboston said:
By "official way" - you can't. It's a "sandbox" concept of WP7 architecture.
Click to expand...
Click to collapse
ok can you tell me how i can make it^^

-Der_Bayer- said:
ok can you tell me how i can make it^^
Click to expand...
Click to collapse
A couple of good points to start:
http://walshie.me/2010/11/12/windows-phone-7-native-apps-the-missing-link
http://forum.xda-developers.com/showthread.php?t=1006331
Also don't hesitate to use xda's search: posts by authors fiinix, Heathcliff74, Cotulla might be interesting for you.

Related

gui editor

hello
im new to android development but i want to give it a try
well i donwloaded eclipse an android sdk and so on
now im searching for a visual gui editor. i mean an editor where you can click your gui together. it does not seem google provides such an thing or did i miss it ?
the only thing i found was droiddraw. are there any others ? maybe integrated in eclipse ?
what is your opinion on working with gui's ? any hints or something like that ?
thanks in advance
TulpiX said:
maybe integrated in eclipse ?
Click to expand...
Click to collapse
Yeah, just open any layout xml file and voila. It's really hard to *not* find it.
Maybe you don't have ADT installed?
uhhh
sorry that was a really dumb question
the problem was i openend the xml files and they opened in text view as standard and i didnt see the layout tab underneath

[Q] Assembling WP7 module

How to assemble a windows phone 7 module? I tried to do this using recmod, but it fails with error "ProcessCase0: bit 5 is zero!".
Regards!
See this thread please:
http://forum.xda-developers.com/showthread.php?t=845466
athompson said:
See this thread please:
http://forum.xda-developers.com/showthread.php?t=845466
Click to expand...
Click to collapse
There is no way to assemble module now, right?
The modules, as we use them, is not the right way, originally, it is normal .dll file with another .rel file with relocation definitions (lets say similar to imageinfo.bin). The "folder with S00x files inside" is not the native way.
You can somewhere in VS make it to output this file too, but how did you get C++ for CE7 working, I dont know.
No, i don't want to compile C++ code, i want to assemble (connect) "folder with S00x files inside" to the dll file. May be i don't understood you
I tried to assemble browsres.dll and - it works! But with kbdlayoutXXXX.dll it fails. May be it's a .Net assembly or something else?
.net assemblies and "binaries" can't be split into different parts.
OndraSter said:
You can somewhere in VS make it to output this file too, but how did you get C++ for CE7 working, I dont know.
Click to expand...
Click to collapse
There is a pre-release SDK available from Microsoft, but I had trouble downloading it. I've been using visual studio 2008 for WM6.5 to build COM C++ modules, and it's working fine on CE7 so far, FWIW.
proplayer666 said:
No, i don't want to compile C++ code, i want to assemble (connect) "folder with S00x files inside" to the dll file. May be i don't understood you
I tried to assemble browsres.dll and - it works! But with kbdlayoutXXXX.dll it fails. May be it's a .Net assembly or something else?
Click to expand...
Click to collapse
you can only recmod modules with only one S000 file in the folder (I just tried it and only when there is one it works )
That's right, but all the files with only one S000 are resource binaries (like browsres.dll). So i think that they changed a PE header (or something else, i don't know, it's my suggestion) and recmond can't assemble module. May be WinCE7 have a diffrent way in module organization?
Sorry for broken english, i don't use translators
OndraSter said:
The modules, as we use them, is not the right way, originally, it is normal .dll file with another .rel file with relocation definitions (lets say similar to imageinfo.bin). The "folder with S00x files inside" is not the native way.
You can somewhere in VS make it to output this file too, but how did you get C++ for CE7 working, I dont know.
Click to expand...
Click to collapse
Here is the link to the WinCE7 preview:
http://www.microsoft.com/windowsembedded/en-us/products/windowsce/compact7.mspx

[Q] Any way to _read_ the file system of WP7?!

Hey Guys,
i'm looking for a method to read (and maybe transfer it to my PC) the files of the WP7 file-system for an analysis (not only the isolated storage files - i need more )
( I don't want to run unmanaged code, i only want to view the files of the system)
Reason:
i'm writing my bachelor thesis about the possibility's of a forensic analysis (on WP7).
It would be very (very!!) helpful for me if there is a code example how to do this (if possible)
Edit: i'm working on a samsung omnia 7
Thanks!
endeffekt
(sorry for my english )
you can read the isolated storage files in your PC now?
Search the forum. There are a couple threads here discussing that topic. Normally I would link to it but today I'm not in the mood to do someone's homework for them. (Dang, I'm in a rotton mood today).
You can use what I have of my filesystem lib here: http://forum.xda-developers.com/showthread.php?t=861501&page=3
jmorrill said:
You can use what I have of my filesystem lib here: http://forum.xda-developers.com/showthread.php?t=861501&page=3
Click to expand...
Click to collapse
can you or someone els make .xap of it ?
ceesheim said:
can you or someone els make .xap of it ?
Click to expand...
Click to collapse
There's not a whole lot you can do with that out of the box - It's mainly just a proof-of-concept, showing how you can use a COM Library to read the files. I'm working on a file browser that will attempt to load the files in a basic text reader, but there's little use for providing the sample as a XAP, it just attempts to read BasePolicy.xml.
thanks , then I will wait till you build a nice file explorer , so we can look what files are in the win dir .
FileBrowser
Source
Still very basic, not the most stable either, but at least you can browse the Windows folder, and read text files.
I'll probably put more effort in once I've got further with my SevenIRC App.
hounsell said:
FileBrowser
Source
Still very basic, not the most stable either, but at least you can browse the Windows folder, and read text files.
I'll probably put more effort in once I've got further with my SevenIRC App.
Click to expand...
Click to collapse
wow , thanks (sorry thanks are gone for today ) .
ps what is SevenIRC App ?
ceesheim said:
wow , thanks (sorry thanks are gone for today ) .
ps what is SevenIRC App ?
Click to expand...
Click to collapse
Homebrew IRC App based on jmorrill's Networking Library.
hounsell said:
Homebrew IRC App based on jmorrill's Networking Library.
Click to expand...
Click to collapse
Do you think it's possible to create a simple webserver or ftp server with this library?
ajhvdb said:
Do you think it's possible to create a simple webserver or ftp server with this library?
Click to expand...
Click to collapse
I didn't write any code to listen on a socket in that library. It shouldn't be too hard for you to write that in there and give it a try.
thank you very very much!
it will be very useful for me!
:-*

Re-sign lg xap file for samsung

is there a way to re-sign the voice to text xap for lg or change the manifest file so that it will work with samsung focus...like they did with the omnia apps?
jasontac said:
is there a way to re-sign the voice to text xap for lg or change the manifest file so that it will work with samsung focus...like they did with the omnia apps?
Click to expand...
Click to collapse
Yes, just double click your xap file and point windows to this deployer. Choose replace signature and remove drm:
http://forum.xda-developers.com/showthread.php?t=908300
eried said:
Yes, just double click your xap file and point windows to this deployer. Choose replace signature and remove drm:
http://forum.xda-developers.com/showthread.php?t=908300
Click to expand...
Click to collapse
first, i want to thank you for posting your tools. i tried your suggestion to install the Voice-to-Text app, but i still got a message saying "Sorry, this application only works on LG's phone." guess it has to be patched differently?
This is not a DRM issue.
HTC and LG apps all check if they are running on the correct type of phone.
We have to found what they actually check (registry? file? driver call? other native API?) to see if we can trick this API.
cortez.i said:
first, i want to thank you for posting your tools. i tried your suggestion to install the Voice-to-Text app, but i still got a message saying "Sorry, this application only works on LG's phone." guess it has to be patched differently?
Click to expand...
Click to collapse
What is the file? I can patch it if they not use exclusive lg binaries only installed on that device
(nico) said:
This is not a DRM issue.
HTC and LG apps all check if they are running on the correct type of phone.
We have to found what they actually check (registry? file? driver call? other native API?) to see if we can trick this API.
Click to expand...
Click to collapse
It should be registry. This is the registry of an HD7:
Code:
[HKEY_LOCAL_MACHINE\System\Platform\DeviceTargetingInfo]
"OemName"="HTC"
"MODeviceName"="HD7 T9292"
"OEMDeviceName"="Schubert"
[HKEY_LOCAL_MACHINE\Ident]
"FriendlyName"="HTC HD7"
Hopefully, someone will share the registry attributes from an LG handset
(nico) said:
This is not a DRM issue.
HTC and LG apps all check if they are running on the correct type of phone.
We have to found what they actually check (registry? file? driver call? other native API?) to see if we can trick this API.
Click to expand...
Click to collapse
Waste of time. HTC apps make use of HTC drivers which only HTC phones have because they are in the HTC ROMs.
(nico) said:
This is not a DRM issue.
HTC and LG apps all check if they are running on the correct type of phone.
We have to found what they actually check (registry? file? driver call? other native API?) to see if we can trick this API.
Click to expand...
Click to collapse
It's very easy for LG. They get a custom property via the camera API. It's in the LGAppCommonLibrary.dll . Just replace the call with "return true" and you are done.
(But the voice to text app is not working as good as I expected..)
Hades32 said:
It's very easy for LG. They get a custom property via the camera API. It's in the LGAppCommonLibrary.dll . Just replace the call with "return true" and you are done.
(But the voice to text app is not working as good as I expected..)
Click to expand...
Click to collapse
thanks for this info but How did you change the call to return true?
you have decompiled the dll??
what tool ? reflector?
xboxmod said:
thanks for this info but How did you change the call to return true?
you have decompiled the dll??
what tool ? reflector?
Click to expand...
Click to collapse
ildasm. First use reflector and find the function, then view the IL and copy and paste something unique. Then convert the dll to IL using ildasm, then edit the IL to return true by searching for the unique string then editing the part you want, then convert it back to a dll using ildasm again. Then open it in reflector to check the code has been changed the way you expected.
Cant we just make a dummy file
Can't we just make a dummy file for when an HTC app tries to check what type of phone it is checks this and thus lets you use that app?
Hades32 said:
It's very easy for LG. They get a custom property via the camera API. It's in the LGAppCommonLibrary.dll . Just replace the call with "return true" and you are done.
(But the voice to text app is not working as good as I expected..)
Click to expand...
Click to collapse
any way you can expand on what you mean by replacing the call with return true?
also, can you explain the whole use of ildasm and reflector again? i feel like i found the string, i just dont know what you mean by copy paste something unique or editing the part you want
I recently read a similar forum somewhere (I forge otherwise I'd offer up) there was a link to get the LG apps on any unlocked wp7 the .xap files are there but the only one I tried was voice to text. Its worth a Google search I suppose tho cause it is out there.
Sent from my Focus using XDA Windows Phone 7 App

[Q] Which key to have unsigned apps?

Hi, I unlocked my phone and begun to install some apps.. Now, I reached the limit and I want to install more. I red that you have to modify this:
Code:
[HKEY_LOCAL_MACHINE\Software\Microsoft\DeviceReg\Install]
"MaxUnsignedApp"=dword:7fffffff
But I just have a horrible registry editor, so I can't see the folder Install.. please help me!
Use provxml method as described here: http://forum.xda-developers.com/showpost.php?p=15791198&postcount=109 (such as many other forum topics)
P.S. I understand, you are very proud of your HTC HD7 but for God sake remove that big picture from your signature!
sensboston said:
Use provxml method as described here: http://forum.xda-developers.com/showpost.php?p=15791198&postcount=109 (such as many other forum topics)
P.S. I understand, you are very proud of your HTC HD7 but for God sake remove that big picture from your signature!
Click to expand...
Click to collapse
The thing is I don't have TouchXplorer, just an awfull registry editor and I can't install more sideload apps! I'm running 7.0.7004
lauticol said:
The thing is I don't have TouchXplorer, just an awfull registry editor and I can't install more sideload apps! I'm running 7.0.7004
Click to expand...
Click to collapse
then remove one app , and install the unlimit app.
after you did that you can install the removed app again , its sooooooooo easy you know
Haha I didn't know you could uninstall and install another.. Thanks

Categories

Resources