← Back to team overview

touch-packages team mailing list archive

[Bug 1365911] Re: MTP not working on boot if passcode not set

 

the following diff will fix this:

dpkg-source: Warnung: Fehler beim Überprüfen der Signatur von /home/ogra/Devel/packages/lxc-android-config_0.195.dsc
diff -Nru lxc-android-config-0.195/debian/changelog lxc-android-config-0.196/debian/changelog
--- lxc-android-config-0.195/debian/changelog   2014-09-04 22:59:20.000000000 +0200
+++ lxc-android-config-0.196/debian/changelog   2014-09-05 12:57:22.000000000 +0200
@@ -1,3 +1,11 @@
+lxc-android-config (0.196) utopic; urgency=medium
+
+  * drop the hardcoded forcing of adb and mtp from androids init.rc
+  * add an upstart job that forces mtp on permanently even if developer mode
+    is toggled on or off (LP: #1365911)
+
+ -- Oliver Grawert <ogra@xxxxxxxxxx>  Fri, 05 Sep 2014 12:53:07 +0200
+
 lxc-android-config (0.195) utopic; urgency=medium
 
   * Moving the UDISK_SYSTEM hint to a generic android udev rule with an
diff -Nru lxc-android-config-0.195/etc/init/force-mtp.conf lxc-android-config-0.196/etc/init/force-mtp.conf
--- lxc-android-config-0.195/etc/init/force-mtp.conf    1970-01-01 01:00:00.000000000 +0100
+++ lxc-android-config-0.196/etc/init/force-mtp.conf    2014-09-05 12:53:04.000000000 +0200
@@ -0,0 +1,10 @@
+istart on android and started lightdm
+
+task
+
+script
+        if android-gadget-service status mtp|grep -q disabled
+        then
+                android-gadget-service enable mtp
+        fi
+end script
diff -Nru lxc-android-config-0.195/var/lib/lxc/android/pre-start.d/20-no-forced-adb lxc-android-config-0.196/var/lib/lxc/android/pre-start.d/20-no-forced-adb
--- lxc-android-config-0.195/var/lib/lxc/android/pre-start.d/20-no-forced-adb   1970-01-01 01:00:00.000000000 +0100
+++ lxc-android-config-0.196/var/lib/lxc/android/pre-start.d/20-no-forced-adb   2014-09-05 12:52:15.000000000 +0200
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+sed -i '/# adb force hack$/,+3d' $LXC_ROOTFS_PATH/init.rc


** Also affects: lxc-android-config (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: lxc-android-config (Ubuntu)
       Status: New => Confirmed

** Changed in: lxc-android-config (Ubuntu)
   Importance: Undecided => High

** Changed in: lxc-android-config (Ubuntu)
     Assignee: (unassigned) => Oliver Grawert (ogra)

** Changed in: dbus-property-service (Ubuntu)
       Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc-android-config in
Ubuntu.
https://bugs.launchpad.net/bugs/1365911

Title:
  MTP not working on boot if passcode not set

Status in “dbus-property-service” package in Ubuntu:
  Invalid
Status in “lxc-android-config” package in Ubuntu:
  In Progress

Bug description:
  mako devel-proposed#223

  MTP doesn't work for me on boot if I don't have a passcode set up.
  This seems to be related to the new developer mode landings. Devmode
  is still forced on on boot so that we don't lock ourselves out, but
  MTP should be unaffected.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.10
  Package: dbus-property-service 0.5
  Uname: Linux 3.4.0-5-mako armv7l
  ApportVersion: 2.14.7-0ubuntu2
  Architecture: armhf
  Date: Fri Sep  5 10:37:51 2014
  InstallationDate: Installed on 2014-09-05 (0 days ago)
  InstallationMedia: Ubuntu Utopic Unicorn (development branch) - armhf (20140905-020205)
  PackageArchitecture: all
  SourcePackage: dbus-property-service
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dbus-property-service/+bug/1365911/+subscriptions