Re-Locked Bootloader (i think?) - ZenFone 2 Q&A, Help & Troubleshooting

Today i did something very silly and used the Asus Flash tool to flash what i thought was the correct raw image for my ZE551ML (to try and re-lock the bootloader), it turned out that I in fact flashed the ZE550ML raw file by mistake !!! Upside is that the only difference i saw was the change in screen resolution and no harm seems to have been done to my phone.
I have now found a ZE551ML raw file and flashed that to my device and it seems to have worked and re-locked the bootloader.
The boot screen is now black again, but is there any other way to test or find out if it is indeed re-locked?

Try to flash TWRP

Kona67 said:
Try to flash TWRP
Click to expand...
Click to collapse
Installed temporarily, should i get an error or should it refuse to flash?

shake1963 said:
Installed temporarily, should i get an error or should it refuse to flash?
Click to expand...
Click to collapse
any custom recovery can not be flashed if bootloader is lock.
recovery was installed means bootloader is unlocked.

rajlko said:
any custom recovery can not be flashed if bootloader is lock.
recovery was installed means bootloader is unlocked.
Click to expand...
Click to collapse
But he said it was temporary... I assume he means it went back to stock after the second reboot?

azthemansays said:
But he said it was temporary... I assume he means it went back to stock after the second reboot?
Click to expand...
Click to collapse
Yes, back to stock after second boot...

rajlko said:
any custom recovery can not be flashed if bootloader is lock.
Click to expand...
Click to collapse
You can run a tethered TWRP without unlocking.
shake1963 said:
Yes, back to stock after second boot...
Click to expand...
Click to collapse
That was likely the "tethered" recovery then. Try the untethered, but of course skip the part where you unlock the bootloader. In short:
reboot into bootloader
fastboot flash recovery twrp.img
reboot into recovery (press volume down twice until "Reboot recovery" shows up, then press power button)
If that boots into TWRP I suppose the bootloader is still unlocked. It may not be the easiest, but it should give you an answer.

wutr said:
You can run a tethered TWRP without unlocking.
That was likely the "tethered" recovery then. Try the untethered, but of course skip the part where you unlock the bootloader. In short:
reboot into bootloader
fastboot flash recovery twrp.img
reboot into recovery (press volume down twice until "Reboot recovery" shows up, then press power button)
If that boots into TWRP I suppose the bootloader is still unlocked. It may not be the easiest, but it should give you an answer.
Click to expand...
Click to collapse
Seems bootloader is still unlocked.... TWRP untethered stuck so back to the drawing board lol..
I would love to know what the process for unlocking does when the terminal commands are processed. I have a spare ZF2 with a broken screen that I can experiment with so no great loss if I trash it...
Any recommendations for reading... or do I need to maybe learn a bit of code?
I saw a method on here somewhere where a couple of files are flashed from the ifwi.zip file found in stock rom (I think that is a method used in another zenfone variant .... The 5 or 4.) which re locks the bootloader.
Doesn't work on the ZF2 though....

Related

[Q] Device won't boot past HTC logo, please help!

Hi, after attempting to flash a custom ROM to my phone I'm experiencing a big problem, the phone will not boot past the HTC screen. This is obviously very frustrating as the phone is pretty much rendered useless.
I am able to get into the HBOOT menu by holding the Power button and Volume Down and from there am able to select Recovery and enter the ClockWork Mod recovery screens. As you can tell I'm a 100% noob and I really just want to revert my phone to a working state. My network is Vodafone UK. I can't find an RUU above version 3.13 which is apparently what I have (so it tries updating 3.13 to 3.13 and obviously fails).
Any help on getting my phone to work again would be very very appreciated, thanks.
VBQ24 said:
Hi, after attempting to flash a custom ROM to my phone I'm experiencing a big problem, the phone will not boot past the HTC screen. This is obviously very frustrating as the phone is pretty much rendered useless.
I am able to get into the HBOOT menu by holding the Power button and Volume Down and from there am able to select Recovery and enter the ClockWork Mod recovery screens. As you can tell I'm a 100% noob and I really just want to revert my phone to a working state. My network is Vodafone UK. I can't find an RUU above version 3.13 which is apparently what I have (so it tries updating 3.13 to 3.13 and obviously fails).
Any help on getting my phone to work again would be very very appreciated, thanks.
Click to expand...
Click to collapse
Download a ROM onto your computer, connect to your phone in recovery, mount the sdcard, move the ROM from your computer onto your phone's sdcard, and flash from recovery. No need for RUU.
Dont forget to wipe.
wipe data/factory reset and format all partitions (except sd card) from recovery.
Go to bananagranolas link in her signature, you'll find everything you need there.
Thanks a lot for your help! I was attempting to flash the JellyTime ROM which I understand must have failed to result in my phone not booting properly. Should I flash a stock ROM or will any ROM suffice?
VBQ24 said:
Thanks a lot for your help! I was attempting to flash the JellyTime ROM which I understand must have failed to result in my phone not booting properly. Should I flash a stock ROM or will any ROM suffice?
Click to expand...
Click to collapse
As long as you are S-OFF and have a custom recovery (CMW or 4EXT) you are able to flash any custom rom you like. Just make sure that you make a full wipe before the flashing (wipe data/factory reset, wipe cache partition, format system or in 4ext recovery just choose format all partitions except sdcard).
That should leave you up and running again.
Okay great!
I used the HTCDev tools to unlock my boot loader which I understand is different to S-OFF? Could that be while the ROM flashing failed originally?
EDIT: Upon trying to flash the JellyTime AKOP Rom I get a message saying install from SD card complete but it's still stuck at the HTC screen...
VBQ24 said:
Okay great!
I used the HTCDev tools to unlock my boot loader which I understand is different to S-OFF? Could that be while the ROM flashing failed originally?
Click to expand...
Click to collapse
If you have an unlocked bootloder, then you have to flash the rom (previous full wipe of course) then reboot bootloader (from advanced options in CWM) and then in fastboot (you should see fastboot usb in red in the phone when plugged to the pc) you have to flash the boot.img inside the rom zip folder.
Extract that file only (not the whole rom) and from a cmd session or terminal as root (located where the boot.img file is) type:
fastboot flash boot boot.img
Once that is done (you will get OKAY. finished near the bottom) you can reboot normally by typing in cmd fastboot reboot or choosing reboot from hboot.
My bootloader now says RELOCKED, how can I unlock it again? (I'm really sorry about this)
VBQ24 said:
My bootloader now says RELOCKED, how can I unlock it again? (I'm really sorry about this)
Click to expand...
Click to collapse
Use the token HTC sent you when u unlocked it. and typing in cmd the fastboot unlock command.
Okay done that, thanks a lot!
I'm now looking in the advanced options of CWM, I can see the option "Reboot Recovery" but no "Reboot Bootloader"?
VBQ24 said:
Okay done that, thanks a lot!
I'm now looking in the advanced options of CWM, I can see the option "Reboot Recovery" but no "Reboot Bootloader"?
Click to expand...
Click to collapse
then just turn the phone off (power off option) and then boot with power + volume down
glevitan said:
then just turn the phone off (power off option) and then boot with power + volume down
Click to expand...
Click to collapse
Okay, I wiped all partitions, installed JellyTime AOKP, restarted, went into fastboot, extracted/flash boot file and the rebooted phone.
The phone will now progress from the HTC screen but is now stuck on a black screen, Windows tried to install drivers but failed....
VBQ24 said:
Okay, I wiped all partitions, installed JellyTime AOKP, restarted, went into fastboot, extracted/flash boot file and the rebooted phone.
The phone will now progress from the HTC screen but is now stuck on a black screen, Windows tried to install drivers but failed....
Click to expand...
Click to collapse
Was the boot.img file flashed successfully?
Yes it said so...
EDIT: Not sure if this is an issue with the ROM of if I'm doing something wrong? I went to the "mounts and storage" section of CWM and clicked all the format options accept sdcard. I then installed ROM, went into fastboot and flashed boot.img, it said OKAY twice then finished. Still stuck at black, backlit screen after HTC screen. ROM is JellyTime by randomblame.
VBQ24 said:
Yes it said so...
Click to expand...
Click to collapse
that is weird. Try flashing a different rom then and see what happens. flash the boot image first and then the the rom in recovery.
glevitan said:
that is weird. Try flashing a different rom then and see what happens. flash the boot image first and then the the rom in recovery.
Click to expand...
Click to collapse
I've just tried flashing the boot image first and then installing JellyTime AOKP, same black screen. Maybe I should try a Gingerbread ROM? That's the Operating system I had before, is there a known working ROM?
VBQ24 said:
I've just tried flashing the boot image first and then installing JellyTime AOKP, same black screen. Maybe I should try a Gingerbread ROM? That's the Operating system I had before, is there a known working ROM?
Click to expand...
Click to collapse
Sorry, have You checked the md5sum of the file? Maybe You have a bad download...if that it Is ok, then try flashing a totally different rom and see what happens.
glevitan said:
Sorry, have You checked the md5sum of the file? Maybe You have a bad download...if that it Is ok, then try flashing a totally different rom and see what happens.
Click to expand...
Click to collapse
No I haven't checked the md5sum of the file, how should I go about doing that?
VBQ24 said:
No I haven't checked the md5sum of the file, how should I go about doing that?
Click to expand...
Click to collapse
https://play.google.com/store/apps/details?id=com.fab.md5
EDIT: well, don't I feel stupid. I knew full well from reading that your phone wasn't working, but posted a link to an app. Just not paying attention. Sorry about that.
VBQ24,
You can go back to stock by flashing a stock RUU from your PC.
(Edit: You should relock your bootloader first. you can do so from Hboot. There's an option that says relock bootloader or something like that)
The version of the RUU should be equal or greater to the version that came with your phone. Try this v3.13
However, if you want to flash a custom ROM:
You need to downgrade your device first, get s-off and root, then flash a custom ROM
You need to use the Advanced Ace Hack Kit (AAHK), get it from here.
Make sure to read the manual (called 'effin manual) word by word. There are instructions on how to downgrade.
Follow the instructions, and if you have any questions, ask here.

Rooting phone without wiping

Hello, I'm not sure if this has been discussed before, but atleast I didn't find a complete answer to my question.
I unlocked my bootloader some time ago, and I flashed a new Image, a stock 4.2 maguro image, but the problem is that I forgot to root the new image, i've been using my phone for some time now, and I wanted to root the phone, but is there a way to root the phone without wiping all the data and settings?
Braien
is your bootloader still unlocked?
if so, just flash or boot into a custom recovery and then flash the supersu.zip package. this will not wipe your data.
Zepius said:
is your bootloader still unlocked?
if so, just flash or boot into a custom recovery and then flash the supersu.zip package. this will not wipe your data.
Click to expand...
Click to collapse
Should be unlocked, but how can I be sure of that?
And how can I enter the custom recovery, I can't remember.
braien334 said:
Should be unlocked, but how can I be sure of that?
Click to expand...
Click to collapse
2 ways,
when you reboot your phone, do you see a little unlocked lock?
other way: boot into fastboot mode and the lock status will say "UNLOCKED"
braien334 said:
Should be unlocked, but how can I be sure of that?
Click to expand...
Click to collapse
During the boot, the padlock in the lower half is open if the device is unlocked .
Okay, it's unlocked, but how to enter the recovery mode?
If I press volume up+down and power, and I select recovery, it just says no command.
Is there some tutorial for rooting like this?
http://forum.xda-developers.com/showthread.php?t=1529058
follow the section after unlocking your device.
I used Nexus toolkit, but I guess it works the same, but is automatic.
But thanks anyways:good:

Bootloader locks itself?

Hello guys, I really can't understand what's going on: I unlocked my bootloader and then flashed TWRP. It worked and, after I opened it, I made a reboot and started Android. The phone got stuck on 4 dots loading screen for hours so I went to recovery, made a wipe and then Android started well... But when I got back to bootloader it showed locked with still TWRP recovery.
I just have tried to get into recovery to check again and now there's stock recovery.
What's the problem here?
I supposed that I could fix this problem by doing every step (flash recov, flash root rom kernel) without launching Android or it will stay in loading screen loop.
Help please! :crying:
You forgot to add that your motherboard has been replaced and you have no rpmb in device state.
Only one thing you can do is RMA phone again
Wysłane z iPhone za pomocą Tapatalk
02riccio said:
Hello guys, I really can't understand what's going on: I unlocked my bootloader and then flashed TWRP. It worked and, after I opened it, I made a reboot and started Android. The phone got stuck on 4 dots loading screen for hours so I went to recovery, made a wipe and then Android started well... But when I got back to bootloader it showed locked with still TWRP recovery.
I just have tried to get into recovery to check again and now there's stock recovery.
What's the problem here?
I supposed that I could fix this problem by doing every step (flash recov, flash root rom kernel) without launching Android or it will stay in loading screen loop.
Help please! :crying:
Click to expand...
Click to collapse
Can not unlock the bootloader http://forum.xda-developers.com/nexus-5x/help/unlock-bootloader-t3478257
No rpmb bootloader locked http://forum.xda-developers.com/nexus-5x/help/rpmb-bootloader-locked-t3481906
Can't unlock bootloader on N5X http://forum.xda-developers.com/nexus-5x/help/unlock-bootloader-n5x-t3290923
Bootloader relocks itself after reboot! http://forum.xda-developers.com/nexus-5x/help/bootloader-relocks-reboot-t3466854
No rpmb and impossibility to unlock my bootloader http://forum.xda-developers.com/nexus-5x/help/rpmb-impossibility-to-unlock-bootloader-t3483339
Bootloader locks after reboot, how to get rma? http://forum.xda-developers.com/nexus-5x/help/bootloader-locks-reboot-how-to-rma-t3518703
finally: you can have TWRP, root with superSU, root with phh's superuser, root with magisk, custom roms...
aalleexxnn said:
Can not unlock the bootloader http://forum.xda-developers.com/nexus-5x/help/unlock-bootloader-t3478257
No rpmb bootloader locked http://forum.xda-developers.com/nexus-5x/help/rpmb-bootloader-locked-t3481906
Can't unlock bootloader on N5X http://forum.xda-developers.com/nexus-5x/help/unlock-bootloader-n5x-t3290923
Bootloader relocks itself after reboot! http://forum.xda-developers.com/nexus-5x/help/bootloader-relocks-reboot-t3466854
No rpmb and impossibility to unlock my bootloader http://forum.xda-developers.com/nexus-5x/help/rpmb-impossibility-to-unlock-bootloader-t3483339
Bootloader locks after reboot, how to get rma? http://forum.xda-developers.com/nexus-5x/help/bootloader-locks-reboot-how-to-rma-t3518703
finally: you can have TWRP, root with superSU, root with phh's superuser, root with magisk, custom roms...
Click to expand...
Click to collapse
Thank you so much!
02riccio said:
Which link is the solution?
Click to expand...
Click to collapse
one way (i try'd it succesfully) http://forum.xda-developers.com/showpost.php?p=68836703&postcount=7
and some next posts
second way (may be more easy) https://www.reddit.com/r/nexus5x/comments/5hj0r0/bootloop_after_lg_replaced_mainboard_bootloader/
and (may be more more easy) in comments of this post:
"I think I found an easier way: 1. fastboot unlock 2. fastboot flash all partitions from stock 3. fastboot flash twrp 4. reboot to twrp (evtl 2x) 5. cancel the password screen and do a factory reset. 6. after that you can simply flash supersu
No different boot.img or special su needed."
note: you need "fastboot unlock" every time before flash (Because it's relocks every time)

Bootloader - No Command Error [solved]

Here are the steps that got me to where I am.
1. Stock Pixel XL March 2017
2. Installed TWRP
3. Installed SU
4. All worked correctly for the last month
5. Saw that there was a new April release
a. It would not install as I was rooted
b. I installed the April OTA using TWRP
c. Rebooted
6. Saw that I was no longer rooted
7. Tried to go to Bootloader
8. Got dead droid with no command error
9. Went to recovery (Power + up vol) to enter sideload
10. Sideloaded the April updated
11. Rebooted
a. Same no command error
b. Went to recovery (Power + up vol) to enter factory restore
c. Rebooted
12. Tried to go into boot loader
a. Same no command error
13. Problem is that twrp was not asking for pattern And would not install correctly with image file. Solution was to keep loading the twrp image file until it asks for pattern. Then follow standard twrp /su instructions.
Thanks.
Power device off, use key combo (power+voldown) to boot bootloader. Fastboot flash stock boot.img to both slot a and b. Then reboot, take the OTA, or sideload it. Reboot. Now reboot to bootloader, fastboot boot TWRP, then reboot to twrp. Now you can flash TWRP to keep it as the recovery, or just su then reboot. Should be good.
Sent from my Pixel XL using Tapatalk
This should be posted under Q&A not development
wyrdtrtle said:
Power device off, use key combo (power+voldown) to boot bootloader. Fastboot flash stock boot.img to both slot a and b. Then reboot, take the OTA, or sideload it. Reboot. Now reboot to bootloader, fastboot boot TWRP, then reboot to twrp. Now you can flash TWRP to keep it as the recovery, or just su then reboot. Should be good.
Sent from my Pixel XL using Tapatalk
Click to expand...
Click to collapse
Bootloader does not load.
When you get the dead Droid just hit vol up, no power button.
Sent from my Pixel XL using Tapatalk
Then what?
bschatzow said:
Then what?
Click to expand...
Click to collapse
I think I know where you went wrong you installed an incremental OTA with TW RP. If I'm not mistaken that new firmware had an updated bootloader and I believe that's dangerous to do. You may be out of luck
Why would the built in factory restore fix it?
bschatzow said:
Why would the built in factory restore fix it?
Click to expand...
Click to collapse
Can you get into fastboot?
So no bootloader.
Just my thoughts. I don't know if that's even possible.
Isn't it possible to edit the ota script to flash a bootloader?
Or even make a full factory update like this?
To use fastboot you need to be in bootloader mode.
mikaole said:
So no bootloader.
Just my thoughts. I don't know if that's even possible.
Isn't it possible to edit the ota script to flash a bootloader?
Or even make a full factory update like this?
Click to expand...
Click to collapse
If it is, I don't know how. I would need it to be able to load from Sideload.
Does phone boot at all? To OS?
Yes it does. Only thing not working is bootloader. Without out this I can't root.
bschatzow said:
Yes it does. Only thing not working is bootloader. Without out this I can't root.
Click to expand...
Click to collapse
Ok..if phone boots ur bootloader is still there. Phone wouldnt boot without it. You on stock rom? Hit me up on hangouts and I will try to help you if you want. For the sake of time. Im sure you wanna get this resolved ASAP.
Sent you a pm requesting contact info.
Moderator Close
Worked for a long time with BDogg718. He generously spent a great deal of his time with me and opened several Chats with Developers and No one had a solution. He is very knowledgeable and really did not want to give up. For now the solutions seems to be send it back to Google and get a replacement. It would be nice if someone could talk to Google, as a phone that has a recovery built in firmware should be able to restore itself. The dual slots seems to be a problem for them as well.
I think I had the same thing happen with me! I installed the update via TWRP. The update installation seemed to crash at the end, resulting in a reboot. The phone did install 7.1.2 successfully, but I lost root and the ability to successfully boot into any recovery. I tried flashing TWRP again, but it failed "FAILED (remote: partition recovery doesn't exist). It appeared to attempt to flash it into slot "_b", if that means anything.
TWRP will not boot on 7.1.2. At least that's the conclusion formed last night in #twrp while the devs were working with someone else with this issue. I don't think they know why yet, but I doubt it will be overly long til they figure it out.
Sent from my Pixel XL using Tapatalk
Glad to hear someone is on the case. I will be sure to send a few shekels their way for my clumsiness.

recovery won't open

good day,
i have an HTC 10 factory unlocked, i had the bootloader unlocked through HTCdev. i then flashed the latest TWRP recovery, attempting to enter revovery....i cant. i din't get the triangle thingy what so ever,it jus displayed the screen like when you're about to enter bootloader mode. then it would restart after that, almost brick it cuz it didn't wanna boot at one pointing time :crying::crying: .i've rooted m7,8 & 9 and never came across something like that. i can't even flash over new rom cuz cmd is given error: can't open recovery. before i attempted bootloader unlock via htcdev, i tried sunshine jus to avoid the hassle and when it was attempting to give me temproot, it failed....3 times so that was useless,leaving me to go manual. any help on this?
Wrong thread. But sounds like recovery didn't flash. Make sure your flashing to recovery partition. Search thread for toolkit, will make it easier.
Fastboot flash recovery recovery. IMG @download mode
I used this tool to safely and successfully install ROM and Recovery.. Maybe you could try..
Thanks to the developer..
https://forum.xda-developers.com/htc-10/how-to/2016-05-27-fastboot-flashing-firmware-t3387520
Not sure if this helps, but I get the same type of issue when booting to recovery, except my phone is bone stock.
What works for me is right after the symbol comes up, press Vol Up and Power at the same time. If I time it right, recovery mode comes up. Not sure if it will work with TWRP, since I've never used it.
Sent from my htc_pmewl using XDA Labs
2WildFirE said:
Fastboot flash recovery recovery. IMG @download mode
Click to expand...
Click to collapse
that's what i did but still showing error:can't open recovery

Categories

Resources