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



How To: Set Default Volume Levels for Each of Your Bluetooth Accessories Individually How To: View the Battery Percentage Indicator on Your iPhone X, X S, X S Max, or X R; Android Basics: How to Connect to a Bluetooth Device News: The Best Accessories to Buy for Your Headphones Jack-Less iPhone 7
How to Hack Your Car's Cassette Deck into a Wireless


How to send and share location with iMessage for iPhone and iPad. iMessage integration with the Maps app means that not only can you send a map of a specific location to anyone in your contacts, but you can also send your current location or have your location sent to your contacts for a period of time.
How to Share Your Current Location from Messages on iPhone
osxdaily.com/2014/11/15/share-current-location-from-messages-iphone/
How to Send Current Location from Messages App on the iPhone. This feature allows sharing of a current location, it works best on the iPhone thanks to the devices built-in GPS unit, though it will also work on an iPad and iPod touch, though it uses a rougher estimation through wi-fi instead.
How to share your location on iPhone and iPad - YouTube


This way, your inbox stays at zero and everything else is either in its designated pane, archived, or deleted. The result? A clean inbox that's easy to navigate and lets you triage new emails with little effort. Here's how to set this up in Gmail. The Step-by-Step Guide to Getting to Inbox Zero in Gmail Step 1: Prepare for your new inbox layout.
3 Tips to Get to Inbox Zero Faster in Gmail - androidability.com


One of the most popular things to do on Snapchat is to earn a Snapstreak. This occurs when you and one other friend have sent snaps (not chatted) to each other within 24 hours for at least three consecutive days. One you've passed the three-day mark, then you and your friend will receive a fire


Google Search. Food Ordering Features Now Available in Google's Mobile Apps. MacRumors - Tim Hardwick. Google has incorporated food ordering features into its mobile apps, allowing iOS and Android users to order food directly from a range of companies without having to install an additional app or visit a website.
Android और iOS पर Google Search से सीधे फूड ऑर्डर करें


Customize Your Reading—Choose your preferred font size, screen brightness, background color, and orientation (portrait or landscape) to read your books. Borrow eBooks from the Library—Check out ebooks from your local library and have them delivered wirelessly to your Kindle app. Read print replica textbooks on Android tablets.


Easy Test of Battery Amp-Hours Capacity: How many amp-hours of capacity does your battery really have?Here's how to test the capacity of a 12 volt battery with an inverter, a lightbulb, and an electric clock. This can be pretty important to know. Will your battery last long enough to sho


iOS 13 Beta. iOS 13 Beta: Early (Developer) and Late (Public) June 2019. For those daring enough to test unfinished versions of iOS, Apple makes beta versions available to developers on the same day as the keynote (which require a Developer Account, which costs $99). Apple has been offering public betas, which are slightly more stable, since 2016.
Neurable Releases Limited Beta SDK for Brain Control


How To: Do a simple, quick light painting with flashlights By Make a cheap, bright police grade flashlight Build a Cheap and Easy Optical Zoom Lens
The Best Cheap LED Flashlights: Affordable and Effective
simplegreenliving.com/7022/best-cheap-led-flashlights/
I'm adding a small but very bright and quite cheap tactical flashlight to the stuff I take with me when I go out after dark. This one comes in black and several colors. I'm getting an orange one, easy to spot in my purse or pack. Some of the Best Cheap LED Flashlights. I picked out some and linked to them at the start of this article.
Top 10 Best Police Flashlights - The Flashlight Expert


How To: Easily SSH into your iPhone without Wifi How To: SSH into your iPhone or iPod Touch with ease How To: Connect to an iPhone or iPod Touch from a PC via SSH How To: SSH on iPhone, iPhone 3G, and iPod Touch How To: SSH into a jailbroken iPod Touch or iPhone How To: Controll your computer from your iPhone/iPod Touch
How to Use WinSCP to SSH into your iPod Touch or iPhone


Samsung Galaxy S5: How to Clear Cache and Cookies for Faster Browsing How To: Get the Galaxy S5's Ultra Power Saving Mode on Your Note 3 Grayscale Mode in iOS 8: Proof That the Next iPhone Will Sport an AMOLED Display? How To: Easily Change Boot Animations on Your Samsung Galaxy S5
Add Any Apps to Ultra Power-Saving Mode on the Galaxy S5

0 comments:

Post a Comment