Is it possible to trigger POLICY UNLOCK Lumia ? - Windows Phone 8 Q&A, Help & Troubleshooting

I've just look out a pretty "CreateFileW" function in "Nokia.SilentInstaller.Runtime" file.
It work's over the Standard "DeviceIOControl" access level.(Requires InteropServices)
We can "Copy" any type of file to the any part of the whole OS "AcrossAllPartion".
Having the same 'destName' file will be replace.
Edit:
"Nokia.SilentInstaller.Runtime.winmd" uses "RPCInterop" service and NtdkClient.dll uses "DeviceIOControl" Service.
@GoodDayToDie Solved problem about "NrsRuntime.winmd" file. It requires Native "NtdkClient.dll" file in xap path (dependency). Just need to include file in project.

Related

Installing Certificates issues

Hi All
I have the HTC tytn ii ( Kaiser ) and getting confused over trying to install a certificate required to sync to an exchange server..
I have the certificate, dropped it into various places on the Kaiser - ie/ windows folder - and tried to a) execute directly b) execute using the certinstaller.exe that the phone has on it.
On both occasions the file and program wont load the certificate....either stating 'run up a program to open the cert then find the cert to open'....or 'the certificates could not be imported. Please contact your system administrator'
The certificate issued to me also sits on my laptop and when double clicked will self execute and install so I know the cert is a good one..
Anyone have similar issues...or hopefullly a fix ??
Regards
Rich
What format is the exported certificate in? It needs to have a .cer extension for the built in CertInster.exe utility to be able to use it. Typically the cerificate is delivered as a .cab file which your IT/Exchange people should provision, however you should be able to use the 'raw' .cer root CA certificate.
Some info here: http://www.microsoft.com/technet/so...6b6-0038-4e56-b1d4-b7b9af9ea6ef.mspx?mfr=true
Andy
Ask IT to do it for you with device management software
ADB100 said:
What format is the exported certificate in? It needs to have a .cer extension for the built in CertInster.exe utility to be able to use it. Typically the cerificate is delivered as a .cab file which your IT/Exchange people should provision, however you should be able to use the 'raw' .cer root CA certificate.
Some info here: http://www.microsoft.com/technet/so...6b6-0038-4e56-b1d4-b7b9af9ea6ef.mspx?mfr=true
Andy
Click to expand...
Click to collapse
Or you can ask your IT department to use modern tools to deploy certificates, software, etc like Microsoft System Center Mobile Device Manager or EveryWAN Mobility Manager mobile device management tools.

After Downloading @ HD7 where can I find download flie?

Hello,
I would like to know how can I find the downloaded files in HTC HD7 with WP7?
I have downloaded files from my hotmail.
It says downloading when download is finish,I can't open the file.
WP said Can't open attachment.
(There's no application associated with this file type)
I'd like to know where this downloaded attached files saved in phone.
I looked for the files by using TouchXplorer but I can't make it at all.
I have Registry Editor, TouchXplorer and my OS version is 7389.
Can someone give me an idea?
Thank in advance!
i think that file can't be accepted with wp7.
yes Ttblondey ,
I am trying to install .ttf , wp7 can't accepted.
But the download was finished.
I wonder if I can find this downloaded file.
I have chance to move to Windows\Fonts folder
The system does not work that way. Once you download an attachment, it gets stored by Outlook in some encrypted, hidden file somewhere that can only be accessed through the e-mail app. If the phone can't read it, then you are pretty much out of luck.
You are not meant to have file system access, so WP7 works very differently than a computer with file system access. Opening files that the OS does not support is not something you can do... yet.
A
Sent from my GT-I9000
Thank for all your advice.
I attached as a txt file to hotmail.
It saved as to the office hab. By using TouchXplorer, I found my text file under Document Folder. I changed file extension to .ttf.
Copy & paste at Windows\Fonts
can't do yet to change fonts in WP OS , still trying

[Q] Where does file created by fopen() resides ?

In Windows Phone 8 Runtime component (C++/CX) we can use fopen or CreateFile2 to create/open a file. For example
Code:
fopen("hello.txt", "w");
You see, I don't explicitly specify any path. And I can't figure out where this hello.txt resides? It can't be in Installed Location, and it isn't in Local Folder. Where is it?
Well, you could try the following:
_fileno() to get the integer file descriptor from the FILE*
_get_osfhandle() to get the Win32 HANDLE from the fd
GetFileInformationByHandleEx() to get the file name from the HANDLE.
I *think* those are even all supported on WP8, though I haven't checked except for the last one.
APIs like GetFullPathName() would make it easy, but may not be supported. CreateFile2 would let you skip the first two APIs in that list, if it works.
I inspected the WP8 .vhd file, and saw that my file was created in the Install folder. It looks like native code does not conform to the rule (Install folder is read-only location)
Whaaaaaat?!? That's... um. Serious. I'll look into it.
onmyway133 said:
I inspected the WP8 .vhd file, and saw that my file was created in the Install folder. It looks like native code does not conform to the rule (Install folder is read-only location)
Click to expand...
Click to collapse
Are you sure it does not create it on the root of the isolated storage space? That's rather unexpected to have the file in a read-only folder...
The install location is read/write to the app.
What
the
hell?
I can send test code if anybody wants, but it's easy enough to check yourself. You don't even need native code to do it, the .NET APIs work well enough.
I am somewhat confused.
mcosmin222 said:
Are you sure it does not create it on the root of the isolated storage space? That's rather unexpected to have the file in a read-only folder...
Click to expand...
Click to collapse
You can create a simple project to test this. In the C++ WP Runtime Component project, just use fopen or CreateFile2
Then use Hyper-V manager and Disk Management to easily inspect the WP .vhd file (I'm using Emulator)
You can use some things like IsoStoreSpy to see that the newly created file does not reside in the Local Folder (in WP8, they rename Isolated Storage to Local Folder)
I wrote a small app to test it; I can share the source if you want. It's really simple. I used the native APIs to create the file and write to it, then used the managed APIs to confirm it was there and read it, then used the native APIs to delete it, and the managed ones to confirm it was gone. Very simple. I then used the managed APIs to create the file myself (await Package.Current.InstalledLocation.CreateFileAsync("hello.txt")) and it worked.
Have you tried to create a xap file in the Install folder and reboot?
My 8X is freezing after creating a xap...
@spikedviper: No, I haven't tried anything like that. I don't seem to have write access from my app to the folder where pre-installed / OEM XAPs reside.
I did try editing the manifest; I was able to edit it with no problems but changing the capabilities didn't *do* anything, so I'm pretty sure it's still only parsed at install time.
hm...so what is the default path if no path specified?
looks like it stores it here: ms-appdata:///Local/ anyway check out "Data for Windows Phone" at msdn

[Dev] How can I gain access to file system on WP8

Hi,
I know this may be a hard question but I want to ask if we can gain the access to the file system on WP8 without any unlocking/jailbreaking? Basically I need this for my app. Currently, some explorer app on Store can also do that (Pocket File Explorer).
Thanks,
minhanhhere said:
Hi,
I know this may be a hard question but I want to ask if we can gain the access to the file system on WP8 without any unlocking/jailbreaking? Basically I need this for my app. Currently, some explorer app on Store can also do that (Pocket File Explorer).
Thanks,
Click to expand...
Click to collapse
What do you mean by access to the file system?
You can have access to the SD card and to picture, video and music library without interop unlock ?
But you won't get access to the full file system...
gipfelgoas said:
What do you mean by access to the file system?
You can have access to the SD card and to picture, video and music library without interop unlock ?
But you won't get access to the full file system...
Click to expand...
Click to collapse
I need to gain access to Pictures/Video/Music public folder.
With "folder", I mean not using the MediaLibrary.
For example, if we using Pocket File Explorer, we can see that in folder Pictures/Camera Roll of Lumia 1020 or Lumia 1520, threre are PureView photos (named as *******_hi_res.jpg), but the MediaLibrary does not give me these files. Pocket File Explorer can create subfolder in the Public folder too. We cannot do that with MediaLibrary.
And I need this ability on WP8.0, not WP8.1
minhanhhere said:
I need to gain access to Pictures/Video/Music public folder.
With "folder", I mean not using the MediaLibrary.
For example, if we using Pocket File Explorer, we can see that in folder Pictures/Camera Roll of Lumia 1020 or Lumia 1520, threre are PureView photos (named as *******_hi_res.jpg), but the MediaLibrary does not give me these files. Pocket File Explorer can create subfolder in the Public folder too. We cannot do that with MediaLibrary.
And I need this ability on WP8.0, not WP8.1
Click to expand...
Click to collapse
You need a special ability, ID_CAP_MEDIALIB_PHOTO_FULL, which is normally forbidden. Apps like Moliplayer or Pocket File Manager are partnering with Nokia, that's why they got the capability.

anyway to insert speech language on system directory?

hi, I have an interop unlocked Lumia 830, and i've installed windows 10 mobile preview on this, but I can't download speech languages, is there anyway to put this on the C: folder on phone with full file system access and interop unlock?
This can only be doned before you upgrade to WM10.
I used to make a copy of DUShared directory on my PC. Every time i install wm10 interopunlock, full acces System , copy, update phone...install
EDIT: create those directories inside DUShared. Extract and copy inside DUShared the updateimput.xml file.
extract and copy inside PackagesToInstall directoy the speeech files from my ondrive account.
https://onedrive.live.com/redir?resid=BB765A062F52FF66!3749&authkey=!AL5PlqTVqoco8WM&ithint=folder,
augustinionut said:
I used to make a copy of DUShared directory on my PC. Every time i install wm10 interopunlock, full acces System , copy, update phone...install
EDIT: create those directories inside DUShared. Extract and copy inside DUShared the updateimput.xml file.
extract and copy inside PackagesToInstall directoy the speeech files from my ondrive account.
https://onedrive.live.com/redir?resid=BB765A062F52FF66!3749&authkey=!AL5PlqTVqoco8WM&ithint=folder,
Click to expand...
Click to collapse
when I click to search updates it tell that the phone was updated, what is the process?
I think:
1)copy those files in phone folders.
2)speech, ad language-download,
3)settings, update.
Or only 1 and 3.
I think i have only one part of packagestoinstall. Only cortana in spanish is talking

Categories

Resources