diff --git a/_data/devices/DRG.yml b/_data/devices/DRG.yml new file mode 100644 index 000000000..400429d6c --- /dev/null +++ b/_data/devices/DRG.yml @@ -0,0 +1,67 @@ +architecture: arm64 +battery: + capacity: 3060 + removable: false + tech: Li-Ion +before_install_custom: DRG +bluetooth: + profiles: + - A2DP + - A2DP + aptX + - A2DP + aptX HD + spec: '5' +cameras: +- flash: LED + info: 16 MP +- flash: LED + info: 5 MP +- flash: None + info: 16 MP +codename: DRG +cpu: Kryo 260 +cpu_cores: '8' +cpu_freq: 4 x 1.8 GHz + 4 x 1.6 GHz +deprecated: false +dimensions: + depth: 8 mm (0.31 in) + height: 147.20 mm (5.80 in) + width: 71 mm (2.80 in) +download_boot: With the device powered off, hold Volume Down and connect to a computer. +gpu: Adreno 509 +install_method: fastboot_DRG +is_ab_device: true +has_recovery_partition: false +maintainers: +- ARINDAM BHATTACHARJEE +name: Nokia 6.1 Plus +network: +- 2G GSM +- 2G CDMA +- 3G UMTS +- 4G LTE +peripherals: +- Dual SIM +- Fingerprint reader +- Accelerometer +- Gyroscope +- Proximity sensor +- Compass +- Hall effect sensor +- Sensor hub +- Light sensor +ram: 4/6 GB +recovery_boot: With the device powered off, hold Volume Up and connect to a computer. +release: 2018-07 +screen: + density: 432 + resolution: 1080x2280 + size: 147.32 mm (5.80 in) + technology: IPS LCD +soc: Qualcomm SDM660 Snapdragon 636 +storage: 32/64 GB eMMC 5.1 +uses_custom_recovery: true +vendor: Nokia +versions: +- thirteen +- thirteen_plus +wifi: 802.11 a/b/g/n/ac, dual-band, Wi-Fi Direct, Wi-Fi Display, Hotspot \ No newline at end of file diff --git a/_includes/templates/device_specific/before_install_custom_DRG.md b/_includes/templates/device_specific/before_install_custom_DRG.md new file mode 100644 index 000000000..c85efe467 --- /dev/null +++ b/_includes/templates/device_specific/before_install_custom_DRG.md @@ -0,0 +1,51 @@ +{%- assign device = site.data.devices[page.device] -%} + +## Unlocking the bootloader + +{% 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 diff --git a/_includes/templates/recovery_install_fastboot_DRG.md b/_includes/templates/recovery_install_fastboot_DRG.md new file mode 100644 index 000000000..d4667d481 --- /dev/null +++ b/_includes/templates/recovery_install_fastboot_DRG.md @@ -0,0 +1,45 @@ +{%- assign device = site.data.devices[page.device] -%} + +## Unlocking the bootloader + +{% 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 %} \ No newline at end of file diff --git a/pages/build/DRG.md b/pages/build/DRG.md new file mode 100644 index 000000000..dd46172e9 --- /dev/null +++ b/pages/build/DRG.md @@ -0,0 +1,8 @@ +--- +sidebar: home_sidebar +title: Build for DRG +folder: build +permalink: /devices/DRG/build/ +device: DRG +--- +{% include templates/device_build.md %} \ No newline at end of file diff --git a/pages/info/DRG.md b/pages/info/DRG.md new file mode 100644 index 000000000..bbae99143 --- /dev/null +++ b/pages/info/DRG.md @@ -0,0 +1,9 @@ +--- +sidebar: home_sidebar +title: Info about DRG +folder: info +layout: deviceinfo +permalink: /devices/DRG/ +device: DRG +--- +{% include templates/device_info.md %} \ No newline at end of file diff --git a/pages/install/DRG.md b/pages/install/DRG.md new file mode 100644 index 000000000..bf6f7c163 --- /dev/null +++ b/pages/install/DRG.md @@ -0,0 +1,8 @@ +--- +sidebar: home_sidebar +title: Install PixelExperience on DRG +folder: install +permalink: /devices/DRG/install/ +device: DRG +--- +{% include templates/device_install.md %} \ No newline at end of file diff --git a/pages/update/DRG.md b/pages/update/DRG.md new file mode 100644 index 000000000..d0174f479 --- /dev/null +++ b/pages/update/DRG.md @@ -0,0 +1,8 @@ +--- +sidebar: home_sidebar +title: Update PixelExperience on DRG +folder: update +permalink: /devices/DRG/update/ +device: DRG +--- +{% include templates/device_update.md %} \ No newline at end of file diff --git a/pages/upgrade/DRG.md b/pages/upgrade/DRG.md new file mode 100644 index 000000000..3de1b1e31 --- /dev/null +++ b/pages/upgrade/DRG.md @@ -0,0 +1,8 @@ +--- +sidebar: home_sidebar +title: Upgrade PixelExperience on DRG +folder: upgrade +permalink: /devices/DRG/upgrade/ +device: DRG +--- +{% include templates/device_upgrade.md %} \ No newline at end of file diff --git a/test/schema-06.yml b/test/schema-06.yml index 740d15885..84b617e81 100644 --- a/test/schema-06.yml +++ b/test/schema-06.yml @@ -477,6 +477,7 @@ properties: - dd - edl_custom - fastboot_custom + - fastboot_DRG - fastboot_generic - fastboot_htc - fastboot_huawei