Homebrew WIP nxmtp: access your SD Card over USB without rebooting

mrtzera

Well-Known Member
Newcomer
Joined
May 25, 2018
Messages
45
Trophies
0
Age
30
XP
265
Country
Brazil
I made this icon for nxmtp, feel free to use on your .nro or .nsp :D

upload_2019-7-19_10-38-43.png
 

Lujke

New Member
Newbie
Joined
Jul 26, 2019
Messages
2
Trophies
0
Age
41
XP
173
Country
United States
This worked well transferring files from my computer to Switch. But when I try transferring files from my Android phone to Switch, Atmosphere crashes right before transfer is complete and file is not transferred. Anyone else encountered similar issue? Thanks in advance.
 

Deobulakenyo

Well-Known Member
Member
Joined
Oct 8, 2018
Messages
584
Trophies
0
Age
49
XP
1,422
Country
Philippines
Thanks! If it´s not recognized must be the drivers.

@Deobulakenyo, are you on latest update for Win10?

Please check and return here:
  1. Win + R. Open up the run command with the Win + R;
  2. Type winver into the command text box and hit OK. You should see a dialog screen with that info.

sorry for the late response. i attached the image of my windows version. It is version 1803 (Build 17134.885)

my switch is on sxos beta 2.8 emunand

tegra RCM works in pushing payload, even the mounting of the switch via UMTS tool in the tegra RCM app. I can use fluffy on PC to install games on switch via tinfoil over USB.

i also uploade an image with explanation of what happens when the switch is connected via USB without any homebrew enabled and when i enable nxmtp.

I was hoping to see switch under Other Devices so i can install MTP drivers for it but the switch only appears under Universal Serial Bus devices.

Hope more technically oriented people here can help me.

Thank you very much. Salamat

Edit:
*To add, if this is important, I am able to use my android phone connected as MTP to this same laptop I use.
* I looked at the driver of the switch and it is not wpdmtp.inf but instead it is oem58.inf. i think this is key to the problem at hand.
*final edit: I managed to solved the problem. I needed to delete the oem58.inf driver and the pc recognized the switch as MTP device
 

Attachments

  • windows version.jpg
    windows version.jpg
    27.7 KB · Views: 203
  • device manager.jpg
    device manager.jpg
    153.8 KB · Views: 222
Last edited by Deobulakenyo,

EmulateLife

Well-Known Member
Member
Joined
May 30, 2016
Messages
3,979
Trophies
0
Age
42
XP
1,889
Country
United States
This used to always work well for me using Windows 10, but now all the suddenly transfers keep stopping and then cancelling it. I have to try like 10 times if it's above 1 gb, usually it'll make a noise and just cancel. Tried on two laptops. It's not because of sleep either I'm touching the screen to keep it awake during transfer.
 
Last edited by EmulateLife,

toxic9

Well-Known Member
Member
Joined
Dec 13, 2016
Messages
819
Trophies
0
Age
44
XP
1,297
Country
does anyone knows when this will have >4Gb file support?
I'm on exfat, and after 4Gb it crashes...
 
Last edited by toxic9,

Draxzelex

Well-Known Member
Member
Joined
Aug 6, 2017
Messages
19,014
Trophies
2
Age
29
Location
New York City
XP
13,401
Country
United States
Really?
can we have access to the source code so we can finish it please?
The >4 GB limitation is a limitation of MTP itself. You would need to port a different transfer system in order to be able to transfer files larger than 4 GB although I don't see what <4 GB files you would need to transfer.
 
  • Like
Reactions: ELY_M

JRoad

Developer
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
Really?
can we have access to the source code so we can finish it please?
You're better off using bllawar's tinfoil with nut server for big transfers. The nutfs protocol allows transfers via usb of any file.
You need to specifically add the nutfs protocol on the tinfoil side and you'll be able to see your pc folder on the switch.

The protocol it uses, mtp, doesn't support files over 4gb.

Is not exactly like that. Many misinformation is shared trough the internet about the mtp protocol. Is not an issue on the homebrew, the mtp protocol supports transfers bigger than 4GB but it must be handled pc side and is hard to handle, windows explorer for example doesn't handle it properly and sincerely i don't know any transfer utility that does. Maybe calibre, but i'm not sure.
Bassicaly i attached the protocol documentation about how to handle transfers bigger than 4GB, which to be fair is pretty wonky to do.
I read on a blog before how some dude implemented it using the 0xFFFFFFFF value in the containerlength field, as described on the protocol, and then he cut the transfer using the usb driver itself when all the file was transfered.
Well, when i say pc side i mean on the senders side.

MTP.PNG
 

Attachments

  • MTPforUSB-IFv1.1.pdf
    2.8 MB · Views: 200
Last edited by JRoad,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Materia_tofu @ Materia_tofu: this is true! i learned how to make soundfont remixes from a friend back in 2021 +1