Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,781,214 Members 43,884 Now Online
XDA Developers Android and Mobile Development Forum

PSA: Clear Google Wallet Settings Before Flashing ROM/Hard Resets!

Tip us?
 
TaintedByte
Old
(Last edited by TaintedByte; 27th July 2013 at 11:07 AM.) Reason: Added FAQ
#1  
TaintedByte's Avatar
Recognized Contributor - OP
Thanks Meter 655
Posts: 795
Join Date: May 2009
Location: Mesa, AZ
Default PSA: Clear Google Wallet Settings Before Flashing ROM/Hard Resets!

UPDATE!!! (9/8/2012)

One of the newest versions of the Wallet app seem to prevent the issue (if you already have the error, you are still out of luck). Entropy512 made a detailed post here explaining how the secure element is still being used but how Google updated Wallet to prevent this issue:

Quote:
Originally Posted by Entropy512 View Post
Completely dead wrong. The secure element is still in use - if it weren't, then GW would be working on the GT-I9100P and SGH-I777. GW wouldn't cause piles of SE spam in logcat when you use it. GW wouldn't REPORT A DAMNED SECURE ELEMENT VERSION IN THE ABOUT SETTINGS. GW wouldn't bomb if nfcee_access.xml is missing.

The only thing that changed with the "cards stored in the cloud" update is that instead of directly storing the info for an added Citi PayPass card, the SE now stores a "proxy" PayPass card that is funded from whatever card you added in the cloud.

However, Google has made SE management significantly more robust. Previously, if GW lost its credentials, it would just keep retrying until the SE bricked. Now, if it can't authenticate with the SE, it commands the SE to wipe its data and start from scratch. It's pretty much impossible to brick SEs with GW these days.

(Why the thread necromancy? People are still linking to this thread from elsewhere.)
---

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.

---

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 someone helped you, click their thanks button!
﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋
The Following 48 Users Say Thank You to TaintedByte For This Useful Post: [ Click to Expand ]
 
Cuppeerr
Old
#2  
Cuppeerr's Avatar
Senior Member
Thanks Meter 817
Posts: 2,758
Join Date: Mar 2010
Location: Grapevine, Texas

 
DONATE TO ME
Even when running a ruu?

Sent from my EVO using Tapatalk 2
Personal Phone: LG G3

Business Phone: iPhone 5s
__________________
Get a Dropbox with 2.0GB of storage free, and both of us will get extra 500mb of free space!
__________________
Instagram
Twitter
__________________
If I helped you then hit the thanks button. Please and thanks
__________________
And yes, i'm a bish. Thanks deck.
 
TaintedByte
Old
#3  
TaintedByte's Avatar
Recognized Contributor - OP
Thanks Meter 655
Posts: 795
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 someone helped you, click their thanks button!
﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋
 
Cuppeerr
Old
#4  
Cuppeerr's Avatar
Senior Member
Thanks Meter 817
Posts: 2,758
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
Personal Phone: LG G3

Business Phone: iPhone 5s
__________________
Get a Dropbox with 2.0GB of storage free, and both of us will get extra 500mb of free space!
__________________
Instagram
Twitter
__________________
If I helped you then hit the thanks button. Please and thanks
__________________
And yes, i'm a bish. Thanks deck.
 
freeza
Old
#5  
freeza's Avatar
Recognized Developer
Thanks Meter 9,516
Posts: 4,248
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....
The Following User Says Thank You to freeza For This Useful Post: [ Click to Expand ]
 
Albaholic
Old
#6  
Senior Member
Thanks Meter 10
Posts: 418
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,605
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 509
Posts: 735
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 822
Posts: 2,861
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 276
Posts: 507
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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes