yashsingh1/xdaforums huggingface dataset:
[Windows Phone 8 Development and Hacking] contable:
Another suggestion:

please add the ability to enter a color value (hex) manually or a button for changing the color of both themes only with one click. If you change the stock accents you need to change the accents of both themes (light and dark), because e.g. the email hub uses the light theme if you have choosen the dark theme as default theme.

Do the following on your device:

Change only the pink accent of the dark theme and select it in the settings.

Open your email hub and you will see that the pink color is still there because it uses the light theme...
[Windows Phone 8 Development and Hacking] -W_O_L_F-:
Make sure you edited color for selected theme. Light and dark have different values for accents.
[Windows Phone 8 Development and Hacking] contable:
After saving the edited accent you have to select it in your system settings...
[Windows Phone 8 Development and Hacking] dragonide:
WOLF, SamWP8 crashes as soon as I try to touch one of the bars to edit colours.

:/

I have already enabled all capabilities ...
[Windows Phone 8 Development and Hacking] -W_O_L_F-:
choose a color first. It's night in Russia, so I posted unstable version. I'll fix errors later.
[Windows Phone 8 Development and Hacking] djtonka:
You mean choose the base color?
[Windows Phone 8 Development and Hacking] akpjunex:
hi, WOLF. i need help for my ativ-s.

when i update to gdr3 Windows 8.1 there is so many error i encounter. ex. youtube when i watching videos it will automatically exit and the screen is blinking. my question is. can i use your steps to go back to gdr2? pls i need your reply boss. tnx in advance.
[Windows Phone 8 Development and Hacking] -W_O_L_F-:
http://xdaforums.com/showthread.php?t=2391138

You need to flash BME ROM.
[Windows Phone 8 Development and Hacking] ronfante:
I've manged to install xap with this tutorial-deploy-xaps-easily-wpv-xap-t3263968

But how to accesso FS? I've tried some editors but I can't edit hosts file.

Thankyou

Edit I've found a way sftp works fine :D
[Windows Phone 8 Development and Hacking] Mattemoller90:
[MENTION=2734362]-W_O_L_F-[/MENTION]

Any news about new Version of DIAGNOSIS, that I found Yesterday With My Ativ S WM10?? (140603)
[Windows Phone 8 Development and Hacking] -W_O_L_F-:
It's OLDER.
[Windows Phone 8 Development and Hacking] bokkiej:
When I'm trying to deploy your (W10M) app from WPAD8.1 on my SGH-T899M with W10M, it says that the manifest could not be loaded. In this thread you link to a modified appdeploy (http://xdaforums.com/windows-phone-8/development/tool-appdeploy-8-1-capabilities-t3158053) but that doesn't change a thing. Any idea what I can do?

EDIT: same goes for InteropUnlocker
[Windows Phone 8 Development and Hacking] Luxon:
Is this tool capable of creating REG_MULTI_SZ multistring hex(7) values?

I was about to create a value named ID_CAP_INTEROPSERVICES under HKLM\Software\Microsoft\SecurityManager\CapabilityClasses,

And the registry editor from SAMWP8Tool was able to create the value. However, all the values must be of REG_MULTI_SZ type and the editor created the value of REG_SZ type.

Thank you.
[Windows Phone 8 Development and Hacking] -W_O_L_F-:
It cannot CREATE values. It can only edit SZ or DWORD ones.
[Windows Phone 8 Development and Hacking] Luxon:
Somehow I can see ID_CAP_INTEROPSERVICES with type of REG_SZ after writing the value with CAPABILITY_CLASS_THIRD_PARTY_APPLICATIONS with your app. It wasn't showing in \SOFTWARE\Microsoft\SecurityManager\CapabilityClasses.

Now the value is there. Only that its type is now REG_SZ and not REG_MULTI_SZ.

How come?

It could've been there was such a value before and the only thing I've got after editing with the tool is the changed data type?
[Windows Phone 8 Development and Hacking] Luxon:
[MENTION=2734362]-W_O_L_F-[/MENTION]

Currently I see that ID_CAP_INTEROPSERVICES on my phone has the hex(2) REG_SZ type and not hex(7) REG_MULTI_SZ. Why is that? Could it be that I changed the type by trying to add ID_CAP_INTEROPSERVICES to CapabilityClasses when the value was already there?

Is it possible that RootTool or SAMWP8Tools managed to change value type and data? If I read the value data, it returns CAPABILITY_CLASS_THIRD_PARTY_APPLICATIONS. When I attempt to change it to, say, CAPABILITY_CLASS_FIRST_PARTY_APPLICATIONS and read back, it returns CAPABILITY_CLASS_FIRST_PARTY_APPLICATIONS as if the value data was changed.

Is it as expected? So the security token of all the apps (RootTool and yours) has KEY_SET_VALUE permission but doesn't have KEY_ALL_ACCESS, KEY_WRITE or KEY_CREATE_SUB_KEY permissions in its ACCESS_MASK?

Do I get it right? Thanks.
[Windows Phone 8 Development and Hacking] -W_O_L_F-:
Oh, your are total noob :)

To get Interop Unlock you need to change MaxUnsignedApps value.

You're trying to make some kind of Capability Unlock.

DEVELOPER_API CAP can't write here since GDR3.

This app uses RPC service with SYSTEM privileges to edit registry. But I'm limited to functions that RPC server has. And it has only SZ and DWORD functions. (It really has ADD_VALUE and SET_MULTI_STRING functions but no one knows how to call those)

There is only one way to do what you want to do. Custom ROM (both MBN and WP8 can).
[Windows Phone 8 Development and Hacking] Luxon:
If I was a pro, why would I ask such primitive questions? I am only asking because I thought simple questions are easy to explain in a few lines of text. Только и всего. Of course, I could've googled all that, but why having forums then?

Yes, I've seen that since GDR3 there's no full access (to what?) parts of the system. But I thought GDR3 stands for General Distribution Release 3 and only applies to Windows. Since there's no such a thing as GDR 3 for Windows 10 Mobile, I thought this GDR3 thing does not apply to devices running Windows 10.

That's pretty what I wanted to know: you can't get full permissions in the live system, because that exploited Samsung's DLL no longer has privileges to. do that You must do that offline, that is through modifying the Samsung bootloader files with MBN Creator.

I thought if you get interop access (that is you are able to do RPC calls, correct?), you do have access to what the RPC server can do. And since I am seeing the change of a type of registry value, the question was 'how come it could happen'? That could mean that the Samsung's RPCComponent DLL had been able to modify a registry value.

So why REG_SZ then? Why do all other capability types but the ID_CAP_INTEROPSERVICES have REG_MULTI_SZ type? This is not to say, that I didn't understand that there's no write permission, but how come then?

Anyways, thanks for your clarifications, that interaction vs. access permissions thing is clearer to me now.
[Windows Phone 8 Development and Hacking] -W_O_L_F-:
In our context GRD3 = WP 8.0 GDR3. In this version ID_CAP_DEVELOPER_UNLOCK_API lost permission to write to SecurityManager key. Since then there is no way to write there without using RPC server.

W10M version of this app uses ID_CAP_OEM_CUSTOM to get access to RPC server. This is why it works without Interop Unlock.

Samsung RPC server can only read/write string or dword values. It can't create values, but it can overwrite existing one (any type) with string or dword. This is how you changed REG_MULTI_SZ to REG_SZ.

This app has write permission EVERYWHERE. Because RPC server runs as LocalSystem.

RPC server has following registry functions:

1) ReadString

2) WriteString

3) ReadDword

4) WriteDword

It also has

5) AddValue

6) WriteMultiString

7) WriteBinary

But client library I use doesn't have those. And we don't know how to call those functions.

RPC server can't enumerate keys or values or read MultiString. Samsung didn't implement such functions.
[Windows Phone 8 Development and Hacking] zaengi:
Hi AlvinPhilemon,

Hi Wolf,

my ATIV S WP8.0 has the same phenomenon not to be recognized in Full-FSA mode.

I tried connecting to several different Win OS by using VMware, rebooting, driver updating, etc without success.

The mentioned idea of deploying and debugging a self-made app with VS.net didn't recover anything.

You said, you won't bother about such issues because of that "dangerous" hack - what exactly is so dangerous?

Your SamWP8 code changes two Reg-keys, and I wonder how there can be a severe trouble with it.

Moreover I tried to manually read the key "HKLM\\SOFTWARE\\Microsoft\\MTP", "DataStore" with several tools, but it is inaccessible (ERROR_ACCESS_DENIED, 5).

How can you write it then?

Actually my phone has another issue with quickly filling storage, regarding caching the picture library.

I was able to free several GB of cached photos in the folder "C:\Data\SharedData\Media" by FULL FS access a few months ago.

(see attached truncated directory listing).

That time it was also a bit tricky to get the phone recognized, but it worked on a fresh OS.

My attempts to clean the above directory by modifying StorageCleaner tool, adding new CleanupLocations and more ID_CAPs didn't work. It has no access to it (DirectoryNotFoundException).

To summarize:

My problem is the Media cache, not necessarily the Full FSA.

I would appreciate any hint in how to get that folder deleted, and I suppose it may even be interesting enough to be considered in a new thread.

TIA

zaengi
[Windows Phone 8 Development and Hacking] -W_O_L_F-:
Full FS access is dangerous because you can delete some system files. And ROM doesn't contain everything, so you can get a brick. Are you sure you are on 8.0? Cause this option doesn't work for 8.1+. Second question is "why are you on 8.0?" There is official 8.1.1 and custom 8.1.2. May be MS fixed your problem already?
[Windows Phone 8 Development and Hacking] GoodDayToDie:
Be *VERY* careful about changing the DeviceTargetingInfo OEM key. On WP7, that hack was used to get apps from other stores... until people found that it would break their app DRM after a short time (a day or so?) after which no store apps, even public ones, would work... even after reverting the value. The only solution was to hard-reset.

Unless somebody figured out a way around that on WP7, it's probably best to operate under the assumption that the same thing may happen on WP8. Feel free to experiment with your own phone, by all means, but be aware of the risk to yourself and anybody who downloads the app!
[Windows Phone 8 Development and Hacking] contable:
On WP7 we changed the "OEMID" Key which doesn´t exist on WP8. I remember the risk. Yesterday I changed the "Manufacturer" Key from "SAMSUNG" to "HTC" and I could easyly install the HTC Hub. But like on WP7 the app needs some additional drivers to work 100% (tile and animations don´t work) => custom rom with cooked in htc drivers is needed.
[Windows Phone 8 Development and Hacking] GoodDayToDie:
"OEM" just stands for "Original Equipment Manufacturer" but I do hope that this works... I just wanted to make sure that this was well-tested before being released. I certainly would prefer to not need to mess with turning proxies on and off, so hopefully that issue - whatever caused it - is WP7-specific.

By the way, I've updated the app info on the interop-unlock thread.
[Windows Phone 8 Development and Hacking] -W_O_L_F-:
Big update!

Added File System Access tweak, provxml hack and manual accent change function.

Fixed some issues with accents and regeditor.

And a special tweak for russian users: search change!

Enjoy!
[Windows Phone 8 Development and Hacking] contable:
Big thanks for the update ! You are the man.:cool:

Will reply after testing...

Edit: Again I reached my daily "Thanks limit", will do that after midnight.

---------- Post added at 11:27 PM ---------- Previous post was at 10:39 PM ----------

Fantastic !

1. Accent Changer really improved. Works now as it should.:good:

Maybe in the next version you can add the possibility to change the accentname. But not really needed.

2. File-System-Access works very well on my desktop. Impressive.:good:

First I have to explore the new world. Anyway this will give a lot of possibilties.

I tested copying and deleting a file. Works without any problem. More tomorrow.

3. Provxml-support. I can´t test it atm because I don´t have a sd-card where I am right now.

But this will allow file-operation on device.:good: I did a lot of research on that before the Samsung OMNIA 7 got fully-rooted. So I just have to read in my own documentation. Hopefully we can use it for homebrew-development.

All in all it´s the greatest progress since the interop-unlock ! Many thanks again to you and all other involved developers.
[Windows Phone 8 Development and Hacking] -W_O_L_F-:
Accent names are in dll now.

provxml functions may be limited
[Windows Phone 8 Development and Hacking] contable:
That explains why you didn´t add the accentname-feature.

As I remember from WP7 rom-cooking there are reg keys for the used .dll. Right ?

Did you try any of the provxml commands (copy, move, delete...) ?

The desktop filesystem access is fantastic. Just type ".provxml" in the search engine of the Windows-Explorer and all files appear on my screen...
[Windows Phone 8 Development and Hacking] contable:
provxml description:
[Windows Phone 8 Development and Hacking] -W_O_L_F-:
There are some unimplemented features, so no time to add accent names.
[Windows Phone 8 Development and Hacking] contable:
Fotos, documents, ringtones, music and videos are located here:

Phone\Data\Users\Public
[Windows Phone 8 Development and Hacking] djtonka:
Hot to get Full file system access?

=====

nevermind, I did it
[Windows Phone 8 Development and Hacking] contable:
Enable the feature inside SamWP8 Tool

Restart your device

Connect your device via usb to your desktop

Restart your device
[Windows Phone 8 Development and Hacking] -W_O_L_F-:
I think it'll be a problem for sync software. Another problem may be the rights for files downloaded from PC. Don't know if Office or Music+Videos can open it. This is why I recommend not to turn this feature on.
[Windows Phone 8 Development and Hacking] contable:
I don´t use the sync software...

Do you know where I can find the IsolatedStorage data of an installed app ?

I would like to know where for example PDF Reader Pro stores the opened pdf´s ?
[Windows Phone 8 Development and Hacking] contable:
Edit: Found it.

Phone\Data\Users\DefApps\APPDATA\{App GUID}
[Windows Phone 8 Development and Hacking] GoodDayToDie:
IsoStore is in \Data\Users\DefApps\AppData\{<ProductIdGuid>}\Local\

Knowing the relevant product ID is pretty important, of course.

By the way, I took a look at the ProvXML functionality in the app, and it appears to be pretty limited; I think it only runs with the privileges of the app itself. Still useful, probably, but it's not the "do ALL THE THINGS" power that it was in WP7. They've restricted it.

In any case, awesome update!
[Windows Phone 8 Development and Hacking] contable:
Indeed is an awesome update, it makes it easier to understand how the WP8 filesystem works, because it´s different to the WP7 one.

Do you have an overview which provxml commands are working ?
[Windows Phone 8 Development and Hacking] GoodDayToDie:
So far as I can tell, it's basically just determined by the app capabilities (that is, the DMConfigProvXML call seems to be made in the context of the app). So, things like APNs and such work, and writing to those parts of the registry which the app would be able to write to *without* the RPCComponent's out-of-process component, and same for the filesystem. Installing apps using provxml should also work, but I think that only works for apps with license files...

I took a look at how the filesystem access hack works, and it's a mixture of brilliance and absurdity. In a way, WOLF has become the first person to produce a *usable* hack that runs as LocalSystem on WP8, even though it's not actually his code at all. I suspect that running third-party code this way will be hard, due to the signature enforcement, but it's well worth investigating.
[Windows Phone 8 Development and Hacking] AlvinPhilemon:
unable to get full filesystem access. instructions?
[Windows Phone 8 Development and Hacking] megasounds:
file access ??

NEVER MIND ...i have it !

see extra screen shot

How to get Full file system access?

i tried this

Enable the feature inside SamWP8 Tool

Restart your device

Connect your device via usb to your desktop

Restart your device

then i looked in my windows 8 pc under :

This PC\Samsung ATIV S\Phone

but NOT all dirs shows up

see here

can you please tell me how to get fulle FS access ??? (or am i stupid ?) :confused:
[Windows Phone 8 Development and Hacking] -W_O_L_F-:
What else you want to see?
[Windows Phone 8 Development and Hacking] AlvinPhilemon:
ability to create registry entries!
[Windows Phone 8 Development and Hacking] megasounds:
..mmm more ???

i think i see everything ?!?

now i can goto : This PC\Samsung ATIV S\Phone\Data\programs

here are the installed appplications

now we can do some reverse enginerening ;)

maybe you can add "advanced sounds" option

we all want get rid of the default sound theme i presume ;)

and last but not least

scheduled alarms

i do not want to wake up at night because an email came in. ;-(

something like this ...: http://www.jmd-software.net/page/Snotify.aspx

Thanks for all the GREAT work (russian) W_O_L_F !!!

m

:victory: :victory: :victory: :victory:
[Windows Phone 8 Development and Hacking] AlvinPhilemon:
Funny thing, I was opening random app folders and I found out FIFA 13 is run by an exe file! The execution file is "Fifa13wp8.exe". Native .exe's are allowed in the wp store?
[Windows Phone 8 Development and Hacking] contable:
@W_O_L_F:

I would like to know how it is possible to copy a file from the sdcard to Windows\System32\Provisioning folder.

I have tried it with with a self-created .provxml file but it doesn´t work.

That means that the .provxml possibilities are more limited than on WP7.

You mentioned that before.

For homebrew development it would be nice to know.
[Windows Phone 8 Development and Hacking] -W_O_L_F-:
you need to copy provxml to that folder? It's what my tool does! See provxml tab.
[Windows Phone 8 Development and Hacking] contable:
No. That was an example. I want to copy files to the documents folder of the office hub. Preferred PDF files.

---------- Post added at 07:42 PM ---------- Previous post was at 07:11 PM ----------

I want to create an app that can be choosen if you tab on a pdf file (e.g. email attachment). So far so good. After the app has launched the .pdf file should be stored to the isolated storage of the app. From there I want to copy the file automatically to the documents folder of the office hub.

If the file can be copied to that location it´s possible to handle it from the office hub (sending via email, upload to skydrive and so on.)

In the past I had created an app for WP7 devices: link but I could use the WP7RootTools SDK from Heathcliff...

Are you able to copy files to the documents folder ?
[Windows Phone 8 Development and Hacking] -W_O_L_F-:
I can MOVE it. Do you want to create app for Interop Unlocked phones?
[Windows Phone 8 Development and Hacking] contable:
Yes, that´s my intention.

An app that gives me the possibility to move a pdf automatically to the documents folder. Just on click.
[Windows Phone 8 Development and Hacking] jessenic:
Yes, this is how native Direct3D apps run on WinRT platforms.
[Windows Phone 8 Development and Hacking] Heathcliff74:
Congrats on this very cool tool!
[Windows Phone 8 Development and Hacking] GoodDayToDie:
Very cool indeed!

A couple comments:

1) I only get the "reboot, connect, reboot again..." message after I first turn the all-access toggle on, then off again, then on again. I get "please restart" any time I turn it from on to off, though.

2) You may want to add an option to reboot automatically; RPCComponent offers System_Reboot();
[Windows Phone 8 Development and Hacking] atifarkas:
I checked for some Samsung/Nokia app. In Samsung app I found a dll, which can list subkeys, read, write, files, directories, etc. I import it to the solution, Its compiled, but during running, its crashed:

{System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Phone.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=24eec0d8c86cda1e' or one of its dependencies. The system cannot find the file specified.

at Samsung.Phone.Native.Win32.Initialize()

at Samsung.Phone.Native.Win32.GetInstance()

at Samsung.Phone.Native.Win32.RegistryGetSubKeys(UInt32 HKEY, String pwszPath, String& pszValue)

at PhoneApp1.MainPage..ctor()

--- End of inner exception stack trace ---

at System.Windows.Navigation.PageResourceContentLoader.EndLoad(IAsyncResult asyncResult)

at System.Windows.Navigation.NavigationService.ContentLoader_BeginLoad_Callback(IAsyncResult result)}

Of course I added this to WMAppManifest.xml:

<Capability Name="ID_CAP_INTEROPSERVICES"/>

But its not helped. How can I add this dll, to my app?
[Windows Phone 8 Development and Hacking] GoodDayToDie:
Um, by going to the WP7 forum? That's not a WP8 library, it's useless on this OS.
[Windows Phone 8 Development and Hacking] -W_O_L_F-:
Looks like this DLL is from WP7.
[Windows Phone 8 Development and Hacking] atifarkas:
Sorry guys, this file also not referenced in the AppManifest.xaml. So samsung was too lazy to remove this dll, when they upgrade wp7 app, to win8...
[Windows Phone 8 Development and Hacking] GoodDayToDie:
I'm curious what app you got it from; I haven't seen any such DLL...
[Windows Phone 8 Development and Hacking] ChaosBoy:
Hi -W_O_L_F-,

thanks for your very great work!!!

Can you put the version of the app in the topic, so it's easier to see when it is updated.
[Windows Phone 8 Development and Hacking] atifarkas:
I founded this in here:

Samsung ATIV S\Phone\Data\programs\{EBE5DBCE-DA3C-4720-B04F-77699CF2728A}\Install

Samsung.Phone.Native.dll

I also found winmd file for registry writing in nokia here drive+ app. That program can simply install without interop capability in appmanifest.
[Windows Phone 8 Development and Hacking] GoodDayToDie:
So it is. That appears to be the Call Blocking app. Really odd that it would include a WP7 library... perhaps the same app is distributed for WP7 and WP8? In any case, that's definitely a WP7 library; it uses COM (rather than C++/CX) for native interop, and I've seen variations of that exact library in WP7 apps.

It also does not necessarily execute those commands with any particularly noteworthy permissions; it might literally just be a wrapper around the Win32 calls which would result in them being made with only the app's permissions (although app sandboxing was so strict in WP7 there wouldn't be much point in including registry write functions, etc. in that case).
[Windows Phone 8 Development and Hacking] djadry:
Thanks for this work :good:

Edit: I don't have the full File System access. I followed your instructions, but I can't see any system file in explorer!

I didn't see neither the MessageBox "Restart phone...".
[Windows Phone 8 Development and Hacking] GoodDayToDie:
You have to do the first step with the phone disconnected from the PC. I suggest toggling it on, then off (you'll get a message), then on again... that got me the expected message. Then, turn the phone off; at this point you can connect it to the PC. Wait for it to boot up and log in (assuming you have a lock code). If you don't see it show up in Windows Explorer, shut it down again and when it reboots, it will hopefully work.

'Yeah, the hack is somewhat finicky.
[Windows Phone 8 Development and Hacking] djadry:
That worked!

Now it would be interesting to have a screen orientation lock :)
[Windows Phone 8 Development and Hacking] GoodDayToDie:
We actually managed that in WP7 without too much trouble; it may be possible to do the same in WP8. It involved directly accessing the accelerometer driver and turning it off. This disabled *all* accelerometer features until you turned it on again - no tilt-based games, etc. - but it was a simple hack and mostly worked for those who needed it.