Hardware - Support > Other

platform-tools flash-all returns command not found, Please Help

<< < (2/2)

firenice03:

--- Quote from: +Me on September 07, 2020, 07:23:48 PM ---I've Navigated 2 the Location of platform-tools ie. /home/linux-lite/platform-tools Checked that adb iz Running, Confirmed that it Detects the Pixel 2 Phone, I've Copied All the GrapheneOS image Files to inside the platform-tools Directory & Clicked on flash-all.bat it Opens MousePad & when I Click on flash-all.sh Nutthing happens.

From the Linux-Lite Terminal, I cd /home/linux-lite/platform-tools/flash-all it Returns command not found same w/ .bat & .sh eXtensions. Also in All cases I there's a Maroon Red Flag w/ 127 inside I don't know what this means.

--- End quote ---

@+Me

1st off the .bat will error as you have seen - .bat are Windows executable files.
The .sh - should work for but may not have the "x" permission (making it executable) - this can be seen if in the terminal ls -la 'the file' on the left you'll see wr-wr-wr- ... or similar (no X)

You can right click the file too - while having properties open - click the box for make executable.
OR in terminal (add path to file name as needed)

--- Code: ---sudo chmod +x FILENAME
--- End code ---

+Me:
Hardware = HP EliteDesk 800 G1 DM, 2 GHz i5, 12 GB RAMemory, 1TB Sata, intel HD Graphics 4600

Fully Updated X64 bit Linux-Lite 5

I've Navigated 2 the Location of platform-tools ie. /home/linux-lite/platform-tools Checked that adb iz Running, Confirmed that it Detects the Pixel 2 Phone, I've Copied All the GrapheneOS image Files to inside the platform-tools Directory & Clicked on flash-all.bat it Opens MousePad & when I Click on flash-all.sh Nutthing happens.

From the Linux-Lite Terminal, I cd /home/linux-lite/platform-tools/flash-all it Returns command not found same w/ .bat & .sh eXtensions. Also in All cases I there's a Maroon Red Flag w/ 127 inside I don't know what this means.

Please Help!

;-)K


Navigation

[0] Message Index

[*] Previous page

Go to full version