KX2 Utility for Android (English)


1. Development Purpose and Background

The KX2 is an ultra-compact HF amateur radio transceiver manufactured by Elecraft in the United States.

It is a transceiver designed and developed for use in mountain-based amateur radio activities, particularly SOTA (Summits on the Air). Despite its extremely small size and light weight, it offers excellent performance and is very popular among SOTA activators.

However, there is one aspect of using this transceiver that I have found particularly inconvenient: its external interface. Specifically, I have found the function for storing preset CW messages in the KX2’s internal memory difficult to use.

The usual method is to send the actual CW signal so that the transceiver can record the preset message. Unlike a simple audio recording, however, the timing used to interpret the sent code as characters is very unstable. For example, even if I send CQ (- . – .  – – . -) accurately, it is often interpreted incorrectly as KEMA (- . –  .  – –  . – ), depending on how the timing of the gaps between dits and dahs is judged during character decoding.

This is not because the CW being sent is inaccurate; it is caused by instability in the timing used to interpret the signal as text. This becomes particularly troublesome when storing a long message. If such a decoding error occurs near the end, the entire process has to be started over from the beginning.

To address this, there is a way to load preset messages into the transceiver as text, rather than sending them as CW, before heading out to the mountains. By connecting the KX2 to a Windows PC with a USB cable and using the Utility software developed by Elecraft, preset messages can be written to the KX2’s memory as text strings.

In this case, the KX2 receives the text directly, so errors in judging the spacing between CW elements do not occur.

The KX2 also does not retain the time if its battery is removed from the unit, for example, to recharge or replace it. The Utility software has a function that transfers the PC’s time to the KX2 to set its clock.

The Utility software has various other functions, but I believe the functions most people use are rewriting the CW message memories and setting the time.

The problem, however, is that the Utility software is available only for Windows. The KX2 has three CW memories. If you spend several days traversing a mountain range and climb more than three mountains, you may need to rewrite the preset messages. Carrying a heavy Windows PC into the mountains for this purpose is out of the question. Even when camping for several days while visiting mountains, or when traveling to mountains overseas, I would not want to carry a heavy Windows PC.

It would therefore be useful to have an app that could connect a smartphone to the KX2 to rewrite its memories and set the time. However, Elecraft has not developed such an app, and I have not been able to find one anywhere in the world. There are apps that can send signals while a smartphone is connected to the KX2, but they cannot rewrite its memories or set the time.

The reason is that Elecraft has not published the specifications describing the signals and protocols used for communication between its Windows PC Utility software and the KX2.

Although I had to suspend the project several times, I spent eight months analyzing the signals exchanged between the Windows PC Utility software and the KX2 over USB. I finally discovered that the communication protocol follows certain patterns. Based on these findings, I have now developed an app that allows an Android device to rewrite the KX2’s CW memories and set its clock.

2. Requirements

You will need:

  1. An Android device, such as a smartphone or tablet
  2. A KX2 transceiver
  3. A dedicated USB cable and adapter

Connect the dedicated USB cable to the KX2’s ACC jack and your Android device.

Connect the USB side to your smartphone using an adapter that matches its port. Most recent smartphones use USB-C.

3. Installation

Access this website from your Android device and download the app using the link below.

Then simply follow the instructions on your smartphone to install it. However, when installing an app developed by an individual like me, you may see various security warnings. Please also refer to Section 6 of this page for information about security. (Please refer to Section6 of this page for security information)

You can complete the installation by following the steps below.

Download

1. When you tap Download, a warning appears immediately stating, “File might be harmful”.  Tap Download anyway.

2. Once the download is complete, a message appears saying, “File downloaded”.  Tap Open.

3. You will be asked “Open with Package Installer”.  Tap Just once.

4. A confirmation appears asking, “Install this app?”.  Tap Install.

5. Installation begins.

6. A warning appears stating, “Unsafe app blocked.” This is because the app was developed by me as an individual. On this screen, tap “More Details”, not OK. 

7. Another warning appears. Tap “Install anyway”.

8. An authentication screen appears. This is the standard Android verification process, which uses facial recognition, fingerprint recognition, or a similar method to confirm that you approve the installation.

9. After authentication, installation continues.

10. A message appears saying, “App installed.” Tap “Open” to launch the app.

11.  Successfully installed and launched.

4. Operation

4.1 Connecting

  1. Turn on the KX2.
  2. Connect the KX2 to your smartphone using the cable.
  3. Launch KX2 Utility for Android on your smartphone.
  4. Tap CONNECT USB at the top. This establishes a USB connection between the smartphone and the KX2, allowing you to operate the app.
  5. Once the time has been set and the memories have been rewritten, you can disconnect the USB cable and operate the KX2 on its own.

4.2 Setting the Time

  1. Once the USB connection described above has been established, tap SET TIME.
  2. Your smartphone’s time is transferred to the KX2 to set its clock.

4.3 Rewriting CW Memories

  1. With the USB connection established, enter your preset messages in the fields for Memory 1 through Memory 3, then tap UPLOAD ALL.
  2. The three messages are transferred to the KX2, and all three CW memories are rewritten at once.
  3. You can also rewrite each memory individually.
  4. The preset messages created on your smartphone can be saved, loaded, or cleared using the three buttons below: SAVE, LOAD, and CLEAR. The CLEAR function only erases the messages displayed on the smartphone. It does not delete saved messages or the memories in the KX2.

4.4 Supported Characters

The following characters can be used to configure KX2 memories with KX2 Utility:

  • English letters A through Z (uppercase and lowercase are treated the same)

  • Numbers 0 through 9

  • The following symbols (from item 7 onward, based on Elecraft’s definitions)

ItemSymbolNameMorse Code / Function
1(space)Space
2/Slash (forward slash)-..-.
3-Hyphen-....-
4?Question mark..--..
5.Period (full stop).-.-.-
6,Comma--..--
7=Equals signBT -...-
8_UnderscoreAA .-.-
9+Plus signAR .-.-.
10%Percent signAS .-...
11(Left parenthesis (open parenthesis)KN -.--.
12*AsteriskSK ...-.-
13!Exclamation markVE ...-.
14~TildeHalf-space
15|Vertical bar (pipe)Clears the memory
16(nil)No character (empty)Clears the memory

5. Price and Feature Limitations

This app is available for a fee of USD 8.00. There are no additional charges after purchase, and a one-off payment provides a perpetual license. The app can be used on multiple Android devices and will continue to work if you change devices. Please keep your license code in a safe place.

“Edge2,” the name shown as the payment recipient, is the author’s sole proprietorship account name.

Pay here

The app includes a free 7-day trial. During the trial period, a yellow TEST button appears in the upper-right corner. All features are available during the trial, so please use this period to thoroughly check that the app works correctly.

7 days after installation, you will need to enter a license code to continue using the app.

I will send the license code by email after payment has been made through the payment website. The payment page has fields for your email address and callsign. Please make sure to enter both.

You can purchase the app during the trial period as well. Tap the yellow TEST button in the app to display the license-code entry screen.  Enter your callsign and license code in the entry screen and tap ACTIVATE.

Once you enter the license code and complete registration, the yellow TEST button will be replaced with your callsign.

Purchases are non-refundable. Please use the 7-day trial period to verify that the app works correctly before purchasing.

6. Security

This smartphone app was developed independently by me, Toru Kawauchi (JA1CTV). I understand that some users may have concerns about the security of an app developed by an individual.

To help address these concerns, I am publishing the SHA-256 hash of KX2 Utility for Android Version 1.0 (file name: app-release.apk).

SHA-256 hash:
CC09A9819C65D1B97B68B0246AFDC9F9EEC74706F75C339633F63EF037C2CE71

If you have any concerns, you can calculate the SHA-256 hash of the APK file downloaded to your PC and check that it matches the value above. If the values match, you can confirm that the file is identical to the APK I have published. There are many explanations online showing how to calculate a file’s hash, so I will not describe the procedure here.

I am also including the results of a scan by VirusTotal. The APK scanned is the file with the same SHA-256 hash as the one shown above. At the time of the scan, none of the 66 security vendors detected this APK as malicious.

Please note that this scan reflects the results from 66 security vendors and does not guarantee the complete safety of the app. Please use it as a reference when verifying the downloaded file and assessing the app’s security.

The app communicates only through the USB port with KX2. It does not have any functionality to communicate with external servers using a mobile network or Wi-Fi.

The APK’s manifest is shown below. It declares only the USB host feature for communication; it does not declare the Internet permission (INTERNET).

<?xml version="1.0" encoding="utf-8"?>
<manifest
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:versionCode="1"
    android:versionName="1.0"
    android:compileSdkVersion="35"
    android:compileSdkVersionCodename="15"
    package="com.example.kx2cwwriter"
    platformBuildVersionCode="35"
    platformBuildVersionName="15">

    <uses-sdk
        android:minSdkVersion="23"
        android:targetSdkVersion="28" />

    <uses-feature
        android:name="android.hardware.usb.host"
        android:required="true" />

    <application
        android:theme="@ref/0x1030241"
        android:label="@ref/0x7f030000"
        android:icon="@ref/0x7f020000"
        android:allowBackup="false"
        android:extractNativeLibs="false"
        android:roundIcon="@ref/0x7f020002">

        <activity
            android:name="com.example.kx2cwwriter.MainActivity"
            android:exported="true">

            <intent-filter>

                <action
                    android:name="android.intent.action.MAIN" />

                <category
                    android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>
</manifest>

7. Disclaimer

KX2 Utility for Android is an unofficial app designed to assist with operating the Elecraft KX2 transceiver. It has not been developed, approved, or warranted by Elecraft.

By using this app, you agree to the following:

1. Use at your own risk
You use this app at your own risk. The developer accepts no responsibility for equipment failure, loss of settings or memory contents, data loss, or any other damage resulting from its use.

2. No guarantee of operation
The app is not guaranteed to work with every Android device, OS version, USB cable, connection environment, or KX2 operating condition. Its functionality and specifications may change without notice.

3. Writing to memory
Before writing to memory, check the message and the target memory number. Some characters or symbols may not be supported by the app. Always verify the result on the KX2 itself.

4. Operation of the transceiver
This app does not guarantee the proper operation of the transceiver. Before transmitting, users must verify the frequency, mode, message, and all other settings themselves. Users must comply with the terms of their radio station license and all applicable laws and regulations.

5. Damages
The developer accepts no responsibility for any direct or indirect damages arising from the use of this app or the inability to use it.

By using this app, you agree to the above disclaimer.