helo friends i need help.i just wanna know how can i unroot and relock the boot loader of my nexus 4 if i want to send to for replacement.i used the Mskips toollkit to root and unlock the boot loader and i know that there is a option to relock and unroot but can someone plz explain me the full procedure properly.
Flash the stock image following this guide: http://forum.xda-developers.com/showthread.php?t=2010312
Then to lock use the command: fastboot oem lock
Sent from my Nexus 4 using xda premium
Hi i had some problem too had just solve it.
I pushed Stock Rom then i had tried re lock. But toolkit couldnt do it.
Then i pushed stock recovery too then toolkit locked my phone...
Related
So I used the Nexus Root Toolkit to flash stock and unroot it, but after using it, I got stuck at the bootloader screen. So I pushed the start button to reboot, and my nexus 7 is still rooted. Help plz?
Give it a try again? I have use this 5 times, work great for me, u have adb fastboot mode on ur desktop?
Sent from my HTC Sensation XL with Beats Audio X315e using xda premium
Download the stock image and flash in fastboot .
Sent from my Nexus 7 using xda premium
So when i try to fastboot the bootloader .img manually, it says:
sending bootloader ... okay
'writing bootlader'.... failed (remote: (invalid state))
so what do i need to do to fix that?
zeiloz said:
So when i try to fastboot the bootloader .img manually, it says:
sending bootloader ... okay
'writing bootlader'.... failed (remote: (invalid state))
so what do i need to do to fix that?
Click to expand...
Click to collapse
Is your bootloader locked?
Sent from my Nexus 7 using xda premium
it said lock status: unlock
So i would presume its unlocked...
zeiloz said:
it said lock status: unlock
So i would presume its unlocked...
Click to expand...
Click to collapse
OK. I've never seen that error before. And a quick google search doesn't come up with anything either.
You could try restarting the bootloader with
Code:
fastboot reboot-bootloader
and trying again.
The only thing I can think of is you could be trying to flash the wrong bootloader (which i doubt) Just to confirm you are trying to flash bootloader-grouper-3.34.img
Also, to just unroot you don't need to reflash the bootloader. Just boot.img and system.img
El Daddy said:
OK. I've never seen that error before. And a quick google search doesn't come up with anything either.
You could try restarting the bootloader with
Code:
fastboot reboot-bootloader
and trying again.
The only thing I can think of is you could be trying to flash the wrong bootloader (which i doubt) Just to confirm you are trying to flash bootloader-grouper-3.34.img
Also, to just unroot you don't need to reflash the bootloader. Just boot.img and system.img
Click to expand...
Click to collapse
Yes, I am trying to flash bootloader.grouper-3.34.img
And Im flashing bootloader because its I'm told to do in this thread? http://forum.xda-developers.com/showthread.php?t=1781250
I will try what you told me and see if it will work
So i rebooted the bootloader, and it still gives me the same thing. Whats the command to boot.img and system .img?
zeiloz said:
So i rebooted the bootloader, and it still gives me the same thing. Whats the command to boot.img and system .img?
Click to expand...
Click to collapse
Both the boot.img and the system.img are in the image-nakasi-jro03d.zip you must extract them first.
Then run: fastboot devices (to make sure you're connected) if it returns the serial number then proceed.
Code:
fastboot flash system system.img
fastboot flash boot boot.img
fastboot erase cache
fastboot reboot
This should maintain your data and unroot your nexus.
However, I am a bit concerned about the invalid state error. I can't find anything about it at all. I'm worried your nand might be corrupted and proceeding with this might lead to an unrecoverable state. Maybe someone else can weigh in on this... I don't want to scare you but I don't want to be responsible if something goes wrong.
hmm... I hope more people would weigh in on this? Cuz im exchanging the nexus 7 due to flickering screens, and im new to the rooting/unrooting stuff so i dont want to brick this device cuz im a n00b.
hmm... I hope someone else weigh in on this to help, cuz I'm going to exchange this nexus 7 for another 1 because of flickering issues...
Restart, carefully check
My nexus had the ghosting issue and I had to unroot my device to ship back today. Heres how I did it.
1. Download stock ROM from Google.
2. Unzip stock ROM from Google. The unzipped file will have 4 files in it. (Boot loader grouper image, flash all.sh, flash base.sh and the image.zip)
3. Unlock your device by clicking the unlock button on nexus root toolkit
4. When your device wakes turns on set it back up. No need to log into Google.
5. turn a dB back on in development
6. Click flash stock + unroot
7. click other/browse
8. For choice click I did this already.
9. Click OK
10. browse to your unzipped file location with the 4 files in it.
11. click OK
12. Done
Sent from my Desire HD using xda premium
I'm facing a similar problem.
http://forum.xda-developers.com/showthread.php?p=31128926
Did you find a way to flash the Bootloader?
I'm thinking about a hardware issue as well. Are there any Devices, with corrupted NAND's known?
Marcus
Gesendet von meinem Galaxy Nexus mit Tapatalk 2
i dont know what i did..i was trying to unlock the bootloader and root my n4 but it came to an end that the only way to boot into android is if i fastboot boot boot.img..if i reboot my n4 it will get stock in bootloop and one more thing..by accident i deleted mms.apk and now it is no where to be found..the only way is to flash the whole rom?
If all you did was fastboot oem unlock and fastboot boot boot.img, then all you should have to do is reboot the phone. It will take a minute to boot since you wiped your data when you unlocked the bootloader
Sent from my ASUS Transformer Pad TF300T using xda app-developers app
Hi i want to downgrade my nexus 7 (wifi only) to the 4.2.2 firmware in order to unlock the deviceĀ“s bootloader? Should I just flash the factory image for 4.2.2 or must I need to do it another way? For additional info do I have a (wifi only) Nexus 7 running stock 4.3.
Thanks!
Gustav19967 said:
Hi i want to downgrade my nexus 7 (wifi only) to the 4.2.2 firmware in order to unlock the deviceĀ“s bootloader? Should I just flash the factory image for 4.2.2 or must I need to do it another way? For additional info do I have a (wifi only) Nexus 7 running stock 4.3.
Thanks!
Click to expand...
Click to collapse
Don't quite understand why you want to downgrade?
You can unlock bootloader from the present firmware too.
Just boot into boot loader (turn off tab and press the vol up , vol down and power button simeltaneously )
and type
Code:
fastboot oem unlock
in fastboot mode
And just pass the disclaimer in the bootloader menu and you will be good to go.
And if you want to flash the factory images. I think you need to unlock your bootloader anyway.
PS Unlocking your boot loader erases all the data on your tablet. So make sure you take a backup before you do anything.
Sent from my Nexus 7
Red Devil said:
Don't quite understand why you want to downgrade?
You can unlock bootloader from the present firmware too.
Just boot into boot loader (turn off tab and press the vol up , vol down and power button simeltaneously )
and type
Code:
fastboot oem unlock
in fastboot mode
And just pass the disclaimer in the bootloader menu and you will be good to go.
And if you want to flash the factory images. I think you need to unlock your bootloader anyway.
PS Unlocking your boot loader erases all the data on your tablet. So make sure you take a backup before you do anything.
Sent from my Nexus 7
Click to expand...
Click to collapse
Thank you so much!
Hi
Please help! I unlocked the bootloader by using
fastboot unlock oem
after that I forgot to reboot and installed
fastboot flash recovery twrp.name.file
now I'm stocked at bootup and twrp is asking for password.
How can I fix this?
Could I flash the stock boot.img again?
ROM is stock OTA 4.4.2.
I know about flashing a factory image. I would like to find a way to save my data first, if possible.
Many thanks for your help!!!!!!!
C0qRouge said:
Hi
Please help! I unlocked the bootloader by using
fastboot unlock oem
after that I forgot to reboot and installed
fastboot flash recovery twrp.name.file
now I'm stocked at bootup and twrp is asking for password.
How can I fix this?
Could I flash the stock boot.img again?
ROM is stock OTA 4.4.2.
I know about flashing a factory image. I would like to find a way to save my data first, if possible.
Many thanks for your help!!!!!!!
Click to expand...
Click to collapse
Wipe cache from twrp, this is happened to me too But for the password i don't know...maybe reflash twrp, boot.img is the kernel so in my opinion flashing it wouldn't help you
Did you flash straight from 4.2.2 to after installing twrp? I did the same thing. I had to flash back to stock 4.2.2, install twrp, connect the phone to my computer, choose accept at RSA message, and fastboot flash to 4.4.2.
C0qRouge said:
Hi
Please help! I unlocked the bootloader by using
fastboot unlock oem
after that I forgot to reboot and installed
fastboot flash recovery twrp.name.file
now I'm stocked at bootup and twrp is asking for password.
How can I fix this?
Could I flash the stock boot.img again?
ROM is stock OTA 4.4.2.
I know about flashing a factory image. I would like to find a way to save my data first, if possible.
Many thanks for your help!!!!!!!
Click to expand...
Click to collapse
boot into bootloader and type :fastboot format data press enter and then : fastboot reboot .
it should boot now
Thanks
Sent from my Nexus 4 using xda app-developers app
I see plenty of guides on how to unlock the bootloader which as I understand voids the warranty. Is there any way to relock the bootloader if I need to? Maybe someone could link me to a guide?
I've had bad experiences with dodgy solder in 3 LG G4 handsets so I sort of see the value in a manufacturer's warranty these days.
In fastboot
"Fastboot oem relock YourCode"
Fastboot relock still show that the phone was unlocked before but to revert to original state you have to flash stock firmware using this guide https://forum.xda-developers.com/mate-9/how-to/guide-rebrand-chinese-al00-mate9-to-t3554656/page57
This will lock the bootloader without any trace
Many many thanks.
gm007 said:
Fastboot relock still show that the phone was unlocked before but to revert to original state you have to flash stock firmware using this guide https://forum.xda-developers.com/mate-9/how-to/guide-rebrand-chinese-al00-mate9-to-t3554656/page57
This will lock the bootloader without any trace
Click to expand...
Click to collapse
Hi can you write me step by step how lock again bootloader becuase i read this link and i dont know how. Please.
I want debrand my P10 to clear soft Huawei and again lock boot loader to have full warranty. please help me
gm007 said:
Fastboot relock still show that the phone was unlocked before but to revert to original state you have to flash stock firmware using this guide https://forum.xda-developers.com/mate-9/how-to/guide-rebrand-chinese-al00-mate9-to-t3554656/page57
This will lock the bootloader without any trace
Click to expand...
Click to collapse
Is the adb relock bootloader "Code" command connected with a factory reset? Do I keep my data?