Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Android-based logger and parser utility #159

Closed
maxieds opened this issue Jan 2, 2018 · 28 comments
Closed

New Android-based logger and parser utility #159

maxieds opened this issue Jan 2, 2018 · 28 comments

Comments

@maxieds
Copy link
Contributor

maxieds commented Jan 2, 2018

I wasn't sure where else to post this, so I figure this is the best recommended place for it. I have written a new utility for my Android phone which is an interactive NFC debugging tool using the LIVE logging mode for the Rev. g boards. It is available on the Play Store (unreleased) here, and the working source is available on my GitHub page here. I'm still actively working on developing the project and could use some testers for it. Also, I'd like to test it out on other Chameleon revisions and boards (I bought an official one on Amazon some weeks back). Is there anyway I can get my hands on some older hardware to get support for it working / verified with the app? Any suggestions for future useful features that I haven't thought of are also welcome. Thanks.

Maxie

@ghost
Copy link

ghost commented Jan 2, 2018

@maxieds sounds great.
If I have some time I’ll take a look to it. I can contribute with testing with a Rev. G
Cheers

@maxieds
Copy link
Contributor Author

maxieds commented Jan 2, 2018

Used one of these USB cables to get the Rev. g board hooked up to my phone. It would be nice if the Chameleon boards were smaller like some of the compact wifi usb adapters. You still need to lug around a lot of parts to use the interactive debugging, but I guess it's better than being tethered to a laptop and live console to get NFC debugging data.

BTW, roughly 1/4 of the buttons on the Tools Menu tab are status markers so that if you move around testing different door readers you have ways to denote this in the resulting log files. The colors are for highlighting and most of the rest are commands or configure-select options built-in to the Chameleon command line.

@ghost
Copy link

ghost commented Jan 2, 2018

Nice. Normally I use for a connection with smartphones a normal OTG adapter and serial usb terminal app. Your app isn’t available to download from play store in Germany. I’ll load it via proxy and then test it on my development phones.
Greetings

@maxieds
Copy link
Contributor Author

maxieds commented Jan 2, 2018

I submitted a new revision of the app to the Play Store. It includes improved navigation in Tools Menu and writing features for writing the captured live logs to file. The binary file format is identical (up to timestamp discrepancies) the native internal logs produced by LOGDOWNLOAD, and so it can be parsed with the stock Python scripts shipped with this main repo.

I also added store support for Germany and the UK. These have to be enabled one-by-one, so those two were the most obvious to include after your suggestion.

Enjoy!

@maxieds
Copy link
Contributor Author

maxieds commented Jan 2, 2018

One other question I have about the Chameleon device is whether it is possible to setup a configuration that is based on log replay. So suppose I do not have the full specs for a given card, but I know several of it's deterministic responses to queries from a reader. Can I setup a device that will respond with the known data from my logs at just these queries?

@maxieds
Copy link
Contributor Author

maxieds commented Jan 4, 2018

I added several new features including more command / tools buttons and tentative recognition of APDU commands in the data from the logs. A signed APK for the app is now the Play Store.

I could still use more testers and users to give me suggestions on features!

Recent Signed APK: ChameleonMiniLiveDebugger-0.0.5-v1

Screenshots:

@geo-rg
Copy link
Collaborator

geo-rg commented Jan 8, 2018

Just added it to the External Contributions page. I did not have the time to test it, but the screen shots look awesome, thanks!

@AndreasBujok
Copy link

Yes, but my Samsung S4 is to old told me the Marketplace :-(

@maxieds
Copy link
Contributor Author

maxieds commented Jan 8, 2018 via email

@maxieds
Copy link
Contributor Author

maxieds commented Jan 8, 2018 via email

@maxieds
Copy link
Contributor Author

maxieds commented Jan 8, 2018 via email

@maxieds
Copy link
Contributor Author

maxieds commented Jan 9, 2018

This thread officially moved context to the main app repo issues site

FYI: Testing comments and feature requests can now be made on the main app project issues page at https://github.com/maxieds/ChameleonMiniLiveDebugger/issues. #2

Other Notes:
I created the app because I needed something that would do this in a little more user-friendly display way than communicating with the Chameleon Mini over the default serial terminal method outlined in the wiki docs. If you use it, like it, run into issues, or think is needs other features to be more useful to your usage and setup,##PLEASE COMMENT AND LET ME KNOW! ##

Developer Requests:
💰 Also, the app is freeware on the playstore, so instead of adding a PayPal account for good Samaritan user donations, I will just point out that I would like to have another couple of these devices to play with and loan to friends for another private app I'm developing. If anyone finds this app useful and has the resources to donate an extra Chameleon or two (any revision should do the trick), please contact me at [email protected]. My math university webpage should also be linked off my GitHub profile, so you can contact me that way as well. The $155 Amazon price tag (:dollar::dollar::dollar:!) for duplicate Chameleon's is a little much for my budget right now. The free source code, however, is a labor of love and will continue to be supported to the best of my ability.:sparkling_heart:

〰️I also would appreciate it if you would 🌟 star the source repo here 🌟 if you use the app or download it from the play store.〰️

@maxieds
Copy link
Contributor Author

maxieds commented Jan 9, 2018

@AndreasBujok (RE: Your Samsung S4 Phone)

I found the following links which should help you upgrade the software on your older droid to something that will be usable with the app. I'm currently trying to get the feature set in the app paired down so it will work with Android 4.4 (KitKat), which I believe anyway is the first release where mainstream NFC card emulation support was introduced. I'm planning on rolling out a new Play Store release tonight, so you can check back then to see if the app will now work with your device when I'm done with my main round of edits for today. Enjoy!

Are you able to install from one of the rollouts in the countries I have added so far? Again, I've mentioned this before, but it's really a royal PITA that Google segregates it's play store targeting so much. They should just have an option to roll it out to everyone but the banned countries (I'm located in the US) on the developer's source export list and be done with it. * * sigh * *

Update:
It looks like the app can comfortably support API version 21, so if you can get the software on your phone updated to support that you should be golden.

@maxieds
Copy link
Contributor Author

maxieds commented Jan 10, 2018

A new version (probably the last one for a while) is available. I tried to make it more portable to more devices. Includes bug fixes and a number of new features. Please check it out and enjoy!

@maxieds
Copy link
Contributor Author

maxieds commented Jan 13, 2018

I have posted a new release here and it is now on play store here (v0.1.4). Includes many new features, improvements, and bug and stability fixes. Also, XModem downloads of logs and card data to sdcard files are now supported and functional. If you haven't tried it out yet, please do so! I think it's a much easier way to access and configure the Chameleon mini than with the standard serial console. Improvements and feature requests can be given here. -- Maxie

@maxieds
Copy link
Contributor Author

maxieds commented Jan 15, 2018

Wiki Link Request?

@geo-rg, @gtpy:
Is there any way I could get a link to the app on the Getting Started page? I appreciate the link on the External Contributions, but if you have the USB cable adapter needed to hook the standard cable that ships with the Chameleon Mini to your phone, I really feel that this app is so much easier to use for the first time than trying to use it with a PC-based serial console. Not sure how picky you all are about referring external contributions on the main page... 🙏 I have put a lot of effort into trying to make the app usable for Chameleon newbies like myself.

@ghost
Copy link

ghost commented Jan 15, 2018

@maxieds i think it is a good idea to link your really nice work to the getting started page.
I’ll checkout the new version today or the next few days.
@geo-rg what are you thinking about this?

@maxieds
Copy link
Contributor Author

maxieds commented Jan 15, 2018 via email

@maxieds
Copy link
Contributor Author

maxieds commented Jan 15, 2018

Update: The new version (v0.2.4) is now available on the Play Store and on the app repo (slightly updated v0.2.5). Enjoy!

@ghost
Copy link

ghost commented Jan 17, 2018

@geo-rg Is it possible to add a link to the doxygen “getting started” to refer to the android app as a mobile solution?
The actual version 0.2.6 is running stable and really simple to use. I already tested the functionalities.

@emsec
Copy link
Collaborator

emsec commented Jan 17, 2018

@gtpy I will do this as soon as possible, most likely today! Thanks for all your efforts @maxieds @gtpy

@ghost
Copy link

ghost commented Jan 17, 2018 via email

@maxieds
Copy link
Contributor Author

maxieds commented Jan 17, 2018

The latest version of the app is v0.2.8. There are also now matching themes / color profiles on the repo site for download (screenshots here). The latest Play Store APK will remain in the default green color scheme ("main" flavor). If you use the app and like it, please rate the app on Play Store. I would like to grow the user base somewhat now that the project is stable.

@geo-rg
Copy link
Collaborator

geo-rg commented Jan 17, 2018

@maxieds @gtpy Just added it.

@ghost
Copy link

ghost commented Jan 17, 2018

@geo-rg thanks a lot.

@maxieds
Copy link
Contributor Author

maxieds commented Jan 20, 2018

@geo-rg, @gtpy: Thanks for the links! Also, thanks to @doegox for helping me test it and the suggestions for re-organizing the original Tools Menu.

@maxieds maxieds closed this as completed Jan 20, 2018
@maxieds maxieds reopened this Jan 20, 2018
@maxieds
Copy link
Contributor Author

maxieds commented Jan 21, 2018

"Paid" flavor on Play Store now wraps up the themed UI features:

I decided to create a "paid" flavor of the application for those who want to support the project, but do not have the resources to contribute pricey hardware to the development process ($5 for themes). An example "Redmond" (someone besides me should be laughing at this, 💵 💶) theme is featured in the following screenshots for reference:

I might also add some testing Desfire card implementations in res/raw to the "paid" flavor at some point to incentivize more people who actually use the application to support the development process. Free license, not endless developer resources to contribute kind of thing. At any rate, enjoy the mock theme. The same new release (v0.2.9-free) is available here for testing.

@geo-rg
Copy link
Collaborator

geo-rg commented Sep 12, 2018

Since you have your own repository and the app is mentioned on the external contributions page, I will close this issue. However, thanks a lot for your contribution!

@geo-rg geo-rg closed this as completed Sep 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants