New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Racer Of All
Old
(Last edited by Racer Of All; 8th September 2012 at 09:28 PM.) Reason: Added FAQ
#1  
Racer Of All's Avatar
Recognized Contributor - OP
Thanks Meter 583
Posts: 749
Join Date: May 2009
Location: Mesa, AZ
Default PSA: Clear Google Wallet Settings Before Flashing ROM/Hard Resets!

IMPORTANT! Please read!

While waiting to get my hands on one of these awesome phones I've been reading all I can about it. One thing I ran across in another forum was an issue people were having with the Nexuses & One X's and Google Wallet.

If you do not clear the Google Wallet settings before you do a hard reset/ROM flash, the secure element could be FOREVER BRICKED and you will NOT be able to ever use it for secure purposes such as Google Wallet purchases or future use of the secure element.

For some, this wont be a problem, but if you ever plan or at least want to have the option to use the google wallet, follow these simple steps before doing a hard reset or flashing a new ROM on your phone:

Launch Google Wallet
Hit menu button> Settings> Reset Google Wallet

You are now safe to flash a new ROM or reset your phone, Wallet will be waiting for you on the other side.

Clearing the app data or cache through settings or Titanium WILL NOT WORK! It HAS to be done within the Wallet app. This resets the secure certificate (?) and allows NFC to be used for secure purposes in the future.

EDIT: 9/8/2012 There has been a new update to Wallet, it now stores data on the cloud, however it's not clear whether or not the secure element is still being used. Please read the last couple of pages to see what we currently know. I will update this post if we can get an official response from Google. For now I recommend we continue to clear Wallet before flashing until we can figure out the cause of the bricks.

---

While I understand the notion of keeping such functionality very secure, Google should have expressed the potential problem. Especially since hard resets are used as a solution when an ordinary user has a problem with their phone.

Frequently Asked Questions

Does this mean if this happens to me I wont be able to use NFC at all?
No. Not at all. NFC will still be functional for non-secure events, like Beam and NFC tag usage. This will only affect secure things, which at the moment is only Wallet.

Is there really no fix?
If you get the "secure element not responding" error, no. Of all the cases the only solution is to get a new phone. The secure element is permanently broken. In the future someone might find a fix, but that sounds unlikely. If you can swap your phone, do it.

How can I prevent this from happening?
If you don't do a lot of flashing, just remember to clear Wallet settings before flashing a new ROM. I would recommend to just leave Wallet cleared if you plan on flashing a lot, you forget once and it could be the end of your secure element.

I get a "Unsupported Device Error" yet Wallet still works, why?
This is a complete different error altogether and as a matter of fact, is not a big deal at all. This only shows up to root users and can easily be ignored -- Wallet will still work.

Why don't we have ROM devs cook in an auto-wiper when installing their ROM?
Only Wallet has the ability to access the phone's secure element, and it will likely be that way for the foreseeable future. A workaround would be to add an option before flashing anything to the recovery itself to ask people if they have cleared Wallet settings.

Wallet is asking for root permissions, should I grant them?
While there are no known repercussions to allowing root, as a general rule of thumb you should never allow root to an application you did not intend to give root access or do not know why it is requiring it. To be on the safe side (and in case something comes up in the future) deny root access to Wallet.

If I never set up Google Wallet will I be fine?
Yes. When you reset Wallet, its restores the secure element and the application data to how it was before an account was linked to your phone, therefore if you never set one up it will be the same as "restoring" an existing Wallet setup.

Wallet is stuck at "adding card" or "initializing account" or it tells me my device/carrier is not authorized, is my secure element toast?
Nope. This is a different message, Wallet activation is turned off at the moment. However, utnick came up with a working fix to get Wallet working right away. Check out his post here to get it. Please do not discuss Wallet activations here.

Sources:
http://rootzwiki.com/news/_/articles...le-wallet-r280
http://forum.xda-developers.com/show....php?t=1472117
http://androidforums.com/verizon-gal...ml#post4013169
http://androidforums.com/sprint-gala...ml#post4376858
http://pocketnow.com/android/google-...s-and-bad-news


﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏
Need Help? First read the stickies, then search. If that fails, PM me and I'll try to help you.

If I helped you, please hit the thanks button to let me know! It really makes my day. =)
﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋
The Following 48 Users Say Thank You to Racer Of All For This Useful Post: [ Click to Expand ]
 
-Cupper-
Old
#2  
-Cupper-'s Avatar
Senior Member
Thanks Meter 623
Posts: 2,399
Join Date: Mar 2010
Location: Grapevine, Texas

 
DONATE TO ME
Even when running a ruu?

Sent from my EVO using Tapatalk 2
Phone: Htc One
Rom: Viper
Kernel: Stock
__________________
Get a Dropbox with 2.0GB of storage free, and both of us will get extra 500mb of free space!
__________________
Instagram
Twitter
My website IfixitiPhones
__________________
If I helped you then hit the thanks button. Please and thanks
__________________
And yes, i'm a bish.
 
Racer Of All
Old
#3  
Racer Of All's Avatar
Recognized Contributor - OP
Thanks Meter 583
Posts: 749
Join Date: May 2009
Location: Mesa, AZ
Quote:
Originally Posted by alainater View Post
Even when running a ruu?

Sent from my EVO using Tapatalk 2
From what I read, and unless things are different in our phones than the One X or the Nexus, yes, it will permanently bork it.


﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏
Need Help? First read the stickies, then search. If that fails, PM me and I'll try to help you.

If I helped you, please hit the thanks button to let me know! It really makes my day. =)
﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋
 
-Cupper-
Old
#4  
-Cupper-'s Avatar
Senior Member
Thanks Meter 623
Posts: 2,399
Join Date: Mar 2010
Location: Grapevine, Texas

 
DONATE TO ME
Quote:
Originally Posted by Racer Of All View Post
From what I read, and unless things are different in our phones than the One X or the Nexus, yes, it will permanently bork it.
That's so stupid and makes no sense at all...

Sent from my EVO using Tapatalk 2
Phone: Htc One
Rom: Viper
Kernel: Stock
__________________
Get a Dropbox with 2.0GB of storage free, and both of us will get extra 500mb of free space!
__________________
Instagram
Twitter
My website IfixitiPhones
__________________
If I helped you then hit the thanks button. Please and thanks
__________________
And yes, i'm a bish.
 
freeza
Old
#5  
freeza's Avatar
Recognized Developer
Thanks Meter 6929
Posts: 3,800
Join Date: May 2006
Location: Pasadena, CA

 
DONATE TO ME
Quote:
Originally Posted by Racer Of All View Post
IMPORTANT! Please read!

While waiting to get my hands on one of these awesome phones I've been reading all I can about it. One thing I ran across in another forum was an issue people were having with the Nexuses & One X's and Google Wallet.

Apparently if you do not clear the Google Wallet settings before you do a hard reset/ROM flash, the secure element in your NFC chip will be FOREVER bricked and you will NOT be able to ever use it for secure purposes (google wallet purchases) although it will work for other things like Beam and such.

For some, this wont be a problem, but if you ever plan or at least want to have the option to use the google wallet, follow these simple steps before doing a hard reset or flashing a new ROM on your phone:

Launch Google Wallet
Hit menu button> Settings> Reset Google Wallet

Clearing the app data or cache through settings or Titanium WILL NOT WORK! It HAS to be done within the Wallet app. This resets the secure certificate (?) and allows NFC to be used for secure purposes in the future.

---

While I understand the notion of keeping such functionality very secure, Google should have expressed the potential problem. Especially since hard resets are used as a solution when an ordinary user has a problem with their phone.

Also, forgive me if there is a thread on the Evo LTE forums about this, I tried searching and nothing came up, furthermore it's late and I did think this warranted utmost attention since people already have LTE's in their hands!

Sources:
http://rootzwiki.com/news/_/articles...le-wallet-r280
http://forum.xda-developers.com/show....php?t=1472117
http://androidforums.com/verizon-gal...ml#post4013169
http://androidforums.com/sprint-gala...ml#post4376858
Wow, incredible how sensitive the NFC chip is inside of these phones.

I hope I can remember to do this....
.:Team Synergy:.
Current Phone: Sprint Galaxy S III
ROMs: Galaxy S fre3 2.53 | Stock Jelly Bean L710VPBMD4
Sites: freeza inc. | free HQ Mobile Wallpapers&Ringtones
Facebook: Add me | Google Talk: @gmail.com
The Following User Says Thank You to freeza For This Useful Post: [ Click to Expand ]
 
Albaholic
Old
#6  
Senior Member
Thanks Meter 8
Posts: 389
Join Date: Mar 2007
Location: Honolulu
Quote:
Originally Posted by freeza View Post
Wow, incredible how sensitive the NFC chip is inside of these phones.

I hope I can remember to do this....
I probably won't remember. I'd need something to remind me to do this beforehand.
 
ckoadiyn
Old
#7  
Senior Member
Thanks Meter 900
Posts: 3,714
Join Date: Jan 2010
Quote:
Originally Posted by freeza View Post
Wow, incredible how sensitive the NFC chip is inside of these phones.

I hope I can remember to do this....
Yeah I thought it was nuts as well and this will have to be posted in every rom and this should be moved to.dev section as well.
TEAM MiK Since 12/18/10
 
AssassinsLament
Old
#8  
Recognized Developer
Thanks Meter 396
Posts: 636
Join Date: Jun 2007
Location: Twin Cities

 
DONATE TO ME
Wow, never heard of this before. Thanks for the Info. I am also afraid I will forget about this, as I was planning on using google wallet. So yes, I would suggest a mod sticky this thread, and also suggest we spread the word and make sure all the devs make it a part of the process of flashing roms!
 
shook187
Old
#9  
Senior Member
Thanks Meter 608
Posts: 2,229
Join Date: Oct 2010
Location: Haverhill MA
Who needs a NFC chip anyways. I'll use it for my $10 and thats it.
 
Doomstang
Old
#10  
Doomstang's Avatar
Senior Member
Thanks Meter 237
Posts: 439
Join Date: Aug 2010
Location: St. Louis, Missouri
Wow thanks...I plan on HTC Dev unlocking tomorrow and flashing Viper ROM as soon as it's available so I went ahead and cleared my google wallet now so I don't forget later. I'm afraid I will forget in the future though.

Tags
brick, nfc, responding, secure, wallet