Skip to content

Instantly share code, notes, and snippets.

@HimDek
HimDek / Install Android apps or apk files in Windows using Windows Subsystem for Android (No Emulator).md
Last active April 18, 2025 17:12
This Guide will show you how to install and run apk files or Android apps in any Edition of Windows 11 using Windows Subsystem for Android. WSA or Windows Subsystem for Android is a Tool that allows Windows to run Android Apps directly without using any emulator.

Install Android apps or apk files in Windows using Windows Subsystem for Android

WSA or Windows Subsystem for Android is a Tool that allows Windows to run Android Apps directly without using any emulator. The problem is Windows Subsystem for Android is currently only available through preview via the Beta Channel of the Windows Insider Program. But if you follow my guide, you don't have to be in Windows Insider Program to try it out. The only thing you need is Windows 11 installed and some patience.

Prerequisites:

  • Windows Subsystem for Android or WSA must be Installed.

Click here to view the guide that shows how to install Windows Subsystem for Android in any Edition of Windows 11 (including Windows 11 Home) non Inider or stable release.

How to Install Android Apps or apk files in Windows Subsystem for Android:

Fix magisk stock backup does not exist

# put stock boot.img into /sdcard/boot.img

# get sha1
adb shell
su
SHA1=$(cat $(magisk --path)/.magisk/config | grep SHA1 | cut -d '=' -f 2)
@anthony-wang
anthony-wang / spotify-hosts.txt
Last active February 18, 2025 22:44
The hosts file entries to block Spotify ad servers
# Use this to block Spotify ad servers
# sources:
# https://www.reddit.com/r/Piracy/comments/4kn6rq/comprehensive_guide_to_blocking_ads_on_spotify/
# https://gist.github.com/teomaragakis/cb187d880c9a3ca2c8a2
# https://gist.github.com/Shujito/b7a8f8f971b22f49b4313d7d3e8e6931
# https://gist.github.com/rifkyekayama/f7c43e470f23878b20416e68f73829dc
# https://gist.github.com/shokoylele/8f4160a102480471cb946fbd800bc86a
############## Begin manual list
# 127.0.0.1 spclient.wg.spotify.com # might block the entire Spotify app from working too
@remarkablemark
remarkablemark / draggable-example.js
Created December 17, 2016 04:13
Basic draggable example using vanilla JavaScript.
'use strict';
/**
* Makes an element draggable.
*
* @param {HTMLElement} element - The element.
*/
function draggable(element) {
var isMouseDown = false;
@noromanba
noromanba / nico-recover-straight-header.user.js
Last active October 13, 2015 09:58
get back '-' header from idiotic 'Z' header on nicovideo for UserScript
// ==UserScript==
// @name nico recover straight header
// @namespace https://flavors.me/noromanba
// @description get back '-' header from idiotic 'Z' header on nicovideo for UserScript
// @include http://*.nicovideo.jp/*
// @grant none
// @run-at document-start
// @version 2014.11.25.2
// @homepage https://gist.github.com/noromanba/4178554
// @downloadURL https://gist.github.com/noromanba/4178554/raw/nico-recover-straight-header.user.js
@kimoto
kimoto / how_to_write_autoexec_cfg.txt
Created September 17, 2010 09:29
cfg/consoleについての基礎(草稿)
//===============================================================
// Title: cfg/consoleについての基礎(草稿)
// Author: KIMOTO
// Revision: 6
// Memo: 誤字脱字や間違いがあれば気軽に連絡ください
//===============================================================
//---------------------------------------------------------------
// 更新履歴
//---------------------------------------------------------------