ZRAM in WSL2

If you have been using WSL2 on Windows, you would be quite surprised and satisfied at the same time for how well it works as a Linux CLI. And so was I, because it allows you the convenience of Windows + the flexibility of Linux systems. It acts as a bridge between the two, and you can run Linux commands on Windows, and Windows commands on Linux. For this reason, I use it to build custom ROMs for my Android devices. But with Android 15, the system requirements have been upped from 32gb to 64gb, and I have only 32gb of RAM on my desktop. ...

February 20, 2025 · 5 min · 873 words

Ubuntu Server Setup Part 2: Installing Nextcloud

I finally setup my Ubuntu server quite well along with wifi drivers. Next up, I had to install Nextcloud, because I wanted a cloud storage that could backup and sync photos, videos and other stuff from several devices at my home. Thus I looked up a tutorial on it and found one by Jay, which was extremely easy to follow and helped me setup my Nextcloud instance from scratch. The steps to setup Nextcloud You should be using a normal user account, and should not be executing the commands as ‘root’. In case you are ‘root’, simply execute the following: ...

June 22, 2024 · 6 min · 1198 words

Whatsapp Without Phone

I had stopped using whatsapp because I didn’t want to have it’s proprietary app on my de-googled device. The Issue But you see, this application is used by most of my academic professors and other colleages, so I had to somehow use it (without the app on my phone, of course). So I thought of running it through some android emulator, but didn’t want to natively run it on my linux machine. [No waydroid as I run X11] ...

May 29, 2024 · 3 min · 484 words

Sign a Custom ROM Build

This guide will explain how to sign a Custom ROM build (typically unofficial builds, as most official ROMs are now shipping their own private keys). I will use the Lineage wiki guide, but simplify it in my own words at places where I feel this guide did not give more practical information to a new comer like me. The steps to generate the keys are as follows: NOTE: You only need to run this once. If you ever rerun these, you’ll need to migrate between builds. ...

May 26, 2024 · 4 min · 654 words

Ubuntu Server Setup Part-1

I was wanting to learn on how to setup my servers and host stuff on them, but to host a server online, one needs to spend some amount of money on them, which i really didn’t want to. But then i remembered that i have one old dusty home computer that had been lying in my home since several years, while not really being used anymore. So i decided to use this opportunity to reuse the same computer for my server tasks and in this way, i will be saving up on those server costs that i would have to pay [electricity is cheap here]. ...

April 30, 2024 · 5 min · 868 words

Use SSH or Rsync With Android

Today, I wanted to send a file from my desktop to my android device. I thought of using rsync for this purpose, which is a tool that I use frequently to sync files between my desktop and my laptop. I thought of giving it a try and came across this great article that explained just this. NOTE: This guide requires both the computer and the Android device to be on the same wifi network. ...

April 26, 2024 · 4 min · 641 words

Ubuntu Touch Port Part 1

Getting Started So I recently decided to get more involved in the Android world and came about a ’new’ type of OS, known as Ubuntu Touch. I thought a bit on it and decided to start the porting process for it for my device Realme GT Neo 2 [codenamed:bitra]. I started with the official documentation of UBports where in they gave some good amount of introduction on how and why certain things needed to be done. ...

April 25, 2024 · 3 min · 459 words

Boot Image Extraction Guide

Guide on how to extract a boot image from any Android phone [Requires Magisk and Computer] Getting started! Accessing and modifying system files on your device typically requires superuser permissions. To extract the boot image, we’ll need a root environment. We’ll achieve this by using Magisk. Procedure First, make sure you install TWRP and then flash Magisk through it. Setup Magisk in your phone. Connect your phone to your Computer and type adb shell [Ensure that you have adb setup properly]. Now, become root by typing su in the shell on your PC. Copy/Paste the following code in the shell. for PARTITION in "boot" "boot_a" "boot_b"; do BLOCK=$(find /dev/block \( -type b -o -type c -o -type l \) -iname "$PARTITION" -print -quit 2>/dev/null) if [ -n "$BLOCK" ]; then echo "$PARTITION" = $(readlink -f "$BLOCK") fi done This command will display the boot partition paths for both A/B and A-only devices. ...

April 24, 2024 · 2 min · 255 words