blob: 6019cb077ba13a85fe1157bd110a8412b6764678 [file] [log] [blame]
DevUt5d831b42016-12-31 13:24:32 +05301---
2layout: device
steadfasterX58b56402017-05-20 21:27:50 +02003title: "LG G4"
4codename: H811, H815
5downloadfolder: lgg4
DevUt5d831b42016-12-31 13:24:32 +05306supportstatus: Current
7maintainer: steadfasterX
8oem: LG
10ddof: "/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>
steadfasterX58b56402017-05-20 21:27:50 +020027 <a href="{{ mirror.baseurl }}lgg4">
DevUt5d831b42016-12-31 13:24:32 +053028 {{ mirror.description }}
29 </a>
30 </li>
31{% endfor %}
steadfasterXa8217cd2017-02-15 15:36:33 +010034<div class='page-heading' id='fastboot-install'>Unlocking + Fastboot Install Method (No Root Required):</div>
35<a id='fastboot'></a>
36<hr />
steadfasterX58b56402017-05-20 21:27:50 +020037<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.</p>
38<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>
39<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>
40<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>
41<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. You can NOT proceed withouth completing this step!</p>
steadfasterXa8217cd2017-02-15 15:36:33 +010042<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 -050043<p class="code">fastboot boot twrp.img</p>
steadfasterXa8217cd2017-02-15 15:36:33 +010044<p class="text">This will boot up TWRP but for the moment in memory only. To complete the installation and making it persistent:</p>
45<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>
46<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>
47<p class="text">done. You can now reboot into recovery again to check it has worked.</p>
bigbiff bigbiff73752522017-02-20 18:11:14 -050048<p class="text">Note many devices will replace your custom recovery automatically during first boot. To prevent this, use the key combo <a href="" 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>
steadfasterXa8217cd2017-02-15 15:36:33 +010049
DevUt5d831b42016-12-31 13:24:32 +053050{% include twrpinstall.html %}
52{% include ddinstall.html %}