Closed Bug 915981 Opened 7 years ago Closed 7 years ago

[B2g][OTA] Rebooting into recovery failed after download update package

Categories

(Firefox OS Graveyard :: General, defect)

ARM
Gonk (Firefox OS)
defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: seinlin, Unassigned)

Details

Attachments

(5 files)

On master branch, config nexus 4 and try to do a OTA update.

The update.mar will be downloaded successfully, but the update is failed.

There is an error message in logcat, detail is as in the attachment.
---
I/Gecko   (  177): UpdatePrompt: Rebooting into recovery to apply FOTA update: /storage/emulated/legacy/updates/fota/update.zip
I/Gecko   (  177): -*- RecoveryService: Unable to open librecovery.so
---
Enable librecovery for device-mako jb 4.3 branch.
Attachment #805753 - Flags: review?(mwu)
Enable librecovery for device-mako jb 4.2 branch.
Attachment #805754 - Flags: review?(mwu)
Add librecovery to b2g-manifest, base-jb.xml.
Attachment #805755 - Flags: review?(mwu)
Comment on attachment 805754 [details]
Bug-915981-pull-request-2.html

The 4.2.2 branch is no longer in use.
Attachment #805754 - Flags: review?(mwu)
Attachment #805753 - Flags: review?(mwu) → review+
Attachment #805755 - Flags: review?(mwu) → review+
Hm, I think we also need to define RECOVERY_EXTERNAL_STORAGE in device/lge/mako - it's a part of librecovery.c.
Add RECOVERY_EXTERNAL_STORAGE for mako device. There is a related note on bug 858188 comment #11.
Attachment #809043 - Flags: review?(mwu)
Comment on attachment 809043 [details]
Bug-915981-pull-request-4.html

I'm trying to deprecate putting this information in librecovery/devices - can you put it into devices/lge/mako as mentioned in comment 5 ?

See https://github.com/mozilla-b2g/device-gp-keon/commit/33935f6e0da2c21eb527b7c00a2eb8c02a6e2b31 for an example.
Attachment #809043 - Flags: review?(mwu)
Hi Michael, pull request is updated for both 4.2 and 4.3 branch. As I know we plan to support both 4.2 and 4.3. Thanks!
4.2 cannot be seriously considered without more extensive infra support, and there's no reason to believe that mako should be the reference device for testing 4.2.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.