Skip to content

Commit f734c57

Browse files
programminghoch10binarynoise
authored andcommitted
add GalaxyWearable
1 parent 020f7cc commit f734c57

File tree

9 files changed

+89
-0
lines changed

9 files changed

+89
-0
lines changed

GalaxyWearable/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# GalaxyWearable
2+
3+
Enables running Samsung's GalaxyWearable app and compantions on modded Samsung devices.
4+
5+
This is an Xposed variant of [`Linux4/GalaxyWearable`](https://github.com/Linux4/GalaxyWearable).

GalaxyWearable/build.gradle.kts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
plugins {
2+
alias(libs.plugins.buildlogic.android.application)
3+
}
4+
5+
android {
6+
namespace = "com.programminghoch10.GalaxyWearable"
7+
}
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest
3+
xmlns:android="http://schemas.android.com/apk/res/android">
4+
5+
<application android:label="GalaxyWearable Mod">
6+
<meta-data
7+
android:name="xposedmodule"
8+
android:value="true"
9+
/>
10+
<meta-data
11+
android:name="xposeddescription"
12+
android:value="Enables running Galaxy Wearable on modded Samsung devices."
13+
/>
14+
<meta-data
15+
android:name="xposedminversion"
16+
android:value="53"
17+
/>
18+
<meta-data
19+
android:name="xposedscope"
20+
android:resource="@array/scope"
21+
/>
22+
</application>
23+
24+
</manifest>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
com.programminghoch10.GalaxyWearable.Hook
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
package com.programminghoch10.GalaxyWearable;
2+
3+
import android.os.Build;
4+
5+
import de.robv.android.xposed.IXposedHookLoadPackage;
6+
import de.robv.android.xposed.XposedHelpers;
7+
import de.robv.android.xposed.callbacks.XC_LoadPackage;
8+
9+
public class Hook implements IXposedHookLoadPackage {
10+
@Override
11+
public void handleLoadPackage(XC_LoadPackage.LoadPackageParam lpparam) {
12+
XposedHelpers.setStaticObjectField(Build.class, "MANUFACTURER", "");
13+
}
14+
}
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources>
3+
<string-array name="scope">
4+
<item>com.samsung.android.app.watchmanager</item>
5+
6+
<!-- accessory package names extracted from main watchmanager apk -->
7+
<item>com.samsung.accessory.atticmgr</item>
8+
<item>com.samsung.accessory.beansmgr</item>
9+
<item>com.samsung.accessory.berrymgr</item>
10+
<item>com.samsung.accessory.fridaymgr</item>
11+
<item>com.samsung.accessory.jellymgr</item>
12+
<item>com.samsung.accessory.neobeanmgr</item>
13+
<item>com.samsung.accessory.paranmgr</item>
14+
<item>com.samsung.accessory.pearlmgr</item>
15+
<item>com.samsung.accessory.popcornmgr</item>
16+
<item>com.samsung.accessory.triathlonmgr</item>
17+
<item>com.samsung.accessory.zenithmgr</item>
18+
<item>com.samsung.accessory</item>
19+
<item>com.samsung.android.companionservice.service.WRCompanionService</item>
20+
<item>com.samsung.android.gearfit2plugin</item>
21+
<item>com.samsung.android.geargplugin</item>
22+
<item>com.samsung.android.gearnplugin</item>
23+
<item>com.samsung.android.gearoplugin</item>
24+
<item>com.samsung.android.gearpplugin</item>
25+
<item>com.samsung.android.gearrplugin</item>
26+
<item>com.samsung.android.heartplugin</item>
27+
<item>com.samsung.android.modenplugin</item>
28+
<item>com.samsung.android.neatplugin</item>
29+
<item>com.samsung.android.neckletplugin</item>
30+
<item>com.samsung.android.ringplugin</item>
31+
<item>com.samsung.android.waterplugin</item>
32+
<item>com.samsung.wearable.fit3plugin</item>
33+
<item>com.samsung.wearable.hostmanager.service.HostManager</item>
34+
</string-array>
35+
</resources>

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ A collection of small Xposed Modules.
1515
| [CodecMod](CodecMod) | [@programminghoch10](https://github.com/programminghoch10) | Selectively disable audio/video hardware/software encoders/decoders. | [GitHub](https://github.com/binarynoise/XposedModulets/releases?q=CodecMod) |
1616
| [Don'tResetIfBootedAndConnected](DontResetIfBootedAndConnected) | [@binarynoise](https://github.com/binarynoise) | | [GitHub](https://github.com/binarynoise/XposedModulets/releases?q=dontResetIfBootedAndConnected) |
1717
| [FreeNotifications](FreeNotifications) | [@binarynoise](https://github.com/binarynoise) | Enables customization for all Notification Channels again | [GitHub](https://github.com/binarynoise/XposedModulets/releases?q=freeNotifications) [IzzyOnDroid](https://apt.izzysoft.de/fdroid/index/apk/de.binarynoise.freeNotifications) |
18+
| [GalaxyWearable](GalaxyWearable) | [@programminghoch10](https://github.com/programminghoch10) | Enables running Samsung's GalaxyWearable app and compantions on modded Samsung devices. | [GitHub](https://github.com/binarynoise/XposedModulets/releases?q=GalaxyWearable) |
1819
| [MotionEventMod](MotionEventMod) | [@programminghoch10](https://github.com/programminghoch10) | Disable touch input for some seconds after the stylus was in use | [GitHub](https://github.com/binarynoise/XposedModulets/releases?q=MotionEventMod) |
1920
| [MuteSlf4jWarnings](MuteSlf4jWarnings) | [@binarynoise](https://github.com/binarynoise) | Mutes all slf4j warnings | [GitHub](https://github.com/binarynoise/XposedModulets/releases?q=muteSlf4jWarnings) |
2021
| [OpenWifiOnTop](OpenWifiOnTop) | [@binarynoise](https://github.com/binarynoise) | Prioritizes open Wi-Fi networks in the Wi-Fi picker | [GitHub](https://github.com/binarynoise/XposedModulets/releases?q=OpenWifiOnTop) |

build-logic/convention/src/main/kotlin/Common.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ class CommonAndroidApplication : Plugin<Project> {
3131
extensions.configure<ApplicationExtension> {
3232
defaultConfig {
3333
versionCode = getCommitCount()
34+
if (targetSdk == null) targetSdk = compileSdk
3435
}
3536

3637
setupSigning(rootProject.projectDir)

modules.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ include(":CodecMod")
1010
include(":DontResetIfBootedAndConnected")
1111
include(":EnableCallRecording")
1212
include(":FreeNotifications")
13+
include(":GalaxyWearable")
1314
include(":KeepSplitScreenRatio")
1415
include(":MotionEventMod")
1516
include(":MuteSlf4jWarnings")

0 commit comments

Comments
 (0)