Can't boot or flash TWRP from MacOS ADB. Can't find file... - OnePlus 6 Questions & Answers

Hi,
I successfully unlocked my bootloader and the MacOS ADB can still see my device.
However, I have the TWRP files and Magisk downloaded and ready to go on the Mac (and on my phone) but the ADB commands won't work. Fastboot boot or Fastboot flash...
It's my girlfriends Mac and I'm not familiar with MacOS at all. Am I doing something obvious wrong..??? Any ideas please??

the.Great.Skua said:
Hi,
I successfully unlocked my bootloader and the MacOS ADB can still see my device.
However, I have the TWRP files and Magisk downloaded and ready to go on the Mac (and on my phone) but the ADB commands won't work. Fastboot boot or Fastboot flash...
It's my girlfriends Mac and I'm not familiar with MacOS at all. Am I doing something obvious wrong..??? Any ideas please??
Click to expand...
Click to collapse
cant find file?
Seems like youre in the wrong folder. Try to navigate to your download folder with the command cd
You can also send pictures in here

You have to open a Terminal window in the same folder where you have adb and fastboot.
Also, on OSX, the commands have to be preceded by ./
For example:
./adb devices
./fastboot boot twrp.img

Done it thank you.
I did the 'cd' command.
Then dragged the img. file from Finder to the terminal window. Then put the 'fastboot boot' command in front of that. It worked obviously.
I was unfamiliar with the file location name. This seems an easy way for someone that doesn't have a clue like me. ??

Related

Cant Access fastboot from command line

Hey Guys,
Spent quite a while trying to figure out the issue here but google is being crap. I have installed the sdk, developer tools eclipse etc and everything is fine.
I am trying to access fastboot while the phone is in the fastboot menu but it just says command not found.
Im on a mac, my command line is at the tools folder but there is no fastboot file in there, what am I missing. adb is in there and works fine but there is no mention on my entire computer of fastboot.
Any help would be much appreciated by my sanity.
Copy the contents of Platform-tools, into the tools folder.

[Q] Installing Cyanogenmod, Fastboot wont work.

So, trying to root and install cyanogenmod on my friends Evo **** 4g 2.3.3.
Following instructions per the cyanogenmod install wiki and a few other places.
I am using linux for everything and have adb setup correctly. I downloaded the fastboot from htc's dev website. [Everyone links you to the website but forgets to mention that you have to create an account and click on 'unlock bootloader' and scroll through a few pages]
Anywho, I did that and extracted the file to my android sdk directory. {for me it's [androidsdk/platform-tools]}
Now, when I try to run the fastboot command after running the adb reboot command to get into the bootloader, it returns with an error. "Fastboot command not found"
Now, I double checked and I marked the permissions for the fastboot file to be allowed to execute as a program.
What else am I doing wrong? If someone that has done this before, could help me out, that would be fantastic!
Again, I am running on ubuntu 11.04 linux with adb set up properly. Thanks.
cehck to see if you are in the same directory as fastboot. If you are in the platform-tools/ directory, do cd ../tools
fastboot *command here
Indirect said:
cehck to see if you are in the same directory as fastboot. If you are in the platform-tools/ directory, do cd ../tools
fastboot *command here
Click to expand...
Click to collapse
I was indeed in the same directory as fastboot, but fastboot would not recognize as a command. Even when I tried it with my atrix.
Try chmod 777 fastboot
Sent from my PC36100 using XDA Premium App
Trying this now. Will let you know in a sec.
Edit:
Still getting fastboot: Command not found

Problem locking bootloader.

Adb is saying that it doesn't recognize "fastboot" as a command. I haven't really use ADB since I got the phone in February, has there been changes to the commands needed?
I did a simple search and found this: http://www.nexusoneforum.net/forum/...-fastboot-devices-command-not-recognized.html
GL Hope it helps.
Problem is not it recognizing cause Adb reboot-bootloader works.
This used to work
Cd\
Cd androidsdk/tools/
Fastboot oem lock
Has something been moved? And if so what is the new path?
sarge363 said:
This used to work
Cd\
Cd androidsdk/tools/
Fastboot oem lock
Has something been moved? And if so what is the new path?
Click to expand...
Click to collapse
Make sure fastboot is still in your tools folder. With some of the updated sdk fastboot gets removed. If it's not there you can get it from the cm wiki and just put it in the tools folder.
Sent from my PG06100 using Tapatalk
The problem is that you think you need to run adb to get fastboot to work.
adb and fastboot are 2 separate programs. ADB is the Android Device Bridge where fastboot is another standalone command line program s used to directly flash the filesystem etc.
If you download the Android SDK now, it won't have fastboot included, so you need to get it from somewhere else, like the old CM wiki as crump suggested.
Once you have the compiled fastboot file, you can navigate to it from a command prompt and execute the fastboot commands
Greetz
Thanks for the clarification. I really only used it once or twice when I first got the phone. And I just looked and I am missing the fastboot. I'll give it a shot.
In cm wiki there is only fastboot 32bit. I have 64bit, will it still work?
sarge363 said:
In cm wiki there is only fastboot 32bit. I have 64bit, will it still work?
Click to expand...
Click to collapse
Yes, 64 bit computers are backwards compatible for the most part
Sent from my illuminated black thing

Fastboot/ADB & Phone drivers Without Admin rights

Any way to setup a computer with ADB and Fastboot without admin rights? Can I setup up a flash drive with Fedora or Ubuntu, boot into that and get access? If so how do you set up drivers and adb on a linux distro.
Any help would be appreciated, Thanks!
I'm using Linuxmint 12 and I have ADB setup. Just click on the other platforms option and it gives you a pretty accurate description of how to set it up on linux.
I'm actually having a problem with using "fastboot oem get_identifier_token" on the bootloader unlock process because I get an error in the terminal saying the fastboot command isn't recognized in the terminal.
On Linux, I'm pretty sure all you need is the adb or fastboot executable. However, you must run it as root (either sudo or su into root). You can grab the exectuables by download the Android SDK.
If it's saying it can't find the fastboot executable, you're probably not in the same folder as fastboot. Type 'ls' and see if you see fastboot in the list. If it's not there, it won't work.
Hi,
is it just me or is there no answer to the question of the first post? Is there any way to install adb on a win Pc without admin rights?
regards

I need help with ADB/Fastboot commands from a powers shell window

i am very new so please speak to me like i have 50 IQ points (im actually not far off). i can get the powershell to open on my pc then when i try
PS C:\platform-tools> adb devices
List of devices attached
R9WN113HXVJ device
it works, but when i try any commands that start with fastboot, the window just hangs. Do i need to be in the bootloader for fastboot? does TWRP need to be installed first?
#2. I am trying to get an image off of my tablet and the tutorial says i need to enter....
" adb pull /sdcard/Download/magisk_patched.img " I am assuming its supposed to mean....
"adb pull /sdcard/Download/NAME OF FILE ON TABLET.tar"... which is "magisk_patched_ZRwve.tar"
if i am trying to "pull" from the tablet, where does it put this file on my PC?
scampo77 said:
i am very new so please speak to me like i have 50 IQ points (im actually not far off). i can get the powershell to open on my pc then when i try
PS C:\platform-tools> adb devices
List of devices attached
R9WN113HXVJ device
it works, but when i try any commands that start with fastboot, the window just hangs. Do i need to be in the bootloader for fastboot? does TWRP need to be installed first?
#2. I am trying to get an image off of my tablet and the tutorial says i need to enter....
" adb pull /sdcard/Download/magisk_patched.img " I am assuming its supposed to mean....
"adb pull /sdcard/Download/NAME OF FILE ON TABLET.tar"... which is "magisk_patched_ZRwve.tar"
if i am trying to "pull" from the tablet, where does it put this file on my PC?
Click to expand...
Click to collapse
No worries friend, everyone starts somewhere and IQ is not a real scientific measurement. Now let's clear some things:
You're not in fastboot mode if you didn't recognize it immediately. To enter fastboot from adb, use:
Code:
adb reboot fastboot
and no you don't need twrp to access fastboot mode.
The correct way to use pull looks like this:
Code:
adb pull <path of file to pull> <path of destination on pc>
for example:
Code:
adb pull /sdcard/Download/YOURFILENAME C:\platform-tools\
Also from context of your question, i assume you want to root your phone. Something helpful to remember, you don't need to flash TWRP to root, you can just boot into it without permanently changing your recovery by using this command in fastboot:
Code:
fastboot boot nameoftwrp.img
from there flash magisk and you're done
Slim K said:
No worries friend, everyone starts somewhere and IQ is not a real scientific measurement. Now let's clear some things:
You're not in fastboot mode if you didn't recognize it immediately. To enter fastboot from adb, use:
Code:
adb reboot fastboot
and no you don't need twrp to access fastboot mode.
The correct way to use pull looks like this:
Code:
adb pull <path of file to pull> <path of destination on pc>
for example:
Code:
adb pull /sdcard/Download/YOURFILENAME C:\platform-tools\
Also from context of your question, i assume you want to root your phone. Something helpful to remember, you don't need to flash TWRP to root, you can just boot into it without permanently changing your recovery by using this command in fastboot:
Code:
fastboot boot nameoftwrp.img
from there flash magisk and you're done
Click to expand...
Click to collapse
i am being told that there is no fastboot for Samsung devices, however your commands within powershell all worked, i managed to drag my file over. thank you!
you said "now flash magisk" like its something everyone knows. I have magisk manager on my tablet now and I have a magisk.zip on my PC. I am using a program called ODIN for flashing Samsung devices but i cant seem to put all of these pieces together to root or flash my phone.
any advice?

Categories

Resources