Homebrew RELEASE NS-USBloader - another one Tinfoil and GoldLeaf USB installer

developer_su

Developer
OP
Developer
Joined
Feb 18, 2019
Messages
163
Trophies
0
XP
1,884
Country
Russia
Well shit it worked. I guess I should read up on groups, I was absolutely clueless about that. Thanks a bunch!

EDIT: actually it only works for USB installs, not for the payload injector... I'll try to troubleshoot for a bit

EDIT2: I tried creating a group (the created group worked with USB installs), changing the group, adding the rule described here: nh-server.github io/switch-guide/extras/adding_udev/ and modifying the existing rule with the content described in the link, to no avail. It's no big deal though, I'll just use the usual linux payload injector, and now with the new rule I created I don't have to run that one as root

Check '4. For RCM part' section here: https://github.com/developersu/ns-usbloader#linux
You're welcome %)
 
  • Like
Reactions: Homlet

Homlet

Well-Known Member
Member
Joined
Feb 28, 2020
Messages
589
Trophies
0
XP
2,503
Country
France
Welp, looks like I'm clinically retarded, I had the wrong path for the payloads. Next time I'll check the console output :^)
 

Spzjulien

Well-Known Member
Member
Joined
Sep 8, 2012
Messages
329
Trophies
1
XP
625
Country
France
hello all

i have issue under ubuntu, seem not working

[ INFO ] Start chain
[ PASS ] libusb initialization
[ PASS ] Get device list
[ FAIL ] NS in connected USB devices not found
[ INFO ] Requested context close
[ INFO ] End chain


lsusb :
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 042: ID 057e:2000 Nintendo Co., Ltd
 

Shokubox

New Member
Newbie
Joined
Mar 29, 2020
Messages
2
Trophies
0
Age
34
XP
36
Country
Philippines
I am using a Mac Mojave and got the USBloader 2.1 running and I have Tinfoil v 7.00. My transfer stops at TF select file.
 

aIphaprime

Member
Newcomer
Joined
Nov 7, 2014
Messages
18
Trophies
0
XP
171
Country
United States
New to NSW hacking. Running Atmosphere 0.10.5 on emunand, fw 9.2, and GoldLeaf v0.8. I keep getting code 2168-0002 crashes when trying to do USB installs with this. Not sure what the issue is, but seems it's on GoldLeaf's end (though installs from SD are fine with it). Going to try Tinfoil instead.

Just a quick question - is there a temp directory where failed or cancelled installs/uploads go? I had a few failed installs and one upload I had to cancel mid-way thru, just want to make sure those aren't taking up space on my SD. Thanks!
 

developer_su

Developer
OP
Developer
Joined
Feb 18, 2019
Messages
163
Trophies
0
XP
1,884
Country
Russia
Just a quick question - is there a temp directory where failed or cancelled installs/uploads go? I had a few failed installs and one upload I had to cancel mid-way thru, just want to make sure those aren't taking up space on my SD. Thanks!

As for failed/cancelled installs I have no idea. I guess, GoldLeaf and other homebrew apps are taking care of such situations, but it's just my thoughts. Anyway, you can delete wired files (in case you see them on the list of titles on home screen) from the system settings. There is 'Applications' menu with management tools.

As for failures, IDK.. Maybe other people know.
 

aIphaprime

Member
Newcomer
Joined
Nov 7, 2014
Messages
18
Trophies
0
XP
171
Country
United States
Ah ok thx. How about for USB file transfers (not nsp installs) that are cancelled during transfer? Is the partially transferred file stored, or is it deleted when the transfer is cancelled?
 

blawar

Developer
Developer
Joined
Nov 21, 2016
Messages
1,708
Trophies
1
Age
40
XP
4,311
Country
United States
As for failed/cancelled installs I have no idea. I guess, GoldLeaf and other homebrew apps are taking care of such situations, but it's just my thoughts. Anyway, you can delete wired files (in case you see them on the list of titles on home screen) from the system settings. There is 'Applications' menu with management tools.

As for failures, IDK.. Maybe other people know.

Booting tinfoil will delete the temp files, or you can just reboot your switch and HOS will clear the files @AlphaPrime
 

meBlob

New Member
Newbie
Joined
Apr 10, 2020
Messages
3
Trophies
0
Age
34
XP
44
Country
United States
Hello! I'm having trouble working with this and Quark. I don't really know what other information I should say but I'll give a general rundown. I'm on OSX, and I was under the impression that because I can get fusee-interface-tk working I have the working drivers / packages installed.

I've tried both USB ports, the connection is a USB-A to USB-C cable. One thing to note is that NUT was working at one point? I've tried using both Goldleaf and Lithium only issue is I'm running applet mode.

Code:
[ INFO ]     Start chain
[ PASS ] libusb initialization
[ PASS ] Get device list
[ PASS ] Read file descriptors for USB devices
[ PASS ] NS in connected USB devices found
[ PASS ] Open NS USB device
[ INFO ] Free device list
[ INFO ] Skip kernel driver attach & detach
[ FAIL ] Set active configuration to device
         Returned: ERROR_NO_DEVICE
[ WARN ] Release interface
         Returned: -5 (sometimes it's not an issue)
[ INFO ] Requested handler close
[ INFO ] Requested context close
[ INFO ]     End chain

If you need any other information let me know, thanks in advance!

This is what error I'm getting from NUT now:
Code:
usb exception: [Errno 19] No such device (it may have been disconnected)
However, on Lithium it looks as if it can navigate the directory of nut-master (through usbfs) despite not having a connection which is odd to me.
 
Last edited by meBlob,

developer_su

Developer
OP
Developer
Joined
Feb 18, 2019
Messages
163
Trophies
0
XP
1,884
Country
Russia
First of all, only Adubbz/Tinfoil (+Awoo Installer) and XorTroll/GoldLeaf supported. Other homebrew apps you noted are not supported now and there is no plans for adding any support for them in future. I've never used them and that's why I have no idea what's going on in there but I guess you can ask blawar who (AFAIK) maintains NUT and Lithium and 'new' Tinfoil for information and support if you're interested.

Secondly, in case you decided to use GoldLeaf you have to start GL first, click 'Upload to NS' button on desktop app and go to GoldLeaf's menu 'Explore Content' -> 'Remote PC' to navigate through files on your Mac.

Also for all MacOS releases before (!) Mojave you have to use JAR file with '-legacy' postfix in name.
 

meBlob

New Member
Newbie
Joined
Apr 10, 2020
Messages
3
Trophies
0
Age
34
XP
44
Country
United States
First of all, only Adubbz/Tinfoil (+Awoo Installer) and XorTroll/GoldLeaf supported. Other homebrew apps you noted are not supported now and there is no plans for adding any support for them in future. I've never used them and that's why I have no idea what's going on in there but I guess you can ask blawar who (AFAIK) maintains NUT and Lithium and 'new' Tinfoil for information and support if you're interested.

Secondly, in case you decided to use GoldLeaf you have to start GL first, click 'Upload to NS' button on desktop app and go to GoldLeaf's menu 'Explore Content' -> 'Remote PC' to navigate through files on your Mac.

Also for all MacOS releases before (!) Mojave you have to use JAR file with '-legacy' postfix in name.

Okay, I'm running Catalina so I don't need to use the -legacy postfix.

Anyways, I'm running it in this order:
  1. Goldleaf 0.8 via homebrew menu
  2. Run NS-USBLoader 2.1
  3. When I attempt to upload a random .nsp it fails and gives the error that I posted in the code snippet above.
  4. Explore Content -> Remote PC is empty when I check.

Let me know if there's anything else I need to provide. If speaking with you over IRC would make things easier, I'm willing to give that a try.
 
Last edited by meBlob,
  • Like
Reactions: developer_su

developer_su

Developer
OP
Developer
Joined
Feb 18, 2019
Messages
163
Trophies
0
XP
1,884
Country
Russia
Okay, I'm running Catalina so I don't need to use the -legacy postfix.

Anyways, I'm running it in this order:
  1. Goldleaf via homebrew menu
  2. Run NS-USBLoader 2.1
  3. When I attempt to upload a random .nsp it fails and gives the error that I posted in the code snippet above.
  4. Explore Content -> Remote PC is empty when I check.

Let me know if there's anything else I need to provide.

Ok, try this. If it won't help try another cable. It looks like NS just got disconnected from you Mac (no idea why). Also please let me know if it helps.
 
  • Like
Reactions: meBlob

meBlob

New Member
Newbie
Joined
Apr 10, 2020
Messages
3
Trophies
0
Age
34
XP
44
Country
United States
I appreciate all your help. It failed to upload once again with an error. Here is the error that I'm getting:

Code:
[ INFO ]     Start
[ INFO ] Skip kernel driver attach & detach (ERROR_NOT_SUPPORTED)
[ FAIL ] Claim interface failure: ERROR_ACCESS
[ WARN ] Release interface failure: ERROR_NOT_FOUND (sometimes it's not an issue)
[ INFO ]     End

I'm trying to limit going out because I'm immunocompromised, but I'll make sure my next trip out I get a new USB-A to USB-C cable.
 

developer_su

Developer
OP
Developer
Joined
Feb 18, 2019
Messages
163
Trophies
0
XP
1,884
Country
Russia
I'm trying to limit going out because I'm immunocompromised, but I'll make sure my next trip out I get a new USB-A to USB-C cable.

Now I'm not sure that it helps.. An error is different and it still doesn't work. Looks like you don't have enough permissions to work with device (?). It's strange and I have no idea how to fix that =(
 

Che007

Member
Newcomer
Joined
Sep 26, 2007
Messages
8
Trophies
0
XP
78
Country
United States
@meBlob

I had the same issue. My workinging setup is now:

Goldleaf V.7.3.1 (v8 not working)
And ns-usbloader-0.9.jar both old versions but working without any problem.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Black_Manta_8bit @ Black_Manta_8bit: Oh @RedColoredStars yeah thats sad :sad: i feel it.