Here's my problem: I want to be able to primitively emulate some function of a Desfire EV1 card by playing back the APDUs it receives/sends to a card reader. The problem is I don't know what kind of APDUs the reader is sending out.
I can't use KitKat because KK HCE requires the app to specify the SELECT AID APDU that the reader sends out, and I have no idea what that is or whether the reader is even sending a SELECT AID out.
I figured I could use Eddie Lee's NFCProxy on a modified build of CM9 to analyze the card/reader interactions, but every time I put my phone up to the reader, it says "invalid card."
My guess is that the reader is picking up some other NFC signal from the phone, possibly Android Beam-related. In fact, if I try to run a card emulation app on 1 phone and have another phone try to read it, both of the phones start buzzing. Even though I have Android Beam turned off, the OS's NFC scanning cycle is set to detect other Android peer-to-peer devices regardless.
Modifying the app's manifest for android.nfc.disable_beam_default doesn't disable it either.
Does anybody know what I have to modify in the CM source code to disable peer-to-peer NFC completely? Then I could build a version of CM with proper emulation. OR, does anybody have any other ideas?
I've been tearing my hair out with this one lol
Related
Hey,
I have 2 questions, i have done some googleing on both topics, and ill explain my results and confusion below.
But i was wondering:
Is it possible to have a application to run as part of the operating system, i use a application called CallCalander that runs, but it is still displayed in the task manager, and closed when i run Orbis Close Applications application, but i would like it to be a part of the system, like on windows where you have services, or something such as.
I tried to google this, but i got random results, and results aimed at windows OS, not the mobile version.
My second question is, there has been alot of information about this, but most post's and information i have found says it is not possible, or only possibly using WMWifiRouter, But i was hoping to use my phone as a Wireless card, and if possible when wireless is not available to use the 3G connection instead. Though i could use the Internet Sharing application built in to WM6.1 for the GPRS, but i was hoping that there was a automattic solution, that would switch when wifi is not available.
Also one of my laptops has bluetooth (And a wireless card, but if i can get a auto switch to 3g if wifi is not available, i dont see ill be using that card often), the other does not, so i deffonatly need it to be made available via USB, but if it also supported bluetooth that would be a excellent advantage.
Thank you for any help
Regards
Chris
Ok ignore my question about WiFi for future refrence WMWifiRouter works for using your device as a USB Dongle, as well as a host of other features, deffonatly recommend checking it out!!!
Though not had much chance to play with it, but still it works excellent with a few issues for when i get a phone call, or use the phone's data connection.
As for running an application as a service, still have no idea on that.
Hi all,
I dabble in security, so my reason for taking up Android programming was mainly to see what kind of information I could pull out of a Android-based smartphone.
Getting information like Device ID, SIM no., preferred networks and such, turned out to be fairly simple, but when I got to trying to read the settings of the phone, I hit a roadblock. For the life of me, I can not seem to figure out where to get those settings from.
What I want to get from the phone, is stuff like this:
Is the lock-pattern/PIN enabled?
Is the SIM PIN enabled?
Is GPS on? (this was quite simple for bluetooth, but apparently not so for GPS)
Does the phone allow installation of 3rd party software.
...and settings of that nature. I would think this was a simple matter of getting some kind of "settings" object, and then read the various variables, but so far, this object eludes me.
Any and all ideas are welcome.
Best regards
So under settings I spot that I can enable NFC although when I try to install Google Wallet, it installs and upon opening I get told the app isn't approved for my country/carrier. I'm curious if there's any way to get Google Wallet to work (mind you, I have it installed but can't open. All solutions I've seen have been to get it installed). If Google Wallet doesn't work then what good is the NFC in the phone? What other uses can I find for it?
You can buy tags online, program them, and stick them all over the place. You can use an app like NFC Task Launcher to program them and assign tasks to different tags. For example, if you put one on your desk at top you can tap your phone to it and it will enable wifi, bluetooth, and turn your ringer on. If you put one in your car you can have it set the phone to silent, turn off wifi, etc etc
stnguyen09 said:
You can buy tags online, program them, and stick them all over the place. You can use an app like NFC Task Launcher to program them and assign tasks to different tags. For example, if you put one on your desk at top you can tap your phone to it and it will enable wifi, bluetooth, and turn your ringer on. If you put one in your car you can have it set the phone to silent, turn off wifi, etc etc
Click to expand...
Click to collapse
Interesting. Thanks for the info. Kinda boring I can't use the Google Wallet though! Oh well. Now to try figuring why AT&T won't let me install a visual voicemail app.
Also (although I haven't tested,) Android Beam should work. I don't know too much about it, but you should be able to tap your phone to someone else's NFC-enabled Android phone and send them files.
I have no idea if this actually works though.
only Sprint has access to Google Wallet right now. AT&T, TMo and VZW are launching ISIS which is a competing service with a lot more options than one bank and one carrier...
craig0r said:
Also (although I haven't tested,) Android Beam should work. I don't know too much about it, but you should be able to tap your phone to someone else's NFC-enabled Android phone and send them files.
I have no idea if this actually works though.
Click to expand...
Click to collapse
Yep, Android Beam works as well. Me and my friend with his Verizon Gnex did it and it worked beautifully.
Hey, in australia we can get "Smart Riders" which are basically just credit card sized cards that we can use to tag on/off of public transport, as i prefer often don't take my wallet with me i was wondering if there is a way to save the NFC signal from the card onto my Nexus 5 (which has NFC) and then later on use my phone to tag on/off instead of the card
tl;dr is there a android app that can record and then output the same NFC signal
jezus101 said:
Hey, in australia we can get "Smart Riders" which are basically just credit card sized cards that we can use to tag on/off of public transport, as i prefer often don't take my wallet with me i was wondering if there is a way to save the NFC signal from the card onto my Nexus 5 (which has NFC) and then later on use my phone to tag on/off instead of the card
tl;dr is there a android app that can record and then output the same NFC signal
Click to expand...
Click to collapse
Not sure...but it sounds similar to what is described in this thread: http://forum.xda-developers.com/showthread.php?t=2708480 only for the subway in Chicago...
Hello,
i detected by the linux-tool "iwconfig" that the mac-address of the hotspot is changing on every new hotspot activation. There is also a bug-report for it:
https://code.google.com/p/android/issues/detail?id=57452
In the comments is stated that doomlord fixed that problem. Is there any kernel in here for the nexus 5 from doomlord or others, which have this problem solved?
Very annoying with WICD forgetting the password and Windows always creates a new network.
Thanks for help.
Hi,
that's a serious problem for me too.
I would like to use the online services in my Mazda MZD Connect System.
Unforunately the system identifies an Hotspot by its MAC Address.
So whenever i switch the Hotspot off and on again a new entry is created in the car entertain system and i have to enter the password again.
This renders the function nearly unusable.
As i read yesterday, VW drivers have the same issue.
As there is only one line in the source randomizing the last three bytes of the WiFi Hotspot MAC, it would be enough to simply comment it out.
But building a complete new ROM on my own is far beyond my capabilitys yet.
Currently all Nexus phones are affected as well as CM 13.
ElementalX Kernel didn't help either.
HTC doesn't randomize the MAC nor does en iPhone.
But i won't change my phone just for a Car Entertain System.
Another option would be a little Mobile-WiFi standalone Hotspot with an additional SIM Card.
But this would mean extra costs each month which i would certainly like to avoid.
So here my questions:
Is there any Kernel to switch off MAC randomization?
Or any tweak to freeze one MAC?
Or a way i could start a script on switching the Hotspot on to override the MAC?
Or an completely different approach?
Any help is appreciated.