Çözüldü PowerShell, FastBoot'taki cihazı görmüyor

Bu konu çözüldü olarak işaretlenmiştir. Çözülmediğini düşünüyorsanız konuyu rapor edebilirsiniz.

Lacia

Decapat
Katılım
4 Haziran 2021
Mesajlar
115
Çözümler
3
Daha fazla  
Cinsiyet
Erkek
Merhaba arkadaşlar. Elimdeki cihaza TWRP kurmaya çalışıyorum fakat Platform Tools'u PowerShell ile açıp fastboot devices yazınca şu hatayı veriyor:

Kod:
PS C:\Users\withe\Desktop\platform-tools> fastboot devices
fastboot : The term 'fastboot' is not recognized as the name of a cmdlet, function, script file, or operable program. C
heck the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ fastboot devices
+ ~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (fastboot:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException


Suggestion [3,General]: The command fastboot was not found, but does exist in the current location. Windows PowerShell does not load commands from the current location by default. If you trust this command, instead type: ".\fastboot". See "get-help about_Command_Precedence" for more details.

Minimal ADB'de aynı komutu yazdığımda cihazı buluyor ama platform tools bulmuyor. Sizce sebebi nedir?
 
Son düzenleyen: Moderatör:
Çözüm
Hatada belirtildiği gibi kodu .\fastboot devices olarak yazmalısınız. PowerShell'in komutları işleyiş bakımından farkı var. Aynı isimde executable dosya yerine öncelik cmdlet denilen komut parçalarına veriliyor. Öncelikler için about_command_precedence inceleyebilirsiniz.

As a security feature, PowerShell does not run executable (native) commands, including PowerShell scripts, unless the command is located in a path that is listed in the Path environment variable $env:PATH or unless you specify the path to the script file.

To run a script that is in the current directory, specify the full path, or type a dot .\ to represent the current directory.
Hatada belirtildiği gibi kodu .\fastboot devices olarak yazmalısınız. PowerShell'in komutları işleyiş bakımından farkı var. Aynı isimde executable dosya yerine öncelik cmdlet denilen komut parçalarına veriliyor. Öncelikler için about_command_precedence inceleyebilirsiniz.

As a security feature, PowerShell does not run executable (native) commands, including PowerShell scripts, unless the command is located in a path that is listed in the Path environment variable $env:PATH or unless you specify the path to the script file.

To run a script that is in the current directory, specify the full path, or type a dot .\ to represent the current directory.
 
Son düzenleme:
Çözüm
CMD'den dener misiniz?

Hatada belirtildiği gibi kodu .\fastboot devices olarak yazmalısınız. PowerShell'in komutları işleyiş bakımından farkı var. Aynı isimde executable dosya yerine öncelik cmdlet denilen komut parçalarına veriliyor. Öncelikler için about_command_precedence inceleyebilirsiniz.

Minimal ADB'nin kurulu olduğu konuma TWRP dosyasını atıp oradan flaşladım ve işe yaradı, yardımlarınız için teşekkür ederim.
 

Geri
Yukarı