[T-Mobile Samsung Galaxy Note II] heart_crafter:
Using ADB

================= First thing's frist=======================

Make sure you are root, have adb installed and has atleast windows xp sp3 installed.

Now turn off NFC from settings and begin...

=========Extract required files in specific location========

Open attached zip file or dld from here

Extract the files in "C:\Samsung Galaxy Note2 ToolKit\mods\wallet"

PWD is SGH-T889

==================Mount system as writable==================

adb shell

su

mount -o rw,remount -t /dev/block/mmcblk0p13 /system

ctrl + c

=======================Clean-up=============================

Skip this section if you never installed wallet...

adb shell

WalletApp=""

WalletApp='ls /data/app/*wallet*'

WalletApp=${WalletApp#ls}

echo Removing $WalletApp && rm $WalletApp

WalletApp=""

WalletApp='ls /data/dalvik-cache/data*wallet*'

WalletApp=${WalletApp#ls}

echo Removing $WalletApp cache && rm $WalletApp

WalletApp=""

WalletApp='ls /system/app/*wallet*'

WalletApp=${WalletApp#ls}

echo Removing $WalletApp && rm $WalletApp

WalletApp=""

WalletApp='ls /data/dalvik-cache/system*wallet*'

WalletApp=${WalletApp#ls}

echo Removing $WalletApp cache && rm $WalletApp

WalletApp=""

WalletApp='ls /data/data/*wallet*'

WalletApp=${WalletApp#ls}

echo Removing $WalletApp && rm -r $WalletApp

====================Backup NFC libs=========================

md "C:\Samsung Galaxy Note2 ToolKit\mods\wallet\backup\etc"

md "C:\Samsung Galaxy Note2 ToolKit\mods\wallet\backup\lib\hw"

adb pull /system/build.prop "C:\Samsung Galaxy Note2 ToolKit\mods\wallet\backup"

adb pull /system/etc/nfcee_access.xml "C:\Samsung Galaxy Note2 ToolKit\mods\wallet\backup\etc"

adb pull /system/lib/libnfc.so "C:\Samsung Galaxy Note2 ToolKit\mods\wallet\backup\lib"

adb pull /system/lib/libnfc_jni.so "C:\Samsung Galaxy Note2 ToolKit\mods\wallet\backup\lib"

adb pull /system/lib/libnfc_ndef.so "C:\Samsung Galaxy Note2 ToolKit\mods\wallet\backup\lib"

adb pull /system/lib/hw/nfc.smdk4x12.so "C:\Samsung Galaxy Note2 ToolKit\mods\wallet\backup\lib\hw"

===========Replace libs with working NFC libs===============

Either flash the zip file from OP or do as follows

adb push "C:\Samsung Galaxy Note2 ToolKit\mods\wallet\system\etc\nfcee_access.xml" /system/etc/nfcee_access.xml

adb shell

chmod 644 /system/etc/nfcee_access.xml

ctrl+c

adb push "C:\Samsung Galaxy Note2 ToolKit\mods\wallet\system\lib\libnfc_jni.so" /system/lib/libnfc_jni.so

adb push "C:\Samsung Galaxy Note2 ToolKit\mods\wallet\system\lib\libnfc_ndef.so" /system/lib/libnfc_ndef.so

adb push "C:\Samsung Galaxy Note2 ToolKit\mods\wallet\system\lib\libnfc.so" /system/lib/libnfc.so

adb shell

chmod 644 /system/lib/libnfc_jni.so

chmod 644 /system/lib/libnfc_ndef.so

chmod 644 /system/lib/libnfc.so

ls -l /system/lib/libnfc_jni.so

You should see: -rw-r--r-- root root 75956 2008-08-01 08:00 libnfc_jni.so

ls -l /system/lib/libnfc_ndef.so

You should see: -rw-r--r-- root root 5156 2008-08-01 08:00 libnfc_ndef.so

ls -l /system/lib/libnfc.so

You should see: -rw-r--r-- root root 267472 2008-08-01 08:00 libnfc.so

ctrl+c

====================Modify build.prop=======================

adb shell

mv /system/build.prop /system/build.prop.bak

ctrl+c

adb push "C:\Samsung Galaxy Note2 ToolKit\mods\wallet\system\build.prop_nexus" /system/build.prop || adb shell chmod 644 /system/build.prop

adb reboot

==================== Setting Wallet up ====================

On your pc...

Goto https://wallet.google.com and login

Now Goto https://wallet.google.com/manage/#paymentMethods:

Add your cc info there...

Turn wifi on your phone...

Install Wallet from Play Store...

Open the app and it should ask you to enable NFC...

Enable NFC from settings...

Then it will ask you to give permission to use wallet...

And continue with setting up your wallet...

==============Mount system as writable again===============

adb shell

mount -o rw,remount -t /dev/block/mmcblk0p13 /system

============= Revert back build.prop ======================

mv /system/build.prop /system/build.prop_nexus

mv /system/build.prop.bak /system/build.prop

chmod 644 /system/build.prop

ctrl+c

======= Replace wallet with modified wallet apk ===========

adb shell

WalletApp=""

WalletApp='ls /data/app/*wallet*'

WalletApp=${WalletApp#ls}

echo Removing $WalletApp && rm $WalletApp

ctrl+c

adb push "C:\Samsung Galaxy Note2 ToolKit\mods\wallet\system\app\com.google.android.apps.walletnfcrel.modaco.1.5-r87-v15.apk" /system/app/

adb shell

chmod 644 "/system/app/com.google.android.apps.walletnfcrel.modaco.1.5-r87-v15.apk"

ctrl+c

adb reboot

done.

===========================================================

Note: transaction history will not show up. I think because app is not reporting back to the website anymore that transaction has been made thru this device... :D Maybe it's because Droidwall blocked it :P i'll report later...edit: ok just tried again and history shows up...

Maybe if we don't revert the build.prop

And not put modified wallet app

and then try using wallet, history might show up.

===============step by step pics for setting up Google Wallet===================

Caution:

Post# 288

Troubleshooting:

Post# 280 - Stuck at 96% or 97%

Post# 299 - "Error adding card"/"Adding your account..."

Post# 304 - su not working in adb? (it's not verified yet)

Post# 328 - "Wallet is busy working on another card, please try later once thhis process has completed."

Success Stories: :D

Post# 187 - Jedi Master 6.1

Post# 192 - DLL1 4.1.2

Post# 275 - Disabled from Google Wallet website and re-activated from phone.

Post# 301 - DLL1 4.1.2

http://xdaforums.com/showthread.php?p=35456938