yashsingh1/xdaforums huggingface dataset:
[Windows Phone 7 Development and Hacking] GIPAQ:
Hi Heathcliff74,

I hope everything goes well for your Family. The tool is one of kind, it's the first time that I see full Registry access on my Omnia 7. It looks very promising and I cannot wait for the File Explorer part. I hope you can add more features for both the registry and file explorer. Can you export the registry? Or that is not possible yet. Also, I would love to see a favorite’s option so we can add locations of the registry as favorites. We are very grateful to you for an excellent tool. Thanks.
[Windows Phone 7 Development and Hacking] contable:
Big thanks for the first alpha release ! Later this day I will do some tests and reply...
[Windows Phone 7 Development and Hacking] Heathcliff74:
Thanks for the compliment. Importing and exporting registry keys is a feature that is not present yet, but it can be implemented for sure. Also a favorites option can be done. I'll put that on my ToDo-list.
[Windows Phone 7 Development and Hacking] mousse04:
Very good app. Hope to see quickly the file explorer feature ;)!!!!

Take care of your family which is the most important :).

Good luck!!!!
[Windows Phone 7 Development and Hacking] martani:
This is huge, I confirm it works on restricted Registry keys.

You are the best :D
[Windows Phone 7 Development and Hacking] Heathcliff74:
Thanks! Now you can update your blog, right? ;)
[Windows Phone 7 Development and Hacking] domineus:
speaking of I did post a story about this hopefully later today it should be up
[Windows Phone 7 Development and Hacking] Heathcliff74:
Can you tell me where you posted that? I'd like to read that. Tnx.
[Windows Phone 7 Development and Hacking] domineus:
wmpoweruser.com

waiting for acceptance
[Windows Phone 7 Development and Hacking] Heathcliff74:
Cool :)
[Windows Phone 7 Development and Hacking] sid8810:
Awesome! thanks heathcliffe!
[Windows Phone 7 Development and Hacking] sid8810:
sorry... edit.

(double post)
[Windows Phone 7 Development and Hacking] Funkadube:
well done sir

A+ so far man, keep it up. Will be donating as the updates keep coming! thank you again sir. :D
[Windows Phone 7 Development and Hacking] Heathcliff74:
Thanks. Much appreciated. Next update will probably in about a week, with cut / copy / paste / delete / rename for files.
[Windows Phone 7 Development and Hacking] lutherkingmartin:
Me too, if I can copying software files into "windows" folder (or other directory available on omnia 7) and extract it after with Windows device manager, and vice versa.

Any question Heathcliff74 : Is your hack work with mango beta ? Any chance microsoft don't close your exploits on mango ?
[Windows Phone 7 Development and Hacking] Strikers:
The new version is only for Samsung Device too ?
[Windows Phone 7 Development and Hacking] fiinix:
This hack is a Samsung specific hack and wont run on other devices, except if we crack the policy system.

The situation why HTC, LG etc cant use Samsung programs/xap is because that specific device has a certificate pre installed from the manufacturer so that their apps can run under TCB. And now that HTC/LG does not have Samsung TCB certificates, it does not run.

The mango beta is emulator based at the moment so it will not run. But when mango comes to devices, this hack will probably still run. Microsoft does not even know how we do the hack so they have no idea of how to close it (prevent hack).

Emulator: x86 code

Device: ARM code
[Windows Phone 7 Development and Hacking] Heathcliff74:
WPDM will not be supported. With the upcoming cut / copy / paste it will be possible to copy from and to any folder, including the windows folder. For exchanging files with the PC I recommend Davux' Webserver project. You will need to exchange files by copying to and from the Webservers isolated storage. Detailed instructions follow when the version is ready. Later on I will create a browser for the PC with remote access to the phone (similar to WPDM). I have no ETA on that.

I can't tell if it will still work with Mango. The beta is only on emulator and my hacks don't work on the emulator. We have to wait and find out.
[Windows Phone 7 Development and Hacking] lutherkingmartin:
I don't test it before in emulator, and you're right, It don't run on Nodo emulator. thanks.
[Windows Phone 7 Development and Hacking] Heathcliff74:
Yes. Still trying, but no solution for other devices yet. Sorry.
[Windows Phone 7 Development and Hacking] lutherkingmartin:
I know you can't support WPDM because it's not your software. But actually I can coping "windows" files into my computer and vice versa with WPDM. So if you tell me I can copying software files into windows folder with root tools, I think after I can extract it into PC with WPDM. I'm not sure I'm clear...
[Windows Phone 7 Development and Hacking] Heathcliff74:
That's possible indeed.

To get files from PC into the device's \Windows folder you have to make a little detour though. As I said before, the detailed instructions will follow in time. But to clear up a little bit: You should install Davux' webserver on your phone. Then you can upload files to your phone. They will be stored in the isolated storage of the webserver app. After that you can use the WP7 Root Tools to copy the files from that location to the \Windows folder or any other folder on the phone. The other way around would work too. But you can use WPDM to get the files from the \Windows folder too. If you have files in another location, that you wish to get to the PC, you should first use WP7 Root Tools to copy the files from that location to the isolated storage of the webserver app. From there you can download the from the phone to the PC. It's a bit more work, but it works for the time being. A program to do this all-in-one will follow later.
[Windows Phone 7 Development and Hacking] Strikers:
Ok I understand.

Thanks for your answers
[Windows Phone 7 Development and Hacking] .oisyn:
Cool tool! Keep up the good work.

But the "expired" error is freaking annoying! I'm currently not able to install a new version, but I need to make a change in the registry. But I can't do that, because I'm running version 0.3 and it complains that I need to update regurlarly.

I thought here on XDA we advocate the right to use our device and run our software at our free will?

Fortunately, I was able to set the date a month back and now I can use the app again until I update it. Please remove this completely useless feature, or at least add a "noted, I know what I'm doing" button or something.
[Windows Phone 7 Development and Hacking] Heathcliff74:
Glad you like the tool.

But I will keep the expiration-dates as they are. It is good practice to add expiration-dates on alpha- and beta-software. This is to prevent bugs, that are already solved, from causing trouble. And I want to 'push' new features to the users.

You're absolutely right. And that's why I created the tools in the first place. To use your device how you like it, without the limitations imposed by Microsoft. And I'll update and add features along the way. And you're noted that the version will expire in advance. So, I'm sorry you can't update in time, but that's just an inconvenience that you'll have to take. Hope you understand.

A little progress-update: I've been working on the new version over the last weekend. Most file-operations are implemented. And I also got a working certificate-installer. Certificate stores cannot be viewed yet. That will be in the version after that. Got to finish last bits of the new features and do some testing.

Ciao,

Heathcliff74

A little teaser:
[Windows Phone 7 Development and Hacking] Heathcliff74:
RELEASE: WP7 Root Tools 0.5 alpha

WP7 Root Tools 0.5 alpha is released. Added basic file operations, a certificate installer and some performance improvements. See opening post for download and details.

Ciao,

Heathcliff74
[Windows Phone 7 Development and Hacking] sealight:
I cannot deploy WP7RootTools :(

Getting Error 0x81030120
[Windows Phone 7 Development and Hacking] Heathcliff74:
Do you mind telling me where you got that beta ROM of Mango??

In Mango, the ability to deploy apps using native code is disabled. I don't have a Mango device, so I can't research (hack) this. For now, the only way is to flash / restore an older version and then try to deploy again.

Ciao,

Heathcliff74
[Windows Phone 7 Development and Hacking] GoodDayToDie:
0x81030120: Huh... wondered when this would hit the forum.

I think this is likely to be the next big project people work on around here. Just in time for the "official" Chevron unlock option, we might lose the ability to do anything useful with it. I really hope not.
[Windows Phone 7 Development and Hacking] voluptuary:
So, I was just wondering after playing with the new build, and was wondering if you think you will ever get the ability to modify the files within the Windows dir? I understand that they are ROM files an noticed that you said the only way to modify them would be with a firmware update but what I don't understand is if that is the case how come HTC users can. Does that mean HTC phones don't have ROM files in thier Windows dir?

Anyways, thanks for all the hard work!
[Windows Phone 7 Development and Hacking] Heathcliff74:
HTC users can't overwrite these files either. They have the same ROM files. I have the same access, if not more. You can copy new files to the Windows folder and those can be overwritten too. And not all of the files you have in the Windows folder now are ROM files. Those who are not, can be overwritten too. Hope that explains it.

Ciao,

Heathcliff74
[Windows Phone 7 Development and Hacking] Koki.v3:
Would it be possible to add some sort of "scan" feature that'd show you the size of a whole folder including all subfolders and files? My reserved space climbed up to over 3GB on my Omnia 7 and I'd very much like to find out what the hell is taking up so much. Thanks :)
[Windows Phone 7 Development and Hacking] poloche:
Very nice Heathcliff74 !!!

Now i can use my Omnia 7 with an explorater and register. I hope you and your project !!

Biz,
[Windows Phone 7 Development and Hacking] voluptuary:
Are you sure? For example, the operator logo that shows up when the phone boots (Windows/mologo.bmp) before the windows phone logo can't be overwritten with Root Tools (or for me I can't on my Focus) but it can with the HTC tools allowing you to change the boot logo. So that would mean that they, HTC users, can change ROM files. Or maybe I'm doing something wrong...

edit: To be clear on what happens, I send myself an img via email, set it as a wallpaper, go to wallpaper folder rename file mologo.bmp, cut and past into windows folder, Root Tools acts as if the file was moved/overwritten, restart phone... nothing happens original boot logo still shows up. Also fo example If I delete one of the AT&T stupid ringtones Root Tools doesn't give me any errors but the file is still there. From what I have read HTC users can do everything I mentioned.
[Windows Phone 7 Development and Hacking] Heathcliff74:
I will put it on my to do list. But I must admit is does not have high priority, so don't expect it real soon.
[Windows Phone 7 Development and Hacking] Heathcliff74:
Hmm. Ok. First about the mologo.bmp. I got an Omnia7 and I don't have a \Windows\mologo.bmp. So I guess the mologo.bmp is a HTC specific file. The phone shows an image before the OS is being booted. So that would probably mean that is a different image for different manufacturers. It could even be in another partition on Samsungs. I don't know. The fist time you copied the file to the Windows folder. Did it ask to overwrite an existing file? I think not. You first need to find out where boot-image is stored for Samsung devices.

About the AT&T ringtones. I think these are in ROM too. Can you tell me what the exact filename is that is shown and the exact details below the filename? Does it say that it is a ROM file? I just checked. On most file-operations, I first check if it is a ROM file and then show a warning or an error if necessary. But I forgot this check in the file delete operation. So if you try to delete a ROM file it will just fail silently. I think that is the problem. But it could also be a problem with the filename. Therefore I need the exact filename. Because of the way my exploits work, I have to do some magic on the filenames. I haven't had a problem, but there could be a bug in that area.

Let me know.

Ciao,

Heathcliff74
[Windows Phone 7 Development and Hacking] Marvin_S:
Heatcliff:

Again, nice work. It seems really stable, thanks a lot for this update.

I was wondering

1) Do you have any info on cross-device APIs for copying a file from the isolated storage to f/e My Documents?

2) Do you plan on integration some kind of a fileserver to make it possible to copy the files directly to the PC? This might save yourself some work as well? Dont know how difficult it is though and know about the current work around, just wondering if there where any plans for an all-in-one solution.

Thank you
[Windows Phone 7 Development and Hacking] Battosai94:
Thanks for your work Heathcliff74 :)

I just cleaned up over 600Mo of crap caused by failed deployments ^^x

For those who have lost some MB without doing anything, take a look at :

Application Data/Phone Tools/10.0/Install/
[Windows Phone 7 Development and Hacking] Heathcliff74:
1) No.

2) Absolutely. The main-problem with my exploits is the performance. I have to do a whole lot of multi-threading magic to get an acceptable user experience. This is what makes everything very complex to implement (long running background threads that are updating MVVM, etc). So basically simple operations are taking me a long time to implement in way that it also usable. But more and more pieces are falling into place now. So when all the basics are working, I can concentrate on feature that make it even easier to use.

I'm not sure yet if I will work on the Certificate stores first or on the 'fileserver'. Most people would want to have the 'fileserver', I think. But from a hackers perspective I like to have the full certificate store explorer. And I'm also always working on other, new hacks that might be useful for future use. So I can't give an ETA on anything.

Ciao,

Heathcliff74
[Windows Phone 7 Development and Hacking] Heathcliff74:
Now that you mention it, I did that too. Maybe something for Koki.v3 to look at too. Anyway, my failed installs were the result of an old version of developer tools, trying to deploy to NoDo. I found the problem. I posted details in this thread.

Ciao,

Heathcliff74
[Windows Phone 7 Development and Hacking] voluptuary:
When I copied over the mologo.bmp to the Windows dir it did prompt me about overwriting the file (this was for sure the first time I tried it) and I still have a mologo.bmp (It's a ROM file) in my Windows dir. What's odd is Root Tools acts like the overwrite works but on a restart the ATT logo shows up.

The first ringtone I tried to delete was ATT_Ringtone.wma it's a 139 KB ROM File it says, when I select delete it just silently fails like you suggested. Another is Bounce_ATT.wma also a ROM File.
[Windows Phone 7 Development and Hacking] Marvin_S:
Is this safe to delete it all? These files are not being used? Or do you have to manually check 1 by 1 which folder is being used and which not?
[Windows Phone 7 Development and Hacking] Heathcliff74:
As far as I know you can safely delete all of them.
[Windows Phone 7 Development and Hacking] Heathcliff74:
I guess I don't have the file because my device is unbranded.

There are 2 possibilities:

1. On HTC this is not a ROM file. ROM file is in another location and copied to Windows on first boot

2. There is some mechanism to store a file and let it overrule the ROM file, which will still exist.

I think it is number 1. I will try to do some tests later.
[Windows Phone 7 Development and Hacking] :
Hi,

First great job you've done here! I was desesperate before to see a version which could achieve that on other devices. :)

Since I've rooted the WP7 rom for HD2, so we have now nearly all_access on everything (you can see a brief explanation here http://xdaforums.com/showpost.php?p=15092992&postcount=1258 but I can provide you some other informations) but we have no real tool to exploit it. Like a registry editor which can add/delete keys and let see HKCR and full operations on filesystem.

I thought you use samusung code to gain priviledges but since it should not be necessary now on HD2 I was asking me If you could build a special version of your tool for us. I'm sure all users would apreciate and grateful.

Thanks in advance.
[Windows Phone 7 Development and Hacking] iba21:
Yes, we'll infinitely gratefull if you could do a free version (we have hd2 with wp7, it's hd7 based (i suppouse) ) witch is not locked on samsung phones

that's a good idea, and a good program, congratulation ;)
[Windows Phone 7 Development and Hacking] contable:
If the HD2 rom is based on the HD7 one why you don´t use touchxplorer or windows phone device manager from Schaps ?

Heathcliff74 is developing on his Samsung device and as I know he doesn´t have another WP7 device for testing. So how he can create WP7 Root Tools for HD2 ?
[Windows Phone 7 Development and Hacking] Heathcliff74:
Hi,

Congrats on rooting WP7. I read you did it by altering the policies. I did some research in that area too. The difference is that you can do it in an offline OS. Man, I really need an unlocked bootloader for my Samsung Omnia 7.

Like Contable already suggested, you could probably use TouchXplorer for the purposes you need. If this is not working somehow, then let me know. I will consider making WP7 Root Tools for rooted ROMs. I don't have such device, but I could probably make it work, because there are no real hacks necessary anymore. It's just a matter of implementing all the default API's instead of my hacked API's and abstraction layers.

I got 2 questions for you:

When using your ROM, is TaskHost.exe permanently running under TCB? If so, that's cool. But also extremely dangerous in terms of malware. One rogue app could mess up you device completely or leak all your personal data to the web. It would be better to have some kind of UAC, like on rooted Android phones. When an app requires root access you have to allow the app.

How is the policy database built? Do you just modify the policy.xml files and let the policydb.vol built on first boot? Or do you use PolicyLoader.exe or similar tool to build the database yourself?

Anyway, very cool job!

Ciao,

Heathcliff74
[Windows Phone 7 Development and Hacking] Heathcliff74:
Having an emulator with TCB privileges would be extremely useful for many of us, hackers. We could test a lot of things that are not possible or very dangerous to test on a live OS on a device. It would also help us understand the OS better. It would for sure help in making a version of WP7 Root Tools for rooted ROMs, because there are a lot of details that need to be tested like COM-interop, impersonation, etc.

It can be done. It shouldn't be too hard. But it does need work. I need to make COM-wrappers and Managed code wrappers for all the API's that I need. Most difficult is testing, because I have no debugger attached to the running native code.

I'm working very hard on adding new features all the time. But due to the complexity of the hacks that I use, there are still features missing. See the opening post of this thread. It will all be there. Just needs a little more time.

Yeah, you're right. First priority should be to break open the system. Hopefully some devs can patch TaskHost or something to add some basic UAC.

Can you tell me which database tool you use? Such a tool would also work in a WM6.5 emulator, right?

Ok. Cool! I've been working on native database access on WP7. But I'm having some error-codes now. Still working on it. I haven't tried all possible idea's that I've got, so it could still work. Need more research.

Yeah, I understand. You still run under LPC, but with TCB privs for everyone. Nice :D

If you can fix me an emulator with TCB access, I will start building a version for HD2.

Ciao,

Heathcliff74
[Windows Phone 7 Development and Hacking] Battosai94:
Yeah I did that and worked perfectly :)

Thanks for your work ;)
[Windows Phone 7 Development and Hacking] leesen:
good，thanks
[Windows Phone 7 Development and Hacking] :
Hi, thanks for reply

Ok I can do that, which version of emulator do you prefer? I've Mango on my PC, but don't know yours, just give me a link which point to it or upload yours so you'll have exactly the same version with and without these modifications.

Great, I was asking me, your tool can already edit multi-strings keys or registry?

I was reading your other post before, it gave me ideas and impressed me by your mastery of the subject. If you want a particular rule to be changed after my version you'll let me know, so it can improve it too for HD2 users. LCP is particular since it depend of 3 other accounts. If you want a particular rule to be changed you just have to check it in the xml policy, I'll put it in database.

Of course, I used Phatware dbExplorer it works great. The only regret is it don't let me see the binary data, it would be great as I told to edit them with a tool but it could at least let me know the content so I could delete rules I don't need. In place of it I have to manually attribuate rules I don't need to a fictive account and the size of the database rest the same...

So good deal :) Let me just few times since it's not the same database and I have to do it from the begining.

regards
[Windows Phone 7 Development and Hacking] :
Wonderful app! Just hope that there'll be support for all devices one day :) Great work!
[Windows Phone 7 Development and Hacking] andycted:
Wow, thanks. Haven't read all the thread (yet), but maybe this will help with a bit of backing up in view of Mango beta update.... (maybe ?)
[Windows Phone 7 Development and Hacking] Heathcliff74:
Until now I haven't used the emulator at all. Because my exploits don't work on the emulator. At the moment I'm working with the January update of the developer tools (NoDo SDK). So it would be most useful to have this emulator rooted. Thanks A LOT!

Nope. But the abstraction layer is already prepared, so it would be just a minor change to support it. In every case I choose to implement the features that are most useful. When everything falls in place I will add the features that have less priority.

Thanks! I will think about it. When I got some ideas, I will let you know.

Ok. Cool. Will check that out later. In the mean time I'm working on something for myself on WP7 ;)

Of course. Porting everything to native api is also gonna take some time. Creating the COM wrappers and the .NET declarations can be a huge pain in the @$$ sometime. For example the database access in the screenshot was using a function that needed a structure. The structure is defined as size 2464 (both WM6 SDK and Windows Embedded Compact 7). But the function writes 4640 to that allocated buffer. So that is a huge bufferoverrun. I have no idea why that happens. And it takes a huge amount of time to find these bugs, because it is unmanaged code without a debugger. :eek: Also, there are multiple versions of the api functions. And according to documentation they all should work. Except they don't. Weirdest error I've got. Anyway, I will always find a way. So, no worries. :D Got to dive a bit deeper into the database stuff. Don't know where it's going to end. I hope to be able to write my own policies in a live OS.

Thanks for all,

Heathcliff74
[Windows Phone 7 Development and Hacking] lutherkingmartin:
Arrrrgggghhh I download it today after install mango. I can't deploy it.. native code...

Very bad news. Microsoft is boring with its restrictions.

Mango without any good homebrew or nodo with navigon, root tools, registery tweaks....... Very Very difficult choice. :(