Hi everyone!
I'm want to remotely reboot my cubieboard2 which runs on Android Jelly Bean.
I can connect into the device using SSH or Telnet. I just can't figure it out, how to reboot.
I was expecting that usual linux commands would run on Android.
Please help!
Cheers!
Is there an application that I can use to remotely reboot?
Related
Hi guys i have a galaxy s3 xxella and running CM 10.1 custom rom developer options enabled and usb debugging too. and root access open for apps and adb. oh and phone is fully rooted and using custom recovery. everything is normal like you see but when i trying to reach adb my device status is offline it shows and i cant do anything.
CM10.1 is based on Jelly Bean 4.2.2. In order to be able to communicate in adb mode with a 4.2 device, you need to update your SDK. In your Android SDK folder, just go to adt-bundle-windows-x86_64\sdkmanager.exe, and install the new API version and SDK platform for 4.2.2.
Also, if you set up the Environment Variable to reach adb easily, know that in the new SDK package it has moved from the "tools" directory to "platform-tools", so change the variables accordingly.
When connecting to your device in adb, you should now see a popup window on your phone asking you to confirm key exchange between computer and device (that's also new in 4.2.2)
Finally, if you are using a Windows App called SnapPea, uninstall it as it replaces adb with a crappy dysfunctional exe.
th3m1773n said:
CM10.1 is based on Jelly Bean 4.2.2. In order to be able to communicate in adb mode with a 4.2 device, you need to update your SDK. In your Android SDK folder, just go to adt-bundle-windows-x86_64\sdkmanager.exe, and install the new API version and SDK platform for 4.2.2.
Also, if you set up the Environment Variable to reach adb easily, know that in the new SDK package it has moved from the "tools" directory to "platform-tools", so change the variables accordingly.
When connecting to your device in adb, you should now see a popup window on your phone asking you to confirm key exchange between computer and device (that's also new in 4.2.2)
Finally, if you are using a Windows App called SnapPea, uninstall it as it replaces adb with a crappy dysfunctional exe.
Click to expand...
Click to collapse
i will try now thanks for all
Edit: yes dude its all working good now thank you.
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.
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?
I am having issues connecting my Nexus 10 to my computer via ADB sideload in TWRP. Is there anyone out there that can help me with this issue? At this point i would even pay someone, if they can get it to connect. Currently there is no ROM on the tablet. I am trying to upload a new ROM but only way to do is ADB sideload due to no SD Card. Unless someone has a better idea....
@pgotti91
ADB includes three components:
A client, which runs on your desktop computer
A server, which runs as a background process on your desktop machine. It manages communication between the client and the daemon running on the Android-powered device
A daemon, which runs as a background process on the Android device.
The latter is part of any Android ROM, gets started when device boots.
Do a Factory Reset, if possible.
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"