Comments (7)
pls try
in adb.py line 197
if '/system_root' in res:
self._syspart_name = '/system_root'
if '/sbin/.magisk/mirror/system_root' in res:
self._syspart_name = '/sbin/.magisk/mirror/system'
#self._syspart_name = '/sbin/.magisk/mirror/system_root/system'
or uncomment the 'system_root/system'
from dwarf.
I don't think this will help either, since this is still not my actual system partition I think.
# mount -o rw,remount /sbin/.magisk/mirror/system_root
'/sbin/.magisk/block/system_root' is read-only
from dwarf.
su -c mount
think sysdir should be
'/sbin/.magisk/mirror/system_root/system'
test with latest commit
from dwarf.
There has sneaked in an extra /
in line 201. I've updated it to
if '/sbin/.magisk/block/system_root' in res:
to actually use the intended path.
But as stated above, manually mounting said path does not work due to the message you see on the screen. See the "#" in front of the command. I was trying to point out I was doing this as root already ;)
from dwarf.
Same problem when installing Frida from Dwarf
Nexus 6 - Android 5.0
Console:
failed to mount /system on device
res = self._do_adb_command('shell mount | grep system')
Return:
/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,seclabel,relatime,data=ordered 0 0
/sbin/.magisk/block/system /sbin/.magisk/mirror/system ext4 ro,seclabel,relatime,data=ordered 0 0
Next command: (not working)
shell su -c mount -o ro,remount /sbin/.magisk/mirror/system
rm
/ mv
etc... - Read-only file system
from dwarf.
This method works for me on Nexus 5X and Nexus 6
Notebook-home:~ paul$ adb shell
shell@shamu:/ $ su
root@shamu:/ # mount -o rw,remount /
root@shamu:/ # touch /system/xbin/texxxxx
root@shamu:/ # ls -la /system/xbin/ | grep tex
-rw-r--r-- root root 0 2020-04-26 05:04 texxxxx
https://didgeridoohan.com/magisk/Magisk#hn_Cant_edit_system_files
from dwarf.
Same problem when installing Frida from Dwarf
Nexus 6 - Android 5.0
Console:failed to mount /system on device
res = self._do_adb_command('shell mount | grep system')Return:
/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,seclabel,relatime,data=ordered 0 0 /sbin/.magisk/block/system /sbin/.magisk/mirror/system ext4 ro,seclabel,relatime,data=ordered 0 0
Next command: (not working)
shell su -c mount -o ro,remount /sbin/.magisk/mirror/system
rm
/mv
etc... - Read-only file system
mount -o ro,.. < readonly
working on a fallback
@sn0opy can u try the syspart_fallback branch
set frida path in adb.py line 48 self._frida_path = ''
adding some find / -name frida-server + path via prefs later
from dwarf.
Related Issues (20)
- Ultra laggy
- Reason: Frida Error: the connection is closed
- dead link http://sec-r.et/dwarf
- JVMDebugger window always EMPTY HOT 5
- TypeError: setRange(self, min: int, max: int): argument 2 has unexpected type 'float' HOT 1
- 调试安卓APP时,提示'utf-8' codec can't codec can't decode byte 0xc9 in position 81:invalid continuation byte
- The question is not about the repository
- is breakpoint on emulated realm using android emulator supported? HOT 2
- pk HOT 1
- Using dwarf to hook syscalls HOT 1
- 能否配置环境,或给出视频教程
- the decompiler output is wrong HOT 8
- Step instruction doesn't work for Java in Android HOT 1
- ReferenceError: breakpoint is not defined HOT 7
- Does core.js match the latest commit in DwarfCore project? HOT 1
- Crash on launch HOT 14
- Crash on launch 2 HOT 1
- Android "ADB missing or no Device" HOT 1
- no output while javascript injecting HOT 2
- how to get Dwarf.core.ts? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dwarf.