How To: Make OTA Updates Easy by Rooting Your Pixel 3 with Magisk's Boot Image Patch

How To: Make OTA Updates Easy by Rooting Your Pixel 3 with Magisk's Boot Image Patch
Rooting usually means sacrifice. With most root methods, you lose access to apps like Netflix and Android Pay when SafetyNet gets tripped. More importantly, you lose the ability to accept OTA updates, forcing you to manually flash new Android versions. But there's a way around all of this if you root the right way.The method we'll cover here involves patching your Pixel 3 or 3 XL's boot image with Magisk, then flashing the patched boot image with Fastboot commands. It's pretty straightforward, but it's different than most root methods — namely, you won't be installing TWRP if you follow this guide.The downside to TWRP-less root is that you can't flash ZIPs. But if you just want root access and you're fine with the stock firmware, this method is a better fit. Because when it's all done, you'll just have to tap two buttons on your phone to unroot and get ready to accept the next OTA update — yep, it's really that simple!
Step 1: Unlock Your BootloaderBefore you can do any modding, including rooting with Magisk, you'll need to unlock your bootloader. If you haven't done this already, we've written up a detailed guide that will walk you through it all — even if you're a complete beginner.Don't Miss: How to Unlock the Bootloader on Your Pixel 3 or Pixel 3 XL

Step 2: Download the Factory ImagesWith your bootloader unlocked, the next step involves grabbing the factory images package for your particular model. From your phone, tap the link below to head to Google's official firmware page, then locate your device in the list. Download the firmware version that coincides with your current build number in Settings –> System –> About Phone.Download the factory images package for Pixel devices from Google The file is quite large, so do this while you're on Wi-Fi if you have a metered cellular plan. On a good connection, it will take about 10 minutes to download.

Step 3: Extract the Boot ImageNow you have the entire factory firmware package for your Pixel 3 or 3 XL, but you only need one tiny piece of it — the boot image. So you'll need to extract this file with a file manager that's capable of handling archives. If you don't have one of your own, we recommend Solid Explorer.Play Store Link: Solid Explorer (free) In your file explorer, open the Download folder and tap the factory images package to open the archive. Open the folder that you'll find inside, the tap the "image-[codename]-[version].zip" file to unpack it as well. In here, you'll see a series of IMG files. Long-press the "boot.img" file, then choose the copy icon from the bottom menu in Solid Explorer. Next, tap your back button a few times to head back out to the main Download folder, then press the "Paste" button at the bottom of the screen to extract the boot.img file to this folder.

Step 4: Install Magisk ManagerNext, you'll need the Magisk Manager app. To start, download the latest version from APKMirror at the link below.Download the latest Magisk Manager app from APKMirror When the file finishes downloading, tap the "Download complete" notification to open it. If this is your first time sideloading an app on this device, you'll see a prompt saying your browser isn't allowed to install apps. Tap "Settings" on this prompt, then enable the switch next to "Allow from this source" on the next screen. Then, hit your back button once and press the "Install" button.

Step 5: Switch to the Magisk Beta ChannelNow, open the Magisk Manager app and grant the permissions it requests on first-run. You'll be asked if you'd like to install Magisk — tap "No Thanks" on the popup. Next, head to the side navigation menu by tapping the hamburger icon in the top-left, then choose "Settings." In Magisk Manager's settings, choose "Update Channel." Select "Beta" from the popup, then hit your back button to head out to Magisk Manager's main menu.

Step 6: Patch the Boot ImageFrom the main menu in Magisk Manager, tap the "Install" button. Tap "Install" again on the popup, then choose "Patch Boot Image File." Next, the built-in file browser will appear. Open the side navigation menu (hamburger icon), then choose "Downloads." From here, select the "boot.img" file, then wait roughly one minute while Magisk patches the file. Tap "Close" when it's done.

Step 7: Install the Platform-Tools on Your ComputerOn your computer now, you'll need a tiny piece of software in order to send commands to your phone. Google's SDK Platform-Tools are now available as a standalone download, so it's not as complicated as it's been in the past. Simply download the ZIP for your operating system from the link below, then move the ZIP to your desktop and extract it.Download the SDK Platform-Tools from Google

Step 8: Move the Patched Boot Image to Your ComputerNext, you'll need to move the patched boot image over from your phone to your computer. I'd recommend using the Google Drive app to do this — just upload it from your phone (remember, it's in the Download folder), then log into the Google Drive website on your PC to download the file.IMPORTANT: In case you run into any issues below, I would also recommend transferring the non-patched boot image to your computer at this point. That way, you can simply re-flash the stock boot image to undo any changes you make here.Once the files are on your computer's hard drive, move them over to the platform-tools folder that you extracted to your desktop.

Step 9: Boot into Bootloader ModeNext, you'll need to put your Pixel into Bootloader mode so that you can send the Fastboot command that will flash the patched boot image and root your phone.So long-press the power button to bring up the power menu. Choose "Reboot," then immediately press and hold the volume down button on the side of your phone. Keep holding the button down until you're taken to a screen that looks like the picture below — this is Bootloader mode. Just leave the phone on this screen and connect it to your computer using a USB data cable. Image by Dallas Thomas/Gadget Hacks

Step 10: Open a Command Prompt in the Platform-Tools FolderNow, you'll need to open a command prompt or terminal window inside of the platform-tools folder you just extracted to your desktop. To do that, you'll need to know the full file location of the platform-tools folder.If you're on Windows, open the platform-tools folder on your desktop, then click the bar at the top of the Explorer window to reveal the folder's location. Copy this to your clipboard.If you're on Mac, open the platform-tools folder, then open any of the other folders inside of it. Right-click any empty space, then choose "Get Info." Highlight the text to the right of the "Where" field, then right-click and copy it.If you're on Linux, open the platform-tools folder on your desktop, then right-click any empty space and choose "Open in terminal." Now it's time to open a command prompt or terminal window. If you're on Linux, you can skip ahead to the next step.If you're on Windows, press the Windows button on your keyboard, then type "cmd" and hit enter. If you're on Mac, open Spotlight Search by pressing command and the space bar simultaneously, then type "terminal" and hit enter.Next, change directories to the platform-tools folder by typing "cd" into the command prompt, then adding a space. Finally, paste in the file location you copied earlier, then hit enter.

Step 11: Flash the Patched Boot ImageTo verify the Fastboot connection, enter the following command: fastboot devices Mac, Linux, and Windows PowerShell users may get an error after sending the above command. If so, enter this command instead: ./fastboot devices If this spits out a series of letters and numbers followed by the word "fastboot," you're good to go. If not, check your USB cable and read this guide for more tips on getting Fastboot up and running. Now you're ready to actually root the phone. Type the following command, then press enter: fastboot flash boot patched_boot.img If you're on Mac, Linux, or Windows PowerShell, you might get an error after sending the above command. If so, send this one instead: ./fastboot flash boot patched_boot.img

Step 12: Verify RootWith the patched boot image now installed, press the volume buttons on your phone a few times until you see the "Start" option in the Bootloader menu. Press the power button to select it, then your phone should boot into Android. Side note: You'll see a screen during boot saying your bootloader is unlocked. This is normal, just wait for it to go away.When you get back up, open the Magisk Manager app. If the "Latest Version" and "Installed Version" fields have a green check mark next to them, you're rooted and ready to go! You can even hit the "Tap to start SafetyNet check" button if you want to verify that your phone will pass Google's SafetyNet check.
TroubleshootingIf your phone fails to boot in Step 12, there's a good chance the patched boot image was either not patched properly (e.g., Magisk Manager wasn't put into beta mode to download the latest code with Pixel 3 compatibility), or the file is corrupt.If this is the case, leave your phone in Bootloader mode (it won't go past that screen anyway), then open your command prompt window and change directories to the platform-tools folder again. Finally, send this command to re-flash the stock boot image and get things back up and running: fastboot flash boot boot.img

Uninstalling Magisk to Accept an OTA Update in the FutureThe best part about this method is how easy it is to unroot. You can accomplish this entirely on your phone within seconds, provided you don't delete the stock boot.img file in your Download folder.When the time comes, open the Magisk Manager app and press "Uninstall." Choose "Restore Images" on the popup, then wait a few seconds until you see a toast message saying the process is complete. Restart your phone, then you'll be completely unrooted and ready to accept an OTA update! Don't Miss: The Best Phones for Rooting & ModdingFollow Gadget Hacks on Pinterest, Reddit, Twitter, YouTube, and Flipboard Sign up for Gadget Hacks' daily newsletter or weekly Android and iOS updates Follow WonderHowTo on Facebook, Twitter, Pinterest, and Flipboard
Cover image and screenshots by Dallas Thomas/Gadget Hacks



Many phones these days are being manufactured without a notification LED—it's a cost-cutting move, and it's really not an essential component. However, the notification light on Android devices has traditionally alerted users to any missed messages, and this is functionality you can't get without the proper hardware.
How to Get Flash Alerts When Receiving Calls & Text Messages


You can follow certain tips which will help speed up your fingerprint scanner of the Galaxy smartphone and your Galaxy S6 fingerprint scanner problems will just go away. Many users have complained that their Galaxy S6 fingerprint scanner stopped working and if you follow the below-mentioned tips, you will able to bypass the problem and use it
Improve Fingerprint Scanner Accuracy on Your Galaxy Device

Volume Buttons in Android 9.0 Pie Actually Control Media by


Here's your free crash course in classic cinema. If you want to watch full movies on YouTube, we've already done the hard work for you. We've curated a list of 45 free movies on YouTube you
Find Free Movies Watch on eBay | Seriously, We Have Everything
AD


10 Best Flashlights 2019 (Bright + Durable) | TekChamps


Most headphones don't have powerful bass drivers, and heavy bass can quickly damage the speakers. Bass is a low-frequency sound, which can put a lot of stress on speakers that aren't built for it. Use your source's level mixer to lower the bass levels, and make sure any "Bass Boost" option is disabled.
9 Easy Ways To Prevent Further Hearing Loss


Here's how you can see and delete your entire Google search history Nation. Apr 25, 2015 5:53 PM EDT Searches "are no longer associated with your Google Account."
Delete your Google Account - Google Account Help


I'd like to preface this case study by stating that my intentions behind redesigning Apple Music were in no way driven by indignation or spite. Earlier this year I applied and interviewed for a


How to prepare a thermocouple for attachment to a printed circuit board (PCB) for profiling a reflow or wave soldering system. This is advanced PCB circuitry and you need to watch all videos in the series to understand all the steps of wiring a printed circuit board entails.
Thermocouple Preparation - YouTube


Have you ever looked at your iPhone dock and wished you could place an extra, essential, or highly utilized app on there? Currently, with the basic settings you can only place four, but there's always that one that you wish could add to the mix. Head into the Cydia app, select the Search tab, look
How to Mod Your Old iPod 30-Pin Dock into a Bluetooth Speaker


But since it's a modular software, it can be extended via plugins to add extra functionality. This article assumes you have at least basic knowledge of linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple. I will show you through the step by step installation Moodle on
Moodle open source learning management platform stack - Intuz

0 comments:

Post a Comment