[XAP][SOURCE] WP8 Registry Tools

thals1992

Senior Member
Sep 26, 2012
680
237
73
Cincinnati, OH
www.uidnation.com
Hmm.... I just reinstalled this on my new 521, it doesn't want to output anything when I have it read the MaxUnsignedApp value. I remember seeing somewhere inside extras+info with portions of it using RPC and I'm wondering if anyone has tried this and found anything recently.
 

ngame

Senior Member
Mar 13, 2012
1,126
545
0
Mashad
Hmm.... I just reinstalled this on my new 521, it doesn't want to output anything when I have it read the MaxUnsignedApp value. I remember seeing somewhere inside extras+info with portions of it using RPC and I'm wondering if anyone has tried this and found anything recently.
I found it in Extras + Info too but didn't have time to run into the code because of my final exams
I think RPC Components are the same in all wp devices but Samsung have a FCRouter that I can't find it anywhere in Nokia Phones
 

busyfritz

Member
Jan 2, 2010
7
1
0
IE Registry Hack

Hey all,
First off I want to say thanks for the hard work in getting a registry editor together for WP8. Although I have no programming experince with Windows Phone, I am an Access VBA programmer and can appreciate the work that goes into it.

I was wondering, is there ANY registry hack that could be done to make IE inoperable/crash on startup etc. Basically what I'm looking for is some way to disable internet browsing. I read somewhere that someone thought that the 8.1 update might bring such features.

Any thoughts?
 

jessenic

Senior Member
Sep 9, 2010
479
313
0
suomiwp.com
Hey all,
First off I want to say thanks for the hard work in getting a registry editor together for WP8. Although I have no programming experince with Windows Phone, I am an Access VBA programmer and can appreciate the work that goes into it.

I was wondering, is there ANY registry hack that could be done to make IE inoperable/crash on startup etc. Basically what I'm looking for is some way to disable internet browsing. I read somewhere that someone thought that the 8.1 update might bring such features.

Any thoughts?
If you have Samsung ATIV S you can just rename iexplore.exe, that should do it :)
 

tids2k

Senior Member
Apr 21, 2009
2,543
829
0
Sydney
Yeah.... There isn't anything for the 928, or any Lumias yet. There might be an exploit in one of their apps, but to the non-programmers eyes, I see nothing....
not sure if its going to be any helpful, just reading through the internet I came across regfs file system that is basically inside FFU's (for eg. MMOS.WIM ) for Nokia Lumia's now, it has documented by the author himself here http://reboot.pro/topic/7681-the-registry-as-a-filesystem/#entry71626 . Now attached is the ReGFS.zip which has a plug in for Total Commander I am very new to the WP8, and not even sure if this will help anyone to edit those files .. If it is considered as SPAM mods please delete it .. Thanks.

Documentation on REGFS
http://webcache.googleusercontent.c...tm+&cd=1&hl=en&ct=clnk&gl=au&client=firefox-a
 

Attachments

djamol

Senior Member
Jun 3, 2014
444
405
0
29
Pune
www.twitter.com
@snickler @GoodDayToDie

I'm bit confused about Native Registry methods.

Registry.NativeRegistry.ReadDWORD(RegistryHive hive, String, String, String, out uint data)

So i wrote,

uint num1 = 0;
bool num2 = nRegistry.ReadDWORD(RegistryHive, this.txtPath.Text, this.txtKey.Text, this.txtValue.Text, uint num1 );

Error in last arguments
(Out uint data)
 
Last edited:

GoodDayToDie

Inactive Recognized Developer
Jan 20, 2011
6,066
2,930
0
Seattle
You need to specify that an out-parameter is "out". Also, there are only four parameters to Registry.NativeRegistry.ReadDWORD, counting the out-param.

uint val = 0;
bool success = nRegistry.ReadDWORD(RegistryHive.HKLM, "PATH\\TO\\KEY", "DWORD value", out val);
MessageBox.Show("The data in the registry value is " + val);
 
  • Like
Reactions: djamol

djamol

Senior Member
Jun 3, 2014
444
405
0
29
Pune
www.twitter.com
Yeah, successfully caught. :)



uint num1 = 0;

bool num2 = nRegistry.ReadDWORD(RegistryHive.HKLM, this.PathTextBox.Text, this.KeyTextBox.Text, out num1);

this.ValueTextBox.Text = num1.ToString();



Thanks bro.
 
Last edited:

djamol

Senior Member
Jun 3, 2014
444
405
0
29
Pune
www.twitter.com
So I've developed a full featured Registry Editor for any Windows Phone 8x.



> Support for Interop Unlocked phones.

> Support for Non-Unlocked phones (Read Only)

> Support's HKCR, HKCU, HKLM, HKU.



I've used @GoodDayToDie library, so hell we can't write the values at anywhere for non-unlocked phones.

Can i newly post into achievement thread ?
 

GoodDayToDie

Inactive Recognized Developer
Jan 20, 2011
6,066
2,930
0
Seattle
Definitely post it somewhere! Here, or in its own thread, or wherever seems most appropriate...

Does it provide browsing? The current editors don't; I've considered jumping the addition of registry editing up the feature list for my webserver just because switching back and forth between a read-only browser and an explicit-path-only editor is annoying.
 
  • Like
Reactions: djamol

djamol

Senior Member
Jun 3, 2014
444
405
0
29
Pune
www.twitter.com
Definitely post it somewhere! Here, or in its own thread, or wherever seems most appropriate...

Does it provide browsing? The current editors don't; I've considered jumping the addition of registry editing up the feature list for my webserver just because switching back and forth between a read-only browser and an explicit-path-only editor is annoying.


Hi, Sorry for the late reply.



Point 1.

I've figured out that, it can't read registry values at some area(dev unlocked). Used all possible capabilities. I don't know the reason, but it is may be kernel level access issue. I've not spent a more time on it, due to busy schedule. Even your WebServer app doesn't displays the content on the web page neatly, each time i need to refresh the web page to load the content on desired Web Page, but it is another issue.



Point 2.

About the OEM libraries, which @snickler has already tried.

We can easily write the registry values at anywhere using any oem library, but their components must be pre-registered and obviously it doesn't permit without high privileges for 3rd party.



Point 3.

One Noob Question.

There are already unlocked SD Card system files

So, If we replace them accurately, same content, same library, same and linking, same as the oem developed and can launch the homebrew .dll ??

Is there possiblity to launch homebrew .dll in an OEM Installation directory and could've the advantages of registered components?

I know all components are registered in Registry and encryption levels, fails on any mods, licence checking etc-etc.

But, if we get success to launch homebrew .dll, then it will have the same privilege of the OEM(as refers to the Registry).

I'm not interested to downgrade my device to 8.0 GDR 1 and find the security vulnerabilities.

So, *CURRENTLY* this the only way to by passed the security.



Btw Happy Diwali to all of you :)
 
  • Like
Reactions: augustinionut

ngame

Senior Member
Mar 13, 2012
1,126
545
0
Mashad
Hi, Sorry for the late reply.



Point 1.

I've figured out that, it can't read registry values at some area(dev unlocked). Used all possible capabilities. I don't know the reason, but it is may be kernel level access issue. I've not spent a more time on it, due to busy schedule. Even your WebServer app doesn't displays the content on the web page neatly, each time i need to refresh the web page to load the content on desired Web Page, but it is another issue.



Point 2.

About the OEM libraries, which @snickler has already tried.

We can easily write the registry values at anywhere using any oem library, but their components must be pre-registered and obviously it doesn't permit without high privileges for 3rd party.



Point 3.

One Noob Question.

There are already unlocked SD Card system files

So, If we replace them accurately, same content, same library, same and linking, same as the oem developed and can launch the homebrew .dll ??

Is there possiblity to launch homebrew .dll in an OEM Installation directory and could've the advantages of registered components?

I know all components are registered in Registry and encryption levels, fails on any mods, licence checking etc-etc.

But, if we get success to launch homebrew .dll, then it will have the same privilege of the OEM(as refers to the Registry).

I'm not interested to downgrade my device to 8.0 GDR 1 and find the security vulnerabilities.

So, *CURRENTLY* this the only way to by passed the security.



Btw Happy Diwali to all of you :)
Point 3.
Because of signature of files you can't modify them.
I told a better way to,may allow us to bypass security to good day to die but it didn't helpful too :(
Really damn security !
 

ngame

Senior Member
Mar 13, 2012
1,126
545
0
Mashad
Nope, you can launch modified .dll.

I said that, because of I've already tried.
If it's true also we have a problem .
This will only work on SD support devices .
And we have to also find an app with ID_CAP_ INTEROPSERVICES that allow move to sd!
I think it's not a good way even it works!
 

jessenic

Senior Member
Sep 9, 2010
479
313
0
suomiwp.com
Does it provide browsing? The current editors don't; I've considered jumping the addition of registry editing up the feature list for my webserver just because switching back and forth between a read-only browser and an explicit-path-only editor is annoying.
Just FYI the registry editor I worked on for a while does provide browsing: http://forum.xda-developers.com/showpost.php?p=52733830&postcount=217

I have not updated it though and it is very limited. I may pick up where I left some day, but I'm more than happy to merge pull requests if others want to help developing it.
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone