Skip to content

Instantly share code, notes, and snippets.

View natsumerinchan's full-sized avatar
⚒️

Celica Sylphil natsumerinchan

⚒️
View GitHub Profile
@natsumerinchan
natsumerinchan / Modify_Android-x86.md
Last active December 21, 2023 04:42 — forked from jhorstmann/gist:1579903
How to modify Android-x86 system.img

Extract the iso image and the contained squashfs image

$ mkdir android-image
$ bsdtar -C android-image -xf xxx.iso
$ cd android-image
$ unsquashfs system.sfs

Modify system.img size.

$ sudo e2fsck -f ./squashfs-root/system.img

@natsumerinchan
natsumerinchan / enable_nativebridge
Created April 13, 2022 10:10 — forked from uzxmx/enable_nativebridge
android x86 /system/bin/enable_nativebridge
#!/system/bin/sh
PATH=/system/bin:/system/xbin
houdini_bin=0
dest_dir=/system/lib$1/arm$1
binfmt_misc_dir=/proc/sys/fs/binfmt_misc
if [ -z "$1" ]; then
if [ "`uname -m`" = "x86_64" ]; then