blob: 9b544027795186593ec0c05d68454f88a401466d [file] [log] [blame]
Captain Throwback0e2288c2022-11-11 16:00:45 -05001---
2layout: device
3title: "ASUS ZenFone 9"
4codename: AI2202
5oem: ASUS
6downloadfolder: AI2202
7supportstatus: Current
8maintainer: Captain_Throwback
9commontree: https://github.com/TeamWin/android_device_asus_sm84xx-common
10devicetree: https://github.com/TeamWin/android_device_asus_AI2202
11zuliptopic: https://twrp.zulipchat.com/#narrow/stream/290973-support-device/topic/ASUS.20ZenFone.209
Captain Throwback53da14c2022-12-24 10:21:04 -050012xdathread: https://forum.xda-developers.com/t/recovery-official-twrp-for-asus-zenfone-9.4518025
Captain Throwback0e2288c2022-11-11 16:00:45 -050013---
14
15
16{% include disclaimer.html %}
17
18
19{% include supportstatus.html %}
20
21
22{% include dynamicpartitions.html %}
23
24
Captain Throwback0e2288c2022-11-11 16:00:45 -050025{% include download.html %}
26
27
28{% include twrpinstall.html %}
29<b>NOTE:</b> By default, only the current slot will be flashed. Checking the "Flash to both slots" box will flash to both the active and inactive slots.
30
31
32<html>
33<div class='page-heading' id='fastboot-install'>Fastboot Install Method (No Root Required):</div>
34<a id='fastboot'></a>
35<hr />
36<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>
37<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>
38<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>
39<p class="code">adb reboot bootloader</p>
40<p class="text">You should now be in fastboot mode.</p>
Captain Throwback4f07a5b2022-11-12 19:35:11 -050041<p class="text">Your device needs to be unlocked before it can flash custom images. To unlock your device, use <a href="https://www.asus.com/us/supportonly/zenfone%209/helpdesk_download/">the official ASUS app</a>.</p>
Captain Throwback0e2288c2022-11-11 16:00:45 -050042<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>
Captain Throwback53da14c2022-12-24 10:21:04 -050043<p class="code">fastboot flash recovery twrp.img</p>
Captain Throwback0e2288c2022-11-11 16:00:45 -050044<p class="code">fastboot reboot</p>
Captain Throwback53da14c2022-12-24 10:21:04 -050045<b>NOTE:</b> Only the current slot will be flashed!
Captain Throwback0e2288c2022-11-11 16:00:45 -050046</html>
47
48
49<html>
50<div class='page-heading'>dd Install Method (Requires Root):</div>
51<a id='dd'></a>
52<hr />
53<p class="text">Download the latest image file (.img) from the download link above. Place it in the root of your /sdcard folder and rename it to twrp.img. Run the following commands via adb shell or a terminal emulator app:</p>
54<p class="code">su</p>
55<p class="code">dd if=/sdcard/twrp.img of=/dev/block/by-name/recovery_a</p>
56<p class="code">dd if=/sdcard/twrp.img of=/dev/block/by-name/recovery_b</p>
57</html>
58