Merge "Add vee7 markdown"
diff --git a/_devices/htc10.markdown b/_devices/htc10.markdown
index cf43da7..fa7ed91 100644
--- a/_devices/htc10.markdown
+++ b/_devices/htc10.markdown
@@ -19,6 +19,6 @@
{% include twrpinstall.html %}
-{% include fastbootinstall.html %}
+{% include fastbootinstallhtc.html %}
{% include ddinstall.html %}
diff --git a/_devices/htcbolt10evo.markdown b/_devices/htcbolt10evo.markdown
new file mode 100644
index 0000000..215efb6
--- /dev/null
+++ b/_devices/htcbolt10evo.markdown
@@ -0,0 +1,24 @@
+---
+layout: device
+title: "HTC Bolt/10 Evo"
+codename: aca
+downloadfolder: aca
+supportstatus: Current
+maintainer: CaptainThrowback
+oem: HTC
+ddof: "/dev/block/bootdevice/by-name/recovery"
+devicetree: "https://github.com/TeamWin/android_device_htc_aca"
+xdathread: "https://forum.xda-developers.com/bolt/development/recovery-twrp-touch-recovery-t3519304"
+---
+
+{% include disclaimer.html %}
+
+{% include supportstatus.html %}
+
+{% include download.html %}
+
+{% include twrpinstall.html %}
+
+{% include fastbootinstallhtc.html %}
+
+{% include ddinstall.html %}
diff --git a/_devices/htcdesire626s.markdown b/_devices/htcdesire626s.markdown
index 199c8fb..e4aaccc 100644
--- a/_devices/htcdesire626s.markdown
+++ b/_devices/htcdesire626s.markdown
@@ -19,6 +19,6 @@
{% include twrpinstall.html %}
-{% include fastbootinstall.html %}
+{% include fastbootinstallhtc.html %}
{% include ddinstall.html %}
diff --git a/_devices/htconea9.markdown b/_devices/htconea9.markdown
index 5d10f1c..5f91b34 100644
--- a/_devices/htconea9.markdown
+++ b/_devices/htconea9.markdown
@@ -19,6 +19,6 @@
{% include twrpinstall.html %}
-{% include fastbootinstall.html %}
+{% include fastbootinstallhtc.html %}
{% include ddinstall.html %}
diff --git a/_devices/htconem9.markdown b/_devices/htconem9.markdown
index b68f843..0add0e0 100644
--- a/_devices/htconem9.markdown
+++ b/_devices/htconem9.markdown
@@ -22,6 +22,6 @@
{% include twrpinstall.html %}
-{% include fastbootinstall.html %}
+{% include fastbootinstallhtc.html %}
{% include ddinstall.html %}
diff --git a/_devices/htcuultra.markdown b/_devices/htcuultra.markdown
new file mode 100644
index 0000000..20256d9
--- /dev/null
+++ b/_devices/htcuultra.markdown
@@ -0,0 +1,24 @@
+---
+layout: device
+title: "HTC U Ultra"
+codename: oce
+downloadfolder: oce
+supportstatus: Current
+maintainer: CaptainThrowback
+oem: HTC
+ddof: "/dev/block/bootdevice/by-name/recovery"
+devicetree: "https://github.com/TeamWin/android_device_htc_oce"
+xdathread: "https://forum.xda-developers.com/u-ultra/development/recovery-twrp-touch-recovery-t3558540"
+---
+
+{% include disclaimer.html %}
+
+{% include supportstatus.html %}
+
+{% include download.html %}
+
+{% include twrpinstall.html %}
+
+{% include fastbootinstallhtc.html %}
+
+{% include ddinstall.html %}
diff --git a/_devices/lgg4.markdown b/_devices/lgg4.markdown
index e1ae2f9..22c912f 100644
--- a/_devices/lgg4.markdown
+++ b/_devices/lgg4.markdown
@@ -49,12 +49,12 @@
<p class="text">Your device needs to be officially unlocked by LG before it can flash custom images! To unlock your device you have to go to:</p>
<p class="text"><a href="http://developer.lge.com/resource/mobile/RetrieveBootloader.dev" target=_blank>http://developer.lge.com</a> and follow all steps there to get and flash your LG unlock binary. You can NOT proceed withouth completing this step!</p>
<p class="text">Download the correct image file and copy the file into the same folder as your adb and fastboot binaries. Rename the image to twrp.img and type:</p>
-<p class="code">{{ fastboot }} boot twrp.img</p>
+<p class="code">fastboot boot twrp.img</p>
<p class="text">This will boot up TWRP but for the moment in memory only. To complete the installation and making it persistent:</p>
<p class="text">Copy the twrp.img to your device while still in twrp (e.g. with a file explorer or by typing adb push twrp.img /sdcard)</p>
<p class="text">Flash the twrp.img with the twrp GUI to the recovery(!) partition (choose the button at the bottom named 'Image' to show the copied image)</p>
<p class="text">done. You can now reboot into recovery again to check it has worked.</p>
-<p class="text">Note many devices will replace your custom recovery automatically during first boot. To prevent this, use the key combo <a href="https://forum.xda-developers.com/showpost.php?p=68249027&postcount=3" target=_blank>explained in this FAQ</a> to enter recovery. After typing <span class="code">{{ fastboot }} reboot</span>, hold the key combo and boot to TWRP. Once TWRP is booted, TWRP will patch the stock ROM to prevent the stock ROM from replacing TWRP. If you don't follow this step, you will have to repeat the install.</p>
+<p class="text">Note many devices will replace your custom recovery automatically during first boot. To prevent this, use the key combo <a href="https://forum.xda-developers.com/showpost.php?p=68249027&postcount=3" target=_blank>explained in this FAQ</a> to enter recovery. After typing <span class="code">fastboot reboot</span>, hold the key combo and boot to TWRP. Once TWRP is booted, TWRP will patch the stock ROM to prevent the stock ROM from replacing TWRP. If you don't follow this step, you will have to repeat the install.</p>
{% include twrpinstall.html %}
diff --git a/_devices/motorolamotog2015.markdown b/_devices/motorolamotog2015.markdown
new file mode 100644
index 0000000..438932a
--- /dev/null
+++ b/_devices/motorolamotog2015.markdown
@@ -0,0 +1,21 @@
+---
+layout: device
+title: "Motorola Moto G 2015"
+codename: osprey
+downloadfolder: osprey
+supportstatus: Current
+maintainer: Dees_Troy
+oem: Motorola
+---
+
+{% include disclaimer.html %}
+
+{% include supportstatus.html %}
+
+{% include appinstall.html %}
+
+{% include download.html %}
+
+{% include twrpinstall.html %}
+
+{% include fastbootinstall.html %}
diff --git a/_devices/motorolamotog2016.markdown b/_devices/motorolamotog2016.markdown
index d7ccde2..78fe8c5 100644
--- a/_devices/motorolamotog2016.markdown
+++ b/_devices/motorolamotog2016.markdown
@@ -1,10 +1,10 @@
---
layout: device
title: "Motorola Moto G 2016"
-codename: athene
-downloadfolder: athene
+codename: harpia
+downloadfolder: harpia
supportstatus: Current
-maintainer: yeshwanthvshenoy, pranav01
+maintainer: Dees_Troy
oem: Motorola
---
diff --git a/_devices/motorolamotogplus2016.markdown b/_devices/motorolamotogplus2016.markdown
new file mode 100644
index 0000000..dc4741f
--- /dev/null
+++ b/_devices/motorolamotogplus2016.markdown
@@ -0,0 +1,21 @@
+---
+layout: device
+title: "Motorola Moto G Plus 2016"
+codename: athene
+downloadfolder: athene
+supportstatus: Current
+maintainer: yeshwanthvshenoy, pranav01
+oem: Motorola
+---
+
+{% include disclaimer.html %}
+
+{% include supportstatus.html %}
+
+{% include appinstall.html %}
+
+{% include download.html %}
+
+{% include twrpinstall.html %}
+
+{% include fastbootinstall.html %}
diff --git a/_devices/xiaomimax.markdown b/_devices/xiaomimimax.markdown
similarity index 65%
rename from _devices/xiaomimax.markdown
rename to _devices/xiaomimimax.markdown
index 3ae86d9..a42d8c6 100644
--- a/_devices/xiaomimax.markdown
+++ b/_devices/xiaomimimax.markdown
@@ -1,19 +1,23 @@
---
layout: device
title: "Xiaomi Mi Max"
-codename: hydrogen
+codename: hydrogen/helium
downloadfolder: hydrogen
supportstatus: Current
-maintainer: Abdess
+maintainer: Parth Bhatia (TheStrix)
devicetree: https://github.com/TeamWin/android_device_xiaomi_hydrogen.git
oem: Xiaomi
-devicetree: https://github.com/TeamWin/android_device_xiaomi_hydrogen
+ddof: "/dev/block/bootdevice/by-name/recovery"
---
{% include disclaimer.html %}
{% include supportstatus.html %}
+{% include dmverity.html %}
+
+{% include xiaomiunlock.html %}
+
{% include appinstall.html %}
{% include download.html %}
@@ -21,3 +25,5 @@
{% include twrpinstall.html %}
{% include fastbootinstall.html %}
+
+{% include ddinstall.html %}
diff --git a/_devices/xiaomiredminote3.markdown b/_devices/xiaomiredminote3.markdown
index 46f74bf..50a6499 100644
--- a/_devices/xiaomiredminote3.markdown
+++ b/_devices/xiaomiredminote3.markdown
@@ -1,13 +1,13 @@
---
layout: device
title: "Xiaomi Redmi Note 3"
-codename: kenzo
+codename: kenzo/kate
downloadfolder: kenzo
supportstatus: Current
-maintainer: Vibhor Chaudhary (vibhu0009)
+maintainer: Parth Bhatia (TheStrix)
devicetree: https://github.com/TeamWin/android_device_xiaomi_kenzo.git
oem: Xiaomi
-ddof: "/dev/block/platform/msm_sdcc.1/by-name/recovery"
+ddof: "/dev/block/bootdevice/by-name/recovery"
---
{% include disclaimer.html %}
@@ -16,12 +16,14 @@
{% include dmverity.html %}
+{% include xiaomiunlock.html %}
+
{% include appinstall.html %}
{% include download.html %}
{% include twrpinstall.html %}
-{% include odininstall.html %}
+{% include fastbootinstall.html %}
{% include ddinstall.html %}
diff --git a/_devices/xiaomiredminote4.markdown b/_devices/xiaomiredminote4.markdown
new file mode 100644
index 0000000..7341288
--- /dev/null
+++ b/_devices/xiaomiredminote4.markdown
@@ -0,0 +1,29 @@
+---
+layout: device
+title: "Xiaomi Redmi Note 4(x)"
+codename: mido
+downloadfolder: mido
+supportstatus: Current
+maintainer: Abhishek Aggarwal
+devicetree: https://github.com/TeamWin/android_device_xiaomi_mido.git
+oem: Xiaomi
+ddof: "/dev/block/bootdevice/by-name/recovery"
+---
+
+{% include disclaimer.html %}
+
+{% include supportstatus.html %}
+
+{% include dmverity.html %}
+
+{% include xiaomiunlock.html %}
+
+{% include appinstall.html %}
+
+{% include download.html %}
+
+{% include twrpinstall.html %}
+
+{% include fastbootinstall.html %}
+
+{% include ddinstall.html %}
diff --git a/_includes/fastbootinstallhtc.html b/_includes/fastbootinstallhtc.html
new file mode 100644
index 0000000..e32a0a2
--- /dev/null
+++ b/_includes/fastbootinstallhtc.html
@@ -0,0 +1,19 @@
+{% capture fastboot %}fastboot{% if page.fastbootvendor %} -i 0x{{ page.fastbootvendor }}{% endif %}{% endcapture %}
+<html>
+<div class='page-heading' id='fastboot-install'>Fastboot Install Method (No Root Required):</div>
+<a id='fastboot'></a>
+<hr />
+<p class="text"><a href="http://developer.android.com/sdk/index.html#linux-bundle-size">You will need the platform-tools from the Android SDK on your computer.</a> Find the Android command line tools section on the page linked and install the SDK tools package. From the SDK Manager, download only the platform-tools to get adb and fastboot binaries.</p>
+<p class="text">Windows users will need proper drivers installed on their computer. You can try the <a href="http://www.xda-developers.com/universal-naked-driver-solves-your-adb-driver-problems-on-windows/">Naked ADB drivers</a> or the <a href="http://www.koushikdutta.com/post/universal-adb-driver">Universal ADB drivers</a> if you don't already have a working driver installed</p>
+<p class="text">On your device, go into Settings -> About and find the Build Number and tap on it 7 times to enable developer settings. Press back and go into Developer Options and enable USB debugging. From your computer, open a command prompt and type:</p>
+<p class="code">adb reboot download</p>
+<p class="text">You should now be in fastboot mode.</p>
+{% if page.fastbootunlock %}
+<p class="text">Your device needs to be unlocked before it can flash custom images. To unlock your device type:</p>
+<p class="code">{{ fastboot }} oem unlock</p>
+{% endif %}
+<p class="text">Download the correct image file and copy the file into the same folder as your adb and fastboot binaries. Rename the image to twrp.img and type:</p>
+<p class="code">{{ fastboot }} flash recovery twrp.img</p>
+<p class="code">{{ fastboot }} reboot</p>
+<p class="text">Note many devices will replace your custom recovery automatically during first boot. To prevent this, use <a href="http://www.google.com">Google</a> to find the proper key combo to enter recovery. After typing <span class="code">{{ fastboot }} reboot</span>, hold the key combo and boot to TWRP. Once TWRP is booted, TWRP will patch the stock ROM to prevent the stock ROM from replacing TWRP. If you don't follow this step, you will have to repeat the install.</p>
+</html>
diff --git a/_posts/2017-03-10-twrp-3.1.0-0-released.markdown b/_posts/2017-03-10-twrp-3.1.0-0-released.markdown
new file mode 100644
index 0000000..ff00497
--- /dev/null
+++ b/_posts/2017-03-10-twrp-3.1.0-0-released.markdown
@@ -0,0 +1,38 @@
+---
+layout: post
+title: "TWRP 3.1.0-0 Released"
+date: 2017-03-10 14:21:42
+categories: site update
+version: 3.1.0-0
+---
+
+TWRP {{ page.version }} is out now for all currently supported devices.
+
+What's new in {{ page.version }}:
+
+ * vold decrypt on a few select HTC devices, TWRP will now attempt to use the system partition's vold and vdc binaries and libraries to decrypt the data partition (nkk71 and CaptainThrowback)
+ * adb backup to stream a backup directly to or from your PC, see documentation here: https://github.com/omnirom/android_bootable_recovery/commit/ce8f83c48d200106ff61ad530c863b15c16949d9 (bigbiff)
+ * tweak MTP startup routines (mdmower)
+ * support new Android 7.x xattrs for backup and restore to fix loss of data after a restore (Dees_Troy)
+ * support POSIX file capabilities backup and restore to fix VoLTE on HTC devices and possibly other issues (Dees_Troy)
+ * better indicate to users that internal storage is not backed up (Dees_Troy)
+ * improve automatic determination of TW_THEME (mdmower)
+ * minimal getcap and setcap support (_that)
+ * try mounting both ext4 and f2fs during decrypt (jcadduono and Dees_Troy)
+ * shut off backlight with power key (mdmower)
+ * timeout during FDE decrypt (Dees_Troy and nkk71)
+ * support for FBE decrypt and backing up and restoring FBE policies (Dees_Troy)
+ * boot slot support (Dees_Troy)
+ * TWRP app install prompt during reboot (Dees_Troy)
+ * support for AB OTA zips (Dees_Troy)
+ * support new Android 7.x log command (Dees_Troy)
+ * update recovery sources to AOSP 7.1 (Dees_Troy)
+ * numerous bugfixes and improvements by too many people to mention
+
+Want to get notifications when we release new versions of TWRP? [Install the TWRP app and select your device!](https://twrp.me/app)
+
+We need your help! The bulk of TWRP work is done by a handful of people on a volunteer basis. We have pushed most of our device files to [our github](http://github.com/TeamWin/) and we have [a gerrit instance](http://gerrit.twrp.me). If you have the ability, please help us maintain our official devices and/or add your device to our official device list. Thanks in advance!
+
+[You can track the progress of builds here](https://jenkins.twrp.me)
+
+Head over to the [devices page](http://twrp.me/Devices) to find install instructions and download links.