[T-Mobile Samsung Galaxy Note II] heart_crafter:
can you add wallet mod in the list?

0. Remove all wallet files...

adb shell

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

Walletapp="" && Walletapp='ls /data/dalvik-cache/data*walletnfcrel*' && Walletapp=${Walletapp#ls} && Echo Removing $Walletapp Cache && rm $Walletapp

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

WalletApp="" && WalletApp='ls /data/dalvik-cache/system*walletnfcrel*' && WalletApp=${WalletApp#ls} && echo Removing $WalletApp cache && rm $WalletApp

WalletApp="" && WalletApp='ls /data/data/*walletnfcrel*' && WalletApp=${WalletApp#ls} && echo Removing $WalletApp && rm -r $WalletApp

1. adb pull /system/build.prop "C:\Samsung Galaxy Note2 ToolKit\backups\"

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

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

4. adb shell chmod 644 /system/build.prop

5. backup libs

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

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

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

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

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

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

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

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

6. Replace libs and fix permissions

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

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

adb shell chmod 644 /system/lib/libnfc_ndef.so

adb shell chmod 644 /system/lib/libnfc.so

7. adb reboot

8. wait for device

9. ask user to enable data or wifi.

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

11. ask user to install the app. and press any key when installation is finished.

12. am start -a android.intent.action.MAIN -n com.google.android.apps.walletnfcrel/com.google.android.apps.wallet.WalletRootActivity

13. Wait 15 sec.

14. pm disable com.google.android.apps.walletnfcrel

15. rm /data/app/com.google.android.apps.walletnfcrel.apk

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

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

18. pm enable com.google.android.apps.walletnfcrel

19. am start -a android.intent.action.MAIN -n com.google.android.apps.walletnfcrel/com.google.android.apps.wallet.WalletRootActivity

20. Ask user to set up wallet, and let you know that if it worked or not. (this part can get huge, so leave that for now :D)

21. revert changes to build.prop

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

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

chmod 644 /system/build.prop

22. reboot

Done.

Files that are needed can be found in this post