 Hi and welcome to this video on flashing KalexOS on your phone. So why would you want to flash a free operating system like KalexOS on your phone? Well for one the manufacturer might have discontinued the support for the software on your device in which case you don't get any more security updates on your phone and potentially also can't install the newest apps anymore. Secondly, the device might have become slow to respond with all the pre-installed apps and trackers. This not only means that you're giving a lot of personal data away by default, but also drains the battery on your phone a lot faster. So a free operating system generally supports the software on your device for a longer time and also has a lot fewer apps pre-installed and of course doesn't have any trackers. If you want to know more about our campaign you can go on the FSE website slash Upcycling Android. In this video, we are going to show you all the steps that are needed to flash KalexOS on your phone on Ignore Linux system and you will see that it is quite easy. On the KalexOS websites, we click on get KalexOS and we are presented with two options here. One is to buy a new phone with KalexOS pre-installed and the other one is to install KalexOS on your phone if you already have one and since we already have one, we click on install and now we're presented with a list of devices. In our case, we have the Google Pixel 3, so we click on Pixel 3 and now are presented with a couple of different systems. As I said before, we are on the KalexOS system, so we say install from Linux. The installation instructions page shows an overview of all the steps that are needed to flash your device and I'll go through them with you together. So the first part is about preparing your Android device, which basically boils down to enabling a setting that will allow us to unlock the bootloader, which then allows us to flash the device partitions. The second part is about pairing our host computer, which means that we'll install some UDef rules using our package manager and this is important to be able to talk to the phone from our computer. Then we'll download the device flasher. The device flasher is a tool that automates some steps in the flashing process, namely unlocking the bootloader, flashing the device partitions with the factory image and then locking the bootloader again. Although for the Fairphone 4, it does an extra check because locking the bootloader can lead to a brick phone in some cases and then we'll download the factory image and of course, we'll also verify the checksums using the SHAD 256-SOM tool and compare them to the checksums that are displayed on this page to be sure that we've downloaded the correct files. The last part is about installing Calyx OS. So this means we run the device flasher on our computer and this will prompt us on the phone to agree to some operations, namely if we really want to unlock the bootloader before the flashing process begins and then after the flashing process has completed to lock the bootloader again. Now I've changed the window layouts. On the left-hand side, you still have the installation instructions page from Calyx OS Open and on the right-hand side a Google Pixel 3 phone shown via webcam feed. So let's start by preparing our Android device. So first unlock the device and first of all, we can see that this is indeed the stock operating system from Google being installed on the phone currently with the Google Play Store. So the first thing we should do is enable developer options and this can be done in the settings menu, scrolling all the way down in the settings menu, finding about phone and then scrolling all the way down again, finding the build number option, clicking on it as many times as I needed to become a developer. Now that we are a developer, we can find another system, another option in the systems menu, sorry for that, which is called developer options and in developer options, we toggle OEM unlocking to true and also USB debugging. So that's it. Now we're done with preparing our Android device. Now that we've prepared our Android device, we are going to the second part in preparing our host computer by installing the UDEP rules using our package manager. So since we are on Debian, we're going to issue the following commands, sudo apt update and then sudo apt install Android SDK platform tools. So let's just copy that over to a terminal I have open here, which prompts for the password. This time should work now. Okay, now it works. So yeah, now we've successfully installed the package and we continue with downloading the device flasher. So clicking on the button, prompts us where to where to download it to and you see I've already downloaded it, so I don't need to do that again. And what I would like to do is to verify the digest though. So I copy this over and then I need to type SHA-256-SUM in the file name. So back to the terminal, say SHA-256-SUM. Well, let me first actually echo the checksum and now say SHA-256-SUM in the file name. So now you see we can compare it pretty nicely and we see that they seem to match. Now that we've downloaded the device flasher and verified that we've indeed downloaded the correct file, we are going to proceed and download the factory image. And you see that this is already downloaded as well, but still we want to verify that the file is the correct one. So we again copy the checksum over and then issue to command SHA-256-SUM in the file name. So this is going to take a bit longer this time because it's a big file. Around one and a half gigabytes big. So we see that it finally returns and that the checksums seem to match. If you want you can now verify the signature as well for the highest level of confidence, but I'm pretty confident that I downloaded the correct files. So that brings me to the last part, installing Calyx OS. So we run the device flasher, but first we need to connect the phone with a USB cable to the computer. So let's do that. Great. So if we unlock the phone we see that there's a prompt saying if you want to allow USB debugging and we want to do that. So we press OK. And back in the terminal we should make the device flasher file executable and then execute it. So let's do that. So the command to make it executable is chmods and then plus x by splasher Linux and now we simply execute the file. So now this is telling us that we should have done all the steps that we already did, like having developer options. We am unlocking basically all the things that we already did. So we can press enter and it detected our device and we can again press enter. So now you can see that the screen changed on the phone. It's prompting us to unlock the bootloader. So we simply press the volume down button until it reads unlock the bootloader and confirm with the power button. So now you can see that the bootloader is unlocked and the flashing process can begin. So the flashing process completed and it's prompting the device flasher is prompting us to block the bootloader again. So we'll just do that and use the power buttons to navigate to lock the bootloader and confirm with the power button. Now we can see with the green text that the bootloader is locked again and that the flashing process completed. So it's booting into the system and the last step is to disable OEM unlocking from the developer options menu. So just wait for CalXOS to boot. So now we agree with the setup installer. So we'll just run through it. So we'll just run through it very quickly. Okay, and now that we are in the system we navigate to the settings menu. Go all the way down to about phone click on the build number to become developer and now we should be able to find the developer options menu and here we can disable OEM unlocking which is already disabled. So yeah, nothing more to do. We've successfully flashed a Google Pixel 3 phone with CalXOS. I hope you liked the video.