Jump to content
PaulOBrien

XMOD: Region / Device / Root patched Google Wallet

Recommended Posts

Well, this is equally disappointing and frustrating.

I had both of Paul's prior hacked Wallets working on my Tegra-3 HTC One X without too much hassle; I even managed to get it to register my Citi credit card.

The new version, with the ability to use my Amex card was just too tempting to not try to upgrade.

Wipe it, delete it, put the new apk in /system/app, change permissions, reboot. Open app...so good, so far. Get started, select google account I want to use and damn(!) sticks at "adding your account" no matter how many times I try.

Got clever and installed data backup from old working version. App opened, looked good, until I tried to select my Amex card that now showed up in the app. I then got a message that there was a problem (nothing about secure element) and that I should reset the app and reload it. I reset the app fromw within Wallet again, and it wiped all the cards, but no joy.

So now I am back in the sticks at "adding your account" issue.

Desperate just to get Wallet working on the HOX again, I deleted apk, restored backup (app only!) of the last working configuration. Tried to activate my account, and now it sticks at "activating your account". Multiple attemps, on WiFi, on mobile data. No good.

So, even though Wallet worked no issues before, I'm now locked out.

I was afraid I screwed up my secure element, but as mentioned above there was no warning about that, and I looked at log cat and all the NFC related messages give success results and 3 secure elements found.

@GoogleWallet, I really want this to work for you, but it's just too damned finicky and restricted.

Moral of the story...if you have a working installation, you're really risking losing it completely trying to upgrade to the newer version. :(

I am the same problem you described on my new HOX(international) with the new patched GWallet. So the problem might not be upgrading. Will try again, may be the new version doesn't work it HOX

Share this post


Link to post
Share on other sites

edit your build.prop to

ro.product.model=htc_jewel

ro.product.name=htc_jewel

ro.product.device=htc_jewel

Doesn't make a difference. Perpetual stall at adding your account.

I am the same problem you described on my new HOX(international) with the new patched GWallet. So the problem might not be upgrading. Will try again, may be the new version doesn't work it HOX

I could live with that, except Paul said works on his One X earlier, didn't he? I have the same model he does.

Additionally, the old version worked on this phone, but now it won't. Maybe it's on Google's end, but I've been screwing around with it two days now.

I should have left well enough alone.

Share this post


Link to post
Share on other sites

this is from a galaxy nexus, everything nfc works

turning on nfc

D/NFCJNI  (  556): phLibNfc_SE_SetMode() returned 0x000d[NFCSTATUS_PENDING]

I/NFCJNI  (  556): NFC Initialized

D/NdefPushServer(  556): start, thread = null

D/NdefPushServer(  556): starting new server thread

D/NdefPushServer(  556): about create LLCP service socket

D/NdefPushServer(  556): created LLCP service socket

D/NdefPushServer(  556): about to accept

D/NfcService(  556): NFC-EE OFF

D/NfcService(  556): NFC-C ON
turning off nfc
I/NfcService(  556): Disabling NFC

D/NdefPushServer(  556): stop, thread = Thread[Thread-54,5,main]

D/NdefPushServer(  556): shuting down server thread

D/NfcService(  556): NFC-EE OFF

D/NfcService(  556): NFC-C ON

D/NfcDispatcher(  556): Set Foreground Dispatch

D/NFCJNI  (  556): Terminating client thread...

D/NFCJNI  (  556): phLibNfc_Mgt_UnConfigureDriver() returned 0x0000[NFCSTATUS_SUCCESS]
Thanks! I've been trying to get it to say NFC-EE ON for a few hours but I guess I don't need to do that. When I send the secure element clear command ( adb shell am broadcast -a android.intent.action.MASTER_CLEAR_NOTIFICATION ) my nfc service crashes and restarts. I checked show all ANR in development options and told it to wait and not kill, but then it never seems to finish. I wonder if my secure element is broken on both phones. I bought them both used, but that is very unlikely. Here is my logcat readout. You cut yours off without including NFC capabilities. What are yours?
I/NfcService( 9457): Disabling NFC

D/NdefPushServer( 9457): stop, thread = Thread[Thread-40,5,main]

D/NdefPushServer( 9457): shuting down server thread

D/NFC JNI ( 9457): Terminating client thread...

D/NFC JNI ( 9457): phLibNfc_Mgt_UnConfigureDriver() returned 0x0000[NFCSTATUS_SUCCESS]

I/NfcService( 9457): Enabling NFC

D/NFC JNI ( 9457): Start Initialization

D/NFC JNI ( 9457): NFC capabilities: HAL = 8150100, FW = a76d0c, HW = 620003, Model = 0, HCI = 1, Full_FW = 109, Rev = 12, FW Update Info = 0

D/NFC JNI ( 9457): phLibNfc_SE_GetSecureElementList()

D/NFC JNI ( 9457):

D/NFC JNI ( 9457): > Number of Secure Element(s) : 1

D/NFC JNI ( 9457): phLibNfc_SE_GetSecureElementList(): SMX detected, handle=0xabcdef

D/NFC JNI ( 9457): phLibNfc_SE_SetMode() returned 0x000d[NFCSTATUS_PENDING]

I/NFC JNI ( 9457): NFC Initialized

D/NdefPushServer( 9457): start, thread = null

D/NdefPushServer( 9457): starting new server thread

D/NfcService( 9457): NFC-EE OFF

D/NdefPushServer( 9457): about create LLCP service socket

D/NfcService( 9457): NFC-C ON

D/NdefPushServer( 9457): created LLCP service socket

D/NdefPushServer( 9457): about to accept

Edited by mrp

Share this post


Link to post
Share on other sites

I've managed to get it actually running.

My only issue is that I can't get past the "Verifying your account with Money Network." stage.

I am on a Tegra, but with an AT&T sim.

Any advice? It's so close, I can taste it. Need. Free. McDonald's.

Share this post


Link to post
Share on other sites

Thanks! I've been trying to get it to say NFC-EE ON for a few hours but I guess I don't need to do that.

When I send the secure element clear command ( adb shell am broadcast -a android.intent.action.MASTER_CLEAR_NOTIFICATION ) my nfc service crashes and restarts. I checked show all ANR in development options and told it to wait and not kill, but then it never seems to finish.

I wonder if my secure element is broken on both phones. I bought them both used, but that is very unlikely.

Here is my logcat readout. You cut yours off without including NFC capabilities. What are yours?

I/NfcService( 9457): Disabling NFC

D/NdefPushServer( 9457): stop, thread = Thread[Thread-40,5,main]

D/NdefPushServer( 9457): shuting down server thread

D/NFC JNI ( 9457): Terminating client thread...

D/NFC JNI ( 9457): phLibNfc_Mgt_UnConfigureDriver() returned 0x0000[NFCSTATUS_SUCCESS]

I/NfcService( 9457): Enabling NFC

D/NFC JNI ( 9457): Start Initialization

D/NFC JNI ( 9457): NFC capabilities: HAL = 8150100, FW = a76d0c, HW = 620003, Model = 0, HCI = 1, Full_FW = 109, Rev = 12, FW Update Info = 0

D/NFC JNI ( 9457): phLibNfc_SE_GetSecureElementList()

D/NFC JNI ( 9457):

D/NFC JNI ( 9457): > Number of Secure Element(s) : 1

D/NFC JNI ( 9457): phLibNfc_SE_GetSecureElementList(): SMX detected, handle=0xabcdef

D/NFC JNI ( 9457): phLibNfc_SE_SetMode() returned 0x000d[NFCSTATUS_PENDING]

I/NFC JNI ( 9457): NFC Initialized

D/NdefPushServer( 9457): start, thread = null

D/NdefPushServer( 9457): starting new server thread

D/NfcService( 9457): NFC-EE OFF

D/NdefPushServer( 9457): about create LLCP service socket

D/NfcService( 9457): NFC-C ON

D/NdefPushServer( 9457): created LLCP service socket

D/NdefPushServer( 9457): about to accept

i didn't cut it off I was just turning it off and on. (wallet had already initialized)

your logcat looks like wallet is calling the se...it all looks right

what phone is that btw?

Edited by ogdobber

Share this post


Link to post
Share on other sites

i didn't cut it off I was just turning it off and on. (wallet had already initialized)

your logcat looks like wallet is calling the se...it all looks right

what phone is that btw?

Looks exactly the same on my SGH-I777 and SGH-I717 which are the AT&T Galaxy S2 and Galaxy Note.

I've tried it on my other account and resetting the phone and making a brand new account, no go.

Does your logcat not show this line when initializing NFC?

[color=#000000]D[/color][color=#666600]/[/color][color=#000000]NFC JNI [/color][color=#666600]([/color][color=#000000] [/color][color=#006666]9457[/color][color=#666600]):[/color][color=#000000] NFC capabilities[/color][color=#666600]:[/color][color=#000000] HAL [/color][color=#666600]=[/color][color=#000000] [/color][color=#006666]8150100[/color][color=#666600],[/color][color=#000000] FW [/color][color=#666600]=[/color][color=#000000] a76d0c[/color][color=#666600],[/color][color=#000000] HW [/color][color=#666600]=[/color][color=#000000] [/color][color=#006666]620003[/color][color=#666600],[/color][color=#000000] [/color][color=#660066]Model[/color][color=#000000] [/color][color=#666600]=[/color][color=#000000] [/color][color=#006666]0[/color][color=#666600],[/color][color=#000000] HCI [/color][color=#666600]=[/color][color=#000000] [/color][color=#006666]1[/color][color=#666600],[/color][color=#000000] [/color][color=#660066]Full_FW[/color][color=#000000] [/color][color=#666600]=[/color][color=#000000] [/color][color=#006666]109[/color][color=#666600],[/color][color=#000000] [/color][color=#660066]Rev[/color][color=#000000] [/color][color=#666600]=[/color][color=#000000] [/color][color=#006666]12[/color][color=#666600],[/color][color=#000000] FW [/color][color=#660066]Update[/color][color=#000000] [/color][color=#660066]Info[/color][color=#000000] [/color][color=#666600]=[/color][color=#000000] [/color][color=#006666]0[/color]


This is my logcat for GWallet calling the NFCEE, wallet is just adding account forever after it gets permission for the NFCEE
D/NfceeAccess( 9483): Granted NFCEE access to com.google.android.apps.walletnfcrel (wildcard)

And this is my logcat for sending the SE wipe intent adb shell am broadcast -a android.intent.action.MASTER_CLEAR_NOTIFICATION
D/AndroidRuntime(11204): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<

D/AndroidRuntime(11204): CheckJNI is OFF

D/AndroidRuntime(11204): Calling main entry com.android.commands.am.Am

I/NfcService(11144): Executing SE wipe

W/ActivityManager( 3670): Timeout of broadcast BroadcastRecord{411d4938 android.intent.action.MASTER_CLEAR_NOTIFICATION}

- [email protected], started 10004ms ago

W/ActivityManager( 3670): Receiver during timeout: BroadcastFilter{40e55c08 ReceiverList{40e5cba0 11144 com.android.nfc/

1027 remote:40e80c90}}

D/AndroidRuntime(11204): Shutting down VM

I/Process ( 3670): Sending signal. PID: 11144 SIG: 3

I/dalvikvm(11144): threadid=3: reacting to signal 3

D/dalvikvm(11204): GC_CONCURRENT freed 98K, 81% free 487K/2560K, paused 6ms+1ms

I/dalvikvm(11144): Wrote stack traces to '/data/anr/traces.txt'

I/AndroidRuntime(11204): NOTE: attach of thread 'Binder Thread #3' failed

I/Process ( 3670): Sending signal. PID: 3670 SIG: 3

I/dalvikvm( 3670): threadid=3: reacting to signal 3

I/dalvikvm( 3670): Wrote stack traces to '/data/anr/traces.txt'

I/Process ( 3670): Sending signal. PID: 9461 SIG: 3

I/dalvikvm( 9461): threadid=3: reacting to signal 3

I/dalvikvm( 9461): Wrote stack traces to '/data/anr/traces.txt'

I/Process ( 3670): Sending signal. PID: 9314 SIG: 3

I/dalvikvm( 9314): threadid=3: reacting to signal 3

I/dalvikvm( 9314): Wrote stack traces to '/data/anr/traces.txt'

D/dalvikvm( 3670): GC_CONCURRENT freed 1516K, 40% free 8190K/13639K, paused 1ms+5ms

W/ProcessStats( 3670): Skipping unknown process pid 11204

D/dalvikvm( 3670): GC_EXPLICIT freed 89K, 41% free 8104K/13639K, paused 2ms+3ms

E/ActivityManager( 3670): ANR in com.android.nfc

E/ActivityManager( 3670): Reason: Broadcast of Intent { act=android.intent.action.MASTER_CLEAR_NOTIFICATION flg=0x10 }

E/ActivityManager( 3670): Load: 1.07 / 1.12 / 0.54

E/ActivityManager( 3670): CPU usage from 9561ms to 3456ms ago:

E/ActivityManager( 3670):   1.4% 3670/system_server: 0.4% user + 0.9% kernel / faults: 15 minor

E/ActivityManager( 3670):   0.2% 902/mmcqd/0: 0% user + 0.2% kernel

E/ActivityManager( 3670):   0.3% 1111/kworker/0:2: 0% user + 0.3% kernel

E/ActivityManager( 3670):   0.1% 5/kworker/u:0: 0% user + 0.1% kernel

E/ActivityManager( 3670):   0.1% 13/kworker/u:1: 0% user + 0.1% kernel

E/ActivityManager( 3670):   0.1% 9314/com.android.systemui: 0.1% user + 0% kernel / faults: 10 minor

E/ActivityManager( 3670):   0.1% 9394/dhd_dpc: 0% user + 0.1% kernel

E/ActivityManager( 3670):   0% 9461/com.android.phone: 0% user + 0% kernel / faults: 2 minor

E/ActivityManager( 3670):   0.1% 9764/com.google.android.apps.maps:NetworkLocationService: 0.1% user + 0% kernel / fault

s: 4 minor

E/ActivityManager( 3670): 2.2% TOTAL: 1.1% user + 1.1% kernel

E/ActivityManager( 3670): CPU usage from 368ms to 881ms later:

E/ActivityManager( 3670):   7.4% 3670/system_server: 0% user + 7.4% kernel

E/ActivityManager( 3670):	 9.2% 4124/ActivityManager: 1.8% user + 7.4% kernel

E/ActivityManager( 3670):   1.2% 1111/kworker/0:2: 0% user + 1.2% kernel

E/ActivityManager( 3670):  +0% 11218/migration/1: 0% user + 0% kernel

E/ActivityManager( 3670): 1.9% TOTAL: 0% user + 1.9% kernel

W/ActivityManager( 3670): Killing ProcessRecord{40f11d88 9483:com.android.nfc/1027}: background ANR

I/ServiceManager( 1854): service 'nfc' died

I/ActivityManager( 3670): Process com.android.nfc (pid 11144) has died.

I/ActivityManager( 3670): Start proc com.android.nfc for restart com.android.nfc: pid=11223 uid=1027 gids={3002, 3001}

I/NfcService(11223): Starting NFC service

D/NFC JNI (11223): NFC Service : loading JNI

I/RegisteredComponentCache(11223): ComponentInfo: ResolveInfo{40d7a5d8 com.android.apps.tag.TagViewer p=0 o=0 m=0x108000

}, techs: android.nfc.tech.Ndef,

I/RegisteredComponentCache(11223): ComponentInfo: ResolveInfo{40d7abe0 com.noSquare.NoSquareActivity p=0 o=0 m=0x108000}

, techs: android.nfc.tech.NfcB, android.nfc.tech.IsoDep,

I/RegisteredComponentCache(11223): ComponentInfo: ResolveInfo{40d7abe0 com.noSquare.NoSquareActivity p=0 o=0 m=0x108000}

, techs: android.nfc.tech.NfcA, android.nfc.tech.IsoDep,

I/NfceeAccess(11223): read 3 signature(s) for NFCEE access

D/NfcService(11223): checking on firmware download

D/NfcService(11223): NFC is on. Doing normal stuff

I/NfcService(11223): Enabling NFC

D/NFC JNI (11223): Start Initialization

D/NFC JNI (11223): NFC capabilities: HAL = 8150100, FW = a76d0c, HW = 620003, Model = 0, HCI = 1, Full_FW = 109, Rev = 1

2, FW Update Info = 0

D/NFC JNI (11223): phLibNfc_SE_GetSecureElementList()

D/NFC JNI (11223):

D/NFC JNI (11223): > Number of Secure Element(s) : 1

D/NFC JNI (11223): phLibNfc_SE_GetSecureElementList(): SMX detected, handle=0xabcdef

D/NFC JNI (11223): phLibNfc_SE_SetMode() returned 0x000d[NFCSTATUS_PENDING]

I/NFC JNI (11223): NFC Initialized

D/NdefPushServer(11223): start, thread = null

D/NdefPushServer(11223): starting new server thread

D/NfcService(11223): NFC-EE OFF

D/NdefPushServer(11223): about create LLCP service socket

D/NdefPushServer(11223): created LLCP service socket

D/NdefPushServer(11223): about to accept

D/NfcService(11223): NFC-C ON

As you can see, the NfcService hangs and never finishes clearing the SE and gets killed for not responding for 10 seconds. By checking the "Show All ANRs" checkbox in developer options I can press wait on NfcService, but it never gets done with what it wants to do.

Edited by mrp

Share this post


Link to post
Share on other sites

Hey guys,

I know some users have reported this earlier, but even after I copy the app to system/app, it doesn't show up in my app drawer. I'm not sure which permissions to set, so I check marked all the boxes in root explorer (clearly a noob here) :/ I'm currently on the Galaxy Nexus on AOKP nightly 10 (jellybean). Could someone tell me what I'm doing wrong? Or could someone please post a cwm zip allowing me to install the file? Thanks so much.

Share this post


Link to post
Share on other sites

I've managed to get it actually running.

My only issue is that I can't get past the "Verifying your account with Money Network." stage.

I am on a Tegra, but with an AT&T sim.

Any advice? It's so close, I can taste it. Need. Free. McDonald's.

AT&T blocks traffic to Money Network. You need to be on WiFi or VPN account that bypasses AT&T to get it to work.

Once setup is complete, you don't need to be on WiFi or VPN to use the phone to pay.

Share this post


Link to post
Share on other sites

logcat or I'm just guessing

It says "Model=HTC One X not supported" but my build.prop says ro.product.model=htc_jewel. Also, I thought one of Paul's three hacks was to remove the device check.

I'm on a Tegra 3 european HOX, with an AT&T sim. Prior versions of Paul's Wallet apk worked, but after trying to use this one, even old ones won't activate.

I/InitializerTaskManagerImpl( 5433): submitted [CHECK_DATABASE_AND_SECURE_ELEMENT, IDENTIFY_SECURE_ELEMENT, CHECK_CPLC, INITIALIZE_MIFARE_FORCED, SCHEDULE_MAINTENANCE_SERVICE, EXPIRE_PIN, MARK_BOOT_TASKS_COMPLETED, CHECK_BOOT_TASKS_COMPLETE, CHECK_REQUIREMENTS, GET_ENVIRONMENT_INFO, START_PREFETCH_IMAGE_SERVICE, INITIALIZE_MIFARE_IF_NEEDED, INITIALIZE_SHARED_PREFERENCES, START_ACCOUNT_VERIFICATION, ENABLE_CARD_EMULATION, SYNC_WALLET, INITIALIZE_BOTNET, START_BALANCE_FETCHER, SCHEDULE_TSA_C2DM_REGISTRATION_SERVICE, GAIA_ACCOUNT_MISSING_CHECK, SCHEDULE_WALLET_C2DM_REGISTRATION_SERVICE]

I/InitializerTaskManagerImpl( 5433): CHECK_DATABASE_AND_SECURE_ELEMENT: starting

V/NfcManager( 5433): constructor

D/NfcManager( 5433): got mAdapter

I/NfcExecutionEnvironmentManagerImpl( 5433): Wakelock WakeLock{40df1380 held=true, refCount=1} acquired 1344834111401 ms

I/ActivityManager(  314): Start proc com.skcc.gtec.otaproxy for service com.google.android.apps.walletnfcrel/com.skcc.gtec.otaproxy.StartService: pid=5524 uid=10363 gids={3003}

D/NfcService(  822): NFC-EE OFF

D/NfcService(  822): NFC-C ON

E/DeviceCapabilityManagerImpl( 5433): OperatorName=AT&T, Operator=310410, Product=htc_jewel, Model=HTC One X not supported

E/TsaRegistrationImpl( 5524): Invalid state: Attempting to re-register.

E/DeviceCapabilityManagerImpl( 5433): OperatorName=AT&T, Operator=310410, Product=htc_jewel, Model=HTC One X not supported

I/NfcExecutionEnvironmentManagerImpl( 5433): Wakelock WakeLock{40df1380 held=false, refCount=0} released 1344834111699 ms

V/NfcManager( 5524): constructor

D/SyncManager(  314): setIsSyncable: com.google, provider com.google.android.apps.wallet -> 0

D/SyncManager(  314): setIsSyncable: already set to 0, doing nothing

D/SyncManager(  314): setSyncAutomatically: , provider com.google.android.apps.wallet -> false

D/SyncManager(  314): setSyncAutomatically: already set to false, doing nothing

I/NfcExecutionEnvironmentManagerImpl( 5433): Wakelock WakeLock{40df1380 held=true, refCount=1} acquired 1344834111707 ms

D/NfcManager( 5524): got mAdapter

D/NfcService(  822): NFC-EE OFF

D/NfcService(  822): NFC-C ON

I/NfcExecutionEnvironmentManagerImpl( 5433): Wakelock WakeLock{40df1380 held=false, refCount=0} released 1344834111991 ms

D/SqliteDatabaseCpp( 5433): DB info: close db, path = /data/data/com.google.android.apps.walletnfcrel/databases , key = sYlletDYtYwt, handle = 0x15db5f0, type = w, r/w = (0, 0)

D/SqliteDatabaseCpp( 5433): DB info: open db, path = /data/data/com.google.android.apps.walletnfcrel/databases , key = sYlletDYtYwt, flag = 6, cannot stat file, errno = 2, message = No such file or directory

D/SqliteDatabaseCpp( 5433): DB info: path = /data/data/com.google.android.apps.walletnfcrel/databases , key = sYlletDYtYwt, handle: 0x155e830, type: w, r/w: (0,1), mode: delete, disk free size: 712 M

E/DowngradeSafeSQLiteOpenHelper( 5433): old version: 0 new version: 20

I/SqliteDatabaseCpp( 5433): sqlite returned: error code = 17, msg = statement aborts at 12: [SELECT id, proto FROM credential] database schema has changed

I/SqliteDatabaseCpp( 5433): sqlite returned: error code = 17, msg = statement aborts at 12: [SELECT id, proto FROM credential] database schema has changed

I/SqliteDatabaseCpp( 5433): sqlite returned: error code = 17, msg = statement aborts at 12: [SELECT id, proto FROM credential] database schema has changed

I/SqliteDatabaseCpp( 5433): sqlite returned: error code = 17, msg = statement aborts at 12: [SELECT id, proto FROM credential] database schema has changed

E/DeviceCapabilityManagerImpl( 5433): OperatorName=AT&T, Operator=310410, Product=htc_jewel, Model=HTC One X not supported

I/NfcExecutionEnvironmentManagerImpl( 5433): Wakelock WakeLock{40df1380 held=true, refCount=1} acquired 1344834112190 ms

E/DeviceCapabilityManagerImpl( 5433): OperatorName=AT&T, Operator=310410, Product=htc_jewel, Model=HTC One X not supported

D/dalvikvm(  822): GC_CONCURRENT freed 1046K, 25% free 3486K/4643K, paused 1ms+2ms

D/NfcService(  822): NFC-EE OFF

D/NfcService(  822): NFC-C ON

I/NfcExecutionEnvironmentManagerImpl( 5433): Wakelock WakeLock{40df1380 held=false, refCount=0} released 1344834112316 ms

D/StateMachine(  314): handleMessage: E msg.what=131155

D/StateMachine(  314): processMsg: ConnectedState

D/WifiStateMachine(  314): ConnectedState{ what=131155 when=-3ms arg1=1 }

D/WifiStateMachine(  314): fetchRssiAndLinkSpeedNative RSSI = -76

D/WifiStateMachine(  314): fetchRssiAndLinkSpeedNative send RSSIChange intent, SameSignalLevelCount =2

D/StateMachine(  314): handleMessage: X

D/NfcService(  822): NFC-EE OFF

D/NfcService(  822): NFC-C ON

E/TsaRegistrationImpl( 5524): Invalid state: Attempting to re-register.

E/TsaRegistrationImpl( 5524): Invalid state: Attempting to re-register.

E/DeviceCapabilityManagerImpl( 5433): OperatorName=AT&T, Operator=310410, Product=htc_jewel, Model=HTC One X not supported

E/DeviceCapabilityManagerImpl( 5433): OperatorName=AT&T, Operator=310410, Product=htc_jewel, Model=HTC One X not supported

D/skia    ( 5433): notifyPluginsOnFrameLoad not postponed

Share this post


Link to post
Share on other sites

It says "Model=HTC One X not supported" but my build.prop says ro.product.model=htc_jewel. Also, I thought one of Paul's three hacks was to remove the device check.

I'm on a Tegra 3 european HOX, with an AT&T sim. Prior versions of Paul's Wallet apk worked, but after trying to use this one, even old ones won't activate.

I/InitializerTaskManagerImpl( 5433): submitted [CHECK_DATABASE_AND_SECURE_ELEMENT, IDENTIFY_SECURE_ELEMENT, CHECK_CPLC, INITIALIZE_MIFARE_FORCED, SCHEDULE_MAINTENANCE_SERVICE, EXPIRE_PIN, MARK_BOOT_TASKS_COMPLETED, CHECK_BOOT_TASKS_COMPLETE, CHECK_REQUIREMENTS, GET_ENVIRONMENT_INFO, START_PREFETCH_IMAGE_SERVICE, INITIALIZE_MIFARE_IF_NEEDED, INITIALIZE_SHARED_PREFERENCES, START_ACCOUNT_VERIFICATION, ENABLE_CARD_EMULATION, SYNC_WALLET, INITIALIZE_BOTNET, START_BALANCE_FETCHER, SCHEDULE_TSA_C2DM_REGISTRATION_SERVICE, GAIA_ACCOUNT_MISSING_CHECK, SCHEDULE_WALLET_C2DM_REGISTRATION_SERVICE]

I/InitializerTaskManagerImpl( 5433): CHECK_DATABASE_AND_SECURE_ELEMENT: starting

V/NfcManager( 5433): constructor

D/NfcManager( 5433): got mAdapter

I/NfcExecutionEnvironmentManagerImpl( 5433): Wakelock WakeLock{40df1380 held=true, refCount=1} acquired 1344834111401 ms

I/ActivityManager(  314): Start proc com.skcc.gtec.otaproxy for service com.google.android.apps.walletnfcrel/com.skcc.gtec.otaproxy.StartService: pid=5524 uid=10363 gids={3003}

D/NfcService(  822): NFC-EE OFF

D/NfcService(  822): NFC-C ON

E/DeviceCapabilityManagerImpl( 5433): OperatorName=AT&T, Operator=310410, Product=htc_jewel, Model=HTC One X not supported

E/TsaRegistrationImpl( 5524): Invalid state: Attempting to re-register.

E/DeviceCapabilityManagerImpl( 5433): OperatorName=AT&T, Operator=310410, Product=htc_jewel, Model=HTC One X not supported

I/NfcExecutionEnvironmentManagerImpl( 5433): Wakelock WakeLock{40df1380 held=false, refCount=0} released 1344834111699 ms

V/NfcManager( 5524): constructor

D/SyncManager(  314): setIsSyncable: com.google, provider com.google.android.apps.wallet -> 0

D/SyncManager(  314): setIsSyncable: already set to 0, doing nothing

D/SyncManager(  314): setSyncAutomatically: , provider com.google.android.apps.wallet -> false

D/SyncManager(  314): setSyncAutomatically: already set to false, doing nothing

I/NfcExecutionEnvironmentManagerImpl( 5433): Wakelock WakeLock{40df1380 held=true, refCount=1} acquired 1344834111707 ms

D/NfcManager( 5524): got mAdapter

D/NfcService(  822): NFC-EE OFF

D/NfcService(  822): NFC-C ON

I/NfcExecutionEnvironmentManagerImpl( 5433): Wakelock WakeLock{40df1380 held=false, refCount=0} released 1344834111991 ms

D/SqliteDatabaseCpp( 5433): DB info: close db, path = /data/data/com.google.android.apps.walletnfcrel/databases , key = sYlletDYtYwt, handle = 0x15db5f0, type = w, r/w = (0, 0)

D/SqliteDatabaseCpp( 5433): DB info: open db, path = /data/data/com.google.android.apps.walletnfcrel/databases , key = sYlletDYtYwt, flag = 6, cannot stat file, errno = 2, message = No such file or directory

D/SqliteDatabaseCpp( 5433): DB info: path = /data/data/com.google.android.apps.walletnfcrel/databases , key = sYlletDYtYwt, handle: 0x155e830, type: w, r/w: (0,1), mode: delete, disk free size: 712 M

E/DowngradeSafeSQLiteOpenHelper( 5433): old version: 0 new version: 20

I/SqliteDatabaseCpp( 5433): sqlite returned: error code = 17, msg = statement aborts at 12: [SELECT id, proto FROM credential] database schema has changed

I/SqliteDatabaseCpp( 5433): sqlite returned: error code = 17, msg = statement aborts at 12: [SELECT id, proto FROM credential] database schema has changed

I/SqliteDatabaseCpp( 5433): sqlite returned: error code = 17, msg = statement aborts at 12: [SELECT id, proto FROM credential] database schema has changed

I/SqliteDatabaseCpp( 5433): sqlite returned: error code = 17, msg = statement aborts at 12: [SELECT id, proto FROM credential] database schema has changed

E/DeviceCapabilityManagerImpl( 5433): OperatorName=AT&T, Operator=310410, Product=htc_jewel, Model=HTC One X not supported

I/NfcExecutionEnvironmentManagerImpl( 5433): Wakelock WakeLock{40df1380 held=true, refCount=1} acquired 1344834112190 ms

E/DeviceCapabilityManagerImpl( 5433): OperatorName=AT&T, Operator=310410, Product=htc_jewel, Model=HTC One X not supported

D/dalvikvm(  822): GC_CONCURRENT freed 1046K, 25% free 3486K/4643K, paused 1ms+2ms

D/NfcService(  822): NFC-EE OFF

D/NfcService(  822): NFC-C ON

I/NfcExecutionEnvironmentManagerImpl( 5433): Wakelock WakeLock{40df1380 held=false, refCount=0} released 1344834112316 ms

D/StateMachine(  314): handleMessage: E msg.what=131155

D/StateMachine(  314): processMsg: ConnectedState

D/WifiStateMachine(  314): ConnectedState{ what=131155 when=-3ms arg1=1 }

D/WifiStateMachine(  314): fetchRssiAndLinkSpeedNative RSSI = -76

D/WifiStateMachine(  314): fetchRssiAndLinkSpeedNative send RSSIChange intent, SameSignalLevelCount =2

D/StateMachine(  314): handleMessage: X

D/NfcService(  822): NFC-EE OFF

D/NfcService(  822): NFC-C ON

E/TsaRegistrationImpl( 5524): Invalid state: Attempting to re-register.

E/TsaRegistrationImpl( 5524): Invalid state: Attempting to re-register.

E/DeviceCapabilityManagerImpl( 5433): OperatorName=AT&T, Operator=310410, Product=htc_jewel, Model=HTC One X not supported

E/DeviceCapabilityManagerImpl( 5433): OperatorName=AT&T, Operator=310410, Product=htc_jewel, Model=HTC One X not supported

D/skia	( 5433): notifyPluginsOnFrameLoad not postponed

Says it right here Model=HTC One X not supported

Change the build.prop to

ro.product.model=htc_jewel

ro.product.name=htc_jewel

ro.product.device=htc_jewel

Also activate for the first time over WiFi

Post where you have edited your build.prop

Edited by ogdobber

Share this post


Link to post
Share on other sites

EDIT: Got it working, thanks. My custom ROM's build.prop had the "ro.product.device=HTC One X" line in it in two different places. I changed the second one to htc_jewel and it works now. Wallet up and running, all my credit cards showing again, prepaid card w/balance back. I hope changing from endeavoru doesn't screw up other apps.

Says it right here Model=HTC One X not supported

Change the build.prop to

ro.product.model=htc_jewel

ro.product.name=htc_jewel

ro.product.device=htc_jewel

Also activate for the first time over WiFi

Post where you have edited your build.prop

Thanks for the response.

I am activating over WiFi.

I saw the One X not supported comment, but my build.prop has the changes in it.

Here's a copy of the relevant section of the build.prop file where I changed as you suggested:

#ro.product.model=EndeavorU

ro.product.brand=htc_europe

#ro.product.name=endeavoru

#ro.product.device=endeavoru

ro.product.model=htc_jewel

ro.product.name=htc_jewel

ro.product.device=htc_jewel

I've previously tried it without leaving the remarked lines in the file. Same result.

If Paul disabled the device check, why is this necessary? Strange.

Edited by DistortedLoop

Share this post


Link to post
Share on other sites

The patched APK

The APK has 3 features that I patched out. The first was a device check - the app will now work on any device. Of course you need to have NFC for it to be useful! I tested on a HTC One X successfully (as you can see in the screenshots above) but of course YMMV.

Paul- I know it's working on your HTC One X from the first post, but if you've patched out the device check, why are we having to edit our build.prop files to say ro.product.device=htc_jewel to get this to work now? What's your build.prop say?

See above post of mine where logcat shows Wallet failing at device check with "HTC One X not supported."

The carrier being AT&T didn't matter.

Anyways, despite the new hoop to jump through, once again, THANKS for making this possible.

Share this post


Link to post
Share on other sites

Paul- I know it's working on your HTC One X from the first post, but if you've patched out the device check, why are we having to edit our build.prop files to say ro.product.device=htc_jewel to get this to work now? What's your build.prop say?

See above post of mine where logcat shows Wallet failing at device check with "HTC One X not supported."

The carrier being AT&T didn't matter.

Anyways, despite the new hoop to jump through, once again, THANKS for making this possible.

That's not the device check, that's what it's passing back to Google stores.

I'll look into hard coding it though.

P

  • Upvote 1

Share this post


Link to post
Share on other sites

I think I should just give up on ever getting this to work. Either Google really doesn't want me having wallet or both my phone's SE are broken.

I've tried build.prop changed everything to htc_jewel and even changed every samsung to htc_europe

Tried running the SE wipe command buy my NfcService just crashes

Not going to work.

Share this post


Link to post
Share on other sites

I didn't think the S2 had nfc support.

The Galaxy S2 certainly has NFC capabilities. Do you mean something different when you say "NFC support"?

Share this post


Link to post
Share on other sites

Ok, well I had the galaxy s2 before getting the s3 and I had no idea it had nfc capability :)

Share this post


Link to post
Share on other sites

The Galaxy S2 certainly has NFC capabilities. Do you mean something different when you say "NFC support"?

Ok, well I had the galaxy s2 before getting the s3 and I had no idea it had nfc capability :)

I absolutely hate it when a manufacturer (and they all do it) releases **different** pieces of hardware under the same marketing name. It leads to this kind of confusion.

You're both correct, of course. The original "Galaxy SII" (ie., the i9100 released internationally, but not in the US) does not have NFC. Some (all?) of the US "Galaxy SII" variants do have NFC, some of them it works, some of them it's been disabled by the carriers.

I had an international i9100, my friend has the TMobile version, both are called Galaxy SII by the owners, but they are nothing alike, inside or out; they don't even have the same size screen.

From an XDA post on the subject, here's a breakdown of which S2 models have NFC and which don't:

i9100 = NO

i9100P = YES (it's an i9100 exactly, but with NFC. ROMs for i9100 will work, but need to be modified to show NFC settings, otherwise no NFC options will show)

i9100G = NO, it's completely different from the i9100 hardware (TI-OMAP instead of Exynos). ROMs from i9100/P don't work.

T989 (T-Mobile GS2) = YES, but it's completely different from the i9100 hardware (Snapdragon S3 instead of Exynos). ROMs from i9100/P don't work.

i777 (AT&T GS2) = YES* , stock ROMs disable it. ROMs from i9100 work because they're the same phone (it's really an i9100P because it has NFC) but you need to modify button layout or the buttons won't work in the ROM.

D710 (Sprint GS2) = NO

Edited by DistortedLoop

Share this post


Link to post
Share on other sites

Hi,

I've been through the last dozen or so pages and noticed that some are having the same issues as myself. Namely that the app is installed correctly in the system/apps folder with permissions set correctly. The odd thing is that the app was working fine and then overnight, the app is no longer in the app drawer.

Is there something that I have missed? I did not find any solution to this issue posted.

Any help would be greatly appreciated.

Thanks in advance.

Share this post


Link to post
Share on other sites

Which device mrp?

P

Both SGH-I777 and SGH-I717 do the exact same thing, but are running CM9. Stock ROMs for both don't work (777 doesn't allow NFC and 717 shows 0 secure elements on stock ROM)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

By using this site, you agree to our Terms of Use.