adb newbie: how to I set up and use adb?
I am trying to use my pinephone, with build 318. In the past i would just set up ssh, and use that, but I guess things have changed, and now I have to use adb to set up various services or something. Actualy, i dont know that, or care, but I would like to learn how to set up, and use adb to communicate with my device.
my PC is a Lenovo thinkpad with Ubuntu Mate 18.04 (linux) installed.
I dont know anything about adb, I have never used it. I dont know about setting up virtual devices, or what that even means. I want to be able to communicate with my phone, via adb, and learn what I can, and cannot do with adb.
I have installed adb with the command
sudo apt-get install android-tools-adb android-tools-fastboot
and have version
$ adb version
Android Debug Bridge version 1.0.39
Installed as /usr/lib/android-sdk/platform-tools/adb
do i have to enable debugging on the pinephone / ubuntu touch? if so, how do I do that?
$ adb devices
List of devices attached
(lists no devices)
I dont know what Im doing, and I dont know what to do next. yes, I ran
$ sudo adb start-server
adb server version (41) doesn't match this client (39); killing...
- daemon started successfully
is there a good tutorial for a total newbie? what do i do next?
Under about section, on the phone, I expected to see an option to enable debugging. no such button exists. is there a command line way to enable debugging?
its all changed ,this is the link to the newer OTA capable version ,it wiil expand(extract) to the correct size for your emmc (14.6G), then you flash it to your sdcard or emmc using "jumpdrive" tool
section 8.2 for jumpdrive.
ok, how do I compile jumpdrive? the README says it depends on aarch64-linux-gnu- toolchain. is that the gcc-aarch64-linux-gnu package?
So I have jumpdrive going, do I flash the image to the root emmc device drive (/dev/sdb), or to the empty space?
or should I expand /dev/sdb2 (pmOS_root)
@Eric put /flash jumpdrive to a small sdcard, then put it in your pinephone, connect to your pc, switch on , then youre connected. then use Balena Etcher or dd the OS you want from your pc to the emmc.(jumpdrive does all the work) but check where Etcher is going to install the OS
if you want the OS on your sdcard dd or etcher from your pc to sdcard.
ubports with the OTA , extracts to 14.6g , to make life easy, but you need available space ..
AppLee last edited by AppLee