Skip to content

Commit

Permalink
Updated to v1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
annson24 committed May 21, 2019
1 parent cb93bad commit 409717e
Show file tree
Hide file tree
Showing 16 changed files with 7 additions and 176 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ android {
minSdkVersion 19
targetSdkVersion 27
versionCode 1
versionName "1.0"
versionName "1.1"

externalNativeBuild {
cmake {
Expand Down
File renamed without changes.
3 changes: 0 additions & 3 deletions app/src/main/java/io/github/annson24/sxtools/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

public class Constants {

public static final String LINK_GITHUB = "https://github.com/annson24/SXTools";
public static final String LINK_SX = "https://sx.xecuter.com/";

public static final String LOGGER_ACTION = "io.github.annson24.LOG_UPDATE";
public static final String PREFERENCES_KEY = "io.github.annson24.PREFERENCE_PAYLOAD_NAME";

Expand Down
33 changes: 0 additions & 33 deletions app/src/main/java/io/github/annson24/sxtools/FragmentAbout.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ protected void onCreate(Bundle savedInstanceState) {
logFragment = new FragmentLogs();
adapter.addFragment(logFragment, getString(R.string.logs_title));
adapter.addFragment(new FragmentConfig(), getString(R.string.config_title));
adapter.addFragment(new FragmentAbout(), getString(R.string.about_title));
viewPager.setAdapter(adapter);

TabLayout tabLayout = findViewById(R.id.main_tabs);
Expand Down Expand Up @@ -75,7 +74,7 @@ public void onConfigRestoreClick(View view) {
editor.apply();

Toast.makeText(this, R.string.config_toast_restored, Toast.LENGTH_SHORT).show();
Logger.log(this, "[*] Payload reset to default (SXOS.bin)");
Logger.log(this, "[*] Payload reset to default (SXOS)");
}

// After payload selected
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ private byte[] getPayload(Context context) throws IOException {

if (payload_name == null) {
Logger.log(context, "[*] Opening SXOS payload");
payload_file = context.getAssets().open("SXOS.bin");
payload_file = context.getAssets().open("payload.bin");
} else {
Logger.log(context, "[*] Opening custom payload (" + payload_name + ")");
payload_file = new FileInputStream(context.getFilesDir().getPath() + "/payload.bin");
Expand Down
11 changes: 0 additions & 11 deletions app/src/main/res/drawable/ic_about_github.xml

This file was deleted.

112 changes: 0 additions & 112 deletions app/src/main/res/layout/fragment_about.xml

This file was deleted.

Binary file removed app/src/main/res/mipmap-hdpi/ic_about_sx.png
Binary file not shown.
Binary file removed app/src/main/res/mipmap-mdpi/ic_about_sx.png
Binary file not shown.
Binary file removed app/src/main/res/mipmap-xhdpi/ic_about_sx.png
Binary file not shown.
Binary file removed app/src/main/res/mipmap-xxhdpi/ic_about_sx.png
Binary file not shown.
Binary file removed app/src/main/res/mipmap-xxxhdpi/ic_about_sx.png
Binary file not shown.
11 changes: 1 addition & 10 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,10 @@
<string name="config_category_restore">Restore default</string>
<string name="config_primary_payload_description">You can use your own, previously downloaded, payload.</string>
<string name="config_primary_payload_button">Select primary payload</string>
<string name="config_restore_description">Restore default payload on your Switch - \"SXOS.bin\"</string>
<string name="config_restore_description">Restore default payload on your Switch - \"SXOS\"</string>
<string name="config_restore_button">Restore default</string>
<string name="config_toast_restored">Default payload restored.</string>
<string name="config_toast_new_payload">New payload selected.</string>
<string name="config_toast_new_error">Failed to set new payload.</string>

<!-- Strings for About -->
<string name="about_title">About</string>
<string name="about_category_description">Description</string>
<string name="about_category_instructions">Instructions</string>
<string name="about_category_links">Links</string>
<string name="about_description">SXTools by annson24\n \nThis version of NXLoader is modded to have SX Launcher v1.0 payload as default.\n \nHuge thanks to DavidBuchanan314 for the source.\n \nSXTools is an exploit implementation for the Tegra X1 \"bootrom\" vulnerability. It is based on the \"Fusée Gelée\" exploit by ktemkin and the \"ShofEL2\" exploit by fail0verflow.</string>
<string name="about_instructions">Connect your Switch and put it in RCM mode to start loading.</string>
<string name="about_link_github">Project on GitHub</string>
<string name="about_link_SX">Team Xecuter Website</string>
</resources>
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.3'
classpath 'com.android.tools.build:gradle:3.4.1'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Sun Apr 29 12:23:10 CEST 2018
#Tue May 21 22:16:52 GST 2019
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.5.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip

0 comments on commit 409717e

Please sign in to comment.