Skip to content

Java.use crashing on 32 bit devices #395

Description

@ExternalAddress4401

Samsung Galaxy S4 Lineage OS Android 11

I have tried both these variants.

import Java from "frida-java-bridge";

const Environment = Java.use("android.os.Environment");
import Java from "frida-java-bridge";

Java.perform(() => {
  const Environment = Java.use("android.os.Environment");
]);

They both result in

frida -U Beatstar -l file.js 
     ____
    / _  |   Frida 17.9.1 - A world-class dynamic instrumentation toolkit
   | (_| |
    > _  |   Commands:
   /_/ |_|       help      -> Displays the help system
   . . . .       object?   -> Display information about 'object'
   . . . .       exit/quit -> Exit
   . . . .
   . . . .   More info at https://frida.re/docs/home/
   . . . .
   . . . .   Connected to SGH I337M (id=RV8F6137H4T)
                                                                                
Connection terminated

Thank you for using Frida!

When either of those are run on a newer Android 15 device

frida -U Beatstar -l file.js
     ____
    / _  |   Frida 17.9.1 - A world-class dynamic instrumentation toolkit
   | (_| |
    > _  |   Commands:
   /_/ |_|       help      -> Displays the help system
   . . . .       object?   -> Display information about 'object'
   . . . .       exit/quit -> Exit
   . . . .
   . . . .   More info at https://frida.re/docs/home/
   . . . .
   . . . .   Connected to CPH2655 (id=c639bc74)
                                                                                
[CPH2655::Beatstar ]->

No problems.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions