As a beginner, I have one of the first questions: there is a unlocked loader. New firmware came out - how to upgrade with minimum jambs?
A clear answer in the header did not find, so, independently sobering, public
Hyde for the normal update of the official firmware .
one). On the memory card, you throw the TWRP latest version taken
from here, firmware from office,
decrypt.zip(176.42 KB)
for Android 8 or
decrypt-pie.zip(388.94 KB)
For Android 9.
2). (Optional) Make a backup via TWRP. TWRP during backup does not copy the built-in memory (/ SDCARD). To get around this: Rename / Data / Media ->Create backup. After recovery, you will need to rename back.
3). Refresh TWRP.
Sew in FastBoot mode (volume button up + shutdown button) via the terminal command
FastBoot Flash Recovery TWRP- [Version Title] .img
After the TWRP firmware, you need to immediately boot into it and do not allow the device to first load into the initial screen, otherwise the stock recovery will be restored! (To do this, it is necessary to press the "volume down + button to turn off" and how only the device is dependent, immediately throw the "Shutdown" button \ Inclusion ", while continuing to hold the" volume down "button until you see the first TWRP window.
4). From TWRP we flash the new firmware, after cleaning Cache / Dalvik, do not reboot
If not stitched:
In zip with firmware We go along the path Meta-Inf \ COM \ Google \ Android and open the Updater-script file in NotePad ++
Further in this file we find and delete these lines:
(! less_than_int (1531404233, getprop ("ro.build.date.utc"))) || abort ("E3003: Can't install this package (Thu Jul 12 22:03:53 CST 2018) over newer build (" + getprop ("ro.build.date") + ").");
containprop (getprop ("ro.product.device")) || abort ("E3004: This package is for \" ASUS_X00TD \ "devices; this is a \" "+ getprop (" ro.product.device ") +" \ ".");
getprop ("ro.build.asus.sku") == "WW" || abort ("E3009: This package is for sku: \" WW \ "; this is a sku: \" "+ getprop (" ro.build.asus.sku ") +" \ ".");
The file now starts with rows:
ui_print ("Target: Android / sdm660_64 / sdm660_64: 8.1.0 / OPM1 / 15.2016.1805.318-20180712: user / release-keys");
show_progress (0.650000, 0);
etc (tsifirki is the firmware numbers that modify (make sure that!)
5). Reboot in TWRP.
6). Unmount-mount Data, System and Cache. For Android 9 Mount VENDOR.
7). We flash Decrypt.zip for Android 8 or decrypt-pie.zip for Android 9.
If for any reason in TWRP will request a password after the decrypt.zip firmware, then only with the removal of data:
Install PIN in Android
Loading in TWRP, enter the PIN code
A new block device will be created (/ dev / block / shovela), if not remembered name - look here: adb shell df / data
ADB Pull / Dev / Block / Shots of UserData.img
reboot into TWRP
We click Cancel \ Cancel in TWRP, then go to the TWRP main screen and there we press Wipe-Advanced Wipe to put a tick to the Data point and at the bottom of the swipe to remove DATA.
reboot into TWRP
We look at the new block name: ADB Shell DF / DATA
adb push userdata.img / dev / block / newtenance
reboot into TWRP
Return to p.6.
5). We flash Magisk via TWRP