diff --git a/README.md b/README.md index ecbb20956211d8c7e01932c374d894cfe651150d..fb3f27b26546d7650d5323e5dbf963950876b0b8 100644 --- a/README.md +++ b/README.md @@ -23,25 +23,17 @@ It's necessary to have an `offlineKey` and corresponding `offlineKeyOffset` that ### Android Phone (with Root) -If the phone is rooted, you can copy the `/data/data/com.august.app/shared_prefs/LockSettingsPreferences.xml` file from your phone to your computer. Many file manager apps, or an adb shell, will let you access it, as long as your phone is rooted. +If the phone is rooted, you can copy the `/data/data/com.august.luna/shared_prefs/PeripheralInfoCache.xml` file from your phone to your computer. Many file manager apps, or an adb shell, will let you access it, as long as your phone is rooted. -Run this file through the [tools/decrypt_preferences.js](tools/decrypt_preferences.js) script to view the JSON representation of the preferences. The script output can be used directly as your configuration file. +Open the `PeripheralInfoCache.xml` file and find the `handshakeKey` and `handshakeKeyIndex` strings. Copy the strings that follow those (excluding the `"` bits) into a config.json file formatted like so: - node tools/decrypt_preferences.js LockSettingsPreferences.xml > config.json + { "offlineKey": "handshakeKey", "offlineKeyOffset": handshakeKeyIndex } The configuration file location can be explicitly set via the AUGUSTCTL_CONFIG environment variable. ### Android Phone (without Root) -It's a little more typing, but on a non-rooted phone, you can open the official app and go to the keychain view (the list of all your "houses"), click on the gear to access the settings, and long click on the application version to access the debug setttings. As of v1.0.4.1, the password for the debug menu is `KryspyKym`. In the debug settings display, you should see a JSON object with the offlineKey and offlineKeyOffset. - -Place these in a file named `config.json`, which should look something like this: - - { "offlineKey": "0123456789abcdef0123456789abcdef", "offlineKeyOffset": 1 } - -Be careful when transcribing the key - one small error and it will not work. - -Note: You can also enable Auto-Unlock for Android in the debug menu! +The latest August app no longer exposes the offline keys. Rooting is required. ### iPhone