Another app for editing WP7 registry - Windows Phone 7 Development and Hacking

I own a dell venue pro. I have it Chevron unlocked already. I can deploy XAPs and apps perfectly.
I am currently trying to find a way to allow registry edits- Specifically trying to find a way to install a custom CustClear.provxml onto the device.
So far, the TouchXplorer will install, but no folders will show up when I launch the app. Thus, I cannot move the deployed CustClear.provxml from “My Documents” to the “Windows” folder.
What does it take for someone to write a small app that will allow me to edit Dell Venue Pro’s registry? How else can I edit CustClear.provxml?
Your help would be appreciated!

Related

How to uninstall Intellipad?

I installed a CAB file called Intellipad. I just wanted to have a feel of XDA Mini on my XDA IIs.
But, now I want to uninstall this application, there is no way that this is possible until I do a hard reset. This is what I know.
Is there any less tedious way of doing so?
Thanks,
Siddharth
can u not delete it from the windows directory? i dont know as i have it and like it, but dont use it, and havent tried to remmove it. i would have thought if u look in windows and find the intelipad files if u remove them u get rid.
That would definitely stop the application from running, but I don't think it would "remove" it entirely.
Windows as an OS does not facilitate "uninstalling" the application just by deleting the files.
I already did what you have suggested, but that still leaves "Intellipad" as a choice in the "Input Type" menu at the bottom right.
Thanks,
Siddharth
practical tip
I assume you have a cab file for installing the intelipad.
open the cab file on your desktop to identify all the files that was inatalled at your phone (you may use win zip).
now that you identified all the file you may delete everything at you phone manual by finding them one by one (nice to start at windows directory).

[Q] File copy (native) fo rWP7?

Has anyone whipped up a native filecopy app that can copy files to and from a Windows Phone 7 retail device to/from any directory?
TouchXplorer for HTC phones does something like this. My Webserver will let you copy some files on/off the phone, but there are limitations.
obelix said:
Has anyone whipped up a native filecopy app that can copy files to and from a Windows Phone 7 retail device to/from any directory?
Click to expand...
Click to collapse
Without using HTCs COM DLLs, and without hacking apart the security mechanisms, I don't think this will be possible.
Unsigned COM DLLs can't get full filesystem access (I'm fairly sure you can only access the \Windows dir). Using an idea like davuxs webserver, you could in theory get any file you can get read access to onto a desktop, but that still limits you to \Windows.
Either, the entire security mechanism needs to be altered to our needs (like the way you can patch all certificate checks out of WM6.5 with an alteration to the XIP) or someone needs to "accidentally" find access to the right certificate.
It was worth a shot. With so many threads discussing progress in gaining access to the file system I wasn't clear where the security boundaries were.
I'm on a Samsung Focus (i917) which is popular in the US and while FileBrowser.exe is accessible, its very limited in functionality.
Plus I'm not sure anyone has figured out yet how to copy files between the desktop and device over USB.
Ideally at soem point there would be a way to not only explore the entire file system but also be able to copy programs to the device and be able to execute and run/install those native apps.
obelix said:
It was worth a shot. With so many threads discussing progress in gaining access to the file system I wasn't clear where the security boundaries were.
I'm on a Samsung Focus (i917) which is popular in the US and while FileBrowser.exe is accessible, its very limited in functionality.
Plus I'm not sure anyone has figured out yet how to copy files between the desktop and device over USB.
Ideally at soem point there would be a way to not only explore the entire file system but also be able to copy programs to the device and be able to execute and run/install those native apps.
Click to expand...
Click to collapse
I think (I'm digging through it now) that the MS developer tools would let us do a file transfer over USB (I've got XAP deployment, but there's a function for that, but it uses some lower level things internally).
But that doesn't give on device file system access, and is using MS frameworks entirely.

[GUIDE] Deploy files to your dev-unlocked WP7 device!

There are many possible situations where you want to deploy some files to a certain folder on your phone. Copying music, ringtones, provxml, etc. This can be difficult if you don't have a working file-explorer for your device.
This method will let you deploy files to your developer-unlocked WP7 device, as long as it is developer-unlocked. It works on any brand and any version of Windows. It also works if you have Mango and your device is Interop-Locked. You won't be able to overwrite ROM-files!
At first I thought this method had access to all folder on the phone. Unfortunately that does not seem to be true. When I tested this, I thought I had removed all policies I added to get root-access on my device. This was not true, so when I tested this I had more access than on a regular WP7 device. It is still possible to write to the root-folder, create new folders in the root-folder, "My Documents", "Applications", etc. Unfortunately it does not seem to be possible to write to \Windows.
Follow these instructions:
1. Download this file: File Deployer by Heathcliff74 v2.xap.
2. Open your favorite archiver (WinZip / WinRar / 7Zip).
3. In the archiver open the xap file.
4. In Windows Explorer (or on your desktop) create the folder structure where you want to deploy files on your phone. So if you want to copy files to the \My Documents\My Ringtones, then first create a folder "My Documents" and in that folder create a folder "My Documents".
5. Put the files you want to deploy in the folders you created.
6. Rename the root-folders you created and add this at the start:
XX-XX-XX-XX-
It must be exactly like that! Only do this for the root-folders. So in the example I gave, the "My Documents" folder will become "XX-XX-XX-XX-My Documents". The deeper folders, like "My Ringtones" will remain as they are.
7. Drag the folders into the xap-archive.
8. Close the archiver tool.
9. Open the xap-file in a hex-editor.
10. Search and replace these hex-values (all occurrences!!):
Search: 58 58 2D 58 58 2D 58 58 2D 58 58 2D
Replace with: 2E 2E 2F 2E 2E 2F 2E 2E 2F 2E 2E 2F
11. Save and close the hex-editor.
12. Use any Windows Phone App Deployer to deploy the contents of the xap-file to your phone.
Hope this works for you!
Good luck,
Heathcliff74
Heathcliff74 said:
Hope this works for you!
Good luck,
Heathcliff74
Click to expand...
Click to collapse
beautiful, I wonder if somebody can write this into a program. the program asks which folders, which folders are root and what files to transfer. then does the rest (creates the folder structure, renaming, packaging, hex replacing) and spits out the xap ready for deployment. I know that I will screw this up with all the xes and hex replacements
too bad I can't program
This is not working as expected. It seemed I had some policies in place, that allowed me to do more than on a 'normal' WP7 device. It does still seem to work for a lot of folders, like the root-folder, "My Documents", "Applications", etc. But it does not work for the "Windows" folder. Too bad I will update the opening post with this info.
I will also update the xap, because not all archivers did handle the xap well. That should be fixed with the new xap.
Ciao,
Heathcliff74
if it can write to \Windows.Many people can fix Interop-Locked device.
LOL! I'm surprised the deployment system accepts ../ paths, and that it ignores the ZIP CRC checks that obviously become invalid when you hex-edit that stuff. Good find!
Arktronic said:
LOL! I'm surprised the deployment system accepts ../ paths, and that it ignores the ZIP CRC checks that obviously become invalid when you hex-edit that stuff. Good find!
Click to expand...
Click to collapse
Finding exploits is always about finding things a system accepts that it really shouldn't accept
The zip crc's are only on the file-contents, not on the folder-structures and headers.
Ciao,
Heathcliff74
I suppose I should have looked up the ZIP specs before jumping to conclusions
does this means we can deploy a Provxml to a Dell Venue Pro? If so maybe we find a way to execute said provxml once it is on device?
good work, Heathcliff74
Finally i could add some roms for wj7 finally the server bla bla doesbt work , thx good work and im waiting happily for wp7 root tools for LG maybe there is a way to send files to \Windows with update cabs http://forum.xda-developers.com/showthread.php?t=1248799 so if sb cheks the code you could ad it to wp7 root tools ^^
Hi
i need to know exact path ?? i used same method and this file was deployed to my surround but i did not fine those apps into my phone ?
please tell me correct way ?
br
derausgewanderte said:
beautiful, I wonder if somebody can write this into a program. the program asks which folders, which folders are root and what files to transfer. then does the rest (creates the folder structure, renaming, packaging, hex replacing) and spits out the xap ready for deployment. I know that I will screw this up with all the xes and hex replacements
too bad I can't program
Click to expand...
Click to collapse
If anybody would let me I can have a try... I just need to modify the code from my other app... I'll start tomorrow.
can anyone suggest an app that can browse the folders on my phone? No need to have write access, just read. I just need to have the path of the Isolated Storage folder for the Kindle application. I want to deploy my .mobi ebooks into my phone.
No such app exists, aside from the HTC filesystem browsers (TouchXplorer, Advanced Explorer, WPDM on the PC) and WP7 Root Tools (currently Samsung gen1 only). Apps don't have the required permissions by themselves even to do read operations on the majority of the filesystem.
However, if you just need the path to an app's IsoStore, it's \Applications\Data\<ProductIdGuid>\Data\IsolatedStore. For Kindle, the GUID is 48195FB4-EE0E-E011-9264-00237DE2DB9E (as in, \Applications\Data\48195FB4-EE0E-E011-9264-00237DE2DB9E\Data\IsolatedStore\). I don't know how the app organizes its files within that folder, though.
can you confirm if the kindle isolated storage path is "\Applications\Data\<ProductIdGuid>\Data\IsolatedStore" or is it "\IsolatedStorage"?
One last thing, If I decide to uninstall the XAP, will all of the files also gets removed?
It's IsolatedStore. Also, uninstalling an app does not remove files deployed this way.
Sent from my HD7 using XDA Windows Phone 7 App
Heathcliff74 said:
Finding exploits is always about finding things a system accepts that it really shouldn't accept
The zip crc's are only on the file-contents, not on the folder-structures and headers.
Ciao,
Heathcliff74
Click to expand...
Click to collapse
how did you become so good at finding exploits in wp7?
I'm trying to use this way to transfer game saves. But it always says something like "The group policy blocks this app."
Can someone confirm this deploy method still valid under the following circurstances?
- System version 8107
- app IsolatedStore, i.e. \Applications\Data\<guid>\Data\IsolatedStore
- app is deployed by Marketplace
You can't install homebrew (unsigned) XAP files with the same GUID as installed Marketplace apps. You also can't use IsolatedStorageExplorer or anything built on it on Marketplace apps (or their data, rather) - it will give you that "group policy" error if you try.
However, the deployer hack should work fine for adding or replacing files in a Marketplace app if the GUID used for the deployment "app" is different.
GoodDayToDie said:
You can't install homebrew (unsigned) XAP files with the same GUID as installed Marketplace apps. You also can't use IsolatedStorageExplorer or anything built on it on Marketplace apps (or their data, rather) - it will give you that "group policy" error if you try.
However, the deployer hack should work fine for adding or replacing files in a Marketplace app if the GUID used for the deployment "app" is different.
Click to expand...
Click to collapse
Well, now I can't replace any file under \Application using the deployment "app".
The file I'm trying to deploy.
\Applications\Data\788c002f-5649-e011-854c-00237de2db9e\Data\IsolatedStore\game.sav

zunezmdb.mobile.dll

Hmmm... I just found some really neat things in the zunezmdb.mobile.dll found in the zune desktop folder:
FreeLibraryòEnterCriticalSectionA
GetFileSizeÃ
ReadFileCreateFileWe
MoveFileWb
FoldStringW
RegCloseKeya
RegOpenKeyExWn
RegQueryValueExWd
RegOpenKeyW´
If we can deploy a provxml to the root directory (or even keep it in the ISO store) and then use this dll to copy the file to \windows (or overwrite) we might be able to unlock ANY device.
I suck at calling dlls over COM so I was hoping that someone here can.
Thanks!
These functions you describe are imported functions that are used on the desktop computer. These are not performed on the WP7 device. Unfortunately, I don't think this is of any value.
Ciao,
Heathcliff74

Any file (from any directory) editing in built-in WP7 Office application

Hi friends. My trying to open file from any (not user) directory, or saving to another place as "My Documents" from buit-in pword.exe has still no success. I cannot solve this problem exactly, the I use temporary copy of file to "My Documents" subdirectory, changing file privilegies, and copying edited file to original path. This way is used automaticky in my Phone Commander beta version http://forum.xda-developers.com/showthread.php?p=28732620#post28732620 , it is working now on fully unlocked systems only. Write, please, your experience and opinion about using built-in Microsoft Office or another apps to discovering and changing WP7 system parts on device. I plane also GCC and GCS port for WP7 (for really quick and usable on-device programming), but writing own text editor may be too long work. I mean hack of built-in Word to be able do syntax-hilighting etc. may be first simply way. M.
XAML problem
When editing XAML, PWord show everything right, but for saving uses Win 1251 (on my Czech localisation) instead unicode. Then, after editing system apps are not able to read edited XAML files. Exists way to save from PWord in unicode, or is necessary to write own texteditor, or is somebody (Ultrashoot?) able to redesign any good WM texteditor for WP7?

Categories

Resources