Unroot and relock bootloader Asus Zenfone Max Pro M2 - Asus Zenfone Max Pro M2 Guides, News, & Discussion

Disclaimer :
I am not responsible for bricked devices, dead SD cards,
thermonuclear war, or you getting fired because the alarm app failed.
If you point the finger at me for messing up your device, I will laugh at you. Hard. A lot​
<Device will be formatted, so keep a backup >
Requirements :
Unofficially unlocked, Rooted Asus Zenfone Max Pro M2 with TWRP installed
Windows / Linux
Instructions :
//relocking
- Download the latest OTA firmware from Asus official website [turn off your VPN and head to asus.com > Products > Phones > Zenfone Max > Zenfone Max Pro (M2) > SUPPORT > Drivers and tools > Bios and Firmware ]
- Extract the firmware zip and go to > META-INF > com > google > android
- open updater-script with a note editor preferably notepad++
- Remove all the lines (assert/abort lines) above the code
Code:
ui_print("Target: Android/sdm660_64/sdm660_64:X.X.X/XXXX/XX.20XX.XXXX.XXX-20XXXXXX:user/release-keys");
You should be very carefull that you downloaded the correct(sku) firmware for your device, else doing this might brick your device
- Save it, rezip the firmware and copy it to sdcard
- Download and extract "Relock" zip
- Copy stockrecovery.img to sdcard
- Go to "adb + asus drivers" folder and install ADB and necessary drivers
- Flash TWRP, if you are on any other recovery
- Boot into recovery > install > flash the firmware zip
- Reboot to recovery, if custom recovery comes again, install > image file > stockrecovery.img > as recovery > flash > Reboot to bootloader
- Go to "relock" folder, open an elevated command prompt (admin) and enter :
Code:
fastboot devices
(device should be listed)
now execute relock_bl.cmd (windows) or ./relock.sh (linux)
Device will boot up without unlocked bootloader warning.
To check if bootloader is locked, go to fastboot and enter :
Code:
fastboot oem device-info
Thats it, bootloader relocked!
Credits
@Sudeep Duhoon
@legacy07
Downloads:
Relocker
TWRP

Was wondering if it is possible to not have that "bootloader is been unlocked" or something warning while booting the phone. I remember it was possible on Zenfone 2 by flashing some splash.img

Instead of newness trying to edit the firmware and end up in bricking their phone, one of you experts can edit the Indian version firmware zip and upload in any of the mirrors ...

arth_vish said:
Instead of newness trying to edit the firmware and end up in bricking their phone, one of you experts can edit the Indian version firmware zip and upload in any of the mirrors ...
Click to expand...
Click to collapse
Xda is all about learning all the best :good:

Has any Indian user successfully unofficially unlocked bootloader and relocked it.
Please Confirm

sachinm said:
Has any Indian user successfully unofficially unlocked bootloader and relocked it.
Please Confirm
Click to expand...
Click to collapse
Yes

as right now, only firmware for India SKU is released on official Asus website.
I wonder when will Asus push FOTA for another country

Is this work with another Sku or only indian?

Aljavary said:
Is this work with another Sku or only indian?
Click to expand...
Click to collapse
The method will work but you will need the stock rom for your region.

relock.sh for linux system. Just put it in relock folder and Rename relock.txt to relock.sh then run(sudo ./relock.sh) through the terminal(sudo chmod -R +777 relock.sh ===> run this before running relock.sh). Say thanks if you want.

hello, can anyone here please post the link of this "latest OTA firmware from Asus official website"? i have unlocked my phone unofficially and now wants to relock it. but cant find that official ota link. thanks.
my current firmware is OPM1.WW_Phone-15.2016.1812.179-20181227

Farhadul Haque said:
hello, can anyone here please post the link of this "latest OTA firmware from Asus official website"? i have unlocked my phone unofficially and now wants to relock it. but cant find that official ota link. thanks.
my current firmware is OPM1.WW_Phone-15.2016.1812.179-20181227
Click to expand...
Click to collapse
Go to asus.com > Products > Phones > Zenfone Max > Zenfone Max Pro (M2) > SUPPORT > Drivers and tools > Bios and Firmware
There you could find your firmware

#ArtFuL said:
Go to asus.com > Products > Phones > Zenfone Max > Zenfone Max Pro (M2) > SUPPORT > Drivers and tools > Bios and Firmware
There you could find your firmware
Click to expand...
Click to collapse
i already checked there. but its empty. there is no firmware file there at present. how did u guys download the firmware? there is nothing on that page.

Farhadul Haque said:
i already checked there. but its empty. there is no firmware file there at present. how did u guys download the firmware? there is nothing on that page.
Click to expand...
Click to collapse
Well, then Asus hasn't released the firmware for your country. Wait for it.

#ArtFuL said:
Well, then Asus hasn't released the firmware for your country. Wait for it.
Click to expand...
Click to collapse
oh ok, thank u. i have an international version.

edit; wrong thread sorry

vjbenn said:
hello thanks for tutorial
I following every step until unlocking bootloader (I dont know how to check it if my bootloader unlock properly?)
Then when installing twrp, this command appear
Code:
sending 'recovery' (59492 KB)...
FAILED (remote: Requested download size is more than max allowed
anyone facing this issue? how to solve it? thanks
Click to expand...
Click to collapse
This can happen if
1. Your adb drivers are not properly installed. You might need to reinstall the drivers
2. Bootloader may not be unlocked properly
3. You may not be flashing the right recovery file

#ArtFuL said:
This can happen if
1. Your adb drivers are not properly installed. You might need to reinstall the drivers
2. Bootloader may not be unlocked properly
3. You may not be flashing the right recovery file
Click to expand...
Click to collapse
I realized post at wrong thread :silly:
I never had issue before with another phone. try restart my PC, uninstall reinstall driver, try all my USB port, change USB cables, still didn't make it. Seems Google can't help me
And this happen if I type on cmd "fastboot devices" and then "fastboot flash recovery blabla.img"
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I'm on Windows 10 x64 + latest update from Asus + official unlock bootloader

when i want to flash there a error notif "updater process ended with error:7 error installing zip file" bla bla bla, what should i do to fix it?

Aljavary said:
when i want to flash there a error notif "updater process ended with error:7 error installing zip file" bla bla bla, what should i do to fix it?
Click to expand...
Click to collapse
Inside the zip go to meta inf and open updater script and remove the lines starting with assert and abort at the beginning and save it.

Related

How to Root Desire EYE [Simple Guide]

Rooting your device may cause loss of warranty.
1. Check your device model - This guide is for HTC Desire Eye and its variants including AT&T Model and International Unlocked Model only.
2. Backup - Backup is mandatory since bootloader unlock will erase your device to factory.
Requirentments- First you should have bootloader unlocked device. (Please visit "http://www.htcdev.com/bootloader" to unlock your bootloader)
Installed ADB Drivers and files - tool can found here, link - https://drive.google.com/file/d/0B9SWmcUAdoOnOVpITTVtcFZUZUk/view?usp=sharing
Download your recovery.img here, link - https://drive.google.com/file/d/0B9SWmcUAdoOnc3hOLXpWVVFIc2c/view?usp=sharing
Super SU & binary here, link - http://download.chainfire.eu/593/SuperSU/BETA-SuperSU-v2.19.zip?retrieve_file=1
Put recovery.img to your ADB folder in PC, and super su to your mobile.
3. Now start command line in the ADB folder where your files located in the PC (Right click + hold down Shift) then "Open command window here"
Guide - http://www.tech-recipes.com/rx/232/right-click-to-open-a-command-prompt/
4. Run following commands to flash recovery.img to your device ( this will replace your original recovery)
fastboot flash recovery recovery.img
Simple.. Now reboot into recovery by pressing power+vol down, then select recovery in the loading screen (if you have any issues rebooting into loader screen please try after disable quick boot in power settings).
5. Now flash your Super SU (Zip) transferred to your mobile by selecting in the recovery.
Everything good to go after reboot.....!!!!
I flashed the recovery image and it keeps coming up with a little screen with a red triangle,any ideas? thanks
pimpsuprazx said:
I flashed the recovery image and it keeps coming up with a little screen with a red triangle,any ideas? thanks
Click to expand...
Click to collapse
Bootloader unlocked?
Can you post a screenshot (PIC) ?
That what happened after flashing the recovery.img and booting into recovery:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
johnyboo said:
That what happened after flashing the recovery.img and booting into recovery:
Click to expand...
Click to collapse
Same problem here.. Really sad.. Was the recovery image working???
jolishj said:
Same problem here.. Really sad.. Was the recovery image working???
Click to expand...
Click to collapse
Odd that there a few having problems. I s-off'd and had this recovery installed very easily. Are you all still having problems?
unforseenenemy said:
Odd that there a few having problems. I s-off'd and had this recovery installed very easily. Are you all still having problems?
Click to expand...
Click to collapse
the same issue here
like the recovery is not compatible
Try using the recovery found here: http://forum.xda-developers.com/desire-eye/development/recovery-twrp-2-8-4-0-htc-desire-eye-t3008442
I have rooted my phone, But when I uninstall any system app using system app remover after restarting app will be back, and I can't uninstall them.
What's the problem??
karo222 said:
I have rooted my phone, But when I uninstall any system app using system app remover after restarting app will be back, and I can't uninstall them.
What's the problem??
Click to expand...
Click to collapse
System write protection.
There is a mod to disable that here: http://forum.xda-developers.com/des...e-disable-write-protection-v1-0-tool-t2966850
Or use a custom ROM, those have it disabled already.
I went through all the necessary steps. Only thing/issue now is the actual flashing of the root file. It will not take. Anyone else have this issue? Is there a way to get the necessary binary or whatever it's asking for? Thank you in advance.
-Carlos
I have exactly the same issue
hondalude89 said:
I went through all the necessary steps. Only thing/issue now is the actual flashing of the root file. It will not take. Anyone else have this issue? Is there a way to get the necessary binary or whatever it's asking for? Thank you in advance.
-Carlos
Click to expand...
Click to collapse
Only you have to Download BETA-SuperSU-v2.71-20160331103524.zip and flash it. Issue Solved
I did all the steps and everythign went fine, but then I downloaded a RootChecker app and it says I dont have root access. How can I make sure everything worked? NVM I GOT IT FIXED THANX ALOT FOR THIS POST!!!
Shameera_N said:
Rooting your device may cause loss of warranty.
1. Check your device model - This guide is for HTC Desire Eye and its variants including AT&T Model and International Unlocked Model only.
2. Backup - Backup is mandatory since bootloader unlock will erase your device to factory.
Requirentments- First you should have bootloader unlocked device. (Please visit "http://www.htcdev.com/bootloader" to unlock your bootloader)
Installed ADB Drivers and files - tool can found here, link - https://drive.google.com/file/d/0B9SWmcUAdoOnOVpITTVtcFZUZUk/view?usp=sharing
Download your recovery.img here, link - https://drive.google.com/file/d/0B9SWmcUAdoOnc3hOLXpWVVFIc2c/view?usp=sharing
Super SU & binary here, link - http://download.chainfire.eu/593/SuperSU/BETA-SuperSU-v2.19.zip?retrieve_file=1
Put recovery.img to your ADB folder in PC, and super su to your mobile.
3. Now start command line in the ADB folder where your files located in the PC (Right click + hold down Shift) then "Open command window here"
Guide - http://www.tech-recipes.com/rx/232/right-click-to-open-a-command-prompt/
4. Run following commands to flash recovery.img to your device ( this will replace your original recovery)
fastboot flash recovery recovery.img
Simple.. Now reboot into recovery by pressing power+vol down, then select recovery in the loading screen (if you have any issues rebooting into loader screen please try after disable quick boot in power settings).
5. Now flash your Super SU (Zip) transferred to your mobile by selecting in the recovery.
Everything good to go after reboot.....!!!!
Click to expand...
Click to collapse
It is not working on my HTC DESIRE EYE
Error: The code execution cannot proceed because RAPI.DLL was not found.
Troubleshooting steps:
1. Make sure the downloaded file is unzipped
2. USB Debugging enabled
3. On my phone i selected the option, USE USB FOR: "usb file transfer"
4. On my phone I also tried selecting the option, USE USB FOR: "CD Installer"
5. Restart Phone, Mobile and the downloaded file

[STOCK] D851 30D KDZ + Flashable ZIPs + All IMGs (Marshmallow!!)

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
T-Mobile LG G3 D851 30D​
This thread covers various methods of installing both stock and stock rooted Marshmallow 6.0 30D onto the T-Mobile LG G3 D851.​​
Information:
30D is the first official Marshmallow Android 6 update for the T-Mobile LG G3.
It was first released in KDZ form the morning of April 27 2016.
Official update methods include both an OTA update from 20G to 30D and a KDZ update through the LG Mobile Support Tool.
The bootloader is still unlocked with no sort of OEM Unlock toggle. Still no bootloader/fastboot mode.
Kingroot can temp-root 30D! At least 1 Marshmallow build will always have root. Not very secure... but good for modders.
Android Version: 6.0
Android security patch level: 2016-04-01
Baseband version: MPSS.DI.2.0.1.c1.13-00114-M8974AAAAANPZM-1.43646.2
Kernel version: 3.4.0
Build number: MRA58K
Software version D85130d
Security software version: MDF v1.1 Release 2
Install Directions:
OTA:
When the software update is available, the update icon will display in the status bar at the top of the screen.
Swipe down from the top and tap the notification.
Restart & Install
Note: If prompted, connect to a Wi-Fi network to download the software update.
Your device will restart to perform the update.
When the update is complete, your phone will restart and transition through a series of alerts stating "Android is upgrading".
Once your phone has powered on you will be notified that the software update successfully installed. Tap "OK" to close the notification.
Troubleshooting
If you have not been notified of an available software update, you can manually check if one is available.
From the Home Screen, tap Apps > Settings > General Tab > About phone
System updates > Check now to manually check for a new update.
You will be prompted if a new software update is available.
LG Mobile Flash Tool:
Click here to download the LG Mobile Support Tool to your computer, then open.
Connect your phone to your PC.
Tap Start Upgrade within the LG Mobile Support Tool to begin.
Device will progress through Analysis, Download, Update and Complete during the update process.
While updating, the device will power off and enter a download mode at 5% completion. This is normal. DO NOT DISCONNECT THE USB CABLE!
At approx 95% of completion, the device will power on. This may take several minutes. This is normal. DO NOT DISCONNECT THE USB CABLE!
If your software update stops before it has completed, please do not close the update tool and try the update again. Additional troubleshooting steps are below.
The tool will notify you when the update is complete. Tap Exit to return to the main screen.
Wait for device to power on. Once powered on, the device will reconnect to the LG Mobile Support Tool. When connected, observe that the version number reflects the latest Software D85110r. It is now OK to DISCONNECT THE USB CABLE.
Troubleshooting
If the phone software upgrade stopped before completion, please do not close the update tool and try to update again following original instructions.
If you already closed the update tool, and the phone will not turn on normally, please follow the steps below:
Remove back cover and battery.
Record IMEI/ESN/MEID from device label in battery well.
Replace battery and back cover.
Open LG Mobile Support Tool.
Connect the device to PC via USB cable.
From the drop down menu, select Options > Upgrade Recovery.
Enter your phone information and tap OK
After checking the phone information, it will start to update automatically. If it does not work, the device may require service to attempt recovery.
TWRP + Flashable-ZIPs:
These directions should be used by anyone who already has TWRP installed on their D851.
I used the latest TWRP 3.0 build @ https://dl.twrp.me/d851/
Don't want root? Then it's probably easiest to just flash the stock KDZ using LGUP.. or just skip the SuperSu steps.
1. Download the following 3 files and place them on the internal or external sdcard:
a. LG-D85130D-Flashable.COMPLETE.zip
b. LG-D85130D-Flashable.Boot-AUTOREPACK.zip
c. SuperSU 2.65 or higher. [STABLE] or [BETA] Thanks to Chainfire!​2. (re)Boot into TWRP if not there already.
3.* Backup current partitions: boot, system, data, efs (backing up anything is optional but suggested)
4.* Up to you if you want to wipe data (TWRP > Wipe > Swipe slider) but not needed if coming from a stock rom.
5. Install the 3 zip files you put on your sdcard, 1 at a time:
a. LG-D85130D-Flashable.COMPLETE.zip (Install > select zip > swipe to confirm/flash)
b. LG-D85130D-Flashable.Boot-AUTOREPACK.zip (Install > select zip > swipe to confirm/flash)
c. SuperSU zip (Install > select zip > swipe to confirm/flash)​
After zips finish flashing you can reboot! If TWRP asks if you want to install SU, hit no. If TWRP says No OS installed, ignore it.
Alternatively, if you are already on 30D already without root and want root/TWRP you can use Kingroot.
Click the button below to display how-to steps...
1. Download the latest Kingroot APK here.
2. Install Kingroot and get temproot with it.
3. Download TWRP @ https://dl.twrp.me/d851/ and download LG-D85130D-Flashable.Boot-AUTOREPACK.zip linked below.
4. Enable USB Debugging on your D851 and connect your device to the computer and run the following commands to install TWRP.
Code:
adb push LG-D85130D-Flashable.Boot-AUTOREPACK.zip /sdcard/
adb push twrp-3.0.0-0-d851.img /sdcard/
adb shell
su
dd if=/sdcard/twrp-3.0.0-0-d851.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery
reboot recovery
[if no computer]
d/l TWRP n Boo Repack onto phone n move it to root of internal storage.
Run the su, dd and reboot commands above in terminal emulator.
5.* Backup current partitions: boot, system, data, efs (backing up anything is optional but suggested)
6.* Up to you if you want to wipe data (TWRP > Wipe > Swipe slider) but not needed if coming from a stock rom.
7. Install the 2 zip files you put on your sdcard, 1 at a time:
a. LG-D85130D-Flashable.Boot-AUTOREPACK.zip (Install > select zip > swipe to confirm/flash)
b. SuperSU zip (Install > select zip > swipe to confirm/flash)​
Downloads:
Please do not mirror my files!
LG-D85130D-Flashable.COMPLETE.zip
100% stock untouched system, boot, modem and bootloader. Recovery is not included so you don't lose TWRP.
LG-D85130D-Flashable.Modem.zip
This is a flashable stock 30D modem.
LG-D85130D-Flashable.Boot.zip
This is a flashable stock 30D boot.img. Boot.img contains kernel + dtb + ramdisk.
LG-D85130D-Flashable.Boot-AUTOREPACK.zip
This is a repacked boot.img to work properly when flashing SuperSu in TWRP.
LG-D85130D-Flashable.Bootloader.zip
This is a flashable stock 30D bootloader. It contains aboot, dbi, factory, laf, rpm, sbl1 and tz.
Also, KDZ + all stock images for 30D are available in the link below...
CODEFIRE DIRECTORY
30D KDZ Mirror Here
MD5 Sums:
Click button below to view MD5 for each file...
MD5 (aboot.img) = 3a984c57cea36f8356f5068cc7cdd4b4
MD5 (boot.img) = 98bfe8aaeb7e169d78ad249b5c362214
MD5 (dbi.img) = 1a78fd7454f7d0a6fa1bc71aa15c12e8
MD5 (factory.img) = 794327b47c4f1cd503591d804ab2a458
MD5 (laf.img) = 1e5971ef828b0d6afdfa4690efa26308
MD5 (modem.img) = 3969d7e27ffb83b5873c0ac9c796ea1d
MD5 (persist.img) = 039a73fb1b36df8cab1c0861cdea6bf3
MD5 (recovery.img) = 339bd050ddfac269f5c1c7ee36217df3
MD5 (rpm.img) = e9d136d6a7fcdd3726696a111f4b8f8e
MD5 (sbl1.img) = c4ec620062aaa2f7ebafa67c43218665
MD5 (system.img) = f22c8366fab71f65f5f50c7e8eaaa1cd
MD5 (tz.img) = 36a7d694d17f0f8183c0afb825dc9512
MD5 (LG-D85130D-Flashable.Boot-AUTOREPACK.zip) = f7f9507a81333f0a4e8a16033018e8b9
MD5 (LG-D85130D-Flashable.Boot.zip) = ffba4ffc1842c65b1f1defc2dc103330
MD5 (LG-D85130D-Flashable.Bootloader.zip) = cf37b49ab3b85eba9d0d43c5927d215d
MD5 (LG-D85130D-Flashable.COMPLETE.zip) = d2cbb2c8675bf0adc412b760c05ceb29
MD5 (LG-D85130D-Flashable.Modem.zip) = 87b50d33e7b0fba62847a2792648a310
MD5 (D85130d_00_0404.kdz) = a3d04df6fa1e964bd10b5e2ae59041ae
DISCUSSION THREAD:
Take all your nonsense to the marshmallow general thread here - http://forum.xda-developers.com/tmo...-t-mobile-lg-g3-d851-30d-marshmallow-t3367030
Click to expand...
Click to collapse
y u quote OP?
Follow me on twitter for future updates on LG-related things - twitter.com/@utoprime
Find this thread helpful? Hit the Thanks button!
Feeling extra generous? Click my name at the top of any post and hit donate or click here.
#TEAMCODEFIRE
Looks like name on your hosting site for the repacked boot was named wrong.
Actual file: http://downloads.codefi.re/autoprim...s/30D/LG-D85130D-Flashable.Boot-AUTORPACK.zip
mjoecarroll said:
Looks like name on your hosting site for the repacked boot was named wrong.
Actual file: http://downloads.codefi.re/autoprim...s/30D/LG-D85130D-Flashable.Boot-AUTORPACK.zip
Click to expand...
Click to collapse
404
nachumama said:
404
Click to expand...
Click to collapse
He fixed the link, use the link in the OP
gotcha...... ok so i downloaded all the necessary files but i want to use android pay, should i install superSU or not?
nachumama said:
gotcha...... ok so i downloaded all the necessary files but i want to use android pay, should i install superSU or not?
Click to expand...
Click to collapse
no
keki92 said:
no
Click to expand...
Click to collapse
thanks buddy
Modem and bootloader flashed over 20G and Exodus ROM. No problems to report. Thanks.
How big is he COMPLETE file size itself?
just upgraded ; it works great, thx
just need the stock dialer; t-mobile one is bad to say it lightly
Hello- I am currently using the D851 T Mobile version in New Zealand on Vodafone and all is well. The phone is obviously unlocked.
If I flash this update will I still be unlocked afterwards ?
Thanks To all, LL13-
lamplighter13 said:
Hello- I am currently using the D851 T Mobile version in New Zealand on Vodafone and all is well. The phone is obviously unlocked.
If I flash this update will I still be unlocked afterwards ?
Thanks To all, LL13-
Click to expand...
Click to collapse
Yes
RicardoSal24 said:
Yes
Click to expand...
Click to collapse
WooHoo, Im gonna flash away.
Thanks Ricardo !!! :highfive::highfive:
Hi there. Great work! Quick question though. If I have stock lollipop and it doesn't have root/twrp. The steps to do this would be to root first -> install twrp -> and then follow the steps?
Thanks,
keki92 said:
no
Click to expand...
Click to collapse
Do you need TWRP or Root to use Lg flash tool?
Kenneth_MC said:
Do you need TWRP or Root to use Lg flash tool?
Click to expand...
Click to collapse
No...
@autoprime
As always your work here is appreciated, thank you for the posting, this will benefit everyone.
@autoprime - awesome work, thanks so much!
A couple suggestions/notes, dunno if ypu want to put this in the OP for some people.
1. If you've encrypted your phone, you'll need to unencrypt first.
2. If you have Xposed installed, uninstall it before you start.
My phone feels new with this update, it's great.
Anyone updated please tell me knock code security with 6 taps or 3 taps like 20G? Thanks
If I am currently on CM13, besides the radio, can I flash bootloader and boot? If so which boot?
Thanks for the help.

Help! Sensors turned off!

Hello everyone. I was with Android 7 on my ZS570KL and returned to 6 for a tutorial found on the internet and worked, but all the sensors of the device were disabled (screen rotation, gyroscope, approximation, fingerprint [only registers up to 93% and gives error], and all the others). How do I reactivate? I came back to Android 7, formatted the device several times, and nothing solves!
What tutorial and why?
No information = no help
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I do not remember where I found the tutorial and the files, but the process is this:
1. Download http://dlcdnet.asus.com/pub/ASUS/ZenFone/ZS570KL/UL-Z016-WW-4.12.40.1698-user.zip
2. Download https://mega.nz/#!tp9DSQ4b!3wdDLsh3BBtPju8G74xlDjLJ9QywFaoLs1T11mMt3QQ
3. Unzip FlashTools64_20161125.zip
4. Unzip UL-Z016-WW-4.12.40.1698-user.zip and move out files under firmware-update to FlashTools folder
5. Put downgrade.bat, boot.img, recovery.img to FlashTools folder
6. Reboot phone to bootloader and click downgrade.bat
The reason was to swap the conventional root SU through the Magisk. I tried to reinstall 7 just by replacing the original recovery available here in XDA, but the process was not going to restart, so I followed that one to try to return and reinstall everything. It worked, I got back to 6, but I did not know everything. It looks like a computer without the drivers installed.
I'd downgrade again, if it was me, this time I'd install a stock Rom (MM) from ASUS. Then test everything again. If everything is good to go then I'd root and upgrade.
Changing the OS in the middle doesn't help if you have a problem.
Especially if it just builds upon the foundations of the previous OS...
Did you flash a complete N rom or do an update?
The ROMs I try are exactly those of the Asus site. I tried the downgrade again to version 4.12.40.1698 and realized something when I flash in recovery mode. The following error messages appear:
Unmount of /firmware failed: no such volume
Mount: failed to mount /dev/block/bootdevice/by-name/mdtp at /firmware: No such file or directory
Unmount of /firmware failed, no such volume
What is it? How to solve?
I need the original kernel and recovery of the latest firmware released, can anyone make it available?
AndreSantoro84 said:
I need the original kernel and recovery of the latest firmware released, can anyone make it available?
Click to expand...
Click to collapse
These recovery images are from nenebear59, thanks to him !
Z016-WW-5.14.44.2212_recovery :
For 2.15GHz CPU
For 2.4GHz CPU
Thank you very much! Now I need the "persist.img" file, of the same rom, can you make it available? I thank you!
I downloaded the source code kernel from the Asus site, and the compressed file has a sensor folder. I downloaded the kernel zip file to my memory card and tried to install via recovery, however the following message appears: E: footer is wrong / E: signature verification failed. How do I get install by recovery or via flash in cmd?
I followed this tutorial (https://forum.xda-developers.com/oneplus-one/help/fix-brickloop-audio-fx-fc-efs-corrupt-t2879061) and managed to recover the fingerprint reader, but the others are still turned off. I really need the correct file! Somebody help me, please!
I got it! I used the persist.img of the global rom of the Xiaomi Mi Mix and the sensors came back! Apparently it's a universal file that caters to any device. You can close the topic!
Hi.. i intend to downgrade my asus Zenfone 3 Deluxe to lollipop, can you upload files needed to repair issues please?
thank you!
equinoks said:
Hi.. i intend to downgrade my asus Zenfone 3 Deluxe to lollipop, can you upload files needed to repair issues please?
thank you!
Click to expand...
Click to collapse
Really??
Ryder. said:
Really??
Click to expand...
Click to collapse
sorry from nougat to marshmallow
There isn't android lollipop for the asus zenfone 3 series. They came out with marshmallow.
AndreSantoro84 said:
I got it! I used the persist.img of the global rom of the Xiaomi Mi Mix and the sensors came back! Apparently it's a universal file that caters to any device. You can close the topic!
Click to expand...
Click to collapse
HELLO! I'm having a similar issue. 5 times my Zs570kl end up stuck in Asus logo boot screen after being charging all night (with alarming overheating) . I had to wipe the device with factory reset every time to get it working again. Last time, when finally booted up, all sensor were off, and I couldn't make them work no matter how much I try factory reseting again. I think i could try to install the persist.img file you mention, could you help me to find it? Thanks so much in advance for your help.
Asus Z016D (ZS570KL) 2.15 SKU WW_user_5.15.44.2562 build
equinoks said:
Hi.. i intend to downgrade my asus Zenfone 3 Deluxe to lollipop, can you upload files needed to repair issues please?
thank you!
Click to expand...
Click to collapse
Come on. To downgrade, you need to download the official rom from the Asus website (version WW-4.12.40.1698 - do not forget to check if your device is 2.15 or 2.4 ghz). Downloaded, need to put the rom inside a micro sd card (can not be internal storage, need to be in sd). In addition, it must be with the original recovery (the version is indifferent), if it is in TWRP it will not work. Once you have done this, you will have access to recovery mode, go to the "install zip from sd card" option, locate the zip file of the rom and install it, and just wait. Having problems, report here.
cazadormoron said:
HELLO! I'm having a similar issue. 5 times my Zs570kl end up stuck in Asus logo boot screen after being charging all night (with alarming overheating) . I had to wipe the device with factory reset every time to get it working again. Last time, when finally booted up, all sensor were off, and I couldn't make them work no matter how much I try factory reseting again. I think i could try to install the persist.img file you mention, could you help me to find it? Thanks so much in advance for your help.
Asus Z016D (ZS570KL) 2.15 SKU WW_user_5.15.44.2562 build
Click to expand...
Click to collapse
Hello! To reinstall the sensors is very simple (both work to find out the way, but then it gets simple hahaha). Download the adb files (it is available here in the forum, and inside the folder put the persist.img that I will make available here.) Access the fastboot mode on the device, connect to the computer, and open the command prompt inside the folder. Open the CMD, type the following command line: fastboot flash persist persist.img and press enter. The file will be rewritten and after that the sensors will be reconfigured. Restart the device. Having problems, report here.
Solved!
AndreSantoro84 said:
Hello! To reinstall the sensors is very simple (both work to find out the way, but then it gets simple hahaha). Download the adb files (it is available here in the forum, and inside the folder put the persist.img that I will make available here.) Access the fastboot mode on the device, connect to the computer, and open the command prompt inside the folder. Open the CMD, type the following command line: fastboot flash persist persist.img and press enter. The file will be rewritten and after that the sensors will be reconfigured. Restart the device. Having problems, report here.
Click to expand...
Click to collapse
THANK YOU ANDRE!!! I'm really really happy to tell you that everything worked PERFECTLY. I wasn't sure if I need to unlock the bootloader and flash root first, so I tried to do it. I've been able to unlock the bootloader, but for some reason, when I flash the bootroot.img following the instructions from this post - https://forum.xda-developers.com/ze...v-liftoff-zs570klpro-official-unlock-t3557276 -, I get the asus logo boot loop. Anyway, without the root I flash the persist file and, as you said, all the sensors were reconfigured.
Again, muito muito obrigado!!!
cazadormoron said:
THANK YOU ANDRE!!! I'm really really happy to tell you that everything worked PERFECTLY. I wasn't sure if I need to unlock the bootloader and flash root first, so I tried to do it. I've been able to unlock the bootloader, but for some reason, when I flash the bootroot.img following the instructions from this post - https://forum.xda-developers.com/ze...v-liftoff-zs570klpro-official-unlock-t3557276 -, I get the asus logo boot loop. Anyway, without the root I flash the persist file and, as you said, all the sensors were reconfigured.
Again, muito muito obrigado!!!
Click to expand...
Click to collapse
If you want to root, flash the twrp and then supersu zip from twrp

Question (SOLVED) Please help! Device Locked After testing Android 12 even though MiFlash says its Unlocked.

Hello all,
Hoping for some help or insight. I flashed a Android 12 build and quickly reverted back to stock before trying to flash a ROM. I'm having trouble flashing anything because it says my device is locked. I tried to lock then unlock the device using MiFlash but ROMs still say my device is locked. I also tried toggling the "OEM Unlocking" in developer options also.
When attempting to install a fastboot rom it says "Command is not allowed on locked devices"
MiFlash shows bootloader unlocked
Xiaomi ADB/Fastboot tools shows unlocked but when I click unlock on the fastboot tab it says token invalid
Any recommendations would be appreciated!
rageyoudown said:
Hello all,
Hoping for some help or insight. I flashed a Android 12 build and quickly reverted back to stock before trying to flash a ROM. I'm having trouble flashing anything because it says my device is locked. I tried to lock then unlock the device using MiFlash but ROMs still say my device is locked. I also tried toggling the "OEM Unlocking" in developer options also.
When attempting to install a fastboot rom it says "Command is not allowed on locked devices"
MiFlash shows bootloader unlocked
Xiaomi ADB/Fastboot tools shows unlocked but when I click unlock on the fastboot tab it says token invalid
Any recommendations would be appreciated!
Click to expand...
Click to collapse
Did you choose Clean all And Lock while flashing on MiFlash tool?
Animesh Singh said:
Did you choose Clean all And Lock while flashing on MiFlash tool?
Click to expand...
Click to collapse
When I try to select the ROM folder it does not find any ROM... Are you talking about XiaomiADBFastbootTools?
Also on the MiFlash Tool what am I supposed to select? It asked for a flash script.
*EDIT* Found the stock firmware, will try to clean all and lock with MiFlashTool
rageyoudown said:
When I try to select the ROM folder it does not find any ROM... Are you talking about XiaomiADBFastbootTools?
Also on the MiFlash Tool what am I supposed to select? It asked for a flash script.
*EDIT* Found the stock firmware, will try to clean all and lock with MiFlashTool
Click to expand...
Click to collapse
Copy the full path of the Stock ROM like i did and paste it to your miflash directory and choose Clean All on lower right of MiFlash.
Also, If you lock your device and HardBrick it, You wont be able to flash anything. So i suggest you to Only use FLASH ALL option on MiFlash
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Animesh Singh said:
Copy the full path of the Stock ROM like i did and paste it to your miflash directory and choose Clean All on lower right of MiFlash.
Also, If you lock your device and HardBrick it, You wont be able to flash anything. So i suggest you to Only use FLASH ALL option on MiFlash
View attachment 5375687View attachment 5375689
Click to expand...
Click to collapse
I figured out the script before seeing your post and I'm in the process of doing a clean all and lock since I thought you implied to do that in your initial post.. Hope it doesn't brick
rageyoudown said:
I figured out the script before seeing your post and I'm in the process of doing a clean all and lock since I thought you implied to do that in your initial post.. Hope it doesn't brick
Click to expand...
Click to collapse
oh. Now you'll be stuck to Stock ROM for quite some time now Just remember to not use Clean All And Lock if you plan to Use Custom ROMs often.
So when I'm attempting to run the script it doesn't finish all the way.. It gets to sending spare 'super' 7/9 then fails with the error "failed to check sparse crc"
*EDIT* solved this by changing two lines in the install script
REM fastboot %* flash crclist %~dp0images\crclist.txt || @ECHO "Flash crclist error" && exit /B 1
REM fastboot %* flash sparsecrclist %~dp0images\sparsecrclist.txt || @ECHO "Flash sparsecrclist error" && exit /B 1
Needed to add REM in the front of both lines.
*EDIT 2*
Script Finished but resulted in the device bootlooping over and over...
*EDIT 3*
Still able to get to fastboot and flash stock image, which doesn't make since because even the stock global 12.5.2 probably needs unlocked bootloader. (tested locking the device and flashing 12.5.2 and it does indeed need an unlocked bootloader).
Tried doing flash all and lock script which also puts the device in a bootloop. Re-unlocked the bootloader. Able to flash global 12.5.2
Still doesn't make sense why I can't flash custom roms and I can flash stock global 12.5.2
I am able to flash certain ROMS like MiuiMix assumingly because its MIUI based... but still not able to flash Custom ROMS. I'm guessing the Pixel Android 12 build I tried out flashed over some of the vendor images but even returning to OEM firmware they aren't being re-flashed
The following helped me when reverting to A11 from A12
Instructions on reverting to Android 11:
Download:
(1) MiFlash20210226
(2) alioth_global_images_V12.5.2.0.RKHMIXM_20210625.0000.00_11.0_global_10b1725c87
(3) Flash_all1.bat (attached to post change to .bat file extension.
Instructions:
Extract all - Place ROM folder into MiFlash directory - Place Flash_all1.bat into ROM directory
Reboot device to fastboot - Open MiFlash and select the ROM path inside the MiFlash folder - Refresh to see device listed - On bottom right corner change blank field to Flash_all1.bat script - Lastly initiate flash
*This wipes all data and returns phone to 12.5.2 global*
rageyoudown said:
The following helped me when reverting to A11 from A12
Instructions on reverting to Android 11:
Download:
(1) MiFlash20210226
(2) alioth_global_images_V12.5.2.0.RKHMIXM_20210625.0000.00_11.0_global_10b1725c87
(3) Flash_all1.bat (attached to post change to .bat file extension.
Instructions:
Extract all - Place ROM folder into MiFlash directory - Place Flash_all1.bat into ROM directory
Reboot device to fastboot - Open MiFlash and select the ROM path inside the MiFlash folder - Refresh to see device listed - On bottom right corner change blank field to Flash_all1.bat script - Lastly initiate flash
*This wipes all data and returns phone to 12.5.2 global*
Click to expand...
Click to collapse
Good to see you did it.

Question root Xiaomi 11T Official ??

I want an official way to root the device and change the official ROM
strayh_ said:
I want an official way to root the device and change the official ROM
Click to expand...
Click to collapse
Welcome to XDA,
I want the same!
Maybe some dev around!
Root is available: Follow this thread
Unofficial twrp 3.6.0 for Xiaomi 11T (Agate)
Twrp 3.6.0 Root Xiaomi 11T (Agate): unofficial build of twrp 3.6.0 have Now been available for the Xiaomi 11T user Who own Xiaomi 11T can Root it by following the below Instructions. to Install twrp Recovery on Xiaomi 11T first You need to...
forum.xda-developers.com
Kiwironic said:
Root is available: Follow this thread
Unofficial twrp 3.6.0 for Xiaomi 11T (Agate)
Twrp 3.6.0 Root Xiaomi 11T (Agate): unofficial build of twrp 3.6.0 have Now been available for the Xiaomi 11T user Who own Xiaomi 11T can Root it by following the below Instructions. to Install twrp Recovery on Xiaomi 11T first You need to...
forum.xda-developers.com
Click to expand...
Click to collapse
I tried that a year ago but because of skill issue I wasn't able to fix my device when it bricked so we went to the carrier we bought it at and we said that it happened during an OTA update
If you need help rooting it or unbricking, let me know
Kiwironic said:
If you need help rooting it or unbricking, let me know
Click to expand...
Click to collapse
I have MIUI 14 mi pilot build no twrp supports this fw
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
You don't need TWRP for root, just get unlocked bootloader and get the boot.img file from your rom and use the Magisk app to patch it then flash it with fastboot
Code:
Fastboot.exe flash boot magicbootimg.img
Same device and same rom, rooted already
Kiwironic said:
Same device and same rom, rooted already
Click to expand...
Click to collapse
Nice
Kiwironic said:
Same device and same rom, rooted already
Click to expand...
Click to collapse
Brother i used payload dumper but i can't see boot.img do i need fastboot Rom?
Stephanizgo said:
Brother i used payload dumper but i can't see boot.img do i need fastboot Rom?
Click to expand...
Click to collapse
Download the Full ROM (Fastboot) which is bigger and you can find the "boot.img" easier.
https://xiaomifirmwareupdater.com/miui/
I have downloaded the ROM from https://c.mi.com
Official Xiaomi Rom download site but the fastboot logo changed and I no longer have the bunny on fastboot
Send me a screen shot of your about screen and I will send you a modified boot.img but you can do it yourself from the link I sent you. if you look at their download links they are all from mi servers.
https://bigota.d.miui.com/V14.0.3.0.TKWMIXM/agate_global_images_V14.0.3.0.TKWMIXM_20230105.0000.00_13.0_global_576aee87ab.tgz

			
				
Stephanizgo said:
View attachment 5865685
Click to expand...
Click to collapse
Hello sir , please Can you make a full video tutorial on how to root the device ?
0xHelium said:
Hello sir , please Can you make a full video tutorial on how to root the device ?
Click to expand...
Click to collapse
First you need to unlock the bootloader
Then follow these steps:
1 - Download the Fastboot ROM file for your device
2 - Extract the boot.img file from the ROM file, then copy it to your device's storage
3- Download the Majesk app and install it, then flash the boot.img file from inside the Majesk, you will have a new file named Majesk_patch.img in your downloads folder, copy it to your computer
4 - Then download the ADB platform and open it and open the command prompt from within the folder "Make sure to copy the file that you flashed into Magisk from copying it into the folder"
5 - Put your phone into fastboot mode by pressing the power key and volume down, then connect it to the computer, and type the following command at the command prompt:
fastboot flash boot boot.img " Here is the file that I copied inside the adb folder after changing its name to boot.img"
Then type the following command to restart the phone:
fastboot reboot
Congratulations, your phone has been successfully rooted
*I apologize if my writing is bad because I use Google Translate because I am not good at English*
0xHelium said:
Hello sir , please Can you make a full video tutorial on how to root the device ?
Click to expand...
Click to collapse
Once my brother returns my S10 I will probably
strayh_ said:
Then follow these steps:
1 - Download the Fastboot ROM file for your device
2 - Extract the boot.img file from the ROM file, then copy it to your device's storage
3- Download the Majesk app and install it, then flash the boot.img file from inside the Majesk, you will have a new file named Majesk_patch.img in your downloads folder, copy it to your computer
4 - Then download the ADB platform and open it and open the command prompt from within the folder "Make sure to copy the file that you flashed into Magisk from copying it into the folder"
5 - Put your phone into fastboot mode by pressing the power key and volume down, then connect it to the computer, and type the following command at the command prompt:
fastboot flash boot boot.img " Here is the file that I copied inside the adb folder after changing its name to boot.img"
Then type the following command to restart the phone:
fastboot reboot
Congratulations, your phone has been successfully rooted
*I apologize if my writing is bad because I use Google Translate because I am not good at English*
Click to expand...
Click to collapse
thanks, i combined this with an old thread and my phone is rooted

Categories

Resources