[Q] Android SDK support NFC Card Emulation Mode? - NFC Hacking

Hello,
I want to develop the NFC Payment App on My Sony Xperia S. I would like to know that the Android SDK support NFC Card Emulation mode or not?

thsecmaniac said:
Hello,
I want to develop the NFC Payment App on My Sony Xperia S. I would like to know that the Android SDK support NFC Card Emulation mode or not?
Click to expand...
Click to collapse
Not yet officially. Since Google Wallet use this feature it's there but limited for now

Fredro said:
Not yet officially. Since Google Wallet use this feature it's there but limited for now
Click to expand...
Click to collapse
it is on CyanogenMod 9 & 10

[email protected] said:
it is on CyanogenMod 9 & 10
Click to expand...
Click to collapse
On that one. I'm currently working my way through the OS and your code. What I'd like to answer are two questions:
1. Is this card emulation still limited to NXP's PN544, or can any phone with NFC and Android use this feature? Some of the changes conducted make me believe this is the case.
2. Do you think or know if its possible to actually add more reader detection support? Basicly what you did was adding new notification events etc. that would let the system know that a new NFC reader was detected. Would that work for other types of readers as well? (For example Mifare, Legic, iClass)? I't seems to me I don't have a deep enough understanding of the android os specifics and limitations yet, so excuse me if those questions are stupid
Edit:
Ok, for question 1 I found the answer myself. Devices are listed here. My second question still stands though :/

Related

[Q] ATT Samaung Galaxy Note

Hello,
This is my first post to EDA. I have an unlocked Galaxy Note 717 and was wondering is their any way to use the NFC feature?
I think this feature is locked on the phone.
This may be helpful.
romanelli said:
Hello,
This is my first post to EDA. I have an unlocked Galaxy Note 717 and was wondering is their any way to use the NFC feature?
I think this feature is locked on the phone.
This may be helpful.
Click to expand...
Click to collapse
Not sure if your version have or not the NFC chipset , but the simplest way is try to download any NFC related app, eventually try AirDroid as some app’s wont be installed thru the marketplay …
Hope that help
On the I777, it was possible to get NFC (minus Google Wallet) with some smali hacks in Settings and a permissions XML.
I believe the ICS leaks enable it.
This is better discussed in your device-specific forum.
Most of the roms I've tested have the option available to enable in settings. If not, you can check this thread
http://forum.xda-developers.com/showthread.php?t=1545751
Sent from my Galaxy Note using xda premium
so can you use google wallet on ATT Note now?
ernims said:
so can you use google wallet on ATT Note now?
Click to expand...
Click to collapse
No. The nfc function of Google wallet isn't supported by the note or att
Sent from my SAMSUNG-SGH-I717 using xda premium
neevz said:
No. The nfc function of Google wallet isn't supported by the note or att
Sent from my SAMSUNG-SGH-I717 using xda premium
Click to expand...
Click to collapse
well that sucks.
cause my buddy bouth ATT note.
and i was playing and i saw if you want to turn on the NFC
Tried my new Moto NFC enabled headset today, my Note says something about unknown tag. Apparently this phone doesn't support NFC pairing for headsets.
sweet!
jbird951 said:
Tried my new Moto NFC enabled headset today, my Note says something about unknown tag. Apparently this phone doesn't support NFC pairing for headsets.
sweet!
Click to expand...
Click to collapse
hi no it’s you don’t have the apps for made the action requested by your headset. NFC need app for made the action writing in the tag/products it’s like you open a word file in your PC but no M$word or text editor ….
your Galaxy note is NFC enabled
try the app’s by Sony : Liveware can work with yout HeadSet or try to know with NFC Moto have in their mobile
hope that help
[edit] the apps is My Moto Speak
And the Apps is here
please let me know if that work
Bardamuz said:
hi no it’s you don’t have the apps for made the action requested by your headset. NFC need app for made the action writing in the tag/products it’s like you open a word file in your PC but no M$word or text editor ….
your Galaxy note is NFC enabled
try the app’s by Sony : Liveware can work with yout HeadSet or try to know with NFC Moto have in their mobile
hope that help
[edit] the apps is My Moto Speak
And the Apps is here
please let me know if that work
Click to expand...
Click to collapse
I have the Moto App installed and still get the unknown tag error message. If what else I've read is true, NFC has different profiles, sort of like how some of my BT headsets don't support A2DP even though it's Bluetooth.
I will try the Sony one in a bit though, thanks.
*EDIT* just tried the sony one, didn't work either.
jbird951 said:
I have the Moto App installed and still get the unknown tag error message. If what else I've read is true, NFC has different profiles, sort of like how some of my BT headsets don't support A2DP even though it's Bluetooth.
I will try the Sony one in a bit though, thanks.
*EDIT* just tried the sony one, didn't work either.
Click to expand...
Click to collapse
interesting, what is exactly the model of your headset ….
Normally your H-Set should be AD2P …
I will try the Moto App’s and try to see what type of NFC code he his waiting ..
for the sony is normal it doesn’t work as what the app’s have to read is writing only in the sony accessories … i have made working the speaker Nokia 360 with the HOX i have and work like a charm … so i didn’t see why your H-Set Moto won’t work with your Note …
let me see that case
Bardamuz said:
interesting, what is exactly the model of your headset ….
Normally your H-Set should be AD2P …
I will try the Moto App’s and try to see what type of NFC code he his waiting ..
for the sony is normal it doesn’t work as what the app’s have to read is writing only in the sony accessories … i have made working the speaker Nokia 360 with the HOX i have and work like a charm … so i didn’t see why your H-Set Moto won’t work with your Note …
let me see that case
Click to expand...
Click to collapse
The model's the Elite Flip, maybe it doesn't work because I'm not sure if the NFC's offical, I'm running an ICS leak, and I know AT&T for whatever reason doesn't want NFC enabled in the i717. I don't have the international version if that makes any difference.
jbird951 said:
The model's the Elite Flip, maybe it doesn't work because I'm not sure if the NFC's offical, I'm running an ICS leak, and I know AT&T for whatever reason doesn't want NFC enabled in the i717. I don't have the international version if that makes any difference.
Click to expand...
Click to collapse
That don’t made any change, the biggest difference is you have the NFC enabled or not … in the other hand i have see the MotoSoftware is not that much open in AD2P like he must be. But let me figure out , how give a kick in the nuts to both ATT & Moto and made the things work like a Charm.
i will get back to you soon

[Q] ICS - Darkside UCLE2 - NFC

Will there be a option for it .. ? i understand this is a att port .. but our phones T-989 have NFC capabilities .. when and i do mean when it becomes a viable tech.. i would like to use ISIS or GWalet
my bad
camocritters said:
Will there be a option for it .. ? i understand this is a att port .. but our phones T-989 have NFC capabilities .. when and i do mean when it becomes a viable tech.. i would like to use ISIS or GWalet
Click to expand...
Click to collapse
must had been my load of beta 5 even though i was having no issues the nfc config was missing .. now i loaded beta 6 it's back... must have been me..
Yeah, nfc works already
camocritters said:
... i would like to use ISIS or GWalet
Click to expand...
Click to collapse
I second that! ISIS or Google Wallet apps available for any NFC phone yet? (courtesy of the devs on XDA of course) I suppose I could do a quick search...

Radiowar Release NFC-WAR Preview

What’s NFC-War?
It’s the previous project which mfoc-like application for Android/ BlackBerry Phone, and re-named as NFC-War. It could be installed in Android/ BlackBerry Phones with NFC function to detect Miafre Classic vulnerabilities, we call it a swiss knife of Proxmark3.
NFC-War Specs:
Brute-Force with built-in Keys to acquire specific block data
Support to save as dump file to specific directory( can’t choose KeyA/ KeyB with Preview)
Support to import dumpkeys.bin of Proxmark3 (not available in Preview)
Support to import dumpdata.bin of Proxmark3 (not available in Preview)
Unlimited Key importation
Support to write in BlankCard (can’t choose to Write KeyA/ KeyB, can’t modify original KeyA/ KeyB of BlankCard )
Data Diff (Only available in Nexus 7 )
NFC-War Change Log:
Fix several bugs while reading cards
Fix “Null history record force exit” bug
Fix bug in key number display
Fix “Feedback Force Exit” bug
NFC-War Download : http://pan.baidu.com/share/link?shareid=30139&uk=2955852660
RadioWar Website: radiowar.org
Attachment not working.
yep, attachment doesnt work.
Sounds really cool. I was hoping to find an easy way to demonstrate the flaws with the classic versions of the NFC crypto.
Sent from my Transformer using Tapatalk 2
drmxmyt said:
yep, attachment doesnt work.
Click to expand...
Click to collapse
maybe you can try this zip file
View attachment NFC_WAR(0.0.2).zip
could u add that options
h t t p : / / w w w .backtrack-linux.org/wiki/index.php/RFID_Cooking_with_Mifare_Classic
does not work on sgs3 JellyBean
When I try to do war on a Mifare Classic card on my ICS HTC One X, it force quits.
First, great work, man! I've been waiting for a tool like this for quite some time and I'll do extensive testing next week, so far everything looks good.
I can't confirm what Andy_S said I also use your App on a SGS3 i9300 rooted Stock-Firmware XXDLJ4 (Android 4.1.1) on Siyah Kernel and it runs stable.
Only Criticism is; Your App want's quite a lot of Permissions that are not necessary for Example your location on Startup, this is quickly taken care of with any Permission Manager like LBE Guard or similar but I still would be intrigued to know what the app is using the location for?
Thanks hope you will add new feature to find more keys
Great job !
unfortunately my phone have no NFC (sgs) !
Keep going
Awesome initiative! Unfortunately it does not work with my Samsung i9300 (s3), android 4.1.2, and OV-Chipkaart. It just says 'failed'. Logcat does not show anything helpful either. Will the source be published?
s0undless said:
I can't confirm what Andy_S said I also use your App on a SGS3 i9300 rooted Stock-Firmware XXDLJ4 (Android 4.1.1) on Siyah Kernel and it runs stable.
Click to expand...
Click to collapse
Well, app itself runs great, but whenever i try to touch the card, instead of action in the app i get only selector which app should be used and NFC-WAR is not amongst them... Any hints? I'm running non-root stock-firmware XXELLA 4.1.2
thank you
Is this working?
Hi all, I've got a Nexus 7 and I'm interested in getting this Radiowar application working. Has anyone got any positive or negative results they can share about this application?
geekshow said:
Hi all, I've got a Nexus 7 and I'm interested in getting this Radiowar application working. Has anyone got any positive or negative results they can share about this application?
Click to expand...
Click to collapse
This app is kinda outdated. And the features are limited. For what functionality are you looking?
I, for one, would need to find a key & unlock mifare desfire public transportation card so i could format it and use it as NDEF "container" - standard NFC tag...
Would love if they released a new version with working bruteforce
Scratchling said:
Would love if they released a new version with working bruteforce
Click to expand...
Click to collapse
Agree, , this one is too limited.
+1Bump

[Sony] Xperia Open Devices Project

Sony Mobile is committed to supporting the open developer community, and one way to show this is by publishing parts of our code as well as selected tools developed by our internal developers.
For some of the Xperia™ devices, we provide Android™ Open Source Project (AOSP) device configurations on GitHub. This means that the software will be open for you as a developer to use and contribute to. This is a way for us to support the open Android community, and it is also a tool for us to facilitate and verify contributions to AOSP.
If you want to build AOSP for your unlocked Xperia device, you find all the resources you need in the sections below.
https://developer.sony.com/develop/open-devices/
Unified 4.4 kernel sources
https://github.com/sonyxperiadev/kernel
Project git
https://github.com/sonyxperiadev/
Bug tracker
https://github.com/sonyxperiadev/bug_tracker/issues
Now you can build the latest Android with the latest 4.4 kernel
Thanks for all the hard work and keeping the resources easily accessible and up-to-date. I will be using them for sure .
Thank you for providing these resources and keeping up development for the devices they support. I notice that the dynamic resolution switch in the extended settings doesn't work on android 8.0 or 8.1. Are there any plans to add support for this back in at any point?
Sepo190 said:
Thank you for providing these resources and keeping up development for the devices they support. I notice that the dynamic resolution switch in the extended settings doesn't work on android 8.0 or 8.1. Are there any plans to add support for this back in at any point?
Click to expand...
Click to collapse
we are working on the issue
Regards
J
It says here that we can change the display to native 4K at 60hz or 1080 at 120hz with your AOSP https://androplus.org/Entry/4577/
The previous comment says it's not working in 8.0 or 8.1, but I don't see an open issue about it in your bug tracker. Was it fixed?
If it wasn't available for 8.0 and 8.1, what version is it available on?
I hope los and rr now.
gaijin1% said:
It says here that we can change the display to native 4K at 60hz or 1080 at 120hz with your AOSP https://androplus.org/Entry/4577/
The previous comment says it's not working in 8.0 or 8.1, but I don't see an open issue about it in your bug tracker. Was it fixed?
If it wasn't available for 8.0 and 8.1, what version is it available on?
Click to expand...
Click to collapse
Just to be sure, I opened an issue in the bug tracker for it.
@jerpelea, if you would like the issue to be closed, I'll happily close it.
iArvee said:
Just to be sure, I opened an issue in the bug tracker for it.
@jerpelea, if you would like the issue to be closed, I'll happily close it.
Click to expand...
Click to collapse
we are working on it
please leave it open
Vendor v11 is out
https://developer.sony.com/develop/open-devices/latest-updates
jerpelea said:
Vendor v11 is out
https://developer.sony.com/develop/open-devices/latest-updates
Click to expand...
Click to collapse
Is there a changelog or something like that? I had issues with these binaries and AOSP builds from last week. A few days later I noticed a commit that mentioned these new binaries, but after that the "Fingerprint" setting is gone, so I'm now using a build of 08-03-2018 with the V10 binaries.
To be honest, I haven't tried a factory reset nor flashing userdata.img, so when I get home I'll update the repo, build a new version and do a full reset.
@jerpelea why Sony remove the FM radio feature on all modern Xperia phones? Why??? The hardware capability is there. Why you cripple the phone on purpose?
Can you please give a logical explanation about this issue?
When will Sony give me back this feature?
And why Sony block the Displayport alt mode? Again you cripple the phone on purpose.
And why I cannot root my phone without losing DRM keys? How to backup my DRM keys??? Please tell me.
I am waiting for answers but my patience is slowly running out.
Thanks Sony for being so user friendly.
If Sony don't fix these issues soon I will never buy Sony products ever again and I sell my Xperia's, my Playstations, my Walkmans, my Sony TV's and all my other Sony products. And I tell all the people that I know to do the same.
It's your choice Sony.
lebigmac said:
@jerpelea why Sony remove the FM radio feature on all modern Xperia phones? Why??? The hardware capability is there. Why you cripple the phone on purpose?
Can you please give a logical explanation about this issue?
When will Sony give me back this feature?
And why Sony block the Displayport alt mode? Again you cripple the phone on purpose.
I am waiting but my patience is slowly fading away.
And why I cannot root my phone without losing DRM keys? How to backup my DRM keys??? Please tell me.
Thanks Sony for being so user friendly.
If Sony don't fix these issues soon I will never buy Sony products ever again and I sell my Xperia's, my Playstations, my Walkmans, my Sony TV's and all my other Sony products. And I tell all the people that I know to do the same.
It's your choice Sony.
Click to expand...
Click to collapse
Nice try but Sony will ignore it like every other vendor.
Moarten said:
Is there a changelog or something like that? I had issues with these binaries and AOSP builds from last week. A few days later I noticed a commit that mentioned these new binaries, but after that the "Fingerprint" setting is gone, so I'm now using a build of 08-03-2018 with the V10 binaries.
To be honest, I haven't tried a factory reset nor flashing userdata.img, so when I get home I'll update the repo, build a new version and do a full reset.
Click to expand...
Click to collapse
the fingerprint has been fixed and now it is working as it should (stability issues are fixed)
please update your device with the latest Sony Sw before flashing AOSP
Regards
J
Bitti09 said:
Nice try but Sony will ignore it like every other vendor.
Click to expand...
Click to collapse
No. Some manufacturers actually care about their users. Not all smartphone manufacturers cripple the phone on purpose the way Sony does it.
lebigmac said:
@jerpelea why Sony remove the FM radio feature on all modern Xperia phones? Why??? The hardware capability is there. Why you cripple the phone on purpose?
Can you please give a logical explanation about this issue?
When will Sony give me back this feature?
And why Sony block the Displayport alt mode? Again you cripple the phone on purpose.
And why I cannot root my phone without losing DRM keys? How to backup my DRM keys??? Please tell me.
I am waiting for answers but my patience is slowly running out.
Thanks Sony for being so user friendly.
If Sony don't fix these issues soon I will never buy Sony products ever again and I sell my Xperia's, my Playstations, my Walkmans, my Sony TV's and all my other Sony products. And I tell all the people that I know to do the same.
It's your choice Sony.
Click to expand...
Click to collapse
Unfortunately I can't answer those questions since I am just a developer
Regards
J
jerpelea said:
the fingerprint has been fixed and now it is working as it should (stability issues are fixed)
please update your device with the latest Sony Sw before flashing AOSP
Regards
J
Click to expand...
Click to collapse
Great, thanks. I've returned to the stock roms now, but will try AOSP again soon.
jerpelea... Remeber well from the early FXP Times back on My SONY Devices. Can't wait to try out XODP after Years without SONY Devices. Thanks a lot for still contributing that much to the Xperias! True Hero!
i think you should support dual sim cards,i flash aosp for g8142 but it cant use 2 sim cards
loukky said:
i think you should support dual sim cards,i flash aosp for g8142 but it cant use 2 sim cards
Click to expand...
Click to collapse
I am using a XA2 Dual sim with Android 8.1 and it works fine
Regards
Alin

General Sailfish OS for Xperia 10 III

Xperia 10 III is now officially supported by Sailfish OS: https://blog.jolla.com/xperia-10-iii/
From Wikipedia:
Sailfish OS is a Linux-based operating system based on free software, and open source projects such as Mer as well as including a closed source UI. The project is being developed by the Finnish company Jolla.
Click to expand...
Click to collapse
Anyone in here tried it yet?
I've bought my license and am trying to get this going - I've been unable to use the fastboot command to unlock the bootloader, which I assumed was due to the Android version being 12, and I'm now struggling to downgrade this to 11 as it seems all the tools for doing so are Windows only.
Has anyone done this process on Linux successfully? I understand some people on the Sailfish forums have managed to get it to flash over an Android 12 base but I can't even get to that stage because of the OEM unlock command failing.
Really looking forward to going back to Sailfish after a bit of a hiatus though!
Piecer said:
I've bought my license and am trying to get this going - I've been unable to use the fastboot command to unlock the bootloader, which I assumed was due to the Android version being 12, and I'm now struggling to downgrade this to 11 as it seems all the tools for doing so are Windows only.
Has anyone done this process on Linux successfully? I understand some people on the Sailfish forums have managed to get it to flash over an Android 12 base but I can't even get to that stage because of the OEM unlock command failing.
Really looking forward to going back to Sailfish after a bit of a hiatus though!
Click to expand...
Click to collapse
According to its readme file, Newflasher runs on Linux too: https://github.com/munjeni/newflasher
So I think it should be possible to flash an Android 11-based firmware from here: https://forum.xda-developers.com/t/stock-firmware-backups.4382229/ using this tool. But I never used it (neither on Windows nor on Linux) so I can't say for sure whether that works.
As for the issue with unlocking your bootloader, at the risk of stating the obvious, did you enable "OEM unlocking" in developer options?
As for the issue with unlocking your bootloader, at the risk of stating the obvious, did you enable "OEM unlocking" in developer options?
Click to expand...
Click to collapse
Ha! Yes I did do all the required steps. I found an Android 11-based build on the Sailfish forums which worked, after doing it twice with Newflasher. Once this was done the OEM unlock command did its thing without a hiccup. Sailfish OS is now running nicely on the 10 III - hopefully Jolla are able to provide some more complete instructions for those who have managed to upgrade themselves into a documentation loop!
I've been using the X10III with Sailfish for several days now, and the experience is quite smooth. There is no green tint visible, but the "color space" gets really smashed and mangled in low light + low brightness situations... I think it's more or less the same bug. The best way to describe is that the dark areas of the screen are rendered with 8-bit color palette and way too high brightness. I created a bug report for it over at Sailfish OS Forum for those who wish to keep an eye on that.
There are three known issues: Camera API doesn't support the three back cameras (Camera2 API does support it, so it's very fixable), the indicator led is way too green (driver issue), and issues with noise cancellation during phone calls (seems to be fixed in git).
Despite the above, SFOS on X10III a hugely net positive! VoLTE works now - finally - so spring 2023 can now arrive (killing 3G here in Finland). 5G support is not there (yet?), which is a tiny bit unfortunate.
I didn't realize that the AOSP firmware is so far away from Android firmware... I somehow assumed before that they were the same... Oh well, live and learn.
direc85 said:
Despite the above, SFOS on X10III a hugely net positive! VoLTE works now - finally - so spring 2023 can now arrive (killing 3G here in Finland). 5G support is not there (yet?), which is a tiny bit unfortunate.
I didn't realize that the AOSP firmware is so far away from Android firmware... I somehow assumed before that they were the same... Oh well, live and learn.
Click to expand...
Click to collapse
I have a hard time understanding why it is necessary to repair a thing that is not broken?
VoLTE calls? Why? Today, almost every phone subscription includes if not all free, then at least thousands of minutes of free calls. In addition, there are available all sorts of apps that you can use for voice calling.
And in general, calling is the least used feature of the phone lately.
ksuuk said:
I have a hard time understanding why it is necessary to repair a thing that is not broken?
Click to expand...
Click to collapse
What exactly are you referring to? 3G, the OS in the device, or something else..?
ksuuk said:
VoLTE calls? Why? Today, almost every phone subscription includes if not all free, then at least thousands of minutes of free calls. In addition, there are available all sorts of apps that you can use for voice calling.
Click to expand...
Click to collapse
Why shouldn't I use what I already paid for?
But yes, phone calls are getting rarer; for me it's something between daily and weekly. But still, it's the official method to be reached, supported by pretty much every device, so why not just use it instead of apps.
Also, if I wanted to use only apps to talk with my friends, I'd have five chat apps installed, some of them analyzing me, and all of them draining my battery. No thanks...
But let's get back to topic. Does anyone know how to solve the color banding issue on AOSP?
direc85 said:
I didn't realize that the AOSP firmware is so far away from Android firmware... I somehow assumed before that they were the same... Oh well, live and learn.
Click to expand...
Click to collapse
Tell me, are there any battery charging settings in this OS? Android in Xperia 10 III has settings to limit charging to 80, 90% a very nice option.
Aranornen said:
Tell me, are there any battery charging settings in this OS? Android in Xperia 10 III has settings to limit charging to 80, 90% a very nice option.
Click to expand...
Click to collapse
I can't say anything about features built into the OS (as I've never used it), but I was able to find two 3rd party apps which let you limit the maximum battery charge level:
Battery Buddy | OpenRepos.net — Community Repository System
openrepos.net
takimata / harbour-battery-charging-control · GitLab
SailfishOS application which allows to stop battery charging at user-defined levels.
gitlab.com
Piecer said:
I've bought my license and am trying to get this going - I've been unable to use the fastboot command to unlock the bootloader, which I assumed was due to the Android version being 12, and I'm now struggling to downgrade this to 11 as it seems all the tools for doing so are Windows only.
Has anyone done this process on Linux successfully? I understand some people on the Sailfish forums have managed to get it to flash over an Android 12 base but I can't even get to that stage because of the OEM unlock command failing.
Really looking forward to going back to Sailfish after a bit of a hiatus though!
Click to expand...
Click to collapse
hi can you help me o i have an Xperia 5 phone running sailfish os same as your Xperia 10 mark 3 i cant buy license to run apk app you can extract aliendalvik file can you give it to me, i will keep it from sharing to anyone, because it is the source of life jolla , i will transfer you a small amount of money, i come to sailfish os full of passion but not enough money , hope you can help, thank you very much

Categories

Resources