7

Because of this bug https://bugs.launchpad.net/mir/+bug/1238695 Ubuntu Touch on the Google Nexus 7 (grouper), Touch randomly freezes, and flickers.

It is bad enough that I cannot do anything except restart the device.

I was just wondering how to workaround this, can I switch back to the "surfaceflinger" that Touch previously used - as this was working nicely on previous versions?

Jorge Castro
  • 70,934
  • 124
  • 466
  • 653
  • to anybody that's encountering the "needs to be root" line when you run the above command in adb. break up the line. i ran "adb shell" first, then "adb su" and then" "rm -f /home/phablet/.display-mir && reboot" and it worked – user1778741 Dec 28 '13 at 09:58

2 Answers2

8

Connect your Nexus to your Ubuntu desktop machine, check if it is connected with

adb devices

(a line "[device ID] device" should be returned) and then issue the commands

adb root

(maybe it tells you that you're already 'root') and

adb shell rm -f /home/phablet/.display-mir && adb reboot

I just did it successfully. Of course, the fallback to Android's surfaceflinger is not a fix but it's a temporary workaround.


Alternatively, run

adb shell
su
rm -f /home/phablet/.display-mir && reboot
bain
  • 10,860
  • 2
  • 42
  • 48
Harald G.
  • 146
  • 1
6

This is a bug with Mir on that device. It has already been reported, but you can workaround the problem by deleting the file ~phablet/.display-mir on the device, and restarting it. This will switch the display server back to SurfaceFlinger, so the device can be usable until the bug is fixed.

dobey
  • 40,344
  • 5
  • 56
  • 98