So I unlocked the bootloader and flashed TWRP before realizing that i had 2 dead pixels and got a replacement. Is there someway to relock the bootloader and get the original recovery back? I'd assume google won't honor the replacement otherwise.
Download the factory image here: https://developers.google.com/android/nexus/images#hammerhead
Extract the file down until you see recovery.img.
Flash recovery. "fastboot flash recovery recovery.img"
Then, "fastboot oem lock"
Sent from my Nexus 10 using Tapatalk 4
jason27131 said:
So I unlocked the bootloader and flashed TWRP before realizing that i had 2 dead pixels and got a replacement. Is there someway to relock the bootloader and get the original recovery back? I'd assume google won't honor the replacement otherwise.
Click to expand...
Click to collapse
And also do a data factory reset in /settings/backup/ and restore after you flashed the recovery to get the phone in factory condition.
Related
Hi,
I recently unlocked my bootloader and installed a custom recovery TWRP.
I am now looking to return my device to 100% stock, but I am currently experiencing a couple of issues flashing the factory image
I get the following message: "Device not unlocked cannot flash or erase"
I have also tried flash oem unlock and it just reboots the boot and returns to custom recovery
Any Idea's guys?
It would appear that your bootloader somehow got locked again. I'm on mobile right now but go into the Android development forum and find the mod tampering bit and flash that in your custom recovery and then proceed to unlock the bootloader. After that, proceed with your fastboot back to stock commands.
Sent from my One using Tapatalk
I've android PumpKinx 10.1 tablet with 5.1 Lollipop android os.
I did take backup of its stock recovery image.
Since there is no custom recovery image for this device I tried to flash it with twrp recovery image. But after running below command, device goes into bootloop. I've tried many methods but no success.
fastboot flash:raw boot twrp.img
Any help would be highly appreciated. Thanks in advance.
maybe u have locked bootloader. First turn on oem unlock in developer options, then reboot in bootloader and type
Code:
fastboot oem unlock
Then confirm acion in the tablet whit volume up, then the bootloader now is unlocked.
Note: The tablet get soft reset. Make backup first.
Then try flash the recovery
xdedeone said:
maybe u have locked bootloader. First turn on oem unlock in developer options, then reboot in bootloader and type
Code:
fastboot oem unlock
Then confirm acion in the tablet whit volume up, then the bootloader now is unlocked.
Note: The tablet get soft reset. Make backup first.
Then try flash the recovery
Click to expand...
Click to collapse
Do you understand boot loop or not? First of all fastboot is already unlocked otherwise how I will be able to run above command and since my device is in boot loop then how can I go to developer option?
chitrang200889 said:
I've android PumpKinx 10.1 tablet with 5.1 Lollipop android os.
I did take backup of its stock recovery image.
Since there is no custom recovery image for this device I tried to flash it with twrp recovery image. But after running below command, device goes into bootloop. I've tried many methods but no success.
fastboot flash:raw boot twrp.img
Click to expand...
Click to collapse
Just send them an email asking for stock firmware with flash tool, along with the purchase bill..
Or if it still has warranty, just go to the service center and say something like you over-charged the phone a complete night & since then it's not working and claim warranty..
Have you tried to wipe the cache partition or even factory reset???
Hello guys, I dont know whats happening with my Nexus 5 right now. Its stuck on Google logo which appears during restarting of the phone.
I have tried everything. I try to go into recovery it dosent work. I tried changing it to CWM from TWRP still it stays TWRP i get errors while flashing .bat files like (error: failure to write). Please help been stuck on this since past 72hours. Any help to resolve this issue is appreciated. Thanks :crying::crying::crying:
If the bootloader is unlocked, relock the bootloader and reboot into fastboot mode. If the bootloader unlocks itself, the internal memory is probably damaged. If the bootloader remains locked, unlock it and flash 4.4 using fastboot commands.
audit13 said:
If the bootloader is unlocked, relock the bootloader and reboot into fastboot mode. If the bootloader unlocks itself, the internal memory is probably damaged. If the bootloader remains locked, unlock it and flash 4.4 using fastboot commands.
Click to expand...
Click to collapse
OEM can be locked and unlocked. But the only problem now is i cannot override the previous partitions as there is an error "failed to write" i dont understand why is this happening this is also the reason i cannot get into my recovery as when i enter recovery it gets stuck for some reason.
audit13 said:
If the bootloader is unlocked, relock the bootloader and reboot into fastboot mode. If the bootloader unlocks itself, the internal memory is probably damaged. If the bootloader remains locked, unlock it and flash 4.4 using fastboot commands.
Click to expand...
Click to collapse
Also what does flash 4.4 mean? Sorry new to this!
audit13 said:
If the bootloader is unlocked, relock the bootloader and reboot into fastboot mode. If the bootloader unlocks itself, the internal memory is probably damaged. If the bootloader remains locked, unlock it and flash 4.4 using fastboot commands.
Click to expand...
Click to collapse
Also i tried to erase partitions manually but i always got an error as (remote: failed to erase partition)
Let's start with the bootloader.
Boot into fastboot mode, lock the bootloader, reboot into fastboot mode. Does the bootloader stay "locked" or does it go back to say "unlocked"?
audit13 said:
Let's start with the bootloader.
Boot into fastboot mode, lock the bootloader, reboot into fastboot mode. Does the bootloader stay "locked" or does it go back to say "unlocked"?
Click to expand...
Click to collapse
It goes back to unlocked
audit13 said:
Let's start with the bootloader.
Boot into fastboot mode, lock the bootloader, reboot into fastboot mode. Does the bootloader stay "locked" or does it go back to say "unlocked"?
Click to expand...
Click to collapse
Do you have discord or teamspeak or any other apps to chat directly?
NeXussssssssss said:
It goes back to unlocked
Click to expand...
Click to collapse
The internal memory may be damaged.
You might want to try this: https://forum.xda-developers.com/google-nexus-5/general/how-fixed-bricked-nexus-5-corrupted-t2903593
audit13 said:
The internal memory may be damaged.
You might want to try this: https://forum.xda-developers.com/google-nexus-5/general/how-fixed-bricked-nexus-5-corrupted-t2903593
Click to expand...
Click to collapse
I tried the 1st step by overwriting twrp with cwm dint work. Also ADB isnt connected. I tried to but just fastboot works.
I recommend flashing stock 4.4 using fastboot commands.
Stock ROMs are here: https://developers.google.com/android/images
audit13 said:
I recommend flashing stock 4.4 using fastboot commands.
Stock ROMs are here: https://developers.google.com/android/images
Click to expand...
Click to collapse
I tried flashing new roms it says failure to write to cache,boot,recovery everything fails!
There is no way to erase partitions as it fails!
I would say the internal memory is damaged and will require a motherboard change.
I unlock the bootloader to install twrp and magisk, it's possible to lock the bootloader again without problems or the phone don't boot?
Toni Moon said:
I unlock the bootloader to install twrp and magisk, it's possible to lock the bootloader again without problems or the phone don't boot?
Click to expand...
Click to collapse
Locking you bootloader while TWRP and Magisk are installed will give you a guaranteed brick. Use a Fastboot Rom to return to stock, then you can lock it
If you want to keep TWRP and root, do not lock the bootloader. As the user mentioned above, you'll brick your device.
if i flash stock rom, than is that ok to lock the bootloader ? and how to lock it ?
majidshahab091 said:
if i flash stock rom, than is that ok to lock the bootloader ? and how to lock it ?
Click to expand...
Click to collapse
If you flash a full stock rom then yes. All you do is use the fastboot rom we talked about earlier, let the phone boot up (don't bother completing the setup process, just let the phone boot up), restart to bootloader, and use the following command from the command prompt on your pc:
Fastboot oem lock
It will give you a menu on your pone asking if you want to lock the bootloader. Tell it yes. It will then lock the bootloader, factory reset the phone, and then boot up normally with the bootloader locked. It's that easy.
ok thanks.one question. is that important to flash the stock rom using fastboot only ? or can i flash it using twrp ?
majidshahab091 said:
ok thanks.one question. is that important to flash the stock rom using fastboot only ? or can i flash it using twrp ?
Click to expand...
Click to collapse
I did it through twrp, worked just fine. Make sure to wipe beforehand though, don't want to risk bricking your phone
majidshahab091 said:
ok thanks.one question. is that important to flash the stock rom using fastboot only ? or can i flash it using twrp ?
Click to expand...
Click to collapse
Doing it with a Fastboot Rom will guarantee that things needing wiped will get wiped. When returning to full stock I will always recommend the Fastboot Rom just because of how it completely handles everything it does flawlessly. I imagine flashing a full rom in TWRP will work but I have never tried to return to stock this way
i did try stock using twrp and it was perfect
I have unlocked bootloader but in the end NOT installed TWRP or root (just wanted to test if i can live without it and still be able to install without wiping everything)
Now I just want to lock bootloader again for selling device.
Can I do so with simple fastboot command "fastboot oem lock" without bricking phone?
TaranQ said:
I have unlocked bootloader but in the end NOT installed TWRP or root (just wanted to test if i can live without it and still be able to install without wiping everything)
Now I just want to lock bootloader again for selling device.
Can I do so with simple fastboot command "fastboot oem lock" without bricking phone?
Click to expand...
Click to collapse
Use msm download tool to be sure. It will however wipe all.
TaranQ said:
I have unlocked bootloader but in the end NOT installed TWRP or root (just wanted to test if i can live without it and still be able to install without wiping everything)
Now I just want to lock bootloader again for selling device.
Can I do so with simple fastboot command "fastboot oem lock" without bricking phone?
Click to expand...
Click to collapse
You can, but if you are selling the phone I would still use a fastboot rom just to be sure everything is wiped and no data sensitive to you is being sold along with the phone.
Thanks a lot for the shared info here. This is just what I need and had been asking myself for quite some time now.??
So never lock bootloader with twrp and magisk installed.
hello,
i did unlock the bootloader for my zenfone 7 pro
and installed twrp recovery then rooted via magisk
cuz I wanted voLTE but it didn't work for me so I wanted to be back to stock
I relock the phone using fastboot command
fastboot oem asus-lock
it did relock my phone
but there is no OS nor Recovery !
when I power my phone on the fastboot UI appears. even if I select recovery nothing changes. opens fastboot only
how to re install the firmware ? help plz
in case anyone has the same problem.
i did solve it by flashing the (raw) firmware via fastboot ( Flash_AFT method )
M-772007 said:
hello,
i did unlock the bootloader for my zenfone 7 pro
and installed twrp recovery then rooted via magisk
cuz I wanted voLTE but it didn't work for me so I wanted to be back to stock
I relock the phone using fastboot command
fastboot oem asus-lock
it did relock my phone
but there is no OS nor Recovery !
when I power my phone on the fastboot UI appears. even if I select recovery nothing changes. opens fastboot only
how to re install the firmware ? help plz
Click to expand...
Click to collapse
There are new guides on how to get volte if you want to try again.
[Guide] Easy method to Enable Volte (with root) on Tmobile and maybe other networks on Android 11 and maybe 10
So first you have to root. I used twrp and magisk. There are guides on how to do that you can find by searching around. Then once you do that, follow these directions, What I did was manually entered all of these setprop commands below, on the...
forum.xda-developers.com
This is one but there are others if you need the help.
After relock bootloader i can send phone to warranty?
I tried to relock the phone with the command "fastboot oem asus-lock", but it shows "waitting for any device" and my phone just sit there and do nothing..
Any other method to relock the Zenfone 7 pro?
M-772007 said:
hello,
i did unlock the bootloader for my zenfone 7 pro
and installed twrp recovery then rooted via magisk
cuz I wanted voLTE but it didn't work for me so I wanted to be back to stock
I relock the phone using fastboot command
fastboot oem asus-lock
it did relock my phone
but there is no OS nor Recovery !
when I power my phone on the fastboot UI appears. even if I select recovery nothing changes. opens fastboot only
how to re install the firmware ? help plz
Click to expand...
Click to collapse
I believe that relock is impossible and but to make the device recovery to installed status of stock rom keeping with unlock bootloader.
Please see my post. May make it help or not.
When I try to burn rom with TWRP, img burns but it doesn't start and zip gives an error and cannot burn.
When I first burned custom ROM (unofficial AEX), it did not start, so when I deleted the data from TWRP, it seems that I deleted things that should not be erased, so even if I burn it from the zip file, with the error message in the image below I...
forum.xda-developers.com