[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] cybhunter:
Potential for porting to another Galaxy Device may be possible

Hey everyone,

I thought posting this information here would make the most sense, as the hardware is virtually the same ( NXP 544PN) as well as the libraries used.

I've been trying to work on the NFC capability of the Rugby Pro (SGH-I547), another Samsung Galaxy Device, doing some general comparing, the so file sizes for the Galaxy 3 are virtually the same size as the Rugby Pro's so files. Last night I was able to flash the nfc library zip onto the SGH-I547 with mixed results, Google Wallet (after flashing the modified zip) can open up without hitting the "unsupported device error" (to check, I updated via the play store and ran into this error) but the caveat lies with the odd result that NFC is borked (lack of an NFC toggle switch under Settings-> Settings

Some technical stuff:

the build.prop

ro.product.model=SAMSUNG-SGH-I547
ro.product.brand=samsung
ro.product.name=comancheuc
ro.product.device=comancheatt
ro.product.board=MSM8960
ro.chipname=MSM8960

ro.build.PDA=I547UCCMF2
ro.build.hidden_ver=I547UCCMF2

under data/data/com.android.nfc/shared_prefs

NfcServicePrefs.xml

<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<map>
<boolean name="first_boot" value="false" />
<boolean name="nfc_on" value="false" />
[COLOR="Red"]<boolean name="secure_element_on" value="false" />
<int name="secure_element_id" value=[/COLOR]"(Eight Digit Value witheld)" />
<boolean name="airplane_override" value="false" />
</map>

The secure element on switch if toggled, does stick though power cycles. With the inclusion the secure element id I'm concluding that there is a built in secure element

NxpDeviceHost.xml

<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<map>
[COLOR="Red"]<boolean name="se_wired" value="false" />[/COLOR]
</map>

The secure element wired switch, if toggled, does not stick though power cycles.

for the nfcee_access.xml I have currently have two entries; one for the (crappy) ISIS Mobile Wallet and one for the SIM Alliance

<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Applications granted NFCEE access on user builds

See packages/apps/Nfc/etc/sample_nfcee_access.xml for full documentation.
-->

<!-- ISIS development certificate-->
<signer android:signature="3082034830820230a00302010202044f62832f300d06092a864886f70d01010505003066310b3009060355040613025553310b3009060355040813024e593111300f060355040713084e657720596f726b310d300b060355040a130449736973310d300b060355040b13044973697331193017060355040313104a564c2056656e7475726573204c4c43301e170d3132303331363030303235355a170d3339303830323030303235355a3066310b3009060355040613025553310b3009060355040813024e593111300f060355040713084e657720596f726b310d300b060355040a130449736973310d300b060355040b13044973697331193017060355040313104a564c2056656e7475726573204c4c4330820122300d06092a864886f70d01010105000382010f003082010a02820101009aaf7f1047a6821ab0b4ffb7d58f8a0a66f09689dc59926e966b24896759b96304825ea149ebf30e6249877fedac185eec7aa7a44dc718ab578584888c673f46bc351b48dcd54f47bd27a0836032899b0510e0ce69863184bcd033b0654f09e801a24f06fadd7330f3665e12fbbf1c2b616ca14ac169d206607f229a7ad6d3579d330373be0de0d7148eabb80beed83602494247c0b7b735812a5ece89c1ce7f2229f757e29ebfae72350d2db27974cd5341ba5872a92f471a0768972e35246d0269d41d345cd8bda2df14009212d9640f3a33116460dce389c5a113b84e4a6b7f8b597cb601e53dace8777e380ffe4d9f0abfa14993a1f653c9a6bb5a245fd10203010001300d06092a864886f70d010105050003820101009089e52bb237b78c92dd95b4d07004751b3d68e12e83ab0baca39ea593b9b9f8f6395491f6616fe4d2e4c7a7e53c898a17f3ab2c9fac3b1c0886ee8e769ba96488aafd646a7aa425fb283cd6d9d600a083d18868d4d93de7ec73b258f61fc66d2a3f4b4c7b53df62fd3374a5e658bd8266ee24480923ea584f2e7adde360b459e4ad01bcb9f5582f95dab3964e546baf5b33f63acfbb64494902ebae5cc0930abb7dabf0e4727fcc755a6baa6e68be3b864ab1e6438fed6dd280f081ef1e3b3545a257b456b68787d8080653c31ed7f96f6b5a67186dc5a35e620b9bbb9d47a1871d58bf38e192906399c53cb2fab61c1392deae6209d6fb476897a471a23ab4" />

<!-- ISIS production certificate-->
<signer android:signature="3082037A30820262A00302010202044F86EA3A300D06092A864886F70D0101050500307F310B30090603550406130255533110300E06035504081307556E6B6E6F776E3110300E06035504071307556E6B6E6F776E311C301A060355040A0C13415426542053657276696365732C20496E632E311C301A060355040B0C13415426542053657276696365732C20496E632E3110300E06035504031307556E6B6E6F776E301E170D3132303431323134343431305A170D3339303832393134343431305A307F310B30090603550406130255533110300E06035504081307556E6B6E6F776E3110300E06035504071307556E6B6E6F776E311C301A060355040A0C13415426542053657276696365732C20496E632E311C301A060355040B0C13415426542053657276696365732C20496E632E3110300E06035504031307556E6B6E6F776E30820122300D06092A864886F70D01010105000382010F003082010A0282010100A8292E38262BF7371B34EC160FDA04231356343FC38B1E06F6293E1A2230D65DBA637CA6901F72FD600BFB8F27AD8B851E5F341331BC53C22118884D98B755F3AEBCAA541C34F3F98D9660EEF006A18425BB5BC762317D27B27C13CAAFE5C75663ABA207C4BDC909352BFCDA289503B175976E7A0DCBB2CB59D6D579FCC0C36E15483442B2C2D595AEDC806B629347A8C3EB30BE0841B5F12A50D8DD03FB25EBE21074D660EEAF0629FCC7479AE382301D29C5D372E295A1E0426C92DA910B65D35FA5B94C37032EDFDB497DB0CA4A5CEA7A6EC5C8AA356E8E775B489D33FE9ABE775716E705D92B9555FBB8C359BE30E668DA3469A6475E61C3EA3C4C7BBE850203010001300D06092A864886F70D010105050003820101000DC0E6494B8AAF20DAF0FCA2186DFC9D54862096B848E507EDEB38466F2F00568F2913688E0AAF87504E115AAEE363D5186ECC9EB8F219FC7DBB41D8ABFF0ECDF5EDCB0B4C7A09FC0991BCD52CBCD937563135526D778D1592660AF1C09AF1EA49BA9E1AA695150F97746EEC9A43DE2B63844A668476780A22D6757B20EBFA835E15BF060F5645E8D1A1A0E9A1908E3CB080EDD798C7F717B0F4E14549801E1D9728300FACE227FB8C656EEED0B4121625DAA28B057AE3D17D5AFC15BD419284931ED8C3BD57F5DBBCC8CF5AD2295347E469B3D42C88D876B6DA4BC18F1C961142A17BAD3585B7D61CA8594AD5177EA26D01265CE257486A551512F4DA02116C" />

<signer android:signature="308204d4308203bca003020102020900d20995a79c0daad6300d06092a864886f70d01010505003081a2310b3009060355040613024b52311430120603550408130b536f757468204b6f726561311330110603550407130a5375776f6e2043697479311c301a060355040a131353616d73756e6720436f72706f726174696f6e310c300a060355040b1303444d43311530130603550403130c53616d73756e6720436572743125302306092a864886f70d0109011616616e64726f69642e6f734073616d73756e672e636f6d301e170d3131303632323132323531325a170d3338313130373132323531325a3081a2310b3009060355040613024b52311430120603550408130b536f757468204b6f726561311330110603550407130a5375776f6e2043697479311c301a060355040a131353616d73756e6720436f72706f726174696f6e310c300a060355040b1303444d43311530130603550403130c53616d73756e6720436572743125302306092a864886f70d0109011616616e64726f69642e6f734073616d73756e672e636f6d30820120300d06092a864886f70d01010105000382010d00308201080282010100c986384a3e1f2fb206670e78ef232215c0d26f45a22728db99a44da11c35ac33a71fe071c4a2d6825a9b4c88b333ed96f3c5e6c666d60f3ee94c490885abcf8dc660f707aabc77ead3e2d0d8aee8108c15cd260f2e85042c28d2f292daa3c6da0c7bf2391db7841aade8fdf0c9d0defcf77124e6d2de0a9e0d2da746c3670e4ffcdc85b701bb4744861b96ff7311da3603c5a10336e55ffa34b4353eedc85f51015e1518c67e309e39f87639ff178107f109cd18411a6077f26964b6e63f8a70b9619db04306a323c1a1d23af867e19f14f570ffe573d0e3a0c2b30632aaec3173380994be1e341e3a90bd2e4b615481f46db39ea83816448ec35feb1735c1f3020103a382010b30820107301d0603551d0e04160414932c3af70b627a0c7610b5a0e7427d6cfaea3f1e3081d70603551d230481cf3081cc8014932c3af70b627a0c7610b5a0e7427d6cfaea3f1ea181a8a481a53081a2310b3009060355040613024b52311430120603550408130b536f757468204b6f726561311330110603550407130a5375776f6e2043697479311c301a060355040a131353616d73756e6720436f72706f726174696f6e310c300a060355040b1303444d43311530130603550403130c53616d73756e6720436572743125302306092a864886f70d0109011616616e64726f69642e6f734073616d73756e672e636f6d820900d20995a79c0daad6300c0603551d13040530030101ff300d06092a864886f70d01010505000382010100329601fe40e036a4a86cc5d49dd8c1b5415998e72637538b0d430369ac51530f63aace8c019a1a66616a2f1bb2c5fabd6f313261f380e3471623f053d9e3c53f5fd6d1965d7b000e4dc244c1b27e2fe9a323ff077f52c4675e86247aa801187137e30c9bbf01c567a4299db4bf0b25b7d7107a7b81ee102f72ff47950164e26752e114c42f8b9d2a42e7308897ec640ea1924ed13abbe9d120912b62f4926493a86db94c0b46f44c6161d58c2f648164890c512dfb28d42c855bf470dbee2dab6960cad04e81f71525ded46cdd0f359f99c460db9f007d96ce83b4b218ac2d82c48f12608d469733f05a3375594669ccbf8a495544d6c5701e9369c08c810158">
<package android:name="org.simalliance.openmobileapi.service" />
</signer>
</resources>

Can anybody check to see if there is any notable difference between the libraries the Galaxy 3 and the Rugby Pro that may be the cause of the borking? I'm thinking that if there the isn't that much of a difference, it may just be a matter of either altering a small amount of code or just replacing individual files within recovery (files attached via zip)

Thanks

Joe

EDIT: An update, instead of flashing the SGS3 files, I just altered the nfcee_access.xml signatures, the NFC is intact, but running into the very common "no SMX detected" error.