Control your device from your computer - ADB tutorial

  Рет қаралды 241,357

Ben Kadel

Ben Kadel

Күн бұрын

Пікірлер: 220
@Tuligarnio
@Tuligarnio 4 ай бұрын
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
@faisalahmad2445
@faisalahmad2445 2 жыл бұрын
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 6 ай бұрын
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 2 жыл бұрын
Everything that i was looking for...packaged beautifully in a 30 min video.. Thanks a lot
@BenKadel
@BenKadel 2 жыл бұрын
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
@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?
@Fillmore634b
@Fillmore634b 2 ай бұрын
To be honest, one of the best videos I've seen in my life on youtube.
@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!!!
@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!
@Dudurapidez
@Dudurapidez 2 ай бұрын
Guy, your intro has won me to watch the rest of the video. Thanks
@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
@ackerh9181
@ackerh9181 2 жыл бұрын
Thanks buddy i was litterally finding a tutorial for adb😅 it will definitely help me out ☺️
@koenpauwels98
@koenpauwels98 5 ай бұрын
excellent video already, im just in the start. I love the production quality already!
@harshadpawar1810
@harshadpawar1810 Ай бұрын
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 ?
@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!
@bhavinpithawala3967
@bhavinpithawala3967 2 жыл бұрын
info about running app is just gold mine. thank you so much for sharing this video.
@Leo31415
@Leo31415 Жыл бұрын
Never replied to a YT video, but this one is too good. Great job!
@robimegu3712
@robimegu3712 2 жыл бұрын
I watched it multiple times, and all the time I had the intention to hit that Like button again.
@alvinbiscarra4374
@alvinbiscarra4374 2 жыл бұрын
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 2 жыл бұрын
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 !
@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 ? :(
@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
@nepalisite
@nepalisite 9 ай бұрын
I still see this message "zsh: command not found: adb"
@raomohsin5910
@raomohsin5910 8 ай бұрын
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
@harshit772
@harshit772 2 жыл бұрын
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 2 жыл бұрын
Dudeeeee Harshit, this is such a lovely comment! Thank you so so so much for this you have made my day
@noreasonsu3883
@noreasonsu3883 6 ай бұрын
This is the best video for android SDK. Thanks
@hatemsdr2479
@hatemsdr2479 Жыл бұрын
What's about if USB DEBUGGING in my phone IS DISABLED and the AUTO FACTORY RESET is ON???
@hainish2381
@hainish2381 Жыл бұрын
This is an amazing introduction to ADB. Thanks!!!
@hugokaktus3475
@hugokaktus3475 Жыл бұрын
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?
@danielgx83
@danielgx83 6 ай бұрын
what if developer option not open and my phone is locked , do you have a video for that ?
@techboy7930
@techboy7930 Жыл бұрын
Bro, I am facing issues with adb shell pm list package command It shows adb: not found Sorry for asking silly question but I need help
@El_Ouahal_Youssef
@El_Ouahal_Youssef Жыл бұрын
Thank You Sir
@hamidhamidi-mx2xx
@hamidhamidi-mx2xx 16 күн бұрын
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.
@hoatranquang8376
@hoatranquang8376 8 ай бұрын
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
@Anteupplaya
@Anteupplaya Жыл бұрын
Hey how do I give my devices different "ports" both are saying there 5555.
@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.
@Randtiktok
@Randtiktok Жыл бұрын
Hey man i was sreaching for a method to long press a button with adb and the command (adb shell input keyevent --longpress 24) didn't work it shows me it's an unvalid command
@traveho2747
@traveho2747 2 жыл бұрын
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 Жыл бұрын
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.
@user-ln3ii1pz9r
@user-ln3ii1pz9r 9 ай бұрын
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 .
@technicalgladwingroup
@technicalgladwingroup Жыл бұрын
I have a interactive flat panel and I have apps installed how to grant and access the permission different application .
@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!
@arcangelmarlon2186
@arcangelmarlon2186 Жыл бұрын
Amigo una pregunta esto se podrá usar lo que enseñaste con la depuración inalámbrica?
@irfanyaqoob4717
@irfanyaqoob4717 10 ай бұрын
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
@user-bu1lx7kt6m
@user-bu1lx7kt6m 3 ай бұрын
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?
@GaxtonOkobah
@GaxtonOkobah Жыл бұрын
How do i use the adb to start up a Samsung phone that is on a boot loop that stops at the android logo?
@mr.swapnajitchowdhury.4191
@mr.swapnajitchowdhury.4191 2 жыл бұрын
Can we turn on the phone by command if the power key and volume key is not working?
@anupamkumar9616
@anupamkumar9616 Жыл бұрын
How we can change our current location by using adb please tell me what is the command.
@funkymonk2254
@funkymonk2254 2 жыл бұрын
Thanks Ben. Great intro lesson.
@BenKadel
@BenKadel 2 жыл бұрын
Thank YOU kindly for this lovely comment! Glad the vid was useful
@adnanalghail689
@adnanalghail689 Жыл бұрын
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.
@RickDean
@RickDean 10 ай бұрын
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.
@joecook4451
@joecook4451 Жыл бұрын
could we pull all data like a nandroid image then restore later using just shell? if we was in recovery mode.
@stoicadaniel1909
@stoicadaniel1909 2 жыл бұрын
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
@insertnamehere478
@insertnamehere478 8 ай бұрын
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?
@thrillifpeople5337
@thrillifpeople5337 Жыл бұрын
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 :\
@satveerrana3728
@satveerrana3728 Жыл бұрын
Bro I have j6 infinity and I forget my pin I want to save my data from reset can u help me
@KavanMavati
@KavanMavati 2 жыл бұрын
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
@jodyjohnson265
@jodyjohnson265 7 ай бұрын
Are we able to overclock low end android devices with ADB?
@Harshavardhan_2306
@Harshavardhan_2306 Жыл бұрын
how to set 5G network for both the SUBs using shell command can you please help
@cjm8067
@cjm8067 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 !!
@rimbadirgantara6960
@rimbadirgantara6960 3 жыл бұрын
I like this, the explanation is clear, thank you bro!!! :)
@MontyVideo969
@MontyVideo969 11 ай бұрын
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?
@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.
@davincitogamer1426
@davincitogamer1426 Жыл бұрын
How can I open cell phone settings using adb shell, tell me the command please?
@charbelzayed4619
@charbelzayed4619 Жыл бұрын
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
@dineshreddy618
@dineshreddy618 2 жыл бұрын
can we get files/videos/assets which are present inside the app to our system?
@Rydrdg
@Rydrdg 2 жыл бұрын
How do I stop the adb monitoring cpu activity after I issue the command?
@nickzarrossi8979
@nickzarrossi8979 2 жыл бұрын
I put a thumb up for the sketch, i now start watching the tutorial
@ghostjinrileykazama2723
@ghostjinrileykazama2723 2 жыл бұрын
hello , can you use that to force unlock OEM, since the phone its not unlock ?
@RickDean
@RickDean 8 ай бұрын
Very good audio. Your skills are amazing.
@mohamedyahia3844
@mohamedyahia3844 Жыл бұрын
could u help me to fix some android app using adb commands plz ?
@jeytis72
@jeytis72 Жыл бұрын
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
@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...
@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!
@krishnarawal6395
@krishnarawal6395 Жыл бұрын
How to get device Nickname in Android through adb command?
@conraddevera
@conraddevera 2 жыл бұрын
Can you run an app from the phone but emulated in the pc or mirrored?
@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*
@AhmedElmisery
@AhmedElmisery 2 жыл бұрын
I need adb command to grant modify system settings my device is rooted and has twrp
@damahomrondelahkilmar8973
@damahomrondelahkilmar8973 2 жыл бұрын
dear ben. how can i switch on my handphone with adb. can u help.tq
@boltez6507
@boltez6507 3 жыл бұрын
Well preety underated channel
@EduardoRubioLogan
@EduardoRubioLogan Жыл бұрын
Just the perfect video for what I need to do right now
@gunsnroses962
@gunsnroses962 Жыл бұрын
Can you tell me which android emulator to use?
@securprotection
@securprotection 3 жыл бұрын
Amazing,, I love this video! Thanks so much...
@BenKadel
@BenKadel 3 жыл бұрын
My absolute pleasure matey! Thank you for this lovely comment! Have a super day!
@acrtez
@acrtez 2 жыл бұрын
Can I delete pre-installed app s with usb debugging?
@terryterry1655
@terryterry1655 8 ай бұрын
adb shell results in no device/emulator found coz android unable to reboot to connect usb for debugging. help !!! thx in adv
@terryterry1655
@terryterry1655 7 ай бұрын
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 7 ай бұрын
Mi A2 with Android version 8
@VarunPilankar
@VarunPilankar 2 жыл бұрын
Any adb shell command to read/control notification action button?
@shirotracks
@shirotracks Жыл бұрын
show us how to use a file inside which uve written the commands for adb. thank you sir
@hakan2048
@hakan2048 2 жыл бұрын
Thanks for this great video. I have a question how can I delete my gmail account with adb commands. ?
@ugggamersltda2605
@ugggamersltda2605 2 жыл бұрын
Hey can you share an example how you made that script to login on that app?
@airbendingseneca
@airbendingseneca 3 жыл бұрын
Wow. This is super cool.
@Sukhjinders47
@Sukhjinders47 3 жыл бұрын
Bro my phone screen is totally broken how can i turn on my otg ..?
@emytradez
@emytradez Жыл бұрын
Can I connect two android with adb??
@AungWinHtutGH
@AungWinHtutGH 2 ай бұрын
great tutorial! thank yuu so much. by the way how to show android phone screen on your computer please?
@kkgo357
@kkgo357 3 жыл бұрын
Maybe someone here might be able to help me... My Samsung s9 won't get past the boot up screen before turning off. I can however get to the recovery screen which lead me here. I'm hoping the lastest update I didn't bother to install will fix my problem (as it has in the past), however my phone won't stay on long enough or get far enough to update from the phone. I see I can update in recovery mode via ADB or SD card but have no idea how to do this, I would greatly appreciate any help!! Watching the video also has me unsure because I remember opening develer settings but I highly doubt I ever turned on USB debugging...
@AugustineAbia
@AugustineAbia 10 күн бұрын
how do i get the terminal
@hkchhimpa945
@hkchhimpa945 2 жыл бұрын
is there any command to turn on hotspot of my android device
@kutaibaa
@kutaibaa 2 жыл бұрын
Just cool and excellent presentation . Thank you ben
@revotrader1386
@revotrader1386 2 жыл бұрын
What emulator is the one you use ? what's the name of it
Жыл бұрын
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?
@djnikx1
@djnikx1 3 жыл бұрын
Excellent presentation!!
@BenKadel
@BenKadel 3 жыл бұрын
Thanking you for your kind words!
@itslilkyle
@itslilkyle 2 жыл бұрын
Wait, does this mean that my phone is rooted if i use adb????
@insertnamehere478
@insertnamehere478 8 ай бұрын
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?
@raomohsin5910
@raomohsin5910 8 ай бұрын
to access my phone from laptop? and use it??
@antonetagavoci
@antonetagavoci Жыл бұрын
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?
Remotely Control Any Phone and PC with this Free tool!
17:15
Loi Liang Yang
Рет қаралды 895 М.
Every Android Setting in the Developer Options Explained!
29:41
HowToMen
Рет қаралды 2,6 МЛН
АЗАРТНИК 4 |СЕЗОН 1 Серия
40:47
Inter Production
Рет қаралды 1,3 МЛН
Cute
00:16
Oyuncak Avı
Рет қаралды 3 МЛН
30 Windows Commands you CAN’T live without
14:35
NetworkChuck
Рет қаралды 2,3 МЛН
Marks & Folds - Vim Tips (5)
26:45
Ben Kadel
Рет қаралды 10 М.
How to ADB: An Introduction to ADB Commands and Fastboot
40:11
40 Windows Commands you NEED to know (in 10 Minutes)
10:54
NetworkChuck
Рет қаралды 3,3 МЛН
Commonly used ADB commands for Software Testers
17:08
Knowledge Spike
Рет қаралды 3,7 М.
The SECRETS That Make Your Phone ACTUALLY Work
16:25
Enrico Tartarotti
Рет қаралды 388 М.
Why Are Open Source Alternatives So Bad?
13:06
Eric Murphy
Рет қаралды 630 М.
God-Tier Developer Roadmap
16:42
Fireship
Рет қаралды 7 МЛН