diff --git a/hacktv_updsrv/ServiceVault/wtv-flashrom/ROMCache/MSNLogo.gif b/hacktv_updsrv/ServiceVault/wtv-flashrom/ROMCache/MSNLogo.gif new file mode 100644 index 00000000..59b3829d Binary files /dev/null and b/hacktv_updsrv/ServiceVault/wtv-flashrom/ROMCache/MSNLogo.gif differ diff --git a/hacktv_updsrv/ServiceVault/wtv-flashrom/ROMCache/S40H1.gif b/hacktv_updsrv/ServiceVault/wtv-flashrom/ROMCache/S40H1.gif new file mode 100644 index 00000000..b8973a1b Binary files /dev/null and b/hacktv_updsrv/ServiceVault/wtv-flashrom/ROMCache/S40H1.gif differ diff --git a/hacktv_updsrv/ServiceVault/wtv-flashrom/ROMCache/Shadow.gif b/hacktv_updsrv/ServiceVault/wtv-flashrom/ROMCache/Shadow.gif new file mode 100644 index 00000000..42098634 Binary files /dev/null and b/hacktv_updsrv/ServiceVault/wtv-flashrom/ROMCache/Shadow.gif differ diff --git a/hacktv_updsrv/ServiceVault/wtv-flashrom/ROMCache/Spacer.gif b/hacktv_updsrv/ServiceVault/wtv-flashrom/ROMCache/Spacer.gif new file mode 100644 index 00000000..672c48ff Binary files /dev/null and b/hacktv_updsrv/ServiceVault/wtv-flashrom/ROMCache/Spacer.gif differ diff --git a/hacktv_updsrv/ServiceVault/wtv-flashrom/ROMCache/WebTVLogoJewel.gif b/hacktv_updsrv/ServiceVault/wtv-flashrom/ROMCache/WebTVLogoJewel.gif new file mode 100644 index 00000000..ec3e51dd Binary files /dev/null and b/hacktv_updsrv/ServiceVault/wtv-flashrom/ROMCache/WebTVLogoJewel.gif differ diff --git a/hacktv_updsrv/ServiceVault/wtv-flashrom/ROMCache/up-arrows.swf b/hacktv_updsrv/ServiceVault/wtv-flashrom/ROMCache/up-arrows.swf new file mode 100644 index 00000000..eceece7e Binary files /dev/null and b/hacktv_updsrv/ServiceVault/wtv-flashrom/ROMCache/up-arrows.swf differ diff --git a/hacktv_updsrv/ServiceVault/wtv-flashrom/get-lc2-page.js b/hacktv_updsrv/ServiceVault/wtv-flashrom/get-lc2-page.js index dd5ff305..51d7b10f 100644 --- a/hacktv_updsrv/ServiceVault/wtv-flashrom/get-lc2-page.js +++ b/hacktv_updsrv/ServiceVault/wtv-flashrom/get-lc2-page.js @@ -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 Content-type: text/html` @@ -44,25 +49,34 @@ Updating now... -Your Internet Receiver is being
updated automagically. +Your Internet Receiver is being
updated automatically.

-This will take forever, and then
your WebTV will reboot.

-
+This will take a while, and then
your unit will reboot.

+`; + +if (flashrom_isboot && flashrom_part == 16) { +data += `

+ The system will pause for about 30 seconds at the end of this + update. Please do not interrupt the system + during this time. + ` +} +data += ` - - + +
    Receiving part `+flashrom_part+` of `+totalprts+`v`+flashrom_version+` (`+flashrom_type+`)        Receiving part ${flashrom_part} of ${flashrom_total_parts}v${flashrom_version} (${flashrom_type})    

+blockurl="wtv-flashrom:/${flashrom_rompath} +lastblock=${flashrom_lastpart} +curblock="${flashrom_part}" +totalblocks="${flashrom_total_parts}"> diff --git a/hacktv_updsrv/ServiceVault/wtv-flashrom/lc2-download-complete.js b/hacktv_updsrv/ServiceVault/wtv-flashrom/lc2-download-complete.js new file mode 100644 index 00000000..07290fdd --- /dev/null +++ b/hacktv_updsrv/ServiceVault/wtv-flashrom/lc2-download-complete.js @@ -0,0 +1,107 @@ +headers = `200 OK +Content-type: text/html` + +data = ` + + + +Updating + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + +
+Updating complete +
+
+
+
+ +
+ + + + + + + + + + + +
+ + + +The update is complete.
+

Choose Connect Now if you
want to connect to ${services_configured.config.service_name}. +

Press the power button to switch
off your unit. +
+

+ + + +
+ + +
+ + + +
+ + +
+ + + + +
+ + + + + +
+ + + + + +
+ +
+
+
+ +` \ No newline at end of file diff --git a/hacktv_updsrv/ServiceVault/wtv-flashrom/lc2-download-failed.js b/hacktv_updsrv/ServiceVault/wtv-flashrom/lc2-download-failed.js deleted file mode 100644 index de953f1f..00000000 --- a/hacktv_updsrv/ServiceVault/wtv-flashrom/lc2-download-failed.js +++ /dev/null @@ -1,53 +0,0 @@ -headers = `200 OK -Content-type: text/html` - -data =` - - -Updating failed - - - - - - - - - -
- - - - - - - - -
-Updated failed -
-
-
-
- -
- - - - - - - - - - - -
-
- - - -Update failed, gomennasai. - -` \ No newline at end of file