r/EmulationOnAndroid • u/AfroBiskit • 9h ago
News/Release RetroShark v0.1.1 - No Root Support (AI Assisted)
I know everyone doesn't want to root their devices, especially if they're into some of the android AAA release like destiny rising, warframe, genshin, zzz, ww, diablo immortal, etc etc. There's an option on Ayn devices(not sure about other handhelds, I've only ever really gone with Ayn), where you can run a script as root. So I did some testing, and I was able to successfully complete a search and edit in Dragon Ball Z Buu's Fury on my unrooted Thor through a script the could act as a go between for RetroShark and Emulation memory. I designed it so a user would only have to run the script once per start up to be able to use RetroShark as if it were a rooted device. It will stay active until a reboot takes place.
This is still a really new feature that's currently getting tested, so take it with a grain of salt. Personally, I didn't like the performance differences between the script and a genuinely rooted device, so I'm working on improving matching the the performance, and trying to make the experience as seamless as possible for you guys! Enjoy!
If you're not on a device with this setting, I'm sorry. The only other two way for this application to work without root that I know of would be the virtual environment method that gameguardian uses, or to have devs build in hooks for memory editors for their emulators. Ppsspp and i believe retroarch support this feature, but not all of them do. I could go fork them all and add them in myself, but I feel like that could be offensive, so this was the implementation that I've settled for so far. I've added the script directly to the new release beneath the apk for easy location <3 Enjoy guys!
What's New & Improved
- Single-file non-rooted setup for AYN Thor / Odin (
tools/retroshark-root-bridge.sh): Non-rooted devices with a built-in Run script as Root setting now only need a single script file (retroshark-root-bridge.sh). It automatically extractsretroshark-memoryfrom the installed RetroShark APK and starts the root bridge. Faster Root Bridge IPC:
list,maps, andregionsnow run directly inside theretroshark-memorybridge process instead of spawning a new child process on every request.- Upgraded bridge framing to 64 KiB single-syscall writes and 64 KiB buffered socket reads (
BufferedInputStream).
UI, Controller & Performance Fixes:
- Fixed Compact/Full keyboard layout switching in
ValueKeyboard. - Applied the active theme in
LauncherActivity, updated its theme summary label, and fixedstartOverlay(displayId). - Fixed
WorkspaceWindowportrait cutout/insets flags when switching displays, removed a dialogOnGlobalLayoutListenerleak, and cachedControllerMapbindings instead of reading preferences on every key event. - Moved
LauncherActivitySAF imports/exports andEmulatorToolscode staging off the main UI thread. - Cached
HelperInstallerand ARM32 speed-helper extractions by APK timestamp; pre-allocatedCanvas/Paint/Path/TextPaintobjects inUiToggleButton,UiIcons,ResultRowButton, andMemoryRowButton. - Made
ProcessPickergrid columns responsive to screen width, stripped UTF-8 BOM in.chtprofile parsing, and fixedLiveWorkspacedialog button sizing, freeze comparison forNaN/Infinity, andControllerHotkeyearly-close cleanup.
- Fixed Compact/Full keyboard layout switching in
Rust Engine & Scripting Fixes:
- Added
Drop(munmap) andEIOdmabuf window refresh inTargetMem(daemonmode now picks up newly mapped/dmabufregions). - Coalesced contiguous
patchwrites and aligneddaemonreadback checks with one-shotpatch. - Replaced per-wave thread spawning in
first_stream_parallelwith a single scoped worker pool, and optimizedprocess_pagemapwithpartition_pointand reusable scratch buffers. - Fixed
gg.dumpMemory/proc/<pid>/mapspathname parsing whenDUMP_SKIP_SYSTEM_LIBSis set.
- Added
https://github.com/DarkLucario/RetroShark/releases/tag/v0.1.1
AI-assisted disclaimer: RetroShark was built with substantial help from AI coding assistants. AI tools helped write and review much of the code, documentation, release notes and promo material. The maintainer directed the work, and tested the results on a real device. Expect bugs, check results before relying on them, and report problems on the Issue Tracker.