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?
-
3You said you tried "a few instructions" from here. Can you edit your question to include detailed information on exactly what you tried? (Please describe whatever techniques you attempted and link to the posts where you found them.)– Eliah KaganMar 6, 2013 at 22:55
6 Answers
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.
-
5This didn't do the trick for me. Instead I got a factory reset. Lovely!– user347074Nov 9, 2014 at 14:44
-
2Yes, you may want to mention that this WILL WIPE ALL DATA from the device. This is intentional, as otherwise any phone security could be bypassed by simply unlocking the bootloader and flashing an arbitrary ROM. @sjums - you will know it 'worked' if you see a small 'unlocked lock' icon when your phone is starting up.– JordanFeb 22, 2015 at 20:01
-
What about Settings/System/DeveloperOptions/OEM Unlock? Also, on Pixel, you should use Volume down + Power buttons only.– VladMay 17, 2018 at 22:07
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.
-
1
-
1This didn't work for me on rooted Google Nexus 5, android version 5.1.1– Han QiuOct 14, 2019 at 1:45
That error occurs on phone's that have a production build. You need to get an other android distribution. I would recommend cyanogenmod.
But the people on XDA can help your better. Here's a link:
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.
Good luck!
Although I might be late here, please install the following if your phone is rooted:
http://forum.xda-developers.com/showthread.php?t=1687590
There is a paid version of the above on play store
https://play.google.com/store/apps/details?id=eu.chainfire.adbd