GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com β€” GitHub - Maxamedxasa/SakoREStudio: πŸ›‘οΈ Mobile-first Interactive Disassembler & Decompiler Framework β€” IDA Pro / Ghidra-class RE on Android. APK Β· ELF Β· PE Β· DEX Β· ARM64 Β· x86-64 Β· IR decompiler Β· call graph Β· ptrace debugger Β· SakoScript plugins. Created by Maxamed Xasan Muse πŸ‡ΈπŸ‡΄

BranchesTags
Open more actions menu

Latest commit

 

History

5 Commits
5 Commits

Folders and files

NameName
Last commit message
Last commit date
app
app
 
 
assets
assets
 
 
docs
docs
 
 
gradle
gradle
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
build.gradle.kts
build.gradle.kts
 
 
gradle.properties
gradle.properties
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
settings.gradle.kts
settings.gradle.kts
 
 
sitemap-key.txt
sitemap-key.txt
 
 
sitemap.xml
sitemap.xml
 
 

Repository files navigation

Sako RE Studio β€” Mobile-first Interactive Disassembler & Decompiler Framework

πŸ›‘οΈ Sako RE Studio

Mobile-first Interactive Disassembler & Decompiler Framework

IDA Pro & Ghidra β€” gacanta ku jira / in your pocket

Release Platform APK Made In Somalia Author License

⬇️ DOWNLOAD APK Β· 🌐 Website/Landing Β· πŸ‡ΈπŸ‡΄ Soomaali Β· πŸ‡¬πŸ‡§ English

Sako RE Studio demo β€” disassembly, call graph, decompiler

πŸ‡ΈπŸ‡΄ SOOMAALI

🧠 Waa maxay Sako RE Studio?

Sako RE Studio waa qalab buuxa oo reverse engineering ah oo mobile-ka lagu shaqeeyo β€” disassembler, decompiler, call graph, debugger, APK analyzer iyo nidaam plugins oo dhan ayaa isku hal app ku dhex jira. Hadalka uga gaabkan: waa IDA Pro ama Ghidra, laakiin telefoonkaada gacanta ku jira. Engine-ka waa C++17 (NDK) oo ku shaqeeya Capstone 4.0.2, UI-guna waa Kotlin Jetpack Compose oo casri ah. Waxaa lagu falanqayn karaa APK Β· ELF Β· PE Β· DEX β€” ARM64 iyo x86-64ba wax walba oo app-ka dhexdiisa ah ayaa goobo la'aan shaqeeya (falanqayntu way offline tahay).

App-kan waxaa si buuxda ah u sameeyay horumariye Soomaaliyeed β€” waa qalabkii ugu horreeyay ee noocaan ah oo ka soo saarma Soomaaliya πŸ‡ΈπŸ‡΄

✨ Awoodaha (Features)

# Feature Waxa ay samayso
1 πŸ—„οΈ Kaydinka Mashruuca (SQLite) Rename kasta, comment, bookmark iyo note si toos ah ayay SQLite u kaydisaan β€” app-ka wuu xirmay markale, waxba ma lumiyaan
2 πŸ” Falanqayn Xeelad Leh Helitaanka functions-ka si otomaatig ah, call graph dhab ah (PLT/GOT/IAT resolution), xrefs, C++ demangler (Itanium + MSVC), iyo auto-comments (string refs, APIs khatar ah ⚠)
3 βš™οΈ Decompiler (IR dhab ah) ASM β†’ IR β†’ pseudo-C: expression trees, propagation, DSE, while loops (back-edges), if/else, call arguments, iyo kala-duw uur variables (u64 a0)
4 πŸ•ΈοΈ Graph View CFG isdhexgal ah: jiid (drag) nodes-ka, zoom, midabada block-yada (green=entry, red=exit, amber=branch), raadin iyo minimap
5 🐞 Debugger Dhab Ah ptrace session: Spawn / Attach PID, software breakpoints (BRK / 0xCC), registers (akhris/qorid), memory read/write, stack view, thread list
6 πŸ“¦ APK Analyzer Manifest (AXML binary parser): package, version, permissions (kuwo khatar ah ayaa ⚠ lagu calaamadaynayaa), activities/services/receivers + intent-filters, DEX classes, native libs, resources wata image preview
7 🧩 Plugin System (SakoScript) Luuqad programming oo app-ka ku dhex jirta (variables, if/while/for, functions) + host API 20+ oo function ah. 4 plugin ayaa la soo shubay
8 πŸ€– AI Assistant Explain (offline) β€” sharaxaad function kasta oo internet la'aan shaqeysa; ama ku xir OpenAI / DeepSeek / Ollama endpoint gaar ah
9 πŸ“± UI Casri Ah 13 tab, command palette (Ctrl+K), search everywhere (Ctrl+F), goto address (Ctrl+G), shortcuts buuxa (F1 = caawimo)

πŸ“² Sida Loo Rakibo

  1. Fur Releases β†’ soo dejiso SakoREStudio-v2.0.3.apk (~10 MB)
  2. Fur APK-ga β†’ hadduu browser-ku ama file manager-ku dhib ku qado β†’ ogol "Install unknown apps"
  3. Rakib β†’ fur β†’ diyaar! (Android 8.0+ Β· arm64-v8a & x86_64 Β· ma u baahna root β€” debugger-keliya ayaa root u baahan)

πŸš€ Sida Loo Isticmaalo β€” Hagaha Buuxa

1 Β· Fur file App-ka fur β†’ ku dhufo πŸ“‚ (ama Ctrl+K β†’ "Open file") β†’ dooro .apk, .so, .dex ama .exe. Tusaale diyaar ah waxaad ku haysataa app/samples/ (test.so, test_arm64.so, test.dex, test.exe) β€” ku soo dhaji telefoonka, markaas ku fur app-ka.

2 Β· Falanqayn otomaatig Engine-ku wuu falanqaynayaa keligiis: functions, strings, imports/exports, xrefs iyo call graph. Console-ka (tab-ka u dambeeya) waxaad aragtaan iyada: OK Β· 7,012 functions Β· 14,203 xrefs.

3 Β· Assembly (disassembly) Tab-ka Assembly β†’ dooro function β†’ waxaad aragtaan disassembly wata auto-comments (tusmo string-yada, call targets, APIs khatar ah ⚠). Long-press on line β†’ rename function / comment / bookmark β€” wax walba SQLite ayay ku kaydaan.

4 Β· Pseudo-C (decompiler) Tab-ka Pseudo-C β†’ engine-ku ASM-ka ayuu u rogayaa IR, kadibna pseudo-C qaab la akhriyi karo (while, if/else, call args...). Waxaad aragtaan tirakoobka pipeline-ga: IR nodes, DSE, loops.

5 Β· Graph (CFG) Tab-ka Graph β†’ jaantuska function-ka: nodes-ka waad jiidi kartaa, pinch zoom, midabyada block-yada wax kasta sheegaan, minimap-ka geeska hoose ayaa degdeg u dhaqaaqinaya.

6 Β· CallGraph Tab-ka CallGraph β†’ "Whole binary" ama "This function" β†’ tree-ka calls / called-by; imports-ka waa amber.

7 Β· APK Tab-ka APK β†’ Manifest (laga furay AXML-ka binary-ga ah), Permissions (kuwo khatar ah ⚠), Components + intent-filters, DEX classes, Native libs (tap = extract + falanqayn), Resources (tap image = preview).

8 Β· Debugger (root ama debuggable device) Tab-ka Debugger β†’ Spawn (tusaale: /system/bin/toybox sleep 30) β†’ BP @ function β†’ markuu breakpoint-ku gaaro: registers, memory, stack, threads β†’ Continue. Ama Attach PID process jira.

9 Β· AI Tab-ka AI β†’ dooro function β†’ Explain (offline) β€” sharaxaad degdeg ah. Ama βš™ Settings β†’ geli OpenAI-compatible endpoint (OpenAI / DeepSeek / Ollama) β†’ Ask LLM.

10 Β· Plugins Tab-ka Plugins β†’ 4 plugin ayaa diyaar: security-auditor, arm-analyzer, dex-helper, string-hunter β†’ Run β†’ effects-ka (rename/comment) si toos ah DB-ga u geliyaan.

11 Β· Kaydi Ctrl+S β†’ mashruuca SQLite-ga ayaa la kaydiyaa β†’ drawer-ka RECENT PROJECTS ka fur markale.

🧩 SakoScript β€” Luuqada Plugins-ka

## Tusaale: baarista APIs-ka khatar ah
n  = count_functions()
ni = count_imports()
log("functions:", n, "Β· imports:", ni)

risky = 0
for i in 0..ni-1 {
    imp = import_at(i)
    if classify(imp.name) == "dangerous" {
        log("[!] UNSAFE:", imp.name)
        risky = risky + 1
    }
}

for i in 0..n-1 {
    f = func_at(i)
    if f.size > 2048 {
        comment(f.addr, "LARGE function β€” audit manually")
    }
}

Host API: log() Β· count_functions() Β· func_at(i) Β· func_by_name() Β· count_strings() Β· string_at(i) Β· count_imports() Β· import_at(i) Β· demangle() Β· classify() Β· count_xrefs_to() Β· xref_to_at() Β· rename() Β· comment() Β· bookmark() Β· hex() Β· strlen() Β· charat() Β· str() Luuqada: numbers/strings/bools/objects Β· if/else Β· while Β· for i in a..b { } Β· fun f(x) { return x }

⌨️ Keyboard Shortcuts

Key Waxay samayso
Ctrl+K Command palette
Ctrl+F Search everywhere (functions + strings + comments + bookmarks)
Ctrl+G U dhaqaaq address (goto)
Ctrl+O Fur file
Ctrl+S Kaydi mashruuca
Ctrl+T Beddel dark/light theme
Ctrl+1..9 Tab u dhaqaaq
F1 Caawimo buuxda

πŸ‡¬πŸ‡§ ENGLISH

🧠 What is Sako RE Studio?

Sako RE Studio is a complete reverse engineering suite that runs entirely on your phone β€” an interactive disassembler, an IR-based decompiler, a call-graph explorer, a real ptrace debugger, an APK analyzer and a plugin scripting system, all inside one app. In the shortest possible terms: it is IDA Pro / Ghidra, rebuilt mobile-first. The engine is C++17 (Android NDK) powered by Capstone 4.0.2, the UI is modern Kotlin Jetpack Compose. It analyzes APK Β· ELF Β· PE Β· DEX binaries for ARM64 and x86-64, and all analysis runs 100% offline β€” nothing leaves your device unless you configure your own AI endpoint.

Built end-to-end by a Somali developer β€” the first mobile reverse-engineering studio of its kind out of Somalia πŸ‡ΈπŸ‡΄

✨ Features

# Feature What it does
1 πŸ—„οΈ Project Database (SQLite) Every rename, comment, bookmark and note persists per-project β€” close the app, reopen, nothing is lost
2 πŸ” Deep Analysis Engine Automatic function discovery, real call graph (PLT/GOT/IAT resolution), xrefs, C++ demangler (Itanium + MSVC), auto-comments (string refs, dangerous APIs ⚠)
3 βš™οΈ IR Decompiler ASM β†’ IR β†’ pseudo-C: expression trees, propagation, dead-store elimination, while loops from back-edges, if/else structuring, call arguments, typed declarations (u64 a0)
4 πŸ•ΈοΈ Interactive Graph View CFG canvas: drag nodes, zoom, color-coded blocks (green=entry, red=exit, amber=branch), search + minimap
5 🐞 Real Debugger ptrace session: Spawn / Attach PID, software breakpoints (BRK / 0xCC with auto-rewind), register read/write, memory read/write, stack view, thread list
6 πŸ“¦ APK Analyzer Binary AXML manifest parser: package/version/SDK, permissions (dangerous ones flagged ⚠), components + intent-filters, DEX classes, native libs, resources with image preview
7 🧩 Plugin System (SakoScript) An embedded scripting language (variables, if/while/for, functions) + a 20+-function host API. 4 plugins bundled
8 πŸ€– AI Assistant Explain (offline) β€” heuristic explanation of any function without internet; or plug in your own OpenAI / DeepSeek / Ollama endpoint
9 πŸ“± Modern UI 13 tabs, command palette (Ctrl+K), search everywhere (Ctrl+F), goto address (Ctrl+G), full keyboard shortcuts (F1 = help)

πŸ“² Install

  1. Open Releases β†’ download SakoREStudio-v2.0.3.apk (~10 MB)
  2. Open the APK β†’ if prompted, allow "Install unknown apps"
  3. Install β†’ open β†’ done! (Android 8.0+ Β· arm64-v8a & x86_64 Β· no root required β€” only the debugger needs root/debuggable)

πŸš€ Quick Start

  1. Open a binary β€” tap πŸ“‚ (or Ctrl+K β†’ "Open file") and pick .apk / .so / .dex / .exe. Ready-made samples live in app/samples/ (test.so, test_arm64.so, test.dex, test.exe) β€” push them to the phone and open them.
  2. Automatic analysis β€” the engine discovers functions, strings, imports/exports, xrefs and the call graph by itself. The Console tab narrates everything: OK Β· 7,012 functions Β· 14,203 xrefs.
  3. Assembly β€” pick a function: Capstone disassembly with auto-comments (string references, call targets, dangerous APIs ⚠). Long-press any line β†’ rename / comment / bookmark (persisted to SQLite).
  4. Pseudo-C β€” the decompiler tab: ASM β†’ IR β†’ readable C-like code with loops, branches and call arguments, plus pipeline stats (IR nodes, DSE, loops).
  5. Graph β€” the function's control-flow graph: drag nodes, pinch-zoom, color-coded blocks, minimap for fast navigation.
  6. CallGraph β€” whole-binary tree or per-function callers/callees; imports highlighted in amber.
  7. APK β€” decoded manifest, permissions (dangerous flagged ⚠), components with intent-filters, DEX classes, native libs (tap = extract + analyze), resources (tap image = preview).
  8. Debugger (root/debuggable device) β€” Spawn (e.g. /system/bin/toybox sleep 30) β†’ BP @ function β†’ on hit inspect registers/memory/stack/threads β†’ Continue. Or Attach to a running PID.
  9. AI β€” select a function β†’ Explain (offline); or βš™ Settings β†’ add an OpenAI-compatible endpoint (OpenAI / DeepSeek / Ollama) β†’ Ask LLM.
  10. Plugins β€” run the 4 bundled SakoScript plugins (security-auditor, arm-analyzer, dex-helper, string-hunter); effects are applied straight into the project database.
  11. Save β€” Ctrl+S persists the SQLite project; reopen later from RECENT PROJECTS in the drawer.

🧩 SakoScript β€” the Plugin Language

## Example: hunt dangerous APIs
n  = count_functions()
ni = count_imports()
log("functions:", n, "Β· imports:", ni)

risky = 0
for i in 0..ni-1 {
    imp = import_at(i)
    if classify(imp.name) == "dangerous" {
        log("[!] UNSAFE:", imp.name)
        risky = risky + 1
    }
}

for i in 0..n-1 {
    f = func_at(i)
    if f.size > 2048 {
        comment(f.addr, "LARGE function β€” audit manually")
    }
}

Host API: log() Β· count_functions() Β· func_at(i) Β· func_by_name() Β· count_strings() Β· string_at(i) Β· count_imports() Β· import_at(i) Β· demangle() Β· classify() Β· count_xrefs_to() Β· xref_to_at() Β· rename() Β· comment() Β· bookmark() Β· hex() Β· strlen() Β· charat() Β· str() Language: numbers/strings/bools/objects Β· if/else Β· while Β· for i in a..b { } Β· fun f(x) { return x }

πŸ› οΈ Build from Source

Requirements: Android Studio (Ladybug+) Β· NDK 27.2.12479018 Β· CMake 3.22.1 Β· JDK 17 (bundled with Studio)

git clone https://github.com/Maxamedxasa/SakoREStudio.git
# Android Studio β†’ File β†’ Open β†’ select the SakoREStudio folder
# wait for Gradle sync β†’ Run β–Ά  (first sync downloads Gradle 8.10.2 + deps)

Command line:

./gradlew assembleDebug          # debug APK β€” works out of the box

Release signing (optional): create app/keystore.properties (gitignored):

storeFile=sakore-release.jks
storePassword=your_password
keyAlias=your_alias
keyPassword=your_password

Generate a keystore with:

keytool -genkeypair -v -keystore app/sakore-release.jks -alias your_alias \
  -keyalg RSA -keysize 2048 -validity 10000

Without this file, release builds simply produce an unsigned APK β€” debug builds always work.

Project layout:

app/src/main/
β”œβ”€β”€ cpp/capstone/            vendored Capstone 4.0.2
β”œβ”€β”€ cpp/sako/                C++17 engine: loaders (ELF/PE/DEX), disassembler,
β”‚                            IR decompiler, deep analysis, call graph,
β”‚                            debug session, SakoScript interpreter, JSON API
β”œβ”€β”€ cpp/sako_jni.cpp         JNI bridge
β”œβ”€β”€ assets/plugins/          bundled SakoScript plugins (4)
β”œβ”€β”€ java/com/sakore/studio/
β”‚   β”œβ”€β”€ data/ProjectDb.kt    SQLite project database
β”‚   β”œβ”€β”€ engine/NativeBridge.kt
β”‚   β”œβ”€β”€ model/ApkAnalyzer.kt binary AXML parser
β”‚   β”œβ”€β”€ ui/                  Compose UI (13 tabs, graph, palette, debugger…)
β”‚   └── vm/StudioViewModel.kt
└── samples/                 test.so Β· test_arm64.so Β· test.dex Β· test.exe

⚠️ Known Limitations

  • Debugger needs a rooted or ro.debuggable=1 device (SELinux may deny ptrace for system binaries). Breakpoints are software-based; no hardware watchpoints yet.
  • Decompiler is a real IR pipeline, but not Hex-Rays: no switch/jump-table recovery, no exception handling, ARM-32 falls back to heuristic output.
  • DEX bytecode disassembly is not included (Capstone has no Dalvik backend) β€” classes, methods, strings and the invoke-based call graph are fully available.
  • resources.arsc names are not decoded yet (entries listed + image previews work).

πŸ‘€ Qoraaga / Author

Maxamed Xasan Muse πŸ‡ΈπŸ‡΄

Horumariye Soomaaliyeed β€” Somali Developer

"Sako RE Studio waa app-ka ugu horreeya ee noocaan ah oo Soomaaliya laga soo saaro. Cilmiga reverse engineering-ka waa inuu gaaraa qof kasta β€” telefoonka kaliya."

GitHub: github.com/Maxamedxasa

πŸ‡ΈπŸ‡΄ MADE IN SOMALIA β€” WITH PRIDE

πŸ“„ License

MIT Β© 2026 Maxamed Xasan Muse

⭐ Support

Hadduu app-ku anfacay / If this project helped you, please star ⭐ the repo and share it!

About

πŸ›‘οΈ Mobile-first Interactive Disassembler & Decompiler Framework β€” IDA Pro / Ghidra-class RE on Android. APK Β· ELF Β· PE Β· DEX Β· ARM64 Β· x86-64 Β· IR decompiler Β· call graph Β· ptrace debugger Β· SakoScript plugins. Created by Maxamed Xasan Muse πŸ‡ΈπŸ‡΄

maxamedxasa.github.io/SakoREStudio/

Topics

androidandroid-securityapk-analysisbinary-analysiscall-graphcapstonedebuggerdecompilerdisassemblerghidraghidra-mobileida-proida-pro-alternativejetpack-composemalware-analysismobile-securityreverse-engineeringsakosecurity-toolssomalia

Resources

Readme
MIT license
Activity

Stars

6 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 β€” GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800Γ—600. No cookies required.