Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help needed - error when patching ui fileset #35

Closed
Xanto7 opened this issue Jan 25, 2021 · 2 comments
Closed

Help needed - error when patching ui fileset #35

Xanto7 opened this issue Jan 25, 2021 · 2 comments

Comments

@Xanto7
Copy link

Xanto7 commented Jan 25, 2021

I am receiving an error message when patching sigspoof-ui-global-9.0, however hook and core were "success".

./patch-fileset patches/sigspoof-ui-global-9.0/ 28 miuiphone__sigspoof-hook-7.0-9.0__sigspoof-core/
>>> target directory: miuiphone__sigspoof-hook-7.0-9.0__sigspoof-core__sigspoof-ui-global-9.0
>>> apply patch: services.jar
>>> dexpatcher --api-level 28 --verbose --output miuiphone__sigspoof-hook-7.0-9.0__sigspoof-core__sigspoof-ui-global-9.0/tmp/services.jar/patched-dex --multi-dex miuiphone__sigspoof-hook-7.0-9.0__sigspoof-core/services.jar patches/sigspoof-ui-global-9.0/services.jar.dex
DexPatcher version 1.6.2 by Lanchon (https://dexpatcher.github.io/)
info: read 'miuiphone__sigspoof-hook-7.0-9.0__sigspoof-core/services.jar'
info: read 'patches/sigspoof-ui-global-9.0/services.jar.dex'
info: type 'com.android.server.pm.GeneratePackageInfoHook': method '<init>():void': implicit ignore of trivial default constructor
info: write 'miuiphone__sigspoof-hook-7.0-9.0__sigspoof-core__sigspoof-ui-global-9.0/tmp/services.jar/patched-dex'
0 error(s), 0 warning(s)
>>> repack: services.jar
deleting: classes.dex
  adding: classes.dex (stored 0%)
>>> apply patch: Settings.apk
>>> dexpatcher --api-level 28 --verbose --output miuiphone__sigspoof-hook-7.0-9.0__sigspoof-core__sigspoof-ui-global-9.0/tmp/Settings.apk/patched-dex --multi-dex miuiphone__sigspoof-hook-7.0-9.0__sigspoof-core/Settings.apk patches/sigspoof-ui-global-9.0/Settings.apk.dex
DexPatcher version 1.6.2 by Lanchon (https://dexpatcher.github.io/)
info: read 'miuiphone__sigspoof-hook-7.0-9.0__sigspoof-core/Settings.apk'
info: read 'patches/sigspoof-ui-global-9.0/Settings.apk.dex'
error: type 'com.android.settings.development.DevelopmentSettingsDashboardFragment': method 'buildPreferenceControllers(android.content.Context, android.app.Activity, com.android.settingslib.core.lifecycle.Lifecycle, com.android.settings.development.DevelopmentSettingsDashboardFragment, com.android.settings.development.BluetoothA2dpConfigStore):java.util.List': target not found
1 error(s), 0 warning(s)
@Lanchon
Copy link
Owner

Lanchon commented Jan 26, 2021 via email

@Xanto7
Copy link
Author

Xanto7 commented Jan 26, 2021

Yes! Signature spoofing is working now, without ui though, but that doesn't really matter. I also had to manually copy all the files(Settings.apk, ext.jar, framework.jar...), because after successful "adb remount" system was still read-only.

@Xanto7 Xanto7 closed this as completed Jan 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants