Possible to lock bootloader? - Asus ZenFone 3 Questions & Answers

Is there anyway I can lock the bootloader on my ZE520KL?

I would like to know it, too.
Android 7 cannot be installed with it unlocked, afaik.

anderbytes said:
I would like to know it, too.
Android 7 cannot be installed with it unlocked, afaik.
Click to expand...
Click to collapse
I have latest update android 7.0 with unlocked bootloader.

ekha24 said:
I have latest update android 7.0 with unlocked bootloader.
Click to expand...
Click to collapse
How did you do it??
I've bought my ZEN3 (520) and it had Android 6. I managed to root it, but I was forced to unlock bootloader to do it (don't remember if official or unofficial unlock).
Now I removed root, tried reinstalling stock boot partition, etc...etc... but nothing works! It always trips at the dm-verity check at boot time, and it says it will be shut down in 10 seconds, and it really shuts down! (

anderbytes said:
How did you do it??
I've bought my ZEN3 (520) and it had Android 6. I managed to root it, but I was forced to unlock bootloader to do it (don't remember if official or unofficial unlock).
Now I removed root, tried reinstalling stock boot partition, etc...etc... but nothing works! It always trips at the dm-verity check at boot time, and it says it will be shut down in 10 seconds, and it really shuts down! (
Click to expand...
Click to collapse
Why u tried to remove root? for installing nougat? If u want to update to nougat, u dont need remove root, just flash it.
Can you access recovery mode? If yes, just copy the rom on your sd card, before u flash the rom, u must flash boot.img inside rom.zip and stock recovery same as rom ver.

ekha24 said:
Why u tried to remove root? for installing nougat? If u want to update to nougat, u dont need remove root, just flash it.
Can you access recovery mode? If yes, just copy the rom on your sd card, before u flash the rom, u must flash boot.img inside rom.zip and stock recovery same as rom ver.
Click to expand...
Click to collapse
The problems are: I don't know what are the correct boot.img and recovery to flash.
Is there any detailed tutorial? With links to download or something?
How can I tell I'm flashing the correct files?

anderbytes said:
The problems are: I don't know what are the correct boot.img and recovery to flash.
Is there any detailed tutorial? With links to download or something?
How can I tell I'm flashing the correct files?
Click to expand...
Click to collapse
For boot.img and stock recovery : https://mega.nz/#F!ok0V0RIA!5WKtHe98opzjVI3NPbM7Ww
(ze520kl=z017d)
For stock firmware : https://www.asus.com/Phone/ZenFone-3-ZE520KL/HelpDesk_Download/
If u want flash the latest avaible stock firmware, u must extract firmware.zip u downloaded, and flash boot.img and recovery.img from it. If u cant find recovery.img inside it, just flash latest recovery.img avaible from mega (its for nougat too). Put firmware ur downloaded on sd card.
-reboot your phone to fastboot mode, connect your phone to pc and flash boot.img and recovery.img
-after that go to recovery>install update from sd card and choose the .zip

ekha24 said:
For boot.img and stock recovery : https://mega.nz/#F!ok0V0RIA!5WKtHe98opzjVI3NPbM7Ww
(ze520kl=z017d)
For stock firmware : https://www.asus.com/Phone/ZenFone-3-ZE520KL/HelpDesk_Download/
If u want flash the latest avaible stock firmware, u must extract firmware.zip u downloaded, and flash boot.img and recovery.img from it. If u cant find recovery.img inside it, just flash latest recovery.img avaible from mega (its for nougat too). Put firmware ur downloaded on sd card.
-reboot your phone to fastboot mode, connect your phone to pc and flash boot.img and recovery.img
-after that go to recovery>install update from sd card and choose the .zip
Click to expand...
Click to collapse
Thanks. I'll give it a try

Related

[Guide] Flash OTAs with TWRP (OS 2.1.3/ 005)

Firstly, you cannot install OTA's with TWRP. You'll have to get back to stock recovery in order to install patches.
Thanks to @eng.stk, with the recovery compiled from source, we now can flash OTA Zips from TWRP.
Download TWRP 2.8.7.0: http://forum.xda-developers.com/devdb/project/dl/?id=15364
Download the following OTA's and move them to internal/external storage and proceed to install them from TWRP.
OxygenOS_X_Rom.zip (003)
OTA Patch 003-004.zip
OTA Patch 004-005.zip (Uploaded by @Razertje)
____
Stock Recovery (Just in case if someone requires it)
- Stock_Recovery.img
I got an error when I try to flash it
PoloB49 said:
I got an error when I try to flash it
Click to expand...
Click to collapse
Are you rooted? Did you flash TWRP recovery?
PoloB49 said:
I got an error when I try to flash it
Click to expand...
Click to collapse
It's most likely that you tampered the system and recovery partition. I uploaded the stock recovery here, flash the stock recovery, then flash to system dump, then this patch.
Well, i did a nandroid backup before getting rooted, i tried to restore my phone so i could properly do the ota, but now there is no OS installed
But my computer still detect my phone, where can i download the full rom please ?
PoloB49 said:
Well, i did a nandroid backup before getting rooted, i tried to restore my phone so i could properly do the ota, but now there is no OS installed
But my computer still detect my phone, where can i download the full rom please ?
Click to expand...
Click to collapse
It's at the front page. http://forum.xda-developers.com/oneplus-x/general/ota003all20151024193-oxygenos-ota-dump-t3244996
SpiritBreak3r said:
It's at the front page. http://forum.xda-developers.com/oneplus-x/general/ota003all20151024193-oxygenos-ota-dump-t3244996
Click to expand...
Click to collapse
Thanks, i wasn't sure it was the full rom because of the "ota" in the name.
SpiritBreak3r said:
It's most likely that you tampered the system and recovery partition. I uploaded the stock recovery here, flash the stock recovery, then flash to system dump, then this patch.
Click to expand...
Click to collapse
hey i did as you said to try and get the update but i have a question. what does flash to system dump mean?
Already flashed stock recovery. next step?
Savya said:
hey i did as you said to try and get the update but i have a question. what does flash to system dump mean?
Already flashed stock recovery. next step?
Click to expand...
Click to collapse
By flashing the system dump I meant, install this zip package http://forum.xda-developers.com/oneplus-x/general/ota003all20151024193-oxygenos-ota-dump-t3244996. This zip package is stock system dump bearing version 03. Then flash to 03-04 patch.
is this OTA solved the problem with microsd cards?
Can anybody help with a generic error trying to flash the stock recovery again?
No reason why just says failed. I am rooted with TWRP and trying to revert to stock to be able to OTA. Last android was a nexus 4 and been away a little while so I may be missing something.. I don't want to have to wipe all my data and such can somebody assist and refresh my understanding?
Dizzyrul3z: No, microSD card issue remains according to official forum--next OTA I bet.
I'm rooted, TWRP also errored when I attempted the OTA installed.
So to clarify, using TWRP I want to install three zips: stock rom, OTA03 (system dump), and OTA04 (update), wipe cache/dalvik. Correct?
Question: I install them all at once in TWRP, right? Will any of this erase my apps/data?
Thanks,
Dizzyrul3z said:
is this OTA solved the problem with microsd cards?
Click to expand...
Click to collapse
I don't know about you guys, but I have the E-1003 model, SD card is working fine. I have a Samsung EVO+ 32GB card.
BakedGoodsX said:
Dizzyrul3z: No, microSD card issue remains according to official forum--next OTA I bet.
I'm rooted, TWRP also errored when I attempted the OTA installed.
So to clarify, using TWRP I want to install three zips: stock rom, OTA03 (system dump), and OTA04 (update), wipe cache/dalvik. Correct?
Question: I install them all at once in TWRP, right? Will any of this erase my apps/data?
Thanks,
Click to expand...
Click to collapse
You need to flash to Stock recovery as well. I'll be updating the OP.
So this update is newer than the one mentioned here right ? : https://forums.oneplus.net/threads/oxygenos-2-1-2-will-start-roll-out-to-oneplus-x-today.402637/
Thanks
SpiritBreak3r said:
Just received this OTA mins ago.
Size: 17MB
https://drive.google.com/file/d/0B3AIip-hiOnNb1pBeGNlcUIyYmc/view?usp=sharing
Instructions:
1. Switch to Stock Recovery if you're running TWRP. But how to do it? Restore this backup from TWRP.
2. Flash the system dump available at this thread.
3. Now flash this update/patch.
4. Then fastboot flash TWRP recovery if you only need it.
Just my 2 cents, boot TWRP instead of flashing it. I personally suggest.
Code:
fastboot boot twrp_directory_of_your_pc.img
PSA: You'll need Stock recovery to patch official updates.
PS: My Memory Card is working exceptionally fine. I am using a Samsung EVO+ 32GB.
Click to expand...
Click to collapse
I can't restore the stock recovery.
in TWRP:
error flashing zip '/sdcard/*/oneplusx_x_stock_recovery.zip'
I also copied the zip into the TWRP backup folder, but can't select it to restore.
TWRP ist v.2.8.7.0
What am I doing wrong?
...rebooting the device from TWRP is also not working, anybody with the same problem?
umpalumpa1799 said:
I can't restore the stock recovery.
in TWRP:
error flashing zip '/sdcard/*/oneplusx_x_stock_recovery.zip'
I also copied the zip into the TWRP backup folder, but can't select it to restore.
TWRP ist v.2.8.7.0
What am I doing wrong?
...rebooting the device from TWRP is also not working, anybody with the same problem?
Click to expand...
Click to collapse
Extract the recovery.img from the zip file and flash it from fastboot:
Code:
fastboot flash recovery recovery.img
CafeKampuchia said:
Extract the recovery.img from the zip file and flash it from fastboot:
Code:
fastboot flash recovery recovery.img
Click to expand...
Click to collapse
so rename the recovery.emmc.win from the zip file to recovery.img and flash it with fastboot.
umpalumpa1799 said:
so rename the recovery.emmc.win from the zip file to recovery.img and flash it with fastboot.
Click to expand...
Click to collapse
even better, download the img from the op.
SpiritBreak3r said:
even better, download the img from the op.
Click to expand...
Click to collapse
my fault, I downloaded the stock recovery from a nother post
Thank you for the update OP.
To clarify, when you say '...stick with stock recovery, disable the apps instead of deleting them...' what exactly does that mean?

Go back to stock. How to?

Só i got a meizu
It comes with China ROM
I converted, unlocked bootloader, twrp and install 7.1 nougat
Now i want to go back to last International stock ROM
What is the best way?
I dont wont to brick my phone
if i want to back to stock rom + stock recovery
only need to flash in twrp update.zip + original recovery.zip and reset?
just download the official ROM,then open it with WinRAR,delete those files:
1)bootloader,2)ldfw,3)recovery.img
save and exit. then reboot into recovery,flash it.
remember every times before you update ,delete those files
eheheh said:
if i want to back to stock rom + stock recovery
only need to flash in twrp update.zip + original recovery.zip and reset?
Click to expand...
Click to collapse
Yes only flash update.zip with TWRP
liuxu1027 said:
just download the official ROM,then open it with WinRAR,delete those files:
1)bootloader,2)ldfw,3)recovery.img
save and exit. then reboot into recovery,flash it.
remember every times before you update ,delete those files
Click to expand...
Click to collapse
Is this method works for anyone
If you using trwp recovery, yes! it's works
Why u want to go back to Flyme rom man ?!
I cannot go back to flyme, when I flahs the update.zip without the files bootloader and recovery i get a could not find meta-inf/com/google/android/update-binary error. Any ideas?

How to update firmware if you've already flashed TWRP

I figured out how to update after flashing twrp. Maybe obvious to some but I've seen questions about it.
The zip in the "Convert CA to WW" thread has the stock rom in a zip file. Open it and inside is a recovery.img file in it, extract it to your adb folder on your PC.
Download the firmware update from ASUS official site and save to the root of your sd card or internal storage (it will recognize both.)
Reboot into fastboot on your device.
fastboot flash recovery recovery.img
When that finishes reboot and your phone should find the update and ask if you want to install. Do so. You may need to power cycle first.
When you're done you can reflash TWRP.
Once you have TWRP you can flash Magisk or SuperSU as you see fit.
It's painless.
An old post from you, but thank you. This was really easy. I've spent 2 days trying to figure out how to upgrade without restore stock rom, boot etc. and lose all data. I was about to give up when I saw this post, I didn't expect it to work - to easy. But I could give it a try.
This was painless.
Then it took me 3 hours to figure out how to reinstall twrp again, it wasn't just to flash and reboot I had to boot directly into recovery after flash. But that is another story.
Thanks, you just saved me some time!
Kasdarack said:
I figured out how to update after flashing twrp. Maybe obvious to some but I've seen questions about it.
The zip in the "Convert CA to WW" thread has the stock rom in a zip file. Open it and inside is a recovery.img file in it, extract it to your adb folder on your PC.
Download the firmware update from ASUS official site and save to the root of your sd card or internal storage (it will recognize both.)
Reboot into fastboot on your device.
fastboot flash recovery recovery.img
When that finishes reboot and your phone should find the update and ask if you want to install. Do so. You may need to power cycle first.
When you're done you can reflash TWRP.
Once you have TWRP you can flash Magisk or SuperSU as you see fit.
It's painless.
Click to expand...
Click to collapse
Will this recovery work for upgrading nougat to oreo?
Em Kay said:
Will this recovery work for upgrading nougat to oreo?
Click to expand...
Click to collapse
You need to upgrade to latest N - ...14.2020.1712.85, once you do that you should get Oreo as FOTA after reboot
DanFreed said:
You need to upgrade to latest N - ...14.2020.1712.85, once you do that you should get Oreo as FOTA after reboot
Click to expand...
Click to collapse
Thanks, man.
Can I manually update with the recovery by downloading the rom?
I think, the FOTA won't arrive as I've rooted my phone.
Em Kay said:
Thanks, man.
Can I manually update with the recovery by downloading the rom?
I think, the FOTA won't arrive as I've rooted my phone.
Click to expand...
Click to collapse
When you flash stock recovery and update you unroot, so you will get FOTA. Just update to Oreo and then flash twrp and Magisk (or whatever you use) again.
I am rooted and updated to Oreo then chose updates involving battery improvement and/or system stability (downloaded to external sd), after installed the last update I flashed twrp and rooted again.
You need to flash stock recovery before update. The phone will find the updated with custom recovery but update will fail.
The site I downloaded stock recovery from is down so you have to search for it, or download RAW stock rom and extract the recovery from it
DanFreed said:
You need to flash stock recovery before update. The phone will find the updated with custom recovery but update will fail.
The site I downloaded stock recovery from is down so you have to search for it, or download RAW stock rom and extract the recovery from it
Click to expand...
Click to collapse
Anyone know where I can get stock recovery or how to extract from stock image from the ASUS site?
derbend said:
Anyone know where I can get stock recovery or how to extract from stock image from the ASUS site?
Click to expand...
Click to collapse
Seems like Mega is up again. You should find stock recovery here
https://mega.nz/#F!lw02CLpA!hpetR2-Sec1F__gHPNRE9Q!xhVEhCjB
DanFreed said:
Seems like Mega is up again. You should find stock recovery here
https://mega.nz/#F!lw02CLpA!hpetR2-Sec1F__gHPNRE9Q!xhVEhCjB
Click to expand...
Click to collapse
Thanks! I ended up having to use the 11.41.87.2 recovery in order to flash a Nougat update - it wouldn't work with the older recoveries.

Do Full Stock files modify bootstack?

Question: If I install a full stock zip, does it overwrite:
Boot stack? <- Yes if from stock recovery / ? if from TWRP
Fastboot? <- Yes if from stock recovery / No if from TWRP
Recovery? <- Yes if from stock recovery / Yes if from TWRP
I've flashed a full stock zip and fastboot. just want to make sure I don't need to also flash stock bootstack for RMA purposes.
witchcraftz said:
Question: If I install a full stock zip, does it overwrite:
Boot stack? <- ?
Fastboot? <- No
Recovery? <- Yes
I've flashed a full stock zip and fastboot. just want to make sure I don't need to also flash stock bootstack for RMA purposes.
Click to expand...
Click to collapse
If you want to RMA your phone, flash an official zip through the official recovery. Those overwrite the bootstack, the recovery and the bootloader. Or use MiFlash. But I wouldn't risk locking the bootloader with not everything fully stock...
After flashing the official zip use axon7toolkit to relock.
I followed this process and I locked my phone.
https://forum.xda-developers.com/showpost.php?p=73576556&postcount=47
I'll download the latest Official Zip form ZTE and flash it officially just to make sure.
https://www.zteusa.com/axon-7#support
Thanks
I have been able to download OTAs and update this way.
But when I try to flash a Stock update.zip either from SD card or internal storage it gives me an error about not being able to mount the SD card.
Will the OTA updates also overwrite to boot stack?
Choose an username... said:
If you want to RMA your phone, flash an official zip through the official recovery. Those overwrite the bootstack, the recovery and the bootloader.
Click to expand...
Click to collapse
The phone downloaded the OTA for B19 and was able to run the update. How does ZTE check for a phone having been modified? Are there some steps or commands that can be run to check before sending it in? Should I just reflash the B19 full stock from Miflash to be sure everything is back to stock?
witchcraftz said:
The phone downloaded the OTA for B19 and was able to run the update. How does ZTE check for a phone having been modified? Are there some steps or commands that can be run to check before sending it in? Should I just reflash the B19 full stock from Miflash to be sure everything is back to stock?
Click to expand...
Click to collapse
We don't really know if they check it at all. Someone said he sent it unlocked and they disn't even notice.
Just be sure that the 5 second screen doesn't show up when you turn it on. Should be enough
Choose an username... said:
We don't really know if they check it at all. Someone said he sent it unlocked and they disn't even notice.
Just be sure that the 5 second screen doesn't show up when you turn it on. Should be enough
Click to expand...
Click to collapse
Update: My device was accepted by RMA and I have just received a replacement. Success!

Update Failed WAS-LX1

Hello,
today i wanted to update my *rooted* WAS-LX1 to B182, so i downloaded the update.zip and tried to flash it with FlashFire.
Then my phone booted in Error Mode. So i tried to boot in Fastboot mode, and it worked. So i flashed TWRP and now i want to install Stock firmware again, but i don't know which file i should flash. I've got 3 files called update.zip, update_data_full_public.zip and update_full_WASL21A_hw_eu.zip.
I hope you can help me.
Zillinda
Zillinda said:
Hello,
today i wanted to update my *rooted* WAS-LX1 to B182, so i downloaded the update.zip and tried to flash it with FlashFire.
Then my phone booted in Error Mode. So i tried to boot in Fastboot mode, and it worked. So i flashed TWRP and now i want to install Stock firmware again, but i don't know which file i should flash. I've got 3 files called update.zip, update_data_full_public.zip and update_full_WASL21A_hw_eu.zip.
I hope you can help me.
Zillinda
Click to expand...
Click to collapse
To update my rooted phone to B182 I had to download the full package (2.3gb, including update.zip and update_full_WASL21A_hw_eu.zip). I was not successfull in updating via TWRP. I updated via the official system menu so I don't know how exactly it was applied. According to other guides (http://www.stechguide.com/tag/was-lx1c432b182/ for example) it should be update.zip first and update_full_WASL21A_hw_eu.zip second, without a reboot. Let us know how it worked out...
garris_bibop said:
To update my rooted phone to B182 I had to download the full package (2.3gb, including update.zip and update_full_WASL21A_hw_eu.zip). I was not successfull in updating via TWRP. I updated via the official system menu so I don't know how exactly it was applied. According to other guides (http://www.stechguide.com/tag/was-lx1c432b182/ for example) it should be update.zip first and update_full_WASL21A_hw_eu.zip second, without a reboot. Let us know how it worked out...
Click to expand...
Click to collapse
Unfortunately it didn't work. The only thing i can do is boot in the TWRP recovery. Is there a way to flash the stock rom with fastboot?
Zillinda said:
Unfortunately it didn't work. The only thing i can do is boot in the TWRP recovery. Is there a way to flash the stock rom with fastboot?
Click to expand...
Click to collapse
I only tried flashing the update via sideload and recovery and it didn't work (http://rootmygalaxy.net/flash-ota-firmware-updates-using-adb-fastboot-commands/). Maybe you are lucky. Problem is, I'm quite new to this stuff, hopefully someone else can help out.
Can someone please provide us with a link for the stock recovery?
kazzot17 said:
Can someone please provide us with a link for the stock recovery?
Click to expand...
Click to collapse
https://mega.nz/#!V3AwUI6K!mcqlNCwcyE71MroUZuP9w-bNDhgt3MGzz0svgHUY8Ow
By the way, i solved the problem. I downloaded HuaweiUpdateExtractor for extracting the .img files from the update.app and i flashed them with fastboot.
Nice, congrats

Categories

Resources