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