-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.py
17 lines (16 loc) · 20.6 KB
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
smtp_srv = 'CHANGEME_SMTP-SERVER'
as_passwd = 'CHANGEME_APPLICATION-SPECIFIC-PASSWORD'
from_name = 'CHANGEME_YOUR-NAME'
from_email = 'CHANGEME_YOUR-EMAIL-ADDRESS'
to_email = 'CHANGEME_RECIPIENT-EMAIL-ADDRESS'
subject = 'CHANGEME_SUBJECT'
body = 'CHANGEME_BODY'
mesg = """\
From: {0} <{1}>
To: {2}
Subject: {3}
{4}
""".format(from_name, from_email, to_email, subject, body)
url = 'https://support.t-mobile.com/docs/DOC-34292'
date = 'December 7, 2018'
versions = """<div class="jive-rendered-content"><p>Use this page to identify software versions for the Samsung Galaxy S8 as well as details on recent software updates.</p><p style="min-height: 8pt; padding: 0px; min-height: 8pt; padding: 0px;"> </p><div class="jiveBorder" style="border: 1px solid #9b9b9b; padding: 5px; width: 98%;"><p><strong>On this page:</strong></p><ul><li><a class="jive-link-anchor-small" href="#steps1">Identify the device's current software version</a></li><li><a class="jive-link-anchor-small" href="#steps2">Review software version details</a></li><li><a class="jive-link-anchor-small" href="#steps3">Determine update requirements</a></li><li><a class="jive-link-anchor-small" href="#steps4">Update software versions</a></li></ul></div><p style="min-height: 8pt; padding: 0px; min-height: 8pt; padding: 0px; border-bottom: 2px solid #e8e8e8; width: 100%;"> </p><p style="min-height: 8pt; padding: 0px; min-height: 8pt; padding: 0px;"> </p><h3><a name="steps1" style="display: block; height: 75px; margin-top: -75px; visibility: hidden;"></a>Identify the device's current software version</h3><p style="min-height: 8pt; padding: 0px; min-height: 8pt; padding: 0px;"> </p><h4>Android version 8.0 / Baseband version  G950USQU5CRK1</h4><ol><li>From the Home screen, swipe up on an empty spot to open the <strong>Apps</strong> tray.</li><li>Tap <strong>Settings</strong> > <strong>About phone </strong>> <strong>Software information</strong>.</li><li>Scroll to the Baseband version field.</li><li>Review the information in the <a class="jive-link-anchor-small" href="#steps2">Review software version details</a> section below.</li></ol><p style="min-height: 8pt; padding: 0px; min-height: 8pt; padding: 0px;"> </p><h4>Android version 7.0 / Baseband version G950USQS2BQRB1</h4><ol><li>From the Home screen, swipe up on an empty spot to open the <strong>Apps</strong> tray.</li><li>Tap <strong>Settings</strong> > <strong>About phone</strong>.</li><li>Scroll to the Baseband version field.</li><li>Review the information in the <a class="jive-link-anchor-small" href="#steps2">Review software version details</a> section below.</li></ol><p style="min-height: 8pt; padding: 0px; min-height: 8pt; padding: 0px;"> </p><h3><a name="steps2" style="display: block; height: 75px; margin-top: -75px; visibility: hidden;"></a>Review software version details</h3><p style="min-height: 8pt; padding: 0px; min-height: 8pt; padding: 0px;"> </p><table border="1" class="jiveBorder" jive-data-cell="{"color":"#3D3D3D","textAlign":"left","padding":"6","backgroundColor":"transparent","fontFamily":"Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif","verticalAlign":"baseline"}" jive-data-header="{"color":"#505050","backgroundColor":"#F2F2F2","textAlign":"left","padding":"6","fontFamily":"Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif","verticalAlign":"baseline"}" style="border: 1px solid #c6c6c6; width: 100%;"><thead><tr><th style="border:1px solid black;border: 1px solid #c6c6c6;text-align: left;color: #505050;padding: 6px;width: 15%;background-color: #f2f2f2;border: 1px solid #c6c6c6;" valign="middle"><strong>VERSION</strong></th><th style="border:1px solid black;border: 1px solid #c6c6c6;text-align: left;color: #505050;padding: 6px;width: 15%;background-color: #f2f2f2;border: 1px solid #c6c6c6;" valign="middle"><strong>RELEASE DATE</strong></th><th style="border:1px solid black;border: 1px solid #c6c6c6;text-align: left;color: #505050;padding: 6px;width: 35%;background-color: #f2f2f2;border: 1px solid #c6c6c6;" valign="middle"><strong>ENHANCEMENTS</strong></th><th style="border:1px solid black;border: 1px solid #c6c6c6;text-align: left;background-color: #f2f2f2;color: #505050;padding: 6px;border: 1px solid #c6c6c6;" valign="middle"><strong>STATUS</strong></th></tr></thead><tbody><tr><td colspan="1" style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;"><p>Android 8.0</p><p>Baseband version:</p><p>G950USQU5CRK1</p></td><td colspan="1" style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;">December 7, 2018</td><td colspan="1" style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;"><p>Samsung Pay bug fix</p><p>November security patch</p></td><td colspan="1" style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;">If your device meets the update requirements below, you can upgrade to the most current software version.</td></tr><tr><td colspan="1" style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;"><p>Android 8.0</p><p>Baseband version:</p><p>G950USQU5CRIB</p></td><td colspan="1" style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;">October 28, 2018</td><td colspan="1" style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;"><p>September/October security updates</p><p>Various bug fixes and system improvements</p></td><td colspan="1" style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;">If your device meets the update requirements below, you can upgrade to the most current software version.</td></tr><tr><td colspan="1" style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;"><p>Android 8.0</p><p>Baseband version:</p><p>G950USQS5CRH1</p></td><td colspan="1" style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;">August 31, 2018</td><td colspan="1" style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;">August security updates</td><td colspan="1" style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;">If your device meets the update requirements below, you can upgrade to the most current software version.</td></tr><tr><td colspan="1" style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;"><p>Android 8.0</p><p>Baseband version:</p><p>G950USQU5CRG3</p></td><td colspan="1" style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;">August 19, 2018</td><td colspan="1" style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;"><p>July security patch</p><p>Samsung VOC fix</p></td><td colspan="1" style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;">If your device meets the update requirements below, you can upgrade to the most current software version.</td></tr><tr><td colspan="1" style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;"><p>Android 8.0</p><p>Baseband version:</p><p>G950USQU4CRE9</p></td><td colspan="1" style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;">June 17, 2018</td><td colspan="1" style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;"><p>June security patch by Google</p><p>Various bug fixes and software stability improvements</p></td><td colspan="1" style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;">If your device meets the update requirements below, you can upgrade to the most current software version.</td></tr><tr><td colspan="1" style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;"><p>Android 8.0</p><p>Baseband version:</p><p>G950USQS3CRE2</p></td><td colspan="1" style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;">May 23, 2018</td><td colspan="1" style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;">May security patch by Google</td><td colspan="1" style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;">If your device meets the update requirements below, you can upgrade to the most current software version.</td></tr><tr><td colspan="1" style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;"><p>Android 8.0</p><p>Baseband version:</p><p>G950USQU3CRD4</p></td><td colspan="1" style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;">April 30, 2018</td><td colspan="1" style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;"><p>April security patch</p><p>Various bug fixes and system improvements</p></td><td colspan="1" style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;">If your device meets the update requirements below, you can upgrade to the most current software version.</td></tr><tr><td colspan="1" style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;"><p>Android 8.0</p><p>Baseband version:</p><p>G950USQU2CRB9</p></td><td colspan="1" style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;">March 19, 2018</td><td colspan="1" style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;"><p>Android O (Oreo) Software update</p><p>Various bug fixes and software improvements</p></td><td colspan="1" style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;">If your device meets the update requirements below, you can upgrade to the most current software version.</td></tr><tr><td colspan="1" style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;"><p>Android 7.0</p><p>Baseband version:</p><p>G950USQS2BQRB1</p></td><td colspan="1" style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;">February 28, 2018</td><td colspan="1" style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;"><p>Google monthly security updates</p><p>Various system improvements</p></td><td colspan="1" style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;">If your device meets the update requirements below, you can upgrade to the most current software version.</td></tr><tr><td colspan="1" style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;"><p>Android 7.0</p><p>Baseband version:</p><p>G950USQS2BQL1</p></td><td colspan="1" style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;">December 20, 2017</td><td colspan="1" style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;"><p>December security updates</p></td><td colspan="1" style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;">If your device meets the update requirements below, you can upgrade to the most current software version.</td></tr><tr><td colspan="1" style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;"><p>Android 7.0</p><p>Baseband version:</p><p>G950USQU2BQK5</p></td><td colspan="1" style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;">December 8, 2017</td><td colspan="1" style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;"><p>Google monthly security patch</p><p>Various system improvements</p></td><td colspan="1" style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;">If your device meets the update requirements below, you can upgrade to the most current software version.</td></tr><tr><td colspan="1" style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;"><p>Android 7.0</p><p>Baseband version: G950USQU1AQJ8</p></td><td colspan="1" style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;">November 2, 2017</td><td colspan="1" style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;"><p>October security updates</p><p>Various system improvements</p></td><td colspan="1" style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;">If your device meets the update requirements below, you can upgrade to the most current software version.</td></tr><tr><td colspan="1" style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;"><p>Android 7.0</p><p>Baseband version: G950USQU1AQHD</p></td><td colspan="1" style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;">September 28, 2017</td><td colspan="1" style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;"><p>IMS Roaming enhancements</p><p>Various system improvements</p></td><td colspan="1" style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;">If your device meets the update requirements below, you can upgrade to the most current software version.</td></tr><tr><td style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;"><p>Android 7.0</p><p>Baseband Version: G950USQU1AQGA</p></td><td style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;"><p>July 18, 2017</p></td><td style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;"><p>Various system improvements</p></td><td style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;"><p>If your device meets the update requirements below, you can upgrade to the most current software version.</p></td></tr><tr><td style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;"><p>Android 7.0</p><p>Baseband Version: G950USQU1AQFJ</p></td><td style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;"><p>July 8, 2017</p></td><td style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;"><p>DIGITS update, Qualcomm update for microphone fix, Bixby enhancements, Various system improvements</p></td><td style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;"><p>If your device meets the update requirements below, you can upgrade to the most current software version.</p></td></tr><tr><td style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;"><p>Android 7.0</p><p>Baseband Version: G950USQU1AQEF</p></td><td style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;"><p>June 6, 2017</p></td><td style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;"><p>Android Pay and Bixby enhancements</p></td><td style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;"><p>If your device meets the update requirements below, you can upgrade to the most current software version.</p></td></tr><tr><td style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;"><p>Android 7.0</p><p>Baseband Version: G950USQU1AQDE</p></td><td style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;"><p>May 1, 2017</p></td><td style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;"><p>Reddish display fix</p></td><td style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;"><p>If your device meets the update requirements below, you can upgrade to the most current software version.</p></td></tr><tr><td style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;"><p>Android 7.0</p><p>Baseband Version: G950USQU1AQD9</p></td><td style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;"><p>April 20, 2017</p></td><td style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;"><p>Various system improvements</p></td><td style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;"><p>If your device meets the update requirements below, you can upgrade to the most current software version.</p></td></tr><tr><td style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;"><p>Android 7.0</p><p>Baseband Version: G950USQU1AQC9</p></td><td style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;"><p>April 21, 2017</p></td><td style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;"><p>Launch software</p></td><td style="border:1px solid black;border: 1px solid #c6c6c6;padding: 6px;border: 1px solid #c6c6c6;"><p>This is the launch software.</p></td></tr></tbody></table><p style="min-height: 8pt; padding: 0px;"> </p><h3><a name="steps3" style="display: block; height: 75px; margin-top: -75px; visibility: hidden;"></a>Determine update requirements</h3><p>Your device must meet the following requirements to update your software to the most current version:</p><p style="min-height: 8pt; padding: 0px;"> </p><ul><li>50% or higher battery life</li><li>Data connection</li><li>File size: 259.47 MB</li></ul><p style="min-height: 8pt; padding: 0px;"> </p><h3><a name="steps4" style="display: block; height: 75px; margin-top: -75px; visibility: hidden;"></a>Update software versions</h3><p style="min-height: 8pt; padding: 0px;"> </p><h4>Update automatically over the air (OTA) for Baseband  G950USQU5CRK1</h4><p>It is recommended to connect to Wi-Fi before completing the update.</p><p style="min-height: 8pt; padding: 0px;"> </p><ol><li>From the Home screen, swipe up on an empty spot to open the <strong>Apps</strong> tray.</li><li>Tap <strong>Settings</strong>.</li><li>Tap <strong>Software update</strong>.</li><li>Tap <strong>Download updates manually</strong>.</li><li>Tap <strong>OK</strong>.</li><li>Tap <strong>Start</strong>.</li><li>A restart message will appear, tap <strong>OK</strong>.</li></ol><p style="min-height: 8pt; padding: 0px;"> </p><h4>Update from a computer</h4><p>Follow the update requirements above, along with the following:</p><p style="min-height: 8pt; padding: 0px;"> </p><ul><li>Use a Samsung USB cable.</li><li>Back up your data prior to completing the update.</li></ul><p style="min-height: 8pt; padding: 0px;"> </p><p>During the update, do not:</p><p style="min-height: 8pt; padding: 0px;"> </p><ul><li>Use the device or press any keys.</li><li>Remove the battery, if applicable.</li><li>Turn off the device.</li><li>Disconnect the USB cable until the update is complete.</li></ul><p style="min-height: 8pt; padding: 0px;"> </p><p>  You will not be able to place a call during the update, not even an emergency call.</p><ol><li>Download and install Samsung Smart Switch that is compatible with your computer from <a class="jive-link-external-small" href="http://www.samsung.com/us/support/smart-switch-support/#!/" rel="nofollow">http://www.samsung.com/us/support/smart-switch-support/#!/</a>.</li><li>Connect the cable to a compatible USB port on your computer.</li><li>Connect the other end of the cable to your mobile device.</li><li>Allow your computer to install any required drivers for your device. This process may take a few minutes.</li><li>Open <strong>Smart Switch</strong> on your computer, and allow it to make the connection.</li><li>If a software update is available for your device, Smart Switch will automatically prompt you to update. At any time, you can click <strong>Update</strong>.</li><li>Click <strong>Update</strong> to begin downloading the necessary files.</li><li>Click <strong>OK</strong> to proceed.Your device may turn off and on a few times during the update process. Once complete the device will return to the Home screen.</li></ol></div>"""