Related
As per topic.
Stock 4.4.2 Unlocked bootloader, rooted and mods applied.
Is there anyway now to unroot, lock bootloader, reapply stock recovery and keep modifications made ?
would this also reset the tamper flag ?
Not actually planning to do this.. but thought I'd ask
Thanks
I'm not sure what you're asking but maybe start here http://forum.xda-developers.com/showthread.php?p=47025283
jd1639 said:
I'm not sure what you're asking but maybe start here http://forum.xda-developers.com/showthread.php?p=47025283
Click to expand...
Click to collapse
Hi
I'm asking if it's possible to restore stock recovery, lock the bootloader, unroot, clear the tamper flag BUT keep the mods I've added ??
Thanks
As far as I know, unrooting or locking the bootloader won't wipe your device, so your mods would be preserved.
There are steps here that should both lock the bootloader and clear the tamper flag: http://forum.xda-developers.com/showthread.php?t=2513701 (scroll to "Locking your bootloader+ Resetting the tamper flag") ... in that link, the device is already wiped before doing that, so it doesn't seem like it would wipe it again.
I haven't personally tried it, but I don't see anything that would wipe out your modifications. Of course, future OTA updates will fail if you've modded your system...
phazerorg said:
As far as I know, unrooting or locking the bootloader won't wipe your device, so your mods would be preserved.
There are steps here that should both lock the bootloader and clear the tamper flag: http://forum.xda-developers.com/showthread.php?t=2513701 (scroll to "Locking your bootloader+ Resetting the tamper flag") ... in that link, the device is already wiped before doing that, so it doesn't seem like it would wipe it again.
I haven't personally tried it, but I don't see anything that would wipe out your modifications. Of course, future OTA updates will fail if you've modded your system...
Click to expand...
Click to collapse
Thanks for the reply.
Just thinking the edits I've made will stop updates..
Thanks anyway
I RMA'd my device and need to reset the tamper flag. I followed the instructions here in the forums, but it is not working. I've tried 2 different methods.
1) Download the flashable zip file and use fast boot to boot into TWRP. The problem with this is that once i boot into TWRP, it does not recognize any files in the sdcard/downloads folder.
2) Download boot unlocker from the playstore. I need an unlocked and rooted device so this seems pointless as I will need to unlock and relock my boot loader to use this.
Someone please help.
ILowry282 said:
I RMA'd my device and need to reset the tamper flag. I followed the instructions here in the forums, but it is not working. I've tried 2 different methods.
1) Download the flashable zip file and use fast boot to boot into TWRP. The problem with this is that once i boot into TWRP, it does not recognize any files in the sdcard/downloads folder.
2) Download boot unlocker from the playstore. I need an unlocked and rooted device so this seems pointless as I will need to unlock and relock my boot loader to use this.
Someone please help.
Click to expand...
Click to collapse
in short do u want to unroot ur phone completely ?!! watch this video completely and follow it
http://youtube.com/watch?v=-L2fMZl027E
Sent from my Nexus 5 using Tapatalk
ILowry282 said:
I RMA'd my device and need to reset the tamper flag. I followed the instructions here in the forums, but it is not working. I've tried 2 different methods.
1) Download the flashable zip file and use fast boot to boot into TWRP. The problem with this is that once i boot into TWRP, it does not recognize any files in the sdcard/downloads folder.
2) Download boot unlocker from the playstore. I need an unlocked and rooted device so this seems pointless as I will need to unlock and relock my boot loader to use this.
Someone please help.
Click to expand...
Click to collapse
Re-root the device with TWRP. Then download bootunlocker and reset the tamper flag. Then flash the factory image, relock the bootloader, and you'll be good to go.
rahil3108 said:
in short do u want to unroot ur phone completely ?!! watch this video completely and follow it
http://youtube.com/watch?v=-L2fMZl027E
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I followed that video and it did not work. First off, I can't find that zip file anywhere. The link on the xda forums doesn't give me the correct file. Second, I have a mac. For me to boot into TWRP using fast boot, it required the boot loader to be unlocked. If I unlock the boot loader to boot into TWRP via fast boot, TWRP doesn't recognize any files in the downloads folder.
ILowry282 said:
I followed that video and it did not work. First off, I can't find that zip file anywhere. The link on the xda forums doesn't give me the correct file. Second, I have a mac. For me to boot into TWRP using fast boot, it required the boot loader to be unlocked. If I unlock the boot loader to boot into TWRP via fast boot, TWRP doesn't recognize any files in the downloads folder.
Click to expand...
Click to collapse
Bro,
1. Flash the factory image in fastboot
2. Download the latest TWRP recovery and rename it to twrp.img and put it in the fastboot folder and download this zip http://forum.xda-developers.com/attachment.php?attachmentid=2467503&d=1387666907 and put it on the phone`s sdcard.
3. Go into bootloader mode and flash the downloaded zip in recovery, just type in cmd: `fastboot boot twrp.img` and you`ll boot into twrp recovery.
4. Done, you`re device is locked and the tampered flag is reset.
Oeps saw you have a Mac so look here:
Full tutorial: http://www.youtube.com/watch?v=PX4R6IhcoTM.
---------- Post added at 08:15 AM ---------- Previous post was at 08:06 AM ----------
[/COLOR]
BirchBarlow said:
Re-root the device with TWRP. Then download bootunlocker and reset the tamper flag. Then flash the factory image, relock the bootloader, and you'll be good to go.
Click to expand...
Click to collapse
Wrong order bro, and why would you have to reroot to flash twtp as long as the bootloader is unlocked. Once the bootloader is locked you can`t flash the image anymore
gee2012 said:
Wrong order bro, and why would you have to reroot to flash twtp as long as the bootloader is unlocked. Once the bootloader is locked you can`t flash the image anymore
Click to expand...
Click to collapse
Because you need root to run BootUnlocker in order to reset the tamper flag. Resetting the tamper flag is the first thing you should do, relocking the bootloader is the last.
BirchBarlow said:
Because you need root to run BootUnlocker in order to reset the tamper flag. Resetting the tamper flag is the first thing you should do, relocking the bootloader is the last.
Click to expand...
Click to collapse
You don't need root for that bro and relocking and resetting the flag goes in one go with the bootunlocker script at the end.
Verstuurd vanaf mijn Nexus 5 met Tapatalk
gee2012 said:
You don't need root for that bro ☺
Verstuurd vanaf mijn Nexus 5 met Tapatalk
Click to expand...
Click to collapse
You do to use the BootUnlocker android app.
rootSU said:
You do to use the BootUnlocker android app.
Click to expand...
Click to collapse
No, i was talking about this script http://forum.xda-developers.com/attachment.php?attachmentid=2467503&d=1387666907 from here http://forum.xda-developers.com/showthread.php?t=2239421 to reset the tampered flag and relock the BL.
gee2012 said:
You don't need root for that bro and relocking and resetting the flag goes in one go with the bootunlocker script at the end.
Verstuurd vanaf mijn Nexus 5 met Tapatalk
Click to expand...
Click to collapse
The OP stated he couldn't get the script to work or didn't know how. My advice was that he use the app instead.
BirchBarlow said:
The OP stated he couldn't get the script to work or didn't know how. My advice was that he use the app instead.
Click to expand...
Click to collapse
Oke, initialy i thought he had a windows PC and saw later he had a Mac. Does the Bootlocker app also reset the tampered flag? Haven`t used it myself yet.
gee2012 said:
Oke, initialy i thought he had a windows PC and saw later he had a Mac. Does the Bootlocker app also reset the tampered flag? Haven`t used it myself yet.
Click to expand...
Click to collapse
Yep it does. With BootUnlocker, you don't even need the script, and you can lock/unlock the bootloader any time without wiping your data and you can also reset the tamper flag.
BirchBarlow said:
Yep it does. With BootUnlocker, you don't even need the script, and you can lock/unlock the bootloader any time without wiping your data and you can also reset the tamper flag.
Click to expand...
Click to collapse
Yeah it's great too. I keep my bootloader locked and tamper flag reset. This way, no one can access my data except through recovery. What I hope for next is locking recovery
</offtopic>
I'm returning my Nexus 5 for replacement and I was going to do the following:
- boot into Android and run BootUnlocker to reset Tamper flag
- Go to bootloader, use fastboot to flash factory images
- fastboot oem lock
Would this put the phone in factory state, without triggering tamper flag? I'm worried about step 2... would flashing factory images trip the tamper flag?
You could read the guide in general (sticky thread) which answers all these questions
Sent from my Nexus 5 using Tapatalk
rootSU said:
You could read the guide in general (sticky thread) which answers all these questions
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Thanks, however the guide seems to use a separate flash step to reset tamper, I was specifically interested in using the app instead if possible.
Android.Addiction said:
Thanks, however the guide seems to use a separate flash step to reset tamper, I was specifically interested in using the app instead if possible.
Click to expand...
Click to collapse
Your steps look good to me. There are a couple ways to flash the stock firmware, make sure your userdata gets wiped. You could also go into stock recovery when you're finished and factory reset.
Aerowinder said:
Your steps look good to me. There are a couple ways to flash the stock firmware, make sure your userdata gets wiped. You could also go into stock recovery when you're finished and factory reset.
Click to expand...
Click to collapse
So far I've just been running the steps inside ./flash-all.sh manually:
Code:
fastboot flash bootloader bootloader-hammerhead-hhz11k.img
fastboot reboot-bootloader
sleep 5
fastboot flash radio radio-hammerhead-m8974a-1.0.25.0.23.img
fastboot reboot-bootloader
sleep 5
fastboot -w update image-hammerhead-kot49h.zip
I can add this extra step before the above commands if needed:
fastboot erase userdata
Thanks man!
Android.Addiction said:
I'm returning my Nexus 5 for replacement and I was going to do the following:
- boot into Android and run BootUnlocker to reset Tamper flag
- Go to bootloader, use fastboot to flash factory images
- fastboot oem lock
Would this put the phone in factory state, without triggering tamper flag? I'm worried about step 2... would flashing factory images trip the tamper flag?
Click to expand...
Click to collapse
for the record: don't do this! it DANGEROUS to oem-lock without a working stock recovery corresponding to your bootloader version! its not mentioned often, but fastboot oem unlock uses the stock recovery to do the wipe plus unlock. this means: no stock recovery, no unlock!
yes, you can manually unlock THIS DEVICE because we know how to, IF YOU CAN BOOT AND BE ROOT. if you cant get root from android or recovery (say, recovery doesnt boot and android is not rooted) then you CANT UNLOCK EVER AGAIN.
Lanchon said:
for the record: don't do this! it DANGEROUS to oem-lock without a working stock recovery corresponding to your bootloader version! its not mentioned often, but fastboot oem unlock uses the stock recovery to do the wipe plus unlock. this means: no stock recovery, no unlock!
yes, you can manually unlock THIS DEVICE because we know how to, IF YOU CAN BOOT AND BE ROOT. if you cant get root from android or recovery (say, recovery doesnt boot and android is not rooted) then you CANT UNLOCK EVER AGAIN.
Click to expand...
Click to collapse
It's not the same as the OPO, but I'd agree that it's best to get to stock first then relock using the script as opposed to an app
EddyOS said:
It's not the same as the OPO, but I'd agree that it's best to get to stock first then relock using the script as opposed to an app
Click to expand...
Click to collapse
The steps the last guy quoted did flash factory images before locking.
rootSU said:
The steps the last guy quoted did flash factory images before locking.
Click to expand...
Click to collapse
Yeah, but the guy I was quoting was on about the issues present in the OPO where there are issues with the bootloader getting stuck locked if not using a stock recovery
rootSU said:
The steps the last guy quoted did flash factory images before locking.
Click to expand...
Click to collapse
lol yes he did, sorry! i thought he run the toggle-lock/reset-tamper script. my bad.
EddyOS said:
Yeah, but the guy I was quoting was on about the issues present in the OPO where there are issues with the bootloader getting stuck locked if not using a stock recovery
Click to expand...
Click to collapse
Sorry, to clarify -
Poster 1 - Outlines correct steps
Poster 2 - Don't do this this it's dangerous
You - yeah but its not dangerous. You're thinking of opo
Me - Actually the steps highlighted originally are correct and would work even on Opo!
rootSU said:
Sorry, to clarify -
Poster 1 - Outlines correct steps
Poster 2 - Don't do this this it's dangerous
You - yeah but its not dangerous. You're thinking of opo
Me - Actually the steps highlighted originally are correct and would work even on Opo!
Click to expand...
Click to collapse
In a nutshell, although the guide in my signature covers all bases with the OPO as I wrote it when I had one!
EddyOS said:
It's not the same as the OPO, but I'd agree that it's best to get to stock first then relock using the script as opposed to an app
Click to expand...
Click to collapse
what makes you think its not the same? any source to that info? i have a nexus 5 with me here, and i remember that fastboot oem unlock ran something that looked liked a recovery. do you mean to tell me that the bootloader has its own independent recovery image built into part of its partition to boot to and do the unlocking? because otherwise i dont see how it would do it. please explain.
Android.Addiction said:
I'm returning my Nexus 5 for replacement and I was going to do the following:
- boot into Android and run BootUnlocker to reset Tamper flag
- Go to bootloader, use fastboot to flash factory images
- fastboot oem lock
Would this put the phone in factory state, without triggering tamper flag? I'm worried about step 2... would flashing factory images trip the tamper flag?
Click to expand...
Click to collapse
Just reflash a factory image in fastboot with the`flash-all`command in cmd and relock the bootloader afterwards and its completely stock. Nexus 5 doesn`t have a tamper flag afaik anyway.
Lanchon said:
what makes you think its not the same? any source to that info? i have a nexus 5 with me here, and i remember that fastboot oem unlock ran something that looked liked a recovery. do you mean to tell me that the bootloader has its own independent recovery image built into part of its partition to boot to and do the unlocking? because otherwise i dont see how it would do it. please explain.
Click to expand...
Click to collapse
What I mean is there's an issue with the OPO where you relock the bootloader without the stock recovery and you then can't unlock it again. It's not been documented that the same fault happens in the Nexus range, but if the OP follows the guides available on here it'll all be OK
gee2012 said:
Just reflash a factory image in fastboot with the`flash-all`command in cmd and relock the bootloader afterwards and its completely stock. Nexus 5 doesn`t have a tamper flag afaik anyway.
Click to expand...
Click to collapse
all N5 have tamper flag. it was introduced mid life of the N4 via a bootloader upgrade. i had an N4 at the time and thought that move was sh*tty.
gee2012 said:
Just reflash a factory image in fastboot with the`flash-all`command in cmd and relock the bootloader afterwards and its completely stock. Nexus 5 doesn`t have a tamper flag afaik anyway.
Click to expand...
Click to collapse
Yes it does
EddyOS said:
Yes it does
Click to expand...
Click to collapse
Where can you see it? Not in the bootloader menu as i see. So its reset tampered flag (BootUnlocker), flash the factory image and afterwards lock the bootloader in fastbooot?
EddyOS said:
What I mean is there's an issue with the OPO where you relock the bootloader without the stock recovery and you then can't unlock it again. It's not been documented that the same fault happens in the Nexus range, but if the OP follows the guides available on here it'll all be OK
Click to expand...
Click to collapse
yes, we've established the steps are ok and it was my misreading.
but regarding my warning about locking with non working stock recovery: its not been documented, but im sure it happens all the same! the bootloader uses a recovery (presumably the one recovery we know and not an image embedded in the bootloader itself) to wipe data. and it would be a mistake to unlock before wiping. so the bootloader does the wipe-then-unlock by delegating everything to the recovery. no recovery, no unlock.
gee2012 said:
Where can you see it? Not in the bootloader menu as i see. So its reset tampered flag (BootUnlocker), flash the factory image and afterwards lock the bootloader in fastbooot?
Click to expand...
Click to collapse
When connected in fastboot, type
fastboot oem device-info
And it'll show device tampered true or false
To get it all back to stock, flash the factory image completely then boot TWRP (don't flash it) and run the bootunlocker script found in the Nexus 5 unroot thread
Hi guys,
I have a question for u. If I have rooted my N5 in the past and now I went back to stock, is it possible to check it?
And is it a reason to cancel my warranty?
If you returned to stock properly, no it cannot be traced.
Google won't reject warranty by apparently LG might
Sent from my Nexus 5 using Tapatalk
Did you reset the tamper flag? That's the only way Google/LG would know you modded.
How
BirchBarlow said:
Did you reset the tamper flag? That's the only way Google/LG would know you modded.
Click to expand...
Click to collapse
Is it a way to reset temper flag without working screen? I watched this video - How to Unbrick or Unroot the Nexus 5 (incl. Tamper Flag Reset) on YT and I can't flash cwm-Nexus.BootUnlocker.zip because I don't have working screen and TWRP isn't help for me. Is there any other way to install cwm-Nexus.BootUnlocker.zip without TWRP?
AdamDubas said:
Is it a way to reset temper flag without working screen? I watched this video - How to Unbrick or Unroot the Nexus 5 (incl. Tamper Flag Reset) on YT and I can't flash cwm-Nexus.BootUnlocker.zip because I don't have working screen and TWRP isn't help for me. Is there any other way to install cwm-Nexus.BootUnlocker.zip without TWRP?
Click to expand...
Click to collapse
If you're rooted and you have a video out, you can use BootUnlocker from play
rootSU said:
If you're rooted and you have a video out, you can use BootUnlocker from play
Click to expand...
Click to collapse
I am not rooted, but I can get root via NRT. But I don't want to unlock my bootloader, only to reset temper flag.
AdamDubas said:
I am not rooted, but I can get root via NRT. But I don't want to unlock my bootloader, only to reset temper flag.
Click to expand...
Click to collapse
You cant. ...and you should never use toolkits
rootSU said:
You cant. ...and you should never use toolkits
Click to expand...
Click to collapse
OK, I know now, but I didn't in the past.
Will it work if I simply flash cwm-Nexus.BootUnlock.zip via fastboot using "fastboot flash cwm-Nexus.BootUnlock.zip"?
AdamDubas said:
OK, I know now, but I didn't in the past.
Will it work if I simply flash cwm-Nexus.BootUnlock.zip via fastboot using "fastboot flash cwm-Nexus.BootUnlock.zip"?
Click to expand...
Click to collapse
No. You cannot fastboot flash zips. You can either have root and use an application to do it, or you can have a custom recovery and flash a zip. These are the only 2 ways and both involve you needing video/ screen to do it. If it is not done, there is nothing you can do.
rootSU said:
No. You cannot fastboot flash zips. You can either have root and use an application to do it, or you can have a custom recovery and flash a zip. These are the only 2 ways and both involve you needing video/ screen to do it. If it is not done, there is nothing you can do.
Click to expand...
Click to collapse
Thanks guys. You're awesome!
I hope LG won't check Temper flag. Rest of my phone is stock.
One more question. If I've flashed all stock files, my recovery is stock too? There was recovery.img file, but I want to be sure. And if not - Does the custom recovery void warranty?
Yes it does.
Just wanna know if i do factory reset on my sol26 unlocked via code it will be locked again thanks
Mckiel018 said:
Just wanna know if i do factory reset on my sol26 unlocked via code it will be locked again thanks
Click to expand...
Click to collapse
No, as a factory reset only deletes all user data from the rom (doesn't touch the bootloader)
Omario-242 said:
No, as a factory reset only deletes all user data from the rom (doesn't touch the bootloader)
Click to expand...
Click to collapse
Thanks is it proven i am afraid Lol???
One more question is there a easiest way to unlocked bootloader on my sol26
Please use the edit function and don't double post. (and there's a "Thanks" button for a reason )
I'm pretty sure it doesn't relock the device if you do a factory reset from within the rom.
And what do you mean with easier way? What's complicated about unlocking the bl?