ADB on Mac tutorial

ADB on Mac tutorial

my-portfolio

Rooting an Android phone on a mac is slightly more complicated than on a windows pc and its not well published how to use ADB on a mac. I made this

24 CRAZY SCIENCE EXPERIMENTS YOU`VE NEVER SEEN BEFORE
bán biệt thự lavila kiến á nhà bè, liền kề quận 7
Yoona – Amazing Grace (kdrama The K2 scene from Ep.6) рус саб



Rooting an Android phone on a mac is slightly more complicated than on a windows pc and its not well published how to use ADB on a mac. I made this for fellow members on Android Central who may be timid to do the rooting process on a mac. One other note, since mac’s are Unix based, all slashes are forward slashes, unlike windows which has backwards slashes.

Nguồn:https://hdwallpaperslovely.com/

COMMENTS

WORDPRESS: 38
  • comment-avatar
  • comment-avatar

    You are the reincarnation of Zeus himself. Thank you x100000.
    THANK YOU! Please personal message me. I owe you a beer.

  • comment-avatar

    great video dude thank you. 

  • comment-avatar
  • comment-avatar

    Do you have USB Debugging on? On 4.2 devices you have to enable Developer Options by tapping Build Number in About Phone. Also, ADB has been moved to Platform-Tools so you need to access that folder instead.

  • comment-avatar

    doesn't work for me…

  • comment-avatar

    It doesn't show my device.

  • comment-avatar

    Thank you very much, a true amigo!

  • comment-avatar

    No problem. It was likely a driver not installed on your windows partition. Every android phone has its own driver and likely, you would need to go to the manufacturer's website to get it. Drivers aren't needed for mac/linux, but linux is a pain in the arse, too. You have to setup a rules.d file for you to use adb with your phone.

  • comment-avatar

    Great video! Really helpful. 🙂 *like*

  • comment-avatar

    Well, no. Adb is os specific. It isn't the same file as windows nor linux. I'm not quite sure how you'd make it work in your java based program, but i imagine that's how doubletwist works. All the one-click tools for rooting and backing up devices use the os specific adb file in their resource files and create .bat or .sh files to run commands to use it.

  • comment-avatar

    Absolutely! To send to the phone: ./adb push FILENAME.EXTENSION /LOCATION/ON/INTERNAL/OR/EXTERNAL/STORAGE/ To get files, the process is reversed. ./adb pull /LOCATION/ON/PHONE/FILENAME.EXTENSION. files being pushed must be in the same folder as adb and files being pulled end up in the same folder as adb.

  • comment-avatar

    helped a lot, thanks.

  • comment-avatar

    THANKYOU SOOO MUCH I ROOTED MY XPERIA PLAY THANKYOU YOUR AWESOME

  • comment-avatar

    i want to root my atrix 2 i need help with how to send the root mac osx lion user here

  • comment-avatar

    @aslan2323232 Have you tried the reset button on the bottom? I was looking up your tablet online and saw that. Not sure what it will do. Do you know if there is a stock recovery with a menu?

  • comment-avatar

    @RobangVids lol, sorry. Got the full version. Newer videos are recorded with that. I didn't know it would make a huge watermark over everything.

  • comment-avatar

    @thetommantom Maybe try downloading fastboot-mac from somehwere else? I can e-mail you my copy if you want to try that. pharmerandy2010 AT gmail.com if you want. Shoot me an e-mail

  • comment-avatar

    @gatorman55 nope. thats what i originally tried doing.

  • comment-avatar

    @thetommantom yeah, s-off is unlocked
    how about
    ./fastboot boot [Recovery Name].img
    does that work for booting into TWRP?

  • comment-avatar

    @gatorman55 i have s off if thats what your talking about. how would i find out if its unlocked?

  • comment-avatar

    @thetommantom Is your bootloader unlocked? Unfortunately that can only be done using a windows pc. Either by revolutionary method (before 1.5) or by HTC's method (if you have hBoot 1.5).

  • comment-avatar

    @thetommantom OK… When you try to flash the recovery, are you putting it in the same folder as adb and fastboot? I have both items in platform-tools in the adb (you have to download fastboot-mac from the internet). rename fastboot-mac to fastboot and then change directory in terminal to your folder with everything in it. Command is "./fastboot flash recovery [Recovery Name],img"
    Forgot to mention the ./, but its like adb

  • comment-avatar

    @gatorman55 i get
    error: cannot load 'r.img'

  • comment-avatar

    Thank you, thank you thank you for this video!

  • comment-avatar

    @gatorman55 ok thanks ill try that. Im used to on window typing fastboot boot recovery.img.
    You have to flash it every time since I have hboot 1.5. Thanks for your help ill tell you later if it works

  • comment-avatar

    @thetommantom Have you flashed TWRP yet? first, you will need fastboot-mac you can browse the internet to download it. place it in your platform-tools folder. Use terminal to cd into your platform-tools directory. Place the TWRP recovery into the platform-tools folder as well. Then type: fastboot flash recovery [RecoveryName].img

  • comment-avatar

    @thetommantom because that command you gave me boots into the phones recovery which works but i want to boot into twrp recovery, its a much better touch interface.

  • comment-avatar

    @thetommantom For most devices: "./adb reboot recovery" should work. What device are you trying to reboot into recovery?

  • comment-avatar

    do you know how to boot into recovery?

  • comment-avatar

    @jarooFLtutor To double check, you are using a Mac, correct? What device are you using? Have you tried a different cable?

  • comment-avatar

    thank you so much.. all these xda devs are so hot shot that they never even explain the basics

  • comment-avatar

    thanks!!!! windows gits on the internet wont show how to do this on the mac!!! 🙂

  • comment-avatar

    @gatorman55 yeah, i know its in platform tools, but that wasnt what was going wrong for me. i followed a guide on xda and i managed to do what i wanted
    thanks for your reply anyway 😀

  • comment-avatar

    @eejin96 I finally got around to editing this video this morning (long overdue, sorry). adb is no longer in android-sdk-mac_86/tools
    it is now in android-sdk-mac_86/platform-tools/
    that should fix your problem.

  • comment-avatar

    it says
    -bash: adb: command not found

    help please?

  • comment-avatar

    got it working now. i am tryimg to flash a cm7 hboot image on my desire according to the alpharev website instructions. i type in the command but nothing happens. i also tried to give terminal a path for the .img im trying to flash by drag and drop onto the terminal window too. terminal seems to be unable to execute commandt to my phone while in bootloader/fastboot. can you help me out

  • comment-avatar

    @kz121xp You shouldn't need to do anything with bash to get it working.
    just cd to the file where adb is located (newest versions of the sdk is in platform-tools). you shouldn't get an error doing that unless the path you inserted is incorrect. make sure usb debugging is enabled on the nook color (haven't played with my mom's yet, so I'm not familiar with the settings). ./adb devices should show the nook connected to the computer.

  • DISQUS: 0