Skip to content

Instantly share code, notes, and snippets.

@LucaCorigliano
Last active September 8, 2026 18:16
Show Gist options
  • Select an option

  • Save LucaCorigliano/54c8ec12b4c35642f93f2376e551ba78 to your computer and use it in GitHub Desktop.

Select an option

Save LucaCorigliano/54c8ec12b4c35642f93f2376e551ba78 to your computer and use it in GitHub Desktop.
Samsung Self Repair Assistant on unsupported devices (Hall IC Calibration methodology on Galaxy Fold 4)

Samsung Self Repair Assistant on Unsupported Devices (Rootless Method)

Updated guide – no root required


Disclaimer

  • This guide is not a beginner step-by-step tutorial. Basic familiarity with ADB and Android system settings is assumed.
  • No root or bootloader unlocking is required for this updated method.
  • While this approach avoids flashing or data wipes, it still relies on undocumented behavior and is not officially supported by Samsung.
  • Proceed at your own risk.

Tested Functionality

  • Hall IC calibration confirmed working on Galaxy Fold 4 (F936U).
  • Other functions (e.g., battery calibration) have not been fully tested.

Background & Rationale

Samsung’s Self Repair Assistant app enforces a device compatibility check that prevents it from launching on older Fold/Flip models.

Originally, bypassing this required root access to manually start the app’s internal activity (GcWelcomeActivity).

However, thanks to recent findings, it turns out Samsung allows private / hidden apps to be launched through system-level shortcuts — specifically by abusing the Side Key double-press configuration, which runs with elevated privileges.

This makes it possible to launch the app without root, Magisk, or firmware modification.


Credits & Acknowledgements

Huge thanks to the community members who made this rootless method possible:

  • @MBersnk – discovered the Side Key / SetEdit workaround
  • @lixiangwuxian – confirmed it working on F936U and provided the ADB permission command

This update would not exist without their contributions. 🙏


Requirements

  • Samsung device running OneUI
  • ADB installed on your computer
  • Internet access (for Samsung Account login)

Instructions (Rootless Method)

1. Install Samsung Self Repair Assistant

  • Download the APK with package ID:

    com.samsung.android.app.repaircal
    
  • APKMirror or similar repositories work fine

  • Tested with version 2.0.17

Install the APK normally.


2. Install SetEdit


3. Grant SetEdit Secure Settings Permission

Connect your phone to your PC and run:

adb shell pm grant by4a.setedit22 android.permission.WRITE_SECURE_SETTINGS

This allows SetEdit to modify system-level configuration values.


4. Configure Side Key Double-Press

On your phone:

  1. Open Settings → Advanced features → Side key

  2. Set Double press to:

    • Open app
    • Select Samsung Self Repair Assistant

5. Override the Side Key Target Activity

  1. Open SetEdit

  2. Switch to the Global Table

  3. Find the key:

    function_key_config_doublepress_value
    
  4. Change its value to:

    com.samsung.android.app.repaircal/com.samsung.android.app.repaircal.GcWelcomeActivity
    
  5. Save the change

This forces the Side Key to launch the app’s internal entry activity, bypassing the compatibility check.


6. Launch the App

  • Double‑press the Power / Side Key
  • The Self Repair Assistant should now launch normally
  • Log in with your Samsung Account when prompted

Notes & Limitations

  • This method relies on Samsung-specific behavior and may break with future OneUI updates
  • The app may still block certain features depending on device model
  • No APK modification or resigning is required

Conclusion

This rootless approach is simpler, safer, and fully reversible compared to the original Magisk-based method.

It significantly lowers the barrier for using Samsung’s Self Repair tools on older Fold / Flip devices and aligns well with the Right to Repair philosophy.

If Samsung ever removes this loophole, root-based launching may still remain a fallback — but for now, this is by far the cleanest solution.


Original guide by Luca Corigliano – updated with community contributions

@luwat3

luwat3 commented Sep 6, 2026

Copy link
Copy Markdown

Just made the mistake this morning to update the phone to android 16... It's seems not compatible anymore sadly

EDIT : I was wrong, you can go to the self repair app by going to samsung's website !!!

@GamaryZ

GamaryZ commented Sep 8, 2026

Copy link
Copy Markdown

Go to https://samsungparts.com/pages/self-repair-services, input your phone model and click self repair assistant IMG_9941

Thanks to BCG-Car! My phone is a Samsung Galaxy A73 5G, Thai region. At first, I thought that the “Device not supported” message might be caused by a regional restriction. So, I tried downloading the APK by entering the model as Samsung Galaxy A71 instead, and it worked! I was able to calibrate new battery.

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