Closed Bug 903362 Opened 11 years ago Closed 11 years ago

Bricked Keon after upgrading from 1.0.1 to 1.1 with user data

Categories

(Firefox OS Graveyard :: General, defect)

defect
Not set
normal

Tracking

(blocking-b2g:leo+, firefox24 wontfix, firefox25 wontfix, firefox26 fixed, b2g18 fixed, b2g18-v1.0.0 wontfix, b2g18-v1.0.1 wontfix, b2g-v1.1hd affected)

RESOLVED FIXED
1.1 QE5
blocking-b2g leo+
Tracking Status
firefox24 --- wontfix
firefox25 --- wontfix
firefox26 --- fixed
b2g18 --- fixed
b2g18-v1.0.0 --- wontfix
b2g18-v1.0.1 --- wontfix
b2g-v1.1hd --- affected

People

(Reporter: rik, Assigned: gerard-majax)

References

Details

(Whiteboard: [LeoVB+])

Attachments

(1 file, 1 obsolete file)

When trying to upgrade with the builds available on http://downloads.geeksphone.com/, my phone was unusable. It got stuck on the blue FxOS screen. I couldn't see anything relevant in logcat.

If I wipe my user data, then I can use 1.1.

I haven't (yet) tried on another device so that might not be a problem but still filing in case this is widespread.
Anthony: In order to try to reproduce this, can you let us know which 1.1 build you were on before you tried to update to the latest 1.1 build? Or did you flash the phone and then answer yes to the question about keeping your data?  Thanks.
With an existing Keon with a 1.0.1 build on it, I downloaded the latest 1.1 build and flashed it on the device.

I see the phone bricked as well if I answer "yes" the first time. If I answer "no" when I tried to reflash I still see a black screen after briefly seeing the Geeksphone logo (this was after a battery pull). The phone is still recognized in adb.

Since this message comes up when flashing, is there a known issue with keeping data?

Do you want to keep your user data ? (Some users has problems in first reboot, if you have, please reflash and select not to keep the data)
1) Yes
2) No
Removing qawanted per comment 2 - we've confirmed a reproduction on Geeksphone. Note that we test OTA updates from 1.01 to 1.1 on other target devices commonly right now, so this is likely device specific.
Keywords: qawanted
Just performed an upgrade of my Peak from 1.0.1 to 1.1, and logcat shows:

E/GeckoConsole(  120): [JavaScript Error: "DOMApplicationRegistry: Could not parse JSON: /system/b2g/webapps/webapps.json TypeError: permMgr.RemovePermissionsForApp is not a function
E/GeckoConsole(  120): loadCoreRegistry@resource://gre/modules/Webapps.jsm:375
E/GeckoConsole(  120): @resource://gre/modules/Webapps.jsm:732
E/GeckoConsole(  120): NetUtil_asyncOpen/<.onStopRequest@resource://gre/modules/NetUtil.jsm:140
E/GeckoConsole(  120): " {file: "resource://gre/modules/Webapps.jsm" line: 735}]
E/GeckoConsole(  120): [JavaScript Error: "[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsILocalFile.create]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: resource://gre/modules/FileUtils.jsm :: FileUtils_getDir :: line 67"  data: no]" {file: "resource://gre/modules/FileUtils.jsm" line: 67}]


Dunno if it's related to the issue that Anthony saw.

The image is: images-peak-v1.1.0hd-2013-08-15.Gecko-94adc44.Gaia-b1fb741.zip
Assignee: nobody → lissyx+mozillians
blocking-b2g: --- → leo?
Nominating leo? since fabrice noticed that this code is the root of the reported logcat, https://mxr.mozilla.org/mozilla-central/source/dom/apps/src/Webapps.jsm#423 and there is no reason this would only hit Keon :)
Please find attached a small patch that fixes the typo and should address this issue.
Attachment #791357 - Flags: review?(fabrice)
Attachment #791357 - Flags: review?(fabrice) → review+
Ready for hg.
Attachment #791357 - Attachment is obsolete: true
Attachment #791370 - Flags: review+
https://hg.mozilla.org/integration/b2g-inbound/rev/ecab657023a1

Alex, we need leo to take that.
Flags: needinfo?(akeybl)
Given the use of Keon as a dev phone and the low risk fix, blocking.
blocking-b2g: leo? → leo+
Whiteboard: [LeoVB+]
Flags: needinfo?(akeybl)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: