[ How To ] Unlock bootloader and root your OP3 with a mac ! - OnePlus 3 Guides, News, & Discussion

How to root your Oneplus 3 with a mac !​
First, read EVERYTHING and be sure that you understand EVERY STEPS before doing anything.
If you try to do anything on this post,
you accept all responsibility for your actions
If your phone catches fire or begin an nuclear attack,
it will NOT be my fault
If you try to threaten me
i'll laugh at you :laugh:
Click to expand...
Click to collapse
WARNING : YOU GONNA LOSE EVERYHING ON YOUR PHONE. PLEASE MAKE A BACKUP !
You need :
- Your OP3
- ADB + Fastboot for mac : https://lc.cx/okvn
- Android file transfer ( normally, it gonna be installed during drivers installation)
- Drivers for your OP3
- SuperSU for OP3
- TWRP recovery (in ADB + Fastboot files)
First step : Unlock your bootloader.
1. Unable developer options in your OP3. Tap 7 times on build number (Parameters --> About --> Build number)
2. On developer options, enable USB debugging + Enable OEM unlocking + Advanced reboot
3. Unplug tour OP3 from your computer and reboot it and select bootloader
4. Download and put ADB + Fastboot folder and put it on the the desktop then, extract it (Android folder)
5. On your mac, open a terminal console and put :
cd Desktop/Android
Click to expand...
Click to collapse
./ADB-Install-Mac.sh
Click to expand...
Click to collapse
6. Follow steps to install ADB and Fastboot
7. Plug your OP3 and put this line on terminal :
./adb devices
Click to expand...
Click to collapse
Normally, you gonna see a code. This is your phone
8. Close Terminal and re-launch it and put
cd Desktop/Android
Click to expand...
Click to collapse
./fastboot oem unlock
Click to expand...
Click to collapse
9. On your phone, use volume key and power key to select yes and continue operation.
10. Your phone gonna factory reset and reboot several times. Wait until they ask language to configure your phone.
11. Enable another time developer options, and check if " Enable OEM unlocking " is enable. If it's not, enable it.
Congratulation, you unlock your bootloader
If you want to root your OP3 :
1. Reboot your phone in fastboot and plug it to your mac
2. On your mac, open a terminal console and put :
cd Desktop/Android/Mac
Click to expand...
Click to collapse
./fastboot flash recovery twrp.img
Click to expand...
Click to collapse
3. Your phone gonna reboot. When it's finished, reboot it on recovery
4. Plug your OP3 if you have unplug it and open Android File transfer on your mac
5. Transfer SuperSU file on your OP3
6.Click on Install and choose your SuperSU file.
7.Wait a little bit and, when he say that it's finished, click on return button, and select reboot --> System
Congratulation you have install a custom recovery and root your OP3

Easier way
1: Download android studio. 2: Open terminal and type in cd /Users/<User>/Library/Android/sdk/platform-tools. 3: Put ur device into fastboot and unlock bl and so on.
Android studio: https://developer.android.com/studio/index.html
And drivers are not required because mac is linux based like ur android device.

Suppeman said:
Easier way
1: Download android studio. 2: Open terminal and type in cd /Users/<User>/Library/Android/sdk/platform-tools. 3: Put ur device into fastboot and unlock bl and so on.
Android studio: https://developer.android.com/studio/index.html
And drivers are not required because mac is linux based like ur android device.
Click to expand...
Click to collapse
using hombrew
install it:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
install tools
brew install android-platform-tools

everything is the same as in windows or linux. looks pointless.

When I try to run "./adb devices" I get "-bash: ./abd: No such file or directory"
ive rooted phones in the past, but never had to do much with terminal commands or adb... not really sure what im going wrong here... assuming adb not installing correctly?

well, after several more hours of reading ive finally figured it out... im not sure how ive never had to do this on one of my phones in the past

and what did you figure out...?

Suppeman said:
Easier way
1: Download android studio. 2: Open terminal and type in cd /Users/<User>/Library/Android/sdk/platform-tools. 3: Put ur device into fastboot and unlock bl and so on.
Android studio: https://developer.android.com/studio/index.html
And drivers are not required because mac is linux based like ur android device.
Click to expand...
Click to collapse
Exactly this. The OP is a bunch of unnecessary steps.

Does this work for OP3T too?

Related

rooting galaxy tab 10.1v (working)

hi, this is how i managed to get root working on my tab, everything went fine for me till it came to booting into recovery then nothing use to happen so i combined two separate guides to get it working. thanks (bcmobile and 411tecknology)
the command in "(getting root 5) )" worked for me as i was getting stuck with "fastboot flash recovery skitzandroid-recovery.img"
i unlocked the bootloader by firmware upgrade the the following
for all those people like me with no experience in dos commands or linux, hope this works for you​
PREPARE:
1) With your Tab in fastboot mode (step 1 of “GETTING ROOT” below), make sure you have a working fastboot implementation:
working dir\\fastboot devices
If all is well, you should see your device serial number. If there is a problem, you won’t get any response.
2) Downlad the two files attached to this thread
3) create a folder in drive c naming it "root"
This will be referred to as the working directory throughout the rest of this guide
4) Copy skitzandroid-10-1v-root.zip to your working directory (DO NOT UNZIP!) c: root
5) Extract the skitzandroid-recovery.img file from skitzandroid-stock-recovery.zip to your working folder. Your working folder( c: root) should now have 1 IMG file and one ZIP file.
6) copy fastboot files to the the folder that you are going to use as working dir ( c:root)
7) Copy the skitzandroid-10-1v-root.zip file to the root of your sdcard. You can eithe drag/drop, or run:
working dir or c:\root>adb push skitzandroid-10-1v-root.zip /sdcard
GETTING ROOT:
1) Power off your Tab and power it back on, while holding the VOLUME DOWN button.
2) When the DOWNLOAD / FASTBOOT icons appear, press VOLUME DOWN again to select FASTBOOT icon (the one with the USB logo) and press VOLUME UP to confirm selection.
3) Confirm you are now in fastboot mode and do a:
fastboot devices
If all is well, you should see your device serial number.
4) Open a terminal / CMD prompt and CD to your working folder
keep doing cd.. until you get to "c:>" then
cd/root
5) Run the following command:
c:\root> fastboot boot skitzandroid-recovery.img
..and wait. It might not look like anything is happening but it is.
6) You should now have a recovery menu. Use the volume rocker (up/down navigates menu options)
to select “Install zip from SDCARD” (or something like that)
7) Navigate to the root of your internal storage (/sdcard), select the skitzandroid-10-1v-root.zip file and press (tap!) the POWER button to confirm selection.
Once complete, use the Volume rocker to select “REBOOT” from the menu and press (tap!!!) the POWER button to confirm selection.
9) YOUR’RE DONE. Press the thanks button on this thread to continue
TESTING:
Check your apps menu to confirm the existence of SuperUser app.
whats wrong with this?
http://forum.xda-developers.com/showthread.php?t=1079781
Nothing!
I used it on UNLOCKED 10.1v (not from Vodafone) and had no data loss!
Great, Thanks
Frank
I do not understand: 3) Confirm you are now in fastboot mode and do a:
fastboot devices
If all is well, you should see your device serial number.
Where do I enter this data?
I mean - fastboot deviсes
TNTCOSMOS said:
I do not understand: 3) Confirm you are now in fastboot mode and do a:
fastboot devices
If all is well, you should see your device serial number.
Where do I enter this data?
I mean - fastboot deviсes
Click to expand...
Click to collapse
once you start your device in fastboot mode and connect it with the computer to make sure your device is recognized by the computer you open command prompt take it to your working dir.. (ie. c:>root) in our case type fastboot devices and hit enter, if your computer recognized your device you will the serial number under it.
im sorry> can you help me?
When i write in the command line "fastboot.exe devices" nothing happens....
TNTCOSMOS said:
im sorry> can you help me?
When i write in the command line "fastboot.exe devices" nothing happens....
Click to expand...
Click to collapse
assuming you have installed sdk if not please do so, then staying in sdk go to
(C:\android\android-sdk-windows\platform-tools ) by clicking your mouse in desktop
(not cmd prompt). above eg.. is how i installed sdk on my desktop yours may be different, now in platform-tools you will see two files called fastboot copy them both to to your folder called ..root.. and you are set to go.
bottom line is if you want to start fastboot from any folder in cmd you have to have these two files in the folder.
also if you know that your device is detected by your computer dont worry about step 3. all it does is tell you that your device is connected.
I have all turned out, the problem was the drivers. I copied the driver from pdanet and it worked!
TNTCOSMOS said:
I have all turned out, the problem was the drivers. I copied the driver from pdanet and it worked!
Click to expand...
Click to collapse
Glad to hear that you finally got the root.
same problem
TNTCOSMOS said:
im sorry> can you help me?
When i write in the command line "fastboot.exe devices" nothing happens....
Click to expand...
Click to collapse
i've tried with pdanet too but it's not working....like the computer can't see the device...any ideea ???
and when i write "fastboot boot ......etc......" it says <waiting for the device>
please help
You need the drivers installed for fastboot, have you installed them? Please have a look at the [Guide] Unlock your bootloader thread. it contains all the details to get fastboot working.
thank you...finally did it
another noob question...how do i enter in cwm for installing another ROM ???
zbuggy said:
thank you...finally did it
another noob question...how do i enter in cwm for installing another ROM ???
Click to expand...
Click to collapse
The easiest way if you are rooted is to install rom manager from the market. It has an option to reboot to recovery if you have CWM installed. It also allows you to update to the latest CWM recovery if there is one.
i've tried putting the TB Galaxy 1.0.9: Honeycomb 3.1 + TouchWiz UX and i made a mistake... in cwm i've uploaded the zip file only with the update and not the rom itself.since then the tab won't start...it stop's in the beggining at the "samsung galaxy tab 10.1v"...any ideea...what can i do ?
Download latest rom and instructions from samfirmware.com using odin Get ur tab into fastboot mode with 3 button recovery and start from scratch.
It should work out
Sent from my GT-P7500 using Tapatalk
zbuggy said:
i've tried putting the TB Galaxy 1.0.9: Honeycomb 3.1 + TouchWiz UX and i made a mistake... in cwm i've uploaded the zip file only with the update and not the rom itself.since then the tab won't start...it stop's in the beggining at the "samsung galaxy tab 10.1v"...any ideea...what can i do ?
Click to expand...
Click to collapse
Do the following. If you have not yet odin.
Download the full rom.
Follow instructions in how to get into fasboot in sticky thread.
Once in fastboot you can load recovery via it, to do that download the recovery from droidbasement.com/blog, search on pershoot's website for recovery 4.0.4 if i remember correctly then type
fastboot boot recovery.img
where recovery.img is the name of the file you downloaded from droidbasement.com
Recovery will then load give it a minute or so.
Once loaded you can push the downloaded full rom via adb. That is part of the android sdk.
Like this: adb push romfile.zip /data/media/ (this will take a few minutes)
Then in cwm instal rom.
I hope it helps. Btw, remember you need to flash the wipe script of the rom before you install the rom if you are comming from stock.
Send from my GT-P7100
10x everybody it worked!!!!!!!!
Still me, posting in yet another thread. Still can't get the proper drivers. Pda method is not working. Which version of PDanet should I use ? The latest ? This is ****ing irritating...
I'm used to have to struggle to get things work at the beginning, but with my Magic and Hd2 it was a matter of hours...not weeks ! I'm sure it's something stupid but everybody deserted these guides topics...
I'm actually considering posting in the Dev section just to get attention...
Also, pershoot blog's advices are a joke : with no tags, a not working search field, no categories, try to find an info ! Knowing that the word "Recovery" will pop about 3 times per subject, I'm good to spend the week-end searching...
DannyBiker said:
Still me, posting in yet another thread. Still can't get the proper drivers. Pda method is not working. Which version of PDanet should I use ? The latest ? This is ****ing irritating...
I'm used to have to struggle to get things work at the beginning, but with my Magic and Hd2 it was a matter of hours...not weeks ! I'm sure it's something stupid but everybody deserted these guides topics...
I'm actually considering posting in the Dev section just to get attention...
Also, pershoot blog's advices are a joke : with no tags, a not working search field, no categories, try to find an info ! Knowing that the word "Recovery" will pop about 3 times per subject, I'm good to spend the week-end searching...
Click to expand...
Click to collapse
Hello,
I have been successful with rooting on win7. With win xp - after a few day struggling - fastboot did not give a go. Hope this helps
I just can't get the "Adb Original" signature from Pdanet. I always get standard Adb. I add the galaxy tab lines in the .inf file but still...
Do you guys edit the inf file with Wordpad or another tool ?

[Q] PLEASE HELP!! No OS after wipe

Hello!
I have an HTC one developer edition, I did an advance wipe of my phone because it wasn't charging, it said that USB Host mode was on. It only charged when the phone was off. I decided to wipe everything but the pictures (or so I thought) but once it finished the wipe the entire OS systems was erased, know the only thing I can do is enter TWRP.
Please Help I just bought the phone!
santiolaya91 said:
Hello!
I have an HTC one developer edition, I did an advance wipe of my phone because it wasn't charging, it said that USB Host mode was on. It only charged when the phone was off. I decided to wipe everything but the pictures (or so I thought) but once it finished the wipe the entire OS systems was erased, know the only thing I can do is enter TWRP.
Please Help I just bought the phone!
Click to expand...
Click to collapse
You just bought the phone? So why did you tamper with it? go back it store and exchange under warranty.
alray said:
You just bought the phone? So why did you tamper with it? go back it store and exchange under warranty.
Click to expand...
Click to collapse
I cant just change it i bought it on EBay. Plus I'm from Ecuador so its a long way from where I bought the phone...
alistondsouza I'm going to download Android SDK and try to do every step, thanks for helping me Ill keep you updated
alistondsouza said:
Read through...
http://forum.xda-developers.com/showthread.php?t=2318497
Click to expand...
Click to collapse
For step 6 which zip should I choose the same one that you have on the picture or a different one?
also what happens if the computer doesn't not read the phone ?
santiolaya91 said:
For step 6 which zip should I choose the same one that you have on the picture or a different one?
also what happens if the computer doesn't not read the phone ?
Click to expand...
Click to collapse
chose whatever rom you want as long its compatible with your device variant and compatible with your twrp version.
what do you mean by doesn't read the phone? its is not detected as sideload when you type ''adb devices''?
alray said:
chose whatever rom you want as long its compatible with your device variant and compatible with your twrp version.
what do you mean by doesn't read the phone? its is not detected as sideload when you type ''adb devices''?
Click to expand...
Click to collapse
so im on step 4, i dont know how to get the adb.exe file or the .zip on the folder. i cant even find those documents, do they get there automatically or what?
im sorry im new at this (as you can tell)
maybe somemore pictures or descriptions for step 4?
santiolaya91 said:
so im on step 4, i dont know how to get the adb.exe file or the .zip on the folder. i cant even find those documents, do they get there automatically or what?
im sorry im new at this (as you can tell)
maybe somemore pictures or descriptions for step 4?
Click to expand...
Click to collapse
download the android sdk from here http://developer.android.com/sdk/index.html
alray said:
download the android sdk from here http://developer.android.com/sdk/index.html
Click to expand...
Click to collapse
Yep, all ready did and also update 4.4 and 4.3
santiolaya91 said:
Yep, all ready did and also update 4.4 and 4.3
Click to expand...
Click to collapse
So adb.exe and fastboot.exe are located in ''platform-tools'' folder of the sdk.(adt-bundle-windows-x86_64-date/sdk/platform-tools/)
move your zip to that folder and open cmd prompt from that folder.
alray said:
So adb.exe and fastboot.exe are located in ''platform-tools'' folder of the sdk.(adt-bundle-windows-x86_64-date/sdk/platform-tools/)
move your zip to that folder and open cmd prompt from that folder.
Click to expand...
Click to collapse
ok im on that folder im currently downloading the .zip but its only adb and fastboot, not .exe.
am I doing something wrong, why wouldn't it appear like you tell me ?
santiolaya91 said:
ok im on that folder im currently downloading the .zip but its only adb and fastboot, not .exe.
am I doing something wrong, why wouldn't it appear like you tell me ?
Click to expand...
Click to collapse
.exe file extension might be hidden depending your windows configuration. Go ahead with the guide it should work.
Open a cmd prompt from that folder. (shift + right click in a blank space) (step 4)
with you device in twrp sideload mode (step 1,2,3 completed)
type in the cmd prompt:
Code:
adb devices
make sure it output your device s/n + sideload
then
Code:
adb sideload <name_of_rom>.zip
what rom did you downloaded?
alray said:
.exe file extension might be hidden depending your windows configuration. Go ahead with the guide it should work.
Open a cmd prompt from that folder. (shift + right click in a blank space) (step 4)
with you device in twrp sideload mode (step 1,2,3 completed)
type in the cmd prompt:
Code:
adb devices
make sure it output your device s/n + sideload
then
Code:
adb sideload <name_of_rom>.zip
what rom did you downloaded?
Click to expand...
Click to collapse
ok so i finally have everything ready, i downloaded http://htconeroot.com/htc-one-stock-roms/android-4-4-kitkat-sense-5-5-stock-rom-for-htc-one/ this rom
sense 5.5 with 4.4kitkad.
I do all the command but it says
error: device not found
my HTC is connected and it shows in the usd
when i type adb devices:
list of devices attached.
nothing else
santiolaya91 said:
ok so i finally have everything ready, i downloaded http://htconeroot.com/htc-one-stock-roms/android-4-4-kitkat-sense-5-5-stock-rom-for-htc-one/ this rom
sense 5.5 with 4.4kitkad.
I do all the command but it says
error: device not found
my HTC is connected and it shows in the usd
when i type adb devices:
list of devices attached.
nothing else
Click to expand...
Click to collapse
so your drivers aren't properly installed. download latest htc sync from htc website, it will install the drivers for you. then uninstall htc sync as it may interfere with what you are trying to do. (the drivers will remain installed)
santiolaya91 said:
I cant just change it i bought it on EBay. Plus I'm from Ecuador so its a long way from where I bought the phone...
alistondsouza I'm going to download Android SDK and try to do every step, thanks for helping me Ill keep you updated
Click to expand...
Click to collapse
Jus fastboot cwm or twrp...then install Rom of choice
alray said:
so your drivers aren't properly installed. download latest htc sync from htc website, it will install the drivers for you. then uninstall htc sync as it may interfere with what you are trying to do. (the drivers will remain installed)
Click to expand...
Click to collapse
Still nothing
same thing with or with out htc sync manager
i did this before anything else i dont know if it can interfere in any way
http://www.youtube.com/watch?v=CivvxcM1PCY
santiolaya91 said:
Still nothing
same thing with or with out htc sync manager
i did this before anything else i dont know if it can interfere in any way
http://www.youtube.com/watch?v=CivvxcM1PCY
Click to expand...
Click to collapse
did you typed ''adb device'' when the phone was booted in twrp?
Go in windows device manager and tell us how the device is listed.
alray said:
did you typed ''adb device'' when the phone was booted in twrp?
Go in windows device manager and tell us how the device is listed.
Click to expand...
Click to collapse
yes and it doesn't appear
this is what appears on device manager
when its on the bootloader-fastboot: Android usb device - my HTC
when its on twrp: portable devices WPD file system volume driver, (for like 20 seconds and then disappears)
When its off: under USB controllers as Unknown device
when its on htc screen: USB composite device ( another window opens saying drivers were not installed)
santiolaya91 said:
yes and it doesn't appear
this is what appears on device manager
when its on the bootloader-fastboot: Android usb device - my HTC
when its on twrp: portable devices WPD file system volume driver, (for like 20 seconds and then disappears)
When its off: under USB controllers as Unknown device
when its on htc screen: USB composite device ( another window opens saying drivers were not installed)
Click to expand...
Click to collapse
check my guide under faq #2
nkk71 said:
check my guide under faq #2
Click to expand...
Click to collapse
I don't have any option that says Other devices - ONE
just the ones i listed before.
I don't know if this helps in any way but i when to fastboot and the on CMD typed fastboot devices and it showed up, but if i go to twrp ADB sideload and type adb devices it doesn't show my device.
santiolaya91 said:
I don't have any option that says Other devices - ONE
just the ones i listed before.
I don't know if this helps in any way but i when to fastboot and the on CMD typed fastboot devices and it showed up, but if i go to twrp ADB sideload and type adb devices it doesn't show my device.
Click to expand...
Click to collapse
When its off: under USB controllers as Unknown device
Click to expand...
Click to collapse
have you disabled "Settings -> Power -> Fast boot"?
in either case it should show up as "Android ... -> My HTC"

ROOT Zenfone 4 (A400CG) WW-ASUS_T00I-WW-7.3.3.0

WARNING : THIS METHOD IS JUST FOR ZENFONE 4 T00I WITH Build Number 6.6.3.
If you have no idea how to know what build number your device are running, go to Setting > About Phone > Software Information.
The Build number must be contain with these : WW_ZenFone-V6.6.3
This method for people who get error command (or Robot with Red Sign) after flashing update with Root file via Droidboot/Fastboot. Now i will show you how to fix that with flashing custom recovery temporarily before flashing the root file. But first thing, you have to download these file :
- Intel USB Driver for Android Devices (Google it)
- Platform-Tool (or ADB Tools if you will), TWRP and Root File : drive[dot]google[dot]com/drive/folders/0B-TAWFRNxvPcZm55NVJ5RjYwdVk (change the [dot] with "." without quote, i'm still new here as silent reader btw )
- Asus Unlock Bootloader (same google drive link, after download it copy to your sdcard or internal storage)
Click to expand...
Click to collapse
Before you follow the instruction, you have to unlock your bootloader (if you new here and don't know what i mean). If you have unlock the bootloader then skip this !!
***Unlocking Bootloader***
Downlaod "Unlock_Tool_A400_v8.1.apk" and copy it to your sdcard or internal storage.
On your device, go to File Manager and install the app. If you get a warning message then :
Click on Option at the message > Scroll a little bit until you found "Unknown sources". Tick that box and go repeat step #2
Open the app, pretending you have read the User Agreement by quick scroll to the very bottom, check the box and click Ok
Quick scroll again, tick the box Accept and click "Press to unlock your devices"
If you get a warning message just click Ok, and your device should be restart automaticly after you finish reading this step.
Click to expand...
Click to collapse
That's it, now your devices Bootloader is unlock, now continue to the next instruction.
Follow this (NEWBIE FRIENDLY)
1. Install Intel USB Driver.
2. Enable Developer Option
Go to Setting > About Phone > Software Information. Tap the build number 7x or more until the text pop up "You are now a developer".
3. Go back to Setting > Developer Options. Scroll down a little bit until you find "Enable USB Debugging" check the box.
4. Extract the platform-tools somewhere (e.g. Desktop), then copy twrp_recovery-V3.img and Root file into the platform-tools folder. DO NOT EXTRACT THE ROOT FILE
5. Now plug in your device to your PC
6. Go to the platform-tools folder, now do this : Hold [SHIFT] + Right Click, choose and click "open command window here".
7. Check if the devices is connected by entering this command : adb devices
If it says "xxxxxxxxxxx unauthorized" then go look to your screen, check the boxes and grant / accept.
8. Do step 7 again, if command prompt now shows "xxxxxxxxxxx devices" now continue to the next step.
9. Enter this command first : adb reboot bootloader. Now your device should restart automaticly to the Droidboot mode.
10. After your device screen shows a Droidboot mode, enter this command prompt :
fastboot devices
fastboot flash recovery twrp_recovery-V3.img
fastboot flash update root_zenfone4_v2.zip
Click to expand...
Click to collapse
11. Your phone should be restart after entering the final command, and then your device will go to the TWRP recovery mode and installing the root file.
FINISH !! Your phone now is rooted. Check your menu for "SuperSu" app installed after doing this method, if it want to update just click ok and click normal. Sorry for bad explaination or my english is a little bit crap.

[Guide] How to Unlock and Magisk Root on Stock OOS 9.0.7 (For Beginners)

NOTE: Since I am a semi-amateur at unlocking/rooting, this is not independent development. Instead, I noticed these forums don't seem to have a single one-stop guide that lays out the process for safely rooting the latest (9.0.7) Oxygen OS 9.0.7. This process may seem obvious to experts, but for people who are rusty or new to this, I wanted a process that didn't require lots of extra cross-referencing and research. I hope this is ok.
Big thanks to Dameon87 who supplied the patched boot rom, and deserves all the credit for the actual hard work with the patched boot image.
STEP 1: PREPARATION
Check that your phone is on 9.0.7.
On PC: Download patched_boot-9.0.7.img and MagiskManager-v6.0.1.apk from Dameon87's thread ( https://forum.xda-developers.com/oneplus-6t/how-to/9-0-7-patched-magisk-boot-img-t3875498 ) . Download ADB Tools if you don't have them ( https://developer.android.com/studio/releases/platform-tools#download ) and extract to a folder. Copy patched_boot-9.0.7.img to your PC’s ADB root directory (the directory with fastboot.exe and adb.exe).
On phone: Boot into OOS. Navigate to Setup->About Phone. Tap Build Number until you turn on Developer Options.
On phone: Navigate to System->Developer Options. Enable OEM Unlocking and USB Debugging.
STEP 2: UNLOCKING
Connect your phone to your PC. Click ok on the OEM Debugging prompt on your phone.
On PC: Open a command prompt [Windows: Start->type "cmd.exe"], and navigate to the ADB tools directory. Run this command in the command prompt:
Code:
adb reboot bootloader
The phone should reboot to the bootloader.
On PC: When phone finishes rebooting to the bootloader, run this command in the command prompt:
Code:
fastboot oem unlock
IMPORTANT: ALL DATA WILL BE ERASED WHEN YOU DO THIS, INCLUDING ANY PERSONAL DATA, TEXTS, PHOTOS, MUSIC, ETC. If the phone has been used, please move your files off your device first! The phone will take some time to factory reset.
On Phone: Repeat Preparation Steps 3-4 to turn back on OEM Debugging in OOS.
STEP 3: INSTALLING MAGISK
On PC: Copy MagiskManager-v6.0.1.apk to the phone.
On PC: In the command prompt window, run this command (note this .img file should be in the adb.exe and fastboot.exe directory):
Code:
fastboot boot patched_boot-9.0.7.img
Phone will reboot.
On Phone: Use a file manager app to install MagiskManager-v6.0.1.apk (I use Astro or ES, but admittedly there are probably better ones out there).
On Phone: Open the Magisk Manager App, agree to the setup popup, and click install. When prompted, choose Direct Install.
On Phone: Reboot.
On Phone: In the OS, open Magisk Manager again and add MagiskHide exceptions.
This enabled all apps that I typically need SafetyNet for, including Pokemon Go, Netflix and Google Pay, as well as of course all root apps like TItanium Backup.
Again, apologies if this seems basic, but I hope this is useful for some who don't know all of the inner workings of android unlocking and rooting by heart. If you have any improvements, feel free to suggest them.
You need to change adb oem unlock to fastboot oem unlock. Otherwise good job!
Dameon87 said:
You need to change adb oem unlock to fastboot oem unlock. Otherwise good job!
Click to expand...
Click to collapse
Ah, thanks! Fixed.
Does OTA update lock bootloader?
BesoC said:
Does OTA update lock bootloader?
Click to expand...
Click to collapse
No it doesn't, the root will be lost though.
geminium said:
No it doesn't, the root will be lost though.
Click to expand...
Click to collapse
I'm also a semi amateur at unlocking/rooting so I'm the target audience of the OP.
Ready to get my hands dirty and try it out. Last time I rooted it was on my old phone before Magisk was a thing.
I ended up not updating out of laziness.
Does magisk make OTA updates / keeping the phone up to date easier?
What's the best method for doing so if you want to keep your phone rooted?
spudsrus said:
I'm also a semi amateur at unlocking/rooting so I'm the target audience of the OP.
Ready to get my hands dirty and try it out. Last time I rooted it was on my old phone before Magisk was a thing.
I ended up not updating out of laziness.
Does magisk make OTA updates / keeping the phone up to date easier?
What's the best method for doing so if you want to keep your phone rooted?
Click to expand...
Click to collapse
Well there's quite detailed procedure explained on the forum. You'll find easily...
In general, you have to restore images in magisk, then install OOS OTA update, then install magisk to inactive slot... It's one of the easiest steps for keeping root and be up to date .
I've been rooting for almost a decade and I am grateful for this. I don't know why some of these devs always assume you know when their talking about using a PC or running shell commands. Lol. Everyone started as a noob.
Sent from my OnePlus6TSingle using XDA Labs
ScaryBugThing said:
NOTE: Since I am a semi-amateur at unlocking/rooting, this is not independent development. Instead, I noticed these forums don't seem to have a single one-stop guide that lays out the process for safely rooting the latest (9.0.7) Oxygen OS 9.0.7. This process may seem obvious to experts, but for people who are rusty or new to this, I wanted a process that didn't require lots of extra cross-referencing and research. I hope this is ok.
Big thanks to Dameon87 who supplied the patched boot rom, and deserves all the credit for the actual hard work with the patched boot image.
STEP 1: PREPARATION
Check that your phone is on 9.0.7.
On PC: Download patched_boot-9.0.7.img and MagiskManager-v6.0.1.apk from Dameon87's thread ( https://forum.xda-developers.com/oneplus-6t/how-to/9-0-7-patched-magisk-boot-img-t3875498 ) . Download ADB Tools if you don't have them ( https://developer.android.com/studio/releases/platform-tools#download ) and extract to a folder. Copy patched_boot-9.0.7.img to your PC’s ADB root directory (the directory with fastboot.exe and adb.exe).
On phone: Boot into OOS. Navigate to Setup->About Phone. Tap Build Number until you turn on Developer Options.
On phone: Navigate to System->Developer Options. Enable OEM Unlocking and USB Debugging.
STEP 2: UNLOCKING
Connect your phone to your PC. Click ok on the OEM Debugging prompt on your phone.
On PC: Open a command prompt [Windows: Start->type "cmd.exe"], and navigate to the ADB tools directory. Run this command in the command prompt:
Code:
adb reboot bootloader
The phone should reboot to the bootloader.
On PC: When phone finishes rebooting to the bootloader, run this command in the command prompt:
Code:
fastboot oem unlock
IMPORTANT: ALL DATA WILL BE ERASED WHEN YOU DO THIS, INCLUDING ANY PERSONAL DATA, TEXTS, PHOTOS, MUSIC, ETC. If the phone has been used, please move your files off your device first! The phone will take some time to factory reset.
On Phone: Repeat Preparation Steps 3-4 to turn back on OEM Debugging in OOS.
STEP 3: INSTALLING MAGISK
On PC: Copy MagiskManager-v6.0.1.apk to the phone.
On PC: In the command prompt window, run this command (note this .img file should be in the adb.exe and fastboot.exe directory):
Code:
fastboot boot patched_boot-9.0.7.img
Phone will reboot.
On Phone: Use a file manager app to install MagiskManager-v6.0.1.apk (I use Astro or ES, but admittedly there are probably better ones out there).
On Phone: Open the Magisk Manager App, agree to the setup popup, and click install. When prompted, choose Direct Install.
On Phone: Reboot.
On Phone: In the OS, open Magisk Manager again and add MagiskHide exceptions.
This enabled all apps that I typically need SafetyNet for, including Pokemon Go, Netflix and Google Pay, as well as of course all root apps like TItanium Backup.
Again, apologies if this seems basic, but I hope this is useful for some who don't know all of the inner workings of android unlocking and rooting by heart. If you have any improvements, feel free to suggest them.
Click to expand...
Click to collapse
Can you elaborate a bit more on how you got Pokemon Go working.
OS. 9.0.2 Magisk v18. Successfully rooted.
I'm selecting Pokemon Go under Magisk hide. But it still detects it. PoKe will sometimes run for about 30 secs then it gives me the error incompatible os.
Sent from my [device_name] using XDA-Developers Legacy app
Ok I'm new to this as well..I'm trying to understand the patched boot img part...so do u need the patched boot img for whichever oos ur currently running so to install magisk cleanly is that it...also I can't find the tutorial on how to install the ota's after ur rooted to where everything doesn't get erased etc..I need sumone to point me in the right area to look..I found a lil bit on it once but now I can't seem to find it..thx to everyone in this great community for all the time and effort all put into this. It's so easy to overlook all the hard work that gets done behind the scenes..so I just thank u personally for what u do for us...

Rooting Black Shark 3 / 3 Pro the Correct & Easy Way - BL Unlocking, TWRP & OTA Fix

Rooting Black Shark 3 / 3 Pro the Correct & Easy Way - BL Unlocking, TWRP & OTA Fix
Greetings fellow Black Shark users!
This guide is made for Black Shark 3 Pro Global version, but in theory it should work with any version if the bootloader is unlocked.
Warning: Before you start, backup your phone data as this would wipe your phone!
Do this at your own risk, I'm not responsible if you break your phone!
Prerequisites:
- Update your phone to the latest version possible.
- Download ADB, BOOTLOADER UNLOCK TOOL & TWRP Installer for Black Shark 3 Pro Global or Black Shark 3 Global.
On Phone:
1- Enable Developer Options. (Go to Settings, then About Phone, then Tap on Build number 7 times, then enter your password if needed)
2- Enable OEM unlocking. (Go to Settings, then Additional Settings, then Developer Options, then enable OEM unlocking option, then enter your password if needed)
3- Enable USB Debugging. (Go to Settings, then Additional Settings, then Developer Options, then enable USB Debugging option)
On PC:
4- Run BS3Pro_by_KM Installer. (Use the right version for your device. Right click and choose run as administrator. On driver installation popup click Next, then Install and Finish. Also Install dotNet3.5 if it ask for it. You must reboot your PC after the installation.)
5- Connect your Phone to PC using USB cable.
On Phone:
6- When Allow USB debugging popup appear, tap OK. (Tick Always allow from this computer)
On PC:
7- Make sure google drivers installed correctly and that your PC can see your Phone. (Android ADB Interface)
8- Open Command Prompt as administrator. (Type CMD in Windows search bar, then right click on Command Prompt ‘cmd’ and click on Run as administrator)
9- In CMD type:
Code:
cd c:\adb
Then press Enter key.
10- In CMD type:
Code:
adb devices
Then press Enter key. (If you can see a Device ID with ‘device’ written on its right, then continue to next step, if not then recheck your drivers. If you see a Device ID with ‘unauthorized’ written on its right, then go back to step 6)
11- In CMD type:
Code:
adb reboot edl
Then press Enter key. (To enter EDL mode)
On Phone:
12- You will only see a black screen on your phone. (This is normal, but your phone will be connected to your PC)
On PC:
13- Disconnect and reconnect your Phone to PC using USB cable then make sure the drivers are installed correctly and that your PC can see your Phone. (Qualcomm HS-USB QDLoader 9008)
14- Go to C:\adb and run MiFlash application, then click “refresh”. (You should see your device in the table now)
15- Click “select” and choose “C:\adb\Unlock” folder, then click “OK”, then click “flash”. (When it says done go to next step)
On Phone:
16- Disconnect the USB cable from your Phone, then hold power button and volume down button for 15 seconds until the phone reboots into Fastboot mode.
17- Make sure you see Fastboot mode on your phone screen. (With big green START on top)
On PC:
18- Reconnect your Phone to PC using USB cable then make sure google drivers installed correctly and that your PC can see your Phone. (Android Bootloader Interface)
19- In CMD type:
Code:
fastboot devices
Then press Enter key. (If you can see a Device ID, then continue to next step, if not then recheck your driver setup)
20- In CMD type:
Code:
fastboot flashing unlock
Then press Enter key. (This will unlock the bootloader, if you see an error make sure that your model is supported)
21- In CMD type:
Code:
fastboot erase userdata
Then press Enter key. (This will wipe userdata “Factory Reset”)
22- In CMD type:
Code:
fastboot getvar current-slot
Then press Enter key. (This will show you which slot you’re currently using, note it down)
23- In CMD type:
Code:
fastboot boot twrp.img
Then press Enter key. (This will boot TWRP, if it doesn’t work the first time, then force reboot your phone and repeat steps 16-21, you can skip step 20-22 if you already performed them)
On Phone:
24- Make sure TWRP is booted on your phone.
On PC:
25- In CMD type:
Code:
adb pull /dev/block/bootdevice/by-name/boot_a stock_boot_a.img
Then press Enter key. (This will copy the stock boot_a.img into your current directory)
26- In CMD type:
Code:
adb pull /dev/block/bootdevice/by-name/boot_b stock_boot_b.img
Then press Enter key. (This will copy the stock boot_b.img into your current directory)
On Phone:
27- In TWRP, go to Reboot, then system.
28- Download and install Magisk Manager from here. (Once the phone is booted correctly)
On PC:
29- In CMD type:
Code:
adb push stock_boot_X.img /sdcard/Download
Then press Enter key. Change ‘X’ to your current slot from step 22, mine was ‘stock_boot_a.img’. (This will copy your stock boot.img to your phone’s Downloads directory)
On Phone:
30- Run Magisk Manager, tap on the first INSTALL button on the top right, when it asks you to Install Magisk tap INSTALL, then tap on Select and Patch a File, and choose your stock_boot_X.img from ‘Download’ directory. When it’s done it will create a new file in your ‘Download’ directory named magisk_patch.img. (Don’t tap Reboot, just tap back and close the App)
On PC:
31- In CMD type:
Code:
adb pull /sdcard/Download/magisk_patched.img
Then press Enter key. (This will copy the patched boot.img to your current ‘adb’ directory)
32- In CMD type:
Code:
adb reboot bootloader
Then press Enter key. (To enter Fastboot mode)
33- In CMD type:
Code:
fastboot flash boot_x magisk_patched.img
Then press Enter key. Change ‘X’ to your current slot from step 22, mine was ‘boot_a’. (This will flash Magisk to your boot)
34- In CMD type:
Code:
fastboot reboot
Then press Enter key. (This will reboot your phone)
On Phone:
35- Run Magisk Manager, check if Magisk is installed and you have two green ticks on the left.
Congratulations! Now you have successfully rooted your Black Shark 3 Pro !
Fingerprint Calibration Tutorial (This is needed if the fingerprint sensor is stopped working)
1- Dial this from your phone
Code:
*#*#466349#*#*
This will take you to the fingerprint calibration page.
2- Tap on 售后校准, then you will be ask you to add the FLASH FLA.
3- Now tap START, and then immediately press your thumb on the fingerprint scanner area, keep you finger pressed until the step is completed.
4- Now it will ask you to add the black FLAT. (This means you have to wear a 'black' cloth on your thumb or a black glove before pressing your thumb on the fingerprint scanner, then hold your thumb on the fingerprint scanner area until the calibration is complete.)
5- When done successfully, reboot your device then try to add your fingerprints.
Full OTA Factory Image for Black Shark 3 Pro Global “MBU-H0" - Fix most phone's issues and restore it to factory state. This also fixes OTA updating issues.
1- Download this zip file MOBS2005121OS00MP1.
2- Rename km_update.zip to update.zip and move it to “ota” directory in your phone.
3- Dial this from your phone
Code:
*#*#1027#*#*
Then press "LOCAL UPDATE" and start updating your device. (You might need to do this twice)
4- Update your device to the latest version from the settings.
Special thanks to:
@John Eveline for the Bootloader Unlocking Tools.
@wzsx150 for Black Shark 3 Pro TWRP.
@topjohnwu for Magisk.
@Snoop05 for ADB Installer Code.
PS: I put a lot of time and effort in making this guide, if you want to copy it to somewhere else, then at least give credit!
miflash keep says no fastboot
cant recognize my phone
rowihel2012 said:
miflash keep says no fastboot
cant recognize my phone
Click to expand...
Click to collapse
Please redownload it, it should work fine now.
KM7 said:
Please redownload it, it should work fine now.
Click to expand...
Click to collapse
Ok thanks my friend
KM7 said:
Please redownload it, it should work fine now.
Click to expand...
Click to collapse
same problem
no fastboot
all drivers installed
rowihel2012 said:
same problem
no fastboot
all drivers installed
Click to expand...
Click to collapse
Try downloading it again, sorry for this a file was misplaced. Fixed now.
KM7 said:
Try downloading it again, sorry for this a file was misplaced. Fixed now.
Click to expand...
Click to collapse
sorry bro
no fastboot
it cant detect my phone
same problem
when i try to unlock the bootloader
i got an error : the write timed out
rowihel2012 said:
sorry bro
no fastboot
it cant detect my phone
same problem
Click to expand...
Click to collapse
Make sure the drivers are installed correctly and reboot your PC. I've just tried it and everything work just fine on my PC.
stark7i said:
when i try to unlock the bootloader
i got an error : the write timed out
Click to expand...
Click to collapse
You mean in MiFlash or Fastboot? please specify which step # you are stuck in.
KM7 said:
You mean in MiFlash or Fastboot? please specify which step # you are stuck in.
Click to expand...
Click to collapse
i am stuck at step 13. the miflash cant find my phone. i have re-downloaded everything and still doesnt work. any suggestions?
appless said:
i am stuck at step 13. the miflash cant find my phone. i have re-downloaded everything and still doesnt work. any suggestions?
Click to expand...
Click to collapse
Make sure your drivers are installed correctly as shown above. When in edl mode the drivers are different than fastboot. Try reinstall the application with right click and ‘run as administrator’.
Do you know how to relock the bootloader?
KM7 said:
You mean in MiFlash or Fastboot? please specify which step # you are stuck in.
Click to expand...
Click to collapse
its was in the miflash but it works fine now i have changed my usb cable to an original one and it works fine , i have successfully rooted my BS3 with TWRP thanks alot
KM7 said:
Make sure your drivers are installed correctly as shown above. When in edl mode the drivers are different than fastboot. Try reinstall the application with right click and ‘run as administrator’.
Click to expand...
Click to collapse
still a no go for me. i have reinstalled every driver and still doesnt work. nothing is showing up on miflash. the pc made the sound when i connected but still nothing. my pc sees the device but the miflash cant. any suggestions?
appless said:
still a no go for me. i have reinstalled every driver and still doesnt work. nothing is showing up on miflash. the pc made the sound when i connected but still nothing. my pc sees the device but the miflash cant. any suggestions?
Click to expand...
Click to collapse
Use your original usb cable from blackshark. Mine works and use other cable wont work..
chaict said:
Use your original usb cable from blackshark. Mine works and use other cable wont work..
Click to expand...
Click to collapse
using the original cable still doesnt work. now its just saying no fastboot.
stark7i said:
its was in the miflash but it works fine now i have changed my usb cable to an original one and it works fine , i have successfully rooted my BS3 with TWRP thanks alot
Click to expand...
Click to collapse
Glad that it worked for you, enjoy.
appless said:
using the original cable still doesnt work. now its just saying no fastboot.
Click to expand...
Click to collapse
It seems that there is something wrong with the drivers, or maybe the adb installation. Try to find other fastboot.exe and adb.exe then delete all duplicates except for "C:\adb", and don't forget to restart your PC.
jekz_07 said:
Do you know how to relock the bootloader?
Click to expand...
Click to collapse
This should do it but, I'm not sure if this is going to work on a rooted device.
Code:
fastboot flashing lock_critical
fastboot flashing lock

Categories

Resources