Control Your Android Emulator with ADB

Ғылым және технология

In this video, I walk through how to use ADB to interact with an Android emulator from both a Windows machine, as well as a Linux virtual machine.
Check out my blog here:
corsecure.blog

Пікірлер: 32

  • @enrsdv6167
    @enrsdv6167 Жыл бұрын

    Incredible content!! Thanks!

  • @linuxinside6188
    @linuxinside6188 Жыл бұрын

    Thanks bro. Now I will be able to attach Android to the kali vm.

  • @derbi4stunt
    @derbi4stunt Жыл бұрын

    Hey CorSecure, thank you for this interesting video. Do you know if it is possible to use ADB on a non-rooted Android device to add a sound file in the system sounds folder ? I'm looking to change my charge sound alert on a Samsung but can't root because of Knox tripwire. Thanks!

  • @DailyClips009
    @DailyClips00911 ай бұрын

    I did same flow but my emulator not show file require to restart emulator. what is solution I don't want to restart emulator

  • @nicholasgerman5376
    @nicholasgerman537610 ай бұрын

    One platform tools is installed what's the commands to make it emulate your phone

  • @dhavalprajapati3437
    @dhavalprajapati3437 Жыл бұрын

    What’s your vm network settings? Did you change networks settings on the host? Like port redirection?

  • @CorSecure

    @CorSecure

    Жыл бұрын

    My VM network settings is just set to NAT. I didn't do any other port forwarding or anything.

  • @camilozuluaga771

    @camilozuluaga771

    8 ай бұрын

    @@CorSecure Thanks mate I was going crazy trying to set up adb port forwarding LOL

  • @pwnhun73r
    @pwnhun73rАй бұрын

    Amazing content, congrats!! I have a question about how to connect from my vm (Ubuntu, guest) to my AVD (is in windows 11 as host), i use vmware workstation. I tried use NAT and Bridge but i cant connect with adb. Instead with Genymotion works well with bridge but i like more Android Studio.

  • @CorSecure

    @CorSecure

    Ай бұрын

    Did you try connecting with the 10.0.2.2 IP address? Watch the part of the video that starts around 12:15. Hopefully that section of the video can answer your question.

  • @pwnhun73r

    @pwnhun73r

    Ай бұрын

    @@CorSecure Yes, i tried with 10.0.2.2 but didnt work. btw i tried changing the NAT ip and network but i cant connect to adb. Is strange because nat ip is 192.168.x.x too

  • @CorSecure

    @CorSecure

    Ай бұрын

    I just tried it, and I was able to connect to my emulator with ADB from a VM using NAT by running adb connect 10.0.2.2. I'm not sure why it's not working for you. My only recommendation would be to restart your VM. Sometimes things don't work properly if you make changes to the network settings while the VM is powered on.

  • @pwnhun73r

    @pwnhun73r

    Ай бұрын

    ​@@CorSecureI could solved and works perfectly. The problem was that i were using VMWare. When I changed it to Virtualbox works when the NAT network. Thank you for help me!!🦾

  • @jaa70
    @jaa70 Жыл бұрын

    thakns sir, how do you update ADB from command or via Android Studio ?

  • @CorSecure

    @CorSecure

    Жыл бұрын

    if you have Android Studio installed, then adb will be included in the platform-tools directory.

  • @WoodyTso
    @WoodyTso Жыл бұрын

    Sir, I would like to ask why I cannot connect the emulaor in window through my VM kali(bridge network)

  • @CorSecure

    @CorSecure

    Жыл бұрын

    If you are using an Android Studio emulator, I believe you need to set your VM to a NAT network. Otherwise, it won't be able to see the 10.0.2.2 address of the emulator.

  • @WoodyTso

    @WoodyTso

    Жыл бұрын

    @@CorSecure It work perfectly now. Thank you very much!😃

  • @CorSecure

    @CorSecure

    Жыл бұрын

    @@WoodyTso Glad I could help!

  • @ajthescot

    @ajthescot

    10 ай бұрын

    ​@@CorSecureI too having this issue just hangs then times out ,could you explain how to change this setting please

  • @pasive_
    @pasive_ Жыл бұрын

    Hello bro I am having difficulty connecting android studio emulator (host machine) using adb from Kali Linux(virtual box ) it is saying unauthorized device help me

  • @CorSecure

    @CorSecure

    Жыл бұрын

    Make sure you have USB debugging enabled in the Developer Options. Also you can try restarting ADB with "adb kill-server" and try running "adb devices" again. If that doesn't work maybe try some of the solutions in the Stack Overflow thread below. stackoverflow.com/questions/23081263/adb-android-device-unauthorized

  • @Noman22410
    @Noman224102 жыл бұрын

    su command doesn't work for me

  • @Noman22410

    @Noman22410

    2 жыл бұрын

    /system/bin/sh: su: inaccessible or not found

  • @CorSecure

    @CorSecure

    2 жыл бұрын

    if you can't run su, that most likely means your device is not rooted. I have another video that a made walking through setting up an emulator with Android Studio. if you follow that guide, the device you build should be rooted, and you should be able to run su. kzread.info/dash/bejne/Yqaumq2bmNq4ZtY.html

  • @once_in_the_world

    @once_in_the_world

    Жыл бұрын

    I just want to like all the videos. Dude, you're the best)

  • @antonslavik4907
    @antonslavik4907 Жыл бұрын

    wtf is adb?

  • @wolfrevokcats7890

    @wolfrevokcats7890

    Жыл бұрын

    Asian Development Bank

  • @wolfrevokcats7890

    @wolfrevokcats7890

    Жыл бұрын

    or Android Debug Bridge

  • @Xpl0itme921
    @Xpl0itme92110 ай бұрын

    offline device

  • @3rawkz

    @3rawkz

    6 ай бұрын

    iykyk

Келесі