Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions GalaxyWearable/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# GalaxyWearable

Enables running Samsung's GalaxyWearable app and compantions on modded Samsung devices.

This is an Xposed variant of [`Linux4/GalaxyWearable`](https://github.com/Linux4/GalaxyWearable).
7 changes: 7 additions & 0 deletions GalaxyWearable/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
plugins {
alias(libs.plugins.buildlogic.android.application)
}

android {
namespace = "com.programminghoch10.GalaxyWearable"
}
24 changes: 24 additions & 0 deletions GalaxyWearable/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest
xmlns:android="http://schemas.android.com/apk/res/android">

<application android:label="GalaxyWearable Mod">
<meta-data
android:name="xposedmodule"
android:value="true"
/>
<meta-data
android:name="xposeddescription"
android:value="Enables running Galaxy Wearable on modded Samsung devices."
/>
<meta-data
android:name="xposedminversion"
android:value="53"
/>
<meta-data
android:name="xposedscope"
android:resource="@array/scope"
/>
</application>

</manifest>
1 change: 1 addition & 0 deletions GalaxyWearable/src/main/assets/xposed_init
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
com.programminghoch10.GalaxyWearable.Hook
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package com.programminghoch10.GalaxyWearable;

import android.os.Build;

import de.robv.android.xposed.IXposedHookLoadPackage;
import de.robv.android.xposed.XposedHelpers;
import de.robv.android.xposed.callbacks.XC_LoadPackage;

public class Hook implements IXposedHookLoadPackage {
@Override
public void handleLoadPackage(XC_LoadPackage.LoadPackageParam lpparam) {
XposedHelpers.setStaticObjectField(Build.class, "MANUFACTURER", "");
}
}
35 changes: 35 additions & 0 deletions GalaxyWearable/src/main/res/values/arrays.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string-array name="scope">
<item>com.samsung.android.app.watchmanager</item>

<!-- accessory package names extracted from main watchmanager apk -->
<item>com.samsung.accessory.atticmgr</item>
<item>com.samsung.accessory.beansmgr</item>
<item>com.samsung.accessory.berrymgr</item>
<item>com.samsung.accessory.fridaymgr</item>
<item>com.samsung.accessory.jellymgr</item>
<item>com.samsung.accessory.neobeanmgr</item>
<item>com.samsung.accessory.paranmgr</item>
<item>com.samsung.accessory.pearlmgr</item>
<item>com.samsung.accessory.popcornmgr</item>
<item>com.samsung.accessory.triathlonmgr</item>
<item>com.samsung.accessory.zenithmgr</item>
<item>com.samsung.accessory</item>
<item>com.samsung.android.companionservice.service.WRCompanionService</item>
<item>com.samsung.android.gearfit2plugin</item>
<item>com.samsung.android.geargplugin</item>
<item>com.samsung.android.gearnplugin</item>
<item>com.samsung.android.gearoplugin</item>
<item>com.samsung.android.gearpplugin</item>
<item>com.samsung.android.gearrplugin</item>
<item>com.samsung.android.heartplugin</item>
<item>com.samsung.android.modenplugin</item>
<item>com.samsung.android.neatplugin</item>
<item>com.samsung.android.neckletplugin</item>
<item>com.samsung.android.ringplugin</item>
<item>com.samsung.android.waterplugin</item>
<item>com.samsung.wearable.fit3plugin</item>
<item>com.samsung.wearable.hostmanager.service.HostManager</item>
</string-array>
</resources>
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ A collection of small Xposed Modules.
| [CodecMod](CodecMod) | [@programminghoch10](https://github.com/programminghoch10) | Selectively disable audio/video hardware/software encoders/decoders. | [GitHub](https://github.com/binarynoise/XposedModulets/releases?q=CodecMod) |
| [Don'tResetIfBootedAndConnected](DontResetIfBootedAndConnected) | [@binarynoise](https://github.com/binarynoise) | | [GitHub](https://github.com/binarynoise/XposedModulets/releases?q=dontResetIfBootedAndConnected) |
| [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) |
| [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) |
| [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) |
| [MuteSlf4jWarnings](MuteSlf4jWarnings) | [@binarynoise](https://github.com/binarynoise) | Mutes all slf4j warnings | [GitHub](https://github.com/binarynoise/XposedModulets/releases?q=muteSlf4jWarnings) |
| [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) |
Expand Down
1 change: 1 addition & 0 deletions build-logic/convention/src/main/kotlin/Common.kt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ class CommonAndroidApplication : Plugin<Project> {
extensions.configure<ApplicationExtension> {
defaultConfig {
versionCode = getCommitCount()
if (targetSdk == null) targetSdk = compileSdk
}

setupSigning(rootProject.projectDir)
Expand Down
1 change: 1 addition & 0 deletions modules.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ include(":ClassHunter")
include(":CodecMod")
include(":DontResetIfBootedAndConnected")
include(":FreeNotifications")
include(":GalaxyWearable")
include(":KeepSplitScreenRatio")
include(":MotionEventMod")
include(":MuteSlf4jWarnings")
Expand Down