Skip to content

Instantly share code, notes, and snippets.

View Jobians's full-sized avatar
๐ŸŽฏ
Focusing

JOBIANS TECHIE Jobians

๐ŸŽฏ
Focusing
View GitHub Profile

๐Ÿ› ๏ธ Android Emulator Crash FIX โ€” StartService FAILED with error 4294967201

โ— Problem

When launching the Android Emulator, I kept getting this vague and frustrating error:

Running Android Emulator hypervisor driver installer
[SC] StartService FAILED with error 4294967201
The emulator process for AVD  has terminated.
const crypto = require('crypto');
const {
TextDecoder
} = require('util');
// Static Key and IV (from client JS)
const base64IV = "Wzk3LCAxMDksIC0xMDAsIC05MCwgMTIyLCAtMTI0LCAxMSwgLTY5LCAtNDIsIDExNSwgLTU4LCAtNjcsIDQzLCAtNzUsIDMxLCA3NF0=";
const base64Key = "Wy0zLCAtMTEyLCAxNSwgLTEyNCwgLTcxLCAzMywgLTg0LCAxMDksIDU3LCAtMTI3LCAxMDcsIC00NiwgMTIyLCA0OCwgODIsIC0xMjYsIDQ3LCA3NiwgLTEyNywgNjUsIDc1LCAxMTMsIC0xMjEsIDg5LCAtNzEsIDUwLCAtODMsIDg2LCA5MiwgLTQ2LCA0OSwgNTZd";
function parseKey(base64Str) {
@Jobians
Jobians / solution.md
Created May 11, 2025 23:34
Fix for xtensa-esp32-elf-g++: not found on ARM64 Linux with PlatformIO | PackageException: Could not install package 'espressif/toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5' for 'linux_aarch64' system

Problem:

While building ESP32 projects on ARM64 (e.g., Raspberry Pi, Termux), PlatformIO shows this error:

xtensa-esp32-elf-g++: not found [Error 127]

Solution:

1. Download ARM64 toolchain:

@Jobians
Jobians / install-deno-bun-termux.md
Created March 22, 2025 19:18
Installing Deno.js and Bun.js in Termux (Proot Ubuntu)

This guide covers installing Deno.js and Bun.js in Termux using proot Ubuntu.

1. Install Termux and Proot Ubuntu

First, update Termux and install Ubuntu using proot-distro:

pkg update && pkg upgrade -y
pkg install proot-distro -y
proot-distro install ubuntu
proot-distro login ubuntu