Linux Lite Forums
platform-tools flash-all returns command not found, Please Help - Printable Version

+- Linux Lite Forums (https://www.linuxliteos.com/forums)
+-- Forum: Hardware - Support (https://www.linuxliteos.com/forums/forumdisplay.php?fid=6)
+--- Forum: Other (https://www.linuxliteos.com/forums/forumdisplay.php?fid=28)
+--- Thread: platform-tools flash-all returns command not found, Please Help (/showthread.php?tid=7335)



platform-tools flash-all returns command not found, Please Help - +Me - 09-07-2020

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





Re: platform-tools flash-all returns command not found, Please Help - firenice03 - 09-08-2020

(09-07-2020, 11:23 PM)+Me link Wrote: 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.

[member=37179]+Me[/member]

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



Re: platform-tools flash-all returns command not found, Please Help - +Me - 09-09-2020

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



Re: platform-tools flash-all returns command not found, Please Help - +Me - 09-14-2020

Please Please Help!

Wot eLse Can I Do?

;-)K



Re: platform-tools flash-all returns command not found, Please Help - firenice03 - 09-15-2020

(09-09-2020, 03:00 AM)+Me link Wrote: 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

[member=37179]+Me[/member]
1st read up on proper way of posting an image - You will get faster responses, kinda of suspicious of downloading zipped image files Wink

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



Re: platform-tools flash-all returns command not found, Please Help - +Me - 09-15-2020

Thanx again FireNice03, I've Advanced another step, w/ that ./

But Unfortunately the fastboot --version iz too Old... so I've Updated it, However Now I'm having Challenges w/ Setting the PATH Variable & I'm getting not a valid identifier Message.

Sorry I don't know about How 2 Post an image on this Forum???...

;-)K



Re: platform-tools flash-all returns command not found, Please Help - firenice03 - 09-15-2020

[member=37179]+Me[/member]


See the following for posting images/pictures:
https://www.linuxliteos.com/forums/introductions/forum-posting-guidelines/msg78/#msg78


For PATH:
https://askubuntu.com/questions/141718/what-is-the-path-environment-variable-and-how-do-i-add-to-it