blob: 1aab0578ba0aede95b820075de5e5a0e65d283ac [file] [log] [blame]
DevUt5d831b42016-12-31 13:24:32 +05301---
2layout: device
steadfasterX58b56402017-05-20 21:27:50 +02003title: "LG G4"
4codename: H811, H815
steadfasterX47c6f762017-06-14 13:24:22 +02005downloadfolder: g4
DevUt5d831b42016-12-31 13:24:32 +05306supportstatus: Current
7maintainer: steadfasterX
8oem: LG
steadfasterX47c6f762017-06-14 13:24:22 +02009devicetree:
DevUt5d831b42016-12-31 13:24:32 +053010ddof: "/dev/block/bootdevice/by-name/recovery"
11xdathread: ""
14{% include disclaimer.html %}
16{% include supportstatus.html %}
17NOTE: You must unlock the bootloader first before installing TWRP!
19{% include appinstall.html %}
21<div class='page-heading'>Download Links:</div>
22<hr />
steadfasterX58b56402017-05-20 21:27:50 +020023<p class="text">LG G4 (any model):</p>
DevUt5d831b42016-12-31 13:24:32 +053024<ul>
25{% for mirror in %}
26 <li>
steadfasterX47c6f762017-06-14 13:24:22 +020027 <a href="{{ mirror.baseurl }}g4">
DevUt5d831b42016-12-31 13:24:32 +053028 {{ mirror.description }}
29 </a>
30 </li>
31{% endfor %}
steadfasterX3de11192017-06-13 16:05:04 +020034<div class='page-heading' id='unlock'>Unlock your device:</div>
steadfasterXa8217cd2017-02-15 15:36:33 +010035<hr />
steadfasterX3de11192017-06-13 16:05:04 +020036<p class="text">The recommended way is to use <a href="" 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>
steadfasterX58b56402017-05-20 21:27:50 +020037<p class="text">If you still want to use Windows <a href="">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>
38<p class="text">Windows users will also need proper drivers installed on their computer. You can try the <a href="">Naked ADB drivers</a> or the <a href="">Universal ADB drivers</a> if you don't already have a working driver installed</p>
39<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="">TWRP-in-FIsH for all locked G4 devices like: H810, H812, H818, ...</a>)</p>
steadfasterX3de11192017-06-13 16:05:04 +020040<p class="text">To unlock your device you have to go to: <a href="" target=_blank></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>
42<div class='page-heading' id='fastboot-install'>Fastboot Installation Method (RECOMMENDED method! No Root Required):</div>
43<hr />
44<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>
steadfasterXa8217cd2017-02-15 15:36:33 +010045<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>
bigbiff bigbiff73752522017-02-20 18:11:14 -050046<p class="code">fastboot boot twrp.img</p>
steadfasterXa8217cd2017-02-15 15:36:33 +010047<p class="text">This will boot up TWRP but for the moment in memory only. To complete the installation and making it persistent:</p>
steadfasterX3de11192017-06-13 16:05:04 +020048<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>
49<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>
50<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 />
51or in an Android terminal app just execute: <i><b>reboot recovery</b></i></p>
52<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>
54<div class='page-heading'>Boot into TWRP with a key combination:</div>
55<hr />
56<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>
57<p class="text">After installing TWRP correctly, you will still have the original LG factory reset screen/menu booting before TWRP, every time! So the correct and only way to get into TWRP with a key combo is to select <b>two times "Yes"</b> in the official LG factory reset menu, and only then you will get into TWRP (This a restriction by LG. There is no key combo available in some / all / most LG devices to boot directly into recovery and so TWRP).</p>
58<p class="text">Power down and pull out the battery. Do not forget to remove any USB cable. <br />
59Press power down and hold it down. Put battery back while keeping vol down pressed. Press power button and keep now both buttons pressed. Directly you see the LG logo the first time just release <b>only</b> the power button for 1 second ( do not release vol down ) and then press power again and keep both pressed until you see the factory reset screen. Proceed like you would to the factory reset (as long as TWRP is installed it will not reset but just open TWRP instead).
steadfasterXa8217cd2017-02-15 15:36:33 +010061
DevUt5d831b42016-12-31 13:24:32 +053062{% include twrpinstall.html %}
64{% include ddinstall.html %}