How to use ADB and scrcpy to interact with your Android phone

  Рет қаралды 73,658

Engineer Man

Engineer Man

3 жыл бұрын

Finally I am answering the most asked question from all of my Android game automation videos: How do I use ADB? How are you mirroring your device? What emulator is that? And more.
Android Platform Tools:
developer.android.com/studio/...
scrcpy:
github.com/Genymobile/scrcpy
Hope you enjoyed the video!
Check out this code here:
github.com/engineer-man/youtu...
Join my Discord server to chat with me:
/ discord
Check out some code on my GitHub:
github.com/realtux
github.com/engineer-man/youtube
Come visit us on Reddit:
/ engineerman
Other Social:
/ _engineerman
/ engineermanyt

Пікірлер: 91
@yassineelghizi8022
@yassineelghizi8022 3 жыл бұрын
Just two days ago i was struggling with react native and adb stuff, and here's the engineer again to help me out 👊🏻 , thanks man a lot.
@graysoncanaan5364
@graysoncanaan5364 2 жыл бұрын
instablaster
@noahnolte7288
@noahnolte7288 3 жыл бұрын
Yes! Thank you so much for finally doing this!
@s0litaire2k
@s0litaire2k 3 жыл бұрын
Been using scrcpy for a while! great little program to mirror my phone on screen.
@Jakub1989YTb
@Jakub1989YTb 3 жыл бұрын
Thanks!! Thanks to this I was finally able to acess my older phone with cracked display and unfunctional touchscreen.
@EngineerMan
@EngineerMan 3 жыл бұрын
Hey, nice, I had not considered that use case.
@KaushikMajumdar15
@KaushikMajumdar15 3 жыл бұрын
Wait, how did you enable USB Debugging?
@Jakub1989YTb
@Jakub1989YTb 3 жыл бұрын
​@@KaushikMajumdar15 Great point. Luckilly, I had already enabled that in the past when the phone display was working. That's allways one of the first things I do on a new Android phone. And now it has greatly repaid it self.
@KaushikMajumdar15
@KaushikMajumdar15 3 жыл бұрын
@@Jakub1989YTb Good for you.
@Jakub1989YTb
@Jakub1989YTb 3 жыл бұрын
@@KaushikMajumdar15 Tell me about it.. Now I greatly recommend this to everybody. It also makes the recovery of the data, that are not in cloud, very easy. It's basically a must.
@yomajo
@yomajo 3 жыл бұрын
Thank you for finally addressing this!
@iodreamify
@iodreamify 3 жыл бұрын
Great video. Have you ever tried/had success with Anbox? What would you recommend in terms of Android emulation on Linux?
@daltonbyers5272
@daltonbyers5272 3 жыл бұрын
Is there a way to read values off of the screen using adb? For example: playing a game where you have stamina and have to wait for it to regen. Is there a way to read how much stamina you have?
@1.8millionvolts87
@1.8millionvolts87 3 жыл бұрын
thanks man,do u have any python learning videos? ur explanation is awesome
@MatheusSilva-qm3ph
@MatheusSilva-qm3ph 3 жыл бұрын
Great. Thanks from Brazil.
@_mc_hon_3219
@_mc_hon_3219 2 жыл бұрын
This is amazing. Thanks a lot!
@rahmanuhermawan1931
@rahmanuhermawan1931 3 жыл бұрын
I wish knew scrcpy some weeks ago :)). Anyway, good tutorial!
@_mnejing
@_mnejing 3 жыл бұрын
I'd strongly recommend anyone who intends to use this to play games to look at the bitrate flag. Newer versions may default to a better bitrate (1.16 defaults to 8Mbps, which is probably fine), but the older version I was using needed a bump to smooth out the blockiness. Otherwise it's perfect, except that whole sound thing.
@TheVirtualArena24
@TheVirtualArena24 2 жыл бұрын
Hey can you tell where to enter the commands like there are lot of ways people showing to run the scrcpy. I just click on scrcpy.exe. And when I try to use resolution changing commands or anything I can't type in that terminal. I mean I'm not use to cmd and adb terminals. I'm confused
@Xarius01
@Xarius01 2 жыл бұрын
Please make more of these automation with adb videos
@FreeDomSy-nk9ue
@FreeDomSy-nk9ue 5 ай бұрын
Legend as always.
@rudeviper
@rudeviper 3 жыл бұрын
It was just two commands for me : *sudo apt install adb* *sudo apt install scrcpy* Linux is so much easy to get things done!
@TheBiggsHoson
@TheBiggsHoson 2 жыл бұрын
Thank you for this!
@akashgajare5327
@akashgajare5327 3 жыл бұрын
Engineer Man Please tell me what you use to show your mobile screen to display on your pc screen, adb and screen copy is all done but i dont know how to show mobile screnn, is it an emulator ?
@GaneshSingaram
@GaneshSingaram 3 жыл бұрын
do we need to connect the cable and the pc always to mirror, or is mirroring possible without cable after setting it up
@KotekDev
@KotekDev 3 жыл бұрын
Hello! I have a problem. Could you please help me? I once had a phone that fell down and it's screen broke. I had custom rom and root there. I also had usb debbuging enabled. But when I boot it to normal mode my pc recognises my phone as cd drive. Basically I do not have access to it. If I go to recovery mode Everything is fine. My pc recognises this as a phone and I have access to my phone. Do you know how could I connect to my phone to pc so that I could controll it with a pc in that situation? I can't connect scrcp to phone when it's in recovery mode.
@dicloniusN35
@dicloniusN35 3 жыл бұрын
thank you) I wrote this questions))
@daddy.69.
@daddy.69. 3 жыл бұрын
Thanks man........ You r great:)
@brentgees
@brentgees 3 жыл бұрын
Thanks! Maybe it's an idea to add this video to the Android playlist? Had some trouble finding this video :)
@EngineerMan
@EngineerMan 3 жыл бұрын
I certainly will, thanks.
@lllbenderlll
@lllbenderlll 3 жыл бұрын
Laconic and good video. Tnx
@martincorchuelo2946
@martincorchuelo2946 3 жыл бұрын
Do you know some emulator to create a few phones? (where we could apply this video)
@Denis-np3mn
@Denis-np3mn Жыл бұрын
Hello. I want a emulation only in Android (without computer). Do you have some suggestions?
@MACHINEBUILDER
@MACHINEBUILDER 3 жыл бұрын
Nice tutorial :)
@SploogeScrooge
@SploogeScrooge 3 жыл бұрын
how do you set them up and use them ?
@DailyBeatings
@DailyBeatings 3 жыл бұрын
I do this with my Oculus Quest headset. The only problem is there's some screen tearing on fast moving images.
@ram_rahim_creations_officials
@ram_rahim_creations_officials 3 жыл бұрын
Hey hi guys How could I enable usb debugging with out USB cable on remote device .. and how to connect with adb. Using any script?? Please give me suggestions
@danielmaderner7265
@danielmaderner7265 3 жыл бұрын
great video thank you
@florianl14
@florianl14 3 жыл бұрын
Great video! How do you add the grid of the mouse location in scrcpy?
@EngineerMan
@EngineerMan 3 жыл бұрын
That's actually a feature of Android itself and you can find it in developer options under show pointer location.
@Guytron95
@Guytron95 3 жыл бұрын
Are there any differences between using the Android Studio supplied ADB vs the standalone ADB? Or will scrcpy work automatically with Android Studio?
@EngineerMan
@EngineerMan 3 жыл бұрын
They would differ only in ADB version. I suspect the supplied ADB version that comes with Android Studio will be fine with scrcpy.
@phurinatpuekkham8979
@phurinatpuekkham8979 3 жыл бұрын
Hi Engineer Man, Can u do a tutorial on how to control the mobile application with Node.js by using *adbkit* and *adbkit-monkey* library.
@jakubmazur8218
@jakubmazur8218 3 жыл бұрын
When i'm trying to swipe, i am gatting an error: java.lang.SecurityException: Injecting to another application requires INJECT_EVENTS permission
@NurettinOzcelik
@NurettinOzcelik Жыл бұрын
could you find a solution ?
@zerosploit
@zerosploit 3 жыл бұрын
Amazing thank you
@DeepakSingh-xt5io
@DeepakSingh-xt5io 3 жыл бұрын
Thank you for the video. I have a small doubt. I'm using my phone's Wi-Fi hot-spot to connect my laptop to access the internet. Can I access my phone using adb in this scenario?
@1996Pinocchio
@1996Pinocchio 3 жыл бұрын
Probably
@nayaknaveen2286
@nayaknaveen2286 Жыл бұрын
Can we use this python ADB for Android TV (Smart TV's)
@pritigoel8662
@pritigoel8662 2 жыл бұрын
How to turn on Android's accessibility settings using python? Please help
@hoatranquang8376
@hoatranquang8376 6 ай бұрын
Dear Engineer Man Current, my Sdcard had app.apk. I sign in by adb root on my PC by Os Ubuntu so, how to install my app.apk directly from Sdcard, that no move app.apk to Os Ubuntu? Thank you so much
@shubhamjain6112
@shubhamjain6112 3 жыл бұрын
My phone is just stuck on 'Allowing input via USB debugging. Plz help
@renidea9523
@renidea9523 3 жыл бұрын
I can't use my phone's screem, I want to use it on pc instead. How can I do it?
@Steve-Richter
@Steve-Richter 3 жыл бұрын
Is there an equivalent using the iPhone?
@nellaimuthuvels7099
@nellaimuthuvels7099 2 жыл бұрын
Will the phones software be automated because of automating?
@CarinoGamingStudio
@CarinoGamingStudio 3 жыл бұрын
hey how about adding game controller on scrcpy? next vid pls.
@eprimchad2576
@eprimchad2576 3 жыл бұрын
ok im pretty braindead when it comes to this stuff not sure if anyone will see it, but help would be appreciated. i got the app working fine i can see my screen and even got the audio streaming aswell. im looking at the readme and there are tonnes of command executables i think theyre called such as --window-borderless or other things like always on top, where do i type these in? i go to my windows command prompt and type them in nothing happens, aswell as in the black window that runs for scrcpy, can someone tell me where and how i type these commands in to get borderless always ontop etc. also the ctrl+click and move doesnt function for pinch to zoom, not sure if anyone knows a fix?
@pvp_is_fun9664
@pvp_is_fun9664 7 күн бұрын
is it possible to connect in bluestack emulator?
@codinganna
@codinganna 3 жыл бұрын
Love from india
@segsfault
@segsfault 3 жыл бұрын
finally fucking yes i can record my phone's screen using my PC
@EdnovStormbrewer
@EdnovStormbrewer 3 жыл бұрын
Don't forget, if you want to save battery while using adb & scrcpy, be sure to turn your brightness all the way down ;)
@srky19
@srky19 3 жыл бұрын
Or you can press LAlt+O while scrcpy is running to turn off display on your device while still keeping mirrored display on.
@TheMinatozzz
@TheMinatozzz 2 жыл бұрын
How do I access from my work with my cell phone at home?
@terryterry1655
@terryterry1655 5 ай бұрын
how to usb debug connect if android unable to reboot phone? help!!
@JesusRivera-wv5be
@JesusRivera-wv5be 2 жыл бұрын
HOW DO YOU DO THIS EXACT SAME THING ON PYCHARM WITH WINDOWS 10
@ranjuthanbagulan2881
@ranjuthanbagulan2881 3 жыл бұрын
grt video so how can i take the computer out of the process and just have an app open without it being connected to a computer
@kingsahil-brawlstars3118
@kingsahil-brawlstars3118 3 жыл бұрын
How to get adb with Android studio ?
@Yudibilly
@Yudibilly 3 жыл бұрын
How to create firmware/Rom Android phone
@AdityaRaj-gs1ni
@AdityaRaj-gs1ni 3 жыл бұрын
please help me iam not able to control my phone plse brother
@Ishaan_Garud
@Ishaan_Garud 3 жыл бұрын
HOW TO SETUP FOR ADB
@BitCloud047
@BitCloud047 3 жыл бұрын
So I'm on a mac (a 2018) and I did brew install scrcpy 3 days ago and its still installing??? I have fast internet and my computer is pretty damn fast so i'm really confused...
@shivamjalotra9126
@shivamjalotra9126 2 жыл бұрын
Did it worked ?
@BitCloud047
@BitCloud047 2 жыл бұрын
@@shivamjalotra9126 I cancelled it and reinstalled and It did
@vasea986
@vasea986 2 ай бұрын
Hello! Please help if someone can of course! I wanted to connect through my computer to my Samsung Galaxy Note 10 phone and it doesn’t want to work and gives an error. Maybe someone knows how to solve this problem! Thanks for understanding!
@sinpi314
@sinpi314 3 жыл бұрын
How do you mirror your phone?
@atrbulldog5955
@atrbulldog5955 3 жыл бұрын
Does ios have something like this?
@djnikx1
@djnikx1 3 жыл бұрын
Awesome presentation!! short and to the point.. click 'Subscribe'!
@omarsplaytimechannel
@omarsplaytimechannel Жыл бұрын
You lost me at 1:55 I have no Idea what to do next and now I have a file with random things I don't need and can't use.
@slendi9623
@slendi9623 3 жыл бұрын
Ok cool
@IgnoreMyChan
@IgnoreMyChan 3 жыл бұрын
You look kinda blurry, Engineer! ;-)
@EngineerMan
@EngineerMan 3 жыл бұрын
I noticed that as well, I don't why. I haven't changed anything.
@IgnoreMyChan
@IgnoreMyChan 3 жыл бұрын
@@EngineerMan No worries, your voice was clear as a diamond.
@khizar9959
@khizar9959 3 жыл бұрын
Please Do mor Reverse Engineering Videos. Please.
@bronowskijan2
@bronowskijan2 3 жыл бұрын
I have problem with double click on the screen via adb. Using 'screen input tap ..' is just to slow to get a like on Instagram.
@hogstudio4819
@hogstudio4819 3 жыл бұрын
Android studio... It is a bit sad that we have to rely on freeware to develop Android apps.
@waffledevs
@waffledevs 3 жыл бұрын
android studio is made by android themselves. how is that sad, they would be the best people to get it from.
@hogstudio4819
@hogstudio4819 3 жыл бұрын
@@waffledevs It is sad because it is freeware (which is what I said), not because the developers are from Android. Still, the name of the developers is not an argument, if the software is not FLOSS and consumes as much resources is not good enough for me.
Automating Android Games with Python: Simon Says (Top Score)
11:31
Engineer Man
Рет қаралды 66 М.
Speed Up any Android Phone or Tablet
11:30
Chris Titus Tech
Рет қаралды 253 М.
Became invisible for one day!  #funny #wednesday #memes
00:25
Watch Me
Рет қаралды 40 МЛН
OMG😳 #tiktok #shorts #potapova_blog
00:58
Potapova_blog
Рет қаралды 4,3 МЛН
Control Your Android Emulator with ADB
14:41
CorSecure
Рет қаралды 15 М.
Automating Android Games with Python: Stick Hero
15:22
Engineer Man
Рет қаралды 382 М.
7 ADB Commands That Will Make You Android Ninja!
7:14
Charfaoui Younes
Рет қаралды 1 М.
Automating Android Basketball So Hard The Dunks Never Stop
8:13
Engineer Man
Рет қаралды 37 М.
Android Framework  - Useful Adb Commands
17:26
Dimple S
Рет қаралды 10 М.
8 super heroic Linux commands that you probably aren't using
8:38
Engineer Man
Рет қаралды 726 М.
cute mini iphone
0:34
승비니 Seungbini
Рет қаралды 6 МЛН
Main filter..
0:15
CikoYt
Рет қаралды 14 МЛН
Спутниковый телефон #обзор #товары
0:35
Product show
Рет қаралды 2 МЛН