Screenshots Without a Computer - Wear OS General

As many of you may know, there's currently no native way to screenshot an Android Wear device, and at this point it's pretty cumbersome to need to get to a computer to run ADB just to get a screenshot.
I've managed to at least remove the need for a computer, as long as your phone (or whatever your watch is paired with) is rooted (your watch does NOT need to be rooted), through a simple script I threw together, wearcap. It properly loop-back connects to your device and then connects to the watch over ADB. I'm sure this can be made into an actual app, but I don't care enough or have the time to do it. All you need to do is run it as root with whatever terminal app you desire. Wearcap assumes you've done all the necessary USB debugging settings, which can be found below. Screenshots are saved in /sdcard/Pictures/Screenshots/ on your device and then removed from the watch.
Everything else is pretty self-explanatory, just push the script onto your device, give it executable permissions and be on your way. As noted in the script itself, make sure your screen is on during the connection process, my Moto 360 would typically fail to connect if it was off.
For a reminder of how to setup USB debugging for the devices: http://www.androidpolice.com/2014/0...nlock-the-bootloader-and-root-the-lg-g-watch/
And here is the Google+ thread: https://plus.google.com/u/0/113601948978986762347/posts/6dD6xBrvpjs

"This paste has been removed"

Spere said:
"This paste has been removed"
Click to expand...
Click to collapse
Sorry about that, it's been attached as a text file now.

an apk will be wonderful

I can wrap it into app tomorrow if CEnnis91 is OK with it, I'm thinking to add change of the density as well through adb.

Related

Comment on automated root method

I just wanted to throw a comment on this automated root method for the TF300:
http://forum.xda-developers.com/showthread.php?t=1706588
It worked, but I had to play a little bit with the batch file. I had a previous ADB setup from rooting phones over time, so I'm familiar with that, but what I noticed is:
1. It was having trouble finding files - to counter this, updated the bat file to "push" files from C:\blah\blah\file instead of just file. This may be painfully obvious to some, but I don't do this very often, so took me a little while to find
2. Same thing for installing superuser.apk - change that file to be C:\blah\blah\file wherever you unzipped the content from.
3. Noticed that even though it was sending commands to "wait-for-device" it wasn't doing so properly. Windows detected it, but it was still in the "ASUS spinning circle" phase - the batch file was trying to send commands in this phase, and it was failing. To counter this - after every "adb reboot" command listed in the file, I put a "TIMEOUT 60" line in there, which as you can guess, causes the batch file to hold for 60 seconds before continuing, which was just enough time to allow for the main screen to pop up and allow for processing.
Once the "root check" apk I use to verify root was given superuser access (in the market by joeykrim), it turned green, and I turned happy )) Thank you so much for an easy, automated way to make this happen. I'm not interested in unlocking / bootloaders, etc at this time, but rooting I was, and this did the job.

[Q] Converting old Android phone into simple image displayer

Is there a way to change the Android display programmatically from a PC via a USB cable? I have an old phone, Samsung Moment, that I would like to convert into a simple display device. Ideally I would be able to send it properly sized and formatted image files and have the phone simply display the image fullscreen. I am able to use ADB to send and receive files to the phone, but the phone is not yet rooted. If rooting is required, then I guess I'll do that first. Is there an app for this already or is it something that can be done simply by issuing ADB shell commands, sending files into the right places? Also, I would of course need to turn off the automatic screen lock. The phone should not need to respond to any input; it would just be a display device. Is all of that doable via some app or is this something requiring specialized ROM's? If so, what are my options?
Thanks!

can i root and install vnc server completely without display/touchscreen

Hi all.
Basically, my display and touchscreen aren't working. For why, you can see here: http://forum.xda-developers.com/goo...eakerphone-t3043151/post67360800#post67360800
So I managed to get access to files (pictures mainly) on my phone by, without access to the screen/touch, installing TWRP and entering into recovery mode and using ADB (pull). Installing TWRP was all from computer, and I didn't have much interactivity with the phone itself during this process. Luckily my phone already had unlocked bootloader (which I believe during that process you have to confirm something on the phone itself?).
So now, I want to go a bit further and get more access to my phone. Best way to do that, for me, seems to use VNC server on the phone. Unfortunately I don't already have one installed. And it looks like most of them need root access?
So (as the subject implies), I'm wondering if its possible to root my phone from my PC without needing to do anything on my phone -- well, if I need to push volume up/down and power button to select stuff, that could work, just can't press anything on screen of course.
Assuming that is possible, I'd have to find a nice VNC server apk and install it via ADB install, correct (sorry I'm not very experienced in all this).
Assuming that works, I'd need to ensure that the VNC server starts on boot.
Assuming that works, if I remember correctly from when I was rooted before, when the VNC server (or any root-needing app) starts, SuperSU pops up and asks if I want to grant that app access. So somehow I'd have to have SuperSU (or whatever alternative) automatically grant it...
So, anyone think this is possible? If so, any hints?
I'm also open to any other way to gain more access to my phone (ie, not using VNC etc), if anyone has any feasible suggestions.
Thanks
snoopac19 said:
I'm also open to any other way to gain more access to my phone (ie, not using VNC etc), if anyone has any feasible suggestions.
Thanks
Click to expand...
Click to collapse
What exactly do you want to access on your phone?
Hah. Good question. I don't really know. Wanna poke around and see if I'm missing anything.
I know I missed a bunch of WhatsApp messages that came in while phone was on and I couldn't see anything. Of course that's not super important.
Basically would like to poke around to see if I missed grabbing anything.
Now that I say it out loud (or type it on the forum), I begin to think it's not worth the hassle.
Maybe the real reason is the challenge, and seeing if it can be done?
Like I said. Good question!

Broken AMOLED, digitizer good. Is data recovery a possibility?

Dropped my op6 flat on its face the other day:crying::crying::crying:
Anyways.. I'm trying to get the data off of it before i attempt the feat of replacing the screen. Like the title says, the digitizer is good, l can unlock it by remembering the screen lock, but I fumbled all yesterday trying to cast my screen. I had slivers of screen I could see there, just couldn't get it to send. No usb debugging and I obviously didn't turn usb mode to file share. Please help if you can, thanks.
If you have TWRP installed, reboot to recovery and just connect your phone to your PC via USB - MTP should be active by default. Inputting the decryption code if you can't see much of what you're doing can be a problem, though.
If you don't have TWRP installed however, you can try using scrcpy (just search for it on Google and you should find its GitHub repo with instructions). It uses adb to run, meaning it requires usb debugging to be on, but the good thing is, as long as your phone is unlocked (not on lockscreen), you should receive a prompt asking to enable debugging just by running the scrcpy executable. Since said prompt is always in the center of the screen (screenshot attached), and you only need to click 2 separate things on there (always allow checkbox & the allow button) to get things going, you should be set fairly quickly. Hope this helps!
Thanks for your reply, this did work and it was very simple.
sublim3style3 said:
Thanks for your reply, this did work and it was very simple.
Click to expand...
Click to collapse
Great! Glad it worked for you

How do I enable adb debugging and otg with a black screen and no otg cable?

Hello, I just broke the screen of my OnePlus8t Verizon network unlocked phone. The computer I previously linked 8t with also has a broken screen. ... Rains it ..... My Phoe has some important information in docs and screenshots I need to get. I just turned off ADB debugging thinking "Oh I don't need that just yet" the very morning I broke the LCD. Good news, I can still answer it. I already have adb.exe except in ADB shell it shows as unauthorized. I need those files like yesterday. I have an otg/ADB flash drive, but I still can not connect to retrieve files. I can see my phone when I directly connect to comp without the flash drive, however, I can not access it. I have tried to put the phone into recovery, but I have no way to enter the pin as I have tried to guess where it is. How can I receive the data I need from my phone?
Thank You.
P.S. I have little knowledge and only learn what I need to know for whatever project, in other words, I can not code and I barely speak dos.
Is the touch screen still working then?
If it's showing "unauthorized" you can try to plug it into your desktop and then hit the "authorize" button on the popup that you can't see.
Here is where ok is on a different phone. It's somewhere near there on yours.
Renate said:
Is the touch screen still working then?
If it's showing "unauthorized" you can try to plug it into your desktop and then hit the "authorize" button on the popup that you can't see.
Here is where ok is on a different phone. It's somewhere near there on yours.
Click to expand...
Click to collapse
I have tried that. The finger print unlock screen only works ⅔ of the time. I have no way of knowing if it's unlocked. I keep my touch sounds silent. I keep trying to find where it might be. I have tried to slide as if answering a call. Is there a way to force the USB settings for media transfer? Maybe through Google? If any platform knows it's my phone is Google. I can go to the play store and push apps onto it. Unfortunately the two adb drivers I have installed on my Android didnt work.
Oh, actually, you've got it easier! The OnePlus 8t supports HDMI over USB Type C.
https://forum.xda-developers.com/t/does-one-plus-8t-have-video-out-through-usb-c.4465629/
Buy an adapter and hook up an HDMI monitor/TV.
Or just use a new monitor on the computer that is already authorized.
Is there any other way. Right now it is not with in the budget to afford any extras even with the price tag of $20. I am hoping there is a way within an adb shell to force turn on the adb debugging. I have developer options enabled. I would just rewrite the documents, except some of those items I need include the text messaging history. If I can't force the adb, can I remotely back up the phone? Is there a trustworthy app for that? I do have quick settings installed and if my memory is correct, I believe I have sideline installed even.

Categories

Resources