melonDS-android icon indicating copy to clipboard operation
melonDS-android copied to clipboard

JIT Isn't available on my smartphone

Open goliv04053 opened this issue 4 years ago • 6 comments

  • Device model: Samsung Galaxy A11
  • Android version: 10

Problem:
I have a 64 bit phone but JIT isn't available

goliv04053 avatar Apr 28 '21 19:04 goliv04053

Even though the chipset is capable of operating in 64-bit mode, Android on the Galaxy A11 runs in 32-bit mode to reduce memory usage.

You may be able to get a custom ROM that has 64-bit support for the Galaxy A11, but on stock, there is no way to use the ARM64 JIT.

RayyanAnsari avatar Apr 30 '21 16:04 RayyanAnsari

Sorry for not answering sooner. I went around to see if I could find more information about this device but I only found that, as you said, it has a 64 bit SoC. However, as WaluigiWare64 said, the software running on it may be 32 bit (just like how you can use a 32 bit version of Windows on a 64 bit CPU). To remove any doubts, do you think you could install CPU-Z from the Play Store on your device and take a screenshot of the "System" tab? Or alternatively, just tell me what is displayed in the "Kernel Architecture" entry.

rafaelvcaetano avatar Apr 30 '21 16:04 rafaelvcaetano

Sorry for not answering sooner. I went around to see if I could find more information about this device but I only found that, as you said, it has a 64 bit SoC. However, as WaluigiWare64 said, the software running on it may be 32 bit (just like how you can use a 32 bit version of Windows on a 64 bit CPU). To remove any doubts, do you think you could install CPU-Z from the Play Store on your device and take a screenshot of the "System" tab? Or alternatively, just tell me what is displayed in the "Kernel Architecture" entry.

The kernel architecture is armv8l

goliv04053 avatar May 01 '21 06:05 goliv04053

armv8l means that your device's software is indeed running in 32 bit mode. As such, the JIT recompiler is not expected to work. I would like to implement a 32 bit version of the JIT recompiler but I still have a lot to learn in this area and there are a lot of other features that I want to prioritize.

rafaelvcaetano avatar May 02 '21 00:05 rafaelvcaetano

Smh this ruined any chance of me running it on my Android TV device. My phone is more crappy then it I think lol.

ghost avatar May 19 '21 15:05 ghost

@rafaelvcaetano cpu-z doesn't show if your phone is 32bit or 64bit better use aida64 Screenshot_2021-06-13-00-11-46-051_com finalwire aida64 My phone is 64bit ARMv8-a :)

ghost avatar Jun 12 '21 16:06 ghost