Giter VIP home page Giter VIP logo

Comments (15)

matbrik avatar matbrik commented on May 30, 2024

I manually copied the frida binary in /data/local/tmp/ and modified the commands to frida in adb from frida to /data/local/tmp/frida and now it shows correctly the processes and the apps

from dwarf.

PinkiePieStyle avatar PinkiePieStyle commented on May 30, 2024

should be fixed with
45b2f03

from dwarf.

matbrik avatar matbrik commented on May 30, 2024

with the new commit on the terminal which started dwarf once I click the button "install frida" I get "failed to mount /system on device" and the red bar stays hanging with the label "Mounting devices filesystem..."

from dwarf.

PinkiePieStyle avatar PinkiePieStyle commented on May 30, 2024

make sure in magisk->superuser 'shell' is enabled

from dwarf.

matbrik avatar matbrik commented on May 30, 2024

yes it is

from dwarf.

PinkiePieStyle avatar PinkiePieStyle commented on May 30, 2024

whats the output when u run
adb shell "mount | grep system"
in console

from dwarf.

matbrik avatar matbrik commented on May 30, 2024

/dev/block/sda34 on /system_root type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/sda34 on /system type ext4 (ro,seclabel,relatime,data=ordered)
/sbin/.magisk/block/system_root on /sbin/.magisk/mirror/system_root type ext4 (ro,seclabel,relatime,data=ordered)

from dwarf.

PinkiePieStyle avatar PinkiePieStyle commented on May 30, 2024

ok so
adb root
adb remount
should work

from dwarf.

PinkiePieStyle avatar PinkiePieStyle commented on May 30, 2024

or u can try changing in lib/adb.py
line 390
from
res = self.su_cmd('mount -o rw,remount /system')
to
res = self.su_cmd('mount -o rw,remount /dev/block/sda34 /system')

from dwarf.

matbrik avatar matbrik commented on May 30, 2024

same error with res = self.su_cmd('mount -o rw,remount /dev/block/sda34 /system')
also adb root does not work because

adbd cannot run as root in production builds

from dwarf.

iGio90 avatar iGio90 commented on May 30, 2024

Whats the output of
adb shell su -c getenforce
adb shell su -c mount -o rw,remount /system

from dwarf.

matbrik avatar matbrik commented on May 30, 2024

adb shell su -c getenforce --> Enforcing
adb shell su -c mount -o rw,remount /system --> blank line

from dwarf.

iGio90 avatar iGio90 commented on May 30, 2024

blank line means success.

adb shell su -c setenforce 0
(Just to be sure)

from dwarf.

iGio90 avatar iGio90 commented on May 30, 2024

Try to
adb shell
su
echo test >> /system/xbin/testtttt
rm /system/xbin/testtttt

If it works you can safely copy frida there and chmod a+x it

from dwarf.

matbrik avatar matbrik commented on May 30, 2024

adb shell
marlin:/ $ su
marlin:/ # echo test >> /system/xbin/testtttt
/system/bin/sh: can't create /system/xbin/testtttt: No such file or directory

there is no xbin folder in /system/
side question: why are you installing frida in system and not in /data/local/tmp/ ?

from dwarf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.