Closed
Bug 861107
Opened 12 years ago
Closed 12 years ago
Device locked after FOTA upgrade
Categories
(Firefox OS Graveyard :: General, defect, P1)
Tracking
(blocking-b2g:tef+)
RESOLVED
DUPLICATE
of bug 861959
blocking-b2g | tef+ |
People
(Reporter: juanpbf, Assigned: marshall, NeedInfo)
Details
(Whiteboard: IOT, Spain, [eta:20130426][madrid], Chile, Ikura [status: needs partner fix, likely dupe of 861959])
Attachments
(1 file)
1.94 MB,
image/jpeg
|
Details |
The DuT is locked after a FOTA upgrade.
During the FOTA upgrade, a strange "boot" screen with different options is displayed (see screenshot attached). If you select the "Reboot now" option the handset reboots, but it is locked in the "Firefox" screen.
Steps to reproduce the issue
1 -Try to update the handset by selecting the proper option in the following route: Setting -> Phone Information -> software update.
2 -Download the firmware available.
3 -When the DuT ask about the install, select "Now" option.
4 -The package is uncompressed and the installation process begins.
Current
During the FOTA upgrade, a strange boot screen with different options is displayed [1]. If you select "Reboot now" option, the handset reboots, but it is locked in the "Firefox" screen.
Expected result
The handset should be upgraded correctly. The boot screen with options [1] should not be displayed.
[1] See attached file
Marked as P1, nominating to tef?
Reporter | ||
Comment 1•12 years ago
|
||
Dependency added.
Updated•12 years ago
|
blocking-b2g: tef? → tef+
Comment 2•12 years ago
|
||
That looks like the recovery ROM, which is the code which actually applies the FOTA update.
Although different people use the word FOTA to mean different things. To me, the FOTA update is the one that can update anything, including the kernel and other firmware stuff. This type of update is applied by the recovery ROM, and involves an update.zip file (although I think we still wrap it up as an update.mar).
The system updates can only update gecko/gaia. These updates do not involve the recovery ROM.
Comment 3•12 years ago
|
||
Dave, can you dig in here? If you can't get to this bug this week, please let me know!
Assignee: nobody → dhylands
Comment 4•12 years ago
|
||
jst - I have a feeling that this is a problem caused by software outside our control (i.e. it's the vendor software that needs to be fixed).
I'm cc'ing marshall, since he's alot more familiar with this than I am. But I will see if I can figure out what's going on.
Comment 5•12 years ago
|
||
Juan
Which version was the device running before upgrading?
The build id?
Comment 6•12 years ago
|
||
Have you update the boot image(may be for tp issue?) before trying system upgrade?
Thanks
Reporter | ||
Comment 7•12 years ago
|
||
(In reply to Firefox_Mozilla from comment #5)
> Juan
>
> Which version was the device running before upgrading?
> The build id?
The handset was running our official SW delivered (Our buildid is : 20130328100224), which is based on Buildid "20130321070205".
(In reply to Firefox_Mozilla from comment #6)
> Have you update the boot image(may be for tp issue?) before trying system
> upgrade?
> Thanks
The tester just followed the normal procedure, the steps prompted by the handset. Maybe this issue is related to getting corrupted one of the files during the OTA download or similar
Assignee | ||
Comment 8•12 years ago
|
||
A few follow up questions:
- Where / how was this FOTA update generated?
- Did the device have an sdcard installed when the FOTA update was downloaded? We allow fallback to /data/local (which is what your screen capture shows), but it would be good to confirm why this happened.
- Can you also attach the recovery log from /cache/recovery/log (or /cache/recovery/last_log)?
Flags: needinfo?(juan.perezbedmar)
Comment 9•12 years ago
|
||
Also, since the recovery ROM is saying that /data/local/updates/fota/update.zip is bad, it would be good to pull the update.zip file from the phone and see if the zip looks good.
Ideally we could compare it with the update.zip contained in the update.
The update.zip file shouldn't be corrupted during the download, since we do a hash check to verify the integrity.
Can you provide the URL for downloading the update.mar file?
Comment 10•12 years ago
|
||
To Juan
Can you help me to confirm with the tester about:
1) Will other deivces have the same issue when upgrading system?
2) Have they changes the boot image? I guess this is caused by boot image mismatching from the message of the screen capture
3) Help me to tey to get the log(maybe needs to load the images by nand download tool, and enable remote debug when the system start up) via the below command
----------
adb pull /cache/recovery/log .
adb pull /cache/recovery/last_log .
----------
And I don't think the update.zip is corrupted, since the update process will not start before it have verified the update.zip
To Dave
The URL for downloading the update.mar should be
http://firefox.ztems.com/prerelease/packages/roamer2/18.0/20130328100224/update.mar
Reporter | ||
Comment 11•12 years ago
|
||
(In reply to Firefox_Mozilla from comment #10)
> To Juan
>
> Can you help me to confirm with the tester about:
> 1) Will other deivces have the same issue when upgrading system?
It happened in only one sample
> 2) Have they changes the boot image? I guess this is caused by boot image
> mismatching from the message of the screen capture
I don't fully understand what you mean. If you are asking if the tester made any change on the files after downloading them via OTA, the answer is NO. He just clicked in "update now".
> 3) Help me to tey to get the log(maybe needs to load the images by nand
> download tool, and enable remote debug when the system start up) via the
> below command
I will request it to the tester.
Flags: needinfo?(juan.perezbedmar)
Comment 12•12 years ago
|
||
I mean whether they are using the boot image in the B02.zip package or load other boot image such as provided by Huang Jinyu with tp patch.
or can you connect the phone to pc and run the below command and give me the output? Thanks.
adb shell busybox uname -a
Assignee | ||
Comment 13•12 years ago
|
||
So I ran the linked FOTA mar with my test-update script on the device pictured, and it looks like the signature of the update.zip doesn't match the signature on my device.
Juan, do you know which key this update.mar was built with? It needs to match the key on the device. test-update.py by default uses the test keys here:
build/target/product/security/testkey.pk8
build/target/product/security/testkey.x509.pem
Reporter | ||
Comment 14•12 years ago
|
||
(In reply to Marshall Culpepper [:marshall_law] from comment #13)
> So I ran the linked FOTA mar with my test-update script on the device
> pictured, and it looks like the signature of the update.zip doesn't match
> the signature on my device.
>
> Juan, do you know which key this update.mar was built with? It needs to
> match the key on the device. test-update.py by default uses the test keys
> here:
>
> build/target/product/security/testkey.pk8
> build/target/product/security/testkey.x509.pem
Hi, Shenyang, could you please provide this info to Marshall?
thanks
Flags: needinfo?(Firefox_Mozilla)
Assignee | ||
Updated•12 years ago
|
Assignee: dhylands → marshall
Comment 15•12 years ago
|
||
Hi Marshall, can you provide a ballpark ETA for this?
Whiteboard: [status: needs ETA]
Comment 16•12 years ago
|
||
Need info from cyvins@gmail.com because Shenyang might use this account.
Flags: needinfo?(cyvins)
Updated•12 years ago
|
Whiteboard: [status: needs ETA] → IOT, Spain, [status: needs ETA]
Updated•12 years ago
|
Whiteboard: IOT, Spain, [status: needs ETA] → IOT, Spain, [status: needs ETA][madrid]
Assignee | ||
Comment 17•12 years ago
|
||
Ballpark ETA for the end of next week, since we haven't been able to confirm if this is a platform bug or a configuration problem yet.
Whiteboard: IOT, Spain, [status: needs ETA][madrid] → IOT, Spain, [eta:20130426][madrid]
Updated•12 years ago
|
Whiteboard: IOT, Spain, [eta:20130426][madrid] → IOT, Spain, [eta:20130426][madrid], Chile, Ikura
Comment 18•12 years ago
|
||
(In reply to Juan Perez-Bedmar [:juanpbf] from comment #14)
> (In reply to Marshall Culpepper [:marshall_law] from comment #13)
> > So I ran the linked FOTA mar with my test-update script on the device
> > pictured, and it looks like the signature of the update.zip doesn't match
> > the signature on my device.
> >
> > Juan, do you know which key this update.mar was built with? It needs to
> > match the key on the device. test-update.py by default uses the test keys
> > here:
> >
> > build/target/product/security/testkey.pk8
> > build/target/product/security/testkey.x509.pem
>
> Hi, Shenyang, could you please provide this info to Marshall?
>
> thanks
We use zte private key to make update.zip
Thanks
Flags: needinfo?(Firefox_Mozilla)
Assignee | ||
Comment 19•12 years ago
|
||
David and Juan showed me this FOTA update on an ikura, but unfortunately it was successful. I'm still waiting for a /cache/recovery/log that has more info about what might have actually failed with the update..
Updated•12 years ago
|
Whiteboard: IOT, Spain, [eta:20130426][madrid], Chile, Ikura → IOT, Spain, [eta:20130426][madrid], Chile, Ikura [status: need more logs from partner]
Comment 20•12 years ago
|
||
may be with the same reason of bug 861959
Updated•12 years ago
|
Whiteboard: IOT, Spain, [eta:20130426][madrid], Chile, Ikura [status: need more logs from partner] → IOT, Spain, [eta:20130426][madrid], Chile, Ikura [status: needs partner fix, likely dupe of 861959]
Comment 21•12 years ago
|
||
Seems it can not be reproduced with bug 861959 fix.
I think we can close it now, and reopen if needed.
Comment 22•12 years ago
|
||
Thanks, marking as a dupe of bug 861959 since it seems to be the same issue.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•