adil192 / SamsungAppsPatcher

[Unmaintained] Samsung Apps Patcher for Samsung phones with custom ROMs
https://adil.hanney.org/SamsungAppsPatcher/
74 stars 7 forks source link

Patching Wearable App creates conflict with watch plugin. #13

Closed wiredroid closed 2 years ago

wiredroid commented 2 years ago

Watch 4 Plugin

To reproduce error: Install wearable app, pair watch, wait for wearable app to download plugin. Plugin is unable to be installed because package name conflicts with wearable package name.

Screenshot_20220831-095705_Package installer

wiredroid commented 2 years ago

Sorry for this. I didn't realise all apks had to be patched. Watch4Plugin patch sends this error. The XDA link regarding watch 4 is to get Health Monitor working in unsupported regions.

./wearable-patcher.sh watch4plugin [1 / 1] patching watch4plugin I: Framework installed to: /data/data/com.termux/files/home/.local/share/apktool/framework/127.apk I: Using Apktool 2.6.2-SNAPSHOT on watch4plugin.apk I: Loading resource table... I: Decoding AndroidManifest.xml with resources... I: Loading resource table from file: /data/data/com.termux/files/home/.local/share/apktool/framework/1.apk I: Regular manifest package... I: Decoding file-resources... I: Decoding values / XMLs... I: Baksmaling classes.dex... I: Baksmaling classes2.dex... I: Baksmaling classes3.dex... I: Baksmaling classes4.dex... I: Baksmaling classes5.dex... I: Baksmaling classes6.dex... I: Baksmaling classes7.dex... I: Copying assets and libs... I: Copying unknown files... I: Copying original files... I: Copying META-INF/services directory patching samsung check in watch4plugin

patching samsung account dependency in watch4plugin

patching watch4plugin with watch4plugin_custom_cert.patch

patching file smali/com/google/android/gms/common/zzw.smali Hunk #1 FAILED at 213. 1 out of 1 hunk FAILED -- saving rejects to file smali/com/google/android/gms/common/zzw.smali.rej can't find file to patch at input line 54 Perhaps you used the wrong -p or --strip option? The text leading up to this was:

|--- smali_classes2/com/samsung/android/aidl/constant/WPMConstant.smali |+++ smali_classes2/com/samsung/android/aidl/constant/WPMConstant.smali

File to patch: Skip this patch? [y] Skipping patch. 3 out of 3 hunks ignored can't find file to patch at input line 86 Perhaps you used the wrong -p or --strip option? The text leading up to this was:

|--- smali_classes3/com/samsung/android/companionservice/hiddensetup/WatchAppSidLoadingServiceInterface.smali |+++ smali_classes3/com/samsung/android/companionservice/hiddensetup/WatchAppSidLoadingServiceInterface.smali

File to patch:

adil192 commented 2 years ago

Hi wiredroid, Watch4 doesn't work with this project sorry!