[Ubuntu-phonedations-bugs] [Bug 1641505] Re: support adbd emergency shell under systemd

2016-11-13 Thread Vicamo Yang
With the two patches, one may test adbd emergency shell manually by replacing ExecStart command with `/bin/false` in either lxc-android- config or lightdm systemd service. ** Branch linked: lp:~vicamo/lxc-android-config/adbd-emergency-shell ** Changed in: android-tools (Ubuntu) Status: New

[Ubuntu-phonedations-bugs] [Bug 1641505] Re: support adbd emergency shell under systemd

2016-11-13 Thread Vicamo Yang
Patch for source package android-tools to add a systemd ExecStopPost hook /usr/lib/android-tools-adbd/start-emergency-shell for other packages. ** Patch added: "0001-Add-adbd-emergency-shell-systemd-support.patch" https://bugs.launchpad.net/ubuntu/+source/android-tools/+bug/1641505/+attachment

[Ubuntu-phonedations-bugs] [Bug 1641505] [NEW] support adbd emergency shell under systemd

2016-11-13 Thread Vicamo Yang
: Undecided Assignee: Vicamo Yang (vicamo) Status: New ** Affects: lxc-android-config (Ubuntu) Importance: Undecided Assignee: Vicamo Yang (vicamo) Status: New ** Tags: systemd ** Tags added: systemd ** Also affects: lxc-android-config (Ubuntu) Importance: Undecided

[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-10-14 Thread Vicamo Yang
** Description changed: Snappy heavily rely on systemd system session and xenial has systemd by default. [steps to construct systemd-based avila] 1. flash images built from xenial branch [1]. This should gives a working xenial+upstart avila. Following steps are based on rootfs rev

[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-10-14 Thread Vicamo Yang
There is no more work to do for systemd bring up. For snappy bring up, bug 1632272 and bug 1633367 are still open/waiting for review. ** Changed in: upstart (Ubuntu) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Phonedations bugs, wh

[Ubuntu-phonedations-bugs] [Bug 1632602] Re: no adb access under xenial+systemd user build

2016-10-14 Thread Vicamo Yang
All necessary changes merged. -- You received this bug notification because you are a member of Ubuntu Phonedations bugs, which is subscribed to android-tools in Ubuntu. https://bugs.launchpad.net/bugs/1632602 Title: no adb access under xenial+systemd user build Status in Canonical System Ima

[Ubuntu-phonedations-bugs] [Bug 1632602] Re: no adb access under xenial+systemd user build

2016-10-13 Thread Vicamo Yang
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 ** Changed in: android-tools (Ubuntu) Status: In Progress => Confirmed -- You received this bug notification because you a

[Ubuntu-phonedations-bugs] [Bug 1632602] Re: no adb access under xenial+systemd user build

2016-10-13 Thread Vicamo Yang
After some discussion, we can also enable "ro.debuggable=1" in user builds temporarily and revert it when all is ready. -- You received this bug notification because you are a member of Ubuntu Phonedations bugs, which is subscribed to android-tools in Ubuntu. https://bugs.launchpad.net/bugs/16326

[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-10-12 Thread Vicamo Yang
** Description changed: Snappy heavily rely on systemd system session and xenial has systemd by default. [steps to construct systemd-based avila] 1. flash images built from xenial branch [1]. This should gives a working xenial+upstart avila. Following steps are based on rootfs rev

[Ubuntu-phonedations-bugs] [Bug 1632602] Re: no adb access under xenial+systemd user build

2016-10-12 Thread Vicamo Yang
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 android-contai...@ro.build.type\\x3duser.target.wants device# cd android-contai...@

[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-10-12 Thread Vicamo Yang
** Description changed: Snappy heavily rely on systemd system session and xenial has systemd by default. [steps to construct systemd-based avila] 1. flash images built from xenial branch [1]. This should gives a working xenial+upstart avila. Following steps are based on rootfs rev

[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-10-11 Thread Vicamo Yang
** Description changed: Snappy heavily rely on systemd system session and xenial has systemd by default. [steps to construct systemd-based avila] 1. flash images built from xenial branch [1]. This should gives a working xenial+upstart avila. Following steps are based on rootfs rev

[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-10-11 Thread Vicamo Yang
** Description changed: Snappy heavily rely on systemd system session and xenial has systemd by default. [steps to construct systemd-based avila] 1. flash images built from xenial branch [1]. This should gives a working xenial+upstart avila. Following steps are based on rootfs rev

[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-10-11 Thread Vicamo Yang
** Description changed: Snappy heavily rely on systemd system session and xenial has systemd by default. [steps to construct systemd-based avila] 1. flash images built from xenial branch [1]. This should gives a working xenial+upstart avila. Following steps are based on rootfs rev

[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-10-05 Thread Vicamo Yang
** Description changed: Snappy heavily rely on systemd system session and xenial has systemd by default. [steps to construct systemd-based avila] 1. flash images built from xenial branch [1]. This should gives a working xenial+upstart avila. Following steps are based on rootfs rev

[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-10-05 Thread Vicamo Yang
** Description changed: Snappy heavily rely on systemd system session and xenial has systemd by default. [steps to construct systemd-based avila] 1. flash images built from xenial branch [1]. This should gives a working xenial+upstart avila. Following steps are based on rootfs rev

[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-10-04 Thread Vicamo Yang
** Description changed: Snappy heavily rely on systemd system session and xenial has systemd by default. [steps to construct systemd-based avila] 1. flash images built from xenial branch [1]. This should gives a - working xenial+upstart avila. + working xenial+upstart avila. Followin

[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-10-04 Thread Vicamo Yang
** Description changed: Snappy heavily rely on systemd system session and xenial has systemd by default. [steps to construct systemd-based avila] 1. flash images built from xenial branch [1]. This should gives a working xenial+upstart avila. 2. Install systemd-sysv rather than

[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-10-03 Thread Vicamo Yang
** Description changed: Snappy heavily rely on systemd system session and xenial has systemd by default. [steps to construct systemd-based avila] 1. flash images built from xenial branch [1]. This should gives a working xenial+upstart avila. 2. Install systemd-sysv rather than

[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-09-30 Thread Vicamo Yang
** Description changed: Snappy heavily rely on systemd system session and xenial has systemd by default. [steps to construct systemd-based avila] 1. flash images built from xenial branch [1]. This should gives a working xenial+upstart avila. 2. Install systemd-sysv rather than

[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-09-30 Thread Vicamo Yang
** Attachment removed: "android-tools-adbd_5.1.1r36+git20160322-0ubuntu3.1~overlay1_arm64.deb" https://bugs.launchpad.net/canonical-devices-system-image/+bug/1625023/+attachment/4744111/+files/android-tools-adbd_5.1.1r36+git20160322-0ubuntu3.1~overlay1_arm64.deb ** Description changed: Sna

[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-09-30 Thread Vicamo Yang
** Attachment added: "ubuntu-touch_1.264xenial17+systemd_arm64.deb" https://bugs.launchpad.net/canonical-devices-system-image/+bug/1625023/+attachment/4751598/+files/ubuntu-touch_1.264xenial17+systemd_arm64.deb ** Attachment removed: "ubuntu-touch_1.264xenial13+systemd_arm64.deb" https://b

[Ubuntu-phonedations-bugs] [Bug 1627613] Re: enable android adbd properly in systemd

2016-09-29 Thread Vicamo Yang
Add prebuilt lxc-android-config package with mp https://code.launchpad.net/~vicamo/lxc-android-config/add-upstart-local- bridge, https://code.launchpad.net/~vicamo/lxc-android-config/disable- systemd-alsa-restore/+merge/306587, https://code.launchpad.net/~vicamo /lxc-android-config/fix-systemd-serv

[Ubuntu-phonedations-bugs] [Bug 1627613] Re: enable android adbd properly in systemd

2016-09-29 Thread Vicamo Yang
Add prebuilt package with https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1627613/+attachment/4750792/+files/0001 -install-systemd-service-files.patch applied. ** Attachment added: "android-tools-adbd_5.1.1r36+git20160322-0ubuntu3.1~overlay1_arm64.deb" https://bugs.launchpad.net/ubuntu

[Ubuntu-phonedations-bugs] [Bug 1627613] Re: enable android adbd properly in systemd

2016-09-29 Thread Vicamo Yang
Prebuilt package with https://code.launchpad.net/~vicamo/upstart/xenial- escape-systemd-strings applied. ** Attachment added: "upstart_1.13.2-0ubuntu21.1_arm64.deb" https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1627613/+attachment/4751437/+files/upstart_1.13.2-0ubuntu21.1_arm64.deb -

[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-09-29 Thread Vicamo Yang
** Description changed: Snappy heavily rely on systemd system session and xenial has systemd by default. [steps to construct systemd-based avila] 1. flash images built from xenial branch [1]. This should gives a working xenial+upstart avila. 2. Install systemd-sysv rather than

[Ubuntu-phonedations-bugs] [Bug 1627613] Re: enable android adbd properly in systemd

2016-09-29 Thread Vicamo Yang
Prebuilt upstart-local-bridge binary from version 1.13.2-0ubuntu21.1 ** Attachment added: "upstart-local-bridge" https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1627613/+attachment/4750793/+files/upstart-local-bridge -- You received this bug notification because you are a member of Ub

[Ubuntu-phonedations-bugs] [Bug 1627613] Re: enable android adbd properly in systemd

2016-09-29 Thread Vicamo Yang
** Patch added: "0001-install-systemd-service-files.patch" https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1627613/+attachment/4750792/+files/0001-install-systemd-service-files.patch -- You received this bug notification because you are a member of Ubuntu Phonedations bugs, which is su

[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-09-29 Thread Vicamo Yang
** Description changed: Snappy heavily rely on systemd system session and xenial has systemd by default. [steps to construct systemd-based avila] 1. flash images built from xenial branch [1]. This should gives a working xenial+upstart avila. 2. Install systemd-sysv rather than

[Ubuntu-phonedations-bugs] [Bug 1627613] Re: enable android adbd properly in systemd

2016-09-29 Thread Vicamo Yang
Patch for android-tools to enable adbd in eng build at boot. ** Branch linked: lp:~vicamo/lxc-android-config/add-upstart-local-bridge -- You received this bug notification because you are a member of Ubuntu Phonedations bugs, which is subscribed to android-tools in Ubuntu. https://bugs.launchpad

[Ubuntu-phonedations-bugs] [Bug 1627613] Re: enable android adbd properly in systemd

2016-09-29 Thread Vicamo Yang
** Branch linked: lp:~vicamo/upstart/xenial-escape-systemd-strings -- You received this bug notification because you are a member of Ubuntu Phonedations bugs, which is subscribed to android-tools in Ubuntu. https://bugs.launchpad.net/bugs/1627613 Title: enable android adbd properly in systemd

[Ubuntu-phonedations-bugs] [Bug 1627613] Re: enable android adbd properly in systemd

2016-09-28 Thread Vicamo Yang
** Also affects: upstart (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Phonedations bugs, which is subscribed to android-tools in Ubuntu. https://bugs.launchpad.net/bugs/1627613 Title: enable android adbd properly

[Ubuntu-phonedations-bugs] [Bug 1627613] Re: enable android adbd properly in systemd

2016-09-26 Thread Vicamo Yang
** Description changed: Currently android adbd has no systemd service file and the mechanism for related parts like usb state and mtp is void. + + TODO: document + https://wiki.canonical.com/PES/Engineering/Premium/PhoneArticles/MechanismsThatUseProperty -- You received this bug notificati

[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-09-26 Thread Vicamo Yang
Filed bug 1627613 to track adbd stuff separately. ** Description changed: Snappy heavily rely on systemd system session and xenial has systemd by default. [steps to construct systemd-based avila] 1. flash images built from xenial branch [1]. This should gives a working xenial+upst

[Ubuntu-phonedations-bugs] [Bug 1627613] [NEW] enable android adbd properly in systemd

2016-09-26 Thread Vicamo Yang
Public bug reported: Currently android adbd has no systemd service file and the mechanism for related parts like usb state and mtp is void. ** Affects: canonical-devices-system-image Importance: Undecided Status: New ** Affects: android-tools (Ubuntu) Importance: Undecided

[Ubuntu-phonedations-bugs] [Bug 1627613] Re: enable android adbd properly in systemd

2016-09-26 Thread Vicamo Yang
"upstart-local-bridge[930]: Unit name android-contai...@persist.sys.usb.config\x3d,adb.target is not valid." So from systemd source, the allowed unit name is: #define VALID_CHARS DIGITS LETTERS ":-_.\\" upstart-local-bridge translates the event (name,value) pair to a unit name that doesn't con

[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-09-23 Thread Vicamo Yang
Prebuilt lxc-android-config that integrates https://code.launchpad.net/~vicamo/lxc-android-config/systemd-writable- paths/+merge/306184 for bug 1625445, https://code.launchpad.net/~vicamo /lxc-android-config/fix-systemd-service-startup/+merge/306435 for bug 1625916, and https://code.launchpad.net/~

[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-09-23 Thread Vicamo Yang
** Attachment removed: "lxc-android-config_0.230+16.04.20160728-0ubuntu1_all.deb" https://bugs.launchpad.net/ubuntu/+source/lxc-android-config/+bug/1625023/+attachment/4746148/+files/lxc-android-config_0.230+16.04.20160728-0ubuntu1_all.deb -- You received this bug notification because you ar

[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-09-22 Thread Vicamo Yang
** Description changed: Snappy heavily rely on systemd system session and xenial has systemd by default. [steps to construct systemd-based avila] - 1. flash images built from xenial branch [1] (need manually checkout - xenial branch in kernel-3.10/ before https://code.launchpad.net/~vi

[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-09-22 Thread Vicamo Yang
** Description changed: Snappy heavily rely on systemd system session and xenial has systemd by default. [steps to construct systemd-based avila] 1. flash images built from xenial branch [1] (need manually checkout xenial branch in kernel-3.10/ before https://code.launchpad.net/~vi

[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-09-22 Thread Vicamo Yang
** Also affects: lxc-android-config (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Phonedations bugs, which is subscribed to android-tools in Ubuntu. https://bugs.launchpad.net/bugs/1625023 Title: switch to systemd

[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-09-22 Thread Vicamo Yang
** Description changed: Snappy heavily rely on systemd system session and xenial has systemd by default. [steps to construct systemd-based avila] - 1. flash images built from xenial branch [1] . This should gives a - working xenial+upstart avila. + 1. flash images built from xenial bra

[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-09-22 Thread Vicamo Yang
** Description changed: Snappy heavily rely on systemd system session and xenial has systemd by default. + + [steps to construct systemd-based avila] + + 1. flash images built from xenial branch [1] . This should gives a + working xenial+upstart avila. + + 2. Install systemd-sysv rather tha

[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-09-22 Thread Vicamo Yang
Patch used to compile android-tools with systemd support. Note this is currently a dirty hack to enable adbd unconditionally at boot. ** Patch added: "force-adbd.patch" https://bugs.launchpad.net/canonical-devices-system-image/+bug/1625023/+attachment/4746154/+files/force-adbd.patch -- You r

[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-09-22 Thread Vicamo Yang
Prebuilt lxc-android-config deb that contains https://code.launchpad.net/~vicamo/lxc-android-config/fix-systemd- service-startup/+merge/306435 for bug 1625916, and https://code.launchpad.net/~vicamo/lxc-android-config/systemd-writable- paths/+merge/306184 for bug 1625445. ** Attachment added: "lxc

[Ubuntu-phonedations-bugs] [Bug 1625916] Re: android init exits at executing /system/etc/partition_permission.sh

2016-09-22 Thread Vicamo Yang
** Also affects: android-tools (Ubuntu) Importance: Undecided Status: New ** No longer affects: android-tools (Ubuntu) ** Also affects: lxc-android-config (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Phon

[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-09-21 Thread Vicamo Yang
Kernel changes in https://code.launchpad.net/~vicamo/avila/+git/kernel-3.10/+merge/306307 , maybe we need another branch for xenial+systemd? -- You received this bug notification because you are a member of Ubuntu Phonedations bugs, which is subscribed to android-tools in Ubuntu. https://bugs.lau

[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-09-19 Thread Vicamo Yang
Prebuilt adbd package that installs systemd service and starts up at early boot stage. ** Attachment added: "android-tools-adbd_5.1.1r36+git20160322-0ubuntu3.1~overlay1_arm64.deb" https://bugs.launchpad.net/canonical-devices-system-image/+bug/1625023/+attachment/4744111/+files/android-tools-a

[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-09-19 Thread Vicamo Yang
It seems there is no repository to land changes for ubuntu-touch-mate package, so here is the patch for manual landing. ** Patch added: "ubuntu-touch-meta.patch" https://bugs.launchpad.net/canonical-devices-system-image/+bug/1625023/+attachment/4744047/+files/0001-depends-on-systemd-sysv-inste

[Ubuntu-phonedations-bugs] [Bug 1625023] Re: switch to systemd on ubuntu phone xenial

2016-09-19 Thread Vicamo Yang
** Also affects: android-tools (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Phonedations bugs, which is subscribed to android-tools in Ubuntu. https://bugs.launchpad.net/bugs/1625023 Title: switch to systemd on ub