Skip to content

Instantly share code, notes, and snippets.

@tellodaniel
Last active October 13, 2022 03:46
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tellodaniel/f67da2da0ee30c45bb8cf1237c119b12 to your computer and use it in GitHub Desktop.
Save tellodaniel/f67da2da0ee30c45bb8cf1237c119b12 to your computer and use it in GitHub Desktop.
ECG Enabler
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ElectrocardiogramWatchAppInstallIsAllowed</key>
<true/>
<key>HKAtrialFibrillationDetectionOnboardingCompleted</key>
<integer>1</integer>
<key>HKElectrocardiogramOnboardingCompleted</key>
<integer>4</integer>
</dict>
</plist>
@tellodaniel
Copy link
Author

This works for iOS 14.5 beta 5 and watchOS 7.4 beta 5

@tellodaniel
Copy link
Author

This works for iOS 14.5 beta 6

@tellodaniel
Copy link
Author

This works for iOS 14.5 beta 7

@tellodaniel
Copy link
Author

This works for iOS 14.5 beta 8

@mohuk
Copy link

mohuk commented Apr 29, 2021

Does this also activate Atrial Fibrillation feature ?

@mohuk
Copy link

mohuk commented Apr 29, 2021

Works on iOS 14.5 and watchOS 7.4

@tellodaniel
Copy link
Author

tellodaniel commented Jun 13, 2021

Works on WatchOS 8 beta

@tellodaniel
Copy link
Author

tellodaniel commented Sep 28, 2021

Works on iOS 15 and WatchOS 8.0 If you Algorithm version is not upgrading from V1 to V2 you can enroll to the Apple Heart & Movement Study through the Research App and it will automatically upgrade you ECG version.

@levicki
Copy link

levicki commented Oct 31, 2021

I have tested this on iPhone 13 Pro Max running iOS 15.0.1 and Apple Watch Series 7 (bought in non-ECG-enabled country) running WatchOS 8.1 and it enables the ECG 2.

However, the atrial fibrilation detection does not work for me despite the key in the plist file. It shows the option to set it up, but then it tells me it is not available in my region (I tried to activate it while I had location services disabled).

@tellodaniel
Copy link
Author

I have tested this on iPhone 13 Pro Max running iOS 15.0.1 and Apple Watch Series 7 (bought in non-ECG-enabled country) running WatchOS 8.0.1 and it enables the ECG 2.

However, the atrial fibrilation detection does not work for me despite the key in the plist file. It shows the option to set it up, but then it tells me it is not available in my region (I tried to activate it while I had location services disabled).

The fix is to download the Apple Research app and enroll to the Heart program.

@levicki
Copy link

levicki commented Nov 1, 2021

The fix is to download the Apple Research app and enroll to the Heart program.

You mean the fix for AFD? Do you need to stay enrolled or you can quit it after it is enabled?

@bassu
Copy link

bassu commented Dec 11, 2021

This V2 file works for ECG enablement and you can take a manual ECG, however, the continuous background Irregular Rhythm Notifications feature still give a "not supported in your region" warning! Same for the Apple Research app, which you cannot install. I guess there might be other plist files which are likely checking for required keys that are missing for now!

Devices tested:

  • iPhone 13 Pro
  • Apple Watch Series 7 41mm

OS (latest):

  • iOS 15.0.1
  • watchOS 8.1

@levicki
Copy link

levicki commented Dec 13, 2021

I confirm that. Irregular stays disabled.

@imReker
Copy link

imReker commented Mar 3, 2022

@bsyarnaud
Copy link

Hello;

Can you help me enable ECG on my Apple Watch?
I have Apple Watch 6 with Watch OS 7.3 and iPhone X with iOS 14.3. My iPhone is already jailbroken.

Best Regards.

@Redditami
Copy link

https://gist.github.com/x43x61x69/0a9dd6e134c5c4a7ce39c9aab5639727
what about this file ? witch one is good and work?
updating to ios 16 and watch os9 , don't have ecg app at watch and need again to setup
is this gonna fix if i try this again ?
and PLEASE ANY ONE MAKE AGAIN OXYGEN SENSOR FOR THIS and other feature too

@Redditami
Copy link

atrial fibrilation detection not activate who an help to fix it ?

@Redditami
Copy link

HKAtrialFibrillationDetectionOnboardingCompleted 1 HKElectrocardiogramFirstRecordingCompleted HKElectrocardiogramOnboardingCompleted 3 WristConfirmationAlertDate ElectrocardiogramWatchAppInstallIsAllowed HKAtrialFibrillationDetectionOnboardingCompleted 1 HKElectrocardiogramOnboardingCompleted 4 2022-10-09T19:16:20Z

Does it work guys on com.apple.private.health.heart-rhythm ? what do you think

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment