[T-Mobile Samsung Galaxy Note II] heart_crafter:
Wallet works on T889UVALK8 also...

see post 263 for attachment.

I just tried this after flashing T889UVALK8_Deodex_Rooted_Busybox_teshxx.zip

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

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

Now turn of NFC from settings and begin...

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

Open attached zip file

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

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

adb shell

su

Grant permission to su from phone

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

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

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

rm -r /data/data/com.google.android.apps.walletnfcrel/

exit

exit

====================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

stop

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

adb shell

su

mv /system/etc/nfcee_access.xml /system/etc/nfcee_access.xml.bak

cp /storage/sdcard0/nfcee_access.xml /system/etc/nfcee_access.xml

chmod 644 /system/etc/nfcee_access.xml

exit

exit

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

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

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

adb shell

su

cp /system/lib/libnfc_jni.so /system/lib/libnfc_jni.so.bak

cp /system/lib/libnfc_ndef.so /system/lib/libnfc_ndef.so.bak

cp /system/lib/libnfc.so /system/lib/libnfc.so.bak

cp /storage/sdcard0/libnfc_jni.so /system/lib/libnfc_jni.so

cp /storage/sdcard0/libnfc_ndef.so /system/lib/libnfc_ndef.so

cp /storage/sdcard0/libnfc.so /system/lib/libnfc.so

chmod 644 /system/lib/libnfc_jni.so

chmod 644 /system/lib/libnfc_ndef.so

chmod 644 /system/lib/libnfc.so

exit

exit

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

adb push "C:\Samsung Galaxy Note2 ToolKit\mods\wallet\system\build.prop_nexus" /storage/sdcard0/build.prop

adb shell

su

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

cp /storage/sdcard0/build.prop /system/build.prop

chmod 644 /system/build.prop

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...

adb shell

unlock phone

getprop ro.product.model

verify it says "Google Nexus"

am start market://details?id=com.google.android.apps.walletnfcrel

Install Wallet from Play Store...

Hit settings and enable NFC... then hit back... this closes wallet

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

su

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

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

WalletApp="" && WalletApp='ls /data/app/*wallet*' && WalletApp=${WalletApp#ls} && echo Removing $WalletApp && rm $WalletApp

exit

exit

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

adb shell

su

cp /storage/sdcard0/com.google.android.apps.walletnfcrel.modaco.1.5-r87-v15.apk /system/app/

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

reboot, after reboot os will update app.

open wallet..

get Setting up wallet, this may take up tp 5 minutes

complete setup...

Got "Wallet is busy working on another card, please try later once thhis process has completed."

Reboot

Hit add card..

Got "Google wallet is ready for use" notification... but it failed adding card...

Adding card... Try again later.

Removed card from app..

Added again from wallet.google.com

Cleared data... rebooted..

Tried adding card again...

Card added successfully... Got "Google wallet is ready for use" notification...

Selected card... :D

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

adb shell

su

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

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

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

chmod 644 /system/build.prop

reboot

done.

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