Hardware - Support > Other

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

(1/2) > >>

+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


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:
Thanx FireNice03 4 your Support, Sorry this izn't happening 4 me, Please Check the Attached ScreenShot & let me know wot I've done wRong!

;-)K

+Me:
Please Please Help!

Wot eLse Can I Do?

;-)K

firenice03:

--- Quote from: +Me on September 08, 2020, 11:00:40 PM ---Thanx FireNice03 4 your Support, Sorry this izn't happening 4 me, Please Check the Attached ScreenShot & let me know wot I've done wRong!

;-)K


--- End quote ---

@+Me
1st read up on proper way of posting an image - You will get faster responses, kinda of suspicious of downloading zipped image files ;)

It doesn't know your command - well it thinks its a command -- its a script.
In that directory try with a leading ' ./ '  -- so

--- Code: ---./flash-all.sh
--- End code ---

Navigation

[0] Message Index

[#] Next page

Go to full version