Skip to content

Instantly share code, notes, and snippets.

View Luciogi's full-sized avatar
☝️
All praise is for Allah—Lord of all worlds

Luciogi Luciogi

☝️
All praise is for Allah—Lord of all worlds
View GitHub Profile
@siduck
siduck / tutorial.md
Last active July 27, 2024 10:40
Chroot any distro which has rootfs file on android + termux ( aarch64 )

In this guide artix linux will be used as an example :

First install termux-x11 apk file.

pkg install termux-x11-nightly
  • Flash busybox magisk module and reboot
  • Flash charch magisk modules and reboot
@verNANDo57
verNANDo57 / 8GB_android-12_compilation-note
Created March 18, 2022 06:53
Workarounds for building Android 12 on 8GB RAM
Workarounds for building S on 8GB RAM environment:
1. At the start of the build:
[ 99% 138/139] /mnt/ssd/lineage/out/soong/.bootstrap/bin/soong_build /mnt/ssd/lineage/out/soong/build.ninja
This used to take around 30mins, after enabling zram now it takes around 30secs (thanks to @kdrag0n for the zram idea) which is on par with what happens in 16GB RAM building environments
sudo apt install zram-config for installing zram-config package
sudo nano /etc/fstab and add a # in front of the swap disk if you have one and then reboot
After booting cat /proc/swaps to check if zram is enabled or not