Skip to content

fail to run android root disable #774

@0xm1nt

Description

@0xm1nt

[tab] for command suggestions
com.pentestmobile.approot (run) on (Android: 10) [usb] # android root disable
A Frida agent exception has occurred.
Error: Java API not available
at _checkAvailable (/src/index.js:13470)
at perform (/src/index.js:13336)
at (/src/index.js:13544)
at Promise (native)
at wrapJavaPerform (/src/index.js:13545)
at testKeysCheck (/src/index.js:20885)
at disable2 (/src/index.js:21127)
at androidRootDetectionDisable (/src/index.js:21321)
at call (native)
at handleRpcMessage (/frida/runtime/message-dispatcher.js:39)
at handleMessage (/frida/runtime/message-dispatcher.js:25)

Python stack trace: Traceback (most recent call last):
File "C:\Users\mint\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\objection\console\repl.py", line 362, in run
self.run_command(document)
~~~~~~~~~~~~~~~~^^^^^^^^^^
File "C:\Users\mint\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\objection\console\repl.py", line 170, in run_command
exec_method(arguments)
~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\mint\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\objection\commands\android\root.py", line 13, in disable
api.android_root_detection_disable()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "C:\Users\mint\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\frida\core.py", line 180, in method
return script._rpc_request(request, data, **kwargs)
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mint\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\frida\core.py", line 86, in wrapper
return f(*args, **kwargs)
File "C:\Users\mint\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\frida\core.py", line 497, in _rpc_request
raise result.error
frida.core.RPCException: Error: Java API not available
at _checkAvailable (/src/index.js:13470)
at perform (/src/index.js:13336)
at (/src/index.js:13544)
at Promise (native)
at wrapJavaPerform (/src/index.js:13545)
at testKeysCheck (/src/index.js:20885)
at disable2 (/src/index.js:21127)
at androidRootDetectionDisable (/src/index.js:21321)
at call (native)
at handleRpcMessage (/frida/runtime/message-dispatcher.js:39)
at handleMessage (/frida/runtime/message-dispatcher.js:25)

com.pentestmobile.approot (run) on (Android: 10) [usb] #
some1 knows how to fix it?
jdk 17
frida server running

Metadata

Metadata

Assignees

No one assigned

    Labels

    freshissueDefault label for new, untriaged issues.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions