yashsingh1/xdaforums huggingface dataset:
[Verizon Samsung Galaxy S III] n80k:
confirmed working with synergy

I got this working perfectly with my Synergy ROM. The look on that McDonald's employees face went from :confused: to :eek: lol..

I didn't follow the directions from the OP as it was somewhat confusing. After looking at it for the fifth time or so I think I finally understand the organization of the instructions. At first I thought there was a typo and there were two step ones for the ROM instructions. Now I see that there is only one step for the ROM and the next step one is for both ROM and pre-ROM. Maybe some kind of divider would make that less confusing. But, anyways, there's still something that doesn't make sense to me. I've read the thread pretty closely and can't understand why the root explorer method isn't the go to method. As long as the permissions are changed as the last step (or as a last resort fixed in recovery) it seems to be working for everyone. However, it's nowhere to be found in the OP. For someone with a touchwiz rom it seems way more complicated to flash Invisibleks CM10 and the touchwiz based GW just to edit build.prop and flash back to touchwiz ROM, set up GW, flash back to CM10 to restore build.prop then reflash to touchwiz. Maybe I'm missing something simple here, I don't know. Anyways, this is what I did that worked for me.

Synergy ROM steps

1. Download Touchwiz zip file to SD Card

2. Reboot into Recovery

3. Make a Nandroid

4. Flash Touchwhiz zip file from SD Card.

5. Reboot

6. Open Root Explorer.

7. Navigate to "/system" directory.

8. Click "Mount R/W" button

9. Long click on file "build.prop"

10. Choose "Open in Text Editor" from pop up list and edit lines that correspond to this

ro.product.model=Galaxy Nexus
ro.product.name=yakju
ro.product.device=maguro

11. Click "Save and Exit" (Root Explorer automatically renames original file to "build.prop.bak")

12. Open and configure Google Wallet

13. Open Root Explorer

14. Rename "build.prop" to "build_mod.prop" (or whatever)

15. Rename "build.prop.bak" to "build.prop"

16. Click "Mount R/O"

17. Get some free McDonalds!

EDIT: It's probably also smart to detach the app from the Android Market in Titanium Backup to prevent annoying Google Play update notifications and accidentally updating the patched GW app.
[Verizon Samsung Galaxy S III] tonu42:
PBefore you come bashing my guide maybe you should read more closely because apparently for the pre-rom section you clearly missed "for official and paranoid android must you do the following". I didn't edit that in it was already there.

And thanks for essentially reposting what was said in the OP.....

And for what ever odd reason I couldn't make my method of not editing anything work. But I will try again later when I do g have classes to try something different where all one has to do is flash a zip file and be done with it.
[Verizon Samsung Galaxy S III] n80k:
Not bashing just adding to the discussion with my experience--namely what specifically worked for me in Synergy. I see you updated the ROM instructions for TW users so it makes better sense now. Thanks for your efforts. It took me a while to get the courage to go through with this. I'm sure a lot more people would be happier with a flashable zip.
[Verizon Samsung Galaxy S III] xXJay_RXx:
I don't see him bashing the guide dude relax. It ain't that serious. I actually found it very useful n might actually give it a try since I never used Google Wallet and my area has some McDoanlds with NFC and some vending machines with those too
[Verizon Samsung Galaxy S III] tonu42:
OP updated with build.prop scripts.
[Verizon Samsung Galaxy S III] fatmaninc:
Did anyone get this working on clean rom 2.1? i get the wallet all set up but when i try to make a buy something its like my nfc is not working.
[Verizon Samsung Galaxy S III] jrc27:
I still can't get it to add any cards
[Verizon Samsung Galaxy S III] quattr0:
That's a lot of info u gave :D

Which ROM do u run? I've noticed any ROM that is based in CM10 9/2/12, nfc is not working.
[Verizon Samsung Galaxy S III] jrc27:
Yeah i know....I've tried to get it to add them on the Official CM10 nightlies(9/5) and Invisiblek's CM10 nightlies(9/6). I actually got it to add the prepaid card two days ago, but i can't even get that back.

---------- Post added at 12:21 PM ---------- Previous post was at 12:06 PM ----------

IT WORKS!!!!! I forced close, cleared cache and data then uninstalled the app. Wiped D.C. wiped cache, fixed permissions and reflashed the app. Now it works!
[Verizon Samsung Galaxy S III] xXJay_RXx:
By resetting secure element, do you mean like the "reset google wallet" in the options or what? I'm a crack flasher n I don't wanna lose this lol
[Verizon Samsung Galaxy S III] voodoomanx:
Yes. That's all you need to do.

You can also nandroid back to a version where wallet was enabled and it will restore the secure element.
[Verizon Samsung Galaxy S III] xXJay_RXx:
Thanks. This is the very time I used Google Wallet actually. I never used it on my GNex. Now I'm on the hunt to see where I could use NFC in my area lol
[Verizon Samsung Galaxy S III] CKyl22:
Is this safe to upgrade if our build.prop files are modded?

Eh, stuck on "adding your account" now.

****, I reset it from the website and it said it will reset when it connects to my account again and it just never works. ****.

:\

EDIT: FIXED. Just some freak thing I suppose. I'm kind of afraid to update my Google Wallet though. Is it safe?
[Verizon Samsung Galaxy S III] kpkimmel:
Did everything and it worked, not there is a problem, Wallet says there is an update and won't let me use it unless I update, when I do i get the "unsupported device" crap and not authorized on this network. So I think this mod is OOD now..
[Verizon Samsung Galaxy S III] CKyl22:
Is this safe to update if we have the build.prop modded? The thread says yes but I just want to be sure.
[Verizon Samsung Galaxy S III] tonu42:
No, never update on modified files...... its silly.
[Verizon Samsung Galaxy S III] zxsix:
I have wallet working on cm10 with the modaco hacked wallet file.

Each time I flash a nightly cm build, wallet disappears and I have to reflash the modaco file again.

Is there proper steps to follow when flashing the nightlies while keeping wallet intact?
[Verizon Samsung Galaxy S III] alee:
You have to reflash and setup from scratch with each nightly. This is normal.
[Verizon Samsung Galaxy S III] zxsix:
OK, guess I am on the right track then. Thanks!
[Verizon Samsung Galaxy S III] mikejr83:
So I followed the instructions and I'm not seeing the wallet app show up in my app list. I'm on Verizon and have flashed the cm10 9/08 build. I changed the build.prop file as you can see in my signature, but after the flashing the zip nothing happens.

I found the apk in /system/app. Am I doing something wrong? I've been able to download the wallet app from the play store and set it up but of course when I revert the build.prop it gives me the device unsupported error.

Is the OP still valid?
[Verizon Samsung Galaxy S III] jrc27:
It's still valid because i just did it today. You shouldn't have to download the app from the app store, mine always shows up in the app drawer. Also, i have yet to revert my build prop back to stock.
[Verizon Samsung Galaxy S III] mikejr83:
Well I'm perplexed. I looked through the script and see that it deletes wallet if it is installed. This is fine as the instructions say to remove the secure element beforehand. After that it places an apk in /system/app. The apk is: com.google.android.apps.walletnfcrel.modaco.1.5-r75-v6.apk.

This doesn't show up in my app drawer on Apex and I can't find any activities for it when creating a shortcut on a home screen. I've tried removing the apk from system and launching it with the installer to see if it would load into user space but I get an install error.

I might just go ahead and remove the apk and download from play store. I guess I'd have to keep my build.prop as Galaxy Nexus, but but that's no so bad, but is it?

Anyone else on cm10 9/8 having issues?

Edit: I suppose it would be good to note that I'm using the latest CWM.
[Verizon Samsung Galaxy S III] tonu42:
I would say I would look into this but I am SO packed with work, school, friends, etc. Maybe sometime this week if I can breathe I will look into this. Maybe make an appropriate video with instructions.
[Verizon Samsung Galaxy S III] mikejr83:
Thanks :). I'd be ready to believe that it's operator error, but I can't really understand where I would've messed up.

Let me know if you need any logs or additional information.

This issue is not a priority 0, deal breaker. It looks as others are having success so unless someone else reports the same issue then I will assume the error is me.

Edit:

So after some tinkering I was able to get this to work.

Here was my situation: I made the build.prop changes and ran the script in cwm. I booted and the wallet app didn't show.

I looked through the script and saw one if the last commands was to change the permissions on "/system/app/Wallet.apk". I didn't have this apk. I had com.google.android.apps.walletnfcrel.modaco.1.5-r75-v6.apk. This apk didn't have the correct permissions so I changed it and cleared caches and rebooted. Still no good.

I decided to go for broke and rename the apk to Wallet.apk. Bam! Worked. Now I'm waiting for cards to be added.

Hope this helps people.
[Verizon Samsung Galaxy S III] tonu42:
No this isnt needed to do. I hate to say it but this is user error, because when I was messing around with the CWm flashable zip I managed to get it to flash the wallet.apk correctly but not run my scripts to auto-edit build.prop for you guys.

Like I said I have literally minutes to respond to these things and so much work to do tonight haha. But I am keeping up with errors and mentally taking notes.
[Verizon Samsung Galaxy S III] mikejr83:
Hey tonu, thanks for your time. I appreciate your help. I can understand busy. Work is killing me lately. If I get off early enough tonight I might try to see if you're on irc to chat this up. I thought I'd just post my analysis and clarification in case I don't catch you and see if anyone is having the same issue as I am having.

I just re-downloaded the linked ASOP file from the OP. This is what I'm seeing in the packge's updater-script:

Snipped some...

show_progress(0.000000, 0);

run_program("/sbin/mount", "/system");
run_program("/sbin/mount", "/data");

delete("/system/app/Wallet.apk", "/system/app/Wallet.odex", "/system/app/com.google.android.apps.walletnfcrel.modaco.1.1-r67-v12.apk", "/system/app/com.google.android.apps.walletnfcrel.magn2o.1.5-R75-v6.apk", "/data/app/com.google.android.apps.walletnfcrel-1.apk");
show_progress(0.100000, 10);
show_progress(0.200000, 20);

[B]package_extract_dir("system", "/system");[/B]
show_progress(0.400000, 30);

[B]set_perm(0, 0, 0644, "/system/app/Wallet.apk");[/B]

show_progress(0.600000, 40);

delete_recursive("/data/dalvik-cache/");
delete_recursive("/cache/dalvik-cache/");
show_progress(0.900000, 50);

unmount("/data");
unmount("/system");

Snipped some more...

The first line I made bold is the copying of the system folder in the flashable zip, correct? It contains the app folder with "com.google.android.apps.walletnfcrel.modaco.1.5-r75-v6.apk" file.

The second line is setting the permissions to rwxrxxrxx on the Wallet.apk. Now, before I started the flash I had no Wallet.apk in /system/app. The way I see the script is that even if I had it there it was wiped by the earlier delete command. I'm missing out where the apk file that is in the flashable zip is renamed to Wallet.apk.

So if I follow the instructions I basically get a file at /system/app/com.google.android.apps.walletnfcrel.modaco.1.5-r75-v6.apk. Nothing shows in the app drawer. As I stated earlier I changed the name of the file to /system/app/Wallet.apk and set the permissions to rwxrxxrxx. After that it shows up fine and I can run it. I added my prepaid card and another card which worked fine. I then ran the script to go back to the default build.prop.

I still have Wallet and can open it without issue. I haven't had a chance to make a purchase yet, but as long as NFC is working on the 09/08 build of CM10 I think it should be fine. It's just driving me nuts why this didn't work with just flashing. I know I must've done something wrong since it seems like I'm the only one with this issue, yet I can't see how the script would put any file named Wallet.apk onto my device.

Thanks a bunch!
[Verizon Samsung Galaxy S III] cbrehob:
I am also on CleanROM 2.1 and having same problems.

I also can not get Wallet to work for any purchases, like the NFC is not responding. I have done everything correctly, the app works fine and I can add cards but when I go to make a purchase, the card reader does not detect my NFC.
[Verizon Samsung Galaxy S III] tonu42:
three things for the culprit.

1. I have not used cleanrom and they might have modified some .so files that make NFC not work when you flash the TW wallet app.

2. The card reader was disabled at the store for what ever reason

3. User error somewhere along the instructions

I am now making a video on how to install.

EDIT: Video Uploading!
[Verizon Samsung Galaxy S III] tonu42:
OP updated with video!
[Verizon Samsung Galaxy S III] jrc27:
I have had success using the invisiblek method on the last few Official nightlies...
[Verizon Samsung Galaxy S III] mikejr83:
I did the same steps as the video. I used SManager for running the scripts instead of gscripts (and other previously mentioned things). Not on invisibliks kanged cm10, though. On the official nightlies.

I tested out a purchase at CVS after work today. Was able to make 2 purchases with no issues! Once you get this working everyone around will be amazed when you "pay with your phone." The lady at the counter was pretty bummed when I told her that her iPhone wasn't able to do it.
[Verizon Samsung Galaxy S III] tonu42:
Thanks for clarification on official nighty I updated OP. And SManger probable does the same thing so yea people can use that two if they want.

Do you like the script I made? Does it make things easier for everyone?
[Verizon Samsung Galaxy S III] jrc27:
Absolutely, the script makes it easier. Once they are in the folder, they are there forever. You just need to re-install gscript every time you flash a nightly
[Verizon Samsung Galaxy S III] tonu42:
Not even if you dirty kang. One could just type in adb as well.

adb shell su

adb shell sh /path/to/script/edit.sh

adb reboot recovery

install done.
[Verizon Samsung Galaxy S III] jrc27:
I've been doing mostly clean installs lately.
[Verizon Samsung Galaxy S III] tonu42:
Than maybe try the adb route. If people want I can make a batch script in windows that runs the adb commands to edit build.prop. What I would like to do is make an app for android to do it. That'd be cool hugh?
[Verizon Samsung Galaxy S III] ljbaumer:
I'm having an issue where it just keeps saying "adding card..." its been like this for about 5 minutes... I am on 4g with 2 bars.

Anything I should do? Just wait it out?
[Verizon Samsung Galaxy S III] jrc27:
An app would be sweet for sure!
[Verizon Samsung Galaxy S III] ljbaumer:
If you make a script for windows I will port it to Mac and Linux for you, just send me a message.
[Verizon Samsung Galaxy S III] jrc27:
I'd give it a little longer than 5 minutes....i was also having that issue too when i was doing dirty flashes.
[Verizon Samsung Galaxy S III] r1_2fast4u:
I keep on getting request failed. I'm currently on paranoid android and used the gscript method.
[Verizon Samsung Galaxy S III] tonu42:
I think I'm gonna go the app route. I will work on it some this week. I may make a windows one. A Linux or Mac script would be the easiest haha. I know how to make shell scripts. Im more of a Linux guy than a windows/android coder. Like I'm using one of adamoutlers create an app guide to make the app. It shouldn't be too hard to figure out since I know my way around IDE's.
[Verizon Samsung Galaxy S III] chris98891:
While running with the edited build prop, I get a notification from the play store that there is an update available for it. Is there any harm in installing the update, then changing build prop back?
[Verizon Samsung Galaxy S III] ljbaumer:
Haha, yeah me too. Bash is nice and easy ;)

I have been working on an application for about a month with a fellow android person so if you need some help with the app route feel free to ask.

Good Luck!
[Verizon Samsung Galaxy S III] mikejr83:
Don't install the update. That's said right up front in the OP. Your best bet is to use TiBackup or another such program to detach wallet from market. That will nix the update messages.
[Verizon Samsung Galaxy S III] tonu42:
Do not update. And in order to get rid of of the notification change build prop and reboot. Change to stock.
[Verizon Samsung Galaxy S III] jgrimberg1979:
I have this issue the last few times I went to pay with Google wallet.

All of my cards are set up

1. Bump the thing at the register

2. Wallet pops up for and ask for my pin

3. Type my pin.

4.machine asks to bump it again

5.bump it again

And then I always get an error saying something about the radar. Anyone else have this issue
[Verizon Samsung Galaxy S III] tonu42:
You possibly without realizing were shaking the device while even so slightly on the reader or other variables come into play. Or you pulled away too quickly. I just used wallet on a vending machine, worked fine. I even did it in front of the Vending Machine Maintenance guy, he was impressed haha.
[Verizon Samsung Galaxy S III] jgrimberg1979:
Do I just set it on the thing for a couple of second or do I swipe it or tap the machine?
[Verizon Samsung Galaxy S III] natemiller82:
I installed the update from market, with edited prop, for ****s and giggles. Wallet still works perfectly. Not saying I'd necessarily recommend it. I'm flashing wallet with modified build.prop in flash every time I dirty flash nightly, without resetting. I know it's not recommended, but I feel comfortable with it.

One time my phone bricked without wallet resetting (was a little worried), restored an older backup, then re flashed wallet, my cards and prepaid card added perfectly.
[Verizon Samsung Galaxy S III] zxsix:
If you've never taken the back off the phone and seen the battery, do so now.

The NFC hardware is part of the battery.

Now that you know where the battery is located, you touch that area of your phone against the flat part of the POS terminal. I'm sure there's various brands and configurations of these, but the 2 places I use google wallet, there is about a 1" flat strip across the top of the terminal above where you would swipe your credit card and above the pin pad. It has the speedpay logo on it. Now leave it there for at least 5 seconds without moving it.

NFC is a proximity thing. It doesn't necessarily have to have physical contact with the POS terminal, just be within 2 inches of it or so.
[Verizon Samsung Galaxy S III] JLow0214:
Thanks for this works like a champ. Just don't update made that mistake 1st time I tried and phone didn't like that after I changed build.prop back to normal

Sent from my Galaxy S III with Jelly
[Verizon Samsung Galaxy S III] cbrehob:
CleanROM Google Wallet Fix

Finally got Google Wallet working on CleanROM, thanks to Cole.

I took his info and made it a little more organized. You have to do some link following but in the end it's a pretty easy process. Always remember to RESET GOOGLE WALLET when you mess with the app or wipe.

http://xdaforums.com/showthread.php?p=31472569#post31472569
[Verizon Samsung Galaxy S III] DroidHam:
Does this allow me to add my card or only use prepaid?

---------- Post added at 12:09 AM ---------- Previous post was at 12:07 AM ----------

Also, wat do I need to do to get this working on Paranoid Android? I

Sorry, just switched from a Nexus today and didn't need to do this before :)
[Verizon Samsung Galaxy S III] goatman101:
I am using the method in the OP for AOSP Roms, using CM10. After editing the build prop, I go to set up wallet and it times out on adding account. It states that NFC is not on. When I go to settings, NFC is checked and greyed out, I can not select it. Android Beam is also greyed out.

Any suggestions? I have tried re-flashing and then I was able to select NFC again, but when I select it, it just greys out like before and will not turn on.
[Verizon Samsung Galaxy S III] tonu42:
Either your on a bad build before the 2nd I believe. Or simply rebooting fixes it, least it did for me.
[Verizon Samsung Galaxy S III] goatman101:
Man I wish it was that easy. I was on the M1, then went back to 9-6 after I could not get NFC to turn on. I think after work I am going to return to stock ROM and see if I can start over from scratch. I really was looking forward to this google wallet.
[Verizon Samsung Galaxy S III] tonu42:
I faced the same greyed out thing as well yesteday, however wallet still worked even though NFC was unchecked which was weird..... but as I said I simply fixed it by restarting.
[Verizon Samsung Galaxy S III] satadru:
Doesn't work on CM10-M1

I get a black screen and this at boot (after installing the zip in recovery and modifying the build.prop):

W/Adreno200-EGL( 536): <qeglDrvAPI_eglSwapBuffers:3477>: EGL_BAD_ALLOC

W/ResourceType( 660): Failure getting entry for 0x7f0200d7 (t=1 e=215) in package 0 (error -75)

:p

Edit:

I realized my build.prop wasn't set to "chmod 644"

Now retesting. :)
[Verizon Samsung Galaxy S III] Lock-N-Load:
I did this last night tired and late and made 1 error, but it still worked.

In the build prop, I edited ro.product.model=Galaxy Nexus properly but for the other 2, I edited them and just put back d2vzw and not what should have been there.. D'ohh and it still all worked perfect. I realized it once I went to undo the edits to build prop after GW was installed and configured. Interesting. It kind of implies only ro.product.model=Galaxy Nexus needing editing.

---------- Post added at 11:17 AM ---------- Previous post was at 11:16 AM ----------

pretty sure they announced this week that prepaid is getting killed off now that you can add any and all cards - makes prepaid kind of worthless now
[Verizon Samsung Galaxy S III] ddurandSGS3:
itd be nice to have these still.

i use cash 90% of the time. maybe the play cards will be addable to the wallet.
[Verizon Samsung Galaxy S III] Lock-N-Load:
yeah but why take money and put it on someone else's system until you want to use it? So, pay ahead to use it... sometime.

A cc is smarter as you are using the money as you actually use it, get to keep your cash and you get to use the CC's money for a period of time and maybe even get points and rewards.

I would never ever use a prepaid card.

But maybe you don't have or cannot get a CC or cannot manage finances properly so live by cash.. then, well your not really a GW type of candidate in the long term

also, why would they add the play cards meant to spend money IN the play store so you can instead buy food and gas at some random store??
[Verizon Samsung Galaxy S III] goatman101:
Just for ****es and giggles, I clean flashed Incubus' Jellywiz RLS1 and got NFC to turn on. I changed the build prop like the OP states and downloaded the TW wallet apk, then flashed it in CW. When i re-start the phone and open google wallet, it asks me to upgrade version. I did not choose upgrade, and attempted to go into Titanium backup to detach the app from the market, but that is not a choice when I long press google wallet within TIBU. It only gives me the option to attach the apk (forced), not DE-tatch it. I am confused............

So bottom line is I am stuck now unable to even open the app. Damn you google wallet!!!
[Verizon Samsung Galaxy S III] voodoomanx:
I upgraded to the new Google wallet and it works. There is just a nag screen reminding you that your device is rooted.

I used John strummers apk for Google wallet and it works every time. Flash via cwm.

Note: this is for tw roms.

http://db.tt/pUWgudbU
[Verizon Samsung Galaxy S III] imveryemo:
works beautifully, thanks for this guide. all that's left is to try it somewhere.
[Verizon Samsung Galaxy S III] timsterzzz:
Thanks! Worked like a charm. Now it's time to hit McDonalds for a test.