Control your device from your computer - ADB tutorial

  Рет қаралды 262,901

Ben Kadel

Ben Kadel

Күн бұрын

Пікірлер: 255
@Tuligarnio
@Tuligarnio 8 ай бұрын
All the commands shown in the video: adb devices adb devices -l adb -s emulator-5554 shell adb shell getprop adb shell getprop "ro.build.version.release" adb shell cd /sdcard touch temp.txt echo "hello" >> temp.txt cat temp.txt exit adb push temp_del.txt /sdcard adb pull /sdcard/temp_del.txt . adb exec-out screencap -p > ./pic.png adb shell screenrecord "/sdcard/vidfile.mp4" adb shell input tap 538 1099 adb shell input text "hello" adb shell input keyevent 4 adb shell pm list packages run-as bk.yt.example adb shell dumpsys activity
@mateuszskupny9665
@mateuszskupny9665 Жыл бұрын
Alright... How can I overcome the obstacle from 5:13 if my device has a broken screen and the main goal of using ADB was to extract data such as phone numbers, text messages, and photos? Is it going to be possible to access the phone without touching it?
@faisalahmad2445
@faisalahmad2445 3 жыл бұрын
This is by far the most useful video I have ever seen about an Android Tool. if someone explained the gradle hell like this it would amazing.
@deepin2u
@deepin2u 9 ай бұрын
Agreed! This is how Tutuorials SHOULD be DONE on ANYTHING! As a pro in I.T. for Window s Desktops, Cisco CUME, etc I instruct or trained many colleagues to get up to speed fast and I adjust based on their knowledge background or their accument to learning speed. Well done. PS: Found this totorial while looking up Forencsic Tools guides and info for Android yet when I searched months ago I could not find it.
@vaibhavshoran
@vaibhavshoran 3 жыл бұрын
Everything that i was looking for...packaged beautifully in a 30 min video.. Thanks a lot
@BenKadel
@BenKadel 3 жыл бұрын
You are absolutely most welcome! Really glad to get this comment, thank you so much!
@vivekchary780
@vivekchary780 2 жыл бұрын
@@BenKadel sir can we use adb for data extraction from a specific application like web scraping sir
@tanias22
@tanias22 3 жыл бұрын
Thank you so much! I've been looking for a while for a video like yours. I needed somebody to explain it to me from the very beginning how to connect the phone to the computer. Keep up the good work!!!
@Fillmore634b
@Fillmore634b 6 ай бұрын
To be honest, one of the best videos I've seen in my life on youtube.
@jonsnow9758
@jonsnow9758 3 жыл бұрын
Amazing stuff...till now I just knew the long form of ADB. Now I know what actually it is. Thanks a ton.
@BenKadel
@BenKadel 3 жыл бұрын
Absolutely welcome! My pleasure! thanks for the lovely comment!
@koenpauwels98
@koenpauwels98 8 ай бұрын
excellent video already, im just in the start. I love the production quality already!
@carltheyoda2155
@carltheyoda2155 2 жыл бұрын
GREAT job! I'm interviewing for a QA role and your video has been VERY helpful!
@BenKadel
@BenKadel 2 жыл бұрын
Carl the yoda (great username btw) thank you so much for this lovely comment! Hope the interviewing went successfully! and super happy that this video was helpful in some form
@jeytis72
@jeytis72 2 жыл бұрын
Very interesting video indeed! What if your smartphone has broken screen and you can't see anything? I mean, how can you enable usb debugging? Thanks
@Leo31415
@Leo31415 Жыл бұрын
Never replied to a YT video, but this one is too good. Great job!
@Dudurapidez
@Dudurapidez 5 ай бұрын
Guy, your intro has won me to watch the rest of the video. Thanks
@nepalisite
@nepalisite Жыл бұрын
I still see this message "zsh: command not found: adb"
@xnigel
@xnigel 3 жыл бұрын
8:42 this is the one I want to find out. (for shelling to one from multiple devices)
@ackerh9181
@ackerh9181 3 жыл бұрын
Thanks buddy i was litterally finding a tutorial for adb😅 it will definitely help me out ☺️
@harshadpawar1810
@harshadpawar1810 5 ай бұрын
I have mxq pro 4k 5g (rockchip processor rk 3228a box), screen saver is not working (never turns on)in it. What will be the adb bcommands to turn on screensaver ?
@shirotracks
@shirotracks Жыл бұрын
show us how to use a file inside which uve written the commands for adb. thank you sir
@anupamkumar9616
@anupamkumar9616 Жыл бұрын
How we can change our current location by using adb please tell me what is the command.
@alvinbiscarra4374
@alvinbiscarra4374 3 жыл бұрын
Hey Bro, I have a broken phone with a black screen and I want to enable USB debugging so I can control my broken phone, do you have a tutorial how to enable USB debugging using ADB?
@arnavvv123
@arnavvv123 3 жыл бұрын
Thats not at all possible , if you have an unlocked bootloader then there are many tutorials mostly they are not however there is no way to do that except if you have a usb rubber ducky !
@insertnamehere478
@insertnamehere478 11 ай бұрын
Is there a tool, like the Windows volume mixer, or perhaps through ADB or a third-party app, that offers similar functionality for the Samsung Galaxy Tab A7 Lite?
@GaxtonOkobah
@GaxtonOkobah 2 жыл бұрын
How do i use the adb to start up a Samsung phone that is on a boot loop that stops at the android logo?
@AhmedAli-bd5il
@AhmedAli-bd5il Жыл бұрын
hello ben, does it work with MacBook Air m1 model? somehow whenever I write the command "adb devices" it says "no devices found" any help ? thanks
@robimegu3712
@robimegu3712 2 жыл бұрын
I watched it multiple times, and all the time I had the intention to hit that Like button again.
@technicalgladwingroup
@technicalgladwingroup Жыл бұрын
I have a interactive flat panel and I have apps installed how to grant and access the permission different application .
@Shdwbrkr-fk4vx
@Shdwbrkr-fk4vx 4 күн бұрын
Is there a way to activate ADB on the target device without any physical contact?
@hatemsdr2479
@hatemsdr2479 Жыл бұрын
What's about if USB DEBUGGING in my phone IS DISABLED and the AUTO FACTORY RESET is ON???
@lynnmcpherson1118
@lynnmcpherson1118 3 жыл бұрын
I Love the way your videos. So easy to understand and quite entertaining. Keep them coming!!
@BenKadel
@BenKadel 3 жыл бұрын
Thank you so much! Appreciate these lovely words! Have a super day!
@robinreso6240
@robinreso6240 3 жыл бұрын
how can i pull from internal DCIM folder not the sdcard? cant find to location description anywhere :(
@BenKadel
@BenKadel 3 жыл бұрын
Usually for me the DCIM folder and Camera pics/vids can be found here: /sdcard/DCIM/Camera Hope that helps? You can then use this adb pull command: adb pull /sdcard/DCIM/Camera/abc.jpg .
@robinreso6240
@robinreso6240 3 жыл бұрын
@@BenKadel so you have a internal sd card installed?
@robinreso6240
@robinreso6240 3 жыл бұрын
Waaaauw this goes beyond my logics....i tested and itworkssss!!!!!!! Thx a lot
@BenKadel
@BenKadel 3 жыл бұрын
Huzzah! Glad it works! Yeh honestly its a little bit weird because its not really an sdcard... Well it might be, but most of the time this folder refers to the phone internal memory... No idea why *shurg*
@Anteupplaya
@Anteupplaya Жыл бұрын
Hey how do I give my devices different "ports" both are saying there 5555.
@prakashk633
@prakashk633 2 жыл бұрын
How to perform long press at x,y location in android ver 4.3
@BenKadel
@BenKadel 2 жыл бұрын
In ver 4.3 ... oh golly, not sure, every link I open says that since 4.4 this long click option was possible... ``` adb shell input keyevent --longpress KEYCODE_L ``` But for 4.3 I honestly dont know, sorry about that...
@danielgx83
@danielgx83 9 ай бұрын
what if developer option not open and my phone is locked , do you have a video for that ?
@aryantiwari9652
@aryantiwari9652 3 ай бұрын
What should i do to remove this- Too many arguments promt? I want to adb reboot"dm-verity enforcing" but it is showing too many arguments.please tell me what can i do .
@mr.swapnajitchowdhury.4191
@mr.swapnajitchowdhury.4191 3 жыл бұрын
Can we turn on the phone by command if the power key and volume key is not working?
@RickDean
@RickDean Жыл бұрын
I have a family member on the same wifi. Is there a script I can run that immediately kills his script he's sent to my S22? Perhaps a constantly running kill-server? Or some way to prevent his access? Knowledge and comments much appreciated.
@bakingncooking3499
@bakingncooking3499 Жыл бұрын
hey...just want to ask because i tried this in my working phone with enable debugging and it work. but my broken phone with a black screen which i want to access my files is not enable the debugging... so when i open the command promt there is no device appearing. how can i enable it with a black screen ? CAN THIS STILL WORK ? :(
@VarunPilankar
@VarunPilankar 2 жыл бұрын
Any adb shell command to read/control notification action button?
@arcangelmarlon2186
@arcangelmarlon2186 Жыл бұрын
Amigo una pregunta esto se podrá usar lo que enseñaste con la depuración inalámbrica?
@Harshavardhan_2306
@Harshavardhan_2306 Жыл бұрын
how to set 5G network for both the SUBs using shell command can you please help
@jodyjohnson265
@jodyjohnson265 10 ай бұрын
Are we able to overclock low end android devices with ADB?
@joecook4451
@joecook4451 Жыл бұрын
could we pull all data like a nandroid image then restore later using just shell? if we was in recovery mode.
@sFeral
@sFeral 3 жыл бұрын
I was actually looking for a way to open the sdcard with a file manager via adb, since I get errors when switching "USB debugging" on/off (re-plugging doesn't help). So far 17:45 it looks possible... it's one of those "restart lightdm" to fix it, errors "Error the name :1.327 was not provided by any .service files Please select another viewer and try again"
@Rydrdg
@Rydrdg 2 жыл бұрын
How do I stop the adb monitoring cpu activity after I issue the command?
@davincitogamer1426
@davincitogamer1426 2 жыл бұрын
How can I open cell phone settings using adb shell, tell me the command please?
@dineshreddy618
@dineshreddy618 2 жыл бұрын
can we get files/videos/assets which are present inside the app to our system?
@acrtez
@acrtez 2 жыл бұрын
Can I delete pre-installed app s with usb debugging?
@damahomrondelahkilmar8973
@damahomrondelahkilmar8973 3 жыл бұрын
dear ben. how can i switch on my handphone with adb. can u help.tq
@hakan.tektas
@hakan.tektas 2 жыл бұрын
Thanks for this great video. I have a question how can I delete my gmail account with adb commands. ?
@funkymonk2254
@funkymonk2254 2 жыл бұрын
Thanks Ben. Great intro lesson.
@BenKadel
@BenKadel 2 жыл бұрын
Thank YOU kindly for this lovely comment! Glad the vid was useful
@traveho2747
@traveho2747 3 жыл бұрын
Hi Ben, Thank you for the cool video. I learnt and enjoyed it. Just wanted to check 1- How to mirror the android device? So that whatever I do in the laptop will be reflected to the physical phone/ emulator. 2- Can we execute such commands on the phone without connecting it to the PC/laptop? (For example, I have an android phone in another country, can I control it remotely?
@SimonBauer7
@SimonBauer7 2 жыл бұрын
wireless adb is a thing but only within the same network so youd need to establish a vpn tunnel into your home wifi and then use wireless adb.
@ghostjinrileykazama2723
@ghostjinrileykazama2723 2 жыл бұрын
hello , can you use that to force unlock OEM, since the phone its not unlock ?
@raomohsin5910
@raomohsin5910 11 ай бұрын
i have a phone, its screen has been broken, i can not see anything on the phone, but the phone is working fine, i can poweroff and start it. and i am able to hear sound. when call comes it rings. i want to connect it with adb or any other software i want to use it from my laptop. i have already turn on developer option and usb debugging. i can not get my phone screen from visor. i can not press any button on the screen. but i can press physical buttons volum up/down and power button. is there any way to
@emytradez
@emytradez Жыл бұрын
Can I connect two android with adb??
@אורצדוק-ב8ע
@אורצדוק-ב8ע 7 ай бұрын
hey good explenation. may be you can help me. iforgot my pattern on my galaxy s9. is there anyway to extract the data before factory reset?
@hamidhamidi-mx2xx
@hamidhamidi-mx2xx 3 ай бұрын
Hi, thank you for the tutorial you give me. I can't copy the file from the computer to the SD card through adb. Of course, it is copied to the internal memory, but it can't be copied to the SD card. It doesn't seem to recognize the SD card. If you can guide me, I'll be grateful. My phone is Samsung A01.
@stevenneuberger4323
@stevenneuberger4323 3 жыл бұрын
I want to track down what is causing the phantom touches on my Galaxy S7. At least find out if the screen is generating them or if some code has gone berserk. Thanks for a great start on this.
@BenKadel
@BenKadel 3 жыл бұрын
My pleasure! Thanks for this lovely comment!
@conraddevera
@conraddevera 2 жыл бұрын
Can you run an app from the phone but emulated in the pc or mirrored?
@ebuzertahakanat
@ebuzertahakanat 2 жыл бұрын
how to back up official Rom image with ADB?
@adnanalghail689
@adnanalghail689 2 жыл бұрын
Hi Ben, Thanks for your video. Question, Can I run Shell commands on the System user level? any hint on how to run the shell commands on the system admin level user.
@bhavinpithawala3967
@bhavinpithawala3967 2 жыл бұрын
info about running app is just gold mine. thank you so much for sharing this video.
@irfanyaqoob4717
@irfanyaqoob4717 Жыл бұрын
Is there any way to upload the files from PC to quest pro using some script? like user browse the file from PC and transfer to the quest pro sdcard
@hugokaktus3475
@hugokaktus3475 2 жыл бұрын
Hi Ben, I want to use adb through the python implementation pure-python-adb. I cant get it to run on my mac though (it seems to break because the android console returns more than "ok"). Is there another such library?
@0.mo.ya.0
@0.mo.ya.0 2 жыл бұрын
could u help me to fix some android app using adb commands plz ?
@harshit772
@harshit772 3 жыл бұрын
Goddamn I love this video of yours I love how you make the start fun and don't make it boring You are amazing Please keep making such more 🥰
@BenKadel
@BenKadel 3 жыл бұрын
Dudeeeee Harshit, this is such a lovely comment! Thank you so so so much for this you have made my day
@hoatranquang8376
@hoatranquang8376 Жыл бұрын
Dear Ben Kadel 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
@AhmedElmisery
@AhmedElmisery 2 жыл бұрын
I need adb command to grant modify system settings my device is rooted and has twrp
@DDBAA24
@DDBAA24 Жыл бұрын
Can you make a video on 'pm' .. Thanks
@mmm6231
@mmm6231 2 жыл бұрын
Can we install some apps in phone by adb?
@AungWinHtutGH
@AungWinHtutGH 5 ай бұрын
great tutorial! thank yuu so much. by the way how to show android phone screen on your computer please?
@hkchhimpa945
@hkchhimpa945 3 жыл бұрын
is there any command to turn on hotspot of my android device
@TheMinatozzz
@TheMinatozzz 2 жыл бұрын
How do I access from my work with my cell phone at home?
@przemekwikarski4069
@przemekwikarski4069 Жыл бұрын
Hello. Came accross your video today and wonder if you could help. My Chinese radio car unit got frozen on android logo. I have dawnloaded adb, but it is not reognizing it (adb list of attached devices empty). I have resolved daemon not runnning issue, but adb still do not see the device. I did mannaged to connect my phone and adb recognized it, so I am guessing that drivers are up to date. I am running out of ideas. Also manual restart does not work. I would be gratefull for any ideas on how to resolve it.
@stoicadaniel1909
@stoicadaniel1909 3 жыл бұрын
hello Ben, i think u are my rescue... look, pacient: samsung a5 2016. problem: when i insert sdcard have no option to format as internal storage, only portable.. what can i do? thanks
@rashmic2237
@rashmic2237 2 жыл бұрын
How to pull the securefolder app data from Android.
@hainish2381
@hainish2381 Жыл бұрын
This is an amazing introduction to ADB. Thanks!!!
@shamanmanouvha
@shamanmanouvha 3 жыл бұрын
I love the way you explain! You got yourself one more subscriber!
@BenKadel
@BenKadel 3 жыл бұрын
Dang this is an absolutely lovely comment! Thank you so much Dominic this means alot and also welcome aboard good sir, glad to have you!
@LAZYLAGZ
@LAZYLAGZ 2 жыл бұрын
Pls can you make a video about customize phone using adb ?
@ugggamersltda2605
@ugggamersltda2605 3 жыл бұрын
Hey can you share an example how you made that script to login on that app?
@danielwi2634
@danielwi2634 2 жыл бұрын
Any idea of any subcommand to check if there is newer version of the chrome app and android system view available on the Google Play store ? As a tester it would be useful to have some phones connected via usb hub and weekly check which device is behind.
@satveerrana3728
@satveerrana3728 Жыл бұрын
Bro I have j6 infinity and I forget my pin I want to save my data from reset can u help me
@gunsnroses962
@gunsnroses962 Жыл бұрын
Can you tell me which android emulator to use?
@itslilkyle
@itslilkyle 2 жыл бұрын
Wait, does this mean that my phone is rooted if i use adb????
@amtonionieves
@amtonionieves Жыл бұрын
hola con el comando pull puedo pasar cualquier archivo del pc al celular tengo una rom comprimida en un archivo punto rar y no me permite copiarlo al celular probe con un archivo pdf y otro jpg y los mueve sin ningun problema alguna solucion para eso gracias saludos .
@AugustineAbia
@AugustineAbia 3 ай бұрын
how do i get the terminal
@BigBankBailey
@BigBankBailey Жыл бұрын
I wish someone made a tutorial for rooting the lokmat appllp 4 pro. It doesnt hage volume keys or a recents button. Just a home and back button
@insertnamehere478
@insertnamehere478 11 ай бұрын
If you're still checking the comments, could you share your professional opinion on whether ADB commands and apps available on the Google Play Store, which offer per-app volume control and may utilize accessibility services or other permissions, provide a direct means to manage the volume levels of specific Android apps?
@Sukhjinders47
@Sukhjinders47 3 жыл бұрын
Bro my phone screen is totally broken how can i turn on my otg ..?
@DS136-n3z
@DS136-n3z 3 жыл бұрын
Dear, message on your Twitter handle couldn't be posted. Anyway, my problem is that I've a MI5 phone whose internal storage is full and it has gone for an OS upgrade. Now the phone is not booting (there's no provision of adding a microSD card either). Is there some way to move some of the files from the internal storage as I'm pretty sure that phone will then boot normally. I've tried ADB DEVICES but to no avail !!
@RickDean
@RickDean 11 ай бұрын
Very good audio. Your skills are amazing.
Жыл бұрын
First of all, I would like to thank you for the useful information and wish you success. Is it possible to enable USB Debugging partition with these cmd commands when Samsung m12 is screen locked?
@revotrader1386
@revotrader1386 2 жыл бұрын
What emulator is the one you use ? what's the name of it
@KavanMavati
@KavanMavati 3 жыл бұрын
Hello Ben, thank you for the video. i have a question. I am trying to modify( Nano lpm) the lpm file (system/bin/lpm). However, I get error permission denied, which is expected. When I run sudo nano lpm i get an error (inaccessible or not found). The phone is rooted. also, i tried another method to change the lpm permission, but I get the same error. any thoughts?
@alborn4217
@alborn4217 Жыл бұрын
Go into root with "sudo -I" and do run the command again
@charbelzayed4619
@charbelzayed4619 2 жыл бұрын
Hi Ben, I have an app and I can install its content online so I can use this app with the downloaded content later offline. how can I access this downloaded content so I can copy it to other devices to use the app offline? Thank you
@MontyVideo969
@MontyVideo969 Жыл бұрын
Great video. Except that I can't seem to get beyond *>adb devices* command which, on first attempt (maybe), displays eg. "234876482743 offline". I have ensured *USB Debugging* is enabled and *Stay Awake* and the *Android System* is set for Media Device (MTP). I have also done *adb kill-server* and *adb start-server*. Each time I try something the *adb devices* command now lists no devices whatsoever. Any ideas?
@raomohsin5910
@raomohsin5910 11 ай бұрын
to access my phone from laptop? and use it??
@antonetagavoci
@antonetagavoci 2 жыл бұрын
This is awesome! Is it possible to access the device if it says it is unauthorized and you have no way to turn on developer tools because of broken screen?
@JustinCamp100
@JustinCamp100 2 жыл бұрын
Can we control over internet
@kiSABREWULF007
@kiSABREWULF007 3 жыл бұрын
can you make a video how to root the phone by supersu zip installed by ADB?
@thrillifpeople5337
@thrillifpeople5337 2 жыл бұрын
the thing is, my phone's power button is not working, and its stuck on the fast reboot screen, i have a xiaomi mi 11 lite and i wish i had a better phone :\
@djnikx1
@djnikx1 3 жыл бұрын
Excellent presentation!!
@BenKadel
@BenKadel 3 жыл бұрын
Thanking you for your kind words!
@terryterry1655
@terryterry1655 11 ай бұрын
adb shell results in no device/emulator found coz android unable to reboot to connect usb for debugging. help !!! thx in adv
@terryterry1655
@terryterry1655 11 ай бұрын
Finally..able to restore my xiaomi . apparently using a faulty version of adb. Then I simply used miflash after using browse to lead it to specific bat folder to install (previously-invalie zip format file) success is so sweet after two weeks plus of tinkering.
@terryterry1655
@terryterry1655 11 ай бұрын
Mi A2 with Android version 8
Every Android Setting in the Developer Options Explained!
29:41
HowToMen
Рет қаралды 2,7 МЛН
Marks & Folds - Vim Tips (5)
26:45
Ben Kadel
Рет қаралды 10 М.
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
How to use ADB and scrcpy to interact with your Android phone
6:14
Why didn't we think of this earlier..?
10:34
Phoenix SC
Рет қаралды 46 М.
Devin just came to take your software job… will code for $8/hr
5:13
30 Windows Commands you CAN’T live without
14:35
NetworkChuck
Рет қаралды 2,4 МЛН
Commonly used ADB commands for Software Testers
17:08
Knowledge Spike
Рет қаралды 5 М.
Israel Has The Right To Defend Itself | Stand-up Comedy by Daniel Fernandes
15:07
you need to learn Ansible RIGHT NOW!! (Linux Automation)
21:21
NetworkChuck
Рет қаралды 898 М.
Speed Up any Android Phone or Tablet
11:30
Chris Titus Tech
Рет қаралды 258 М.