Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,729,023 Members 42,044 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Reset tamper, flash stock, oem lock

Tip us?
 
Android.Addiction
Old
#1  
Member - OP
Thanks Meter 7
Posts: 86
Join Date: Oct 2012
Default [Q] Reset tamper, flash stock, oem lock

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?
 
rootSU
Old
#2  
rootSU's Avatar
Senior Member
Thanks Meter 9728
Posts: 20,889
Join Date: Aug 2010
Location: Oxenhope, West Yorkshire, UK
You could read the guide in general (sticky thread) which answers all these questions

Sent from my Nexus 5 using Tapatalk
Want to root/unroot? All important guides and info threads are contained within the "Sticky Roll-up" thread in General. Click the link below to get there!



Philz Touch Recovery with passkey secure lock

I do NOT reply to support queries over PM.
 
Android.Addiction
Old
#3  
Member - OP
Thanks Meter 7
Posts: 86
Join Date: Oct 2012
Quote:
Originally Posted by rootSU View Post
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.
 
Aerowinder
Old
#4  
Recognized Contributor
Thanks Meter 1191
Posts: 3,019
Join Date: Aug 2012
Quote:
Originally Posted by Android.Addiction View Post
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.
 

Google Firmware: Google
USB Drivers: Google | Mirror
ADB+ADB Drivers: 19.0.2 (4.4.4) + Koush Universal ADB Drivers

TWRP Official: hammerhead | flo
TWRP Holofied: hammerhead | flo

Gapps: BaNkS

Superuser: Chainfire | Mirror
 
Android.Addiction
Old
#5  
Member - OP
Thanks Meter 7
Posts: 86
Join Date: Oct 2012
Quote:
Originally Posted by Aerowinder View Post
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!
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes