FORUMS

Which Lockscreen Security Type Do You Use?

From pattern locks to the controversial face unlock, there are a number of different ways you … more

Xposed 3.0 Alpha 3 Released

A new alpha for the Xposed framework is out and brings several bug fixes. You’ll only need to flash … more

XDA Recap: This Week In Android (Apr 18 – 25)

Here in the digital XDA newsroom, we spend our days pouring over an average of … more

Sunday Debate: Custom ROMs vs. Modular Tweaks

Join us in a fun Sunday Debate on Mods and ROMs. Come with your opinions and feel free to … more
Post Reply Subscribe to Thread Email Thread

[Q] Reset tamper, flash stock, oem lock

8th December 2014, 09:43 AM |#21  
gee2012's Avatar
Recognized Contributor
Flag Heerlen
Thanks Meter: 3,474
 
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, 10:16 AM |#22  
EddyOS's Avatar
Recognized Contributor
Flag Liverpool, Merseyside
Thanks Meter: 3,635
 
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, 10:18 AM |#23  
gee2012's Avatar
Recognized Contributor
Flag Heerlen
Thanks Meter: 3,474
 
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, 10:21 AM |#24  
EddyOS's Avatar
Recognized Contributor
Flag Liverpool, Merseyside
Thanks Meter: 3,635
 
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, 11:04 AM |#25  
Senior Member
Thanks Meter: 1,569
 
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.

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, 11:37 AM |#26  
rootSU's Avatar
Senior Member
Flag Oxenhope, West Yorkshire, UK
Thanks Meter: 16,968
 
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


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