[Samsung Gear S2] adfree:
<!-- Default Values: supportTablet="true" , hostMinMemory= "1024" MB , supportNonSamsung="false" ,
optional="false" , supportMultiConnection="false" ,disablePackage="true" ,installerPackage="com.samsung.android.app.watchmanager",
requiredForNonSamsung="false" checkForUpdate="false" requiresPairing="true" -->
<rules>
<gear-info version="1.98">

<module-info containerName="com.samsung.android.gear1module"
pluginName="com.samsung.android.gear1plugin">
<devices>
<item>Galaxy Gear</item>
</devices>
<additional-packages>
<package optional="true">com.samsung.svoiceprovider</package>
</additional-packages>
</module-info>

<module-info containerName="com.samsung.android.gear2smodule"
pluginName="com.samsung.android.gear2plugin">
<devices>
<item>Gear</item>
<item>Gear 2</item>
<item>Gear 2 Neo</item>
<item>Gear 2 Lite</item>
</devices>
<additional-packages>
<package optional="true">com.samsung.svoiceprovider</package>
</additional-packages>
</module-info>

<module-info containerName="com.samsung.android.gear2smodule"
pluginName="com.samsung.android.gear2plugin">
<devices>
<item supportTablet="false">Gear S</item>
</devices>
</module-info>

<module-info containerName="com.samsung.android.gearoplugin"
pluginName="com.samsung.android.gearoplugin"
viClass="com.samsung.android.app.twatchmanager.vi.VIGearS2">
<devices>
<item supportNonSamsung="true" supportTablet="false">Gear O</item>
<item supportNonSamsung="true" supportTablet="false">Gear A</item>
<item supportNonSamsung="true" supportTablet="false">Gear S2</item>
<item supportNonSamsung="true" supportTablet="false">Gear C</item>
<item supportNonSamsung="true" supportTablet="false">Gear S3</item>
</devices>
<additional-packages>
<package onlyForNonSamsung="true" optional="false">com.samsung.accessory</package>
</additional-packages>
</module-info>

<module-info pluginName="com.samsung.android.neckletplugin">
<devices>
<item supportMultiConnection="true" connectAudio="true" hostMinMemory="0" supportTablet="false" icon="gm_managerdevices_list_ic_gearcircle">Gear Circle</item>
</devices>
</module-info>

<module-info containerName="com.samsung.android.gearfit2plugin"
pluginName="com.samsung.android.gearfit2plugin"
viClass="com.samsung.android.app.twatchmanager.vi.VIVolt">
<devices>
<item supportNonSamsung="true" supportTablet="false" icon="gm_managerdevices_list_ic_gearfit2">Gear Fit2</item>
<item supportNonSamsung="true" supportTablet="false" icon="gm_managerdevices_list_ic_gearfit2">Gear Fit2 Pro</item>
</devices>
<additional-packages>
<package onlyForNonSamsung="true" optional="false">com.samsung.accessory</package>
</additional-packages>
</module-info>

<module-info pluginName="com.samsung.accessory.triathlonmgr"
viClass="com.samsung.android.app.twatchmanager.vi.VITriathlon">
<devices>
<item supportMultiConnection="true" connectAudio="true" hostMinMemory="0" supportTablet="false" supportNonSamsung="true" icon="gm_managerdevices_list_ic_iconx">Gear Triathlon M</item>
<item supportMultiConnection="true" connectAudio="true" hostMinMemory="0" supportTablet="false" supportNonSamsung="true" icon="gm_managerdevices_list_ic_iconx">Gear Triathlon S</item>
<item supportMultiConnection="true" connectAudio="true" hostMinMemory="0" supportTablet="false" supportNonSamsung="true" icon="gm_managerdevices_list_ic_iconx">Gear IconX R</item>
<item supportMultiConnection="true" connectAudio="true" hostMinMemory="0" supportTablet="false" supportNonSamsung="true" icon="gm_managerdevices_list_ic_iconx">Gear IconX L</item>
</devices>
</module-info>

<module-info pluginName="com.samsung.android.chironplugin">
<devices>
<item supportNonSamsung="true" supportTablet="false" requiresPairing="false">Gear Chiron</item>
<item supportNonSamsung="true" supportTablet="false" requiresPairing="false">Samsung Gear Chiron</item>
</devices>
</module-info>

<common-info>
<packages>
<item disablePackage="false">com.samsung.accessory</item>
<item disablePackage="false">com.samsung.accessory.safiletransfer</item>
</packages>
<discovery-keyword>
<item>gear</item>
</discovery-keyword>
<skip-device>
<item>Gear Fit</item>
</skip-device>
</common-info>

</gear-info>
</rules>

assets/rules.xml

Taken from:

com.samsung.android.app.watchmanager-1.apk

Boah... seems I spend days and hours... and reason is again... "only blocked"...

Best Regards

Edit 1.

I am not smart enough to create valid APK... with modified rules.xml[

:o

Please, maybe somebody can help me.

Attached is original APK...

Attached is my modified rules.xml

Please somebody replace this file in APK for me.

Or please tell me uptodate APK Edit Tools and way... to sign proper this system apk...

Thanx in advance.

Edit 1.

For Signing I am using this Tool:

https://xdaforums.com/showthread.php?t=2478180

Then somewhere I found Zipalign...

https://xdaforums.com/showpost.php?p=20177969&postcount=1

https://developer.android.com/studio/command-line/zipalign.html

But I am fail... :crying:

With 1 other APK I was able to sign with Platform Cert... without Zipalign

No idea if Platform Cert is requrired

Edit 2.

Oh... tiny progress. :cyclops:

Found cool APK to edit APK called: APK Editor:

https://play.google.com/store/apps/details?id=com.gmail.heagoo.apkeditor&hl=de

Not final solution but easier as before with PC... :good: