yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] qman66:
secure element not reponding

for people who have the secure element problem. when you go to verizon what do you tell them to exchange it? do u have to pay extra?
[Samsung Galaxy Nexus] ftsu:
Just wanted to throw my experience into the mix.

I'm running a stock rooted 4.0.2 LTE on VZW.

I did install the zip file method the day it was posted. It worked, but I was getting the FC's after a purchase and the Updating message on every boot.

When the apk came out, I restored back to my pre-wallet.zip nandroid. I then installed the apk. I had already spent my free $10, so I charged up another $20. I've made a few purchases without any problems, fc's, reboots, etc. It works perfect. Thanks to everyone who helped make this happen!
[Samsung Galaxy Nexus] andrew53517:
So I can't change roms ever? Dang. There needs to be a fix for this...

HTC Thunderbolt & ASUS Transformer Rooted!
[Samsung Galaxy Nexus] jetrii:
There are many people that have used the zip method, undid it, then changed roms without any problem. There are also people that said "screw it" and flashed a new rom without any problems. Then there are people like myself that flashed a new rom but had minor problems that were taken care off by Money Network. Anything can happen with the zip method. So far, there doesn't seem to be a pattern.
[Samsung Galaxy Nexus] Br0wNb0y:
So my google wallet runs and hasn't FC'd. I used the .apk to sideload it.

I am on 4.0.2 ARHD. How do I know if i have this secure element error? Do you see it when you open Wallet? Do you see it when you try to purchase?

ARHD is the only rom I've tried but I did flash an incremental update for the rom 2.1.1 to 2.1.2.

Any information would be helpful. Thanks

Edit: I should mention i tried purchasing something from McDonalds but NOTHING happened. I don't think MCD had their NFC reader on. This isn't related though i'm assuming right? I ended up paying with my CC.
[Samsung Galaxy Nexus] miasma:
I would like to offer some advice to anyone who has a working implementation of google wallet from the apk.

There is some data in the non-secure database of Google Wallet that ties the installation to the physical phone (based on the unique android_id (http://developer.android.com/reference/android/provider/Settings.Secure.html)). Further, there is some bytecode stored there that is REQUIRED for interaction with the secure element. I believe that this bytecode is generated when the secure element is first initialized. I am not 100% certain yet, but it is this binary data, called a CPLC (http://www.nfc-forum.org/resources/white_papers/Stolpan_White_Paper_08.pdf) that MUST REMAIN THE SAME FOR THE PHYSICAL DEVICE, it is tied, via hardware, and in a way that can not be undone, to the secure element.

For this reason, and I have not verified this at all, I believe that a standard titanium backup of the apk and data is sufficient to upgrade between roms. However, after upgrading, you MUST restore from the backup (INCLUDING DATA), and not re-install the apk directly. A full nandroid backup seems to be overkill, but I am not certain of this.

So, the rule, I think is, if it is working for you today, do a titanium backup of the google wallet app ASAP and store it somewhere safe, not just on your phone.

Additionally, if you do replace your phone, you MUST NOT restore from the backup.

All of this advice applies only to the google signed apk, and not to the zip installation.

Please let me know how this works for you.

One question I still have is if you reset your data in google wallet, does it reset the secure element as well? I don't know, it might.

The secure element is designed to prevent tampering though. If it detects "suspicious" activity, (like using the wrong CPLC), then it might lock itself down. It may allow "soft" resets X number of times, and then lock itself after that. Basically, with these hardware security devices, don't give it any reason to be suspect. I believe my advice will satisfy that. YMMV.
[Samsung Galaxy Nexus] jetrii:
The secure element contains some information that is unique to every device and cannot be completely reset in accordance to PayPass secure element specifications. From what I've gathered, it exists in its own state and can't be directly manipulated by Android (only communicated with). For this reason, unless Google completely botched the creation of it, I don't think it's possible to corrupt the secure element with Android, only screw up its current state and have it lock you out. I'm willing to bet that Google will be able to unlock it once they decide to officially support the Galaxy Nexus.

On another topic, it appears that there are random security checks on deposits of over $100 to a prepaid card. A user deposited $100 dollars and had to call Money Network in order for them to unflag the account.
[Samsung Galaxy Nexus] lpasq:
for those following along i have a question: how did/does manually extracting the .xml and deleted the nfc shared id differ from the zip package install as provided in OP?...and if the first release and v2 varied, how so?
[Samsung Galaxy Nexus] miasma:
This is not true. The secure element is manipulated by the google wallet app. That is the way that it retrieves the full credit card number.

It works as a pair, just like public/private key cryptography. The private key inside the secure element can never be revealed. However, encrypted data passed to the secure element can be unencrypted and unencrypted data can be encrypted. Further, there is some storage in the secure element and the device needs to authenticate that the application requesting the data has permission to do so. The CPLC is the piece that the app has to pass to the secure element to get the permission to retrieve the data within.

If you lose the CPLC, because you wiped your device, then the next time you run the wallet app, it will try to generate a new one, but since the secure element has already been initialized internally (with the CPLC from the first ROM), it fails and may even lock itself down. That is why going back to the old rom sometimes fixes it and sometimes doesn't.

EDIT: The API to manipulate the secure element, however, is not open, nor is the ability to get the CPLC from the Google Wallet app (unless you are me... hint, hint).

Also, I would be SHOCKED if google had some sort of way to unlock the device. If that were the case, it would not be very secure now would it?
[Samsung Galaxy Nexus] jtambis6:
I've got Google Wallet running great on a stock Verizon LTE phone. I've made several purchases on McD and a BP gas station. I'm ready to root it using Android Revolution HD™ 2.1.1.

My question is will rooting break my Google Wallet?
[Samsung Galaxy Nexus] jetrii:
Perhaps I didn't word it as effectively as I could have. I said that Android cannot directly manipulate it, perhaps I should have said it can't completely manipulate it. From what I've gathered, Android can request information from it and send it info, but the secure element has its own internal state that is keeps track off. Then again, I'm not an expert on it lol. Either way, it's good that we finally have someone with access to the API here :D May finally be able to sort out some of the confusion.
[Samsung Galaxy Nexus] lpasq:
Is it logical to deduce that the secure element is functioning along with a working Wallet app, one could remove all payment cards through the individual card's Wallet settings and then reset Wallet from master app settings...then uninstall the app via Android app settings...then call Money Network to close/deactivate the User ID (Google Debit Card #) assigned to the gmail account? In essence to revert in time to avoid this >>>
[Samsung Galaxy Nexus] miasma:
Logical, maybe. Possible, unlikely.

The issue is not that there is data in the secure element, it is that it has been initialized with a particular key. I am fairly certain it can't be "uninitialized" without the key, though it may not be possible to "uninitialize" it at all. It is entirely possible that once initialized, the CPLC (or some part within it) must be present for all future interaction with the secure element.

Another thing I don't know is if the secure element can talk to multiple applications with different CPLCs. I imagine the device is initialized with something to identify the application using it, so just because google wallet can't talk to it any more, if it hasn't locked down, maybe another app (likely identified by app id, signing key or something else unique to the app) could use it just fine.

However, as the device api is not open, that is just a pipe dream anyway.
[Samsung Galaxy Nexus] jagger11:
Tested it in one of the European cities, in McDonalds and works ;)
[Samsung Galaxy Nexus] lpasq:
I am willing to test this out. What would be my chronological progression of steps?

Note that I am running a 4.0.1 GSM device on ATT and flashed the attached to initially get the ball rolling and I would do what next?

1. remove all payment cards through the individual card's Wallet settings

2. reset Wallet from master app settings

3. uninstall the app via Android app settings

4a. call Money Network to close/deactivate the User ID (Google Debit Card #) assigned to the gmail account? ...and factory reset and flash a new ROM and load the current hacked Wallet APK and start fresh opening an account and set up both Citi and the Google Debit Card pre-load card...or

4b. call Money Network after having already factory reset and flash a new ROM and loaded the current hacked Wallet APK ...asking they re-open by old User ID Google Debit Card # assigned to my gmail?

feel free to suggest a process.

I won't test out until tomorrow day.
[Samsung Galaxy Nexus] Darknicks:
Hello everyone!

I'm out of US and I followed the instructions on my Nexus S.

I installed Market Enabler, faked my network to "US T-mobile" and tried "Verizon" too but I'm still getting the following error message:

"Unfortunately, Google Wallet has not yet been certified in your country or your device / carrier yet."

I've tried to clear the data of Google Wallet and even tried using an US proxy but it still doesn't work.

What can I do?

Thanks!
[Samsung Galaxy Nexus] HcMAX:
Hi

Im in Italy Milan,

My GN is Stock 4.0.2 rooted and unlock bootloader,

I use market enabler and I can put Wallet working....even received the 10usd gift :)

let me know how can I help

thanks
[Samsung Galaxy Nexus] bplewis24:
So, does my situation contradict this theory?

1) I installed the Google-signed .apk. I sideloaded it. Specifically, I downloaded it through my phone's web browser and then went into "downloads" and installed it straight from there.

2) I activated it, added the $10 card, and made a purchase in-store.

3) I eventually did a complete wipe of my phone without doing any backups or resetting any apps. I didn't touch Google Wallet after the successful purchase.

4) Upon setting up my factory-restored phone, I hooked it up to my PC, and placed the Google Wallet .apk in my "Backups" folder that Astro File Manager uses to install backups of apps.

5) I used Astro File Manager to re-install the app.

"Initializing" the device took longer, but it worked. Then I went to add the Google Prepaid card to my account, and it took a long time, but it worked, and it had a $0 balance and showed my prior $10 purchase.

Doesn't this mean that you do NOT have to restore from a backup and can in fact install the .apk directly?

Brandon
[Samsung Galaxy Nexus] HcMAX:
the coolness of Wallet

So,

Im in Milan-Italy and I managed to put this thing working..

went directly to macdonalds and it Works!!!

now I only have 7usd remaining on my google pre-paid card....

Im searching the web to see how in the world will I be able to add funds to my google card...

anyone has an idea?

I thougt I was able to top up using google checkout...but nope...

One question, If I had an US credit card, when I had funds, do I have and notice on my credit card?

for example if someome give me is credit card details so I can top up with like 10bucks so I can take coffee at McDnls and I pay him by paypal, will that person be sure I wont use the credit card beside my word?

thanks in advance
[Samsung Galaxy Nexus] p-slim:
No, when making the payment to add money, Google wallet gives you the option to save the card for future payments
[Samsung Galaxy Nexus] rhpot03:
Same set up and same problem:

Canada Virgin GSM 4.0.1 rooted Apk install

Faked US T-Mobile and still country not supported

There's no system update beyond 4.0.1 when I check
[Samsung Galaxy Nexus] maha1o:
Sorry if this has been posted but there is soo many pages to read thru.. i went thru a few posts but couldnt really find a good answer.. is it safe to say that the apk version of google wallet is safe to install and be able to switch between roms without getting the secure element error? from what ive seen most of these errors are coming from people installing the zip first?
[Samsung Galaxy Nexus] HcMAX:
Yeo

You're right

So how can I add funds to my wallet?

Please some help

Thanks
[Samsung Galaxy Nexus] agtwonderbread:
I have successfully done the same, however I initially installed w/ the zip method. I wiped to a stock 4.0.2 using fastboot because the removal process wasn't working, rerooted, installed the apk from the OP like any other apk, I opened the app and it pulled my info and remaining balance on the prepaid card. I'm in the US on Verizon.
[Samsung Galaxy Nexus] jburnette87:
Thanks to google for my adult beverage tonight. Used a couple of my free $10 and made my first google wallet purchase tonight. Clerk was thoroughly confused. Lol.
[Samsung Galaxy Nexus] SS2006:
can you make it work on 4.0.3? seeing as thats gonna become the base ROM fro the GN
[Samsung Galaxy Nexus] Devhux:
I'm in Canada, and am having a problem with Market Enabler. Despite having Superuser (and busybox) installed, when I go to fake my provider as T-Mobile, I get the popup saying "Working: We Are Faking:USA(31020), but then it just sits there. Market Enabler never asked me for root, and looking in my Superuser app, I don't see it listed.

Any ideas?
[Samsung Galaxy Nexus] Luxferro:
I don't think the stock wallet app works on Nexus S, unless your on sprint... in which case you'd have already downloaded from the market. It only unofficially installs on the galaxy nexus without mods.
[Samsung Galaxy Nexus] JayBeezy802:
Quick question before I go ahead and do this, what happens if an update is released for Google Wallet? Will we be able to pull the OTA updates?

I am using a the VZW CDMA LTE Galaxy Nexus (a mouthful haha)

Bootloader: Unlocked

Rooted

4.0.2 Stock Rom

Clockwork Recovery installed (though I still haven't flashed a rom, nor do I plan too just using for backups)
[Samsung Galaxy Nexus] AMoosa:
I had 4.0.1 ROM and installed Wallet via the .zip which worked great. Got my $10 credit and everything. I then updated the ROM to 4.0.2 via Chainfire's ODIN update and lost Wallet, which I was expecting. I then installed Wallet via the new .apk method and Market Enabler, but it just FCs. Cannot open it. Any suggestions please?
[Samsung Galaxy Nexus] TsaiKimon:
ive got a question I haven't seen asked or answered on this entire thread. I rooted stock 4.0.2 then made a nandroid and installed rootzboat rom which had Google wallet in it already. I can't remember if I opened it or not but I know I didn't set it up. I then wiped data/cache/dalvik and restored my stock/rooted/4.0.2 nandroid. Is this enough to bork the secure element? Does just having the app installed through a flashed rom initialize the secure element? opening the app? or setting up the wallet initialize the secure element and cause the problems when switching roms? Any info would be great.
[Samsung Galaxy Nexus] Darknicks:
Oh! Too bad.

I thought that this would work on my Nexus S...

Anyway, thank you very much for answering.

I really appreciate it.

Thanks again!
[Samsung Galaxy Nexus] mugenr:
It works on my Verizon LTE Galaxy Nexus.

It's a stock GNEX, no root, no mods, nothing. Out of the box, brand new.

opened up the phone's browser, navigated to the front page of this thread, downloaded the apk and installed from the notification bar (after allowing installation of non-market apps of course).

I fired up the app, selected my gmail account then added a pre-paid card which then google put $10 on for me.

I have not used it yet, but will try it soon and update.

Thanks!

Andrew
[Samsung Galaxy Nexus] civicsisedan:
I don't think anyone knows for sure. It does seem the apk is giving less errors then the zip but that doesn't mean it will be fine forever.

I would say install with high risk.
[Samsung Galaxy Nexus] spences10:
Woop, worked fine on my stock 4.0.2 rom

So if I want to add funds there are services where you can get an american address so I can get funds back onto my device right?
[Samsung Galaxy Nexus] distortedloop:
Get the Paypass locator app: https://market.android.com/details?id=com.mastercard.paypass

I have Wallet working on my Tmo Nexus S. There's a prominent thread in the Nexus S apps forum section that tells how with a flashable zip.
[Samsung Galaxy Nexus] miasma:
This is a situation I would like to test. However, I would need access to the walletDatastore sqlite database on your phone (in /data/data/com.google.apps.wallet..., don't have the exact dir this second).

It would help me greatly to see this before and after.

HOWEVER, if you do get this to me, you would be sending me some very sensitive information. We would be happy to get you an NDA from us so that you have some assurance we are not trying to take advantage of you.

---------- Post added at 08:56 AM ---------- Previous post was at 08:45 AM ----------

I presume that Astro doesn't backup the app data. So if that's the case, I think there are two possibilities:

The device can be reinitialized X times before locking itself down (where X is > 1)

The CPLC is generated from something reproducible that may or may not change with new roms
[Samsung Galaxy Nexus] steevo1:
I noticed this morning when I looked at Getjar.com on my Galaxy Nexus that they now have Google Wallet available for download.

I downloaded the file and compared it using an MD5 check and the result was the same for the Google Wallet apk posted here by the OP, and the file available for download at getjar.com.

I only learned of getjar.com recently and at first I thought it was a hacker site, because they offer apps like Beautiful Widgets, Tapatalk and Paper Camera for free. After doing a little research it seems that they are legit.

When I looked at getjar.com on my PC I did not see the GW, but when I looked on my phone, it is available.
[Samsung Galaxy Nexus] jetrii:
Here are early results from the survey. A lot of users have listed their problems and how they solved them. May give those having problems a great starting point without having to search through 90 pages of questions and answers. Although some users left their XDA usernames on the form, please do not spam many users with questions. This thread is still the preferred method of troubleshooting as it logs everything for future users.

If you have not taken the survey yet and would like to, you can find the live version here.
[Samsung Galaxy Nexus] wyt168:
Has anybody tried to port the ADK to Galaxy Skyrocket (on AT&T)?
[Samsung Galaxy Nexus] bplewis24:
Correct, Astro does not backup app data. Or if there is an option to, I don't use it. It simply makes a copy of the .apk, which is why I am able to drag/drop .apks into a "Backup" folder on my desktop computer at home and then place the "Backup" folder on my virtual SD card on the Nexus and have Astro see it.

So this makes me wonder if, when flashing new ROMs and eventually having to restore a Nandroid backup, if that will cause problems with a working version of GW?

Brandon
[Samsung Galaxy Nexus] lpasq:
Please identify the sensitive information types and PM me your NDA to review.
[Samsung Galaxy Nexus] Man_Utd:
You have to successfully add a card to your GW in order for the secure element to kick on.
[Samsung Galaxy Nexus] karey43:
I have a verizon gnex, I haven't rooted or flashed or zipped or whatever it is you guys are talking about. Just installed the APK. Wallet works great, used it to buy some gas this morning, it took a few hours for my balance on my prepaid card to update but that was the only weird thing I noticed. So if Google does release an OTA update that supports google wallet on verizon, to be safe should I uninstall the version of wallet I have now? Or should my secure element be safe since I didn't do any rooting? Or, now that its installed, is it bad to uninstall it? I'm not sure what the previous posts were talking about that said when people tried to wipe their data it borked their secure element. Will that happen if I uninstall? Thanks.
[Samsung Galaxy Nexus] mugenr:
Verizon GNEX 4.0.2 stock LTE

Just used the $10 pre-paid card this morning to purchase breakfast at McDonalds. worked without a hitch.

Thanks!
[Samsung Galaxy Nexus] JayBeezy802:
First, in order for your balance to update it'll need to send data (you can still use Wallet without data, you'll just have to wait for your balance to update once your data becomes active again), you could've been in an area where data was down, or slow for whatever reason.

Second, this is similar to my question I asked earlier but no one was able to respond to, what happens if there is a Wallet Update (assuming this APK is signed, it should still pull updates)?

In response to your other questions, rooting and unlocking the bootloader, technically, don't affect your secure element. Many of us use rooting and unlocked bootloaders, and CWM to create backups of our Roms, Flash new ones, or go back to totally stock.

In your case, you installed wallet before making a back-up, so as far as I gather, if you have an issue and you need to flash back to stock, THAT will mess up your secure element. Someone please correct if I'm wrong.
[Samsung Galaxy Nexus] HcMAX:
Wallet add funds google pre paid card NOt working

first off all Im in milan-Italy and untill I have money using google wallet without any problems

So, today I got a paypal credit card from a friend in the US to add funds to google pre paid card

so I fullfill the blacks spaces with me friend details, he lives in LA and I clicked next and after I got a message saying that it didint worke!!!!

why...???????

I then went back and made the procedure once again, and nothing...not working...I changed the amount of money this time...and nothing

and later stopped cause the money was being charged on paypal....!!!!!!:(:(:(:(:(

and I still without any money on google wallet.....

am waiting to see if the money was really charged from the paypal account of my friend....

anyone know wats happening??

thanks in advance and any input is appreciated....
[Samsung Galaxy Nexus] karey43:
Thanks Jaybeezy. I was under the impression that since I didn't do any rooting I wouldn't need to make a back up, and that at most I might have to set back to a factory restore(Is that flashing?). But if the secure element somehow gets messed up, will this not fix the secure element issues, should I have them?
[Samsung Galaxy Nexus] 420SYN:
Used my 10$ no prob at Tim Horton's in orange ville (Canada). I saw a post wondering if a tpu case could affect nfc signal using pay pass. I have a tpu case on and it worked.
[Samsung Galaxy Nexus] vtluu:
Used a linked Citi MC to pay for lunch today at a little mom-and-pop restaurant in BFE, Idaho. I was the first customer they'd seen use GW. Verizon GNexus 4.02, installed GW via sideloading (apk) method.
[Samsung Galaxy Nexus] rizzxx7:
Will this be updated to work with 4.0.3?
[Samsung Galaxy Nexus] aedillor:
adding funds

so I love using google wallet on my galaxy nexus but I am having trouble adding funds. I use my debit/visa card but it wont let me add funds. just today I tried it numerous times but I get a notification that funds wasn't added but when I checked my bank there was a few deductions (did it a few times) pending from google wallet. has anyone else have any issue adding funds at all? I am in the US and Google/Money Network will not support me because Google does not officially support when the app is sideloaded. HELP! :eek: