All,
Based on some work I was already doing on another app of mine (Juice for Roku), I threw together an basic web server to run on the Nexus Q that can be used to launch packages and intents. You can download it here: http://greggreno.com/test/JuiceReceiver.apk
Steps to install:
Make sure the Nexus Q is recognized by ADB using the ADB DEVICES command. If not, look at the Running Apps thread that shows how to get the USB driver to recognize the Q.
Download the apk file (above)
Use this command to install it: "adb install JuiceReceiver.apk"
Use this command to run it: "adb shell am start -a android.intent.action.MAIN -n com.jigawattlabs.juicereceiver/.MainActivity"
The background web server service SHOULD auto start when the Q boots, so you shouldn't have to manually start the service again, unless it crashes.
When the app launches, it will show the URL of the web server running on the Q. Just go to that link and it will show you the list of currently supported commands. Since I don't have a keyboard or mouse hooked up, I auto close the front end app after 30 seconds to get it out of the way.
The /showimage and /playvideo commands don't seem to work yet because there doesn't seem to be any default player for them. The /playmusic command seems to work (you see an activity playing it), but I can't hear anything.
Please share any suggestions for how I can get the media playback working and any other commands you need. Consider this a buggy alpha release.
works for me
Nice! Didn't try too many things, but was able to launch a couple of the built in apps (settings, downloads).
greno1 said:
Please share any suggestions for how I can get the media playback working and any other commands you need. Consider this a buggy alpha release.
Click to expand...
Click to collapse
How do you uninstall if necessary???
treaklet said:
How do you uninstall if necessary???
Click to expand...
Click to collapse
Code:
adb shell pm uninstall com.jigawattlabs.juicereceiver
Juice Receiver is the way I call the Launcher on my Nexus Q, since I could not assign any key, or combination key to open the launcher I use the browser to do it. Thank you very much, other wise I'll be stucked at the adb commands for that!
Related
*****To all newebies(as quite a few new people are at this forum because they got their first device! (TFP)) any anyone who wants to learn, let’s get educated about our devices!*****
ADB (Android Debug Bridge) is an extremely useful tool that WILL help you in all of your customizing needs! You may see the need to use ADB commands to help root your device, change ROMS, or send your device a fix. Without the knowledge here, you could easily be left in the dark.
ADB is a necessity for developers and general consumers alike. Knowing this tool is a great advantage to you to help your device at the best quality possible.
Installation
Download Google SDK
Choose the correct operating system and install!
The installation REQUIRES Java JDK which can be downloaded from Here
If during installation it asks for JDK (and you have installed it) Press the back button and next again, sometimes that will fix the error.
**Note** The SDK installs to C:\Program Files (x86)\Android\android-sdk standard, chose any directory for you
Start the SDK and immediately, you will notice a few checkboxes. For the standard user, just make sure Android SDK Platform-tools (under Tools) and Google USB Driver package (under Extras) – the drivers are always good to have, latest ADB drviers.
Click install 2 packages and wait. Once installed go to your installation directory and find the platform-tools folder. This directory is your ADB and will be your lifeline!
**Do you want ADB accessible through any command prompt directory?**
You are in luck. (For Windows 7)
Right click on My Computer > Properties > Advanced System Settings >Advanced (Tab) > Environment Variables > Under System Variables scroll and dbl click on Path
TO THE END of the Variable value line add
Code:
;C:\Program Files (x86)\Android\android-sdk\platform-tools
Or whatever the directory you installed to + platform-tools
Open CMD and type ADB, if you did it right, you will see proper ADB jargon regardless if you are in the correct directory or not!
Congratulations! ADB is installed!
**Make sure your device is using the latest drivers (that you just downloaded) or other ADB drivers provided by ASUS to access ADB. When connected in Debugging mode, device manager will have: ASUS Android Composite ADB Interface**
ADB Usage
**I will be talking mainly about commands/arguments that the general end-user may use or come across**
**Make sure your tablet is in USB Debugging Mode to be able to connect to ADB (Settings > Applications)**
ADB Devices : This command shows all connected android devices that will respond to an ADB command. It is useful for making sure your device is connected.
ADB Connect [IPORT] : This command will connect to your device over personal WIFI connection if your device is setup for ADB over WIFI (Requires root and NOT recommended)
ADB Push [local_file] [remote_file] : This command will push any local file to the device (only if the device is Read/Writable. Stock /system/ folders are only Readable.
ADB Pull [Remote_file or Directory] [Save file or Directory] : This command take files or an entire directory and save it to your desired location. This command only works when directory is read/Writable.
ADB Shell [command] : This command will perform most UNIX commands on the device. Without a command, you can enter several shell commands before you ‘exit’. Most will not work unless SU is applied (# instead of $). Must be rooted for SU. Only play with these commands if they are known by you or exactly copied from instructions.
ADB Logcat [ > file.txt ] : This command will display (or save per > file.txt) a log of what’s happening on the device. If you are receiving errors, turn on logcat, reproduce error, turn off, and send logcat to the developer.
ADB Install [-r][-s] [local_apk] : This command force installs (or reinstalls –r or –s installs on SD-Card) any APK provided.
ADB Uninstall [-k] [APK_Name] : This command uninstalls any APK Name provided (app.apk) and will even keep cache and other data with the –k tag.
ADB start-server : This command will start the server if the server is off or killed. (Normally server will auto-start when ADB command is used)
ADB kill-server : This command will close ADB server. Useful if ADB server is acting up or not connecting to any devices.
ADB remount : This command will mounts the /system/ partition Read/Writable pending the device is allow to. Stock TFP will NOT.
ADB root : This command will restart ADB with root permissions if the build allows for it. Stock TFP will NOT.
ADB usb : This command will restart ADB on device to use USB connection for ADB communication.
ADB tcpip [port] : This command will restart ADB on device to use TCPIP connection for ADB. Standard port is 5555. Again, this connect not recommended for file transfers.
ADB reboot [recovery/bootloader] : This command will restart your device. If either of the two options are given, the device will boot into that mode (sadly TFP does not support the two options.. yet)
ADB Tips/Tricks
When following ADB instructions, follow them WORD-BY-WORD in the EXACT ORDER GIVEN. If copy and pasting their commands (one line at a time) makes it easier, then do so.
If you have root access, do not mess around in ADB shell unless you know what you are doing
Connecting over IP can be beneficial for you for quick ADB access, but for file transfers, speed is slow and you ALWAYS risk corruption (check the md5!) One bad file and you have boot-loops!
ADB Logcat is an amazing command. If anything is wrong with your device, 9/10 you can see it in logcat. If you can find the exact problem, fixes can happen much easier. USE LOGCAT TO YOUR ADVANTAGE!
ADB reboot can be a quick reboot, sometimes you don’t feel like waiting!
Use the environmental variables! It helps exponentially, and keeps from having multiple instances of ADB running.
When multiple instances of ADB are running (different directories) ADB can get messed up! (ADB not up-to-date restarts, and connect problems). ASUS Sync service has and ADB setup. Turn it off if you are not using it. Try to stick to only ONE instance of ADB
Eventually, we may have root access in our recovery kernel. Then and only then can our devices be truly customizable!
The GUIDE is not finite. Please post anything you feel should be added/corrected to the guide. Please take notice from this, as the understanding of these simple commands could help save your device(s)!
Thanks and 5 star would make me feel good inside too!
Wow... Nice post. Lots of time went into this lol. Thanks can't give the five stars in the app though:-(
Sent from my Transformer Prime TF201 using xda premium
The link in step #1 is whack - I think you want tis? http://developer.android.com/sdk/index.html
Lock-N-Load said:
The link in step #1 is whack - I think you want tis? http://developer.android.com/sdk/index.html
Click to expand...
Click to collapse
hmm thats what was in there, i re-saved and it works now ... maybe xda error
thanks tho!
biggem001 said:
hmm thats what was in there, i re-saved and it works now ... maybe xda error
thanks tho!
Click to expand...
Click to collapse
before you fixed it, it was trying to use this http://http://developer.android.com/sdk/index.html"
note the extra parens at the end and the double http call
i noticed that too, all i did was re-save and it worked. how weird.
Thanks! I've seen a few tutorials on this but this one was by far the easiest to follow and best organized. Short and sweet. Worked on my desktop great, I've never managed to install it right D:
Re posting to give 5 stars. Thanks again OP
Quick question: Is it normal for PTP mode to be required for adb to work? Because as soon as I switch to MTP I can no longer use adb.
cmat1120 said:
Quick question: Is it normal for PTP mode to be required for adb to work? Because as soon as I switch to MTP I can no longer use adb.
Click to expand...
Click to collapse
i can do either at once.. thats weird
GPS, Wifi and BT Testing
Could someone write some basic tutorials on how to verify/test GPS, wifi and BT funtions? For those of us who are new to Android it would helpful in verifying which problems are truly present. Also perhaps show how to find the serial number - for example: some don't know you have to click status - because there are a some erroneous posts out there. There may be users who assume something works or doesn't work, based on limited knowledge and these inaccurate findings only serve to muddy up the works.
There's a lot of animosity about the influx of newbies (and trust me, as a newbie it doesn't feel good). I think the first step is to educate. If some of these troubleshooting steps are laid out, more people can contribute in an intelligent way.
I thought this would be a good thread for the Guides thread, but it is closed and I cannot send PMs.
Thanks - Great Info
One thing you can add for all us amateurs is how to use ADB to install off market apps, stuff like that. Things the non-power user can benefit from. Some simple command line structure would be great.
theandies said:
One thing you can add for all us amateurs is how to use ADB to install off market apps, stuff like that. Things the non-power user can benefit from. Some simple command line structure would be great.
Click to expand...
Click to collapse
i wont add it to the guide, because adb install is pretty self explanatory but this
make sure you can install non-market apps
Code:
adb install app.apk
jonalisa said:
Could someone write some basic tutorials on how to verify/test GPS, wifi and BT funtions? For those of us who are new to Android it would helpful in verifying which problems are truly present. Also perhaps show how to find the serial number - for example: some don't know you have to click status - because there are a some erroneous posts out there. There may be users who assume something works or doesn't work, based on limited knowledge and these inaccurate findings only serve to muddy up the works.
There's a lot of animosity about the influx of newbies (and trust me, as a newbie it doesn't feel good). I think the first step is to educate. If some of these troubleshooting steps are laid out, more people can contribute in an intelligent way.
I thought this would be a good thread for the Guides thread, but it is closed and I cannot send PMs.
Click to expand...
Click to collapse
for GPS, use GPS Test app on the market
for BT and wifi testing, i'll just connect my device via BT or adhoc wifi and do the testing on my PC itself, more accurate and better programs
Excellent howto, thanks
I have trouble connecting to my prime with adb. In the Win7 Device Manager the correct device shows up, no exclamation mark at all, but adb just won't see the Prime.
USB debugging mode is on, no Asus Sync software on the PC. I have no clue why ADB won't see my device.
Now many of us can really shoot ourself in the foot.
by far the best and quickest adb install/setup ever. thanks OP!
neo1738 said:
by far the best and quickest adb install/setup ever. thanks OP!
Click to expand...
Click to collapse
aw shucks!
THANKS!
biggem001 said:
ADB Devices : This command shows all connected android devices that will respond to an ADB command. It is useful for making sure your device is connected.
ADB Connect [IPORT] : This command will connect to your device over personal WIFI connection if your device is setup for ADB over WIFI (Requires root and NOT recommended)
ADB Push [local_file] [remote_file] : This command will push any local file to the device (only if the device is Read/Writable. Stock /system/ folders are only Readable.
ADB Pull [Remote_file or Directory] [Save file or Directory] : This command take files or an entire directory and save it to your desired location. This command only works when directory is read/Writable.
ADB Shell [command] : This command will perform most UNIX commands on the device. Without a command, you can enter several shell commands before you ‘exit’. Most will not work unless SU is applied (# instead of $). Must be rooted for SU. Only play with these commands if they are known by you or exactly copied from instructions.
ADB Logcat [ > file.txt ] : This command will display (or save per > file.txt) a log of what’s happening on the device. If you are receiving errors, turn on logcat, reproduce error, turn off, and send logcat to the developer.
ADB Install [-r][-s] [local_apk] : This command force installs (or reinstalls –r or –s installs on SD-Card) any APK provided.
ADB Uninstall [-k] [APK_Name] : This command uninstalls any APK Name provided (app.apk) and will even keep cache and other data with the –k tag.
Click to expand...
Click to collapse
Just a small suggestion, adb won't accept commands if they are capitalized.
For example "ADB devices" will work perfectly, but "ADB Devices" won't.
So, in order to help the newest of newbies, you might want to put the commands in lowercase in the first post.
Hi everyone, I got my watch 2 days ago and rooted it in the first two hours and since then keept trying different android apps on the watch and since then I managed to find a way to sideload apps without a computer and I am sharing it with you.
Note: This guide assumes you have your watch connected to your phone, your phone connected to the internet, a computer around and adb installed on the computer and some abilities of using adb commands to pull files and installing apk's and some basic linux commands like "cd".
Note 2: Links to the apps are in the 2nd post.
Note 3: List of working apps and tips in 2nd post.
Note 4: Guide to using adb from the phone and connecting the watch to a new device without a format in the 3rd post.
Here are the steps:
Install ASTRO Bluetooth Module on the phone.
Install Bluetooth file transfer on the phone.
Connect the phone to the computer and pull the ASTRO Bluetooth Module apk file from data/app.
Connect the watch to the computer (adb over bluetooth or over USB) and sideload the ASTRO Bluetooth Module you just pulled from your phone.
Open the ASTRO Bluetooth Module app on your watch and tic the OBEX FTP SERVER option.
Open the Bluetooth file transfer app on your phone and switch to the Bloueooth tab (the one with the blue Bluetooth sign).
You will see your G Watch in the Cache list, click on it.
On the list that will open click on "File Transfer Profile (FTP)" and wait for it to connect.
Now the contents of the /sdcard folder of the watch should be shown on the Bluetooth tab.
To send a file switch back to your other tab and long-press on the file you want to send and click upload.
To receive a file from your watch go to the Bluetooth tab and long-press the file you want and click Download.
In the bluetooth tab you can also fully manage your sdcard folder from your watch so you can delete, move and copy any file or folder on your watch,
Enjoy.
Also in case you want to sideload apps to your watch you first need to send them using the method above and then do this:
Install terminal Emulator on your phone and sideload it to your watch the same way you did with ASTRO Bluetooth Module above.
Sideload Minuun keyboard for wear or an other keyboard if you think you can use it.
Optional, usefull only if you have root: Install ES File Explorer on your phone and sideload it to your watch.
To install apps open Terminal Emulator on your watch and go to the folder your apk file is in using the "cd" command and then do: "pm install <appname>.apk" changing <appname> to the name of your apk file.
If you choose to install ES File Explorer you can do that much easyer by enabling root acces in it and the option to automatically install and uninstall apps.
And if you want to uninstall apps directly from your watch do this:
Open Terminal Emulator.
Issue the command: "pm list packages -3" and find the package name of the app you want to uninstall
Issue the command: "pm uninstall <packagenamehere>" replacing <packagenamehere> with the package name of the app you want to uninstall.
NOTE: Uninstalling apps using ES File Explorer does unfortunately not work because it asks if you want to uninstall the app and the buttons are not on the screen so you can't click on the "Yes" option.
Done.
Here you go guys, have fun, hope this helps someone else as much as it does help me, will also try to find a way to connect the watch to the adb daemon on the phone via bluetooth and if I manage to do that I will surely post a guide.
Resources:
Astro Bluetooth Module: https://play.google.com/store/apps/details?id=com.metago.astro.network.bluetooth
Bluetooth File Transfer: https://play.google.com/store/apps/details?id=it.medieval.blueftp
Terminal Emulator: https://play.google.com/store/apps/details?id=jackpal.androidterm
ES File Explorer: https://play.google.com/store/apps/details?id=com.estrongs.android.pop
List of working apps:
-All the ones that the above post tells you to sideload to the watch
-The apps in this thread: http://forum.xda-developers.com/android-wear/general/list-sideloaded-android-wear-apps-t2908106
-MiXplorer-better as a file explorer in my opinion because of the list view, does not have music player and text editor so you still need ES File Explorer for that, also crashes when you exit-link: http://forum.xda-developers.com/showthread.php?t=1523691
Tips:
-If an app you want to sideload uses holo theme it will most probably not work, I think wear has holo removed
Thanks to:
@EpicLPer for creating that thread of sideloaded working apps.
Someone managed to execute adb commands from the phone to the watch, look here:
http://forum.xda-developers.com/android-wear/development/adb-smartphone-to-android-wear-t2987568
Also on this thread someone managed to connect the watch to a different phone without a factory reset on an older android wear version:
http://forum.xda-developers.com/and.../app-reset-wear-client-switch-phones-t3058962
But it's not that easy anymore, that you now need to do is:
First execute the (adb shell "pm clear com.google.android.gms && reboot") command
And then after the reboot execute the (adb shell am start -a android.bluetooth.adapter.action.REQUEST_DISCOVERABLE) command to be able to connect your phone
I have also made shell scripts to do that directly on the watch using terminal emulator and will upload them soon.
Great stuff sir!
crazyeats said:
Great stuff sir!
Click to expand...
Click to collapse
Glad you enjoy it, have now added a list of working apps and tips in the 2nd post, if you test other apps and they work please post them and I will add them.
Solid! Thanks
Great any update then?
johnvuong1999 said:
Great any update then?
Click to expand...
Click to collapse
Sorry I was without a PC for a week and didn't see your message, updates on what are you asking about?
If you are asking about more apps I didn't really get more apps working (android wear is just missing too many things), only some video players but they break the app "Wear Mini Launcher" for some reason, and if you are asking about using adb via bluetooth to debug the watch from the phone that's also something I didn't get working and I did try all the ideas I had.
Root required?
owais113 said:
Root required?
Click to expand...
Click to collapse
If you would have read the whole post you would have seen that it only needs root to install apps using ES File Explorer but unfortunately after the 5.1 update the "pm install" command doesn't seem to work anymore (with or without root) it just gives a "FAILED_INVALID_URI" error.
Other news is that someone on the wear general forum actually managed to run adb over bluetooth so you can now install apps from your phone directly using adb instead (but it does require root on your phone) I will post the link in the 3rd post soon.
Ranomez said:
If you would have read the whole post you would have seen that it only needs root to install apps using ES File Explorer but unfortunately after the 5.1 update the "pm install" command doesn't seem to work anymore (with or without root) it just gives a "FAILED_INVALID_URI" error.
Other news is that someone on the wear general forum actually managed to run adb over bluetooth so you can now install apps from your phone directly using adb instead (but it does require root on your phone) I will post the link in the 3rd post soon.
Click to expand...
Click to collapse
But does the watch need to be rooted or you only need a rooted phone.
owais113 said:
But does the watch need to be rooted or you only need a rooted phone.
Click to expand...
Click to collapse
Do you need root on your watch to execute the "adb install" command command from the PC?
Hi,
I uploaded this tutorial for you guys. And yes, it's supposed to work with iOS and Android! So, before I start I want to credit @moneytoo for his tutorial to Reset Wear Client and to the creator of Beelink. Let's start!
1) Install ADB on your computer
2) Enable USB Debugging on both, the watch and the phone
3) Download on your computer this APK: http://www.mediafire.com/download/dcurx2wvm60u4u4/com.trainday.androidapps.beelink.apk
4) Install the APK of BeeLink on your watch through BeeLink. It's done using the following tutorial: http://corbindavenport.com/?p=167
5) Now you should have the app on your phone. The following steps are easy:
Watch is connected with phone A so turn off Bluetooth on this phone.
Execute following command (with Wear connected and ADB enabled - doesn't require root). Code:
adb shell "pm clear com.google.android.gms && reboot"
7) Power on Bluetooth on phone B.
Depending whatever devices were paired previously, confirm pairing code or initiate new pairing using following command (thanks @matejdro) or also use the wear app for that. Code:
adb shell "am start -a android.bluetooth.adapter.action.REQUEST_DISCOVERABLE"
And this should be it. I'm not a developer, therefore I don't know if this works. Thanks! It worked for me. If you have any doubt just ask me!
Thanks for the information. if you explain these steps with pictures,we can understand easily. Thanks
I'll Try!
badcrow35 said:
Thanks for the information. if you explain these steps with pictures,we can understand easily. Thanks
Click to expand...
Click to collapse
Of course! But I'm sorry you'll have to wait for a bit I had to send my moto 360 for repair I'm sorry as soon as I can I'll try to upload a Video or something like that.
Will this work with moto 360?
Can I use your method to pair with android phone to install app.
Most of the time I use iPhone.
So you need to hook up your phone to your pc each time you switch your phone used with moto360?
Debloated after getting the Pie update, and I'm having issues installing apps. Doesn't matter if it's the Play Store, Galaxy Store, or any other method, they just hang on "installing" forever. Problem goes away if I go into the settings>apps>reset app preferences, but this of course re-enables everything and I have to setup a lot of my apps again. I know I basically need to go through my list one by one and figure out what is causing this, but was hoping since I won't have time to do that for a few days, if I posted my list here someone might be able to pinpoint the problem. I had these (and more) disabled while on Oreo, so I'm not sure what the issue is. Any help is appreciated!
Apps I disabled:
ANT + DUT (com.dsi.ant.sample.acquirechannels)
ANT Radio service (com.dsi.ant.service.socket)
ANT+ HAL service (com.dsi.ant.server)
ANT+ Plugins Service (com.dsi.ant.plugins.antplus)
Bixby Service (com.samsung.android.bixby.service)
Call (com.samsung.android.incallui)
com.sec.phone
Device Security (com.samsung.android.sm.devicesecurity)
Email (com.samsung.android.email.provider)
Excel (com.microsoft.office.excel)
Galaxy Essentials Widget (com.sec.android.widgetapp.samsungapps)
Gallery (com.sec.android.gallery3d)
Gmail (com.google.android.gm)
Hangouts (com.google.android.talk)
Kids Home (com.sec.android.app.kidshome)
Kids Home Installer (com.samsung.android.kidsinstaller)
Maps (com.google.android.apps.maps)
OneDrive (com.microsoft.skydrive)
OneNote (com.microsoft.office.onenote)
PENUP (com.sec.penup)
Phone (com.android.server.telecom)
Phone (com.android.phone)
PowerPoint (com.microsoft.office.powerpoint)
Recolor (com.sumoing.recolor)
Samsung Flow (com.samsung.android.galaxycontinuity)
Skype (com.skype.raider)
SmartThings (com.samsung.android.easysetup)
SmartThings (com.samsung.android.beaconmanager)
SmartThings (com.samsung.android.ststub)
Texture (com.nim.discovery)
Wearable Manager Installer (com.samsung.android.app.watchmanagerstub)
What's New (com.samsung.android.app.social)
Word (com.microsoft.office.word)
Got some time this morning and figured it out. Turns out you can't disable Device Security with the Pie update or things get screwy. I've got that disabled on my Note10+ and I believe it was disabled on my Note9, but on the Tab S3 it's a no-no it seems.
So don't disable Device Security (com.samsung.android.sm.devicesecurity) and you should be fine.
Can you share the steps to disable all these apps? I only have a Chrome OS and Linux computer.
Sent from my SM-T820 using Tapatalk
I'm not sure how to do it with those OS's exactly as I don't have a linux machine and haven't tried this on my chromebook. But I do know it's possible, you use terminal I believe. I use command prompt on windows (from within the platform tools folder of the android SDK). Don't even need that installed, I actually just have the platform tools folder on a flash drive I run my bat files from usually.
Contained in my bat files though are my commands to disable apps, enable apps, clear data, change screen resolutions, or whatever I'm doing.
Make sure your device has USB debugging turned on in developer settings. Then the command I use to make sure it's connected after plugged in and the drivers install is "adb devices" without the quotes. Should come back with a number that's unique to your device. If that checks out, you can do all the other stuff.
To disable an app I use these three commands per app, it's two extra steps compared to most people, but it clears out the data for the apps before disabling them.
adb shell pm enable --user 0 "app package name here"
adb shell pm clear "apk package name here"
adb shell pm disable-user --user 0 "package name here"
No quotes of course. And just repeat those lines for each app you want to disable. Grab the package names using the app Apk Analyzer by Martin Styk.
Hope this helps, if not feel free to ask and I can always boot up linux from a USB or try it out on ChromeOS.
One more thing I'll add is that you may want to leave gallery3d enabled if you use certain s-pen gestures like smart select.
elcidroyale said:
Can you share the steps to disable all these apps? I only have a Chrome OS and Linux computer.
Sent from my SM-T820 using Tapatalk
Click to expand...
Click to collapse
You need to have adb and fastboot installed on your Linux machine. Most distributions should have this packages within their repositories. So you can use your packetmanager.
whoosename said:
You need to have adb and fastboot installed on your Linux machine. Most distributions should have this packages within their repositories. So you can use your packetmanager.
Click to expand...
Click to collapse
I actually used Package Disabler Pro app and disabled everything you did and more easily!
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"