Access all files windows phone

Как управлять файлами в Windows Phone 8.1?

Управление файлами в WP никогда не было таким простым, как это стало с выходом Windows Phone 8.1. Существует два места, в котором могут располагаться файлы на вашем смартфоне Lumia: Локальное хранилище и Облачное хранилище.

1. Локальное хранилище (Local Storage) – это файлы, которые хранятся в памяти телефона или на карте памяти. Они включают в себя офисные документы, музыкальные файлы и фотографии. Есть два способа управлять этими файлами:

Первый заключается в использовании компьютера, подключения к которому осуществляется с помощью USB-кабеля, идущего в комплекте с вашим устройством на Windows Phone. Подключив смартфон к ПК и установив необходимые драйвера (поиск и установку драйверов система производит автоматически), вы увидите свой телефон как съемный диск. После этого, можно работать с файлами с помощью стандартного Проводника.

Второй способ заключается в использовании файлового менеджера прямо с телефона. Несмотря на то, что в магазине представлено много приложений, советуем вам использовать программу Files – официальный файловый менеджер от Microsoft. Он предустановлен на большинство новых смартфонов – Lumia 830, 930, 535 и других. Если у вас его нет – скачать его можно совершенно бесплатно. Files позволяет совершать с файлами все необходимые действия: перемещать, удалять, переименовывать, создавать новые папки и т.д.

2. Облачное хранилище (Cloud Storage) – в роли облачного хранилища для Виндовс Фон выступает сервис OneDrive, доступ в который можно получить с помощью одноименного приложения, встроенного в Windows Phone 8.1. Хранение в “облаке” подразумевает под собой, что для доступа к файлам вам будет необходимо подключение к интернету. У такого способа хранения есть большой плюс: если вы потеряете свой смартфон, то с вашими файлами ничего не случится, ведь хранятся они в файловых хранилищах компании Microsoft.

Кроме этого, есть много сторонних сервисов для “облачного” хранения ваших данных, но все же, лучше отдать предпочтение официальному клиенту.

Если у вас есть вопросы, касающиеся хранения файлов на смартфонах с WP 8.1, задайте их в комментариях.

[GUIDE] Full FileSystem Access over SFTP / CMD over SSH on Windows 10 Mobile

snickler

Retired Forum Moderator / Inactive Recognized Deve

This guide uses the built-in SSH server on the phone that gets activated once you enable Device Discovery to give us TRUE full file system access. MTP doesn’t truly give full file system access as there are files and folders that aren’t accessible still.

NOTE: The automation of the steps listed in this whole guide has been incorporated into an easy GUI within @gus33000 ‘s app called Interop Tools. Big thanks to him for taking the time to simplify this whole process.

Many thanks to @gus33000 [For the simplification and guinea pig process ] and @black_blob [ For making me try the UMCIAuditMode trick again]!

Manual Steps for SFTP

  • @djamol’s Root Tool , or even the OEMSetting.reg tweak that @WojtasXda came up with
  • Some SFTP program (Swish Easy SFTP works the BEST, WinSCP works second best, but for some reason it can’t read the root C: drive from SFTP).
  • If you’re using @djamol’s Root Tool, use @vcfan’s Lumia Registry Editor for this
  • The following keys should be set to the following string values under the Path of System\Currentcontrolset\control\ssh\sirepuser

Represented in this guide as key: value

stfp-home-dir : C:\
default-home-dir : C:\
sftp-mkdir-rex : .*
sftp-open-dir-rex : .*
sftp-read-file-rex : .*
sftp-remove-file-rex : .*
sftp-rmdir-rex : .*
sftp-stat-rex : .*
sftp-write-file-rex : .*
auth-method : password
user-pin : 1234

  • After you’ve verified that at least one of these keys have been set, exit the app
    [*] Go to the phone settings app and put your Windows 10 Mobile phone in Developer Mode, activate Device Discovery then turn on Pair mode
    [*] Pair to your phone using WConnect, either from usb connect mode («wconnect usb«) or IP (wconnect youripaddress) using the pin on your device
    [*] When this is complete, go to %USERPROFILE%\appdata\local\Microsoft\WConnectSrv. In this directory, you should see a privkey.pem file. Hold on to this
    [*] Open up PuttyGen, click on the Conversions menu and then click Import key. Point to the path that contains the privkey.pem file, then press Okay
    [*] Back in PuttyGen, click on the Save private key button and then save the .ppk file off somewhere that you’ll remember.
    [*] Open Pagent, click Add key and point to the .ppk file you generated before. You’ll want to make sure this is ALWAYS running.
  • If using Swish

    • Go to Windows Explorer, dbl-click on the Swish icon under Devices and Drives. Click on Add SFTP Connection at the top
    • Enter in a label that you wish to save the connection present as .
    • Under host your phone’s IP as Host.
    • Enter in Sirepuser as the User.
    • Enter / as the Path.
    • Press Create
    • Go back to the Swish folder then click on the connection that you just created (YOU MUST HAVE PAGENT RUNNING FOR THIS TO WORK).
    • When prompted, enter «1234» as the password.

    If using WinSCP:

    • Open WinSCP. Underneath of the Password box, click on Advanced.
      • Click on the SFTP menu item and set the Preferred SFTP protocol version to 2
      • Click on the SSH -> Authentication menu item. Click Allow agent forwarding, click on the ellipsis next to Private key file and choose the .ppk file you saved from PuttyGen
    • Press Ok to save the settings
    • Back on the WinSCP main screen, enter in your phone’s Wi-Fi IP into host name and for the User name, type in Sirepuser. Press save and then save this session as a «Site» in WinSCP
    • Login. When prompted, enter «1234» as the password.
    • You’ll receive an error initially about not being able to browse /C/ and blah blah. You can right-click and click on Goto Folder. /C/Data will be a nice folder to start at since that’s where most of the goodies are.

    Voila, you should know be able to have full file system access.

    Now there are a FEW caveats to this..

    • If you’re looking to modify/download any of the important files in the AOW folder, you won’t be able to. For SOME REASON, it’s returning «No such file or directory» if you try to download/modify some certain files. It will also return this if you try to do the same for the registry hives.
    • If you happen to remove all paired pins on your phone, you must add pin from the phone and use the pin as the password to your SFTP session

    I’m tired of my SFTP access cutting out because the WiFi disappears when the screen goes to lock >_ 2

    For some reason the service that keeps wifi running even while the screen is under lock is disabled on 10512. This enables it. Reboot and you’ll have WiFi working under lock screen on 10512.

    Manual Steps for running CMD over SSH (assuming you’ve done the SFTP steps above) Redstone builds required. 10586.XXX builds will NOT work

    • IoT Insider Preview ISO
    • Interop Tools — Download the latest arm package and all packages from the Dependencies directory. Install the dependencies first, THEN install the app.
    • Pageant
    • Putty

    Steps:

    First, you’ll need to download the Windows IoT Core Insider Preview ISO. Mount it and then install the MSI. Next, you’ll need to go into Disk Management (diskmgmt.msc) and create a new 4GB VHD by clicking Action-> Create VHD. Set the location to any place you wish for it to be, set the size to 4GB and keep the rest the same. Pay attention to the disk number shown in the Disk Management screen after you create and mount that VHD (They have a blue drive icon to the left of them).

    When this is complete, open up an elevated command prompt. Go to C:\Program Files (x86\Microsoft IoT\FFU.
    Run the following command:

    Where N is the disk number. At this point, you should start seeing a bunch of volumes created. The MainOS volume is the one we’ll care about.
    Go to that drive and copy the Windows\System32\cmd.exe and Windows\system32\en-us\cmd.exe.mui to your phone’s Document’s folder.

    Next step is to open up the Interop Tools app, and tap on the Interop Unlock menu item from the hamburger menu. Select the option to restore NDTKSvc, reboot.
    When the device comes back up, re-open Interop Tools and this time click on the Registry Editor from the hamburger menu.

    Enter the following values, then press Write Data:

    Registry Hive : HKEY_LOCAL_MACHINE
    Registry Type: String
    Registry Key Path: SYSTEM\Controlset001\Control\SSH\Sirepuser
    Registry Value Name: default-shell
    Registry Value Data: C:\Data\Users\Public\Documents\cmd.exe

    Write this key tap on the hamburger menu and go to the Registry Browser. Travel to HKEY_LOCAL_MACHINE -> SYSTEM -> ControlSet001 -> Control -> Ci.

    Tap the + button on the application bar and make sure the values are set to the following and then press Write:

    Registry Hive: HKEY_LOCAL_MACHINE
    Registry Type: Integer
    Registry Key Path: SYSTEM\ControlSet001\Control\CI
    Registry Value Name: UMCIAuditMode
    Registry Value Data: 1

    This actually enables the execution of unsigned executables. This is how we end up making CMD and the other programs work ^_^.

    Reboot your phone. Wait a good 3-5 minutes before you try doing anything because your phone will be acting very unstable (Some apps crashing, and others working).
    While you have pageant open and the private key added, open up a putty SSH session to your phone using the username of Sirepuser. You should be delighted at this point (If you did everything correctly) to see a Command Prompt. You should be getting random resource string errors when you try typing DIR, etc and this is due to the fact that we don’t have the mui string in the correct place. Let’s fix that.

    ONE BIG THING TO NOTE: running CMD in SSH is very sensitive to keystrokes. If you are typing a command and press backspace even once, then the command won’t send at all. It will state that it doesn’t recognize what you’re doing, so be sure to type these things in FLAWLESSLY (yeah it’s annoying)

    What we want to do now is then copy the cmd.exe to C:\Windows\System32 and the cmd.exe.mui to C:\Windows\System32\en-US. Run the following commands:

    copy c:\Data\Users\Public\cmd.exe c:\Windows\System32
    copy c:\Data\Users\Public\cmd.exe.mui c:\Windows\System32\en-US

    Back on your phone, go back to Interop Tools and click on the Registry Editor. Follow the same exact steps as you did for changing the default-shell key, but make one change:

    Registry Value Data: C:\Windows\system32\cmd.exe

    At this point, restart your putty session and then you’ll be good to go with CMD running over SSH as SYSTEM!

    There was a reason I said to copy off the system32 folder somewhere. If you follow the same process to get the files to your Documents folder and move them over to system32, you can have quite a bit of exes to run from the command line. The easiest thing to do is to use xcopy to get everything there.

    Extra #2:
    You can run .NET Console apps in CMD if they are named the following 3 names: TailoredDeploy.exe, WConnectAgent.exe or WConnectAgentLauncher.exe.

    Make a directory on your SD Card named «test» or put it in the test directory on your phone’s C: drive and it should go. Beware that the runtime is weird on the phone and not ALL things are possible to do with a .NET Console app

    PLEASE. For the love of god DO NOT add DefApps to the Administrators group if you don’t want all of your apps to stop working

    USE THIS AT YOUR OWN RISK! I AM NOT RESPONSIBLE IF YOU BLOW UP YOUR PHONE ON PURPOSE OR BY ACCIDENT

    How to Share Files Between Android and Windows 10 on Your Network

    With smartphones becoming a near-essential part of everyday life, you may find yourself in moments where you want to transfer files between an Android device and Windows 10. Fortunately, it’s very easy to achieve this these days!

    How to Access Android Files on Windows 10

    It’s worth noting first that there are plenty of ways to perform this transfer. Bluetooth is useful, as is plugging in a cable between your PC and your phone. However, this tutorial focuses on how to transfer over your Wi-Fi network.

    There are plenty of apps that can achieve this, but for the sake of this article, we’ll focus on a solution that’s both easy to do and doesn’t require any software to be installed on your PC. That way, there’s no fiddly setup or bloatware – just a quick and easy transfer.

    Even with these restrictions, the competition is pretty tight. However, we’re going to settle with the Sweech app for this tutorial. This is because Sweech is very quick to set up; you could be transferring files within one to two minutes of downloading it!

    When you download Sweech, press the large play button that appears and give the app permissions to access your files. Then, Sweech will show you a local IP address and port.

    Type it into the web browser on your PC, hit Enter, and you’ll see your phone’s file system.

    Now, you can browse your phone as if it were a folder on your PC. This includes dragging files from your phone onto your PC, as well as putting files into folders on your phone. Once you’re done, tap the Stop button on the app to shut off the file transfer.

    Every time you use Sweech, it will use the same IP address and port. As such, if you don’t want to keep typing in the address when you use Sweech, you can bookmark the page for quick access.

    You can use the shortcuts on the left to filter content by type. You can even send data to your phone’s clipboard from your PC. Just type what you want on it, then click the blue clipboard icon to transfer it to the phone.

    How to Access Windows 10 Files on Android

    Accessing Windows 10 folders on Android is a little trickier. First, you need to make the file or folder accessible by outside devices.

    Making a File or Folder Public

    The easy way to do this is to move or copy the files over to your Windows 10 Public folder. Typically, this is located at C:UsersPublic . This folder is special because it’s automatically set up to allow other users on your network to access it.

    If you want to share a folder without moving it to Public, you can set it up as if it were in the Public folder. To do this, right-click the file or folder you want to share, then click Properties.

    Go to the Sharing tab, then click Share.

    On the drop-down menu, select “Everyone,” then click Add. Click on Share at the bottom right.

    By default, you’ll need your user credentials to access your PC’s public folders from outside. If you’d rather not enter them every time, and you trust all the devices on your network, you can instead disable the requirement and allow guests to see your public files.

    To do this, type “advanced sharing” in the Start menu and select the option that appears.

    Scroll down to the “All Networks” category – you may need to expand it. In this category, find “Turn off password-protected sharing” and click it, then click Save Changes.

    Now you can access your public files without logging in. Be sure to turn this back on if you don’t want others on your network snooping on your files!

    Accessing the Files on Android

    Now it’s time to get access to those files. You’ll need a file explorer that has LAN capabilities so that it can access your PC.

    If you have an app of choice, use that. For this article, however, we’ll be using FE File Explorer. We chose this app because it makes it easy to connect to your PC, whether you’re using an account or a guest login.

    When you boot up FE File Explorer, tap the Plus button at the bottom right.

    Here, you can enter the network details of your PC. If you’re on the same Wi-Fi network as your PC, you need not bother; just scroll to the bottom and find your PC in the neighborhood section.

    The app will ask you if you want to log in to your PC or use a guest account. If you kept password-protected sharing on, select the top option and log in. If you turned it off, select the guest option.

    Once done, you should now be able to navigate your PC’s public folders. Navigate to the files you want to download, then either tap the three dots next to a single file to see all the actions you can perform or hold-press a file to select multiple files to download or move.

    As you can see, it is quite easy to transfer files between Android to Windows 10. If you are using Mac, you can make use of OpenMTP to transfer files from Android to Mac.

    Related:

    Simon Batt is a Computer Science graduate with a passion for cybersecurity.

    Читайте также:  1с бухгалтерия linux версия
    Оцените статью