Gabri3lZ / SwitchrootAndroidUtils

Utils for Switchroots LineageOS Android ROM for Nintendo Switch
MIT License
45 stars 4 forks source link

sudo: ./flash.sh: command not found #11

Open SuttonX opened 3 years ago

SuttonX commented 3 years ago

When opening terminal window from same folder as both files and executing:

sudo ./flash.sh ./android-16gb.img

I get the return in the issue title. Unable to proceed.

SuttonX commented 3 years ago

Solved the problem. You may want to add to your instructions prior to doing the above command, and after launching terminal in the same directory, they need to run this command first:

chmod +x ./flash.sh

SuttonX commented 3 years ago

Also, I would add to the instructions that the partition they want to copy GApps and the other zips to, is the largest partition, the one with the leftover space you specified for Switch's Horizon to use, the one with the "switchroot_android" folder in it. The guide you linked to was using the Windows method and just says "put on your SD card" with no further specification.

SuttonX commented 3 years ago

This guide is easier to follow for noobs BTW. After you do the steps listed here for the script, start from step 4 in THIS guide:

https://forum.xda-developers.com/t/guide-how-to-install-android-on-your-switch-step-by-step.3952300/