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

Error patchinginstrumentation.smali - FrameworkPatcherGO-v1.0.1 #5

Closed
ogromanas opened this issue Jun 10, 2024 · 7 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@ogromanas
Copy link

android_14.0.0-r35
Voltage os 3.4
MANUFACTURER": "Xiaomi",
"MODEL": "Redmi Note 10 Pro",
"FINGERPRINT": "Redmi/sweet_eea/sweet:13/RKQ1.210614.002/V14.0.9.0.TKFEUXM:user/release-keys",

[******************************

Patching Instrumentation.smali file ...


Method found: .method public static whitelist newApplication(Ljava/lang/Class;Landroid/content/Context;)Landroid/app/Application;
Context register not found in newApplication static method
Mounting:auto:ro:1: /dev/block/dm-4 /system_ext
Mounting:auto:ro:1: /dev/block/dm-1 /vendor
Mounting:auto:ro:1: /dev/block/dm-2 /product
Mounting:auto:ro:1: /dev/block/dm-3 /odm

  • Error: Failed to install module script
    Error: Failed to install module script

KernelSU_install_log_2024-06-10-09-13-04.log](https://github.com/user-attachments/files/15758057/KernelSU_install_log_2024-06-10-09-13-04.log)

@ogromanas
Copy link
Author

framework.jar.rnm.zip
Framework.jar

@changhuapeng changhuapeng added the bug Something isn't working label Jun 10, 2024
@changhuapeng changhuapeng self-assigned this Jun 10, 2024
@changhuapeng
Copy link
Owner

Can you try this?
FrameworkPatcherGO-v1.0.1-test.zip

@ogromanas
Copy link
Author

Now, it seems that the installation is correct according to the log. But on reboot, the system does not boot and stays in the boot logo. I clean the cache and dalvik-cache, the system reboots now. But if I go into kernelsu, the module does not appear. As if it was not installed. If I check /data/adb/modules there is no trace of the installation. If I install it again (it still gives me a successful installation), before rebooting, I check /data/adb and /data/adb/modules/ and it still doesn't appear.

KernelSU_install_log_2024-06-10-17-11-32.log
KernelSU_install_log_2024-06-10-17-20-04.log

@ogromanas
Copy link
Author

ogromanas commented Jun 10, 2024

With the second installation and subsequent reboot. No need to clean cache and dalvik cache. The module does appear.

In keyattestation app comes out this:

I use microg, CTS fail basic. Cts profile does not match.
No custom module used:
playcurl-v10.6
PlayIntegrityFix_v15.9.9
Zygisk Next-v1.0.5

Screenshot_20240610-173903

@ogromanas
Copy link
Author

/data/adb/modules/FrameworkPatcherGo

FrameworkPatcherGo.zip

@changhuapeng
Copy link
Owner

changhuapeng commented Jun 11, 2024

Your modified framwork.jar looks good and the patches are being applied properly.

Honestly, I'm not too knowledgeable about microG to provide a solution but since you're using PIF already, are you able to pass DEVICE integrity with that module?

Edit: I'm not sure if this helps with builds on microG, but you can try the module with this classes.dex which I've modified to add logging and see if fingerprint fields are being set properly or not: https://xdaforums.com/t/module-framework-patcher-go.4674536/page-7#post-89555195

@changhuapeng
Copy link
Owner

Can you try this? FrameworkPatcherGO-v1.0.1-test.zip

Firstly, I'm closing this issue to mark it resolved since you're able to install the module successfully after this particular fix.

Secondly, please read q.6 in the FAQ and see if the mentioned solutions help with your CTS or Play Integrity problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants