|
Thread Tools |
#1
|
||||
|
||||
How to Root your Android smartphone: Google, OnePlus, Samsung, Xiaomi, and
How to Root your Android smartphone: Google, OnePlus, Samsung, Xiaomi, and others too!
Welcome to the XDA-Developers Root Directory. Here, you can find root tutorials for most devices that are on the XDA Forums. Learn how to root any Android device, even the best Android phones! If you don’t see your device listed or you see a misplaced link, send a message to Skanda Hazarika (SkandaH on the forums) with the device details. Table of Contents:
For those new to the world of rooting, acquiring root access essentially grants you elevated permissions. With root access, you are able to alter or replace system applications and settings, run specialized apps that require administrator-level permissions or perform other operations that are otherwise inaccessible to a normal Android user. And by proxy, you may also be able to access certain “hidden” device features or use existing features in new ways. DISCLAIMER: Rooting a device may void the warranty on the device. It may also make the device unstable or if not done properly, may completely brick the device. XDA-Developers or the author does not take any responsibility for your device. Root at your own risk and only if you understand what you are doing! How to root a popular Android smartphone We can go on about the virtues of root access ad infinitum, but we’ll stop for now because we can sense you’re salivating at the prospect of root access and what you can do with your device once root is achieved. Head to the following section to begin the journey. You should find device-specific root guides for latest flagship models from every major OEM below. ASUS Sr. No. Device Codename and Device Forum Root Guide 1. ASUS ROG Phone 5 ASUS ROG Phone 5s I005D Click Here 2. ASUS ZenFone 7/7 Pro I002D Click Here 3. ASUS ZenFone 8 I006D Click Here For other ASUS devices, kindly check out the ASUS section of our forums. You should be able to find similar fine-tuned guides for your device under the device sub-forums. You can also follow the generic rooting guide from this tutorial. Sr. No. Device Codename and Device Forum Root Guide 1. Google Pixel 5 redfin Click Here 2. Google Pixel 5a barbet Click Here 3. Google Pixel 6 oriole Click Here 4. Google Pixel 6 Pro raven Click Here For other Google devices, kindly check out the Google section of our forums. You should be able to find similar fine-tuned guides for your device under the device sub-forums. You can also follow the generic rooting guide from this tutorial. Motorola Sr. No. Device Codename and Device Forum Root Guide 1. Motorola G100/Edge S nio Click Here 2. Motorola Edge 20 Pro/Edge S Pro pstar Click Here For other Motorola devices, kindly check out the Motorola section of our forums. You should be able to find similar fine-tuned guides for your device under the device sub-forums. You can also follow the generic rooting guide from this tutorial. OnePlus Sr. No. Device Codename and Device Forum Root Guide 1. OnePlus 8 instantnoodle Click Here 2. OnePlus 8 Pro instantnoodlep Click Here 3. OnePlus 8T kebab Click Here 4. OnePlus 9 lemonade Click Here 5. OnePlus 9 Pro lemonadep Click Here 6. OnePlus 9R lemonades Click Here 7. OnePlus 9RT martini Click Here 8. OnePlus 10 Pro negroni Click Here 9. OnePlus Nord avicii Click Here 10. OnePlus Nord 2 denniz Click Here 11. OnePlus Nord CE ebba Click Here 12. OnePlus Nord N10 billie8 Click Here 13. OnePlus Nord N100 billie2 Click Here 14. OnePlus Nord N200 dre Click Here For other OnePlus devices, kindly check out the OnePlus section of our forums. You should be able to find similar fine-tuned guides for your device under the device sub-forums. You can also follow the generic rooting guide from this tutorial. Samsung Sr. No. Device Codename and Device Forum Root Guide 1. Galaxy S21 o1s/o1q Click Here 2. Galaxy S21 Plus t2s/t2q Click Here 3. Galaxy S21 Ultra p3s/p3q Click Here 4. Galaxy S22 r0s/r0q Click Here 5. Galaxy S22 Plus g0s/g0q Click Here 6. Galaxy S22 Ultra b0s/b0q Click Here 7. Galaxy Z Flip bloom Click Here 8. Galaxy Z Flip 3 b2q Click Here 9. Galaxy Z Fold 3 q2q Click Here For other Samsung devices, kindly check out the Samsung section of our forums. You should be able to find similar fine-tuned guides for your device under the device sub-forums. You can also follow the generic rooting guide from this tutorial. Sony Sr. No. Device Codename and Device Forum Root Guide 1. Sony Xperia 1 III pdx215 Click Here 2. Sony Xperia 5 III pdx214 Click Here 3. Sony Xperia 10 III pdx213 Click Here For other Sony Xperia devices, kindly check out the Sony section of our forums. You should be able to find similar fine-tuned guides for your device under the device sub-forums. You can also follow the generic rooting guide from this tutorial. Xiaomi Sr. No. Device Codename and Device Forum Root Guide 1. Mi 11 venus Click Here 2. Mi 11 Pro/Ultra star/mars Click Here 3. Mi 11i/11X Pro/Redmi K40 Pro+ haydn Click Here 4. Mi 11X/POCO F3/Redmi K40 alioth Click Here 5. POCO F3 GT/Redmi K40 Gaming ares Click Here 5. Redmi Note 10 mojito/sunny Click Here 6. Redmi Note 10 5G/Redmi Note 10T/POCO M3 Pro 5G camellian/camellia Click Here 7. Redmi Note 10 Pro and Redmi Note 10 Pro Max sweet Click Here 8. Redmi Note 10S rosemary Click Here 9. Xiaomi 12 cupid Click Here For other Mi, Redmi, and POCO branded devices, kindly check out the Xiaomi section of our forums. You should be able to find similar fine-tuned guides for your device under the device sub-forums. You can also follow the generic rooting guide from this tutorial. How to root any Android device Nowadays, Magisk is the de-facto rooting solution that lets you have root access by leaving the system partition untouched and modifying the boot partition. This is why it’s referred to as a “systemless” root method. Before getting started with Magisk, make sure that:
Download the latest version of the Magisk app from the project’s GitHub repository. Since the APK of Magisk is hosted outside of the Google Play Store, you may need to allow sideloading apps from unknown sources first and then manually install the downloaded package. After installing, open the Magisk app. You should see a screen like this: Now, we need to note down the values of the following parameters:
In order to patch the boot image for your device, you need to extract it from the official firmware packages. In case you’re using a custom ROM like LineageOS, then the flashable ZIP file contains the boot image. Case I: You have access to the recovery-flashable ZIP file If you have a device that still uses the A-only partition scheme, then you can find the boot.img right inside the recovery-flashable ZIP file. Just extract it using a suitable archiver program. Notice the boot.img file inside POCO M3’s recovery ZIP However, if your device utilizes the A/B partition scheme, then the boot image and other partition images are further packed inside a file named payload.bin as shown below. The recovery ZIP of the Google Pixel 5 contains a payload.bin file In that case, you have to extract the payload.bin file first, then use one of the community-developed payload.bin unpackers to get the boot.img out of it. We strongly suggest you opt for the extractor written in Go as it is cross-platform and has been actively developed. Known as “payload-dumper-go”, this fork even allows end-users to extract a single partition image without unpacking the whole payload.bin, which is particularly useful for this usage scenario.
Case II: You have access to the Fastboot-flashable image A handful of OEMs like Google and Xiaomi provide Fastboot-flashable factory images for their devices. If you managed to grab such a package, then the raw boot.img can easily be extracted from the archive. The location of the boot.img inside the Google Pixel 5’s Fastboot firmware Special Case: Samsung Samsung Galaxy devices don’t a traditional Fastboot interface, hence their factory images are packed differently.
Now that we have the boot image in hand, we should proceed with the patching part. Case I: The value of the “Ramdisk” parameter is “Yes”
In this case, you need to locate the recovery.img file from the factory image of your device instead of boot.img file. This is because Magisk needs to be installed in the recovery partition, which means you will have to reboot to the recovery mode every time you want root access.
The last step is to verify that everything is working properly. Locate the newly installed Magisk app and open it. We want to see a version number beside the “Installed” parameter. This means you have successfully obtained root. Great job! One-Click Root Methods in 2021: Kingroot, KingoRoot, and others A few years back, several generic root methods like Kingroot, KingoRoot, and others gained popularity as “one-click root” methods, promising root and related benefits with minimal steps and knowledge needed by the user. However, as Android has matured, these one-click root methods are no longer valid for modern smartphones and Android devices in 2021. We strongly dissuade against the use of these generic root methods as they are either ineffective or worse, pack in malware that can greatly compromise your device and cause you losses. Practically all of these methods are no longer recommended. You should follow the steps listed above for an effective root solution for most Android devices. We hope this guide not only points you to the right threads for rooting your device but also provides general rooting instructions that can be applied for a large majority of Android devices generally. We’ll be updating this guide with links to further guides for specific phones, so check back again in the future. The post How to Root your Android smartphone: Google, OnePlus, Samsung, Xiaomi, and others too! appeared first on xda-developers. More... |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
The best Android phones to buy in 2022: Samsung, Google, OnePlus, and more! | phillynewsnow | AVN News Feed | 0 | 10-28-2022 07:35 AM |
How to root any Android smartphone | phillynewsnow | AVN News Feed | 0 | 10-27-2022 12:14 PM |
Xiaomi rolls out MIUI 13 based on Android 13 for the Xiaomi 12 and Xiaomi 1 | phillynewsnow | AVN News Feed | 0 | 08-17-2022 11:34 AM |
The Best Smartphone Cameras in 2022: Apple, Samsung, Xiaomi, Google ? We?ve | phillynewsnow | AVN News Feed | 0 | 04-20-2022 09:46 AM |
These are the Best Android Phones to buy in 2022: Samsung, Google, OnePlus, | phillynewsnow | Random Community Topics | 0 | 03-24-2022 10:45 AM |
Layout Options | Width:
Fixed
Contact Us -
SPJ Bulletin -
Archive -
Privacy Statement -
Terms of Service -
Top
| |