Skip to content

Instantly share code, notes, and snippets.

initramfs
https://downloads.openwrt.org/releases/22.03.5/targets/ath79/nand/openwrt-22.03.5-ath79-nand-glinet_gl-ar300m-nor-initramfs-kernel.bin
sysupgrade
https://downloads.openwrt.org/releases/22.03.5/targets/ath79/nand/openwrt-22.03.5-ath79-nand-glinet_gl-ar300m-nor-squashfs-sysupgrade.bin
news.ycombinator.com##html:style(filter:invert(100%) hue-rotate(180deg))
news.ycombinator.com##body:style(background: white)
news.ycombinator.com##div.toptext:style(color: black)
news.ycombinator.com###hnmain td[bgcolor="#000000"]
@0q2
0q2 / AndroidStudioEmuPlaystoreRoot
Created July 1, 2022 21:43
Bypass to get Play Services and ADB/Root working on an official Android Studio image. Found this trick on an obscure SO comment a long time ago and somehow it still works.
Easiest way: You should create a new emulator, and before opening it for the first time, follow these easy steps:
Locate the directory where the emulator has been created. For example, in Windows go to: C:\Users[user].android\avd[your virtual device folder]
Open file config.ini with a text editor like Notepad.
Locate PlayStore.enabled key and change its value to true:
PlayStore.enabled = true
@0q2
0q2 / Readme.md
Created May 16, 2022 07:33 — forked from tenzap/Readme.md
Install OpenGApps In Android Emulator (up to API31 / android 12 / S)

Introduction

This works to install OpenGApps into the Android Emulator

Features:

  • uses opengapps installer script (that we patch slightly)
  • linux only because we mount the ext2/4 disk images to modify them. Could be adapted for macos if you use hdiutil instead of kpartx and have installed tools to mount ext2/4 filesystems on macos
  • root permissions mandatory to mount disk images and enter chroot
  • removes verity/verified-boot from the virtual device (so that the AVD can boot, otherwise it would not boot because we didn't update the dm_params)