When new versions of Android come out, the modding community needs to find new ways to roam the operating system. It's a fun cat-and-mouse game, but it also means that the process of rooting is not exactly the same as the last time you did it. Android 10 is changing the way that system-level root works for some devices, but luckily the developers already have the overview.
Google has given its latest devices (Pixel 3, 3 XL, 3a and 3a XL) the name logical partitions with the Android Q version. With these new partitions, anyone can install a Generic System Image (GSI) without having to unlock the bootloader. This means that you can test future versions of Android without jumping over extra frames. It runs as a separate instance while keeping your system intact.
The idea of these logical partitions is a fantastic feature to test new updates in the future. but it had also puzzled the root community for a while. The creator and maintainer of Magisk, John Wu, has finally figured out how these new partitions work. Through his remarkable efforts, he managed to get full root access with all Pixel 3 devices on Android Q.
: Unlock the Boot Loader
As always, you need to make sure your bootloader is unlocked before you can flash any third-party firmware. If you have not already done so, visit the guide below to get it right. The instructions are for Pixel 3a, but work the same for all Pixel 3 devices.
After the bootloader is unlocked and ready to go, you must download the factory image package that corresponds to the version your phone is currently performing. In this guide, Beta 4 is the latest version of Android 10 "Q". However, check your build number to verify this. If you know which version you are using, you can download the version that corresponds to your Pixel 3 model from a computer using the link below.
These files are quite large Since they contain the entire Pixel OS itself, you may need to wait a few minutes for the download to complete. To root from Pixel 3 to Android 10, you really only need a specific file from the package to complete the process.
After the factory image file has been downloaded successfully, you can extract the archive to any location of your choice. After extracting for the first time, you must search for the single ZIP file in the folder that begins with "image", and then re-extract the file in the same folder to view the full content.
As mentioned earlier, you can ignore all other files except the boot.img file. Now you need to connect your phone to your computer with a USB data cable.
After that, all you need to do is take this boot image file and transfer it from your computer. Go to the "Download" folder on your phone.
Normally, at this point, you download the default version of Magisk Manager App, but the Pixel 3 poses an additional challenge because of the logical partitions in Android 10 "Q" are set up. Therefore, the way root is handled on the Magisk site had to change to comply with the new system rule set.
You're currently using Magisk's Canarian builds to get root access to your pixels 3 because of how Android 10 works. This just means that you'll be testing the latest and greatest features Magisk has for the final stable Builds prepared. Download the latest version of Canary via the following link.
After downloading the app on your phone, tap the "Download complete" or "Open" notification to start the installation process. If necessary, you may need to give Chrome the necessary permissions to load the Magisk Manager app from the page. Just tap "Settings" and check the "Allow from this source" option. Tap the back arrow once to return to the previous screen, and then tap Install.
In my tests with these new Canary versions on Android Q, there have been no problems with the Pixel 3a XL so far. As soon as enough progress has been made with this new root method for Pixel 3 on Android Q, it will be redirected to the publicly available Stable channel.
There are two different versions of the Canary builds, one is regular, the other is for developers. Open the Magisk Manager app on the main screen, tap the menu icon on the left, and go to Settings. Tap the "Update Channel" option and change it to "Canary" when the debug version is set. This will contribute to a more stable operation in future releases.
Tap Install on the main Magisk Manager app screen, then tap Install again to see a new set of options. From the list, choose "Select and patch file" and, if necessary, grant the appropriate media permissions by tapping "Allow".
In the displayed file manager you should already sit in the "Downloads" msgstr "" "folder, and it should automatically detect the previously transferred boot image file.Tap once on the" boot.img "file, then Magisk patch them in a minute or so, then tap the back arrow to complete the process.
After you get Magisk's newly patched boot image file, you'll need to send it to your phone's system partition with a quick command: If you download Google's stand-alone SDK Platform Tools package, Get everything you need to accomplish this without complicating matters, if necessary, visit the link below to resolve this issue before proceeding with the tutorial.
Now is the time to download the patched boot image file that you received from Magisk to the platform tools Folder on your computer. The file should be in the same "download" folder as the original file, but is called "magisk_patched.img". You can proceed to transfer both the patched and original boot.img files to your Platform Tools folder for safekeeping.
Step 9: Boot in Fastboot Mode  You must now put your phone into a state where it has the boot image file required for root access can receive. This status is called fastboot mode. This way, the phone and computers communicate with each other in the command-line environment.
To enter fastboot mode, long press the power button and tap "Power Off" to turn off the phone completely. When you are sure the phone is off, press and hold the power key and the volume key at the same time until the main menu of the fastboot mode is displayed. If you succeed, connect your phone to your computer with a USB cable and leave the phone for the next part.
At this point, your phone is ready to receive the required fastboot commands, but your computer still has it an important feature before you can proceed. You must open a command window in the Platform Tools folder so that it can communicate with your phone. This is usually done with a command like "cd C: Downloads Platform Tools" (replace "Downloads" with the actual location of your Platform Tools folder). If you are not sure how to do this, just use the instructions below.
Now it's time to transfer the modified boot image file that you received from Magisk to it Phone. Let's get started right now – enter the following command and then hit Enter.
fastboot flash boot magisk_patched.img
Note: Mac, Linux, and Windows PowerShell users will most likely need to add a period and slash before typing. Many of the fastboot-related commands (for example ./fastboot flash boot magisk_patched.img).
When the patched boot image is complete, enter the next command followed by the Enter key.
] This command instructs your phone to reboot automatically without touching it. This way, you do not have to use the volume keys on your phone to manually reboot your device from fastboot mode unless you want to do so this way.
After rebooting, launch the Magisk Manager app and make sure that both green check marks for the Magisk Platform itself and the app are active. If they are not checked, update both as needed. To be on the safe side, click on the "Tap to start the SafetyNet check" arrow to make sure you pass the Google SafetyNet check. Everything ready! Your Pixel 3 is now completely rooted in the latest Android version! Conclusion
An Important Leap Forward
The new Magisk Canary builds now have the designation system-as-root support, which makes root detection even more advanced than ever masked. The combination with the new logical partitions could also allow seamless OTA system updates as root users, which would be something unknown. This can easily be the most important Magisk update in a long time! Let's see where it goes.
Manual is currently the only way.
Manually patching the boot image file is the long way if you can not use TWRP to install Magisk through the recovery environment. Since Android Q is so different on Pixel 3, the old-fashioned approach is the only way to get root access now. Until TWRP receives an official release for Android Q, you must do so.
TWRP support for Android Q
On updated versions of Android or if something happens, there are always challenges Change with the new phones, like the logical partitions of the Pixel 3. When it comes to Root access and TWRP goes, it is a specific process that will undoubtedly take place. The final version for Android Q will be released in August. If TWRP is available for Android Q, I will update the manual accordingly.
Do not miss: 58 Exciting new features and changes in Android 10