Make message on alternative to device autodetect clearer when it fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
phablet-tools (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When flashing a device and /system isn't mounted getprop isn't available, there is one quick solution for users who aren't aware of the mechanics and it's to manually add a -d [device] but the help message on failure doesn't make that clear.
The other solution (needs a bit more research) for blissfulness is to try and mount /system if not mounted and check for getprop there, although this would lead to inconsistent states where people say they are in recovery and /system doesn't have android or doesn't exist.
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: phablet-tools 1.0+13.
ProcVersionSign
Uname: Linux 3.11.0-7-generic x86_64
ApportVersion: 2.12.2-0ubuntu1
Architecture: amd64
Date: Fri Sep 20 09:47:42 2013
InstallationDate: Installed on 2013-09-10 (9 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
MarkForUpload: True
PackageArchitec
SourcePackage: phablet-tools
UpgradeStatus: Upgraded to saucy on 2013-09-10 (9 days ago)
Related branches
- Alan Pope 🍺🐧🐱 🦄 (community): Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 29 lines (+15/-0)1 file modifiedphabletutils/environment.py (+15/-0)
Changed in phablet-tools (Ubuntu): | |
status: | New → In Progress |
This bug was fixed in the package phablet-tools - 1.0+14. 04.20131030. 2-0ubuntu1
--------------- 04.20131030. 2-0ubuntu1) trusty; urgency=low
phablet-tools (1.0+14.
[ Sergio Schvezov ]
* phablet-flash: Adding a friendly error message when device detection
fails. (LP: #1228129)
* Using wait_for_recovery when flashig. (LP: #1215436)
* Provide some information of revision/version and channel used when
flashing. (LP: #1233800)
* phablet-flash: Switching default from saucy to trusty for cdimage-
touch. (LP: #1245569)
* phablet-flash: not formatting data when already on a system image
and not doing a bootstrap and removing support from cdimage ->
upgradable image backup support. --no-backup is a deprecated option.
(LP: #1218270)
[ Andy Doan ]
* get error information from phablet-config package installation Since
adb-shell sends the actual stderr via stdout, we were hiding the key
information to a user if a package failed to install. This prints it
out for them.
* remove an incorrect logging statement about rebooting the device.
[ Ubuntu daily release ]
* Automatic snapshot from revision 220
-- Ubuntu daily release <email address hidden> Wed, 30 Oct 2013 18:06:01 +0000