 Okay, this video is part of a series. Be sure to check out the full playlist. There should be a link in the description of the video and also hopefully at the end of this video if you get to a video on the playlist and says it's not available, that's because it hasn't been published yet. Just be patient. We are working with the Moto G but a lot of what we're doing today is going to be very similar on most Android devices. This is a Moto G for Play. I didn't say that in the last one and it does make a difference. Today we're gonna be looking at putting a custom recovery on there. In this case, we're gonna be looking at a twerp or team win recovery project. Maybe, I don't know what I got. Okay, so the first thing we need to do is boot back into the boot loader of the phone. So the first thing we need to do is boot into the boot loader of the phone which the way to do it on this phone is to hold down the volume button and the power button with the phone off and after a few seconds, you go ahead and let go of the power button and you should get the screen with the little Android with his stomach open. And next, we need to pick up a copy of the boot loader that we want to load. I said boot loader, I meant recovery image. Again, we're gonna go with twerp and we need to know what version of phone this is. So you might try to search Moto G but there's Moto G4, there's Moto G4 Play. I mean, there are different models and you need to get the right one. So since we're already at the boot loader screen, let's have a look at the information that's on there. And right here on the boot loader screen you can see product variants and it says Harpia, I believe is how you say that. So let's go ahead and search that at the twerk website. So I Googled it and twerk team win recovery project which I believe is what I said. So I was right on the acronym. Go ahead and under the first link they have devices, we'll go ahead and click on that. And I'm gonna type in Motorola and let's see what we have here. And another ones that come up have that code name of Harpia or whatever it is. Let me try searching specifically for that. Oh, and would you look at that? Why would it not come up when I typed in Modo, right? It didn't come up when I typed in Modo. Hmm, interesting. Anyway, there it is. Go ahead and click on that. So we can ignore all this app install which requires root. We're kind of doing this in one way to get root. We're gonna scroll down here to just the download links and here I'm gonna go for primary Americas because I live in America. And I'm gonna go ahead and click on the newest image and download it. Now again, we are still at the boot loader screen here by again, holding down the volume down and the power button and like a low power button should bring you to the screen and we're hooked to our computer through USB. And here, again, I'm gonna do pseudo because I need that from permissions on my machine. You may or may not need it depending on your machine. I'm gonna say pseudo fast boot and just to make sure it sees, I'm gonna say devices and the device does show up with the serial number. And I'm gonna say pseudo fast boot. And now we can flash the recovery or we can just boot from the image from our machine. So let's talk about those two options. We can boot the image or we can flash the image. What are the differences? So basically you have different partitions on your phone just like you do on your computer. And one of them is a boot partition. And if we flash the image, what we're doing is we're taking this image that we have on our computer pushing it through the USB to the phone and then the phone's going to take that image and overwrite that boot partition. That means that any time you want, you can hold down your volume power button, get to the boot loader and go into recovery and you can go into this custom recovery. The other option is just to boot the image. So basically the difference to that is we're going to be taking the image, pushing it to the phone, but instead of overwriting that partition, we're just gonna load it to RAM and the phone is gonna boot from that. If you're familiar with Linux Live CDs, that's basically what we're doing. Instead of installing Linux, we're going to boot the device using an image. So if you ever use a Linux Live CD where you boot to RAM or it basically copies the file system to RAM and boots it, that's what we're doing here. Now, all depends on your preferences. Are you gonna be using the boot loader a lot? In some cases, on some of my devices, I don't wanna mess with the partitions too much. So I'll just boot to it when I need it. And it works just the same as if it was flashed to it, except for I need to be at my computer and have that image where if you actually flash it any time, anywhere, you can hold down those buttons again to recovery. Good and bad things. Again, that means anybody who has your device can now copy all your information. But either way, whether you plan on flashing it or just the one time booting it to RAM, I would suggest booting to RAM before you flash it just to make sure it works. If it doesn't work, well, then you might have the wrong image and you don't wanna flash it cause you might mess up your recovery system. So for the initial test, I'm going to say boot and then I'm going to give it the image name. And again, I am in the folder with the image. So I'm gonna go ahead and hit enter and we're gonna see that it's downloading. It says okay at booting and my phone has rebooted. And there we go, team win recovery. But now if I was reboot the phone and go into recovery, it should still be the factory recovery settings. So now that I know that it works, I can play around with this. Let's go ahead and just flash the phone. So I have restarted the phone by holding down the power button until it restarted then holding down the volume and power button again, letting go of the power button and getting to the boot loader of the phone. And now we are going to run basically the same command as last time, but instead of boot, we're gonna say flash recovery. So we're telling it instead of booting from that image we're gonna say flash and what partition are we gonna flash the recovery partition. So I'm gonna go ahead and hit enter and it uploads it. And on the screen of the phone we're still at the boot loader. It didn't restart it. It didn't boot anything. It just basically for reformat that partition or reflash that, re-image that partition. But now I can use these volume buttons. And I know again it's hard for you guys to read that. But I'm gonna go down until I see recovery mode. I'm gonna hit the power button. We're gonna get our normal boot loader unlocked since we unlocked it in the last video. And after a few seconds, fingers crossed, team win. And so now we can unplug the USB and use this flash recovery system to do a bunch of stuff. So now at this point, the initial welcome screen for twerk team win recovery project is going to ask you if you want it to modify your system partition or leave it unmodified. Modifying it will allow you to root it and do a bunch of things to the system partition. But initially I would say keep it unmodified. I would do a bunch of backups of the entire system using this recovery system, save those images. And then next time if you wanna modify it, feel free to. Because once you modify the system partition in a lot of cases, you can't take official updates. And if you wanted to go back, even if you plan on doing a custom mod, you may at some point want to go back and upgrade your phone from the official updates. And if you modify the system, you won't be able to do that. I did that with my tablet many years ago and I can't update it and it's still running Android version 4.0 something. So make your backup copies, then you can modify it after that if you would like. So this is what the welcome message looks like. And I do wanna let you know that if you don't modify it, the next time you reboot into Android, when it reboots, it's going to overwrite Torp with the original factory recovery system. So if you wanna keep Torp on here, you will have to modify it. But again, I would do the system backups before you do that. Now, I'm not gonna go into detail on how to use Torp or any type of recovery. It's pretty straightforward. If you've ever had Android device before, you've probably done this. I mean, if not, it's not that hard. Follow the instructions on the screen. It's all touch screen. It will tell you, do you wanna do backups and it will backup images and it will date them for you. And you'll wanna do that every so often. If you're making a lot of changes to your phone, do that. But if you do them, it's gonna back it up to storage on the phone or an SD card if you have an SD card. But take that and back it up somewhere where it's not on the phone. That way, if your system ever gets wiped, you still have those backups and you can get back to whatever settings. And you can do that every so often, maybe once a year you'd like to do it or even just the first time so you can always go back to these original settings whenever you want. So again, we're playing with the Moto G4 Play. But everything I'm going over is gonna be very similar with a lot of Android devices. Again, working with the boot loader, working with fast boot. I recommend if you're looking for an Android phone, I'm not gonna say buy this one or that phone as far as brands or models. But I will say you can make your life a lot easier if you wanna make modifications. Find one that sports fast boot. So keep on watching this video as part of a series and we have a little bit more coming on this series. We're gonna modify the boot partition and we're gonna make it so that you can run your own custom shell scripts at boot, which is, again, this is, I'm doing this with this phone for a project for a friend of mine. We're working on this business where we're going to be collecting data with drones and rather than having a Raspberry Pi with a bunch of wires coming off it and extra battery packs, we have decided after playing around a lot that an Android phone is probably gonna be the way we wanna go with most of the data we're collecting. And so I just need it to be more like a regular Linux system, which means I need to get it to where I have root access and I can run my own custom scripts at startup and I really don't feel like writing Android apps because I'm not gonna say I don't like Java but I hate writing stuff in Java. It's like you gotta write a book just to create a Hello World program and that's just a little bit of how I feel about that. Anyway, so I do thank you for watching. Please visit filmsbychrist.com, that's Chris Backe, there should be a link in the description. There's a button on that website that should bring you to a support section where you can support me if you'd like with PayPal or through my Patreon page, patreon.com, forward slash milux 1000. Of course through Patreon you get some bonuses like early downloads and stuff like that depending on what level you're supporting on and any amount of support helps. I do thank you for watching. Please visit my website again, filmsbychrist.com, Chris Backe, there's a link in the description. Like, share, comment, subscribe. It really does help. The more views I get, it does help a lot. So have a great day. Okay, continuing. This is part of a series for George. Yep, bloop bloop bloop bloop bloop bloop bloop bloop.