important adjustments
Change-Id: Ieedb085ec2df07d7a96d68992ffe60ea29b18943
fix: install guide misleading
new: adding a N install guide as it differs a lot
fix: some cosmetics and making things more clear
diff --git a/_lg/lgg4.markdown b/_lg/lgg4.markdown
index 1aab057..55fc574 100644
--- a/_lg/lgg4.markdown
+++ b/_lg/lgg4.markdown
@@ -16,8 +16,44 @@
{% include supportstatus.html %}
NOTE: You must unlock the bootloader first before installing TWRP!
+<div class='page-heading' id='unlock'>Unlock your device:</div>
+<hr />
+<p class="text">The recommended way is to use <a href="https://forum.xda-developers.com/android/software-hacking/live-iso-adb-fastboot-driver-issues-t3526755" target=_blank>FWUL - a simple adb/fastboot ISO</a> which has all drivers etc included and provides an easy and ready-to-use adb environment.</p>
+<p class="text">Consider a full backup in Download Mode with <a href="https://bit.do/SALTatXDA" target=_blank>SALT</a> first before you begin..</p>
+<p class="text">If you still want to use Windows <a href="http://developer.android.com/sdk/index.html#linux-bundle-size">you will need the platform-tools from the Android SDK</a> on your computer. 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 also 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">Your device needs to be officially unlocked by LG before it can flash custom images! (Hint: There is a <b>completely unsupported method</b> available for locked devices here: <a href="https://forum.xda-developers.com/g4/development/locked-twrpinfish-locked-g4-devices-t3573048">TWRP-in-FIsH for all locked G4 devices like: H810, H812, H818, ...</a>)</p>
+<p class="text">To unlock your device you have to go to: <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 onece received. You can NOT proceed without completing this step!</p>
+
{% include appinstall.html %}
+<div class='page-heading' id='fastboot-install-lpmm'>Fastboot Installation Method (LP/MM bootloader - for N bootloader scroll down!):</div>
+<hr />
+<p class="text">This method works <b>only</b> when you have a <b>Lollipop or Marshmallow</b> bootloader / ROM installed! If you have flashed <b>Nougat</b> scroll down to the next topic!</p>
+<p class="text">TWRP requires an unlocked device - read the above topic and ensure you have your device unlocked and <b>adb/fastboot</b> ready (read above topic if not)!</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="text">This will boot up TWRP but for the moment in <i>memory</i> only. To complete the installation and making it persistent:</p>
+<p class="text">Copy the twrp.img to your device <u>while still in twrp</u> (e.g. with a file explorer or by typing <i>adb push twrp.img /sdcard</i>)</p>
+<p class="text">Flash the twrp.img with the twrp GUI to the <b>recovery(!)</b> partition (choose the button at the bottom named <b>'Image'</b> to display the copied image)</p>
+<p class="text">Android would <b>overwrite</b> TWRP on boot so: you need to boot TWRP once again <b>NOW</b>: Choose Reboot -> <b>Recovery</b><br />
+or on your PC type: <i><b>adb reboot recovery</b></i></p>
+<p class="text">If you see TWRP afterwards then you are safe to use the key combo described in the next topic. If NOT: <b>RE-DO all steps!</b> DO <b>NOT</b> USE THE KEY COMBO described in the next topic until the reboot into recovery worked!</p>
+
+<div class='page-heading' id='fastboot-install-n'>Fastboot Installation Method (N bootloader - for LP/MM bootloader scroll up!):</div>
+<hr />
+<p class="text">This method works <b>only</b> when you have a <b>Nougat</b> bootloader / ROM installed! If you have flashed <b>Lollipop or Marshmallow</b> scroll up to the previous topic!</p>
+<p class="text">Consider a full backup with <a href="https://bit.do/SALTatXDA" target=_blank>SALT</a> first before you begin..</p>
+<p class="text">TWRP requires an unlocked device - read the above topic and ensure you have your device unlocked and <b>adb/fastboot</b> ready (read above topic if not)!</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 flash recovery twrp.img</p>
+<p class="text">There is no 100% way to verify your TWRP installation on the N bootloader so you have to take the risk (did you made a SALT backup before?) but ensure you follow this next step briefly:</p>
+<p class="text">Take out the battery and disconnect the USB cable. Now follow the topic: <i><b>Boot into TWRP with a key combination</b></i> (as you can not verify the TWRP installation just do it). If you skip this step and boot into Android before doing this TWRP will be overwritten by Android so it is <b>crucial</b> important to do this step above <b>directly after flashing TWRP</b>!! if you miss it you will have to flash TWRP <b>again!</b></p>
+<p class="text">If all went well TWRP should boot up.</p>
+<p class="text">Android would <b>overwrite</b> TWRP on boot so: you need to boot TWRP once again <b>NOW</b>: Choose Reboot -> <b>Recovery</b><br />
+or on your PC type: <i><b>adb reboot recovery</b></i></p>
+<p class="text">If you see TWRP afterwards again then you are safe to use the key combo described in the next topic. If NOT: <b>RE-DO all steps!</b> DO <b>NOT</b> USE THE KEY COMBO described in the next topic until the reboot into recovery worked!</p>
+
<div class='page-heading'>Download Links:</div>
<hr />
<p class="text">LG G4 (any model):</p>
@@ -31,26 +67,6 @@
{% endfor %}
</ul>
-<div class='page-heading' id='unlock'>Unlock your device:</div>
-<hr />
-<p class="text">The recommended way is to use <a href="https://forum.xda-developers.com/android/software-hacking/live-iso-adb-fastboot-driver-issues-t3526755" target=_blank>FWUL - a simple adb/fastboot ISO</a> which has all drivers etc included and provides an easy and ready-to-use adb environment.</p>
-<p class="text">If you still want to use Windows <a href="http://developer.android.com/sdk/index.html#linux-bundle-size">you will need the platform-tools from the Android SDK</a> on your computer. 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 also 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">Your device needs to be officially unlocked by LG before it can flash custom images! (Hint: There is a <b>completely unsupported method</b> available for locked devices here: <a href="https://forum.xda-developers.com/g4/development/locked-twrpinfish-locked-g4-devices-t3573048">TWRP-in-FIsH for all locked G4 devices like: H810, H812, H818, ...</a>)</p>
-<p class="text">To unlock your device you have to go to: <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 onece received. You can NOT proceed without completing this step!</p>
-
-<div class='page-heading' id='fastboot-install'>Fastboot Installation Method (RECOMMENDED method! No Root Required):</div>
-<hr />
-<p class="text">TWRP requires an unlocked device - read the above topic and ensure you have your device unlocked and <b>adb/fastboot</b> ready (read above topic if not)!</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="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 <i>adb push twrp.img /sdcard</i>)</p>
-<p class="text">Flash the twrp.img with the twrp GUI to the recovery(!) partition (choose the button at the bottom named <b>'Image'</b> to display the copied image)</p>
-<p class="text">It is highly recommended to verify your TWRP installation by booting into Android <b>NOW</b>. When Android is booted up execute: <i><b>adb reboot recovery</b></i><br />
-or in an Android terminal app just execute: <i><b>reboot recovery</b></i></p>
-<p class="text">If you see TWRP afterwards then you are safe to use the key combo described in the next topic. If NOT: <b>RE-DO all steps!</b> DO <b>NOT</b> USE THE KEY COMBO described in the next topic until the reboot into recovery worked!</p>
-
<div class='page-heading'>Boot into TWRP with a key combination:</div>
<hr />
<p class="text">Ensure you have validated the TWRP installation first! Check the above topic and proceed when verification was successful <b>only</b>!<p>