5,605,311 Members 38,515 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: 85
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 7512
Posts: 18,124
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
Always read the OP's of a thread and the last 2 pages before asking questions, unless there has been an update - in which case, read the last 5 pages!

nexus 5 | SlimKat | ElementalX kernel | Philz Touch Recovery

I do NOT reply to support queries over PM.
 
Android.Addiction
Old
#3  
Member - OP
Thanks Meter 7
Posts: 85
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 1031
Posts: 2,752
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.
 

Hammerhead Firmware: Google
USB Drivers: Google
ADB+ADB Drivers: 19.0.1 (API 19) + Koush's Universal ADB Drivers v6
Recovery: TWRP | Stock KOT49H zip
Superuser: Chainfire | Mirror
 
Android.Addiction
Old
#5  
Member - OP
Thanks Meter 7
Posts: 85
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