All users were logged out of Bugzilla on October 13th, 2018

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

RESOLVED FIXED

Status

--
major
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: seinlin, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(5 attachments)

(Reporter)

Description

5 years ago
Created attachment 804203 [details]
fota_reboot_into_recovery_fail.txt

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
---
(Reporter)

Comment 1

5 years ago
Created attachment 805753 [details]
Bug-915981-pull-request-1.html

Enable librecovery for device-mako jb 4.3 branch.
Attachment #805753 - Flags: review?(mwu)
(Reporter)

Comment 2

5 years ago
Created attachment 805754 [details]
Bug-915981-pull-request-2.html

Enable librecovery for device-mako jb 4.2 branch.
(Reporter)

Updated

5 years ago
Attachment #805754 - Flags: review?(mwu)
(Reporter)

Comment 3

5 years ago
Created attachment 805755 [details]
Bug-915981-pull-request-3.html

Add librecovery to b2g-manifest, base-jb.xml.
Attachment #805755 - Flags: review?(mwu)

Comment 4

5 years ago
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)

Updated

5 years ago
Attachment #805753 - Flags: review?(mwu) → review+

Updated

5 years ago
Attachment #805755 - Flags: review?(mwu) → review+

Comment 5

5 years ago
Hm, I think we also need to define RECOVERY_EXTERNAL_STORAGE in device/lge/mako - it's a part of librecovery.c.
(Reporter)

Comment 6

5 years ago
Created attachment 809043 [details]
Bug-915981-pull-request-4.html

Add RECOVERY_EXTERNAL_STORAGE for mako device. There is a related note on bug 858188 comment #11.
Attachment #809043 - Flags: review?(mwu)

Comment 7

5 years ago
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)
(Reporter)

Comment 8

5 years ago
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!

Comment 9

5 years ago
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.
(Reporter)

Updated

5 years ago
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.