From c0cbfe15ac671aa3261a696aa5fef044573aa6fe Mon Sep 17 00:00:00 2001 From: Ruedi Steinmann Date: Sat, 1 Feb 2020 17:15:05 +0100 Subject: [PATCH] add installation instructions for devices with FRP Lock on --- _data/devices/herolte.yml | 1 + _includes/templates/recovery_install_heimdall.md | 8 ++++++++ test/schema-06.yml | 3 +++ 3 files changed, 12 insertions(+) diff --git a/_data/devices/herolte.yml b/_data/devices/herolte.yml index 71aa56370f..471c487912 100644 --- a/_data/devices/herolte.yml +++ b/_data/devices/herolte.yml @@ -29,6 +29,7 @@ peripherals: [Fingerprint reader, Heart rate sensor, Motion Coprocessor, Acceler RGB ambient light, Infrared sensor] ram: 4 GB recovery_boot: With the device powered off, hold Volume Up + Home + Power. When the blue text appears, release the buttons. +force_power_off: Hold Volume Down + Power for 5-7s release: 2016-03-18 screen: 129.5 mm (5.1 in) screen_ppi: '577' diff --git a/_includes/templates/recovery_install_heimdall.md b/_includes/templates/recovery_install_heimdall.md index 0441a1ef94..66bb888665 100644 --- a/_includes/templates/recovery_install_heimdall.md +++ b/_includes/templates/recovery_install_heimdall.md @@ -66,6 +66,14 @@ heimdall flash --RECOVERY .img --no-reboot ``` {% include alerts/tip.html content="The file may not be named identically to what stands in this command, so adjust accordingly. If the file is wrapped in a zip or tar file, extract the file first, because Heimdall is not going to do it for you." %} 5. A blue transfer bar will appear on the device showing the recovery image being flashed. +5. If the device shows `Custom Binary(RECOVERY) Blocked By FRP Lock` +{% if device.force_power_off %} + * {{ device.force_power_off }} +{% else %} + * Power of your device +{% endif %} + * Boot your device, enter **Settings** -> **Developer Mode** and enable **OEM Unlock** + * Retry installing the custom recovery 6. Unplug the USB cable from your device. 7. Manually reboot into recovery, this may require pulling your battery, or holding the below keycombo until the device reboots: * {{ device.recovery_boot }} diff --git a/test/schema-06.yml b/test/schema-06.yml index bf4f24aa51..b52a38bbf9 100644 --- a/test/schema-06.yml +++ b/test/schema-06.yml @@ -416,6 +416,9 @@ properties: recovery_boot: "$id": "/properties/recovery_boot" type: string + force_power_off: + "$id": "/properties/force_power_off" + type: string release: "$id": "/properties/release" description: Date device released to public in ISO8601 reduced precision format