yashsingh1/xdaforums huggingface dataset:
[Windows Phone 8 Development and Hacking] hjc4869:
actually I even didn't add the SD card capability. I used your native access with some interesting caps and I will post it here.

it actually works..
[Windows Phone 8 Development and Hacking] hjc4869:
Forgive my Chinese and Japanese but you can see that it is wma.
[Windows Phone 8 Development and Hacking] contable:
I see.

When can you post the source here ?
[Windows Phone 8 Development and Hacking] hjc4869:
Actually source is not so important but here I will list the capabilities that i used. xap will be here in an hour.

after adding these capabilities, you can use NativeAccess library to operate files on C:\Data\User\Public and D:\

I only confirmed that i can delete any thing. Currently my GUI only support opening a file(with winrt storagefile api) and deleting file.

notice that many of these capabilities are useless, I didn't have time to check out what they are for. but I guess ID_CAP_PUBLIC_FOLDER_FULL and ID_CAP_STORAGE_MANAGEMENT make you see what located in C:\Data\User\Public and D:\

<Capability Name="ID_CAP_NETWORKING" />

<Capability Name="ID_CAP_MEDIALIB_AUDIO" />

<Capability Name="ID_CAP_MEDIALIB_PLAYBACK" />

<Capability Name="ID_CAP_SENSORS" />

<Capability Name="ID_CAP_WEBBROWSERCOMPONENT" />

<Capability Name="ID_CAP_ENTERPRISE_AUTHENTICATION"/>

<Capability Name="ID_CAP_ENTERPRISE_ENROLLMENT"/>

<Capability Name="ID_CAP_ENTERPRISE_SERVICE"/>

<Capability Name="ID_CAP_BUILTIN_SYMBOLICLINK" />

<Capability Name="ID_CAP_USB" />

<Capability Name="ID_CAP_APPRESOLVER"/>

<Capability Name="ID_CAP_APPPREINSTALL_DIRECTORY"/>

<Capability Name="ID_CAP_EMPLOYEEAPPS_ADMIN"/>

<Capability Name="ID_CAP_STORAGE_MANAGEMENT" />

<Capability Name="ID_CAP_PUBLIC_FOLDER_FULL" />

<Capability Name="ID_CAP_PM_INSTALL" />

<Capability Name="ID_CAP_PM_BSS" />

<Capability Name="ID_CAP_PM_1ST_PARTY" />

<Capability Name="ID_CAP_OEMPUBLICDIRECTORY" />

<Capability Name="ID_CAP_MICROPHONE" />

<Capability Name="ID_CAP_PHONEDIALER" />

<Capability Name="ID_CAP_MULTIMEDIA_ENCODER_HARDWARE" />

<Capability Name="ID_CAP_MEDIALIB" />

<Capability Name="ID_CAP_MEDIALIB_VIDEO" />

<Capability Name="ID_CAP_OEM_ADC"/>

<Capability Name="ID_CAP_INTEROPSERVICES"/>

<Capability Name="ID_CAP_MEDIALIB_PHOTO_FULL" />

<Capability Name="ID_CAP_DEVICE_MANAGEMENT" />

<Capability Name="ID_CAP_DEVICE_MANAGEMENT_ADMIN" />

<Capability Name="ID_CAP_DEVICE_MANAGEMENT_BOOTSTRAP" />

<Capability Name="ID_CAP_DEVICE_MANAGEMENT_SECURITY_POLICIES" />

<Capability Name="ID_CAP_PUSH_NOTIFICATION"/>

<Capability Name="ID_CAP_PROXIMITY"/>

<Capability Name="ID_CAP_CELL_WNF"/>

<Capability Name="ID_CAP_CELL_API_OEM_PASSTHROUGH"/>

<Capability Name="ID_CAP_CELL_API_COMMON"/>

<Capability Name="ID_CAP_CELL_API_UICC_LOWLEVEL"/>

<Capability Name="ID_CAP_CELL_API_LOCATION"/>

<Capability Name="ID_CAP_DEBUG" />

<Capability Name="ID_CAP_DEBUG_FOLDERS" />

<Capability Name="ID_CAP_BUILTIN_CREATEPERMANENT" />

<Capability Name="ID_CAP_BUILTIN_DEFAULT" />

<Capability Name="ID_CAP_BUILTIN_PROFILE" />

<Capability Name="ID_CAP_BUILTIN_BASEPRIORITY" />

<Capability Name="ID_CAP_BUILTIN_CREATEGLOBAL" />

<Capability Name="ID_CAP_BUILTIN_SHUTDOWN" />

<Capability Name="ID_CAP_BACKGROUND_WORKER" />

<Capability Name="ID_CAP_WPTOOLS_INSTALL_FOLDER" />

<Capability Name="ID_CAP_BUILTIN_TCB" />
[Windows Phone 8 Development and Hacking] contable:
I would say it must be ID_CAP_PUBLIC_FOLDER_FULL.

As I have all file-operations enabled (it´s a workaround) I will test it and reply.

Can you post the code for deleting a file on the sd card ?

Thanks for the info.:good:
[Windows Phone 8 Development and Hacking] hjc4869:
Here it is part of my source code. NativeFileSystem is from NativeAccess.

"dir" can be D:\xxx .

var nativeFileSystem = new NativeFileSystem();

void DeleteDirectory(string dir)

{

if (!dir.EndsWith("\\")) dir += '\\';

var files = nativeFileSystem.GetFiles(dir + '*', true);

if (files == null || files.Length == 2)

{

NativeFileSystem.DeleteDirectory(dir.Remove(dir.Length - 1));

return;

}

foreach (var file in files)

{

if (file.Name == "." || file.Name == "..") ;//ignore

else if (file.Attributes.HasFlag(FileAttributes.Directory)) DeleteDirectory(dir + file.Name);

else

{

nativeFileSystem.DeleteFile(dir + file.Name);

}

}

NativeFileSystem.DeleteDirectory(dir.Remove(dir.Length - 1));

}
[Windows Phone 8 Development and Hacking] GoodDayToDie:
See, I *swear* I was going to get around to enumerating the mounted drives at some point. Really, I promise I was! But there's always so much to do... this is fantastic work, hjc, thank you for sharing your research with us! Accessing the D: drive directly is much more straightforward that going through that silly official API. In any case, have a bunch of Thanks!

Either, or both, of those capabilities could grant access to the SD card; I really don't know. By the way, my webserver is perfectly capable of handling drive letters. You may need to add the relevant CAP, but it's interesting to see that you can get error 5 (ACCESS DENIED, and I really need to fix the error reporting for user-friendliness) on C:\ (or just \) and (without the required caps) on D:\, but E:\ gives error 3 (PATH NOT FOUND).
[Windows Phone 8 Development and Hacking] contable:
Indeed it´s great !

Please give me a hint how to add these capatilities.

If I add them to my manifestfile I get an error.

What am I missing ?
[Windows Phone 8 Development and Hacking] hjc4869:
just patch the SDK!!

When you see an error, switch to "Output" in Visual studio.

it tells you that a .target file(actually xml) file "thinks" the manifest goes wrong.

then ,you can comment the line that reports the error message (request starting visual studio with administrator).
[Windows Phone 8 Development and Hacking] contable:
Ok, running VS 2012 as admin now...

---------- Post added at 01:00 PM ---------- Previous post was at 12:25 PM ----------

Ok,

patched VS 2012 succussfully, XAP is running again...

Thx again for your help !:good::good::good:

---------- Post added at 01:07 PM ---------- Previous post was at 01:00 PM ----------

If I try to deploy your xap I get an error:

Correct the capatility values in "WMAppManifest.xml"

Any help ?
[Windows Phone 8 Development and Hacking] GoodDayToDie:
Ah nice, I was just adding them to the XAP after building. I tried editing the XSD, but while that added the types to the auto-complete, it didn't actually let them pass validation. Very annoying. There's probably another file I'd need to tweak for that.
[Windows Phone 8 Development and Hacking] contable:
Ok, I got it....

---------- Post added at 01:24 PM ---------- Previous post was at 01:11 PM ----------

This is a great progress ! Really like it.:good:

Many thanks for your research...

---------- Post added at 01:32 PM ---------- Previous post was at 01:24 PM ----------

As the internal folders are visible now we are able to copy and move files from there and to there... Great !!!
[Windows Phone 8 Development and Hacking] hjc4869:
hope more homebrew will come out..

btw , there seems to be the capability of installing xaps ,but I don't know how to call the package manager.

is pac-man service in wp8 similar with that in wp7?

possibly we can complete that without root access, just add the permission to the app
[Windows Phone 8 Development and Hacking] GoodDayToDie:
I believe you're right. We should try to find the function prototypes for the pacman functions. The fact that the capabilities to use them are available to use should be put to good use.
[Windows Phone 8 Development and Hacking] jessenic:
This is what I did for WPH Tweaks to disable the manifest validation. Add this snippet at the end of your .csproj before the closing tag:

<Target Name="ValidateWMAppManifest">
<!-- Do nothing -->
</Target>
[Windows Phone 8 Development and Hacking] hjc4869:
That's cool! Thanks!
[Windows Phone 8 Development and Hacking] ultrashot:
There is no problem at all - I have them. XAPDeployer porting is the first in my TODO list after receiving Ativ S which is gonna happen this monday.
[Windows Phone 8 Development and Hacking] contable:
Do you mean the on-device XAPDeployer ?
[Windows Phone 8 Development and Hacking] ultrashot:
sure
[Windows Phone 8 Development and Hacking] contable:
Great !

BTW do you know how to use the ID_CAP_OFFICE_LAUNCH_URL capability ?
[Windows Phone 8 Development and Hacking] hjc4869:
Have you found out where the export functions related to pac-man are? I've tried to do so but up to now I didn't see them in any DLL.
[Windows Phone 8 Development and Hacking] Mattemoller90:
If you are member of "Windows Phone App Studio" you can install Your app (develop in "Windows Phone App Studio app) directly from Your phone, is it useful?
[Windows Phone 8 Development and Hacking] hjc4869:
WELL, to tell the truth, I'm not quite interested in figuring out every single capability's usage.. In fact I'm trying to push all the capabilities together in the registry and create one like "ID_CAP_ROOT_ACCESS" then it will be more convenient..
[Windows Phone 8 Development and Hacking] contable:
Am I right that the copy and move commands don´t work because of the missing write access to the sd card ?

If so I could share my workaround for extending your fileexplorer.

In my PDF to Office app I can write to the sd card.

Let me know.
[Windows Phone 8 Development and Hacking] jessenic:
Writing and reading from SD card works fine for me. What are you trying to accomplish?

var files = Directory.GetFiles("D:\\");
foreach (var file in files)
{
System.Diagnostics.Debug.WriteLine(file);
}
using (var writer = File.CreateText("D:\\test.txt"))
{
writer.WriteLine("Features!");
}
File.Copy("D:\\test.txt", @"C:\Data\Users\Public\test.txt");
[Windows Phone 8 Development and Hacking] contable:
Try to use FileSystem.MoveFile or FileSystem.CopyFile for copying a file from documents folder to D:\\

Didn´t work for me.
[Windows Phone 8 Development and Hacking] jessenic:
System.IO.File.Copy(@"C:\Data\Users\Public\test.txt", @"D:\anothertest.txt");

Working fine here. I'm not using GDTD's libraries, but the builtin methods of C#
[Windows Phone 8 Development and Hacking] contable:
Let me test your way....

---------- Post added at 02:23 PM ---------- Previous post was at 02:14 PM ----------

You´re right. Works fine here. :good:

I was too concentrated on GDTD´s library...
[Windows Phone 8 Development and Hacking] hjc4869:
You should know that the Win32 API GDTD uses does not support cross-volumn copy....

so use C# instead..
[Windows Phone 8 Development and Hacking] megasounds:
not working....

i've got a problem when deploying it to my phone

please help....

see screenshot
[Windows Phone 8 Development and Hacking] contable:
Run BootstrapSamsung.xap and EnableAllSideloading.xap from GDTD again and you will be able to deploy the FileExplorer....

I had the same problem after GDR3 update.
[Windows Phone 8 Development and Hacking] megasounds:
THANKS! that worked !!!!

m
[Windows Phone 8 Development and Hacking] contable:
No need to post... Just press the thanks button...;)
[Windows Phone 8 Development and Hacking] djtonka:
wow I am able to play mkv and flv video from SD :)
[Windows Phone 8 Development and Hacking] lomax50:
I tried it and works fine.Open all my files, including ebooks...
[Windows Phone 8 Development and Hacking] GoodDayToDie:
Ah whoops, that was a flag that I may have forgotten to add to the library. I'll see about fixing that!
[Windows Phone 8 Development and Hacking] GoodDayToDie:
No, that flag (MoveFlags.AcrossVolumes, which corresponds to MOVEFILE_COPY_ALLOWED and has the integer value of 2) is present on the two-argument version of MoveFile. Are you using the three-argument version and specifying MoveFlags.None (0) instead? That's certainly not going to work.

I admit I haven't tested the inter-volume move, but according to MSDN it should work. You can check the source if you like; that isn't a recent change.
[Windows Phone 8 Development and Hacking] contable:
Where are stored the capabilities in the registry ?

and maybe you know where are stored the system URI´s like "ms-settings..."
[Windows Phone 8 Development and Hacking] contable:
Just a suggestion:

use this code for a better filesize display (KB and MB):

double num2;
string str;
if (fi.Size > 1048576)
{
num2 = (double)fi.Size / 1048576.0;
str = num2.ToString("N2") + " MB";
}
else
{
num2 = (double)fi.Size / 1024.0;
str = num2.ToString("N2") + " KB";
}
this.Size = str;
[Windows Phone 8 Development and Hacking] jessenic:
Here are some suggestions for other sizes too: http://stackoverflow.com/questions/...ble-file-size-in-bytes-abbreviation-using-net
[Windows Phone 8 Development and Hacking] contable:
Do you think a GB or TB display is needed ?
[Windows Phone 8 Development and Hacking] jessenic:
At least B, KB, MB and GB, I have very small and very big files on my SD card.
[Windows Phone 8 Development and Hacking] contable:
Agreed. All possible units should be displayed.

Beside I´m missing the "rename function" which I have allready coded for my app.
[Windows Phone 8 Development and Hacking] hjc4869:
rename and folder create are the features that I forgot... I will add them in the next release.

This is really a rough project that I've only spent minutes on designing the UI.. Maybe on the next weekend I will try to make it better.
[Windows Phone 8 Development and Hacking] hjc4869:
HKLM\SOFTWARE\Microsoft\SecurityManager\

Things are interesting in it. At least I know that we can edit every app's capability by editing the registry...

I don't really know much about those uri ..
[Windows Phone 8 Development and Hacking] contable:
Anyway the project is great. Take your time.:good:
[Windows Phone 8 Development and Hacking] jessenic:
I don't really like the copy, move, etc functions in the appbar (just my opinion), maybe you should also add a context menu for files with the copy, delete, move operations like in Heathcliff's WP7 Root Tools. You can find the context menu in the wptoolkit NuGet package.
[Windows Phone 8 Development and Hacking] contable:
I disagree. The fileoperations in appbar are on the right place, because a context menu takes more time to open.

That´s the reason why the next version of my app will have all fileoperations in the appbar, too.
[Windows Phone 8 Development and Hacking] jessenic:
Well, it's just my opinion. I don't care if it takes more time, it just feels more natural that way. Having both options would make me happy though :)
[Windows Phone 8 Development and Hacking] contable:
So for single fileoperations he could add a contextmenu.
[Windows Phone 8 Development and Hacking] hjc4869:
Do you know how to add multiple items selection to longlistselector just like the system SMS app ?
[Windows Phone 8 Development and Hacking] contable:
Do you mean tapping on the left side to enable multi-selection ?
[Windows Phone 8 Development and Hacking] hjc4869:
Yes.. Is it simple or complicated?
[Windows Phone 8 Development and Hacking] contable:
Never tried, but I think I have a code sample...
[Windows Phone 8 Development and Hacking] hjc4869:
where is the sample ....

I wanna have a try..
[Windows Phone 8 Development and Hacking] contable:
Will check it tonight when I'm back home.
[Windows Phone 8 Development and Hacking] jessenic:
Maybe use something like this: http://listboxwthcheckboxes.codeplex.com/
[Windows Phone 8 Development and Hacking] contable:
If this solution doesn´t work we could decompile an app which features the wished multiselect-longlistselector.
[Windows Phone 8 Development and Hacking] Sunius1:
Are you sure it's using LongListSelector? For all we know it could be using ListBox with SelectionMode.Multiple and custom XAML style.
[Windows Phone 8 Development and Hacking] ultrashot:
who cares as long as you can add your own checkbox to list item template?
[Windows Phone 8 Development and Hacking] contable:
I´m still using Listbox because I don´t see any difference.

Did you get your Ativ S today ?
[Windows Phone 8 Development and Hacking] ultrashot:
Yes. This one: http://xdaforums.com/showthread.php?t=2400756

Works fine, enters mass storage and all other stuff :)
[Windows Phone 8 Development and Hacking] Sunius1:
Has anyone know where mscorlib.dll and the pack are stored on the device (if anywhere)? On C:\Windows\system32, only native image is present. Furthermore, if you load that assembly via reflection, module path is equal to C:\Windows\system32\mscorlib.dll - almost as if it was a symbolic link to somewhere else.

Note, I made those observations with a Lumia 920, so no interop unlock for me. If anyone with an unlocked Samsung Ativ S could look for that dll, I would be very grateful.
[Windows Phone 8 Development and Hacking] jessenic:
There is no mscorlib except the .ni.dll one.
[Windows Phone 8 Development and Hacking] Sunius1:
Nowhere on the device? That's strange. Maybe there some .winmd files somewhere? I wonder where it pulls data for reflection then. Because it's obviously doing it during runtime.

Would anyone mind executing a program on their unlocked device that used this API?

http://msdn.microsoft.com/en-us/library/windows/desktop/ms682631(v=vs.85).aspx

I could write it, and you could compile it on your own if you wanted to. We might be able to find out more of how WP loads assemblies (unless that knowledge is somewhere out there, though I wasn't able to find it).
[Windows Phone 8 Development and Hacking] jessenic:
I can open the native images just fine in Reflector, there must be some information in them. Also WP8 does not have Kernel32 which has the function you mentioned.
[Windows Phone 8 Development and Hacking] Sunius1:
Oh my. Thanks... /facepalm at myself. I must have tried opening emulator ones (probably?), as I could have sworn those didn't contain any metadata...
[Windows Phone 8 Development and Hacking] GoodDayToDie:
Yeah, the .ni.dll files open fine in a .NET decompiler.

As for kernel32, it's not that it isn't present... they just broke it up and moved the pieces around (bloody pain in the ass...). Kernel32base.dll contains much of the stuff that was in kernel32.dll, but not all; you may have to poke around a bit to find the rest.
[Windows Phone 8 Development and Hacking] cerebos:
When I try to install the app I'm getting "Can't install company app There's a problem with this company app. Contact your company's support person for help". This is on Samsung ATIV S with developer GDR3 and developer and interop unlock. I have no company account on this phone. Any way to install the app?
[Windows Phone 8 Development and Hacking] ngame:
Use search for how to install (Sideload) xap files on Windows Phone 8.

You have to use SDK 8.0 and PC to sideload any xaps
[Windows Phone 8 Development and Hacking] GoodDayToDie:
Wow... OK, remember how you sideloaded the interop-unlock helper app (and probably the bootstrap and capability-unlock apps too)? Shocking news alert: that's how you sideload apps! Why are you trying to sideload this one a different way?
[Windows Phone 8 Development and Hacking] tonbonz:
Getting the runtime error fix capabilities in wmappmanifest error when deploying to Ativ Odyssey on 8.0.10327.77. Interopunlocked and running SamWP8. Redid bootstrap and enableallsideloading with success and still get the error.
[Windows Phone 8 Development and Hacking] -W_O_L_F-:
You have GDR2. If this app uses any of GDR3 capabilities, there will be an error. Most developers include ALL capabilities in their (homebrew) apps.
[Windows Phone 8 Development and Hacking] LeoL00:
hjc4869, greetings! In the first, thanks for the program! Tell please - the project is closed or possible the further progress?
[Windows Phone 8 Development and Hacking] tze_vitamin:
It this work on my Lumia 535? I have win 10..

I try to install file explorer arm ..download it on my sd card press install and nothing happend..

How to install?
[Verizon Samsung Galaxy S 4] Mercutio5:
Is there a way to enable softkeys/navbar in the stock ROM?
[8125, K-JAM, P4300, MDA Vario General] Button:
Hi ALL!

What is the Wizard bootloader command opposite to r2sd?

sd2r - is invalid :(

Tnx.
[8125, K-JAM, P4300, MDA Vario General] Button:
I found by myself :) .

I didn't find the command, but i just start bootloader when SD card (with image created by r2sd) was in slot, and then command appeared on the screen, - to restore all data push the voice button. That's it :wink: .
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] iamwiki:
hello guys, can someone help me whats the proper GAPPS to be installed on this cyanogenmod 10 rom

http://download.cyanogenmod.org/?device=coconut&type=nightly <----- heres the link of the CMOD ive used

Thanks in advance!!!
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mihahn:
Use the gapps for Android 4.1.2 ;)

For example you can find them here (cm10 gapps) :)

And please search before posting, because you could've found out in 5 seconds by using google :good:
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] sacentre:
If I edit a file on my GT-N7000, is there an app that will automatically copy that file to my other Android devices overwriting the older version as soon as the devices are connected to a PC?

I only want to do this when I have the Android devices (in this case a GT-N000 and a GT-N8020) connected to a Windows PC. I usually have them connected via the stock usb cables and can copy files to/from using either Windows Explorer or MyPhoneExplorer. What I would like is a way to do this automatically. If I have edited a document on one device, it gets copied to the other ovrrwriting the older version.

Thanks in advance.

Trevor.
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] M3TALLICA:
Sync Toy.
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] nvrmndryo:
I am not getting good backup on any rom , my original battery is weak but i have bought 5200mah battery few months ago n that battery is not working as it should .I dont like samsung roms they are very slow . any suggestions ? i m using cm10.2 rom which is very stable .
[Android Apps and Games] PicomatStudios:
There's a free version of Magic Keyboard 2 now on Google Play

All features are unlocked for the first 30 days after which some will de-activate..

Features:

40 standard themes

Theme designer (create your own themes with custom colours, sizes and background images)

Font settings

Predictive text, based on several words of context

Next word prediction

Learning based on your typing

Context sensitive (optional) auto-correct

Configurable auto-text

Multi touch

A configurable number of displayed suggestions

Smart apostrophe handling

QWERTY, AZERTY, QWERTZ, JCUKEN keyboard layouts

Keyboard re-sizing (portrait and landscape)

Separate suggestion bar re-sizing

User dictionary editor including frequency setting

Speech-to-text (ICS style and 2.x style available)

Profanity filter

Special and accented characters via long-press

A number pad

Symbols keyboards

Configurable emoticons keyboard

An emoji keyboard with 500+ emoji (Android 4.1+)

Sound and vibration effects

Languages supported:

British English

US English

Spanish / Español

Italian / Italiano

French / Français

German / Deutsch

Russian / русский

Hebrew / עברית

Polish / Polski

Czech / Ceský

Swedish / Svenska

Danish / Dansk

Norwegian / Norsk bokmål

Screenshots:
[Android Apps and Games] mars_army:
looks great
[Android Apps and Games] PicomatStudios:
Thanks, any feedback welcome if you decide to try it out.
[Android Apps and Games] mars_army:
i just installed it, really cool work! :good:
[Android Apps and Games] PicomatStudios:
Version 2.2.1 has a few new features, including a revamped auto-correction engine + aggression setting.
[Android Apps and Games] PicomatStudios:
Android KitKat has colour emoji at long last !
[Streak 5 General] arryhariyadi:
hello, a dev ported BBM for gingerbread, but still Forces Closed.

Please visit original thread for how-to guide [thread closed] : http://xdaforums.com/showthread.php?p=46761564

Take a look and consider a help to make it work. :)

EDIT : The Dev just confusing everyone's waiting for this app. :confused:

Sent from my Dell Streak 5

Powered by INDOSAT
[Streak 5 General] nom051205:
He....he....he....he..... looks like the guy who ported it got banned from XDA.

I think its very hard to port without sources, and the framework so different.