[rOOt] Kwongger's Sprint HTC One All-In-One Root Pack - Sprint HTC One (M7)

Hello,
First off, I'd like to apologize for putting this in the "General" section, as I am new, I cannot post in the development related sections.
So, I have compiled a all in one package for rooting your HTC One, this kit includes fastboot, drivers, recoveries, SuperSU, and anything else you will need to root your device (there is a full list below). I have compiled some pretty detailed instructions and will post them in the second post.
INCLUDED FILES:
Fastboot
adb
Clockwork Mod Touch 6.3.something
TWRP 2.5.0
SuperSU (recovery flashable)
Disable Write Protection (recovery flashable)
Drivers (32 and 64 bit)
Stock Boot Image and Recovery
INSTRUCTIONS-
Download Latest:adf . ly/O7zCG​
Past Releases:
None Now, this is 1.0!
Notes:
By downloading this you are placing the full responsibility on yourself for anything that happens to your sexy new phone, unless it starts shooting lasers and destroying iDevices, then, the Credit is mine
This works on both Windows and Mac OSX
If you make a video or blog post etc get my permission BEFORE
ENJOY!!!

Instructions
Kwongger's Sprint HTC One All-In-One Pack
1. Create an account at HTC DEV
2. Unlock using the HTC Dev instructions (below) (select "all other supported devices" at start)
3. Flash A recovery using the below instructions
4. Either Flash the SuperSU zip (stock rooted) or the rom of Your Choice (both IN RECOVERY)
NOTE:
I will soon post a detailed YouTube video (in 2 weeks or so when I get my One!)
on youtube com /user/ kwongger​
HTC unlock method instructions:
Just So you know, these are directly from htc, all credit to them!
Step 1: Remove and reinsert the battery then proceed to step 2. For devices without a removable battery, long press the power key then select restart. Hold down the volume down key while restarting to start the device in Bootloader mode.
Step 2: Press Volume Down and Power to start the device into Bootloader mode.
Step 3: Use the Volume buttons to select up or down. Highlight Fastboot and press the Power button.
Step 4: Connect the device to the computer via a usb cable
Step 5: Isn't needed
Step 6: Open a command prompt in the directory by pressing shift, right clicking, and selecting open command prompt window here
Step 7: Navigate to where you unzipped the ZIP file and go to the folder you just created (see step 6 above)
Step 8: Type in Command Prompt: fastboot oem get_identifier_token
Step 9: You will see a long block of text. Copy and paste into the token box on HTC DEV.
You should get this:
Token Submitted Successfully!
You've been sent an email with your unlock key as a file attachment. Please review this email for further instructions and a link to complete the Bootloader process.
Leave your cmd window open you will need it after you get your Unlock_code.bin in the e-mail.
You can place the Unlock_code.bin in your Root folder and follow the instructions from the e-mail.
NOW: boot to the bootloader and select fastboot
Installing TWRP
Now type "fastboot flash recovery openrecovery-twrp-2.5.0.0-m7wls.img" without the quotes and press enter
Now type "fastboot erase cache" without the quotes and press enter
This will install custom TWRP recovery on your phone so you can start flashing custom ROMs.
Installing CWM v6.0.3.1
Turn phone completely off
Boot into HBOOT>Fastboot
Use command "fastboot flash recovery recovery-clockwork-6.0.3.1-m7wls.img" without the quotes or
"fastboot flash recovery recovery-clockwork-touch-6.0.3.1-m7wls.img" also without the quotes
AFTER FLASHING RECOVERY
1. Boot to your recovery and flash the rom of your choice.
~or~
Boot to your recovery and flash the SuperSU zip.
2. Flash the Disable Write Protection zip (will allow you to replace/edit system files)

Frequently Asked Questions
FAQ​
Will this work on (insert alternate Htc One carrier here)?
Most likely not, give it a shot though! Remember I am not responsible for anything that happens to your device.
Can I return to stock?
Yeah, just flash the stock stuff through fastboot and relock your boot loader.
Will this void my warranty?
If you really have this question you don't belong on these forums... YES htc even told you themselves when you started the bootloader unlock process
My phone won't boot.
Well you did something wrong, return to stock using the above instructions and then try again.​

I am closing this thread because it has information which this thread already has in more detail.
It's best not to have a plethora of the same thread.
Thanks

Related

Rooting for Noobs 101 - Learn how to root your phone here!

I wrote this Noob manual to help others achieve the same goal: Root the Nexus One. Thanks goes out to the XDA forums for such fantastic community support. In my quest to root, was overwhelmed and confused with the various ways to do it. Should you root by unlocking the bootloader or not, should you downgrade, then upgrade, which recovery image to use, how to flash a recovery image, everything shows "superboot" bla bla bla. We all have the same questions, but this can be a pain-staking process to find the answers. Here's a short guide that may help you root the phone.
Overview of the process: A) Unlock Bootloader B) Flash Recovery Image C) Install Rom through Recovery. D) Phone now unlocked and rooted.
1) Setup adb and confirm it's working by reading your serial number.
http://forum.xda-developers.com/showthread.php?t=613217
2) Unlock bootloader (voids warranty but htc may still repair). Turn on USB debugging (may need to toggle usb debugging off to move files to sd card, then back on for adb). Reboot phone into fastboot:
Power off device and hold down trackball while powering back on. The fastboot screen is the one with the Androids on skateboards.
Open a command prompt and navigate to your Android SDK tools folder.
Type ‘fastboot devices‘ to make sure your phone is recognized.
Type ‘fastboot oem unlock‘ to unlock the bootloader.
Use volume keys to navigate to yes and press the power button to confirm.
3) Flash Aman RA Recovery in fastboot (immediately following flash, go into recovery console before rebooting or the recovery image may not show up). The stock rom will re-flash recovery during boot because of scripts. Recovery rom should be placed in adb folder. To reboot into recovery from adb type 'reboot recovery'. Copy the recovery file to your Android SDK tools folder. Open a command prompt and navigate to your Android SDK tools folder. Type ‘fastboot flash recovery recovery.img‘ (or whatever the recovery file name is).
http://forum.xda-developers.com/showthread.php?t=611829
4) While in fastboot, select "Recovery" and new Recovery screen shows up. FRF91 signed image or custom rom should be on the sd card.
Download signed FRF91 signed image for rooting (only after adb is working, the bootloader has been unlocked and recovery image successfully flashed.
5) Flash Froyo 2.2 rooted & signed update file.
(update-nexusone-FRF91-root-signed.zip)
Get it here:
www.multiupload.com/L69XPNYDWP
www.megaupload.com/?d=XD8MYCSN
If this was done correctly, your phone is now rooted.
thx for your work
but also we have a this http://forum.xda-developers.com/showthread.php?t=636795
will this method wipe my data? and is the superboot method any easier?
Thanks!
Worked like a champ! Oh and yes it will wipe all your data... I thought maybe it wouldn't since you didn't say, but it did... oh well it's all backed up in my gmail, so it'll be ok.

How to flash new firmware and Rom, using MAC?

Hey guys
I want to flash my Firmeware after i unlocked my Bootloader and rooted my phone. What are the steps to do so on MAC computers?
I unlocked my bootloader and rooted my phone few days ago by the following steps on my Mac sucessfully:
http://htconeroot.com/htc-one-root/how-to-root-htc-one-windowsmaclinux/
Step 1. First, go to Settings->Developer options and make sure USB debugging is checked ON.
Step 2. Connect a micro-USB cable from your HTC One to your computer.
Step 3. Download HTCOneRoot.zip and unzip to HTCOneRoot directory. This zip file contains everything you need to root your HTC One!
Step 4. Open a command prompt/terminal on your computer and type:
cd Downloads
cd HTCOneRoot
chmod 755 *
./adb-mac backup -apk -all -f backup.ab
Step 5. Go to your phone and choose “Backup up my data”. This will back up all of your app and app data.
Step 6. Once app backup is done, go to Settings->Power and make sure Fast boot is checked OFF.
Step 7. Turn off your HTC One. Then hold down Volume Down and Power buttons together for about 3-5 seconds until you see bootloader menu.
-Hit the Power button to enter Fastboot mode
-Connect micro-USB cable from your HTC One to your computer.
Step 8. Type the following in your command prompt/terminal:
./fastboot-mac oem get_identifier_token
Step 9. Copy the identifier token you get exactly as shown below (or see video tutorial).
Step 10. Go to HTCDev.com and log-in. If you don’t have an account, register then log-in.
Click on “Unlock Bootloader” then “Get Started”.
Step 11. Choose “All Other Supported Models” then click on “Begin Unlock Bootloader”.
Step 12. Choose “Yes”.
Step 13. Make sure check boxes are checked ON and click on “Proceed to Unlock Instructions”.
Step 14. Scroll all the way to the bottom and click on “Proceed to Step 5″.
Step 15. Scroll all the way to the bottom and click on “Proceed to Step 8″.
Step 16. Scroll all the way to the bottom and paste your token you copied over earlier. Make sure there’s no white spaces or INFO (if using MAC/Linux).
Step 17. Hit “Submit” and if you copied and pasted the token correctly, you should get a success message.
Step 18. Check your e-mail and you should have received Unlock_code.bin file from HTC.com.
Step 19. Download and copy the Unlock_code.bin file to the HTCOneRoot folder.
Step 20. Next type in command prompt/terminal:
./fastboot-mac flash unlocktoken Unlock_code.bin
Step 21. Go to your phone and choose “Yes” using Volume Up button then hit the Power button. Your HTC One will reboot in about 5 seconds.
Step 22. Once rebooted, your HTC One should be completely wiped and you should get Welcome message just like the day you got your phone. Sign in through the setup process then copy the CWM-SuperSU-v1.30.zip file in HTCOneRoot folder to anywhere on your HTC One’s internal storage.
Step 23. Power off your phone then re-boot into bootloader menu to fastboot mode like you did in Step 7.
Step 24. Type the following to install recovery:
For HTC One M7 (AT&T/T-Mobile/International/Unlocked/Developer)
fastboot flash recovery openrecovery-twrp-2.5.0.0-m7.img
Then Type:
./fastboot-mac erase cache
Step 25. Choose “Bootloader” and hit the Power button.
Step 26. Choose “Recovery” and hit the Power button.
Step 27. Once in TWRP recovery, choose “Install”.
Step 28. Choose the file CWM-SuperSU-v1.30.zip.
Step 29. Swipe to flash this file. This will root your HTC One by installing SuperSU superuser app and SU binaries.
Step 30. Choose “Reboot System” to reboot.
Step 31. Once rebooted, you will find “SuperSU” app in your app drawer. Congratulations! You’ve successfully rooted your HTC One! You can verify full root by installing a rooted app like Titanium Backup app.
My question:
How do I now flash a new Firmware on it? I know I have to relock my bootloader and then i can flash the firmware.
But what are the concrete steps in terminal and on the phone to relock and flash firmeware and for expample Revoultion HD on it?
Here I found the firmware http://forum.xda-developers.com/showthread.php?t=2182823
I would be grateful for any help
Filip
You would download the Mini-SDK folder which has fastboot and adb files inside and place it on the desktop. You would then open up a terminal window and navigate to that folder "cd /Users/yourusername/Desktop/nameoftheSDKfolder and then you would type fastboot and/or commands just as you would on Windows. I think the command for locking the bootloader is fastboot oem lock.
This is how you setup fastboot and ADB on your Mac: http://forum.xda-developers.com/showthread.php?t=1917237
Read the guide carefully and it will be a piece of cake. Download the "android.zip" file attached in the thread and place the folder on Desktop, do not download the big Android-SDK file (the guide will instruct you to do that anyway).

[TUTORIAL] Install MMB29X and Rooting

As the title says i am ready to show you guys how to install MMB29X and then how to root the device.
First of all , the requirements ofcourse..
1. A Nexus 5 with an unlocked bootloader obviously .. if not i'm gonna show you how to unlock the bootloader safe and fast.
2. Usb Cable ,preferably micro-usb , the size does not matter at all ..
3. ADB and FASTBOOT Drivers , you can download them from here
4. Original Firmware package from here
5. SuperSU Beta 2.66 from here
6. CWM Recovery , i used it in process you can use it too , worked for me ,it should work for you too.. here
7. Some Time
First Of all , download everything and install the drivers systemwide (reccomended)
1.0 Unlock your bootloader.. WARNING (THIS WILL WIPE YOUR DEVICE!)
1.1 - To do that put your phone into fastboot bode and connect it to the computer and search for adb in the programs , press windows key and search for adb , you will see a program called adb.exe don't panic and click the file! right click and open file location.
1.2 - After you will probably see fastboot and adb programs exe's good , that means you installed everything corectly congratulations!
1.3 - Shift+ Right click on a blank space and select open command window here.
1.4 - With the Device connected to pc via fastboot type in that command window ,without commas "fastboot oem unlock" that will unlock your bootloader , then type "reboot bootloader" to reboot to bootloader again. then you have to restart the phone normally and proceed to the next step.
2.0 Flashing MMB29X Image
2.1 - Put your phone into bootloader mode , power off the device and put it into bootloader mode vol.down + power then connect it to the computer ( hope you backed up your data! )
2.2 - On the computer ,copy the downloaded image file to the adb root folder that i talked in the first step then right click on the .tgz image file and extract it in there.
2.3 - Shift + Right click again on a blank space and select open command window here.
2.4 - Navigate onto the folder called "hammerhead-mmb29x" and run "flash-all.bat" file , that batch file will flash everything just take a break and relax until is finished then power up the device and configure it , wifi , google account etc..
2.5 - Copy SuperSU .zip file into sdcard directory
3.0 Custom Recovery and Root!! Finally ..
3.1 - After you completed step 2.5 power off your device and put it into bootloader mode and connect it to the computer.
3.2 - Copy "recovery-clockwork-touch-6.0.4.5-hammerhead.img" into that adb folder that we used before and rename it into "cwm.img"
3.3 - Shift + Right Click and select open command window here and type "fastboot flash recovery cwm.img"
3.4 - After the process is finished , go straight without rebooting into recovery mode by pressing the vol. down button 2 times and press power button to select the option to enter into the recovery mode.
3.5 - Select install zip > choose zip from sdcard > 0/ > and select supersu zip file , then install it! then go back and reboot the phone , IT WILL PROBABLY ASK YOU TO ROOT THE DEVICE , JUST PRESS NO AND LEAVE THE PHONE TO REBOOT !!
3.6 - Wait the phone to reboot and enjoy your rooted device!
3.7 - Press Thanks if i helped :good:
You've come a long way in a short time...
But your tutorial needs a proper proof-read. Did you walk through these steps yourself to make sure that the instructions are correct?
"SuperSU Beta 2.66" - why not the newest version?
"Usb Cable ,preferably micro-usb" - what other type will fit?
Step 1.0 You haven't mentioned in big red capital underlined letters "This will wipe your phone".
Step 1.4 "then you have to restart the phone normally" - why, since the next step is "Put your phone into bootloader mode"?
Step 2.1 "Put your phone into bootloader mode , power off the device and put it into bootloader mode" doesn't really make sense.
Step 2.4 You haven't mentioned in big red capital underlined letters "This will wipe your phone".
Step 3.2 says "rename it into "cwm.img"" and the following flash command refers to "zip".
Step 3.3 "type "flash recovery cwm.zip"" - wrong. "Fastboot flash recovery cwm.img".
But kudos for writing the tutorial and posting it as a help to others. Can you correct at least the errors so that new users don't get in a mess? And this time I suggest that you then walk through it step by step to be sure that you've got it all right.
Here is the complete guide for update to the latest firmware for those who have rooted phone:
[GUIDE] Update stock rooted/modified rom to last 6.0 Marshmallow w/o losing your data
I think it is sufficient and complete ...
dahawthorne said:
You've come a long way in a short time...
But your tutorial needs a proper proof-read. Did you walk through these steps yourself to make sure that the instructions are correct?
"SuperSU Beta 2.66" - why not the newest version?
"Usb Cable ,preferably micro-usb" - what other type will fit?
Step 1.0 You haven't mentioned in big red capital underlined letters "This will wipe your phone".
Step 1.4 "then you have to restart the phone normally" - why, since the next step is "Put your phone into bootloader mode"?
Step 2.1 "Put your phone into bootloader mode , power off the device and put it into bootloader mode" doesn't really make sense.
Step 2.4 You haven't mentioned in big red capital underlined letters "This will wipe your phone".
Step 3.2 says "rename it into "cwm.img"" and the following flash command refers to "zip".
Step 3.3 "type "flash recovery cwm.zip"" - wrong. "Fastboot flash recovery cwm.img".
But kudos for writing the tutorial and posting it as a help to others. Can you correct at least the errors so that new users don't get in a mess? And this time I suggest that you then walk through it step by step to be sure that you've got it all right.
Click to expand...
Click to collapse
Fixed!
Sent from my Nexus 5 using XDA-Developers mobile app
Really? I still see v2.66, "preferably micro-USB"... I stopped reading after that.
And you haven't confirmed that you've walked through the instructions to test that they now work.
Have you heard the saying "A little knowledge is a dangerous thing"?
And finally a general message - maybe I should add it to my signature:
(P.S. A plea to everyone in these forums. Don't reply to a simple 1-page thread post copying the entire post to which you're replying. I've already read the original - I don't need to read it again. Copy the original post only where necessary - e.g. if it's on a previous page. And even then copy only the point to which you're replying, not the entire post. The result will be clearer and shorter threads which will be more enjoyable to read.)
While we do appreciate your effort , the guide is incomplete and incoherent.
It might brick phones of new users.
Thread closed.
XDA Staff

I am having trouble finishing the rooting of my HTC Desire 626s

I have posted the instructions bellow that I have been following.
1. I got the bootloader unlocked.
2. The fastboot flash recovery went through ok
3. Is were the problem is. The instructions say after flashing the img in place
it is time to open Cynogen Mod menu and flash in the SuperSU file. The
instructions say to reboot to bootloader > boot to recovery mode then hit the
power button. At this point the Cyanogen Mod recovery mode menu is
supposed to come up. And then navigate to were the SuperSU.zip file is.
The problem is that the Cynogen Mod menu never comes up. All I get is
the following picture bellow. Then the phone reboots to normal operating mode.
The phone works 100% but it still isn't rooted. I don't know how to fix this.
The boot loader screens aren't the same as I have seen in video turtorials that I
have seen. I can post those screen captures as well if needed.
----------------------
Complete, detailed, step-by-step root procedure for HTC Desire 626s
Credits
- I did not come up with the procedure to root this phone - that work was done by member @hackvcs - I just put this guide together using the method that he developed (and using the custom recovery that he put together). Please give all credit to @hackvcs!!! Also, the links to the files below are not my links - they are links that other members provided (member who provided them is listed below).
Pre-requistes/Downloads:
- HTC Desire 626s phone
- Official TWRP Recovery Images: https://twrp.me/devices/htcdesire626s.html - Thanks @Captain_Throwback!
- Recovery images (custom CyanogenMod recovery and stock recovery image) - provided by @hackvcs (https://mega.nz/#!sp0wCThZ!MQVTq6y_8...hnaLRq8UiqLruQ)
-SuperSU binary .zip file - link provided by @mussio (https://download.chainfire.eu/696/SuperSU)
1. Unlock bootloader
- Enable "Unknown Sources" on your phone:
- Settings->Security: Check "Unknown Sources" checkbox
- Enable "Developer Mode" and enable "USB Debugging" and "OEM Unlocking" settings
- Settings->About->Software Information->More: Tap on "Build Number" 7 or more times until it tells you that Developer Mode is enabled.
- Settings->Developer Options: Enable "OEM Unlocking" and "USB Debugging" options.
- Actually unlock the bootloader by going to the HTCdev "Unlock Bootloader" website (www.htcdev.com/bootloader) and following the directions to unlock your bootloader. You will need to create an account on this website before being able to unlock the bootloader. I'm not going to provide step-by-step instructions for the bootloader unlock procedure since the HTCdev website already provides a step-by-step procedure. However, here are a few key notes regarding this procedure:
- The bootloader unlock procedure will reset your phone back to factory defaults. Make sure to backup anything that you need on the phone before unlocking the bootloader. You can optionally install the "HTC Sync Manager" (link provided on HTCdev website) to backup your phone before starting the process.
- In the "Select your device" box on the first screen of the bootloader unlock procedure, select "HTC Desire *" as the device type.
-If you are running the latest firmware on your phone, you do not need to worry about the phone update page when you first start the unlock process - just scroll to the bottom of the screen and click the "Proceed to Step 1" button to start the procedure.
- You will need to install Java if you don't already have it installed - there is a link to download Java right on the same page as the bootloader unlock procedure.
- You will need to download and install the fastboot binaries provided in step 4 of the bootloader unlock procedure. Unzip the fastboot.exe file included in the zip to a directory that you will use to root your HTC Desire 626s (I recommend creating a new directory for this - something like "C:\HTC626s") - later, you will also put the other files you need (recovery image file and SuperSU binary .zip file) into this same directory so that everything is in one place
2. Install custom recovery
Once you have successfully unlocked your bootloader, you will need to flash a custom recovery (TWRP recommended). This recovery image will replace the stock recovery on your phone and allow to flash the SuperSU binaries in the next step.
- Connect your phone to the PC via USB cable and let the PC install the necessary drivers for the phone.
- Power off phone
- Reboot the phone into "Download" mode:
- While holding the Volume Down button, press the device Power button. Continue to hold the Volume Down button until the phone boots into "Download" mode. To confirm that the bootloader is unlocked and that you are in "Download" mode, you should see the following two lines at the top of the screen:
- "hTC download mode"
- "*** Unlocked ***"
- Once you have confirmed that you are in download mode and the bootloader is unlocked, it's time to flash the custom recovery:
- Open a Command Prompt (aka DOS prompt) window and change to the directory where you put the fastboot.exe file. If using the recommended directory, you would type this command in the Command Prompt window to change to that directory:
- Type "cd \HTC626s" and press [ENTER]
- Make sure that the recovery file is in the same directory (type "DIR" and press [ENTER] to see the files in the current directory). If it is not in the current directory, put it there before continuing (via Windows Explorer). Also, I'd recommend renaming the recovery image to "recovery.img" - it makes typing the commands a little easier and reduces the likleyhood of a typo. So before continuing, you should have both "fastboot.exe" and "recovery.img" in the current directory.
-In the command prompt window, type "fastboot flash recovery recovery.img" and press [ENTER] - this will flash the custom recovery to your device.
3. Install SuperSU superuser binaries
Now that we have the bootloader unlocked and the CyanogenMod recovery installed, we are set to flash the SuperSU binaries to actually root the device. Before continuing, make sure that you have copied the SuperSU binary .zip file to the internal storage on your phone! Once we boot into CyanogenMod, you will have to navigate to this .zip file in order to install it. It MUST be on the *internal* phone storage (not on the MicroSD card).
- Reboot your phone into recovery:
- Power off the phone
- Power on the phone while holding the "Volume Down" button. Keep holding "Volume Down" until the phone boots into Download mode.
- Scroll down to "Reboot to bootloader" and press the power button.
- Once in bootloader mode, scroll down to "Boot to recovery mode" and press the power button. At this point, you should be in the CyanogenMod recovery menu.
- Scroll down to "Apply Update" and press the power button
- Scroll down to "Choose from internal storage" and press the power button
- Navigate to where you stored the SuperSU .zip file and select it - the SuperSU binaries will be installed on the phone.
-That should do it! You should now have a rooted HTC Desire 626s. Reboot the phone into Android and confirm that you have a SuperSU icon in your app drawer and then confirm that the device is actually rooted.

[Guide] [Android 9/10] [7/7Pro] Unlock, TWRP, Root, and Update

------------------------------------------
Latest update to guide: Jul. 5, 2020
------------------------------------------
Hi everyone!
Many users browse these forums coming from Google or YouTube and have trouble navigating between many guides and threads expecting a working knowledge of Android devices. Many may say that if you don't know what you are getting into, don't do it, but this warning is not followed by many people. Instead of having to deal with the pleas for help from lost users with soft bricked phones, I decided we need a 'megathread' with accurate, easy to follow instructions with correct grammar and concise descriptions.
This thread is constantly updated. Please inform me with a reply or PM if you want anything modified
Sections:
Unlock the bootloader (required for most other modifications)
Install the TWRP custom recovery
Install Magisk for superuser/root
Install an OTA update while rooted
Section 1: Unlocking the bootloader (Windows Only)
If your device is a T-Mobile version, you must first request an unlock token from this website to complete this section. Your device may also need to be SIM unlocked. Check your carrier website for details. Using the cable included in the box is also recommended.
Step 1: With your phone turned on, open Settings. Scroll down to the bottom and select About phone. Touch Build number quickly until a toast message (grey rectangle at the bottom of the screen) appears reading You are now a developer!. Go back one screen to the main settings list and select System. Select Developer options. Turn on the switch next to OEM unlocking. Scroll down a small bit and turn on the switch beside Advanced reboot. Scroll down a bit more and turn on the switch beside USB debugging. Go back to the home screen.
Step 2: Plug your phone into your computer with the cable supplied in the box. On your phone, look in the notifications for a message that says: "Android System Charging this device via USB." Touch the notification once to expand it and again to open it. Choose File transfer from the list. Download and extract this zip file by right clicking it, clicking Extract All, then Extract. (File Credit: Google) This file contains the official ADB and Fastboot binaries. Open File Explorer and navigate to This PC. Under Devices and drives, click on the CD drive labelled with a bunch of numbers. Click on OnePlus_USB_Drivers_Setup and click yes in the User Account Control popup. Click Ok then Install, then Finish. Navigate back to the extracted ADB and fastboot files (the folder will likely be named platform-tools). With this folder open, hold shift and right click on the blank space. Click Open command window here or Open PowerShell window here. Unlock/wake up your phone. Type in the terminal window on your computer followed by the enter key
Code:
adb devices
A prompt should appear on your phone. Click Ok. Type followed by the enter key
Code:
adb reboot bootloader
Your phone screen should show the OnePlus logo as well as the words FastBoot Mode briefly. Type followed by the enter key
Code:
fastboot oem unlock
Warning: This next step will wipe your phone. On your phone, use the volume down key to select Unlock the bootloader and then the power key to select. Your phone will then be wiped and restart automatically.
Step 3: Follow the phone's initial setup exactly how you would if you were setting up a new phone. Restore any backup you have now. Once completely set up, follow the instructions from Step 1, ignoring the OEM unlocking switch. I also recommend typing this followed by enter
Code:
adb devices
A prompt should appear on your phone. Click Ok.
Your device is now Bootloader Unlocked.
Section 2: Installing TWRP (Windows Only)
Your bootloader must already be unlocked, and you must be on the latest version of OxygenOS. Using the cable included in the box is also recommended.
Step 1: With your phone turned on, hold the power button and until the reboot options menu appears on the right side. Click Bootloader. Plug your phone into your computer with the cable supplied in the box. Download these two files (File 1 for Android 10, File 1 for Android 9, File 2), which now work on both the OnePlus 7 Pro and OnePlus 7. (File Credit: @mauronofrio and Team Win Recovery Project). Put these files somewhere accessible, such as your Desktop.
Step 2: Open the folder with your ADB and Fastboot binaries (the folder will likely be named platform-tools). With this folder open, hold shift and right click on the blank space. Click Open command window here or Open PowerShell window here. Type in the terminal window
Code:
fastboot boot
followed by a space. Drag the image/img file you downloaded called twrp-3.3.1-79-guacamole-unified-Q-mauronofrio into your terminal window. The resulting command in your terminal window should read something like this
Code:
fastboot boot C:/Users/Arden/Desktop/twrp-3.3.1-79-guacamole-unified-Q-mauronofrio.img
If it does, click the enter key.
Step 3: On your phone, enter your PIN/Password/Pattern if requested. You should now see a screen with grey boxes. This is the TWRP recovery. Click Advanced, then ADB Sideload, then swipe the bar at the bottom to the right. On your computer, type
Code:
adb sideload
followed by a space. Drag the zip file you downloaded called twrp-3.3.1-79-guacamole-unified-installer-mauronofrio into your terminal window. The resulting command in your terminal window should read something like this
Code:
adb sideload C:/Users/Arden/Desktop/twrp-3.3.1-79-guacamole-unified-installer-mauronofrio.zip
If it does, click the enter key. On your phone, you will see some text scrolling in a black box. Once the button appears on the bottom right, click Reboot.
Your device now has the TWRP custom recovery.
Section 3: Installing Magisk
You must already have TWRP installed to complete this section.
Step 1: On your phone, download the Magisk installer zip (File Credit: topjohnwu). If you are not already in the TWRP recovery, hold the power button and until the reboot options menu appears on the right side. Click Recovery.
Step 2: Enter your PIN/Password/Pattern if requested. You should now see a screen with grey boxes. Choose Install and navigate to the folder you downloaded the Magisk file to. Select the Magisk file (likely named Magisk-20.4.zip) and swipe the bar at the bottom to the right. Once the button appears in the bottom right, click Reboot.
You now have Magisk root.
Section 4: Installing an OTA update while rooted
You must be rooted to complete this section.
Step 1: If you have any themes installed, such as Renovate ICE, Swift Themes, RoundyUI, or Substratum themes, remove them before continuing. Remove the Call Recording Enabler module if you have it. Restart if needed.
Step 2: Click on the system update notification. If it does not appear, open Settings, scroll to the bottom and click System, scroll to the bottom and click System updates. Click on the Install or Download and Install button and let it complete. Do NOT click Reboot.
Step 3: Open Magisk Manager and click the hamburger menu in the top left (3 horizontal lines). Click Downloads and then click the search icon (magnifying glass) in the top right corner. Type "TWRP" and click enter. Click the download arrow beside the module named TWRP A/B Retention Script. Do NOT click Reboot.
Step 4: Click the back button in the top left, followed by the hamburger menu in the top left as well (3 horizontal lines). Click Magisk and then click the top Install button, followed by Install again, then Install to Inactive Slot. You may now click Reboot.
You now have updated your phone's OxygenOS. Reinstall any modules or themes deleted in this process if they are compatible.
(reserved extra section)
Great idea, very thorough!
You forgot the very first step, which is to get sim unlocked. Without this OEM unlock will be greyed out
anoymonos said:
You forgot the very first step, which is to get sim unlocked. Without this OEM unlock will be greyed out
Click to expand...
Click to collapse
Oh, my bad. In my country it's illegal to sell locked phones
Arden144 said:
Section 1: Unlocking the bootloader (Windows Only)
<snip> Type followed by the enter key
Code:
fastboot flashing unlock
Warning: This next step will wipe your phone. On your phone, use the volume down key to select Unlock the bootloader and then the power key to select. Your phone will then be wiped and restart automatically.
Click to expand...
Click to collapse
I am curious about this step. For most all time with a phone that has an unlockable bootloader the command has always been:
Code:
fastboot [B]oem[/B] unlock
Why do we use 'flashing' instead of 'oem' in that command for this phone?
teddyearp said:
Section 1: Unlocking the bootloader (Windows Only)
<snip> Type followed by the enter key
I am curious about this step. For most all time with a phone that has an unlockable bootloader the command has always been:
Why do we use 'flashing' instead of 'oem' in that command for this phone?
Click to expand...
Click to collapse
Good question, actually. I'm not entirely sure why the wording change, but the command has been different on close to stock devices since the Nexus 6P/5X. If someone more knowledgeable could explain, that would be great
Arden144 said:
Code:
fastboot boot C:/Users/Arden/Desktop/twrp-3.3.1-3-guacamole.img
Click to expand...
Click to collapse
On earlier OOS versions, the command "fastboot boot" is broken, and this won't work. Process in that case is to flash a patched boot image, root with Magisk, and then flash TWRP like a Magisk module.
Your method works for those that have updated to more recent OOS versions. However, there are folks still out there with older OOS versions, where "fastboot boot" won't work (don't know the cutoff exactly).
redpoint73 said:
On earlier OOS versions, the command "fastboot boot" is broken, and this won't work. Process in that case is to flash a patched boot image, root with Magisk, and then flash TWRP like a Magisk module.
Your method works for those that have updated to more recent OOS versions. However, there are folks still out there with older OOS versions, where "fastboot boot" won't work (don't know the cutoff exactly).
Click to expand...
Click to collapse
Thanks for the info. I'm not going to add the patched image way, as extracting the boot.img is annoying and I'm trying to avoid methods that rely on someone else providing files. However, I'll add a note to the TWRP install section asking for 9.5.7 minimum as everyone should be on that update by now
I hope this gets stickied. Thank you for the guide
just an update, fastboot flashing unlock didnt work for me, but fastboot oem unlock did
Yayodroid said:
just an update, fastboot flashing unlock didnt work for me, but fastboot oem unlock did
Click to expand...
Click to collapse
For me also...the right command seems still fastboot oem unlock
Is this method applicable to all versions ? Im getting the GM1910: China version , I have used this method when i had my OP6 so i just have to get the correct TWRP version, if the IMG boots the TWRP i guess the zip will be good to go when flashing .
Cheers
Yayodroid said:
just an update, fastboot flashing unlock didnt work for me, but fastboot oem unlock did
Click to expand...
Click to collapse
I confirm this. Tried this tutorial but was stuck at flashing stage. A YouTube video provided further assistance. Fastboot oem unlock worked.
I think it's great you're supplying these basics. Wish I had it when I first rooted first Android device (htc Evo 4g on sprint). Kudos.
ph1dft said:
For me also...the right command seems still fastboot oem unlock
Click to expand...
Click to collapse
I'm skeptical that the command "fastboot flashing unlock" is applicable for this device. I think it may just be a carryover from some other device(s). The original poster responsed that it is applicable to "close to stock devices since the Nexus 6P/5X" but never explicitly stated whether it even worked for him on the 7 Pro.
Far as I can tell "fastboot oem unlock" is the correct and only command on this, and other previous OnePlus devices (and is also the command that worked for me).

Categories

Resources