Skip to content

Cosmic-Infinity/WSA-Transfer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

WSA-Transfer

Winodws Subsystem for Android runs on Hyper-V, a virtualization platform by Microsoft. If that rings a bell, you'd know that the storage used by WSA is encrypted and is not be accessible to the user.

So you have this shiny new app that you want to tranfer into WSA for installation but you can't transfer it into the damn thing. Oh well, one way could be through FTP but really, unless you have 3 minutes to waste, you're probably looking for an elegant solution.

Enter the very desciptively named "WSA Transfer". It transfers files to Windows Subsystem for Android by a simple Drag 'n Drop.


Teach me Senpai

Prerequisites : Enable Developer Mode from WSA Settings. You need to do this only once.

Screenshot (34)

NOTE: The script assumes you have platform tools installed and environment variable configured to recognise adb commands globally.

  1. Click-hold the file you want to transfer.

  1. Drag it over to "Transfer to WSA.bat" and drop it.

That's it! Your file will be waiting in the Downloads folder within WSA.

How it be?

I mean, it's literally 4 lines of code, so I guess there's noting much in terms of explanaing.

The transfer is taking place via ADB (Android Debug Bridge). Once the "Dveloper Mode" is eneabled in WSA Settings, by default an adb server is opened on 127.0.0.1 port 58526.

The batch file is simply conecting to this adb instance and running an adb push to the Downloads folder for the dropped file.

Nothing fancy.

I'd recommend keeping a shortcut to this little scipt with a fancy name, maybe with a fancy icon, on Desktop if you move a lot of files to WSA regularly.

About

Easily transfer files to Windows Subsystem for Android

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published