[Q] adb over wifi ... security - Android Q&A, Help & Troubleshooting

So, I downloaded an adbWifi widget, and followed the instruction and - woohoo - it works.
I'm trying to understand how is this secure (if it is at all).
I click with widget and it tells me an IP and a port. I tell adb/Eclipse this ... and it connects. So how come someone out there port-sniffing can't do the same, and connect to my phone?
GaJ

GreenAsJade said:
So, I downloaded an adbWifi widget, and followed the instruction and - woohoo - it works.
I'm trying to understand how is this secure (if it is at all).
I click with widget and it tells me an IP and a port. I tell adb/Eclipse this ... and it connects. So how come someone out there port-sniffing can't do the same, and connect to my phone?
GaJ
Click to expand...
Click to collapse
What wifi network are you using? If it's your own wifi network you control the security with a WEP key or hopefully something better. For example I have my own wireless router at home and I use WEP (to lazy to use something better).
By the way, which adb wifi program did you download and where are the instructions? I would like to try it.
-Vince

Nothing stops anyone on the same network from connecting to your wireless adb session if they know the port.
The best you could do is use a non standard port instead of the default 5555
I know the toggle I use doesn't give the option to choose a port but it is possible and asking the dev as a feature request might get the option. I have never bothered because I only use it on my secure network and don't know anyone irl that would know what adb is.
To start wireless adb with any port from a shell run "adb tcpip <port>" to restart the daemon on the specified port.
I personally think we should be able to password protect adb for if our phones are stolen.

Hoi,
can someone please tell me (us), HOW the Eclipse config must be modified ?
Right now i type in a dos-box the command adb connect <MyTCP>:5555.
When i click RUN in Eclipse it finds the device and all works fine.
I want to use this method permanently, so i am interested in the Config-Solution because my device didn't suck so much energy from the batterie as in WiFi-Mode (awesome effect, isn't it ?)
Doei

If you've never given permissions to a particular computer, it can't connect.

Related

Use PC internet connection on phone through USB!

USB tethering on froyo works if you need to use the phone's internet on PC. Sometimes, we just need to do it the other way around (lets say the PC doesn't have a wireless card, or we only have ad-hoc networks that are not discoverable without patching) and use our PC's net on android through USB.
Few people have done it using bridges. I did it using squid proxy server on ubuntu.
1.) Install squid and allow http access to all required clients.
2.) Connect the phone with usb tethering on.
3.) Ubuntu detects it as usb0. Now change the ip of usb0 from 'Automatic DHCP' to 'Shared to other computers'.
4.) Fire up the terminal emulator and enter the following.
#su
#netcfg usb0 dhcp
If all went well, you should now be able to connect to the internet.
Tried it and it's not working for me...
Or maybe i didn't setup squid right.
I'm not so good on ubuntu OS
I tried making a bridge connection on windows...the networks
The network seems to be connected but no internet connection...
Is it necessary to have Ubuntu OS?
Maybe some another how-to will help:
http://forum.xda-developers.com/showthread.php?t=793102
To setup squid to work:
type in:
sudo gedit /etc/squid/squid.conf
In that file find the section called
# ACCESS CONTROLS
Under the section find the line
#Recommended minimum configuration:
and add this line next to it
acl all src all
then find the section
# TAG: http_access
Under this section find the line
#Default:
and add the following line to look like
#Default:
http_access allow all
Close the file and restart squid as:
sudo start squid
That should setup squid to share your internet on all clients.
If required, reboot.
You can try out a similar approach on any other distro other than ubuntu.
i tried several searches about this topic, but none of them succeeded,
any update on this?
can i install ubuntu in my Win7?
syruz said:
can i install ubuntu in my Win7?
Click to expand...
Click to collapse
Well, you can virtualize it in Virtual box. It's free for personal use.
by the way what is the squid your talking about?
@ TS
maybe you can provide us with the link for ubuntu and squid?
Come on.. if you don't already know what ubuntu and squid are there's no point in trying this.
Ubuntu = Linux, that's another operating system. Squid is a proxy.
You ashould at least have the decency of Googling those for yourself..
Sent from my LG-P500 using XDA App
harshaxdadevelopers said:
USB tethering on froyo works if you need to use the phone's internet on PC. Sometimes, we just need to do it the other way around (lets say the PC doesn't have a wireless card, or we only have ad-hoc networks that are not discoverable without patching) and use our PC's net on android through USB.
Few people have done it using bridges. I did it using squid proxy server on ubuntu.
1.) Install squid and allow http access to all required clients.
2.) Connect the phone with usb tethering on.
3.) Ubuntu detects it as usb0. Now change the ip of usb0 from 'Automatic DHCP' to 'Shared to other computers'.
4.) Fire up the terminal emulator and enter the following.
#su
#netcfg usb0 dhcp
If all went well, you should now be able to connect to the internet.
Click to expand...
Click to collapse
Hi guys,
Do you know why I wouldn't be able to see "USB tethering" option? No matter what I did so far, all I can see is the "Portable Wi-Fi hotspot" option and that works fine. But I need to use the USB Tethering!!!
Thanks for the help!
If someone is having the same problem as me (ie usb tethering mode not visible) just use a program called togglesettings lite. It can turn on the usb tethering for you. Now the reverse usb tethering works for me like a charm. Peace!
Sent from my LG-P500 using XDA App
harshaxdadevelopers said:
USB tethering on froyo works if you need to use the phone's internet on PC. Sometimes, we just need to do it the other way around (lets say the PC doesn't have a wireless card, or we only have ad-hoc networks that are not discoverable without patching) and use our PC's net on android through USB.
Few people have done it using bridges. I did it using squid proxy server on ubuntu.
1.) Install squid and allow http access to all required clients.
2.) Connect the phone with usb tethering on.
3.) Ubuntu detects it as usb0. Now change the ip of usb0 from 'Automatic DHCP' to 'Shared to other computers'.
4.) Fire up the terminal emulator and enter the following.
#su
#netcfg usb0 dhcp
If all went well, you should now be able to connect to the internet.
Click to expand...
Click to collapse
Thank you for sharing this trick. But i dont have netcfg utility, since i use ubuntu maverick 10.10, it is not in source list. is ther any other way to do "netcfg usb0 dhcp"?
This is by far the easiest solution I've found to reverse tether. Thanks!
jadeiceman said:
This is by far the easiest solution I've found to reverse tether. Thanks!
Click to expand...
Click to collapse
Sorry and wich is the solution ????
syruz said:
@ TS
maybe you can provide us with the link for ubuntu and squid?
Click to expand...
Click to collapse
sudo apt-get install squid
This should install squid.
netcfg is not there on recent ubuntu versions not even software list but you can configure via app indicator at right but still i can't use reverse tethering although i followed you pretty well.
netcfg is a utlility on the phone... u need to run that command at the terminal of the phone not on your computer. (get a terminal emulator from the market)
Wow I'm feeling stupid.Will give it a go now.

How to make adb listen to tcpip 5555 after reboot

I have to use adb over ssh. now, everything works fine but after a reboot i have to connect my device again over usb and set adb to listen to tcpip instead of usb.
is ther a way to save those settings?
This is how it works for now. After a reboot i have to use these commands again (over usb) in order to establish an adb connection over ssh.
# adb kill-server
# adb tcpip 5555
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
restarting in TCP mode port: 5555
malufor said:
I have to use adb over ssh. now, everything works fine but after a reboot i have to connect my device again over usb and set adb to listen to tcpip instead of usb.
is ther a way to save those settings?
This is how it works for now. After a reboot i have to use these commands again (over usb) in order to establish an adb connection over ssh.
# adb kill-server
# adb tcpip 5555
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
restarting in TCP mode port: 5555
Click to expand...
Click to collapse
You can set service.adb.tcp.port=5555 in /default.prop or maybe /system/build.prop. But this isn't such a great idea, since it leaves you phone open to everybody wanting to gain shell access to it over the net.
And you don't need "adb kill-server" above. It's the devices adb you are restarting, not the one on your computer.
kuisma said:
You can set service.adb.tcp.port=5555 in /default.prop or maybe /system/build.prop. But this isn't such a great idea, since it leaves you phone open to everybody wanting to gain shell access to it over the net.
And you don't need "adb kill-server" above. It's the devices adb you are restarting, not the one on your computer.
Click to expand...
Click to collapse
Great thx. I'll give it a try.
Update:
Works perfectly. I modified the buil.prop. Thank you.
kuisma said:
You can set service.adb.tcp.port=5555 in /default.prop or maybe /system/build.prop. But this isn't such a great idea, since it leaves you phone open to everybody wanting to gain shell access to it over the net.
Click to expand...
Click to collapse
For tinkering purposes - well aware of the security implications here - I wanted to get adb to also listen on the mobile interface, when not connected to a wifi. Basically public debugging on the bus ride
I did not succeed though. How can adb be brought to listen on the mobile data connection?
schaggo said:
For tinkering purposes - well aware of the security implications here - I wanted to get adb to also listen on the mobile interface, when not connected to a wifi. Basically public debugging on the bus ride
I did not succeed though. How can adb be brought to listen on the mobile data connection?
Click to expand...
Click to collapse
I am in search of a similer thing.
Is it possible with port forwarding in adb ?
[email protected] said:
I am in search of a similer thing.
Is it possible with port forwarding in adb ?
Click to expand...
Click to collapse
Yes, it is possible. But 1st you must make sure your mobile operator is not blocking your connections.
Most data only SIM cards will not block connection, but only few operators allow connection to any SIM cards ( voice + data).
If you can ping your phone IP address while it is on 3g or 4g then you should be able to connect, some operators even block pinging but still allow the ADB connection.
1. connect your phone to a pc with usb
2. make sure it is visible by typing "adb devices"
3. type "adb tcpip 5555" to set up forwarding
4. once your phone is connected to mobile data (3g or 4g) go to settings -> about phone -> status -> IP address
5. from laptop.type "adb connect ip_addres:5555"
Have you tested this method on any network?
[email protected] said:
Have you tested this method on any network?
Click to expand...
Click to collapse
In Croatia, on Tele2 it works on both (voice + data) and data only cards, you are able to ping them both.
On Vip-net it works only on data-only cards and your are not able to ping them.
Also, if you are working inside a company network, the company firewall might block the connection
kuisma said:
You can set service.adb.tcp.port=5555 in /default.prop or maybe /system/build.prop. But this isn't such a great idea, since it leaves you phone open to everybody wanting to gain shell access to it over the net.
And you don't need "adb kill-server" above. It's the devices adb you are restarting, not the one on your computer.
Click to expand...
Click to collapse
I know it is really late to be saying this, but...
What a lot of people do when they need to open a port that is well-known, much like the SSH default port 22, is set a different port. Instead of 5555, use 7777 or something entirely different. It is much like a 4 digit passcode.
twistedumbrella said:
I know it is really late to be saying this, but...
What a lot of people do when they need to open a port that is well-known, much like the SSH default port 22, is set a different port. Instead of 5555, use 7777 or something entirely different. It is much like a 4 digit passcode.
Click to expand...
Click to collapse
Why not using a five digit passcode like 51423? Afaik you may use any port > 4096 and < 65536. The first 4096 are privileged ports...
guest4711 said:
Why not using a five digit passcode like 51423? Afaik you may use any port > 4096 and < 65536. The first 4096 are privileged ports...
Click to expand...
Click to collapse
Who said you couldn't?
Use any port number not already in use, but any known default assignment will defeat the purpose of avoiding intrusion. The point was that you aren't limited to 5555 exclusively.
Is it possible to target device to listen to port over wifi, without first connecting via USB?
omg no. please do NOT think that using a random port changes anything about security. I assure you it does not.
Turning off USB Debugging when its not in use seems to shut down access to 5555 - wouldn't that suffice from a security perspective? (only have USB Debugging on when you want to do ADB)
kuisma said:
You can set service.adb.tcp.port=5555 in /default.prop or maybe /system/build.prop. But this isn't such a great idea, since it leaves you phone open to everybody wanting to gain shell access to it over the net.
And you don't need "adb kill-server" above. It's the devices adb you are restarting, not the one on your computer.
Click to expand...
Click to collapse
hello! newbie here, can you please explain what is this "/default.prop or maybe /system/build.prop" Thank you
If I set this up in either build.prop or default.prop in a custom ROM, it works fine.
If I set this up in a stock MIUI ROM, it results in a bootloop, every single time.
I'm trying to figure out how to run adb tcpip 5555 in either post-fs or service.d for Magisk. The .sh script is given the correct execute permission and seems to run fine, but it doesn't actually set adb tcpip 5555 to enabled....
I just want to thank everyone for writing this thread way back in 2012, as we're STILL making good use of this information now, in 2022, when Android 11 (and up) has adb Wireless debugging options inside of Developer options... (no USB needed!).
(PSA) Using the new Android 12 TILE for 'Developer options' 'Wireless debugging' to establish adb connection over Wi-Fi without USB
I know it's been a while, but I find myself in need of adding this
Code:
service.adb.tcp.port=5555
line to build.prop on my unrooted Pixel 7 Pro. Here are some wild thoughts, as I am not an expert in rooting/unrooting:
With the unrooted phone, say I download the latest Pixel 7 Pro factory image and tinker with it, namely make the requisite change in build.prop, repackage the whole thing as a modified image, and then flash it onto my (unrooted) phone. Will that work? Or does the flashing process check the checksum before flashing?
Root the phone, make the requisite change in build.prop, and then un-root it back. Will this work? Or does the un-rooting process mess everything up, and destroy all the changes I made? (Mind you, I have no idea how un-rooting works, so please bear with me.)

View/Control Android device from PC (without ROOT)

Hi all. What I need is a way to control Android device (s) from PC via Wi-Fi. I found a lot of apps (and Desktop programs) to do it, but I didn't found a way to View OR control the Android device WITHOUT ROOT. I work on the company which asked me to find a way to do this without root with their Android devices. After googling a lot I started to think that where is no way to do this, because either way I need to root them . Is it true or maybe there is somewhere an app which could do this? It doesn't care if it's paid or not.
I have downloaded and tester these apps:
MyMobiler - Doesn't work because when I restart Android device, app doesn't start WiFi, just keyboard mode only. I need that when the app starts it should run itself and start WiFi automatically.
VMLite VNC Server - Don't know why but it didn't worked for me. Just cannot start server from the browser.
Thank you for any responses and appreciate any help.
What error messages do you get from vmlite vnc server? Make sure you enable USB debugging. We have tens of thousands of users using our app, and your device should work.
Well, actually now I tried to launch VMLite VNC one more time and IT WORKED (don't know how, because earlier I tried it and I was unable to enter to VNC Viewer in the Browser). So yeah, in this case it works perfectly now, but I just realized, that I have no way of connected more Android devices. Because what I need to do is to connect multiple Android devices to computer with USB (as I understand it's required for the first time) and when use it with WiFi. For now I see that I only capable of connecting single Android device with desktop program and everytime I want to connect to Android deice from computer, I need to connect it via USB (where is no way to save Android devices to use it any time I want to via WiFi). Or am I wrong? And it is a problem because in my company all Android devices are far away from each other. Anyway, thank your for such an awesome app, I really don't know how it is capable of connecting to my Android device WITHOUT ROOT (because I found like 10 apps, read a lot of forums, and every solution was with ROOTED devices, I am very interseting of the actual app functionality), but thank you.
You can connect to multiple devices using multiple USB cables. There is a drop down list to display devices, and you choose one by one to start the server. Alternatively, you can write some scripts to auto start the vnc servers.
There are quite some testing companies using our app this way to automate regression tests.
Alternatively, you can write some scripts to auto start the vnc servers.
Click to expand...
Click to collapse
Can I get more information about it? Thank you.
Basically you can automate the starting process using adb command:
adb shell "am start -a android.intent.action.MAIN -n com.vmlite.vncserver/.MainActivity"
adb shell /data/data/com.vmlite.vncserver/files/vmlitevncserver
Deimantas007 said:
Can I get more information about it? Thank you.
Click to expand...
Click to collapse
Thank you for this script (it's very cool, I didn't know this kind of stuff before), but it requires USB connection as well.
I googled a few things and found this app - ADB Wireless (no-root) on Google Play Store. Basically it connects ADB via WiFi and I don't need no USB cable and connection with it. But VMLite Android App Controller program on my Desktop doesn't recognize it (it requires USB connection). Can I actually connect Android device with PC with this method or I am missing something and there is no way of doing it with this method? Thank you (I promise, this is the last question from me, no more dumb questions).
I don't think it will work for you. You mentioned your android device will reboot, right?
If your device gets rebooted, you will have to use a USB connection to a PC. the ADB wireless app has same requirement.
Steps to get it working: (from ADB Wireless app page)
1. Enable USB Debugging on your phone.
2. Connect your phone via usb cable to your PC.
3. Run adb tcpip 5555.
4. Run ADB Wireless (no root).
5. Connect to the IP address.
Deimantas007 said:
Thank you for this script (it's very cool, I didn't know this kind of stuff before), but it requires USB connection as well.
I googled a few things and found this app - ADB Wireless (no-root) on Google Play Store. Basically it connects ADB via WiFi and I don't need no USB cable and connection with it. But VMLite Android App Controller program on my Desktop doesn't recognize it (it requires USB connection). Can I actually connect Android device with PC with this method or I am missing something and there is no way of doing it with this method? Thank you (I promise, this is the last question from me, no more dumb questions).
Click to expand...
Click to collapse
huisinro said:
I don't think it will work for you. You mentioned your android device will reboot, right?
If your device gets rebooted, you will have to use a USB connection to a PC. the ADB wireless app has same requirement.
Steps to get it working: (from ADB Wireless app page)
1. Enable USB Debugging on your phone.
2. Connect your phone via usb cable to your PC.
3. Run adb tcpip 5555.
4. Run ADB Wireless (no root).
5. Connect to the IP address.
Click to expand...
Click to collapse
What's right. It needs to connect my phone via USB. But I thought that maybe there is a way to automate this process, I mean maybe there is a solution to TURN DEBUGGING MODE between phone and pc programs via WiFi connection (not USB) and communicate with VMLite VNC Server program on startup. Either way, again, thank you for your software (app). I will say to my boss that we need to stay where we are at the moment. It's just awesome to have an app which doesn't require ROOT.

Mobile HotSpot not working

Hi guys so I got the ATT version of LG V10 and I unlocked it. after put in my T mobile simcard everything works fine except for I wasnt able to get mobile data. So i set up a new APN and now mobile data is working fine with 4g Lte. However, when i tried to turn on my mobile hotspot, I kept getting this error.
Authentication was unsuccessful.
There is a temporary network problem that prevents the enablement of the Mobile Hotspot function. Please retry later.
I tried messing with the set ups and restarting and about all the things i can think of but still cant fix the error. if somebody know how to fix this please help me.
Thank you very much
SOCONFUSED123 said:
Hi guys so I got the ATT version of LG V10 and I unlocked it. after put in my T mobile simcard everything works fine except for I wasnt able to get mobile data. So i set up a new APN and now mobile data is working fine with 4g Lte. However, when i tried to turn on my mobile hotspot, I kept getting this error.
Authentication was unsuccessful.
There is a temporary network problem that prevents the enablement of the Mobile Hotspot function. Please retry later.
I tried messing with the set ups and restarting and about all the things i can think of but still cant fix the error. if somebody know how to fix this please help me.
Thank you very much
Click to expand...
Click to collapse
Hello, I was just wondering if you ever found a solution to this problem? I am thinking about unlocking my AT&T LG V10 and switching it over to T-Mobile but I would hate not being able to use the phone as a mobile hotspot on T-Mobile.
Please let me know if you found a solution, thank you.
Possible solution
In case anyone is interested, I found that the following helped my laptop to connect to my mobile hotspot and have interent access.
1. Download Settings Database Editor from Google Play
2. Scroll down to find "tether_entitlement_check_state" under the System Table and set it to "0" without the quotations.
3. Then you will need to download adb onto your computer. This tutorial is helpful: https://forum.xda-developers.com/showthread.php?t=2141817
3. Once you install adb onto your computer you will want to follow the steps about opening the cmd function as administrator and type "adb devices" in lowercase and no quotations so that your computer can find your device. If it cannot find the device then you will need to download the necessary drivers to your computer. This can be found at the lg main website. I just downloaded all of them.
4. Once it can find your device then type in adb shell. However, if it cannot find your device you may need to switch some things up like under Tethering in your phone, turn on the USB tethering. Type the command adb device once more. This should allow your computer to find it and authorize it.
5. Once device is found and authorized type in adb shell. Once that commands registers, then type in the following: "pm grant by4a.setedit22 android.permission.WRITE_SECURE_SETTINGS" without quotations.
6. Now you should be able to go back to the Settings Database Editor app, change to global table and scroll down to find "tether_dun_required" and set that to 0. (You may find it helpful to also add these prompts in the adb command prompt as well by typing "settings put global tether_dun_required 0" without quotes after the adb shell command)
7. Now your laptop should be able to connect to your mobile hotspot (once it's set up and turned on your lg v10) If it still doesn't have internet access even though it's connected then you need to follow the steps from this website: https://www.digitalreborn.com/fix-android-wifi-tethering-dns-responding/
Yay! Success it should all work. Note I did not find the DNS Changer described in the above link. I just went to google play and typed in DNS Charger and picked the one that popped up first and followed the instructions, turned on my VPN and once it was set up and connected I had internet access on my laptop through my mobile hotspot! However, you will need to go through all these settings again if either phone or laptop restarts. I haven't figured out how to make phone and laptop to keep these changes. Hope this helps someone because it took me forever to figure this out. Shalom.
Solved
combat_chicka said:
In case anyone is interested, I found that the following helped my laptop to connect to my mobile hotspot and have interent access.
1. Download Settings Database Editor from Google Play
2. Scroll down to find "tether_entitlement_check_state" under the System Table and set it to "0" without the quotations.
3. Then you will need to download adb onto your computer. This tutorial is helpful: https://forum.xda-developers.com/showthread.php?t=2141817
3. Once you install adb onto your computer you will want to follow the steps about opening the cmd function as administrator and type "adb devices" in lowercase and no quotations so that your computer can find your device. If it cannot find the device then you will need to download the necessary drivers to your computer. This can be found at the lg main website. I just downloaded all of them.
4. Once it can find your device then type in adb shell. However, if it cannot find your device you may need to switch some things up like under Tethering in your phone, turn on the USB tethering. Type the command adb device once more. This should allow your computer to find it and authorize it.
5. Once device is found and authorized type in adb shell. Once that commands registers, then type in the following: "pm grant by4a.setedit22 android.permission.WRITE_SECURE_SETTINGS" without quotations.
6. Now you should be able to go back to the Settings Database Editor app, change to global table and scroll down to find "tether_dun_required" and set that to 0. (You may find it helpful to also add these prompts in the adb command prompt as well by typing "settings put global tether_dun_required 0" without quotes after the adb shell command)
7. Now your laptop should be able to connect to your mobile hotspot (once it's set up and turned on your lg v10) If it still doesn't have internet access even though it's connected then you need to follow the steps from this website: https://www.digitalreborn.com/fix-android-wifi-tethering-dns-responding/
Yay! Success it should all work. Note I did not find the DNS Changer described in the above link. I just went to google play and typed in DNS Charger and picked the one that popped up first and followed the instructions, turned on my VPN and once it was set up and connected I had internet access on my laptop through my mobile hotspot! However, you will need to go through all these settings again if either phone or laptop restarts. I haven't figured out how to make phone and laptop to keep these changes. Hope this helps someone because it took me forever to figure this out. Shalom.
Click to expand...
Click to collapse
This worked for me, but I have a couple clarifications to add.
First, in case it wasn't clear, this does NOT require root to work. But after restarting the phone and/or uninstalling Settings Database Editor these steps need to be repeated again and again. Not that big a deal if u don't restart your phone often but still a pain in the neck. For me it's still preferable over rooting and installing a custom rom though so I'm very appreciative for this solution.
Also, finding the LG v10 adb drivers was the most time consuming part of the process. I found working ones here
Drivers also attached in case link goes dead

How to remote control android which is connected to same wifi without internet

I want to control my android device loaded with lineageos 8.1 remotely from my laptop from the browser. I have tried airdroid, but i am not able to use the remote control feature when i am offline, it only works over the internet, is there any fix for this? also please suggest any alternatives. I have root access using magisk.
motolora 1656565 said:
I want to control my android device loaded with lineageos 8.1 remotely from my laptop from the browser. I have tried airdroid, but i am not able to use the remote control feature when i am offline, it only works over the internet, is there any fix for this? also please suggest any alternatives. I have root access using magisk.
Click to expand...
Click to collapse
Definitely want to be using scrcpy. It uses adb as it's connection method. So if you can wifi adb to your devices you can remote control it.
If you need sound, it gets slightly more cumbersome. But sndcpy works well in tangent.
Astoras said:
So if you can wifi adb to your devices you can remote control it.
Click to expand...
Click to collapse
Please guide me how can I do this. I have enabled TCP/ip mode in developer menu.
motolora 1656565 said:
Please guide me how can I do this. I have enabled TCP/ip mode in developer menu.
Click to expand...
Click to collapse
Some phones have an option in Developer settings. It normally explicitly says wifi adb. If you don't have the option, you'll need a root app or elevated terminal to activate it.
The app is faster to use if in a normal context.
Find on on the playstore. Just search wifi adb.
Then on your computers terminal, which has adb installed properly, type "adb connect {your phone's ip address}"
Once it successfully prompts and you accept the connection on your phone you are ready to use scrcpy.
You can find tutorials on how to install both adb and scrcpy.
But the most user friendly, if on widows, is to first install a repository called Choco. Again, look up how to do so.
Then, simply type these commends in an administrative PowerShell:
choco install adb -y
choco install scrcpy -y
If all of this seems overly complicated. It is a one time setup. And all of these tools are excellent to have in the future if you are into Android and software.
After these steps are completed, rember you first have to establish an adb connection and then type scrcpy into your terminal.
Ok, Thanks a lot!!!!
motolora 1656565 said:
Ok, Thanks a lot!!!!
Click to expand...
Click to collapse
- Download scrcpy.zip
- Unzip to the dir of your choice
- On your phone: Developer settings --> Enable USB Debugging
- Connect with a cable
- Run scrcpy-noconsole.vbs
Should work (also for android 12)
If you want to use this over IP, let us know
biontx said:
- Download scrcpy.zip
- Unzip to the dir of your choice
- On your phone: Developer settings --> Enable USB Debugging
- Connect with a cable
- Run scrcpy-noconsole.vbs
Should work (also for android 12)
If you want to use this over IP, let us know
Click to expand...
Click to collapse
Oeps, the previous scrcpy.zip contains convctctytdl.exe ... you won't need this:
This is used to convert all youtube files (movie, list, etc...) to mp3
You can delete this file
This is the windows x64 version
You don't need internet as your phone is connected with a cable
Thank you everyone for your help!!!
Scrcpy is successfully installed and is working fine!!!
I took help from this forum and the official GitHub repo https://github.com/Genymobile/scrcpy
Thanks everyone
i have another request, please help!
capture mobile display as a "live video file"

Categories

Resources