Post Reply

[Q] Reset tamper, flash stock, oem lock

OP Android.Addiction

2nd February 2014, 02:28 PM   |  #1  
OP Member
Thanks Meter: 7
 
87 posts
Join Date:Joined: Oct 2012
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?
2nd February 2014, 02:41 PM   |  #2  
rootSU's Avatar
Senior Member
Flag Oxenhope, West Yorkshire, UK
Thanks Meter: 12,157
 
23,154 posts
Join Date:Joined: Aug 2010
More
You could read the guide in general (sticky thread) which answers all these questions

Sent from my Nexus 5 using Tapatalk
2nd February 2014, 02:46 PM   |  #3  
OP Member
Thanks Meter: 7
 
87 posts
Join Date:Joined: Oct 2012
Quote:
Originally Posted by rootSU

You could read the guide in general (sticky thread) which answers all these questions

Sent from my Nexus 5 using Tapatalk

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.
2nd February 2014, 03:12 PM   |  #4  
Recognized Contributor
Thanks Meter: 1,259
 
3,155 posts
Join Date:Joined: Aug 2012
More
Quote:
Originally Posted by Android.Addiction

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.

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.
2nd February 2014, 03:59 PM   |  #5  
OP Member
Thanks Meter: 7
 
87 posts
Join Date:Joined: Oct 2012
Quote:
Originally Posted by Aerowinder

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.

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!
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Nexus 5 Q&A, Help & Troubleshooting by ThreadRank