virb3 / magisk-frida Goto Github PK
View Code? Open in Web Editor NEW🔐 Run frida-server on boot with Magisk, always up-to-date
🔐 Run frida-server on boot with Magisk, always up-to-date
I was testing objection (https://github.com/sensepost/objection) with Frida today and worked fine using the non-magisk version of Frida but when I installed this version and tried objection I got this error:
`com.doodle.turboracing3d on (realme: 12) [usb] # frida
An unexpected internal exception has occurred. If this looks like a code related error, please file a bug report!
'filename'
Python stack trace: Traceback (most recent call last):
File "C:\Users\Brian\AppData\Local\Programs\Python\Python310\lib\site-packages\objection\console\repl.py", line 371, in start_repl
self.run_command(document)
File "C:\Users\Brian\AppData\Local\Programs\Python\Python310\lib\site-packages\objection\console\repl.py", line 185, in run_command
exec_method(arguments)
File "C:\Users\Brian\AppData\Local\Programs\Python\Python310\lib\site-packages\objection\commands\frida_commands.py", line 38, in frida_environment
('Script Filename', frida_env['filename']),
KeyError: 'filename'`
Idk why all app stuck on splash screen after installation
root@linux:~/frida-scripts# frida -U -p 24505
____
/ _ | Frida 12.8.14 - A world-class dynamic instrumentation toolkit
| (_| |
> _ | Commands:
/_/ |_| help -> Displays the help system
. . . . object? -> Display information about 'object'
. . . . exit/quit -> Exit
. . . .
. . . . More info at https://www.frida.re/docs/home/
Failed to attach: unexpected error while attaching to process with pid 24505
Any solution?
Any chance for frida and MagiskHide to work together? frida needs to have ptrace access and MagiskHide needs it too.
This is not actually an issue but just a question. What's the advantage/difference between running frida "on boot" versus manually starting it?
I observed there are some apps that can detect if Frida is running in a device and I'm curious if this will bypass the detection.
Thanks!
In order to avoid Frida being detected by various applications it would be beneficial if the following could be integrated:
https://github.com/feicong/strong-frida
I didn't want to create a separate, maybe related issue but I cloned the repository and wanted to adjust the URLs to point to strong-frida but now I'm getting the following error:
Last frida tag: v1.13
Last project tag: 15.0.10-1
Last commit tag: 15.0.10-1
Update needed to v1.13-1
MainThread : Creating module
arm : Filling module for arch 'arm'
arm : Downloading 'frida-server-v1.13-android-arm.xz' to '/Users/user/magisk-frida/downloads/frida-server-v1.13-android-arm.xz'
arm : Extracting 'frida-server-v1.13-android-arm.xz' to 'frida-server-arm'
arm64 : Filling module for arch 'arm64'
arm64 : Downloading 'frida-server-v1.13-android-arm64.xz' to '/Users/user/magisk-frida/downloads/frida-server-v1.13-android-arm64.xz'
arm64 : Extracting 'frida-server-v1.13-android-arm64.xz' to 'frida-server-arm64'
x86 : Filling module for arch 'x86'
x86 : Downloading 'frida-server-v1.13-android-x86.xz' to '/Users/user/magisk-frida/downloads/frida-server-v1.13-android-x86.xz'
x86 : Extracting 'frida-server-v1.13-android-x86.xz' to 'frida-server-x86'
concurrent.futures.process._RemoteTraceback:
"""
Traceback (most recent call last):
File "/Users/user/homebrew/Cellar/[email protected]/3.9.6/Frameworks/Python.framework/Versions/3.9/lib/python3.9/concurrent/futures/process.py", line 243, in _process_worker
r = call_item.fn(*call_item.args, **call_item.kwargs)
File "/Users/user/magisk-frida/build.py", line 87, in fill_module
extract_file(frida_server_path, files_dir.joinpath(f"frida-server-{arch}"))
File "/Users/user/magisk-frida/build.py", line 45, in extract_file
file_content = f.read()
File "/Users/user/homebrew/Cellar/[email protected]/3.9.6/Frameworks/Python.framework/Versions/3.9/lib/python3.9/lzma.py", line 200, in read
return self._buffer.read(size)
File "/Users/user/homebrew/Cellar/[email protected]/3.9.6/Frameworks/Python.framework/Versions/3.9/lib/python3.9/_compression.py", line 103, in read
data = self._decompressor.decompress(rawblock, size)
_lzma.LZMAError: Input format not supported by decoder
"""
The above exception was the direct cause of the following exception:
x86_64 : Filling module for arch 'x86_64'
x86_64 : Downloading 'frida-server-v1.13-android-x86_64.xz' to '/Users/user/magisk-frida/downloads/frida-server-v1.13-android-x86_64.xz'
Traceback (most recent call last):
File "/Users/user/magisk-frida/main.py", line 45, in <module>
x86_64 : Extracting 'frida-server-v1.13-android-x86_64.xz' to 'frida-server-x86_64'
main()
File "/Users/user/magisk-frida/main.py", line 41, in main
build.do_build(last_frida_tag, new_project_tag)
File "/Users/user/magisk-frida/build.py", line 118, in do_build
raise future.exception()
_lzma.LZMAError: Input format not supported by decoder
Just wondering if this is normal when I run "frida-ps -U" i see two "frida-server" processes running.
I was wondering how to hook another repo describe in README
doc
https://github.com/ViRb3/magisk-frida#how-fast-are-frida-server-updates,
could you tell me how to make this 😁
I install the newest release 16.0.17 on my Pixel XL, Android 8.1, Magisk Version 26. I can't get into the system now, any ideas?
adb shell logcat yields:
...
04-21 17:13:41.408 1143 1156 I [email protected]::SensorManager: getService: Will do try 141 for [email protected]::ISensorManager/default in 1s...
...
The frida-server
binary does not get installed. Problem detected to be the mv
command from the temporary directory to actual directory. cp
works, but better to avoid temporary directory altogether.
雷电9安装magisk-frida后 模拟器出现了异常 打不开magisk
unable to access PID 1715 (zygote64) while preparing for app launch; try disabling Magisk Hide in case it is active
I don't want to disable Magisk Hide is there any other way?
After install ,that broken sepolicy
@oleavr creating this issue just so people don't report it as a "bug", and so I don't forget. No pressure on when you can make the changes, a manual trigger from my side takes less than a second.
will this fix the hang on frida-server?
it seems like i can run 15.1.14.. but if i try 16.0.11 I can't open any app it just hangs. have to reboot. my phone is redmi note 7
Release notes:
https://github.com/topjohnwu/Magisk/releases/tag/v24.0
Highlights:
updateJson
addedPlan:
updateJson
Hello,
Not sure if you are responsible for this or its magisk's fault but there seems to be an error while Magisk Manager tries to download the module, probably it cant find the zip. Just wanted to let you know.
Im using the latest Magisk 20.4 on Android 9.
Thanks for the project 👍
As i know, by default, frida listens on the localhost but not on 0.0.0.0. How can i do it manually?
Each commit in the Magisk repo holds all of the binaries for that release, making full cloning an increasingly slower and resource-intensive task for the CI.
Investigate pruning git history or creating a shallow clone altogether.
To get the injection running asap so that system applications are affected too, could we make the magisk module run scripts directly when it starts frida on bootup?
Please add updateJson to provide info so the Magisk app can update the module.
Thanks
I use Magisk-Delta 25.2-delta6 with Zygisk enabled this cause no app is starting after activating Magisk-frida. After disabling Zygisk it is working again
xxx@xxxMacBook-Pro-2 ~ % frida-ps -U
Failed to enumerate processes: cannot read property 'getRunningAppProcesses' of undefined
magisk-frida 15.1.17-1
Just modify the installation script to make it compatible,patch
Frida version 15.1.27 is now the latest release https://github.com/frida/frida/releases/tag/15.1.27
Tested successfully on Android 9, but not the same luck on Android 10. I will share my progress whenever I got time to come back to it.
When I installed magisk-frida,adb install command cannot be used.
Performing Streamed Install
adb: failed to install .apk: cmd: Can't find service: package
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.