begin initial work on wtv-flashrom (not yet ready)
This commit is contained in:
BIN
hacktv_updsrv/ServiceVault/wtv-flashrom/ROMCache/MSNLogo.gif
Normal file
BIN
hacktv_updsrv/ServiceVault/wtv-flashrom/ROMCache/MSNLogo.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.8 KiB |
BIN
hacktv_updsrv/ServiceVault/wtv-flashrom/ROMCache/S40H1.gif
Normal file
BIN
hacktv_updsrv/ServiceVault/wtv-flashrom/ROMCache/S40H1.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 84 B |
BIN
hacktv_updsrv/ServiceVault/wtv-flashrom/ROMCache/Shadow.gif
Normal file
BIN
hacktv_updsrv/ServiceVault/wtv-flashrom/ROMCache/Shadow.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 44 B |
BIN
hacktv_updsrv/ServiceVault/wtv-flashrom/ROMCache/Spacer.gif
Normal file
BIN
hacktv_updsrv/ServiceVault/wtv-flashrom/ROMCache/Spacer.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 43 B |
Binary file not shown.
|
After Width: | Height: | Size: 7.3 KiB |
BIN
hacktv_updsrv/ServiceVault/wtv-flashrom/ROMCache/up-arrows.swf
Normal file
BIN
hacktv_updsrv/ServiceVault/wtv-flashrom/ROMCache/up-arrows.swf
Normal file
Binary file not shown.
@@ -1,3 +1,8 @@
|
|||||||
|
// todo, actual file logic
|
||||||
|
// - ready query param to get flashrom path, check for its existance
|
||||||
|
// - handle last part to redirect to lc2-download-complete
|
||||||
|
// - handle failures
|
||||||
|
|
||||||
headers = `200 OK
|
headers = `200 OK
|
||||||
Content-type: text/html`
|
Content-type: text/html`
|
||||||
|
|
||||||
@@ -44,25 +49,34 @@ Updating now...
|
|||||||
<td width=20 valign=middle align=center>
|
<td width=20 valign=middle align=center>
|
||||||
<td colspan=9 width=100 height=258 valign=top align=left>
|
<td colspan=9 width=100 height=258 valign=top align=left>
|
||||||
<font size=+1>
|
<font size=+1>
|
||||||
Your Internet Receiver is being<br>updated automagically.
|
Your Internet Receiver is being<br>updated automatically.
|
||||||
<p> <font size=+1>
|
<p> <font size=+1>
|
||||||
This will take forever, and then<br> your WebTV will reboot.<br><br>
|
This will take a while, and then<br> your unit will reboot.<br><br>
|
||||||
</font>
|
`;
|
||||||
|
|
||||||
|
if (flashrom_isboot && flashrom_part == 16) {
|
||||||
|
data += `<p>
|
||||||
|
The system will pause for about 30 seconds at the end of this
|
||||||
|
update. Please <strong>do not</strong> interrupt the system
|
||||||
|
during this time.
|
||||||
|
`
|
||||||
|
}
|
||||||
|
data += `</font>
|
||||||
</table>
|
</table>
|
||||||
<table width="100%">
|
<table width="100%">
|
||||||
<tr>
|
<tr>
|
||||||
<td align="left"><font size="-1" color="#D6DFD0"><small> Receiving part `+flashrom_part+` of `+totalprts+`</small></font></td>
|
<td align="left"><font size="-1" color="#D6DFD0"><small> Receiving part ${flashrom_part} of ${flashrom_total_parts}</small></font></td>
|
||||||
<td align="right"><font size="-1" color="#D6DFD0"><small>v`+flashrom_version+` (`+flashrom_type+`) </small></font></td>
|
<td align="right"><font size="-1" color="#D6DFD0"><small>v${flashrom_version} (${flashrom_type}) </small></font></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<center>
|
<center>
|
||||||
<upgradeblock width=520 height=15
|
<upgradeblock width=520 height=15
|
||||||
`+nextrompath+`
|
${nextrompath}
|
||||||
errorurl="wtv-flashrom:/lc2-download-failed"
|
errorurl="wtv-flashrom:/lc2-download-failed"
|
||||||
blockurl="wtv-flashrom:/`+rompath+`"
|
blockurl="wtv-flashrom:/${flashrom_rompath}
|
||||||
lastblock=`+lastpart+`
|
lastblock=${flashrom_lastpart}
|
||||||
curblock="`+flashrom_part+`"
|
curblock="${flashrom_part}"
|
||||||
totalblocks="`+totalprts+`"></center>
|
totalblocks="${flashrom_total_parts}"></center>
|
||||||
<tr>
|
<tr>
|
||||||
<td width=104 valign=middle align=center>
|
<td width=104 valign=middle align=center>
|
||||||
<td width=20 valign=middle align=center>
|
<td width=20 valign=middle align=center>
|
||||||
|
|||||||
107
hacktv_updsrv/ServiceVault/wtv-flashrom/lc2-download-complete.js
Normal file
107
hacktv_updsrv/ServiceVault/wtv-flashrom/lc2-download-complete.js
Normal file
@@ -0,0 +1,107 @@
|
|||||||
|
headers = `200 OK
|
||||||
|
Content-type: text/html`
|
||||||
|
|
||||||
|
data = `<html>
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<title>
|
||||||
|
Updating
|
||||||
|
</title>
|
||||||
|
<display switchtowebmode nostatus nooptions skipback clearback>
|
||||||
|
|
||||||
|
<meta http-equiv=Refresh content="270; url=client:poweroff?invalRAMImage">
|
||||||
|
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body onLoad="document.forms.invalram.submit()";
|
||||||
|
noscroll bgcolor="#191919" text="#42CC55" link="36d5ff"
|
||||||
|
hspace=0 vspace=0 fontsize="large">
|
||||||
|
|
||||||
|
<form name ="invalram" action="client:invalramimage">
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<table cellspacing=0 cellpadding=0>
|
||||||
|
<tr>
|
||||||
|
<td width=104 height=74 valign=middle align=center bgcolor="3B3A4D">
|
||||||
|
<img src="wtv-flashrom:/ROMCache/MSNLogo.gif" width=87 height=67>
|
||||||
|
<td width=20 valign=top align=left bgcolor="3B3A4D">
|
||||||
|
<img src="wtv-flashrom:/ROMCache/Spacer.gif" width=1 height=1>
|
||||||
|
<td colspan=10 width=436 valign=middle align=left bgcolor="3B3A4D">
|
||||||
|
<font color="D6DFD0" size="+2">
|
||||||
|
<blackface>
|
||||||
|
<shadow>
|
||||||
|
<img src="wtv-flashrom:/ROMCache/Spacer.gif" width=1 height=4>
|
||||||
|
<br>
|
||||||
|
Updating complete
|
||||||
|
</shadow>
|
||||||
|
</blackface>
|
||||||
|
</font>
|
||||||
|
<tr>
|
||||||
|
<td colspan=12 width=560 height=10 valign=top align=left>
|
||||||
|
<img src="wtv-flashrom:/ROMCache/S40H1.gif" width=560 height=6>
|
||||||
|
<tr>
|
||||||
|
<td width=104 height=10 valign=top align=left>
|
||||||
|
<td width=20 valign=top align=left>
|
||||||
|
<td width=67 valign=top align=left>
|
||||||
|
<td width=20 valign=top align=left>
|
||||||
|
<td width=67 valign=top align=left>
|
||||||
|
<td width=20 valign=top align=left>
|
||||||
|
<td width=67 valign=top align=left>
|
||||||
|
<td width=20 valign=top align=left>
|
||||||
|
<td width=67 valign=top align=left>
|
||||||
|
<td width=20 valign=top align=left>
|
||||||
|
<td width=68 valign=top align=left>
|
||||||
|
<td width=20 valign=top align=left>
|
||||||
|
<tr>
|
||||||
|
<td width=104 valign=middle align=center>
|
||||||
|
<td width=20 valign=middle align=center>
|
||||||
|
<td colspan=9 width=100 height=258 valign=top align=left>
|
||||||
|
<font size=+1>
|
||||||
|
The update is complete.<br>
|
||||||
|
<p><font size=+1>Choose <b>Connect Now</b> if you<br>want to connect to ${services_configured.config.service_name}.
|
||||||
|
<p><font size=+1>Press the <b>power</b> button to switch<br>off your unit.
|
||||||
|
</font>
|
||||||
|
<tr>
|
||||||
|
<td width=104 valign=middle align=center>
|
||||||
|
<td width=20 valign=middle align=center>
|
||||||
|
<td colspan=10 height=2 valign=middle align=center bgcolor="2B2B2B">
|
||||||
|
<img src="wtv-flashrom:/ROMCache/Spacer.gif" width=436 height=1>
|
||||||
|
<tr>
|
||||||
|
<td width=104 valign=middle align=center>
|
||||||
|
<td width=20 valign=middle align=center>
|
||||||
|
<td colspan=9 height=1 valign=top align=left>
|
||||||
|
<tr>
|
||||||
|
<td width=104 valign=middle align=center>
|
||||||
|
<td width=20 valign=middle align=center>
|
||||||
|
<td colspan=10 height=2 valign=top align=left bgcolor="0D0D0D">
|
||||||
|
<img src="wtv-flashrom:/ROMCache/Spacer.gif" width=436 height=1>
|
||||||
|
<tr>
|
||||||
|
<td width=104 valign=middle align=center>
|
||||||
|
<td width=20 valign=middle align=center>
|
||||||
|
<td colspan=9 height=4 valign=top align=left>
|
||||||
|
<tr>
|
||||||
|
<td width=104 valign=middle align=center>
|
||||||
|
<td width=20 valign=middle align=center>
|
||||||
|
<td colspan=9 width=416 valign=top align=left>
|
||||||
|
<table cellspacing=0 cellpadding=0>
|
||||||
|
<tr>
|
||||||
|
<td width=306 valign=top align=left>
|
||||||
|
<font size="-1"><i>
|
||||||
|
</i></font><td width=112 valign=top align=right>
|
||||||
|
<font size="-1" color="#E7CE4A">
|
||||||
|
<shadow>
|
||||||
|
|
||||||
|
<form action="client:poweroff">
|
||||||
|
<input selected type=submit value="Connect Now" name="UseUpgradeNow"
|
||||||
|
borderimage="file://ROM/Borders/ButtonBorder2.bif" usestyle width=170>
|
||||||
|
<input type="hidden" name="invalRAMImage">
|
||||||
|
<input type="hidden" name="autoPowerOn">
|
||||||
|
</shadow>
|
||||||
|
</font>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
</table>
|
||||||
|
<td width=20 valign=middle align=center>
|
||||||
|
</table>
|
||||||
|
</body>
|
||||||
|
</html>`
|
||||||
@@ -1,53 +0,0 @@
|
|||||||
headers = `200 OK
|
|
||||||
Content-type: text/html`
|
|
||||||
|
|
||||||
data =`<html>
|
|
||||||
<head>
|
|
||||||
<title>
|
|
||||||
Updating failed
|
|
||||||
</title>
|
|
||||||
<display switchtowebmode transition=none nostatus nooptions skipback clearback>
|
|
||||||
</head>
|
|
||||||
<body noscroll bgcolor="#191919" text="#42CC55" link="36d5ff"
|
|
||||||
hspace=0 vspace=0 fontsize="large">
|
|
||||||
<table cellspacing=0 cellpadding=0>
|
|
||||||
<tr>
|
|
||||||
<td width=104 height=74 valign=middle align=center bgcolor="3B3A4D">
|
|
||||||
<img src="wtv-flashrom:/ROMCache/MSNLogo.gif" width=87 height=67>
|
|
||||||
<td width=20 valign=top align=left bgcolor="3B3A4D">
|
|
||||||
<img src="wtv-flashrom:/ROMCache/Spacer.gif" width=1 height=1>
|
|
||||||
<td colspan=10 width=436 valign=middle align=left bgcolor="3B3A4D">
|
|
||||||
<font color="D6DFD0" size="+2">
|
|
||||||
<blackface>
|
|
||||||
<shadow>
|
|
||||||
<img src="wtv-flashrom:/ROMCache/Spacer.gif" width=1 height=4>
|
|
||||||
<br>
|
|
||||||
Updated failed
|
|
||||||
</shadow>
|
|
||||||
</blackface>
|
|
||||||
</font>
|
|
||||||
<tr>
|
|
||||||
<td colspan=12 width=560 height=10 valign=top align=left>
|
|
||||||
<img src="wtv-flashrom:/ROMCache/S40H1.gif" width=560 height=6>
|
|
||||||
<tr>
|
|
||||||
<td width=104 height=10 valign=top align=left>
|
|
||||||
<td width=20 valign=top align=left>
|
|
||||||
<td width=67 valign=top align=left>
|
|
||||||
<td width=20 valign=top align=left>
|
|
||||||
<td width=67 valign=top align=left>
|
|
||||||
<td width=20 valign=top align=left>
|
|
||||||
<td width=67 valign=top align=left>
|
|
||||||
<td width=20 valign=top align=left>
|
|
||||||
<td width=67 valign=top align=left>
|
|
||||||
<td width=20 valign=top align=left>
|
|
||||||
<td width=68 valign=top align=left>
|
|
||||||
<td width=20 valign=top align=left>
|
|
||||||
<form action="client:poweroff">
|
|
||||||
<tr>
|
|
||||||
<td width=104 valign=middle align=center>
|
|
||||||
<td width=20 valign=middle align=center>
|
|
||||||
<td colspan=9 width=100 height=258 valign=top align=left>
|
|
||||||
<font size=+1>
|
|
||||||
Update failed, gomennasai.
|
|
||||||
</body>
|
|
||||||
</html>`
|
|
||||||
Reference in New Issue
Block a user