XDA Forums
New posts
Manufacturers
What's new
Find threads
Watched
Search forums
Members
Help Answer Questions
TOPICS
3D Printing
Android Auto
Android Mods
Android TV
Apps & Games
Themes
Wear OS
Smartwatches
Windows 11
XDA Computing
Terms and rules Privacy Security
(Obsoleted) Black Shark 2 Global - Unlock Bootloader - Root - Full OTA Factory Image
Thread starterKM7 Start dateJan 3, 2020
Reply
Xiaomi Black Shark 2 Guides, News, & Discussion
•••
1
2
3
Next
Jump to new
Watch
Search This thread
KM7
Senior Member
Jan 3, 2020
Add bookmark
#1
This guide is obsoleted, please visit the new updated thread here!
Last edited: May 7, 2020
Like Reactions:jesana1976, alrashidy216, h1run3 and 3 others
Like Quote ReplyReport
Supernyams
New member
Jan 5, 2020
Add bookmark
#2
Heloo there , can you post step by step this tutorial , thx before.
Like Quote ReplyReport
M.Shakeel
Member
Jan 5, 2020
Add bookmark
#3
Supernyams said:
Heloo there , can you post step by step this tutorial , thx before.
That will be much appreciated
Sent from my SKW-A0 using Tapatalk
Like Reactions:koumaza and tuannghia1985
Like Quote ReplyReport
tuannghia1985
Senior Member
Jan 6, 2020
Add bookmark
#4
I have sucessfull flashed in order as below:
1. Backup all your data/media, sms and call log.
2. Dial *#*#1027#*#* then choose Local update.
3. Download SKYW1907040OS01MP3 Stock Factory Image (link above from OP) and move update.zip to “ota” directory in your phone.
4. Press update OTA, after reboot, BS 2 will jump into recovery mode ask for factory reset. Do it or BS 2 won't boot properly.
5. Please allow BS 2 to finish first step of boot up, with least setting up as possible.
6. Go to setting and System update, perform update from S01MP3 to S01MP4, then reboot.
7. Repeat step 5.
8. Repeat step 6 to perform update from S01MP4 to S01MP5, then reboot.
9. Repeat step 5.
10. Turn off the phone and quickly enter Fastboot mode.
11. Perform unlock bootloader by 2 CMD command from above:
Fastboot oem bs_unlock
Fastboot oem bs_unlock_critical
12. Restart BS 2, BS 2 will ask for factory reset in Recovery mode. DO IT. (It's very important step cause the BS 2 will stuck at logo if you skip this step).
13. Repeat step 5 (wait until the BS 2 fully operation, enter home launcher, with minimum setting up from beginning). THIS STEP IS ALSO IMPORTANT.
14. Download 2 boot files from OP
Stock_boot.img
boot.img
15. Check slot_a or slot_b contain your boot original file by cmd command:
fastboot getvar current-slot
- If your SKYW1911121OS01MP5 update is on SLOT A then use this fastboot command:
fastboot flash boot_a boot.img
OR
- If your SKYW1911121OS01MP5 update is on SLOT B then use this fastboot command:
fastboot flash boot_b boot.img
Restart BS 2 after flash boot.img
16. Go to XDA and download and install Magisk Manager.
In any cases that BS 2 stuck or can not boot, please enter fastboot mode and flash stock_boot.img from above; repeat Step 5, and reflash boot.img.
-----------------------------------------------------------------------------------
Now Black Shark 2 is rooted with magisk. ^_^ .
---------- Post added at 09:30 AM ---------- Previous post was at 08:45 AM ----------
But i've lost the wifi function. Stock_boot has wifi but boot.img doesn't have. Could you provide a fix for that? Thanks
Like Reactions:tomcatoggo, jesana1976 and koangminh
Like Quote ReplyReport
wga0
Senior Member
Jan 6, 2020
Add bookmark
#5
tuannghia1985 said:
I have sucessfull flashed in order as below:
1. Backup all your data/media, sms and call log.
2. Dial *#*#1027#*#* then choose Local update.
...
It seems that you just lost your stock rom. If your region is same as his, your phone would be updated to SKYW1911121OS01MP5 already. It seems that it was not, so you flashed the MP3 and updated to MP5, which is not for your region and there could be mismatched functions. And you lost both slots, which contain your stock rom/region info. You need to use the factory image to backup your own stock rom, or need to follow the sequence exactly, not reversed.
Last edited: Jan 6, 2020
Like Reactions:Supernyams
Like Quote ReplyReport
tuannghia1985
Senior Member
Jan 6, 2020
Add bookmark
#6
wga0 said:
It seems that you just lost your stock rom. If your region is same as his, your phone would be updated to SKYW1911121OS01MP5 already. It seems that it was not, so you flashed the MP3 and updated to MP5, which is not for your region and you lost both slots, which contain your region stock rom. You need to use the factory image to backup your own stock rom, or need to follow the sequence exactly, not reversed.
I've figured by myself, use your stock_boot.img and patch manually with Magisk Manager (v7.5). Magisk Manager return for me a "magisk_patched.img" and by flashing that new file, the wifi is return again. I don't know why but it works for me. Thanks for replied.
Like Quote ReplyReport
a51711a
New member
Jan 7, 2020
Add bookmark
#7
I can't update mp5 from mp3, I unlock it now. what should I do?
Like Reactions:lygiatinh
Like Quote ReplyReport
KM7
Senior Member
Jan 7, 2020
Add bookmark
#8
tuannghia1985 said:
I have sucessfull flashed in order as below:
1. Backup all your data/media, sms and call log.
2. Dial *#*#1027#*#* then choose Local update.
3. Download SKYW1907040OS01MP3 Stock Factory Image (link above from OP) and move update.zip to “ota” directory in your phone.
4. Press update OTA, after reboot, BS 2 will jump into recovery mode ask for factory reset. Do it or BS 2 won't boot properly.
5. Please allow BS 2 to finish first step of boot up, with least setting up as possible.
6. Go to setting and System update, perform update from S01MP3 to S01MP4, then reboot.
7. Repeat step 5.
8. Repeat step 6 to perform update from S01MP4 to S01MP5, then reboot.
9. Repeat step 5.
10. Turn off the phone and quickly enter Fastboot mode.
11. Perform unlock bootloader by 2 CMD command from above:
12. Restart BS 2, BS 2 will ask for factory reset in Recovery mode. DO IT. (It's very important step cause the BS 2 will stuck at logo if you skip this step).
13. Repeat step 5 (wait until the BS 2 fully operation, enter home launcher, with minimum setting up from beginning). THIS STEP IS ALSO IMPORTANT.
14. Download 2 boot files from OP
15. Check slot_a or slot_b contain your boot original file by cmd command:
- If your SKYW1911121OS01MP5 update is on SLOT A then use this fastboot command:
OR
- If your SKYW1911121OS01MP5 update is on SLOT B then use this fastboot command:
Restart BS 2 after flash boot.img
16. Go to XDA and download and install Magisk Manager.
In any cases that BS 2 stuck or can not boot, please enter fastboot mode and flash stock_boot.img from above; repeat Step 5, and reflash boot.img.
-----------------------------------------------------------------------------------
Now Black Shark 2 is rooted with magisk. ^_^ .
---------- Post added at 09:30 AM ---------- Previous post was at 08:45 AM ----------
But i've lost the wifi function. Stock_boot has wifi but boot.img doesn't have. Could you provide a fix for that? Thanks
Click to expand...
Very Nice tutorial.
Like Quote ReplyReport
KM7
Senior Member
Jan 7, 2020
Add bookmark
#9
tuannghia1985 said:
I've figured by myself, use your stock_boot.img and patch manually with Magisk Manager (v7.5). Magisk Manager return for me a "magisk_patched.img" and by flashing that new file, the wifi is return again. I don't know why but it works for me. Thanks for replied.
I would've asked you to do the same. Good that it worked for you.
Like Quote ReplyReport
KM7
Senior Member
Jan 7, 2020
Add bookmark
#10
a51711a said:
I can't update mp5 from mp3, I unlock it now. what should I do?
reflash update.zip as the above tutorial instruct you.
Like Quote ReplyReport
Vicen92
New member
Jan 8, 2020
Add bookmark
#11
KM7 said:
Happy new year everyone!
Since many of you have issues with Black Shark 2 Global, I decided to share my findings with you.
Unlock Black Shark 2 Global Bootloader Commands:
Code:
Fastboot oem bs_unlock
Fastboot oem bs_unlock_critical
Root
Important: Update to SKYW1911121OS01MP5 before rooting.
Check current SLOT:
Code:
fastboot getvar current-slot
If your SKYW1911121OS01MP5 update is on SLOT A then use this fastboot command:
Code:
fastboot flash boot_a boot.img
OR
If your SKYW1911121OS01MP5 update is on SLOT B then use this fastboot command:
Code:
fastboot flash boot_b boot.img
Full OTA Global Factory Image - Fix any issues with the phone and restore it to factory state. This also fixes OTA updating issues.
Dial this from your phone
Code:
*#*#1027#*#*
Start updating your device. You might need to this twice!
Enjoy!
Click to collapse
It works on Chinese Rom? I would like change from CN to global
Like Quote ReplyReport
shaolinz
Senior Member
Jan 8, 2020
Add bookmark
#12
I have a bs2 pro Chinese version and I am so disappointed I thought this phone could be customized with custom ROMs and kernels and still nothing ...... I'll never but a black shark product again
Like Reactions:Datopipo and Anatasia
Like Quote ReplyReport
koangminh
New member
Jan 9, 2020
Add bookmark
#13
Black Shark 2 China rom can do?
tuannghia1985 said:
I have sucessfull flashed in order as below:
1. Backup all your data/media, sms and call log.
2. Dial *#*#1027#*#* then choose Local update.
3. Download SKYW1907040OS01MP3 Stock Factory Image (link above from OP) and move update.zip to “ota” directory in your phone.
4. Press update OTA, after reboot, BS 2 will jump into recovery mode ask for factory reset. Do it or BS 2 won't boot properly.
5. Please allow BS 2 to finish first step of boot up, with least setting up as possible.
6. Go to setting and System update, perform update from S01MP3 to S01MP4, then reboot.
7. Repeat step 5.
8. Repeat step 6 to perform update from S01MP4 to S01MP5, then reboot.
9. Repeat step 5.
10. Turn off the phone and quickly enter Fastboot mode.
11. Perform unlock bootloader by 2 CMD command from above:
12. Restart BS 2, BS 2 will ask for factory reset in Recovery mode. DO IT. (It's very important step cause the BS 2 will stuck at logo if you skip this step).
13. Repeat step 5 (wait until the BS 2 fully operation, enter home launcher, with minimum setting up from beginning). THIS STEP IS ALSO IMPORTANT.
14. Download 2 boot files from OP
15. Check slot_a or slot_b contain your boot original file by cmd command:
- If your SKYW1911121OS01MP5 update is on SLOT A then use this fastboot command:
OR
- If your SKYW1911121OS01MP5 update is on SLOT B then use this fastboot command:
Restart BS 2 after flash boot.img
16. Go to XDA and download and install Magisk Manager.
In any cases that BS 2 stuck or can not boot, please enter fastboot mode and flash stock_boot.img from above; repeat Step 5, and reflash boot.img.
-----------------------------------------------------------------------------------
Now Black Shark 2 is rooted with magisk. ^_^ .
---------- Post added at 09:30 AM ---------- Previous post was at 08:45 AM ----------
But i've lost the wifi function. Stock_boot has wifi but boot.img doesn't have. Could you provide a fix for that? Thanks
Click to expand...
Black Shark 2 China Version can do that?
Like Quote ReplyReport
tuannghia1985
Senior Member
Jan 12, 2020
Add bookmark
#14
Anyone know abd command to relock the bootloader for bs 2? For warranty purpose (Just in case). Thanks in advance.
Like Quote ReplyReport
Flauros7
New member
Jan 12, 2020
Add bookmark
#15
wga0 said:
It seems that you just lost your stock rom. If your region is same as his, your phone would be updated to SKYW1911121OS01MP5 already. It seems that it was not, so you flashed the MP3 and updated to MP5, which is not for your region and there could be mismatched functions. And you lost both slots, which contain your stock rom/region info. You need to use the factory image to backup your own stock rom, or need to follow the sequence exactly, not reversed.
Bro can i have your patched boot.img?what is your region?
Like Quote ReplyReport
wga0
Senior Member
Jan 12, 2020
Add bookmark
#16
Flauros7 said:
Bro can i have your patched boot.img?what is your region?
You can see my region at this post. If you leave your revision(or ota link is better) at there, I will find the factory images for your region. Recently, Magisk is updated too often, every weeks. It seems that it's better to patch the stock image by yourself.
Like Quote ReplyReport
a51711a
New member
Jan 15, 2020
Add bookmark
#17
KM7 said:
reflash update.zip as the above tutorial instruct you.
I TRY IT,Still showing the latest system,can't updates
Like Quote ReplyReport
sharkoss
New member
Jan 31, 2020
Add bookmark
#18
Hi!
I need help to switch r.o.m w from global to china one because the global one has notification issue and it is pale rom no customization no updates. But I noted that the global rom get very high score on benchmarks I got 462,872 points on antutu benchmark . if some one could try this bench mark on the china rom to see what score they will get, also the over clocking is turned off by default, I think I turned on then did the test you have to dial a secret number to allow over clocking apparently.
Thank yo for your time
Like Quote ReplyReport
Curranshark2
Member
Feb 1, 2020
Add bookmark
#19
Anyone have the China ROM I have retail modes ROM that preventing adb fastboot unlock seems hydra may be my only hope
Like Quote ReplyReport
h1run3
New member
Feb 6, 2020
Add bookmark
#20
Just made a new account to confirm the rooting process works. Thank you to KM7, tuannghia1985, wga0, and everyone else for discussing this. The steps I've done were a bit different but I'll try to put it here anyway in case anyone is wondering... (for reference, I'm using Black Shark 2 Global Version just bought a few hours ago)
Prerequisites:
- Your Black Shark 2 must be Global Version. (I haven't tried for China Version yet, might make a separate tutorial if I get my hands on one)
- You will need to prepare Android SDK Platform Tools to execute the needed ADB and Fastboot commands for rooting your device.
- You will also need to be familiar with Command Prompt, or at least comfortable with inputting/copy-pasting commands there.
- You must be ready to forfeit your device in the event that you make a mistake from what's written below. Of course, I cannot be held liable for bricked devices. I am merely restating the procedure I've used for rooting my Black Shark 2 device.
Tutorial:
0. Backup all your files, data, media, etc. You will 100% have to do a factory reset at some point during the rooting process, deleting all user data in your phone.
1. Download the SKYW1907040OS01MP3 Stock Factory Image from OP's post (1.4 GB). It should be named update.zip. Then move the downloaded file to the folder named "OTA". You will find it together along with all the major folders in your internal storage such as "Android" and "Downloads".
2. Dial "*#*#1027#*#*" (without the quotes) on your phone app. A System Update interface should show up, giving you options to adjust the OTA server and to do a local update.
3. Click on the Local Update Button and you should see a percentage in red text pop up. Wait for it to reach 100%.
4. After it reaches 100%, it will tell you to reboot your phone. Now reboot your phone normally.
5. After it reboots, it will go back to your home screen (and not to recovery mode, at least for my version). Go to Settings > System > System Updates.
6. Check the build number (e.g. SKYW1907040OS01MP3) your phone will update to. Two things should happen, in order:
i. You update from "S01MP3" to "S01MP4"
ii. You update from "S01MP4" to "S01MP5"
Once you finish updating from "S01MP4" to "S01MP5" (as long as your current version number ends in S01MP5, you're good), proceed to Step 9. Otherwise, repeat Step 7 and 8.
7. Scroll to the bottom of the update notes and click Update. Ensure your phone is connected to the Internet, and let it download the update.
8. Once the phone downloads it, after a short while, you'll be offered to reboot your device to apply the changes. Reboot the phone, and wait til the phone returns to your home screen and finishes applying the system update entirely.
Notes: During my first try, my update notes were first in Japanese and asked to install around 300 MB. After it finished downloading, it told me the update either failed or got corrupted. Afterwards, the update notes were all typed in English.
9. Patch the stock_boot.img downloaded from OP's post using the latest version of Magisk Manager downloaded from the Magisk GitHub page.
10. You will eventually get another image file named "magisk_patched.img" in the same directory as stock_boot.img (assuming you don't change the filename of the patched image file). Transfer the file to your PC with ADB and Fastboot ready, and place the file inside the platform-tools folder.
11. Activate "Developer Mode" (around 8 taps on About Phone > Build number should do the trick) and enable both "OEM unlocking" and "USB debugging".
12. Connect your phone to your PC via MTP (adjust this via the notification that pops up when you connect it), and click OK when a pop-up appears on your phone for USB debugging.
13. Open Command Prompt inside the platform-tools folder (i.e. cd C:\Users\...\platform-tools) and input the following command in your command prompt:
adb reboot bootloader
14. Your phone should then turn off then boot up into what's called Fastboot Mode. Input the following command next:
fastboot oem bs_unlock
and:
fastboot oem bs_unlock_critical
15. Restart the phone normally by inputting this command:
adb reboot
16. Your phone should go into the logo like a normal reboot, and then suddenly give you an option to either do a Factory Reset, or Cancel. Choose the Factory Reset, and wait for your phone to boot up normally again.
17. Set up your device minimally, then FULLY repeat Steps 11, 12, and 13. Reopen Command Prompt if necessary.
Note: if you've been doing things correctly up to this point, the "OEM unlocking" option should be unselectable, as it will say "Bootloader has already been unlocked".
18. Your phone will boot up again in Fastboot Mode. This time, input the following command:
fastboot getvar current-slot
19. Command Prompt will then respond with the following:
current-slot: a
or:
current-slot: b
Take note of this for the next step
20. Take note that if you changed the filename of the patched image file in Step 10, you will have to adjust the next set of commands accordingly. If your current slot is at "a", then input the following command:
fastboot flash boot_a magisk_patched.img
Otherwise, if your current slot is at "b", then input the following command instead:
fastboot flash boot_b magisk_patched.img
21. Restart your phone normally by repeating Step 15.
22. Install Magisk Manager again from Step 9, and confirm that your phone has indeed installed Magisk, and is now rooted.
Congratulations! You've made it to the very end of the tutorial. If you have any questions, feel free to reply to this post and I will respond as soon as I can. Thank you! :eek:
No comments:
Post a Comment