 Hello and welcome to another video on flashing a free operating system on a mobile phone. Today we are going to flash PostMarketOS on a OnePlus 6T using a Linux PC. PostMarketOS is based on a Linux distribution instead of being based on the Android open source project like many other custom operating systems for Android R. This means that you can run apps that are meant for the Linux desktop on your mobile phone as well. If you want to learn more about the motivation behind this video, you can go on our campaign website upcyclingandroid.org To start we are going to the download page and then looking on the right hand side for our device model OnePlus 6T in our case and we are greeted with a few different options in terms of a user interface. So this is very similar to desktop environments for Linux PCs and we are just going to choose one, in this case Fosh and download the latest release files. So this is for one the recovery image. You see that I've already downloaded it and just check some file as well. This is also already downloaded and then the system image which is also here and it's checked some file. Now that we have downloaded files we can go ahead to the installation instructions page for our device. And you see that in the first box it says that this is actually a supplementary page to the OnePlus 6 page. And in fact the differences to the OnePlus 6 are quite small in terms of hardware. Just the audio jack and the study difference screen resolution. And since the main instructions on how to install post market OS are contained in this page we'll just go ahead and go to the OnePlus 6 page. Scrolling down we explained how to enter the fast boot or the flash mode on this device but also on the OnePlus 6T device. Now to install post market OS on our mobile phone we need a computer with fast boot and ADB installed. And if you're on Linux this normally is done by installing Android tools package or something very similar via your package manager. Moving on it is suggested that you install the latest release of Oxygen OS on your OnePlus 6T. This is so that the firmware is up to date before flashing post market OS. Now to unlock the boot loader I changed the window configuration. So on the left hand side you still have the installation instructions page open and on the right hand side you see the OnePlus 6T via webcam feed. So to unlock the boot loader we need to boot into the system and go to the settings and tap about phone and find the build number and tapping it as many times as needed to become a developer. So now that we are a developer we can go back to the main menu and go on system and find developer options and toggling OEM unlocking. This will enable us to unlock the boot loader. Now that we've done that we need to enter the flash mode. So when scrolling up we see that for the OnePlus 6T after having it unplugged from USB and powered off we need to hold the power and both volume up and volume down buttons. So powering off the phone and then pressing both volume up, volume down and power. We are brought to a device that's not the fast boot mode but we can go to the main menu, advance and then reboot into fast boot. And now to unlock the phone we need to connect the USB cable to it. Now that we've connected the USB cable to the phone we need to unlock the boot loader by issuing the following commands. I've just copied it over to the command line. We'll be prompted with a dialogue on the phone and in this case we can navigate with the volume buttons when unlocked boot loader is highlighted we confirm with the power button. So you see this will wipe all the data on the phone. Now that we've unlocked the boot loader we go back to the installation page and to flash the images now that we've downloaded we can use fast boots to flash them on the phone. So we'll issue these three fast boot commands. First is to release the DTBO partition and this has to be done in fast boot mode so again we have to power off the phone and boot it into fast boot mode which worked out. And now to flash the recovery in the system image to the phone we actually first need to verify the checksum files that we've downloaded before just to make sure that they are not corrupted. So in this case the recovery image file is not corrupted and we can extract it. So we issued on XZ and now we see that the image file has been put into this folder we're in and now we can go ahead and copy the fast boot flash command over and as argument we take the recovery image file. Now to flash the system image we go back to the installation instructions and copy the next fast boot flash command and the same procedure as before we check whether it's a valid whether we've downloaded a non-corrupted file so we find out whether it's corrupted or not and indeed it's not corrupted it seems to be a good file and now we extract the image file and now that we've extracted the system image file we can paste the fast boot flash command and as argument give the image file we just extracted Now that the flashing process is completed we go back to the installation instructions page and notice that for these pre-built images the default username is user and the default password is 147147 These were the installation instructions for pre-built images so now the only thing that remains to be done is to reboot into the system so now that we've booted into the system we can unplug the USB cable and try to log in with the password 147147 and we're in the system This was the video about flashing post-market OS on a OnePlus 6T I hope you enjoyed it See you next time