Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] Reset tamper, flash stock, oem lock

OP Android.Addiction

8th December 2014, 10:43 AM   |  #21  
gee2012's Avatar
Recognized Contributor
Flag Heerlen
Thanks Meter: 3,276
 
8,885 posts
Join Date:Joined: Jul 2010
More
Quote:
Originally Posted by EddyOS

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

Tampered is set to FALSE, so to return to full stock i just flash the image and afterwards lock the bootloader (fastboot oem lock) manualy.
8th December 2014, 11:16 AM   |  #22  
EddyOS's Avatar
Recognized Contributor
Flag Liverpool, Merseyside
Thanks Meter: 3,228
 
13,591 posts
Join Date:Joined: Jan 2010
More
Quote:
Originally Posted by gee2012

Tampered is set to FALSE, so to return to full stock i just flash the image and afterwards lock the bootloader (fastboot oem lock) manualy.

That's strange, unless you've unlocked via an app after getting root using TowelRoot...as soon as you use 'fastboot oem unlock' it should set it to true
8th December 2014, 11:18 AM   |  #23  
gee2012's Avatar
Recognized Contributor
Flag Heerlen
Thanks Meter: 3,276
 
8,885 posts
Join Date:Joined: Jul 2010
More
Quote:
Originally Posted by EddyOS

That's strange, unless you've unlocked via an app after getting root using TowelRoot...as soon as you use 'fastboot oem unlock' it should set it to true

I reset the flag with BootUnlocker already.

Verstuurd vanaf mijn Nexus 5 met Tapatalk
8th December 2014, 11:21 AM   |  #24  
EddyOS's Avatar
Recognized Contributor
Flag Liverpool, Merseyside
Thanks Meter: 3,228
 
13,591 posts
Join Date:Joined: Jan 2010
More
Quote:
Originally Posted by gee2012

I reset the flag with BootUnlocker already.

Verstuurd vanaf mijn Nexus 5 met Tapatalk

And that's where it can be a bit dodgy. It's better to flash the factory image first, then boot into TWRP and run the boot unlocker script. I don't like to trust apps
8th December 2014, 12:04 PM   |  #25  
Senior Member
Thanks Meter: 662
 
764 posts
Join Date:Joined: Jun 2011
Quote:
Originally Posted by gee2012

Tampered is set to FALSE, so to return to full stock i just flash the image and afterwards lock the bootloader (fastboot oem lock) manualy.

the bootloader could *potentially* set tampered at the same time it clears unlocked, so this is not guaranteed to work.

but it could work... does it?
8th December 2014, 12:37 PM   |  #26  
rootSU's Avatar
Senior Member
Flag Oxenhope, West Yorkshire, UK
Thanks Meter: 13,793
 
24,958 posts
Join Date:Joined: Aug 2010
More
I've always used BootUnlocker to reset the flag and never had an issue.
The Following User Says Thank You to rootSU For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes