Recompiling Platform For Logitech Revue - Android Q&A, Help & Troubleshooting

Alright so I am playing around with my Logitech Revue, and I can connect via ADB is there a way I can use this to DL the files I need to compile the platform?
Also more generally without the use of applications like diff and grep what is the best way to analyze what files are necessary to pull down for a port.
So basically here are my skills...
I can build a platform using the source found at s.android.com
I can adb into my Logitech Revue
so how do I create a system image and flash my existing revue adding an additional system application (call it SampleApplication)
Thanks guys
P.S. If you want to connect...
1.) go into you Google TV and set your remote debugger to be the IP of the computer running adb.
2.) adb connect <IP of GOOGLE TV>
3.) adb shell
4.) profit???????

Related

[Q] How to type commands on gTab?

I'm having issues connecting the Microsoft Bluetooth keyboard to my gTab, and I've been trying to use Bluetooth Keyboard Easy Connect, but that can't seem to install Bluez Utils, because I can't find them anywhere on the device. It looks like the device is mounted R/O and I have no idea how to mount it otherwise.
But back to my point, I've seen tutorials for doing this manually, and all involve typing commands at a command line, some using adb. Is there a comprehensive tutorial for typing commands in these examples that people give?
Also, for what it's worth, I have the dev kit installed, and I try doing adb, but it tells me device not found, so apparently I'm not connecting it correctly and I can't find any instructions on how to do such a thing.
I'm not able to find anything on this search-wise (well, there is one post in XPERIA X8 General, but that involved removing a battery, which you can't do on the gTab).
Any help would be appreciated!
There are several ways to go. If you use Windows you need drivers and if you use Linux you'll need to make an entry in your udev rules so the tablet is recognized as a device. If you search the overall gtab forums for "adb windows" or "adb linux" you should be ok there.
So ADB is one way to get a shell. You can also download something from the market like Android Terminal or Better Terminal. Of course, those are easier to use if you have an external keyboard ;-) You can get Full Keyboard or other keyboards that have all the exotic keys.
The 3rd way to do it is to run sshdroid or another ssh server and then use ssh or putty to connect to your device remotely.
Any one of these methods will give you a shell prompt either on the screen or back at your PC.

Best remote shell alternative to adb shell?

What's a good approach for getting a remote shell from Windows? adb shell just doesn't cut it, I tried it from the Win command prompt and from cygwin's mintty and there are all sorts of terminal problems, cursor keys not working, escape sequences not working, vi is a mess, etc.
So what's the proper way to set up a remote shell so that you get close to the Linux experience while connecting from Windows? E.g. sshd and connect via putty, busybox installed, etc. Any recommendations please before I go and try a bunch of things and make a mess? Thanks!
sirxdroid said:
What's a good approach for getting a remote shell from Windows? adb shell just doesn't cut it, I tried it from the Win command prompt and from cygwin's mintty and there are all sorts of terminal problems, cursor keys not working, escape sequences not working, vi is a mess, etc.
So what's the proper way to set up a remote shell so that you get close to the Linux experience while connecting from Windows? E.g. sshd and connect via putty, busybox installed, etc. Any recommendations please before I go and try a bunch of things and make a mess? Thanks!
Click to expand...
Click to collapse
SSH is a good alternative. You can then connect via PUTTY from your Windos machine. There's a small ssh server for embedded system called "dropbear", alto not fully functional (no scp/sftp support), it's easier to install than openssh. If you don't want to install it in the Android OS native, you can always download an app including it, there's a few of them.
Myself I'm using openssh, using my fully GNU Debian environment (see my signature). This solution also enables me to use X-windows for remote access to my Android. But I guess this is overkill for you. But still, very cool.
kuisma said:
SSH is a good alternative. You can then connect via PUTTY from your Windos machine. There's a small ssh server for embedded system called "dropbear", alto not fully functional (no scp/sftp support), it's easier to install than openssh. If you don't want to install it in the Android OS native, you can always download an app including it, there's a few of them.
Myself I'm using openssh, using my fully GNU Debian environment (see my signature). This solution also enables me to use X-windows for remote access to my Android. But I guess this is overkill for you. But still, very cool.
Click to expand...
Click to collapse
Thanks! Your link Run a complete GNU/Linux distribution on your Android is pretty cool!
I tried DropBear SSH Server II and SSHDroid and they seem to work well enough for what I need. Next step is to get sftp working which apparently it is possible with DropBear SSH Server II with a bit of manual work.

Install apk from Chromebook.

Hi!
I wonder if it's possible to install apk files on my Stratos from a Chromebook since I don't have a Windows PC/laptop.
1. Use adb from the terminal/command prompt (most ChromeOS devices now allow installing a Linux subsystem and then you should be able to install/run adb if it not natively available).
2. Install FileManager+ and PaceOn on watch some how, use PaceOn to keep WiFi connected, start remove access (it's actually a FTP server) in File Manager+ then use any FTP client on your ChromeBook to copy the files, then use BugJaeger app to connect to watch via WiFi and run the adb commands to install the app;
3. Install AmazMod on both phone and watch (If you can install Amazfit on Chromebook the probably you can also install AmazMod from it too).
If you have an android phone, use BugJaeger over wireless adb
https://play.google.com/store/apps/details?id=eu.sisik.hackendebug

Help with Phone-to-Phone ADB Authorization

---------------
My Question is:
How do I go about using the "adb keygen" command to generate a key pair for each device. AND where do I move those keys so that the devices can connect to each other via the ADB command line interface?
---------------
Currently, my PC is out of order. So I have no way to use ADB via a PC. What I have managed to accomplish so far is rooting my Galaxy Tab 3 [Magisk], Galaxy S5 [SuperSu], and Galaxy S3 [SuperSu]. The devices are running Resurrection Remix Oreo , Lollipop, and Kitkat 4.4, respectively.
***
*** I want to use my tablet [Galaxy Tab 3] as the ADB Host for all my other androids to connect to. This way I can issue ADB commands over the network from my tablet's Termux environment. And I know my current issue has to deal with the ADB_VENDOR_KEYS, as well as "Step 5/6" in connection handshake outlined in the screenshot from "cstyan's adb documentation" on github.
Now each device is equipped with a Terminal Emulator or Termux, and an ADB binary compiled for the ARM architecture. [Android Debug Bridge version 1.0.36
Revision e25a9312d628-android]
I can connect to ADB over the network. I've already gotten the GS5 to connect to Tab3's ADB server. I can run the "adb devices" command after successfully connecting to a specific IP address, but the command always lists the device as "unauthorized". This is shown in my screenshot from my CLI. I'm being tripped up by oversight here because this is typically done automatically, not manually.
Do I need to keygen a pair on the tablet and copy that key-pair to my other devices? Or does each device need a copy of each other device's adb key? This should work. I should just have to do the legwork manually, since this isn't the standard way. On normal Linux/Windows the adb key is stored in the User's profile root in the ".android" folder, but where is the counterpart on the device itself? I already have my Tablet's private key in "/data/misc/adb/adb_keys"
I feel I am on the last step here. Where do I place the public keys on the device? All I need to do is authorize the device using my manually generated adb key. Everything else works, and then I wouldn't need to have my PC so high on my priority list. Can someone please help clarify the step or two that I am missing here please?

ADB over Internet

Has anyone tried to ADB over different wifi? My friend lives far away and wants to root his phone but doesn't have a computer. Is it possible for me to use my computer TO root for him, maybe via hamachi??
Thanks in advice for suggestions
ADB Wireless requires the phone's Android must be rooted.
More info here:
Setting Up ADB on Windows and Connecting Wirelessly to Android
How to Set up ADB on Windows Platform Android Debug Bridge (ADB) is a tool that gives you options to modify, tweak, or debug your Android device. The ADB establishes a connection between your PC and Android device or emulator (for development purposes) through a built-in server.
www.gizbeat.com

Categories

Resources