Тёмный
No video :(

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

Engineer Man
Подписаться 538 тыс.
Просмотров 74 тыс.
50% 1

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

Опубликовано:

 

3 окт 2020

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 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!
@_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
@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?
@_mc_hon_3219
@_mc_hon_3219 2 года назад
This is amazing. Thanks a lot!
@iodreamify
@iodreamify 3 года назад
Great video. Have you ever tried/had success with Anbox? What would you recommend in terms of Android emulation on Linux?
@rahmanuhermawan1931
@rahmanuhermawan1931 3 года назад
I wish knew scrcpy some weeks ago :)). Anyway, good tutorial!
@MatheusSilva-qm3ph
@MatheusSilva-qm3ph 3 года назад
Great. Thanks from Brazil.
@TheBiggsHoson
@TheBiggsHoson 2 года назад
Thank you for this!
@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
@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!
@1.8millionvolts87
@1.8millionvolts87 3 года назад
thanks man,do u have any python learning videos? ur explanation is awesome
@SploogeScrooge
@SploogeScrooge 3 года назад
how do you set them up and use them ?
@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 ?
@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.
@dicloniusN35
@dicloniusN35 3 года назад
thank you) I wrote this questions))
@Xarius01
@Xarius01 2 года назад
Please make more of these automation with adb videos
@pvp_is_fun9664
@pvp_is_fun9664 Месяц назад
is it possible to connect in bluestack emulator?
@Denis-np3mn
@Denis-np3mn Год назад
Hello. I want a emulation only in Android (without computer). Do you have some suggestions?
@FreeDomSy-nk9ue
@FreeDomSy-nk9ue 6 месяцев назад
Legend as always.
@hoatranquang8376
@hoatranquang8376 7 месяцев назад
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
@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 ?
@Danlejyiwbekdoww
@Danlejyiwbekdoww 3 года назад
great video thank you
@pritigoel8662
@pritigoel8662 2 года назад
How to turn on Android's accessibility settings using python? Please help
@zerosploit
@zerosploit 3 года назад
Amazing thank you
@martincorchuelo2946
@martincorchuelo2946 3 года назад
Do you know some emulator to create a few phones? (where we could apply this video)
@lllbenderlll
@lllbenderlll 3 года назад
Laconic and good video. Tnx
@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
@terryterry1655
@terryterry1655 6 месяцев назад
how to usb debug connect if android unable to reboot phone? help!!
@nayaknaveen2286
@nayaknaveen2286 Год назад
Can we use this python ADB for Android TV (Smart TV's)
@TheMinatozzz
@TheMinatozzz 2 года назад
How do I access from my work with my cell phone at home?
@daddy.69.
@daddy.69. 3 года назад
Thanks man........ You r great:)
@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.
@renidea9523
@renidea9523 3 года назад
I can't use my phone's screem, I want to use it on pc instead. How can I do it?
@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
@Steve-Richter
@Steve-Richter 3 года назад
Is there an equivalent using the iPhone?
@JesusRivera-wv5be
@JesusRivera-wv5be 2 года назад
HOW DO YOU DO THIS EXACT SAME THING ON PYCHARM WITH WINDOWS 10
@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?
@nellaimuthuvels7099
@nellaimuthuvels7099 2 года назад
Will the phones software be automated because of automating?
@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.
@kingsahil-brawlstars3118
@kingsahil-brawlstars3118 3 года назад
How to get adb with Android studio ?
@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.
@shubhamjain6112
@shubhamjain6112 3 года назад
My phone is just stuck on 'Allowing input via USB debugging. Plz help
@DailyBeatings
@DailyBeatings 3 года назад
I do this with my Oculus Quest headset. The only problem is there's some screen tearing on fast moving images.
@Yudibilly
@Yudibilly 3 года назад
How to create firmware/Rom Android phone
@segsfault
@segsfault 3 года назад
finally fucking yes i can record my phone's screen using my PC
@MACHINEBUILDER
@MACHINEBUILDER 3 года назад
Nice tutorial :)
@AdityaRaj-gs1ni
@AdityaRaj-gs1ni 3 года назад
please help me iam not able to control my phone plse brother
@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.
@Ishaan_Garud
@Ishaan_Garud 3 года назад
HOW TO SETUP FOR ADB
@CarinoGamingStudio
@CarinoGamingStudio 3 года назад
hey how about adding game controller on scrcpy? next vid pls.
@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
@atrbulldog5955
@atrbulldog5955 3 года назад
Does ios have something like this?
@codinganna
@codinganna 3 года назад
Love from india
@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.
@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
@sinpi314
@sinpi314 3 года назад
How do you mirror your phone?
@vasea986
@vasea986 3 месяца назад
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!
@slendi9623
@slendi9623 3 года назад
Ok cool
@djnikx1
@djnikx1 3 года назад
Awesome presentation!! short and to the point.. click 'Subscribe'!
@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.
@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.
@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.
Далее
кажется, началось
00:45
Просмотров 947 тыс.
Control Your Android Emulator with ADB
14:41
Просмотров 16 тыс.
Speed Up any Android Phone or Tablet
11:30
Просмотров 254 тыс.
Engineer Breaks Down Hollywood Programming Scenes
11:02
~/.dotfiles in 100 Seconds
13:54
Просмотров 412 тыс.