Root & Recovery

How to Install OTA update with TWRP on Zenfone 2

Preferably, to install an OTA update on your Asus Zenfone 2, you should be on a stock framework firmware with stock recovery and no root. Notwithstanding, huge numbers of us like to keep our devices rooted for Xposed system and other useful/fun stuff root access permits on Android.

So what do you do when you have an OTA update to install for your Zenfone 2, however you can’t install it because your device is rooted. All things considered, there are is a speedy workaround. Also, it is a somewhat long procedure to pursue. The following is an introduction of what we’ll be doing to make your rooted Zenfone 2 (with TWRP) perfect with the OTA update zip.

How to Install OTA update with TWRP on Zenfone 2

Prelude:

  • Unroot your Zenfone 2
  • Uninstall Xposed system
  • Alter OTA update dash to make it good with TWRP recovery

Also See: How to SIM Unlock Galaxy S6 and S6 edge

How to Install OTA update using TWRP

1: Download/Save the OTA update

If you downloaded the OTA update from the update notification, you can discover the OTA update under/store index with “dlpkg” file name. Copy the dlpkg file to your device stockpiling and rename it to update.zip.

Or then again you can simply download the OTA update hurdle from different gatherings on the web where Zenfone 2 is talked about like xda and Asus’ authentic discussions.

2: Unroot your Zenfone 2

The main thing you have to do to install OTA update is to unroot your Zenfone 2. For this, open SuperSU app » select Settings tab » and after that select “Full unroot” to for all time unroot the device and expel all hints of it from framework.

3: Uninstall Xposed Framework

If you’ve Xposed installed on your Zenfone 2, you have to totally uninstall it to install the OTA update.

Download the Xposed Uninstaller x86 compress file and flash it from TWRP recovery to securely uninstall Xposed.

Note: For updated Xposed uninstaller, go to the authority xposed string and download the xposed-uninstaller-xxx-x86.zip file.

4: Modify OTA update zip

Now you have to modify the updater content on the OTA update zoom to make it good with TWRP.

To begin with, unfasten/remove the OTA update compress file that you spared/downloaded in Step 1. From the extricated files and folders go to META-INF/com/google/android/registry and open updater-content file from there.

Tip: If you’re altering the file on PC, we suggest using Notepad++, or if you’re on versatile use either DroidEdit or Turbo Editor.

When you’ve updater-script opened, expel the accompanying lines from the file (second to fifth):

getprop("ro.build.fingerprint") == "asus/WW_Z00A/Z00A:5.0/LRX21V/2.20.40.90_20150903_4959_user:user/discharge keys" ||
getprop("ro.build.fingerprint") == "asus/WW_Z00A/Z00A:5.0/LRX21V/2.20.40.97_20150917_1572_user:user/discharge keys" ||
abort("Package expects fabricate unique mark of asus/WW_Z00A/Z00A:5.0/LRX21V/2.20.40.90_20150903_4959_user:user/discharge keys or asus/WW_Z00A/Z00A:5.0/LRX21V/2.20.40.97_20150917_1572_user:user/discharge keys; this device has " + getprop("ro.build.fingerprint") + ".");
getprop("ro.product.device") == "Z00A" || abort("This bundle is for \"Z00A\" devices; this is a \"" + getprop("ro.product.device") + "\".");

In the wake of rolling out the improvements, your updater-script file should start with this code.

mount("ext4", "EMMC", "/dev/hinder/by-name/framework", "/framework", "max_batch_time=0,commit=1,data=ordered,barrier=1,errors=panic,nodelalloc");

ui_print("Verifying current system...");

When you’re certain you made changes effectively. Spare the updater-script file and repackage the all extricated files and folders into another update.zip file.

5: Flash the modified OTA update zip by means of TWRP

At long last in the wake of unrooting, evacuating Xposed and modifying OTA zip, you would now be able to install the OTA update with TWRP recovery.

Simply boot into TWRP and flash the OTA update zip like you’d flash some other zip using the recovery.

Expectation you discover the directions above supportive.

About the author

Huda Zaidi

Leave a Reply