no adb access under xenial+systemd user build

Bug #1632602 reported by You-Sheng Yang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
Critical
You-Sheng Yang
android-tools (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

adb service under user build involves several other parties and is currently not implemented.

Tags: systemd
Revision history for this message
You-Sheng Yang (vicamo) wrote :

However, like what we've have for eng build, one may simply hook android-tools-adbd service to another valid property under user build, e.g. "ro.build.type=user".

device# cd /ubuntu/etc/systemd/system
device# mkdir <email address hidden>\\x3duser.target.wants
device# cd <email address hidden>\\x3duser.target.wants
device# ln -s /lib/systemd/system/android-tools-adbd.service

Here, the folder name is "android-container@<KEY>\x3d<VALUE>.target.wants". That backslash character is required.

Changed in canonical-devices-system-image:
milestone: none → x1
status: New → Confirmed
Changed in canonical-devices-system-image:
importance: Undecided → Critical
Revision history for this message
You-Sheng Yang (vicamo) wrote :

After some discussion, we can also enable "ro.debuggable=1" in user builds temporarily and revert it when all is ready.

Revision history for this message
You-Sheng Yang (vicamo) wrote :

Temp work-arounds have been proposed. Please keep this bug open even if they're merged later.

Changed in android-tools (Ubuntu):
status: New → In Progress
You-Sheng Yang (vicamo)
Changed in android-tools (Ubuntu):
status: In Progress → Confirmed
Revision history for this message
You-Sheng Yang (vicamo) wrote :

All necessary changes merged.

Revision history for this message
Yuan-Chen Cheng (ycheng-twn) wrote :

verify the following build have adb after turned on in system-settings.

current build number: 68
device name: frieza_arm64
channel: ubuntu-touch/staging/ubuntu
last update: 2016-10-26 00:51:22
version version: 68
version ubuntu: 20161025
version device: 20161014.0
version custom: 20161025

Changed in canonical-devices-system-image:
assignee: nobody → Vicamo Yang (vicamo)
status: Confirmed → Fix Released
Changed in android-tools (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.