[Google Pixel Watch 2] zyguo:
The progress were frustrated until the turning points came.

Things need:

Unlock bootloader

Magisk

Magisk-KeyboardRemaps

LSPosed

Xposed Edge

AutoWear(phone and watch)

Tasker(phone)

Those are commonly used android tools but more or less have some issues with Wear OS.

Magisk-KeyboardRemaps: Remap HW buttons.

Copy and edit files from PW2, replace all "Power" and "Stem****" to whatever like for me they are remapped to Home and Back. Stem is the second HW button, Power is the crown.

For me the Power is Key 116 and 152

I think there are redundant text replacements overall but no side effect for now so I'll just leave it so. Tries are exhausted.

/system/usr/keylayout/

Generic.kl

gpio-keys.kl

qpnp_pon.kl

qwerty.kl

/vendor/usr/keylayout/

petc.kl​

Edit zip

Remove default remap contents:

Magisk-KeyboardRemaps-v1.0.zip\system​

Add remap contents for PW2:

Magisk-KeyboardRemaps-v1.0.zip\system\usr\keylayout\

Generic.kl

gpio-keys.kl

qpnp_pon.kl

qwerty.kl

Magisk-KeyboardRemaps-v1.0.zip\system\vendor\usr\keylayout\petc.kl​

Make sure is \system\vendor not \vendor for the zip.

LSPosed: For Xposed Edge

The only thing about LSPosed is it's persistent notification.

I install an extra LSPosed Manager APK from an unknown source to take over the owner of that notification and disabled it.

Before that, the notification posted from Android system or Shell

Xposed Edge: For further remap the Home and Back buttons remapped with Magisk-KeyboardRemaps.

Xposed Edge can do the remap on it own but can't block the original functions on PW2 for me(no such issue on phone). Which also can't remap the crown button since Xposed Edge can't remap power button(the dev banned it for it's not safe for human) and crown triggers power button as it original function.

Issue 1:

Can't save Subgestures and Conditionals due to different layout compare to phone. No title bar and the save button on it.

Use phone to setup and Wear to restore config.

Issue 2:

Can't choose apps on watch for Conditional due to different package name or just no same apps on phone.

Use Tasker on phone export any Tasker task to apk and set package name the same as desired watch app package name.

There are commands to make watch resolution easy to use for temporary use.

adb shell wm size 1000*1000

adb shell wm size reset

adb shell wm density 128

adb shell wm density reset

They are handy to set in realtime with PC usb, I also set touch gestures for set and reset via XPEdge on watch.

Backup XPEdge config across devices with huge changes(between phone and wear) with overide files may cause issue which can lead to config restoration failed. So backup to new file if necessary.

Apps with App Shortcuts(launcher icon long press shortcut menu on phone) will show persistent shortcuts on Recents.

Like Magisk, LSPosed, Xposed Edge.

I disabled unused apps like manager apps like Magisk and LSPosed after configuration over.

Also Google Wallet is uninstalled. It enable the package itself on power double click, but it's an issue before remap.

2 methods are used to backup XPEdge: Export config and SwiftBackup(which used for initial config tranfer to phone with full list apps on watch saved as Action Collections(an XPEdge function), for later config-on-phone-only use, which means I try not config XPEdge on watch interface, everytime I config and backup on phone and restore on watch, via LAN samba server and X-Plore file manager on watch, which provide document access for XPEdge export, there's no Document Provider the AOSP Files app on stock Wear OS nor can I install one.

XPEdge app data is cleared manually before import watch configs on phone due to the potential later restoration failed issue via import on watch.

Restoration via SwiftBackup take effect after reboot.

Anyway lots of issues, but Xposed Edge is amazing, worth to try, both HW button remap and gestures on watch. But dev discontinued, don't know will keep working on A15 A16. Let AutoWear do the rest, AW is somewhat complicated for me.