← Back to team overview

ubuntu-phone team mailing list archive

Re: Cannot get rw mode on phone

 

Make sure you have the latest version of phablet-tools, developer mode
enabled, and specify your password.

Also in the second example you would need to use sudo as adb is no longer
root by default.
On Nov 9, 2014 3:20 AM, "Steve Harriss" <steve@xxxxxxxx> wrote:

> Nexus 4
> Build 243
> Name mako
> Channel devel
> alais: ubuntu-touch/utopic
> last update 2014-11-05 19:44:39
> version ubuntu 2040916
> version device 20140903.1
> version custom mako-0.5
>
> Using phablet-config to enable rw mode:
>
> steve@steve-mint-537 ~ $ phablet-config writable-image
> Traceback (most recent call last):
>   File "/usr/bin/phablet-config", line 249, in <module>
>     main()
>   File "/usr/bin/phablet-config", line 246, in main
>     args.func(adb, args)
>   File "/usr/bin/phablet-config", line 116, in _handle_writable_image
>     adb.shell('touch %s' % fname, False)
>   File "/usr/lib/python2.7/dist-packages/phabletutils/device.py", line
> 152, in shell
>     raise subprocess.CalledProcessError(rc, command, output)
> subprocess.CalledProcessError: Command '"touch /userdata/.writable_image ;
> echo ADB_RC=\$?"' returned non-zero exit status 1
>
> Using adb shell touch:
>
> steve@steve-mint-537 ~ $ adb shell touch /userdata/.writable-image
> touch: cannot touch ‘/userdata/.writable-image’: Permission denied
>
> Can someone point me in the right direction please? TIA
>
> Steve
>
>
> --
> Mailing list: https://launchpad.net/~ubuntu-phone
> Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~ubuntu-phone
> More help   : https://help.launchpad.net/ListHelp
>

References