James Christopher Adduono | c04964e | 2016-04-26 00:42:04 -0400 | [diff] [blame] | 1 | {% capture fastboot %}fastboot{% if page.fastbootvendor %} -i 0x{{ page.fastbootvendor }}{% endif %}{% endcapture %} |
MSF Jarvis | ce2ee80 | 2016-04-07 16:22:23 +0530 | [diff] [blame] | 2 | <html> |
Patrick Connolly | d151bf8 | 2015-04-13 18:02:33 -0400 | [diff] [blame] | 3 | <div class='page-heading' id='fastboot-install'>Fastboot Install Method (No Root Required):</div> |
MSF Jarvis | ce2ee80 | 2016-04-07 16:22:23 +0530 | [diff] [blame] | 4 | <a id='fastboot'></a> |
bigbiff | d006b30 | 2015-03-06 18:36:03 -0500 | [diff] [blame] | 5 | <hr /> |
theimpulson | 563240b | 2020-01-22 03:32:45 +0000 | [diff] [blame] | 6 | <p class="text"><a href="https://developer.android.com/studio/releases/platform-tools">You will need the platform-tools from the Android SDK on your computer.</a> Download the platform-tools as per your operating system.</p> |
| 7 | <p class="text">Windows users will need proper drivers installed on their computer. You can try the <a href="https://forum.xda-developers.com/android/software-hacking/live-iso-adb-fastboot-driver-issues-t3526755" target=_blank>simple FWUL adb/fastboot ISO</a> or the <a href="https://forum.xda-developers.com/google-nexus-5/development/adb-fb-apx-driver-universal-naked-t2513339">Naked ADB drivers</a> or the <a href="https://adb.clockworkmod.com/">Universal ADB drivers</a> if you don't already have a working driver installed</p> |
bigbiff | d006b30 | 2015-03-06 18:36:03 -0500 | [diff] [blame] | 8 | <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> |
James Christopher Adduono | 743773d | 2016-04-26 01:31:33 -0400 | [diff] [blame] | 9 | <p class="code">adb reboot bootloader</p> |
James Christopher Adduono | c04964e | 2016-04-26 00:42:04 -0400 | [diff] [blame] | 10 | <p class="text">You should now be in fastboot mode.</p> |
| 11 | {% if page.fastbootunlock %} |
| 12 | <p class="text">Your device needs to be unlocked before it can flash custom images. To unlock your device type:</p> |
James Christopher Adduono | 743773d | 2016-04-26 01:31:33 -0400 | [diff] [blame] | 13 | <p class="code">{{ fastboot }} oem unlock</p> |
James Christopher Adduono | c04964e | 2016-04-26 00:42:04 -0400 | [diff] [blame] | 14 | {% endif %} |
theimpulson | 563240b | 2020-01-22 03:32:45 +0000 | [diff] [blame] | 15 | <p class="text">Download the correct image file and copy the file into the same folder as your platform-tools. Rename the image to twrp.img and type:</p> |
James Christopher Adduono | 743773d | 2016-04-26 01:31:33 -0400 | [diff] [blame] | 16 | <p class="code">{{ fastboot }} flash recovery twrp.img</p> |
| 17 | <p class="code">{{ fastboot }} reboot</p> |
theimpulson | 563240b | 2020-01-22 03:32:45 +0000 | [diff] [blame] | 18 | <p class="text">Note many devices will replace your custom recovery automatically during first boot. To prevent this, use <a href="https://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> |
James Christopher Adduono | c04964e | 2016-04-26 00:42:04 -0400 | [diff] [blame] | 19 | </html> |