[XAP] Orientation Lock: self-explanatory - Windows Phone 7 Development and Hacking

Tada. Here's a little stupid-simple something I made to cure my frustrations.
Whooo. New version, basically wiped up the whole post. Oops.
Anyway, here's orientation lock, an application that, well, locks your orientation. It does this by setting the accelerometer to power state D4, then back to D0 to revive it.
Using DllImport:
Code:
DllImportCaller.lib.StringIntIntCall("coredll", "SetDevicePower", "ACC1:", 1, (int)Phone.Network.WiFi.PowerState.D0);
Simple. Worked on my HD7, Lumia, and Focus. Lmk if you have any issues.
Oh, and known problem: HTC devices detect the accel sensor as active, even when it isn't. Weird. Toggling the button back and forth works, though.
Download: http://windowsphonehacker.com/articles/orientation_lock_release-02-06-12
Cheers!

DeactivateDevice() ACC1: on HTC device will make phone reboot.

ted973 said:
DeactivateDevice() ACC1: on HTC device will make phone reboot.
Click to expand...
Click to collapse
Is that from this application or when you do it using native APIs?

Jaxbot said:
Is that from this application or when you do it using native APIs?
Click to expand...
Click to collapse
oh, i try this before and your app is same result.
DeactivateDevice()
change registry "Dll"
ActivateDeviceEx()
Process above, sometimes works on HTC Device, but it is real "sometimes"!

ted973 said:
oh, i try this before and your app is same result.
DeactivateDevice()
change registry "Dll"
ActivateDeviceEx()
Process above, sometimes works on HTC Device, but it is real "sometimes"!
Click to expand...
Click to collapse
I know you can change it in the registry, but I was hoping for something a little more integrated. I wonder what the deal with HTC is.

Jaxbot said:
I know you can change it in the registry, but I was hoping for something a little more integrated. I wonder what the deal with HTC is.
Click to expand...
Click to collapse
does samsung & lg device have this in registry:
[HKLM\Drivers\BuiltIn\Accelerometer]
"ForegoundModule"="\Windows\TaskHost.exe"

ted973 said:
does samsung & lg device have this in registry:
[HKLM\Drivers\BuiltIn\Accelerometer]
"ForegoundModule"="\Windows\TaskHost.exe"
Click to expand...
Click to collapse
Samsung doesn't, nor does it have all the X Y Z values.

works on focus s, surprisingly....

ManelScout4Life said:
works on focus s, surprisingly....
Click to expand...
Click to collapse
Why wouldn't it? And I saw your comment on Wpcentral, thanks for that. I don't blame anyone, even I get confused with all these different devices and driver versions. Seems only the end consumer has a consistent experience

Jaxbot said:
Why wouldn't it? And I saw your comment on Wpcentral, thanks for that. I don't blame anyone, even I get confused with all these different devices and driver versions. Seems only the end consumer has a consistent experience
Click to expand...
Click to collapse
With all the changes in the gen2 software, I figured it wouldn't work. Just like none of the interop apps work so far I figured this would be on the same boat.

ManelScout4Life said:
With all the changes in the gen2 software, I figured it wouldn't work. Just like none of the interop apps work so far I figured this would be on the same boat.
Click to expand...
Click to collapse
Nah, they don't work because of other changes, but it's a good thought, and I was worried myself. Glad to see it does, though

More specifically, most homebrew interop apps don't work on Samsung Gen2 because they use OEM drivers that are specifically designed to allow apps to do high-privilege things their sandbox normally prevents. In gen2 firmware, Samsung crippled those drivers somehow, locking them down to their own apps only (bears more investigating, but that's the best explanation I've found so far).
This, on the other hand, is simply opening a driver that's built into the phone - all phones, apparently - and is an actual device driver, not a software driver intended forleaving the sandbox. Samsung can't cripple that, or it wouldn't be possible for any app to use the accelerometer. Interop unlock is still required, though - in simple terms, what ID_CAP_INTEROPSERVICES regulates is "Can the app open a direct handle to a driver?" and this app needs to do this.

Update for everyone:
No more interop unlock, now allows toggling. You're welcome =D
http://windowsphonehacker.com/articles/orientation_lock_release-02-06-12
Also a video with my sexy new phone (Lumia 800) in it ^^
http://www.youtube.com/watch?feature=player_embedded&v=7tNiDn-7Szw

Too bad that this can't be put in the Marketplace; it's the kind of app a lot of people have been asking for. All the more reason for Microosft to provide more Chevron Labs unlock tokens, I guess...
EDIT: I guess that having the Sensors capability gives enough permissions to call SetDevicePower on it? I would have expected ERROR_ACCESS_DENIED. In any case, well done. Works on my HD7. One minor bug is that it doesn't remember or detect when disabled, so to re-enable it I have to first toggle to Disabled, then back to Enabled, because when the app is launched it *always* says Enabled. Might be an HTC firmware oddity.

GoodDayToDie said:
Too bad that this can't be put in the Marketplace; it's the kind of app a lot of people have been asking for. All the more reason for Microosft to provide more Chevron Labs unlock tokens, I guess...
Click to expand...
Click to collapse
Exactly. It's harmless, stays at LPC level. Wish Microsoft would let in some more /dangerous/ applications.

Awesome, good job. I've been looking for this. Works well on optimus 7

SetDevicePower really nice solution!!!

One simple fix for HTC, if they always report the accelerometer as available: can you use GetDevicePower? The method signature is the same, except the third parameter is a pointer (which .NET will see as an "out" parameter, if you declare it as such). I'm not sure if DllImport supports those, but it could be done very easily using COM.

Actually, turns out the problem is more universal than I thought. I'll find a fix for it soon, should be simple enough.

Liking this update very much Looking forward to the toggle fix.

Related

Remove limit of 10 unsigned app

I've finally reach 10 unsigned app on my phone. Took way longer that I thought...
This is not new for anyone who's not spending time asking for unlock key, but I've made a small app to automate the process of pushing the limit to 100000.
Here it is: http://bit.ly/qpVyR4
Work on my HTC, may work on other device as well (let me know).
Warning: At least one person had problem deploying app on his Samsung after running this app.
Edit: Updated version with rollback button (which already exists but was hidden )
this has been out for like a month now..... but good job of creating one!
http://forum.xda-developers.com/showthread.php?t=875885
Exactly what I said... nothing new but packaged as a XAP
Advanced Configuration Tool for WP7 Beta
http://forum.touchxperience.com/viewtopic.php?f=11&t=590&p=2349
has an option to remove the limit, plus set as many colour schemes as you like, and add single registry keys directly.
Its still beta but works a treat so far on my HD2, and comes with about 50 colours for the theme, or input your own with hex codes.
This tools works only on HTC. Minne should work on Samsung too, maybe on LG.
But if you have an HTC, AdvConfig is probably easier to use.
I'm not spending much time making pretty app
I ran this earlier (along with setting the key manually before), and it doesn't work. I still was limited to 10 apps.
But now, frighteningly, I'm unable to deploy -some- apps from Visual Studio (limit reached). I have a real dev unlock, never messed with Chevron.
Thanks, (nico)! I've removed this (stupid!) limit on my Focus (officially unlocked), everything works fine including deployment/debug from VS 2010. Good job!
davux said:
I ran this earlier (along with setting the key manually before), and it doesn't work. I still was limited to 10 apps.
But now, frighteningly, I'm unable to deploy -some- apps from Visual Studio (limit reached). I have a real dev unlock, never messed with Chevron.
Click to expand...
Click to collapse
I'm also officially unlock.
Like with folks with Chevron, I think the limit will be reseted periodically by Zune.
What do you mean by "some" apps?
You can't install more than 10 apps?
Not sure what do you mean, but I'll try to answer.
Using (official) unlock method, you won't be able to deploy more than 10 unsigned apps. 3 if you have a student account.
Chevron also have the same 10 limit (because they intentionally keep MS limit).
This registry tweak try to remove that limit.
In either way, this don't modify the number of app you can install though Marketplace, which is not limited.
(nico) said:
I'm also officially unlock.
Like with folks with Chevron, I think the limit will be reseted periodically by Zune.
What do you mean by "some" apps?
Click to expand...
Click to collapse
I set the key manually in the code Rusty released for the Samsung devices the other day. I wasn't able to deploy the 11th app via VS. I continued dealing with it until I got your XAP, I ran that yesterday and now sometimes I have trouble deploying in VS, even with <10 apps. Restarting VS and the phone doesn't have any effect.
Not that I'm blaming you or anything - just figured I'd note my experience. Some projects will still deploy, not sure of the pattern yet.
Thanks, that the kind of feedback I'm looking for. I'll add this to the first post to warn people.
If you have more infos, please share so we can have something more stable.
Thanks!
* Works on [Europe] Omnia 7
Ah this is the tool that some XDA user was trying to pass off as his own tool.
The big Athiest said:
Ah this is the tool that some XDA user was trying to pass off as his own tool.
Click to expand...
Click to collapse
What are you talking about?
(nico) said:
What are you talking about?
Click to expand...
Click to collapse
Look up the RRTool in this forum that I wrote, he is basically saying I rebranded the Chevron Tool as my own, even though my Tool runs on the device not from desktop and only prevents relocking, it doesnt actually unlock a device like chevron does. He only has 2 posts and tried to ruin my credability! Not Happy!
He is a lame troll. Don't pay attention. Thank you both guys! Great job!
P.S. Just a small remark: after using your tools (first I've tried (nico)'s tool, later (toady) RRTool. Both works good but behavior of VS 2010 a little bit changed. Now I can't deploy project via Zune - must close it first and use WPConnect.
Did you try to restore the original value (probably 10 for most users) and see what happends?
Nope, I didn't. Just have no time to browse for Samsung's registry editor or reflect back your's or lyriquidperfection app. Could you add an option to restore back an original values? Anyway, it's not a real problem. MS limitation of 10 app (or 3 for student account) it's just stupid and unfair. What, if I have more than 10(3) homebrew projects to debug and run? What, if I want to recreate all apps I need by myself? But of course the "MS greediness sux!" is not a topic for this thread
sensboston said:
Nope, I didn't. Just have no time to browse for Samsung's registry editor or reflect back your's or lyriquidperfection app. Could you add an option to restore back an original values? Anyway, it's not a real problem. MS limitation of 10 app (or 3 for student account) it's just stupid and unfair. What, if I have more than 10(3) homebrew projects to debug and run? What, if I want to recreate all apps I need by myself? But of course the "MS greediness sux!" is not a topic for this thread
Click to expand...
Click to collapse
Sorry I thought I did it but the button was hidden
Here is an updated version with a restore button to 10 apps: http://bit.ly/gKZDgj

[RELEASE] HTC Hub for everyone!

Hi,
You can download the rar's. They contain the xap. You can use any dev-unlocked device (also non-HTC). This was quite a reversing-adventure. I learned a lot.
A few remarks:
- This is not the latest version of the HTC Hub. It does not have the live-tile. Maybe I'll update later.
- I had to rewrite some parts of the code. It all works 100% but I think it can be done better, so maybe I'll update that later.
- Note the about screen
Word! It works but it still *****es about not being able to reach HTC's service. Great job regardless Heathcliff.
EDIT: The wild thing about it is, I can actually reach into HTC's section of the Marketplace through this app. That's crazy.
want to try
but I am getting errors unzipping with 7zip, what is the way you guys are successful with?
Heathcliff74 said:
Hi,
You can download the rar's. It contains the xap. You can use any dev-unlocked device (also non-HTC). This was quite a reversing-adventure. I learned a lot.
A few remarks:
- This is not the latest version of the HTC Hub. It does not have the live-tile. Maybe I'll update later.
- I had to rewrite some parts of the code. It all works 100% but I think it can be done better, so maybe I'll update that later.
- Note the about screen
Click to expand...
Click to collapse
Good work. Works on my Omnia7, the graphics look like sh*t though on my lovely screen
I don't get any errors or anything here - weather/time/location all work great. As fb401 says - you can access the HTC Marketplace, but you can access any Marketplace app as long as you know the ProductID.
Does access to the other apps from the marketplace on the phone allow use of the excellent HTC flashlight app or any additional HTC apps?
fb401 said:
Word! It works but it still *****es about not being able to reach HTC's service. Great job regardless Heathcliff.
EDIT: The wild thing about it is, I can actually reach into HTC's section of the Marketplace through this app. That's crazy.
Click to expand...
Click to collapse
Anyone having the message about not being able to reach the HTC server, plz verify that you have either Wifi or cellular connection and try refresh-button. It definitely works.
buffalosolja42 said:
but I am getting errors unzipping with 7zip, what is the way you guys are successful with?
Click to expand...
Click to collapse
Download both parts in the same folder and use WinRar.
jessej said:
Does access to the other apps from the marketplace on the phone allow use of the excellent HTC flashlight app or any additional HTC apps?
Click to expand...
Click to collapse
No, it won't work. You can try to install, but the program will try to use the HTC drivers and hardware, and it will quit. These programs need (a lot of) work to get running on other devices. Look here and here.
Heathcliff74 said:
Anyone having the message about not being able to reach the HTC server, plz verify that you have either Wifi or cellular connection and try refresh-button. It definitely works.
Click to expand...
Click to collapse
I was still plugged into my laptop in airplane mode. When I disconnected and went back, it worked perfectly.
Blade0rz said:
As fb401 says - you can access the HTC Marketplace, but you can access any Marketplace app as long as you know the ProductID.
Click to expand...
Click to collapse
Sure you can, but there's literally no way inside of the HTC walls on my LG phone besides this hub.
getting crc failure from file htchub1
edit*** downloaded on fedora then transferred to vm win7 and looks like file is ok after crc check
well done
thank u
Excellent job, will be bookmarking this thread to see if the live tile gets added. Great work Heathcliff.
Is it possible to get the HTC Connection Setup app to work on a non-HTC phone?
slysy said:
Is it possible to get the HTC Connection Setup app to work on a non-HTC phone?
Click to expand...
Click to collapse
I guess you're asking this to be able to get provxml working. Well, that's not really possible. Because the HTC Connection Setup calls the HTC drivers which will in turn process the provxml. So I would be able to get the HTC Connection Setup running, but it will not be able to call the driver on non-HTC devices. I guess in time we'll find the necessary security holes to get in the TCB chambers to execute these types of code and config files.
The OEM drivers are very usefull, because they provide (limited) access to the high-privilege TCB-chambers. The drivers contain hardware-specific functions and non-hardware-specific functions. Those non-hardware-specific functions (like registry- and file-system-access) are the most interesting for us. The drivers can be called from unmanaged code, which in turn can be called by managed code through a com-interface. But since we have no way to port drivers between devices (yet), those non-hardware-specific functions remain device-specific for now.
Heathcliff74 said:
I guess you're asking this to be able to get provxml working. Well, that's not really possible. Because the HTC Connection Setup calls the HTC drivers which will in turn process the provxml. So I would be able to get the HTC Connection Setup running, but it will not be able to call the driver on non-HTC devices. I guess in time we'll find the necessary security holes to get in the TCB chambers to execute these types of code and config files.
The OEM drivers are very usefull, because they provide (limited) access to the high-privilege TCB-chambers. The drivers contain hardware-specific functions and non-hardware-specific functions. Those non-hardware-specific functions (like registry- and file-system-access) are the most interesting for us. The drivers can be called from unmanaged code, which in turn can be called by managed code through a com-interface. But since we have no way to port drivers between devices (yet), those non-hardware-specific functions remain device-specific for now.
Click to expand...
Click to collapse
Thanks for the response. I asked because the Samsung Connection Setup app doesn't support my network, so I can't configure or use MMS. I know that the HTC Connection Setup app does however, so I want to use it to configure my network settings. Do you think this is possible (I didn't understand everything you said, so sorry if this is a silly question)?
slysy said:
Thanks for the response. I asked because the Samsung Connection Setup app doesn't support my network, so I can't configure or use MMS. I know that the HTC Connection Setup app does however, so I want to use it to configure my network settings. Do you think this is possible (I didn't understand everything you said, so sorry if this is a silly question)?
Click to expand...
Click to collapse
Hmm.. I don't know about that. HTC Connection Setup is not a solution, because you don't have the necessary drivers on your device. Samsung has a set of predefined xml's in the \windows folder. Every country has it's own xml with the settings of the known network operators. There is a trick to configure one of these. Info is in this thread. But I'm not sure if there is an xml on your phone that contains the info for your network operator. Good luck.
Heathcliff74 said:
Hmm.. I don't know about that. HTC Connection Setup is not a solution, because you don't have the necessary drivers on your device. Samsung has a set of predefined xml's in the \windows folder. Every country has it's own xml with the settings of the known network operators. There is a trick to configure one of these. Info is in this thread. But I'm not sure if there is an xml on your phone that contains the info for your network operator. Good luck.
Click to expand...
Click to collapse
wow it works well
now the question is
will the youtube app receive the same treatment?
domineus said:
wow it works well
now the question is
will the youtube app receive the same treatment?
Click to expand...
Click to collapse
Haha. Well, I haven't taken a look at that one. But I can assure you that reversing a Windows Phone Silverlight app is a very complex task. I have done this once, so I could maybe do it again. Depends on how much of the HTC driver has to be rewritten for that app. But I probably won't do that very soon. The truth is that I did this mainly to learn about the inner works of Windows Phone and Silverlight. And I have a couple of other 'projects' I'm working on, so I want to focus on that. Maybe someone else will pick up the task for the Youtube app.
thx Heathcliff74
Heathcliff74
thank u for the hub
do you know any way to add driver to other OEM from htc
long ago i have omnia 2 and we could add some DLL to windows to make compatible with Samsung
do you think to with could be able to play with youtube app from htc i can get him open but i dont have connection
ronalgps said:
do you know any way to add driver to other OEM from htc
Click to expand...
Click to collapse
At this moment we have no way to exchange drivers from different OEMs. Read my post earlier in the thread. Maybe I'll have a look at the Youtube app, but don't count on it. I'm very busy.
Works great on my omnia7!!!! What will happened if i will update hub via marketplace?

Resumable XAPs: All the details, plus a nice tool

Hello again
I figured out a quick little change in the WMAppManifest.xml file that allows you to make your XAPs resume, rather than restart, when clicked on from the start menu.
Here's a demonstration:
So here's how it works:
In every WMAppManifest.xml file, located inside the XAPs, there's a line called "DefaultTask". In the Visual Studio IDE, there's little you can do with this line, but if you edit it post-compiling, you can actually do a lot of things. In this case, adding the term ActivationPolicy="Resume" to your DefaultTask will make the application resume the task, rather than replace it (default action). Here's an example:
Original:
Code:
<DefaultTask Name="_default" NavigationPage="PivotPage.xaml" />
Resumable:
Code:
<DefaultTask Name="_default" NavigationPage="PivotPage.xaml" ActivationPolicy="Resume"/>
This follows the same rules as the back button resuming, for example, if my dehydration hack is enabled, the code will resume instantly, and otherwise, it will resume with the usual "resuming..." message. It'll make sense
Should be fairly easy for you guys to figure out, and hopefully we'll see some developers integrate this directly into their code
For the end users, though, I've created a simple tool that does this patch for them, then deploys. Info and download over on my website:
http://windowsphonehacker.com/resumablexap
I'd say more, but I'm in a bit of a hurry. Let me know what you guys think, if you have any questions, etc.
Your friend,
Jaxbot
Awesome. Imma try this in a bit with some .xap files I got stored somewhere... jejeje
Sent from my []D[][]V[][]D ARRIVE using Board Express
thanks for this app
really nice find
Cool hack thanks again
I have been experimenting with some xaps with this.
I found some quirky apps:
- Facebook (u already know)
- IMDB
- NU.nl
- Daily motion (does not play the video anymore)
All others I tested seem to work fine. I did not test any games.
Its probably bad coding or not storing the back history or something.
Thanks for the tool. It helps with productivity.
I btw notice more quirky behaviour with the dehydrate on (I could be mistaken)... how is your batterylife Jaxbot? Is it fine with normal use? Or do we have to be sure to close the apps etc?
Are the apps stored in ram temporarily?
Does it affect general performances if you have 4/5 apps in "soft sleep" ?
Sakem said:
Are the apps stored in ram temporarily?
Does it affect general performances if you have 4/5 apps in "soft sleep" ?
Click to expand...
Click to collapse
If you have my dehydration hack enabled, yes, they're in the RAM.
In my experience, no, the performance isn't really affected (there's a reason for that), and as an example, I've had Twitter open for the last few days and I've seen no negative impacts.
So its an updated version of this one:http://forum.xda-developers.com/showthread.php?t=999475
FPM
FlowerPotmen said:
So its an updated version of this one:http://forum.xda-developers.com/showthread.php?t=999475
FPM
Click to expand...
Click to collapse
Not really. That dehydration hack allowed applications to stay open in the background. This method allows applications to be resumed from that state, directly from the start menu.
Eg, the instant resuming allowed Twitter to be instantly resumed when the lock screen popped up, or when you dive into messages and then click Back.
This allows Twitter to be navigated from, and then returned to, say, a day later, and it will still be where you left it. Nifty, I thought.
Does this new hack improve IM+ functionality? Will the app still have to reconnect with this hack? If so is this related to the lack of sockets in NoDo?
blindpet said:
Does this new hack improve IM+ functionality? Will the app still have to reconnect with this hack? If so is this related to the lack of sockets in NoDo?
Click to expand...
Click to collapse
It has to reconnect yes. This is the way IM+ is coded. However the contacts will still be displayed on the screen so its less annoying for sure.
It will look the same as opening IM+ then exit by pressing windows button, than click back, the exact same effect... only now you will have the same if you press a live tile
Thanks for the quick reply, guess I'll have to wait for Mango for true messaging functionality despite all the hard work of devs.
blindpet said:
Thanks for the quick reply, guess I'll have to wait for Mango for true messaging functionality despite all the hard work of devs.
Click to expand...
Click to collapse
If you use native sockets, you can get around this, but it means you'll have to code your own IM client, which is no fun.
if do this to all of your xap and dehydration hack.
it look like u have real multitask.
parnunu said:
if do this to all of your xap and dehydration hack.
it look like u have real multitask.
Click to expand...
Click to collapse
Indeed yes... Unfortunately in some cases it screws up the order of the backbutton press and you will not be able to "escape" from apps or go back to the main Menu. IMDB, FB, some others as well will have to be recoded in order to work with this hack
posted on wmpu
awesome job jaxbot per usual! cheers!
domineus said:
posted on wmpu
awesome job jaxbot per usual! cheers!
Click to expand...
Click to collapse
Thanks for the post (saw it a second ago), but you need to update it:
This is for *current* Windows Phone builds, not Mango. Mango already has this feature built in.
Eg, if you have a developer unlocked device, you can use this on NoDo, pre-NoDo, RTM, etc. You don't need Mango.
Jaxbot said:
Thanks for the post (saw it a second ago), but you need to update it:
This is for *current* Windows Phone builds, not Mango. Mango already has this feature built in.
Eg, if you have a developer unlocked device, you can use this on NoDo, pre-NoDo, RTM, etc. You don't need Mango.
Click to expand...
Click to collapse
I said that in the article too
domineus said:
I said that in the article too
Click to expand...
Click to collapse
Yes, but this has nothing to do with Mango. In fact, it probably wouldn't even work on Mango.
Regardless, I do appreciate the mention
Jaxbot said:
Yes, but this has nothing to do with Mango. In fact, it probably wouldn't even work on Mango.
Regardless, I do appreciate the mention
Click to expand...
Click to collapse
and I'm sorry too
I've been trying to amend it and it won't amend
However I did note in the comment it works on all devices
I sincerely apologize for the mixup darn thing didn't save at all ><
wordpress fail sorry man
domineus said:
and I'm sorry too
I've been trying to amend it and it won't amend
However I did note in the comment it works on all devices
I sincerely apologize for the mixup darn thing didn't save at all ><
wordpress fail sorry man
Click to expand...
Click to collapse
No worries, I know the drill Just wanted to make sure you knew, wouldn't want trolls getting on ya
Good luck man, and again, thanks for the mention
~Jaxbot

The WindowBreak Project

"What am I doing, why am I here, what is this about, and where am I going with this."
Hello all. After dealing with rumors, rumors of rumors, and the like, I've finally managed to disclose something I hold very dear to me: the WindowBreak project.
As the name suggests, this is a jailbreak project for Windows Phone 7. I started something a while back that had little success, but through the months, I've managed to figure out something that should bring light into the Windows Phone jailbreaking scene.
Real quick, though:
What this is: A project, with information about some interesting exploits I found, and a call for the community to dive in.
What this isn't: A full fledged jailbreak. Please don't post replies such as "when will XXXX device be supported". It just wastes time, and I assure you, I want every device included.
It also is not a full unlock. Just interop.
The details
So here's the sitch. We all know how Heathcliff74's interop unlock works. XAP files are just ZIP files, and ZIP files can have entries that allow extracting in parent directories.
Interesting thing is, this can be done using the ZipView application, which normally stores data in \Application Data\Volatile\Zipview\<random id>
Thus, creating a directory in a ZIP file called ../../../../provxml will copy all those files into the \provxml\ folder upon extraction.
See what I did there?
Limitations
Of course, there are limitations.
1) We cannot extract into \Windows\. There's a policy that prevents it.
2) The bad one: We can only extract known MIME types, at least to my knowledge. This is because the files are only extracted when they are clicked on in ZipView. And clicking on a .dbz file, for example, will just say the file type is not supported. Bummer.
What we can do...
As mentioned above, this can be used for a fresh out of the box jailbreak for Samsung devices, using provxml. Here's a video of that:
Try it yourself: with a Samsung device, go to http://windowsphonehacker.com/windowbreak and press WindowBreak Me.
In theory, this would be all we need to jailbreak most Windows Phone devices. Unfortunately, Nokia and HTC devices block the registry entries in provisioning files. I'm not sure what the extent of this "whitelist" (or is it a blacklist?) is, and details/tests on this would be appreciated.
What needs to be done...
Nokia: I don't have a Nokia device, but I've been working a great deal on figuring out how to crack it's shell, and have a couple of ideas. If I'm able to get my hands on a Nokia device soon, I'll try some of these unorthodox exploits out, otherwise I'll need some daring volunteers.
HTC: I do have an HTC device, but I can't figure out how to extract the files for the Connection Setup program. If someone can give me details on what the password encryption is on it, etc, for the HTC interop unlock, that would be much appreciated.
Other devices: Not a lot of demand for these (and LG needs no jailbreak, since it has MFG), but if something comes up, feel free to share where the provisioning files exist and I'll see about "windowbreaking" them.
So this is my little project, and I hope the details I'm sharing will lead to further development. My personal device (Samsung Focus) is easily interop unlocked now, without costing me a cent. I'd really like this to be the case for everyone; I'm not saying the $9 unlock for Chevron Labs is bad, in fact, it's greatly supported homebrew. What I am saying, though, is that freedom is still possible, and regardless, any developments made here will further support interop unlocking on Chevron/apphub unlocked devices. With that in mind...
Merry Christmas.
Special thanks to: Heathcliff74 for much of the research and idea behind the exploit
All the supporting members of XDA, who bring appreciation for what we do. Thank you.
Cool! Ridiculous that I didn't think of this myself
I will send you the password of the dbz files when I get home. I don't have it here.
But the real problem for HTC and NOKIA are the whitelists. I've been working on this for the past time. And today I made more progress. I developed a new way of debugging native 3rd party dll's/drivers. U can isolate functions and call them from a test app for unit-testing. This makes testing a lot easier. This will help me find exploits much faster. I can even call the whitelist functions of HTC and NOKIA on my Samsung now Working on it right now.
Good find!!
Heathcliff74
Heathcliff74 said:
Cool! Ridiculous that I didn't think of this myself
I will send you the password of the dbz files when I get home. I don't have it here.
But the real problem for HTC and NOKIA are the whitelists. I've been working on this for the past time. And today I made more progress. I developed a new way of debugging native 3rd party dll's/drivers. U can isolate functions and call them from a test app for unit-testing. This makes testing a lot easier. This will help me find exploits much faster. I can even call the whitelist functions of HTC and NOKIA on my Samsung now Working on it right now.
Good find!!
Heathcliff74
Click to expand...
Click to collapse
Haha, I knew you would say that when you saw this. Most credit of this goes to your work, in fact, which gave me much of the idea.
As for the whitelists, do you know exactly how it's blocking? Is just registry blocked, or all non-APN related settings?
^-- This is why I nominated you guys for those free Nokia Lumias. Keep up the good work!
Jaxbot said:
Haha, I knew you would say that when you saw this. Most credit of this goes to your work, in fact, which gave me much of the idea.
As for the whitelists, do you know exactly how it's blocking? Is just registry blocked, or all non-APN related settings?
Click to expand...
Click to collapse
Both brands have very similar mechanisms. They both have a driver dedicated to provisioning. The whitelists are implemented in those drivers. HTC has whitelisted only specific registry keys for APN's and stuff. NOKIA does not have the registry on the whitelist at all.
Heathcliff74
Heathcliff74 said:
Both brands have very similar mechanisms. They both have a driver dedicated to provisioning. The whitelists are implemented in those drivers. HTC has whitelisted only specific registry keys for APN's and stuff. NOKIA does not have the registry on the whitelist at all.
Heathcliff74
Click to expand...
Click to collapse
Shame it's a whitelist instead of a blacklist :\
Do you know which CSPs are allowed? I've managed to move files around using provxml on my Samsung, but it seems to allow just about anything.
Yeah I want you two to get the free Nokia Lumia's too! You both do great work - thank you keep giving love to the Omnia 7 too please since it's my girlfriend who has the Lumia 800 (dammit!)
Indeed a very cool solution ! Thanks button pressed.
Is it limited to 1st gen samsung devices or does it work on 2nd gen devices too ?
contable said:
Indeed a very cool solution ! Thanks button pressed.
Is it limited to 1st gen samsung devices or does it work on 2nd gen devices too ?
Click to expand...
Click to collapse
Both first and 2nd gen will work, though some interop won't work on 2nd gen devices (e.g., last I heard, registry editors were all read only)
DBZ Password
030D681B-1DFC-4bd0-A72A-A9B3CCCDA653
---------- Post added at 10:30 AM ---------- Previous post was at 10:29 AM ----------
Oh and it was found here http://forum.xda-developers.com/showthread.php?p=18916888
When I go to http://windowsphonehacker.com/windowbreak/
I don't get any buttons, just these text :
WindowBreak
By WindowsPhoneHacker
WindowBreak is a project with the goal of enabling true jailbreaking on Windows Phones.
We believe in freedom, both in gratis and in libre.
For details on WindowBreak, see here [add XDA link here].
BTW Nice worrk, hope to see more nice hacks these Xmas!
DJSave said:
When I go to http://windowsphonehacker.com/windowbreak/
I don't get any buttons, just these text :
WindowBreak
By WindowsPhoneHacker
WindowBreak is a project with the goal of enabling true jailbreaking on Windows Phones.
We believe in freedom, both in gratis and in libre.
For details on WindowBreak, see here [add XDA link here].
BTW Nice worrk, hope to see more nice hacks these Xmas!
Click to expand...
Click to collapse
You visit it on your phone, silly
And thanks, forgot to add the XDA links to that page.
Damn, purchased yesterday chevron labs-.-
But great work! I appreciate that!
Jaxbot said:
You visit it on your phone, silly
And thanks, forgot to add the XDA links to that page.
Click to expand...
Click to collapse
Yep Had desctop version in settings
10X it worked like a charm
Wait and hope for a solution for HTC devices
yea I can't wait for this. I have a HTC HD7.
Well done man, exactly what worked also with calling provxml files from the iso storage in DiagProvXML. Just do "../the entire path to iso storage/provxml.ext" this worked also on htc. Although of course your mechanism is different as you have to copy it to the correct folders while we just needed to change the default paths of the drivers to a custom folder.
Well done and nice creative solution. It would be great if you manage to get this working for more devices.
Maybe somebody can somehow find the exact provisioning the Developer Registration Tool makes, so you can use that one as that should be white listed I assume.
The Registration tool actually uses a socket connection to send a partly modified cookie string to the phone. The phone then goes and checks that against microsoft's servers and goes OK.
hey ii was just wonderiing, as nobody rarely mentions the dell venue pro, if something was going to be actually done for it. I know you said dont post stuff liike this but its just that ive never heard something like this or anything done about the Dell Venue Pro.
Thanks
Is the point of this for it to go from out of the box to interop unlocked, or from chevron/dev unlock to interop?
In /Classes Root/ registry part you can add the file type so it's known...

[Guide] Activate Windows 8 Permanently

UPDATE: Personalization does NOT work in METRO. Everything works flawlessly and I tend to stay in desktop mode so I didn't realize this. DESKTOP MODE CAN BE PERSONALIZED. This still gives you enables everything I wanted so I don't see the problem. My metro background doesn't matter to me. I can also just install a win7 start menu, but again I have no issues and this works flawlessly.
A tool called "Windows 8 Activator For Build 9200 (Sep 2012)" (Google it, LINK BELOW) will permanently activate Windows 8. Specifically the latest build. Just run it and follow the simple instructions.
MOD EDIT: WAREZ LINK REMOVED
atrix4g18 said:
Let me know if we can't post this guide even though it is just providing information and no links to anything.
A tool called "Windows 8 Activator For Build 9200 (Sep 2012)" (Google it, LINK BELOW) will permanently activate Windows 8. Specifically the latest build. Just run it and follow the simple instructions.
If this doesn't comply with forum rules let me know. There is another thread describing how to remove activation watermark and notification, this does the same thing but actually removes it instead of hiding it.
Click to expand...
Click to collapse
The comments seem to be all over the place, I don't see definite proof it will work.
Isn't this classed as warez and is completely banned by xda, why would you want to steal windows 8 anyway? The upgrades only like £20 & I've tried the rtm on a friends pc, its awesome!
Sent from my HTC Desire HD using xda app-developers app
eZaCx said:
The comments seem to be all over the place, I don't see definite proof it will work.
Click to expand...
Click to collapse
idk what to say. I'm no expert tell me a way to show you that my windows 8 copy is fully activated and I'll show you. It worked perfect you dont't need anything complicated. It opens command prompt and works.
scaryshark said:
Isn't this classed as warez and is completely banned by xda, why would you want to steal windows 8 anyway? The upgrades only like £20 & I've tried the rtm on a friends pc, its awesome!
Sent from my HTC Desire HD using xda app-developers app
Click to expand...
Click to collapse
Understood. However for people who want to use all the features so they download the newest build (9200) but they run into activation watermarks and notifications. When Windows 8 comes out (October 26th) aka a long time from know, I will most likely buy a licence if not a Surface.
For now however this works. This gives you Windows 8 as it will be on October 26th. working perfectly. I have it on my Acer Aspire One 722 netbook and it works flawlessly AMD has a consumer driver preview for Windows 8 and everything runs smooth.
Apparently this still won't let you personalize. OP pm me plz.
Sent from my HTC One XL using xda premium
ptesmoke said:
Apparently this still won't let you personalize. OP pm me plz.
Sent from my HTC One XL using xda premium
Click to expand...
Click to collapse
What do people mean "won't let your personalize."? Is there something I am missing?
Also OP, how do you know it was permanently installed, and not 90/180 days?
>Isn't this classed as warez
No, it's classified as malware, as in "let's infect all the dumb pirates desperate for keys". Kiddies need to learn about social engineering at some point, and this is a good time as any.
ptesmoke said:
Apparently this still won't let you personalize. OP pm me plz.
Click to expand...
Click to collapse
Same problem here, please contact me if you found a solution.
it doesn't let you personalize because Win8 isn't really activated, even though the messages tell you it is. The system files have been tempered with. Read more on MDL about this. It has been shown many times that it fakes activation.
http://forums.mydigitallife.info/th...if-any/page466?p=630762&viewfull=1#post630762
if you do a sfc /scannow and reboot you will see that your system is not activated. If you feel comfortable with it you can keep the files, however you need to realize that you are in fact not activated.
(to find out whether personalization works or not, got to the metro screen, move mouse bottom right corner to open settings in the charm bar, at the bottom you see Change PC settings, try to personalize Lock screen, start screen, account picture - if you are activated you have no problems here, if you are not it's likely greyed out)
best solution to get activated at the moment is to wait for a KMS server or wait until Oct26 to purchase it. You can try to register a PC you may purchase or already purchased here and hope that you only have to pay $15 when it comes out (for a PC you haven't actually purchased). It may or may not work. Many believe that MS won't be able to check that many registered PCs to see if these have actually been recently purchased. We will see.
good luck
eZaCx said:
What do people mean "won't let your personalize."? Is there something I am missing?
Also OP, how do you know it was permanently installed, and not 90/180 days?
Click to expand...
Click to collapse
Windows, not the program confirmed it was permanently activated. This is not kms... this is all done locally.
e.mote said:
>Isn't this classed as warez
No, it's classified as malware, as in "let's infect all the dumb pirates desperate for keys". Kiddies need to learn about social engineering at some point, and this is a good time as any.
Click to expand...
Click to collapse
484 thanks? And you are that ignorant? Please grow up. This requires build 9200. Not the consumer version and it works flawlessly.
9200 build, is it a final version ?
Sent from my GT-I9100 using Tapatalk 2
derausgewanderte said:
it doesn't let you personalize because Win8 isn't really activated, even though the messages tell you it is. The system files have been tempered with. Read more on MDL about this. It has been shown many times that it fakes activation.
http://forums.mydigitallife.info/th...if-any/page466?p=630762&viewfull=1#post630762
if you do a sfc /scannow and reboot you will see that your system is not activated. If you feel comfortable with it you can keep the files, however you need to realize that you are in fact not activated.
(to find out whether personalization works or not, got to the metro screen, move mouse bottom right corner to open settings in the charm bar, at the bottom you see Change PC settings, try to personalize Lock screen, start screen, account picture - if you are activated you have no problems here, if you are not it's likely greyed out)
best solution to get activated at the moment is to wait for a KMS server or wait until Oct26 to purchase it. You can try to register a PC you may purchase or already purchased here and hope that you only have to pay $15 when it comes out (for a PC you haven't actually purchased). It may or may not work. Many believe that MS won't be able to check that many registered PCs to see if these have actually been recently purchased. We will see.
good luck
Click to expand...
Click to collapse
Interesting. I am not losing any functionality however so can you explain more? I don't see that personalization menu but I can personalize themes and stuff exactly like windows 8. Games work, net framework is functioning so I don't see what I'm missing out on...
UPDATE: Personalization does NOT work in METRO. Everything works flawlessly and I tend to stay in desktop mode so I didn't realize this. DESKTOP MODE CAN BE PERSONALIZED. This still gives you enables everything I wanted so I don't see the problem. My metro background doesn't matter to me. I can also just install a win7 start menu, but again I have no issues and this works flawlessly.
atrix4g18 said:
UPDATE: Personalization does NOT work in METRO. Everything works flawlessly and I tend to stay in desktop mode so I didn't realize this. DESKTOP MODE CAN BE PERSONALIZED. This still gives you enables everything I wanted so I don't see the problem. My metro background doesn't matter to me. I can also just install a win7 start menu, but again I have no issues and this works flawlessly.
Click to expand...
Click to collapse
the more important point is that you are not activated. System files have been replaced and sooner than later with a Windows Update these files will be fixed. Just letting you know and that you are aware of it. The system "fakes" activation - period. It spoofs some strings and flips some "switches" to make things appear that you are activated when in fact you are not.
You can do everything else without Win8 activation as well and use the system forever. You have the watermark and a reminder to activate. You can remove the watermark and activation reminder with the remover somebody made . However, that patch will not report that you are activated, it will only remove watermark and bypass activation message. Your OP reports on a nasty (not only my opinion) patch that replaces some system files that actually fake activation. You should at least change the statement that it will permanently activate Windows8, this is not true and has been proven to be fake (see MDL posts).
I personally don't like patches that replace system files that I am not aware of and that claim to give you activation when in fact it replaces text within dll's that fool you. If you want to be informed on how to activate Win8 I suggest reading the MDL forum about Win8 activation.
atrix4g18 said:
484 thanks? And you are that ignorant? Please grow up. This requires build 9200. Not the consumer version and it works flawlessly.
Click to expand...
Click to collapse
as much as I don't like his attitude, he is correct that it is malware.
It is not ACTIVATED! I downloaded to try and downloaded Microsoft something. I forget what its called but it checks for stuff on your computer that is not activated and Windows 8 was on there and said Windows 8 is not genuine. SO there you go.
I did manage to activate it permanently though by getting a serial number off a youtube vid and activate via UK Microsoft number and worked WITH personalize working!!!!
THIS IS ILLEGAL. DO NOT POST CRACKS FOR ACTIVATING WINDOWS.

Categories

Resources