I am trying to install Ubuntu Touch on my Galaxy Nexus, but it says
adbd cannot run as root in production builds. I tried a lot of stuff, including a few instructions from Ask Ubuntu, nothing helps. Can anybody please advise on what can be my problem?
You have to unlock your bootloader. Please follow these steps:
Step 2 - Device unlock
- With the device powered off, power on the device by holding the Power button + volume up + volume down.
- The device will boot into the bootloader.
- Plug the device into the computer via the USB cable.
- On your computer, press Ctrl+Alt+T to start a terminal. Type sudo fastboot oem unlock, followed by Enter
- On the device screen, accept the terms of unlocking.
- Boot the device by pressing the power button (pointed by an arrow with Start on the screen).
Please let us know if this worked.
You could try this:
adb shell setprop ro.secure 0 adb shell setprop ro.debuggable 1 adb shell setprop persist.service.adb.enable 1 adb root
That may work on some devices. Try it yourself and good luck.
If you are following the instructions at https://wiki.ubuntu.com/Touch/Install, the probable reason for the error is that you're trying to run 'phablet-flash' command without having done the bootstrap 'phablet-flash -b' first.
This might help you: adb remount permission denied, but able to access super user in shell — android
In my case I had to flash my nexus4 with cyanogenmod10 in order to be able to install Ubuntu Touch Raring on my device.
Although I might be late here, please install the following if your phone is rooted:
There is a paid version of the above on play store