-
Notifications
You must be signed in to change notification settings - Fork 113
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
Support KernelSU & fix broken Frida server launch #46
base: master
Are you sure you want to change the base?
Conversation
enovella
commented
Jan 27, 2024
![Screenshot 2024-01-27 at 23 15 36](https://private-user-images.githubusercontent.com/14809754/300220983-5e911b59-66cd-4eb5-b29f-fec915e8f996.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg5NjUwOTAsIm5iZiI6MTcxODk2NDc5MCwicGF0aCI6Ii8xNDgwOTc1NC8zMDAyMjA5ODMtNWU5MTFiNTktNjZjZC00ZWI1LWIyOWYtZmVjOTE1ZThmOTk2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjIxVDEwMTMxMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTRlZjMzMDE2NDg4NmU2OGRlZGZkN2U5NTVmODk4YjU2ZDM3YzRhNzZmMTc0ZTJmM2YyYjc2NDM2NzU2ZGQwOGQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.IQMzCMwwB5UQd53_n8oq0uP9AkzRjsPOB6doVLTJhGg)
![Screenshot 2024-01-27 at 23 08 46](https://private-user-images.githubusercontent.com/14809754/300220985-f2b0ed05-d2cd-4542-8591-5f902679a4cd.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg5NjUwOTAsIm5iZiI6MTcxODk2NDc5MCwicGF0aCI6Ii8xNDgwOTc1NC8zMDAyMjA5ODUtZjJiMGVkMDUtZDJjZC00NTQyLTg1OTEtNWY5MDI2NzlhNGNkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjIxVDEwMTMxMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTRhNGU0NmFlOWU5ZWNmMmQ5YjdiYTliYjM1MWQyNTQ1ZjQ5ZGY1Mjg3N2I2ODljY2ZjNzliZGNlYjcyZDljYzYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.EfO85jiYkoO2C4MHTrgVT3TcthmQRPp6RyI8_5v4czI)
@ViRb3 for viz |
Will take a look the next few days, sorry been very busy. |
Understand, the Chinese New Year is busy. |
@enovella Why does the auto restart loop not work for you? I see no reason why it wouldn't work. |
It doesn't work in any of my devices (7-8 laying around). Frida is simply not available after boot with the while-true loop. |
@ViRb3 Any plans to review this PR? Otherwise, I can create a fork and continue adding changes over there. Let me know. |
@enovella Sorry, meant to test myself but got side tracked. I just pulled out my OnePlus 5T running Elixir OS 2.1 (Android 12L), Magisk 27.0, MagiskFrida 16.2.1. It works perfectly as I can debug applications from my computer over USB, and I can also see the process inside a shell in the phone: $ adb shell
OnePlus5T:/ $ pgrep -l frida
3938 frida-server What exact setup did you test across your devices? I honestly find it very strange for the daemonization to work and regular blocking mode not. |
这个PR会继续跟进不?期待能支持kernelsu |
bump |
looking forward to it supporting KernelSU. |
Can all of you please let me know whether the current MagiskFrida with auto restart loop works for you, and you are able to debug apps on your phone using Frida on your PC? I am happy to merge this PR but I want to figure out the problem @enovella is experiencing. |
I already mentioned several times that this auto-restart loop didn't work for me. The phone didn't respond to Frida upon booting and this was tested in so many devices. The idea is to use the flag to daemonize Frida ( |
Yeah, I know it doesn't work for you, but it works for me this is the confusing part. So I am asking other people, apart from you and me, to test as well and we can get a better picture. I don't want to make changes without fully understanding them. There's no reason why daemonizing or not should make a difference. If you have a theory, I am happy to hear it. |
Yeah,this pr is work for me!Nokia 6.1plus,pixel OS
…---Original---
From: ***@***.***>
Date: Fri, May 24, 2024 21:03 PM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [ViRb3/magisk-frida] Support KernelSU & fix broken Frida serverlaunch (PR #46)
Yeah, I know it doesn't work for you, but it works for me this is the confusing part. So I am asking other people, apart from you and me, to test as well and we can get a better picture. I don't want to make changes without fully understanding them.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
@liangjaden can you test the latest official magisk-frida release, not this PR? Link: https://github.com/ViRb3/magisk-frida/releases/download/16.2.5-1/MagiskFrida-16.2.5-1.zip |
Maybe next week, because the phone is
In the company
…---Original---
From: ***@***.***>
Date: Fri, May 24, 2024 21:12 PM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [ViRb3/magisk-frida] Support KernelSU & fix broken Frida serverlaunch (PR #46)
@liangjaden can you test the latest official magisk-frida release, not this PR? Link: https://github.com/ViRb3/magisk-frida/releases/download/16.2.5-1/MagiskFrida-16.2.5-1.zip
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
@enovella His problem can be solved by ending the server process once, and the loop can also work normally |
@ViRb3 After testing, the latest version is working on my phone |
But this would be ugly, wouldn't it? |
This is a probability problem. Sometimes it won't happen, as long as it works,My mobile phone models are pixel3xl and pixel6. |
@enovel unfortunately I only have one device at hand. The stable version of this package has used the loop for over a year and you're the first person to say it doesn't work, so I am just very confused why. I really want to get to the bottom of this before making any changes. I will try to run a different ROM over the next few days, also I'll also try an emulator. For anyone reading this ticket, please also test and let me know. |
@ViRb3 In this case, you can merge the PR with changes and leave your loop until we find a working 100% solution for everyone. Is my PR working on your device? |
@ViRb3 any news? |