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

updated amiitool, replaced openssl, added wolf link editor #3

Open
wants to merge 134 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
134 commits
Select commit Hold shift + click to select a range
106c09b
Rejected commit: Default
Mar 13, 2017
192dcb1
added: Wolf Link Editor by @possi
Mar 13, 2017
d3652e1
added: Wolf Link Editor by @possi
Mar 13, 2017
3f0b964
added: Wolf Link Editor by @possi
Mar 13, 2017
73c8640
added: Wolf Link Editor by @possi
Mar 13, 2017
46b7162
added: Wolf Link Editor by @possi
Mar 13, 2017
e490b53
added: Wolf Link Editor by @possi
Mar 13, 2017
a3d8420
added: Wolf Link Editor by @possi
Mar 13, 2017
a440d3b
database updated with three unreleased Zelda 30th anniversary titles
Mar 13, 2017
749f6f6
added: Wolf Link Editor by @possi
Mar 13, 2017
6112f5c
added: Wolf Link editor by @possi
Mar 13, 2017
507cac4
Samsung icon crash fix by: @Kidel
Mar 14, 2017
aec73c6
Updated amiitool. Replaced OpenSSL by mbedtls
javimadgit Apr 8, 2017
89d27a4
Merge pull request #1 from javimadgit/master
Kidel Apr 9, 2017
d4cffa7
Added a readme
1RedOne May 30, 2017
8d07585
Merge branch 'Kidel-master'
HiddenRambler Jun 16, 2017
d9180d5
Re-enable SSB editor.
HiddenRambler Jun 16, 2017
f532778
Update version to 2.4.0
HiddenRambler Jun 16, 2017
a145b00
Update README.md
Bombastisch Jun 17, 2017
1e7f4eb
Revert "Fix crash on android." (see issue 52)
HiddenRambler Jun 29, 2017
149568d
Force portrait mode for the MainActivity and Scan activity to prevent…
HiddenRambler Jun 29, 2017
1a963f2
Fix SSB editor crash
HiddenRambler Jun 29, 2017
0a7ec4b
Set version to 2.4.1
HiddenRambler Jun 29, 2017
6534593
Hopefully fixes scanning for pre and post Android Lollipop
HiddenRambler Jul 14, 2017
e16611e
Set version to 2.4.3
HiddenRambler Jul 14, 2017
cbfe94f
Logcat generation option.
HiddenRambler Jul 16, 2017
8bbad97
Merge pull request #1 from Bombastisch/patch-1
1RedOne Jul 20, 2017
44526ec
Merge branch 'master' of https://github.com/1RedOne/TagMo
HiddenRambler Jul 21, 2017
261cecc
Fix credits.
HiddenRambler Jul 21, 2017
8a99e0b
Fixed the "Instructions" headline
Bombastisch Jul 23, 2017
5f08277
Rewrite Amiibo Data lookup. Data from https://github.com/N3evin/Amiib…
North101 Jul 24, 2017
81f9173
Add QR Code support (requires zxing barcode scanner)
North101 Jul 28, 2017
0c69212
Add that finds all the amiibos in the tagmo directory displays them i…
North101 Jul 24, 2017
d9772ab
Merge branch 'master' into PR61
HiddenRambler Jul 31, 2017
d54ebf7
Merge branch 'patch-1' of git://github.com/Bombastisch/TagMo
HiddenRambler Jul 31, 2017
d0cb6c1
Credit where credit's due
HiddenRambler Jul 31, 2017
8e031ab
Forgot N3evin (ノ゚0゚)ノ
HiddenRambler Jul 31, 2017
09fac8b
Increase version to 2.5
HiddenRambler Jul 31, 2017
e5e3fcd
Lots of cleanups and bug fixes.
North101 Jul 31, 2017
2ecc9ae
Merge pull request #63 from North101/cleanups
North101 Jul 31, 2017
66be6e4
Show list of items when clicking database stats
North101 Aug 1, 2017
e88c3a8
Merge pull request #65 from North101/cleanups
North101 Aug 1, 2017
463fa02
Update to latest gradle, sdk and deps
North101 Aug 2, 2017
9d82e8e
Change QR Encodes to base64
North101 Aug 2, 2017
3d0b911
Fix saving state of AmiiboFiles
North101 Aug 2, 2017
a838586
Rename all instances of “database” to “info” for clarity
North101 Aug 2, 2017
c397dd2
Revert "Change QR Encodes to base64"
North101 Aug 3, 2017
99dd972
Remove QR lib as we’re not actually using it
North101 Aug 4, 2017
b3da4a7
Revert "Revert "Change QR Encodes to base64""
HiddenRambler Aug 4, 2017
f0ad4bc
QR Code scanning: support scanning ISO-8859-1 charset based (legacy) …
HiddenRambler Aug 4, 2017
b4b4a87
Consolidate key/nfc warnings to one label.
HiddenRambler Aug 4, 2017
1ce5a58
Fix error label layout.
HiddenRambler Aug 4, 2017
2183f78
Rearrange main layout
North101 Aug 4, 2017
3d974a7
Update hex viewer
North101 Aug 5, 2017
24f85dc
Speed up HexViewer and fix monospace font for L+
North101 Aug 5, 2017
a723a88
Slight optimization and code clean up
North101 Aug 5, 2017
85e8c37
Layout fix - write tag raw button was left in the layout. IDE derp?
HiddenRambler Aug 5, 2017
102104d
Revert "Layout fix - write tag raw button was left in the layout. IDE…
HiddenRambler Aug 5, 2017
c1af4da
Merge branch 'master' of https://github.com/HiddenRambler/TagMo
HiddenRambler Aug 5, 2017
553b38a
Prompt to enable NFC within NFC Activity.
HiddenRambler Aug 5, 2017
050108f
Don't enable scan button if nfc is disabled.
HiddenRambler Aug 5, 2017
4e1571b
Recalculate the data checksum when restoring data across tags.
HiddenRambler Aug 5, 2017
d3bf6e3
Better error message when trying to write to locked tag.
HiddenRambler Aug 5, 2017
1a60500
Reduce logcat noise.
HiddenRambler Aug 5, 2017
6197a84
Perform NTAG215 validation.
HiddenRambler Aug 5, 2017
84d615b
Colourise hex viewer.
HiddenRambler Aug 5, 2017
133278c
Fix background and text style not being set for header row
North101 Aug 5, 2017
0acf444
Precompute hex items where possible
North101 Aug 5, 2017
242acac
Fix row count calc
North101 Aug 5, 2017
cb7004a
Better hex row count
North101 Aug 6, 2017
28e1fbd
Increase version to 2.5.1
HiddenRambler Aug 7, 2017
07421d9
Fix markdown escaping in readme.
HiddenRambler Aug 7, 2017
6b892ca
Option to disable tag validation due to hardware limitations on older…
HiddenRambler Aug 10, 2017
5d2d1f3
Move settings to a preferencefragmentcompat
North101 Aug 4, 2017
465e83d
Add summary to nfc tag validation checkbox
North101 Aug 11, 2017
0be3506
Add more info to settings
North101 Aug 11, 2017
84e6e7b
Merge pull request #71 from HiddenRamblings/sync_with_amiiboapi
North101 Aug 11, 2017
e071bf2
Fix amiibo info text color
North101 Aug 11, 2017
3d178f6
Fix blank tags showing as mario
North101 Aug 11, 2017
a997ec1
Use snackbar for errors
North101 Aug 12, 2017
610facd
Increase version to 2.5.2
HiddenRambler Aug 15, 2017
962b760
Change amiibo tag layout to use cardview
North101 Aug 13, 2017
fc6f5c1
Merge pull request #77 from HiddenRamblings/browser_cardview
North101 Aug 19, 2017
1f851f6
Add image preview on browser and selected amiibo using amiiboapi.com …
H3llK33p3r Aug 22, 2017
55c49d1
WIP
North101 Aug 28, 2017
b18618f
Fix Edit Tag Data and optimise amiibo views
North101 Aug 28, 2017
8449480
Merge pull request #83 from HiddenRamblings/polish_amiibo_image_view
North101 Aug 28, 2017
8052e4d
Optimize amiibo view more
North101 Aug 28, 2017
e5350ad
Change game series, character, amiibo series and amiibo type ids to l…
North101 Aug 28, 2017
e599826
Fix amiibo image url
North101 Aug 28, 2017
201c478
ssb button now shows up only if ssb amiibo is loaded
Bombastisch Aug 29, 2017
7667b5f
Changed the way SSB and TP is detected
Bombastisch Aug 30, 2017
2614a04
Changed the way how SSB and TP are detected
Bombastisch Aug 30, 2017
492da63
Delete EditorSSB.java
Bombastisch Aug 30, 2017
04bf171
Delete EditorTP.java
Bombastisch Aug 30, 2017
f465373
Delete MainActivity.java
Bombastisch Aug 30, 2017
6c9fa1e
The same changes like before but it might work now
Bombastisch Aug 30, 2017
9c49735
Add ImageActivity
North101 Sep 1, 2017
efc142c
Merge pull request #85 from HiddenRamblings/polish_amiibo_image_view
North101 Sep 2, 2017
afdc176
Update save icon
North101 Sep 2, 2017
67a73c2
Fix crash with SimpleView
North101 Sep 2, 2017
f565e3d
SSB Editor should only show for SSB amiibo.
North101 Sep 1, 2017
e125b6a
Merge pull request #86 from HiddenRamblings/show_ssb_editor_only_when…
North101 Sep 2, 2017
f3c6f72
Remove unused variable
North101 Sep 2, 2017
a3acddf
Add option to only load images when on wifi
North101 Sep 2, 2017
8cbc947
Save should be enabled without nfc.
North101 Sep 2, 2017
15986e1
Add support for writing to PowerTags. #30
HiddenRambler Sep 11, 2017
58f012c
Credits update.
HiddenRambler Sep 11, 2017
67a0b73
Update version to 2.6
HiddenRambler Sep 11, 2017
9d5d162
Add folder browser to BrowserActivity
North101 Sep 4, 2017
36ae932
Merge pull request #88 from HiddenRamblings/folder_navigation
North101 Sep 12, 2017
e5ce047
Support powertags which were written without enabling powertag support.
HiddenRambler Sep 12, 2017
4a8042d
Merge branch 'master' of https://github.com/HiddenRamblings/TagMo
HiddenRambler Sep 12, 2017
846fcf0
Minor refactor of TagWriter
HiddenRambler Sep 12, 2017
bdf0eb3
TagWriter: Format code
HiddenRambler Sep 12, 2017
d151e05
Update version to 2.6.1
HiddenRambler Sep 12, 2017
3ff3eb4
Travis build file
HiddenRambler Sep 13, 2017
3498869
Fix travis permissions.
HiddenRambler Sep 13, 2017
be7f727
Fix yml
HiddenRambler Sep 13, 2017
0ac8db9
ndk configuration for travis.
HiddenRambler Sep 13, 2017
dc4bbd4
Travis CI-WIP
HiddenRambler Sep 13, 2017
b2cbd2c
Travis CI-WIP
HiddenRambler Sep 13, 2017
2bea512
Travis-CI-WIP
HiddenRambler Sep 13, 2017
13635b8
Travis-CI-WIP
HiddenRambler Sep 13, 2017
a9fe01a
Travis-CI WIP
HiddenRambler Sep 13, 2017
1e2e9fd
Allow finding amiibos non-recursively. Show emptyText when no amiibos…
North101 Sep 15, 2017
ce743f4
Merge pull request #91 from HiddenRamblings/folder_navigation
North101 Sep 15, 2017
ff3227f
Allowing cancelling background tasks.
North101 Sep 21, 2017
d9a5b5d
Merge pull request #92 from HiddenRamblings/fix-multiple-background-t…
North101 Sep 21, 2017
8f0f003
Fix crash when loading browser activity
North101 Sep 21, 2017
49a6ae7
Update amiibo.json
North101 Sep 21, 2017
01edf4b
Fixed "done" showing up unnecessarily
Bombastisch Oct 1, 2017
281ad75
Merge pull request #1 from Bombastisch/Bombastisch-patch-1
Bombastisch Oct 1, 2017
45ebf0f
Merge branch 'master' into master
Bombastisch Oct 1, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
language: android
jdk: oraclejdk8
android:
components:
# Uncomment the lines below if you want to
# use the latest revision of Android SDK Tools
- tools
- platform-tools
- tools
#- android-ndk-r15c

# The BuildTools version used by your project
- build-tools-26.0.1

# The SDK version used to compile your project
- android-26

# Additional components
- extra-google-m2repository
- extra-android-m2repository
#before_script:

before_install:
- chmod +x gradlew
- pushd $TRAVIS_BUILD_DIR/..
- wget https://dl.google.com/android/repository/android-ndk-r15c-linux-x86_64.zip -O ndk.zip
- chmod a+x ndk.zip
- unzip ndk.zip > /dev/null
- rm ndk.zip
- export ANDROID_NDK_HOME=`pwd`/android-ndk-r15c
- export PATH=$PATH:$ANDROID_NDK_HOME
- echo $PATH
- popd

#script:
# - ./gradlew build
60 changes: 60 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# What is TagMo?

TagMo is an Android app which allows for cloning Amiibos using blank NTAG215 NFC tags. It was created as a result of the "[DIY Amiibo cards](https://gbatemp.net/threads/diy-amiibo-cards.406978/)" thread and all the collaboration that took place in it.

# Features:

* Write dump files from legitimate Amiibos into an NTAG215 tag in a way that WiiU/3DS/switch devices will consider to be a legitimate Amiibo with the same functionality.
* Save data of a tag to a file and restore it to the same or different Amiibo/Clone provided they are of the same character/game/series.
* Beta feature: Edit some parameters of a SSB type amiibo allowing you to change special effects, stats etc.

# Limitations:

* Only NTAG215 tags can be used to clone Amiibos. no other type (eg: NTAG216/NTAG213) are supported.
* You will require the key files used in the Amiibo encryption. Please don't PM me about them as I am unable to share them. The thread linked above may help you find them.
* Once you write an NFC tag, it is effectively permanent. If we rewrite the NFC tag, it will no longer be recognized as an Amiibo.
* **This means that this method can not replace Amiiqo or other Amiibo emulator devices**
* Only android phones are supported.

# Requirements:
* Amiibo Key Files. (See limitations/Don't ask me for these)
* Some blank NTAG 215 tags (Ebay/Aliexpress)
* Android phone with NFC (Tested on Nexus 5 running Android Lollipop)
* Amiibo dumps or real Amiibos which you can copy. (Don't ask me for these)

# Instructions:

## Cloning Amiibo
* Install the app on the phone as usual.
* Make sure NFC is enabled.
* If this is the first time you run the app. Use the Menu->Load key(s) file to load the key file(s)
* Use "load tag" to load an amiibo dump file or "scan tag" to scan an Amiibo.
* Use "Write Tag (Auto)" and place the phone over a blank NTAG215 tag to write the data and create a Amiibo out of it.

## Saving Amiibo data to file
* Click "Scan Tag" to scan the amiibo.
* Click "Save Tag" to save data to a file. (A file name will be generated based on the tag details and saved to the download folder.)

# Editing Super Smash Bros (SSB) data
* Click "Scan Tag" to scan a amiibo. Make sure that the amiibo was once used in Super Smash Bros before.
* Click "Edit SSB Data" to edit properties related to SSB. Using this on non SSB amiibo will corrupt its saved data. requiring you to restore it from a save file (if you have one) or to reset it. It is recommended you backup the amiibo data using the steps above before trying this out.

# Credits
This app is a result of work by many others. Thanks go out to (In alphabetical order):

* \_Tim\_ - The originial idea
* 1RedOne - support/readme
* azsde - Bug fixes/maintenance
* Bombastisch - support and motivation
* FinalDoom - Bug fixes/maintenance
* H3llK33p3r - Images for browser and main screen.
* javiMaD - Encryption algo help
* Kidel - Bug Fixes
* N3evin - AmiiboAPI data
* North101 - File browser, Extended amiibo info, QR Code, general cleanup
* masterchan-777 - Bug fixes/maintenance
* possi - Wolf link editor
* socram8888 - Decryotion encryption code
* Supercool330 - Encryption algo help
* Others who preferred to remain anonymous.
* Many more who helped in testing.
45 changes: 25 additions & 20 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,33 +1,26 @@
apply plugin: 'com.android.application'
apply plugin: 'android-apt'
def AAVersion = '4.0.0'
def AAVersion = '4.3.1'
def AndroidSupportVersion = '26.0.0'

buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
}
}

apt {
arguments {
//androidManifestFile variant.outputs[0].processResources.manifestFile
resourcePackageName android.defaultConfig.applicationId
maven {
url "https://jitpack.io"
}
}
}

android {
compileSdkVersion 23
buildToolsVersion '25.0.0'
compileSdkVersion 26
buildToolsVersion '26.0.1'

defaultConfig {
applicationId "com.hiddenramblings.tagmo"
minSdkVersion 14
targetSdkVersion 23
versionCode 4
versionName "2.3.4"
targetSdkVersion 26
versionCode 5
versionName "2.6.1"
}
buildTypes {
release {
Expand Down Expand Up @@ -68,8 +61,20 @@ android {

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.1.1'
apt "org.androidannotations:androidannotations:$AAVersion"
compile "com.android.support:design:$AndroidSupportVersion"
compile "com.android.support:appcompat-v7:$AndroidSupportVersion"
compile "com.android.support:recyclerview-v7:$AndroidSupportVersion"
compile "com.android.support:preference-v7:$AndroidSupportVersion"
compile "com.android.support:preference-v14:$AndroidSupportVersion"
compile "com.android.support:cardview-v7:$AndroidSupportVersion"

annotationProcessor "org.androidannotations:androidannotations:$AAVersion"
compile "org.androidannotations:androidannotations-api:$AAVersion"
annotationProcessor 'org.parceler:parceler:1.1.9'
compile 'org.parceler:parceler-api:1.1.9'

compile 'com.robertlevonyan.view:MaterialChipView:1.0.1'
compile 'org.apmem.tools:layouts:1.10@aar'
compile 'com.github.bumptech.glide:glide:4.0.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.0.0'
}

This file was deleted.

42 changes: 30 additions & 12 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.hiddenramblings.tagmo"
android:versionCode="3">
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="com.hiddenramblings.tagmo">

<uses-permission android:name="android.permission.BIND_NFC_SERVICE" />
<uses-permission android:name="android.permission.NFC" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.BIND_NFC_SERVICE"/>
<uses-permission android:name="android.permission.NFC"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>

<application
android:allowBackup="true"
Expand All @@ -16,14 +18,30 @@
android:theme="@style/AppTheme">
<activity android:name=".MainActivity_">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<action android:name="android.intent.action.MAIN"/>

<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
<activity android:name=".NfcActivity_" android:launchMode="singleTask" />
<activity android:name=".EditorSSB_" />
<activity android:name=".HexViewerActivity_"></activity>
<activity
android:name=".NfcActivity_"
android:launchMode="singleTop"/>
<activity android:name=".EditorSSB_"/>
<activity android:name=".EditorTP_"/>
<activity android:name=".HexViewerActivity_"/>
<activity
android:name=".BrowserActivity_"
android:theme="@style/AppTheme">
<meta-data
android:name="android.app.searchable"
android:resource="@xml/searchable"/>
</activity>
<activity
android:name=".ImageActivity_"
android:theme="@style/AppTheme"/>
<activity
android:name=".SettingsActivity_"
android:theme="@style/AppTheme"/>
</application>

</manifest>
Loading