diff --git a/_includes/templates/device_specific/before_install_custom_DRG.md b/_includes/templates/device_specific/before_install_custom_DRG.md index c85efe46..7944c88f 100644 --- a/_includes/templates/device_specific/before_install_custom_DRG.md +++ b/_includes/templates/device_specific/before_install_custom_DRG.md @@ -1,51 +1,39 @@ -{%- assign device = site.data.devices[page.device] -%} - -## Unlocking the bootloader +## Ensuring all firmware partitions are consistent [2/5 - Optional] : {% include alerts/note.html content="The steps below only need to be run once per device." %} -{% include alerts/warning.html content="Unlocking the bootloader will erase all data on your device! -Before proceeding, ensure the data you would like to retain is backed up to your PC and/or your Google account, or equivalent." %} - -1. Install Nokia USB Drivers (required): -To ensure that your device is properly detected during the bootloader unlock process, make sure to install the required. -If you already have the required drivers installed you can skip this step. To install the drivers, download [this](https://github.com/StollD/nokia-driver-installer/blob/master/out/Phone_Nokia_USB_Driver_v1.4.0.exe) installer package from GitHub and install it to your computer. - -2. Download and extract the Nokia Bootloader Unlock tool from [here](https://tchms.to/NokiaUBLTool). Using this tool you can easily unlock the bootloader of your device without touching the command line. Use a zip management tool of your choice to extract the tool to a folder on your computer. - -{% include alerts/note.html content="The tool currently only supports Windows 7 or later with Microsoft .Net Framework version 4.7.2 or higher. Linux or Mac are not supported. Windows 10 with latest updates is recommended" %} - -3. Reboot the phone into download mode: -Now you need to boot your device to download mode. Follow these steps for bootloader mode: - - 1. Turn off your phone. - 2. Connect the USB cable to the device only and not the computer. - 3. Press and hold Volume Down + Power key together till you reach the screen reads that reads “Download mode”. - Alternatively, you can also use the command ```adb reboot bootloader``` from the stock ROM to bring the phone to download mode. - -4. Generate OTP for the Unlock Tool: -To avoid misuse and limit usage, the tool uses OTP (One-time password). Before you unlock you need to get an OTP. You can generate one from [here](https://www.techmesto.com/nokia-ubl-otp/) - -{% include alerts/note.html content="The OTP is valid for only 15 minutes from generation. In addition only 15 devices are allowed for unlocking each day. After this further generation of OTPs will be disabled for the day. If the OTP generation fails, please be patient and wait for the next day to try again" %} - -5. Run the Unlock Tool and unlock your phone -Now you can use the previously generated OTP to unlock the bootloader of your device. - - 1. Run the "Bootloader Unlock by tm.exe" file in the folder where you extracted the tool - 2. Paste the OTP (from step 3) into the Enter OTP box in the Unlock Tool. - 3. Connect your smartphone in download mode. - 4. Click on the "BEGIN UNLOCK" button. - 5. Wait for the process to complete and follow the instructions shown in the output window. - 6. Your device should prompt you for unlock. Use the volume keys to accept the unlock - - {% include alerts/note.html content="The tool will try to automatically unlock the device in fastboot mode. However, sometimes that can fail. Please put the device to fastboot mode manually if that happens." %} - -{% if device.before_recovery_install %} -{% capture path %}templates/device_specific/before_recovery_install_{{ device.before_recovery_install }}.md{% endcapture %} -{% include {{ path }} %} -{% endif %} -{% if device.is_ab_device and device.has_recovery_partition != true %} -{% include templates/recovery_install_fastboot_ab.md %} -{% else %} -{% include templates/recovery_install_fastboot_generic.md %} -{% endif %} \ No newline at end of file +1. Download the latest firmware from [Here](https://sourceforge.net/projects/fihsw-sdm660/files/DRG/FIHSW_DRG-415C-0-00WW-B01_600WW_10_20200501.full.lzma2.1c8a3a5f8729024558cd3f6d771ab8c0a3036438efc62bcab1c74ac0a6446e1e.7z/download) +2. Download the `HCTSW Care OSTRemote Client tool` & follow the usage/flashing guide from [Here](https://xdaforums.com/t/tools-hctsw-care-ostremote-client-batch-script-replacement-of-ost-la.4282019/). +3. Once the firmware installation is done, now power off the device & follow up the below steps. + +## Re-Partition your Nokia 6.1+ device [3/5] : + +{% include alerts/warning.html content="Re-Partition only required once, befor installing the Custom ROM" %} +1. Download the new-partition scheme file from [Here](https://github.com/Nokia-SDM660-Devices/B2N_GPT-Partition/raw/master/3.5s/FIH_SDM660_AVB1_gpt_both0_3.5s_1v.bin) +2. Reboot your device into `fastboot mode/Download mode` & flash the file by `fastboot flash partition ` +3. Once the re-partition performed, you can follow up the below steps. + +## Retrofit Dynamic Partititions instruction [4/5] : + +{% include alerts/warning.html content="Retrofit Dynamic partition must be initialized when installing for the first time, so the process to do so is described below." %} + +1. Reboot your device into `Download mode/fastboot mode` +2. Install the `Nokia Driver` from [Here](https://github.com/StollD/nokia-driver-installer/raw/master/out/Phone_Nokia_USB_Driver_v1.4.0.exe) +3. Download `PLatform tool by Google` from [Here](https://developer.android.com/tools/releases/platform-tools) +4. Download the `super_empty.img` from [Here](https://github.com/Nokia-SDM660-Devices/device_nokia_PL2/releases/download/PL2-RDP/super_empty.img) +5. Now flash `super_empty.img` file with the given command +```fastboot wipe-super ``` +6. Now follow up with the below steps. + +## ROM installation [5/5] : + +1. Reboot your device into `fastboot mode/Download mode` +2. Type `fastboot device`, if the device S/N detected then everything is all good. [If not detected install the [Nokia Driver](https://github.com/StollD/nokia-driver-installer/raw/master/out/Phone_Nokia_USB_Driver_v1.4.0.exe) & [Platform tool](https://developer.android.com/tools/releases/platform-tools)] +3. Now flash the boot.img (PixelExperice recovery) in both the slots by the following commands: +``` +fastboot flash boot_a +fastboot flash boot_b +``` +4. Now reboot into `recovery mode` by holding the Volume Up & Power button. +5. Apply Update >> adb sideload method & sideload the PixelExperience .zip file by `adb sideload ` +6. Once the installation done, perform the `Factory reset` then >> `Reboot to system` \ No newline at end of file diff --git a/_includes/templates/device_specific/before_install_custom_PL2.md b/_includes/templates/device_specific/before_install_custom_PL2.md index c85efe46..ef1f9592 100644 --- a/_includes/templates/device_specific/before_install_custom_PL2.md +++ b/_includes/templates/device_specific/before_install_custom_PL2.md @@ -1,51 +1,32 @@ -{%- assign device = site.data.devices[page.device] -%} - -## Unlocking the bootloader +## Ensuring all firmware partitions are consistent [2/4 - Optional] : {% include alerts/note.html content="The steps below only need to be run once per device." %} -{% include alerts/warning.html content="Unlocking the bootloader will erase all data on your device! -Before proceeding, ensure the data you would like to retain is backed up to your PC and/or your Google account, or equivalent." %} - -1. Install Nokia USB Drivers (required): -To ensure that your device is properly detected during the bootloader unlock process, make sure to install the required. -If you already have the required drivers installed you can skip this step. To install the drivers, download [this](https://github.com/StollD/nokia-driver-installer/blob/master/out/Phone_Nokia_USB_Driver_v1.4.0.exe) installer package from GitHub and install it to your computer. - -2. Download and extract the Nokia Bootloader Unlock tool from [here](https://tchms.to/NokiaUBLTool). Using this tool you can easily unlock the bootloader of your device without touching the command line. Use a zip management tool of your choice to extract the tool to a folder on your computer. - -{% include alerts/note.html content="The tool currently only supports Windows 7 or later with Microsoft .Net Framework version 4.7.2 or higher. Linux or Mac are not supported. Windows 10 with latest updates is recommended" %} - -3. Reboot the phone into download mode: -Now you need to boot your device to download mode. Follow these steps for bootloader mode: - - 1. Turn off your phone. - 2. Connect the USB cable to the device only and not the computer. - 3. Press and hold Volume Down + Power key together till you reach the screen reads that reads “Download mode”. - Alternatively, you can also use the command ```adb reboot bootloader``` from the stock ROM to bring the phone to download mode. - -4. Generate OTP for the Unlock Tool: -To avoid misuse and limit usage, the tool uses OTP (One-time password). Before you unlock you need to get an OTP. You can generate one from [here](https://www.techmesto.com/nokia-ubl-otp/) - -{% include alerts/note.html content="The OTP is valid for only 15 minutes from generation. In addition only 15 devices are allowed for unlocking each day. After this further generation of OTPs will be disabled for the day. If the OTP generation fails, please be patient and wait for the next day to try again" %} - -5. Run the Unlock Tool and unlock your phone -Now you can use the previously generated OTP to unlock the bootloader of your device. - - 1. Run the "Bootloader Unlock by tm.exe" file in the folder where you extracted the tool - 2. Paste the OTP (from step 3) into the Enter OTP box in the Unlock Tool. - 3. Connect your smartphone in download mode. - 4. Click on the "BEGIN UNLOCK" button. - 5. Wait for the process to complete and follow the instructions shown in the output window. - 6. Your device should prompt you for unlock. Use the volume keys to accept the unlock - - {% include alerts/note.html content="The tool will try to automatically unlock the device in fastboot mode. However, sometimes that can fail. Please put the device to fastboot mode manually if that happens." %} - -{% if device.before_recovery_install %} -{% capture path %}templates/device_specific/before_recovery_install_{{ device.before_recovery_install }}.md{% endcapture %} -{% include {{ path }} %} -{% endif %} -{% if device.is_ab_device and device.has_recovery_partition != true %} -{% include templates/recovery_install_fastboot_ab.md %} -{% else %} -{% include templates/recovery_install_fastboot_generic.md %} -{% endif %} \ No newline at end of file +1. Download the latest firmware from [Here](https://sourceforge.net/projects/fihsw-sdm660/files/PL2/FIHSW_PL2-415C-0-00WW-B01_600WW_10_20200501.full.lzma2.8196b83ea498b17a172bbb95f46b94cb3bab32404f2493a818e390f858a55eaf.7z/download) +2. Download the `HCTSW Care OSTRemote Client tool` & follow the usage/flashing guide from [Here](https://xdaforums.com/t/tools-hctsw-care-ostremote-client-batch-script-replacement-of-ost-la.4282019/). +3. Once the firmware installation is done, now power off the device & follow up the below steps. + +## Retrofit Dynamic Partititions instruction [3/4] : + +{% include alerts/warning.html content="Retrofit Dynamic partition must be initialized when installing for the first time, so the process to do so is described below." %} + +1. Reboot your device into `Download mode/fastboot mode` +2. Install the `Nokia Driver` from [Here](https://github.com/StollD/nokia-driver-installer/raw/master/out/Phone_Nokia_USB_Driver_v1.4.0.exe) +3. Download `PLatform tool by Google` from [Here](https://developer.android.com/tools/releases/platform-tools) +4. Download the `super_empty.img` from [Here](https://github.com/Nokia-SDM660-Devices/device_nokia_PL2/releases/download/PL2-RDP/super_empty.img) +5. Now flash `super_empty.img` file with the given command +```fastboot wipe-super ``` +6. Now follow up with the below steps. + +## ROM installation [4/4] : + +1. Reboot your device into `fastboot mode/Download mode` +2. Type `fastboot device`, if the device S/N detected then everything is all good. [If not detected install the [Nokia Driver](https://github.com/StollD/nokia-driver-installer/raw/master/out/Phone_Nokia_USB_Driver_v1.4.0.exe) & [Platform tool](https://developer.android.com/tools/releases/platform-tools)] +3. Now flash the boot.img (PixelExperice recovery) in both the slots by the following commands: +``` +fastboot flash boot_a +fastboot flash boot_b +``` +4. Now reboot into `recovery mode` by holding the Volume Up & Power button. +5. Apply Update >> adb sideload method & sideload the PixelExperience .zip file by `adb sideload ` +6. Once the installation done, perform the `Factory reset` then >> `Reboot to system` \ No newline at end of file diff --git a/_includes/templates/recovery_install_fastboot_DRG.md b/_includes/templates/recovery_install_fastboot_DRG.md index d4667d48..9cdaf93b 100644 --- a/_includes/templates/recovery_install_fastboot_DRG.md +++ b/_includes/templates/recovery_install_fastboot_DRG.md @@ -1,6 +1,4 @@ -{%- assign device = site.data.devices[page.device] -%} - -## Unlocking the bootloader +## Unlocking the Bootloader [1/5] : {% include alerts/note.html content="The steps below only need to be run once per device." %} {% include alerts/warning.html content="Unlocking the bootloader will erase all data on your device! @@ -37,9 +35,4 @@ Now you can use the previously generated OTP to unlock the bootloader of your de 5. Wait for the process to complete and follow the instructions shown in the output window. 6. Your device should prompt you for unlock. Use the volume keys to accept the unlock - {% include alerts/note.html content="The tool will try to automatically unlock the device in fastboot mode. However, sometimes that can fail. Please put the device to fastboot mode manually if that happens." %} - -{% if device.before_recovery_install %} -{% capture path %}templates/device_specific/before_recovery_install_{{ device.before_recovery_install }}.md{% endcapture %} -{% include {{ path }} %} -{% endif %} \ No newline at end of file +6. Once the device bootloader unlocked follow up with the next steps. \ No newline at end of file diff --git a/_includes/templates/recovery_install_fastboot_PL2.md b/_includes/templates/recovery_install_fastboot_PL2.md index 570dc4de..7bb2bfb2 100644 --- a/_includes/templates/recovery_install_fastboot_PL2.md +++ b/_includes/templates/recovery_install_fastboot_PL2.md @@ -1,6 +1,4 @@ -{%- assign device = site.data.devices[page.device] -%} - -## Unlocking the bootloader +## Unlocking the Bootloader [1/4] : {% include alerts/note.html content="The steps below only need to be run once per device." %} {% include alerts/warning.html content="Unlocking the bootloader will erase all data on your device! @@ -36,10 +34,5 @@ Now you can use the previously generated OTP to unlock the bootloader of your de 4. Click on the "BEGIN UNLOCK" button. 5. Wait for the process to complete and follow the instructions shown in the output window. 6. Your device should prompt you for unlock. Use the volume keys to accept the unlock - - {% include alerts/note.html content="The tool will try to automatically unlock the device in fastboot mode. However, sometimes that can fail. Please put the device to fastboot mode manually if that happens." %} -{% if device.before_recovery_install %} -{% capture path %}templates/device_specific/before_recovery_install_{{ device.before_recovery_install }}.md{% endcapture %} -{% include {{ path }} %} -{% endif %} +6. Once the device bootloader unlocked follow up with the next steps. \ No newline at end of file