ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #08842
Re: Wiping phone after testing
Hey Sergio,
Sergio Schvezov [2014-07-02 9:08 -0300]:
> apt-get install ubuntu-device-do
> ubuntu-device-do factory-reset
Ah, splendid! This only exists in utopic though, and currently the CI
airline still operates on precise (hopefully on trusty at some point).
Judging by the large exe size and dependencies this is in Go, is there
any chance to get a backport of that into precise? Or perhaps it's
good enough for the CI team to add an utopic series PPA.
> >So can I write something in there
>
> Yes, echo format data > /cache/recovery/ubuntu_commands
If the above is too complicated: Does ubuntu-device-do factory-reset
essentially do that (through adb?) and then some magic to actually
apply that? I suppose it's a bit more than just "reboot" as it needs
to apply that during recovery instead of just normal boot. Do you
think it would be reasonably easy to replicate "factory-reset" with a
bunch of adb commands, or should we rather assume ubuntu-device-do as
a dependency in the CI airline if we want to reset phones quickly?
Thanks,
Martin
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
Follow ups
References