• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

Install Chinese JoyUI on Global Xiaomi Black Shark

Search This thread

gilbert32

Senior Member
Apr 4, 2011
1,037
1,437
In the universe
BEFORE YOU PROCEED:
Please PM me or post in this thread if your Global Black Shark is unlocked, and not modified yet.


Hello Guys. In this thread, you can see learn how to flash the Chinese Black Shark ROM, on the global version of the phone.

Before you start, please make sure that:
  1. You are rooted
  2. You have decrypted the system storage
  3. You have backed up system_{a,b}, vendor_{a,b}, boot_{a,b}, custom_{a,b}
Please double make sure you have backups of these partitions.

Also, There might be some bugs like:
  • After booting the screen will be upside down. This is fixed by locking then unlocking the phone. However it happens at every boot.
  • Lights settings does not work
  • Left is Recent Apps, Right is Back. A little annoying keymap but i can live with it There's a setting for that

So let's Begin!

The first step is downloading the files provided by @JengaMasterG:
system_b.img
boot_b.img
vendor_b.img

Again, please make sure you have a backup of your partitions, as well as the userdata.
Next, download TWRP for the phone.

Now, boot TWRP by running
Code:
adb reboot bootloader
fastboot boot twrp.img

Once TWRP is up, wipe, advanced, dalvik/art cache and data. Otherwise, when you boot the chinese rom, it will give you crashes.
Copy system_b.img, boot_b.img and vendor_b.img to your internal storage from pc.
Reboot to bootloader
Code:
fastboot getvar current-slot
Check on which slot you are. if it's A, we will flash to B. if it's B, we're gonna flash A.
Code:
fastboot set_active other
The command above will switch you to the corresponding slot, which we're gonna overwrite.
Code:
fastboot boot twrp.img
once twrp is booted, allow writing, and run an adb shell.
Code:
adb shell
Code:
cd /dev/block/bootdevice/by-name
This is the last step to make sure you have a backup.
For the following commands, replace of=partition_X where X is your new slot (if you were using slot A, X would be b and you would run the command as it is. If you were on slot B, you will use boot_a, system_a and vendor_a in end of the following commands)
Code:
dd if=/sdcard/boot_b.img of=boot_b
dd if=/sdcard/system_b.img of=system_b
dd if=/sdcard/vendor_b.img of=vendor_b
Once these commands have completed, flash DisableForceEncryption_Treble.zip and flash Magisk
Reboot without installing twrp app.

Now you will notice the bootanimation is upside down, as well as the system. No panic.
In the first time setup, you might have to go through it upside down (screen is upside down but touch is correct), so it's gonna be a bit tricky.
Once setup is finished, you can install google play store using the following link: miui forums (download zip file from here to avoid registering, for convenience)
Happy new Rom Global users!
Just don't install any update for the system, until you reflash your backup using the same procedure from twrp.

PS: This procedure should work on Chinese variant, to go to Global version. However i have not tested it as i only have the Global Black Shark. It works for switching between Chinese and Global too. Global version (not up to date): https://forum.xda-developers.com/android/development/black-shark-global-stock-firmware-t3907789

Special Thanks:
mauronofio for TWRP
kanded for decrypt thread
JengaMasterG for chinese partition dumps
 
Last edited:

gilbert32

Senior Member
Apr 4, 2011
1,037
1,437
In the universe
@gilbert32, do you have the global roms to upload? I'm getting pretty tired of using the CN rom version and want to try the global one.

Sure. I have the backups i made before flashing the Chinese ROM (There's an update for them, so it's not the latest version)
Unfortunately you will have to wait for Monday until i can upload them.
 
  • Like
Reactions: JengaMasterG

taenimobaho

New member
Mar 7, 2019
3
0
I'm really confused here
can some make a video tutorial please
I'm just a beginner here

---------- Post added at 09:41 AM ---------- Previous post was at 09:35 AM ----------

HI gilbert32,
please make a video tutorial please, I'm really confused.
i can pay you.
pls pls pls im just a beginner and i dont really know anything on installing custom roms installing china joy ui or whatever is that
 

JengaMasterG

Senior Member
Sep 1, 2012
268
93
Devon
LG G6
Opp Find X
where can i find the chinese rom?
also it's work with skr-h0 8gb/128gb?
thank you
and sorry if i dont read it properly

It should, but I would create back-ups of your system.img, vendor.img, and boot.img. You are attempting this at your own risk...I would advise waiting until someone uploads the dual CN version (SKR-A0 dual). Currently the non-dual version is the one uploaded (6GB / 64GB).

I'm really confused here
can some make a video tutorial please
I'm just a beginner here

---------- Post added at 09:41 AM ---------- Previous post was at 09:35 AM ----------

HI gilbert32,
please make a video tutorial please, I'm really confused.
i can pay you.
pls pls pls im just a beginner and i dont really know anything on installing custom roms installing china joy ui or whatever is that

Try This:

Make sure you are already rooted on your current software version
Try these directions:
1. Download the images and the zip file from here
2. Connect phone to computer
3. Save the images and files to your phone
4. Reboot phone into bootloader running: adb reboot bootloader from command prompt
4a. Run fastboot getvar current-slot to see which active system slot you are on.
4b. If you are on slot "a" (_a), you will change it to "b" (_b) and vice versa:
fastboot set_active other
5. Run fastboot boot twrp.img in command prompt to boot into TWRP
6. On TWRP, swipe to allow system modifications if you haven't already.
7. On computer command prompt:
If you changed your active slot to "b" in step 4b run:
Code:
adb pull /dev/block/bootdevice/by-name/boot_b /your/backup/location/on/computer/boot_b.img
adb pull /dev/block/bootdevice/by-name/vendor_b /your/backup/location/on/computer/vendor_b.img
adb pull /dev/block/bootdevice/by-name/system_b /your/backup/location/on/computer/system_b.img
If you changed your active slot to "a" in step 4b run:
Code:
adb pull /dev/block/bootdevice/by-name/boot_a /your/backup/location/on/computer/boot_a.img
adb pull /dev/block/bootdevice/by-name/vendor_a /your/backup/location/on/computer/vendor_a.img
adb pull /dev/block/bootdevice/by-name/system_a /your/backup/location/on/computer/system_a.img
change /your/backup/location/on/computer/ to a backup folder that you put on your computer for your phone's images. This could be on a folder on your desktop. That's the easiest.
8. Back to TWRP:
8a. Click Install
8b. Click Install image
8c. Install each image by selecting them, and then selecting the right partition to flash.
So if you're installing the boot_b.img, make sure the blue dot is next to the word boot before swiping to install.
If you made a mistake, you can go back and flash the correct image. So if I flashed boot.img and the blue dot was on the word system, then I can go back and choose the system.img and make sure the blue dot is on the word system.

8d. Click Install Zip in the Install page
8e. Install the decryption zip file. This also installs version 18.1 of magisk instead of an earlier version.
9. Now go back to the main menu of TWRP
9a. Click Wipe
9b. Click Advanced
9c. Select ONLY davlik / art cache and data. If anything else is checked other than those two, uncheck those
9d. Swipe to confirm wipe. This prevents your phone from bootlooping
9e. Reboot the phone. Your bootanimation should be upside down. That means it is working!

Your phone's screen should be upside down. Try pressing the power button to lock the phone and then again to unlock it to fix the issue. If it doesn't fix the issue, you'll have to go through the set up process with the screen being upside down. This is just like how TWRP is upside down! Your touches are in the right spot on the screen, but the display is upside down. After the setup is complete, lock and unlock your phone again. The screen orientation should fix itself!
 
Last edited:
  • Like
Reactions: khususgw

Top Liked Posts

  • There are no posts matching your filters.
  • 5
    BEFORE YOU PROCEED:
    Please PM me or post in this thread if your Global Black Shark is unlocked, and not modified yet.


    Hello Guys. In this thread, you can see learn how to flash the Chinese Black Shark ROM, on the global version of the phone.

    Before you start, please make sure that:
    1. You are rooted
    2. You have decrypted the system storage
    3. You have backed up system_{a,b}, vendor_{a,b}, boot_{a,b}, custom_{a,b}
    Please double make sure you have backups of these partitions.

    Also, There might be some bugs like:
    • After booting the screen will be upside down. This is fixed by locking then unlocking the phone. However it happens at every boot.
    • Lights settings does not work
    • Left is Recent Apps, Right is Back. A little annoying keymap but i can live with it There's a setting for that

    So let's Begin!

    The first step is downloading the files provided by @JengaMasterG:
    system_b.img
    boot_b.img
    vendor_b.img

    Again, please make sure you have a backup of your partitions, as well as the userdata.
    Next, download TWRP for the phone.

    Now, boot TWRP by running
    Code:
    adb reboot bootloader
    fastboot boot twrp.img

    Once TWRP is up, wipe, advanced, dalvik/art cache and data. Otherwise, when you boot the chinese rom, it will give you crashes.
    Copy system_b.img, boot_b.img and vendor_b.img to your internal storage from pc.
    Reboot to bootloader
    Code:
    fastboot getvar current-slot
    Check on which slot you are. if it's A, we will flash to B. if it's B, we're gonna flash A.
    Code:
    fastboot set_active other
    The command above will switch you to the corresponding slot, which we're gonna overwrite.
    Code:
    fastboot boot twrp.img
    once twrp is booted, allow writing, and run an adb shell.
    Code:
    adb shell
    Code:
    cd /dev/block/bootdevice/by-name
    This is the last step to make sure you have a backup.
    For the following commands, replace of=partition_X where X is your new slot (if you were using slot A, X would be b and you would run the command as it is. If you were on slot B, you will use boot_a, system_a and vendor_a in end of the following commands)
    Code:
    dd if=/sdcard/boot_b.img of=boot_b
    dd if=/sdcard/system_b.img of=system_b
    dd if=/sdcard/vendor_b.img of=vendor_b
    Once these commands have completed, flash DisableForceEncryption_Treble.zip and flash Magisk
    Reboot without installing twrp app.

    Now you will notice the bootanimation is upside down, as well as the system. No panic.
    In the first time setup, you might have to go through it upside down (screen is upside down but touch is correct), so it's gonna be a bit tricky.
    Once setup is finished, you can install google play store using the following link: miui forums (download zip file from here to avoid registering, for convenience)
    Happy new Rom Global users!
    Just don't install any update for the system, until you reflash your backup using the same procedure from twrp.

    PS: This procedure should work on Chinese variant, to go to Global version. However i have not tested it as i only have the Global Black Shark. It works for switching between Chinese and Global too. Global version (not up to date): https://forum.xda-developers.com/android/development/black-shark-global-stock-firmware-t3907789

    Special Thanks:
    mauronofio for TWRP
    kanded for decrypt thread
    JengaMasterG for chinese partition dumps
    2
    hello @JengaMasterG im try to instal joy ui chinnese room but link download isn't broken, can you help me. thank you.:fingers-crossed:

    Try this link here:
    https://drive.google.com/drive/folders/1A3R1tbEhZmR0mQ1XFW-jqR8p2KKxE-Df?usp=sharing

    I have been able to port the newest Shark Space and game launcher into the Global ROM. I will be running more tests in the coming days/week.
    1
    @gilbert32, do you have the global roms to upload? I'm getting pretty tired of using the CN rom version and want to try the global one.

    Sure. I have the backups i made before flashing the Chinese ROM (There's an update for them, so it's not the latest version)
    Unfortunately you will have to wait for Monday until i can upload them.
    1
    Thank you so much, but the rar file is password protected, do you have the password?


    on that link,

    DOWNLOAD:
    ROM SKR (BS1)
    https://drive.google.com/file/d/1Cca3...
    QFIL
    https://drive.google.com/file/d/1vT2a...
    DRIVER SNAPDRAGON
    https://drive.google.com/file/d/1WoHg...

    these above files doesnt have password. but the last one was password. first three files just extract as usual..
    and follow the tutorial. i just followed that video n proved