LightBlog

samedi 2 juillet 2022

Black Shark 5 Pro Review: Pushing the Snapdragon 8 Gen 1 to its hot limits

Black Shark is a gaming smartphone brand that’s been around for a while. It’s backed by Xiaomi (not owned by, as the company fervently reminds the tech community) and typically packs high-end hardware in a more affordable package. Now the Black Shark 5 Pro is here, and it’s more of the same with physical triggers that can be mapped to touch inputs to help your game.

If you’re looking for a powerful smartphone that looks decent, then the Black Shark 5 Pro might well be up your alley. However, it might also be worth waiting for what’s to come after the Snapdragon 8 Gen 1 before taking the plunge on a gaming smartphone, as the Snapdragon 8 Plus Gen 1 promises to fix a lot of the shortcomings of the preceding flagship chipset.

With the Black Shark 5 Pro, there are a lot of problems that you mightn’t be able to get over, and that includes poor battery life, intense heat, and the lack of a headphone jack. If you’re interested to learn more, then read on.

    Black Shark 5 Pro
    The Black Shark 5 Pro is the latest gaming phone from the Xiaomi-backed company, but there are a lot of problems with it that may not necessarily command the price tag.

      Features:

      Pros:

      Cons:

Navigate this review:

Black Shark Pro 5: Specs

Specification Black Shark 5 Pro
Dimensions & Weight
  • 163.83mm x 76.25mm x 9.5mm
  • 220g
Display
  • 6.67-inch AMOLED
  • 1080 x 2400 (full HD+)
  • 144Hz refresh rate
  • Up to 720Hz touch sampling rate
  • 1300nits peak brightness
  • HDR10+
SoC
  • Qualcomm Snapdragon 8 Gen 1
    • Adreno GPU
RAM & Storage
  • 8GB LPDDR5 +128GB UFS 3.1
    • 6400MHz RAM
  • 12GB+256GB
  • 16GB+256GB
Battery & Charging
  • 4,650 mAh battery
  • 120W fast charging support
  • Supports QC/PD
Security Side-mounted fingerprint scanner
Rear Camera(s)
  • Primary: 108MP, f/1.75
  • Ultra-wide: 13MP, f/2.4
  • Macro: 5MP
Front Camera(s) 16MP, f/2.45
Port(s)
  • USB Type-C
  • No headphone jack
Audio Stereo speakers
Connectivity
  • 5G NR (SA/NSA)
  • 4G
  • 802.11 a/b/g/n/ac/ax dual-band Wi-Fi
  • Bluetooth 5.2
  • NFC
Software JoyUI 13 based on MIUI
Other Features Shoulder triggers

About this review: Black Shark sent us the Black Shark 5 Pro for review. The company did not have any input into the contents of this review.


Black Shark 5 Pro: Design

  • Not an overly “gamer” look
  • Camera barely protrudes
  • Comfortable to hold

Back of the Black Shark 5 Pro

The Black Shark 5 Pro’s design can simply be described as “gamer” — though it’s not over-the-top like I’ve seen from some other gaming brands. It has a soft-touch glass on the back, with a small icon that lights up on the back. I expected that this would be usable as a notification LED (makes sense, right?) but that’s not the case. It doesn’t do a whole lot, though there are some settings in the software that you can modify to make it react to things like phone calls.

It’s a pretty thick phone, but it’s still comfortable to hold thanks to the rounded back edges. The camera doesn’t take up a huge amount of space either, nor does it protrude much, even though it packs a pretty large 108MP sensor. The display is also completely flat, with a single-centered punch-hole selfie camera.

The back camera of the Black Shark 5 Pro

The shoulder triggers on the Black Shark 5 Pro are pretty cool

Where this phone is unique in its design is the implementation of two trigger buttons on the right-hand side. They’re not always active, and you need to swipe a release mechanism to allow them out to be pressed. When they’re not released, they are flush with the rest of the chassis of the phone.

Those shoulder triggers have to be mapped to touch inputs to be used in games, as games won’t recognize them as an official controller input. Nevertheless, they’re pretty cool, and it’s not too big of a deal to map them to your favorite games. It takes a bit of setup, but I’ve noticed in games like COD Mobile that it does make a difference, as in my case, I no longer need to claw my hands over the display to aim and shoot effectively. When not gaming, they can also be assigned other functions — for example, they will also take photos in the camera app by default.

Black Shark 5 Pro shoulder triggers

For a gamer phone, the Black Shark 5 Pro doesn’t have a lot of unique gamer design, and that’s not really a bad thing. Companies like RedMagic have been known to go a bit overboard in that department, whereas the Black Shark 5 Pro can go unnoticed as just a normal smartphone.

For the display, the Black Shark 5 Pro packs a 1080p flat AMOLED screen that goes up to 144Hz. At first glance, it sounds like a bad thing that it’s full HD 1080p and not 1440p, but there’s a reason for that. Higher resolutions require more computational power, so gaming phones often pack 1080p displays to push as high of a frame rate as possible.

The speakers are really loud and sound very good

There are two speakers, both a top and bottom-firing one. The top speaker I’ve noticed sounds a little tinnier, even though it’s a separate speaker to the earpiece. I’m not sure why that is as I would have expected them to be the same, given that they’re located in the same place on each side and separate from the earpiece. Nevertheless, the speakers are really loud and sound very good, so it’s not a big complaint that I have anyway. There’s no headphone jack either, which is a little strange for a gaming phone.

Black Shark 5 Pro: Gaming experience

  • Good performance
  • No thermal throttling makes for a very hot phone
  • Should have waited for the Snapdragon 8 Plus Gen 1

The “latest and greatest” chipset is a bit of a misnomer when it comes to the Snapdragon 8 Gen 1, and that’s thanks to all of the problems that consumers have been facing with it. It runs quite hot, drains a lot of battery, and doesn’t offer a huge amount by way of performance improvements over the Snapdragon 888. The Black Shark 5 Pro makes the most of it though and does the best that it can, sometimes to its own detriment.

We ran a gamut of tests on the Black Shark 5 Pro, and while the results were impressive, they were also alarming. CPU Throttling Test raised the temperature of the device to dangerous levels, with heat dissipating through the shoulder triggers at much higher rates than the rest of the phone. The shoulder triggers began to hurt my fingers from the heat. CPU Throttling Test is an unrealistic CPU load to be put on a smartphone, but I ran into similar heating issues when playing The Simpsons: Hit & Run through AetherSX2.

The Black Shark 5 Pro packs top specifications though, and it gives the results to match. We also ran Geekbench 5 and 3DMark’s Wild Life test, and those results lined up with what we expected too. The phone heats up a lot, but that’s par for the course: both with the Snapdragon 8 Gen 1, and with this being a gaming phone. We’d place more of the responsibility for that on the Snapdragon 8 Gen 1 than on Black Shark, although Black Shark did choose performance over throttling despite the heat.

Playing The Simpsons: Hit & Run was a pleasant experience, and the game runs near flawlessly. I played with a 2x internal resolution, and the game ran at more or less 60 FPS at all times. The phone heated up a lot, but the reduced thermal throttling was noticeable here as the game continued to run well despite the phone feeling like it was going to burn my fingers off. We measured the game’s performance with GameBench, and the results were as good as you’d expect.

Black Shark 5 Pro performance metrics

Black Shark 5 Pro Simpsons Hit and Run Framerate graph

To be honest, I can’t help but wonder if it would have been a smarter choice to dial up the thermal throttling just a little bit. An 83% thermal throttle is impressive, but it’s clear that the trade-offs are nigh-on dangerous. You can’t game on this phone intensively for a long time because it starts to hurt. Those temperatures probably aren’t safe for the phone’s battery, either.

This is one of the most powerful phones that I've tested with the Snapdragon 8 Gen 1

This is a powerful smartphone (and one of the most powerful that I’ve tested with the Snapdragon 8 Gen 1), but that’s only because it takes risks. With Snapdragon 8 Plus Gen 1 devices around the corner, it’s a shame that Black Shark didn’t wait it out. From our testing, it’s already a much more efficient chipset, and I think that gaming phones will stand to benefit a lot from it.

The best part of the Black Shark 5 Pro when it comes to power and battery life is the fact that it supports bypass charging. Bypass charging means that your phone will run off of the charger, not using any battery, and not charging up your phone either. It generates less heat (something that is sorely needed with this phone, to be fair), and in theory, safeguards your battery as a result.

We would like to give special thanks to the team at GameBench for the tool they provided us. Their tool makes it possible for any person, whether it be a regular user,  journalist, or engineer, to test a mobile game’s performance on an Android device. 


Black Shark 5 Pro: Camera

Look, nobody is buying a gaming phone for its camera. If you want a phone that takes good photos and has all of the over-the-top gaming features you may have heard of, there’s practically nothing on the market. Having said that, the Black Shark 5 Pro’s camera gets the job done as a decently usable smartphone camera that you can use in a pinch. Though if you care about picture quality that much, it’s not beating any top camera phones by any stretch of the imagination.

IMG_20220625_172738

For context, the Black Shark 5 Pro has a single 108MP primary camera, a 13MP ultra-wide camera, and a 5MP telephoto macro lens. That telephoto lens allows for actually useable macro shots, which is a plus over the 2MP macro cameras that manufacturers still to this day throw into phones.


Black Shark 5 Pro: JoyUI

The Black Shark 5 Pro runs JoyUI, the company’s own modification of MIUI. It looks the same and performs the same, with the same launcher, multi-tasking menu, and even the same control center when pulling down from the top right-hand side. It’s basically just a rebrand of MIUI with some green accents and a couple of hardware-specific features. That’s not a bad thing because I like MIUI, but it’s not a huge deviation from it whatsoever.

With JoyUI, you get all of the features that you’ve come to expect from MIUI. You get a fancy always-on display (with a ton of customization options), you get second space, and you get the quick ball if you’re into that. JoyUI is pretty heavy-handed in changes when compared to other Android variants, but to some, that’s a large part of its charm.

There are features here that integrate with the shoulder triggers though, and do it a whole lot better than I expected them to. For example, popping out a shoulder trigger and pressing it when the camera is open will take a photo, and you can enable them to do other things throughout the system, too. They’re not just for gaming, which I appreciated as I was worried that this was essentially just a gaming phone with no thought to the cohesiveness around the rest of the device.

I'm impressed by the level of thought that's been put into making the shoulder triggers a valuable part of the user interface

Overall, it’s more of Xiaomi’s MIUI, with some additional features. I’m impressed by the level of thought that’s been put into making the shoulder triggers a valuable part of the user interface, though, rather than making them an afterthought.


Miscellaneous

Security

To unlock your smartphone, the Black Shark 5 Pro supports both face unlock and a capacitive fingerprint sensor that’s inside of the power button. It’s almost certainly a bit of a cost-saving measure that there isn’t one in the display, but it’s no big deal really. It works well.

Audio

I know I already mentioned how good the speakers are, but it’s worth another moment to get across just how good they are. They’re loud — really loud — and are great for gaming. Black Shark did a great job here. I do need to point out the lack of a headphone jack though, as it’s an essential feature in a gaming phone. Bluetooth audio has latency, and it’s noticeable when gaming.

Battery life and charging

We touched on this already in the gaming experience section, but battery life really isn’t good. Bypass charging helps in the gaming area when you need to keep your phone powered, but the battery life you get out of the box isn’t great. Expect to get, maximum, five hours of screen on time, and it’s very likely you’ll get a lot less — especially when gaming. 120W charging is amazing when you need it and can charge this phone from 0% to 100% in 15 minutes, but it’s not always worth having super fast charging and then having terrible battery life. I’d personally rather have slower charging and a longer battery, especially because there are massively diminishing returns between 65W charging and 120W charging.

Bootloader unlocking, kernel sources, and software updates

You can unlock the bootloader of a Black Shark phone using Xiaomi’s MIUI unlock tool. It’s a bit of an involved process, though.

As for kernel sources, Black Shark basically never releases them. If you want to use custom ROMs or anything like that on your smartphone, this probably isn’t the phone to get. Software updates are also a bit hit or miss in that regard.


Should you buy the Black Shark 5 Pro?

The Black Shark 5 Pro offers a lot of good, but there are a lot of reasons to look elsewhere, too. The kernel source and update situation is particularly alarming, as companies are obligated under the GPL to release timely kernel sources. Some companies, such as OnePlus, have published kernel sources late but still typically always get to them at some point. Black Shark, however, just hasn’t released any kernel sources from the Black Shark 2 or newer.

Even aside from that, the phone itself heats up incredibly when gaming, to the point that I worry it can cause harm and injury. Between that, the lack of a headphone jack, and the battery life concerns, there’s just not a lot that Black Shark gets right for a gaming phone. The shoulder triggers are cool and work well, but that’s the only genuinely unique feature about this phone that you can’t really get anything like anywhere else.

As a result, if what you want is a gaming phone, it’s probably worth waiting to see what’s around the corner — particularly anything that may be powered by the Snapdragon 8 Plus Gen 1. There are too many trade-offs here, and for €799, there’s probably much better on offer. I love the speakers, I love the shoulder triggers, but I’m really not a fan of anything else with this phone.

    Black Shark 5 Pro
    The Black Shark 5 Pro is the latest gaming phone from the Xiaomi-backed company, but there are a lot of problems with it that may not necessarily command the price tag.

The post Black Shark 5 Pro Review: Pushing the Snapdragon 8 Gen 1 to its hot limits appeared first on XDA.



from XDA https://ift.tt/EaJRxob
via IFTTT

Black Shark 5 Pro Review: Pushing the Snapdragon 8 Gen 1 to its hot limits

Black Shark is a gaming smartphone brand that’s been around for a while. It’s backed by Xiaomi (not owned by, as the company fervently reminds the tech community) and typically packs high-end hardware in a more affordable package. Now the Black Shark 5 Pro is here, and it’s more of the same with physical triggers that can be mapped to touch inputs to help your game.

If you’re looking for a powerful smartphone that looks decent, then the Black Shark 5 Pro might well be up your alley. However, it might also be worth waiting for what’s to come after the Snapdragon 8 Gen 1 before taking the plunge on a gaming smartphone, as the Snapdragon 8 Plus Gen 1 promises to fix a lot of the shortcomings of the preceding flagship chipset.

With the Black Shark 5 Pro, there are a lot of problems that you mightn’t be able to get over, and that includes poor battery life, intense heat, and the lack of a headphone jack. If you’re interested to learn more, then read on.

    Black Shark 5 Pro
    The Black Shark 5 Pro is the latest gaming phone from the Xiaomi-backed company, but there are a lot of problems with it that may not necessarily command the price tag.

      Features:

      Pros:

      Cons:

Navigate this review:

Black Shark Pro 5: Specs

Specification Black Shark 5 Pro
Dimensions & Weight
  • 163.83mm x 76.25mm x 9.5mm
  • 220g
Display
  • 6.67-inch AMOLED
  • 1080 x 2400 (full HD+)
  • 144Hz refresh rate
  • Up to 720Hz touch sampling rate
  • 1300nits peak brightness
  • HDR10+
SoC
  • Qualcomm Snapdragon 8 Gen 1
    • Adreno GPU
RAM & Storage
  • 8GB LPDDR5 +128GB UFS 3.1
    • 6400MHz RAM
  • 12GB+256GB
  • 16GB+256GB
Battery & Charging
  • 4,650 mAh battery
  • 120W fast charging support
  • Supports QC/PD
Security Side-mounted fingerprint scanner
Rear Camera(s)
  • Primary: 108MP, f/1.75
  • Ultra-wide: 13MP, f/2.4
  • Macro: 5MP
Front Camera(s) 16MP, f/2.45
Port(s)
  • USB Type-C
  • No headphone jack
Audio Stereo speakers
Connectivity
  • 5G NR (SA/NSA)
  • 4G
  • 802.11 a/b/g/n/ac/ax dual-band Wi-Fi
  • Bluetooth 5.2
  • NFC
Software JoyUI 13 based on MIUI
Other Features Shoulder triggers

About this review: Black Shark sent us the Black Shark 5 Pro for review. The company did not have any input into the contents of this review.


Black Shark 5 Pro: Design

  • Not an overly “gamer” look
  • Camera barely protrudes
  • Comfortable to hold

Back of the Black Shark 5 Pro

The Black Shark 5 Pro’s design can simply be described as “gamer” — though it’s not over-the-top like I’ve seen from some other gaming brands. It has a soft-touch glass on the back, with a small icon that lights up on the back. I expected that this would be usable as a notification LED (makes sense, right?) but that’s not the case. It doesn’t do a whole lot, though there are some settings in the software that you can modify to make it react to things like phone calls.

It’s a pretty thick phone, but it’s still comfortable to hold thanks to the rounded back edges. The camera doesn’t take up a huge amount of space either, nor does it protrude much, even though it packs a pretty large 108MP sensor. The display is also completely flat, with a single-centered punch-hole selfie camera.

The back camera of the Black Shark 5 Pro

The shoulder triggers on the Black Shark 5 Pro are pretty cool

Where this phone is unique in its design is the implementation of two trigger buttons on the right-hand side. They’re not always active, and you need to swipe a release mechanism to allow them out to be pressed. When they’re not released, they are flush with the rest of the chassis of the phone.

Those shoulder triggers have to be mapped to touch inputs to be used in games, as games won’t recognize them as an official controller input. Nevertheless, they’re pretty cool, and it’s not too big of a deal to map them to your favorite games. It takes a bit of setup, but I’ve noticed in games like COD Mobile that it does make a difference, as in my case, I no longer need to claw my hands over the display to aim and shoot effectively. When not gaming, they can also be assigned other functions — for example, they will also take photos in the camera app by default.

Black Shark 5 Pro shoulder triggers

For a gamer phone, the Black Shark 5 Pro doesn’t have a lot of unique gamer design, and that’s not really a bad thing. Companies like RedMagic have been known to go a bit overboard in that department, whereas the Black Shark 5 Pro can go unnoticed as just a normal smartphone.

For the display, the Black Shark 5 Pro packs a 1080p flat AMOLED screen that goes up to 144Hz. At first glance, it sounds like a bad thing that it’s full HD 1080p and not 1440p, but there’s a reason for that. Higher resolutions require more computational power, so gaming phones often pack 1080p displays to push as high of a frame rate as possible.

The speakers are really loud and sound very good

There are two speakers, both a top and bottom-firing one. The top speaker I’ve noticed sounds a little tinnier, even though it’s a separate speaker to the earpiece. I’m not sure why that is as I would have expected them to be the same, given that they’re located in the same place on each side and separate from the earpiece. Nevertheless, the speakers are really loud and sound very good, so it’s not a big complaint that I have anyway. There’s no headphone jack either, which is a little strange for a gaming phone.

Black Shark 5 Pro: Gaming experience

  • Good performance
  • No thermal throttling makes for a very hot phone
  • Should have waited for the Snapdragon 8 Plus Gen 1

The “latest and greatest” chipset is a bit of a misnomer when it comes to the Snapdragon 8 Gen 1, and that’s thanks to all of the problems that consumers have been facing with it. It runs quite hot, drains a lot of battery, and doesn’t offer a huge amount by way of performance improvements over the Snapdragon 888. The Black Shark 5 Pro makes the most of it though and does the best that it can, sometimes to its own detriment.

We ran a gamut of tests on the Black Shark 5 Pro, and while the results were impressive, they were also alarming. CPU Throttling Test raised the temperature of the device to dangerous levels, with heat dissipating through the shoulder triggers at much higher rates than the rest of the phone. The shoulder triggers began to hurt my fingers from the heat. CPU Throttling Test is an unrealistic CPU load to be put on a smartphone, but I ran into similar heating issues when playing The Simpsons: Hit & Run through AetherSX2.

The Black Shark 5 Pro packs top specifications though, and it gives the results to match. We also ran Geekbench 5 and 3DMark’s Wild Life test, and those results lined up with what we expected too. The phone heats up a lot, but that’s par for the course: both with the Snapdragon 8 Gen 1, and with this being a gaming phone. We’d place more of the responsibility for that on the Snapdragon 8 Gen 1 than on Black Shark, although Black Shark did choose performance over throttling despite the heat.

Playing The Simpsons: Hit & Run was a pleasant experience, and the game runs near flawlessly. I played with a 2x internal resolution, and the game ran at more or less 60 FPS at all times. The phone heated up a lot, but the reduced thermal throttling was noticeable here as the game continued to run well despite the phone feeling like it was going to burn my fingers off. We measured the game’s performance with GameBench, and the results were as good as you’d expect.

Black Shark 5 Pro performance metrics

Black Shark 5 Pro Simpsons Hit and Run Framerate graph

To be honest, I can’t help but wonder if it would have been a smarter choice to dial up the thermal throttling just a little bit. An 83% thermal throttle is impressive, but it’s clear that the trade-offs are nigh-on dangerous. You can’t game on this phone intensively for a long time because it starts to hurt. Those temperatures probably aren’t safe for the phone’s battery, either.

This is one of the most powerful phones that I've tested with the Snapdragon 8 Gen 1

This is a powerful smartphone (and one of the most powerful that I’ve tested with the Snapdragon 8 Gen 1), but that’s only because it takes risks. With Snapdragon 8 Plus Gen 1 devices around the corner, it’s a shame that Black Shark didn’t wait it out. From our testing, it’s already a much more efficient chipset, and I think that gaming phones will stand to benefit a lot from it.

The best part of the Black Shark 5 Pro when it comes to power and battery life is the fact that it supports bypass charging. Bypass charging means that your phone will run off of the charger, not using any battery, and not charging up your phone either. It generates less heat (something that is sorely needed with this phone, to be fair), and in theory, safeguards your battery as a result.

We would like to give special thanks to the team at GameBench for the tool they provided us. Their tool makes it possible for any person, whether it be a regular user,  journalist, or engineer, to test a mobile game’s performance on an Android device. 


Black Shark 5 Pro: Camera

Look, nobody is buying a gaming phone for its camera. If you want a phone that takes good photos and has all of the over-the-top gaming features you may have heard of, there’s practically nothing on the market. Having said that, the Black Shark 5 Pro’s camera gets the job done as a decently usable smartphone camera that you can use in a pinch. Though if you care about picture quality that much, it’s not beating any top camera phones by any stretch of the imagination.

IMG_20220625_172738

For context, the Black Shark 5 Pro has a single 108MP primary camera, a 13MP ultra-wide camera, and a 5MP telephoto macro lens. That telephoto lens allows for actually useable macro shots, which is a plus over the 2MP macro cameras that manufacturers still to this day throw into phones.


Black Shark 5 Pro: JoyUI

The Black Shark 5 Pro runs JoyUI, the company’s own modification of MIUI. It looks the same and performs the same, with the same launcher, multi-tasking menu, and even the same control center when pulling down from the top right-hand side. It’s basically just a rebrand of MIUI with some green accents and a couple of hardware-specific features. That’s not a bad thing because I like MIUI, but it’s not a huge deviation from it whatsoever.

With JoyUI, you get all of the features that you’ve come to expect from MIUI. You get a fancy always-on display (with a ton of customization options), you get second space, and you get the quick ball if you’re into that. JoyUI is pretty heavy-handed in changes when compared to other Android variants, but to some, that’s a large part of its charm.

There are features here that integrate with the shoulder triggers though, and do it a whole lot better than I expected them to. For example, popping out a shoulder trigger and pressing it when the camera is open will take a photo, and you can enable them to do other things throughout the system, too. They’re not just for gaming, which I appreciated as I was worried that this was essentially just a gaming phone with no thought to the cohesiveness around the rest of the device.

I'm impressed by the level of thought that's been put into making the shoulder triggers a valuable part of the user interface

Overall, it’s more of Xiaomi’s MIUI, with some additional features. I’m impressed by the level of thought that’s been put into making the shoulder triggers a valuable part of the user interface, though, rather than making them an afterthought.


Miscellaneous

Security

To unlock your smartphone, the Black Shark 5 Pro supports both face unlock and a capacitive fingerprint sensor that’s inside of the power button. It’s almost certainly a bit of a cost-saving measure that there isn’t one in the display, but it’s no big deal really. It works well.

Audio

I know I already mentioned how good the speakers are, but it’s worth another moment to get across just how good they are. They’re loud — really loud — and are great for gaming. Black Shark did a great job here. I do need to point out the lack of a headphone jack though, as it’s an essential feature in a gaming phone. Bluetooth audio has latency, and it’s noticeable when gaming.

Battery life and charging

We touched on this already in the gaming experience section, but battery life really isn’t good. Bypass charging helps in the gaming area when you need to keep your phone powered, but the battery life you get out of the box isn’t great. Expect to get, maximum, five hours of screen on time, and it’s very likely you’ll get a lot less — especially when gaming. 120W charging is amazing when you need it and can charge this phone from 0% to 100% in 15 minutes, but it’s not always worth having super fast charging and then having terrible battery life. I’d personally rather have slower charging and a longer battery, especially because there are massively diminishing returns between 65W charging and 120W charging.

Bootloader unlocking, kernel sources, and software updates

You can unlock the bootloader of a Black Shark phone using Xiaomi’s MIUI unlock tool. It’s a bit of an involved process, though.

As for kernel sources, Black Shark basically never releases them. If you want to use custom ROMs or anything like that on your smartphone, this probably isn’t the phone to get. Software updates are also a bit hit or miss in that regard.


Should you buy the Black Shark 5 Pro?

The Black Shark 5 Pro offers a lot of good, but there are a lot of reasons to look elsewhere, too. The kernel source and update situation is particularly alarming, as companies are obligated under the GPL to release timely kernel sources. Some companies, such as OnePlus, have published kernel sources late but still typically always get to them at some point. Black Shark, however, just hasn’t released any kernel sources from the Black Shark 2 or newer.

Even aside from that, the phone itself heats up incredibly when gaming, to the point that I worry it can cause harm and injury. Between that, the lack of a headphone jack, and the battery life concerns, there’s just not a lot that Black Shark gets right for a gaming phone. The shoulder triggers are cool and work well, but that’s the only genuinely unique feature about this phone that you can’t really get anything like anywhere else.

As a result, if what you want is a gaming phone, it’s probably worth waiting to see what’s around the corner — particularly anything that may be powered by the Snapdragon 8 Plus Gen 1. There are too many trade-offs here, and for €799, there’s probably much better on offer. I love the speakers, I love the shoulder triggers, but I’m really not a fan of anything else with this phone.

    Black Shark 5 Pro
    The Black Shark 5 Pro is the latest gaming phone from the Xiaomi-backed company, but there are a lot of problems with it that may not necessarily command the price tag.

The post Black Shark 5 Pro Review: Pushing the Snapdragon 8 Gen 1 to its hot limits appeared first on XDA.



from XDA https://ift.tt/A5pN0tm
via IFTTT

How to create a Discord bot and add it to your server

Discord has evolved a lot over the years and it now stands as a reliable platform for not only gamers but for anyone looking to connect with their peers over messages, video chat, and more. Many even use it as an alternative to WhatsApp and other popular messaging applications, especially thanks to its great emphasis on groups and communities. Discord has millions of daily active users and a good chunk of those use a bot on a day-to-day basis to automate things. If you use Discord in any capacity then there’s a good chance you’ve used a bot. If you’re wondering how to create one yourself then you’re in the right place. In this article, we’ll tell you how to make a Discord bot:

Navigate this article:

Prerequisites

Creating a Discord bot is a relatively simple task. You do need a little bit of programming knowledge to set things up, but the complexity of the code depends on the kind of bot you’re trying to make. Let’s take a look at a few things you need to get started. First, you need a Discord account, which you probably have. If not, you can create one for free by heading over to the Discord homepage. You can also download the Discord client and use it on your gaming laptop or even a phone.

Once done, you need to set up your own server to use the bot. You can then invite the bot to your server easily by following a few simple steps. Once the bot has arrived on your server, you can then code a function for it and use it in your server or assign it to other servers to which you have admin rights. To assign a bot function, we’ll use Node.js to access the discord.js Node library. You can download the latest version of Node.js from the official website.

Additionally, we’ll also need a code editor to write and modify the bot functions. We’ll be using Visual Studio Code in this tutorial, although you’re free to use whichever you like.


How to create and add a Discord bot to your server

The first step is to create an application on Discord for your bot to work. The idea here is to generate a token for your bot so that Discord recognizes the code. For this, you’ll need to head over to Discord’s applications page. You’ll be sent directly to the page once you log in with your Discord account where you’ll see a list of your apps. Don’t worry if the list is empty because we’ll be creating one now.

  • Hit the New Application button to get started.
    discord bot apps page
  • Now, give a name to your application and hit Create.
    name your discord bot page
  • It’ll now take you to a page in which you can enter details such as your app’s description, add tags, an app icon, and more. Once done, hit the Save Changes button to proceed.
  • Now, look for the Bot option in the menu list on the left sidebar. Tap on it to open the Bots page and press the Add Bot button. Allow permission to create the bot when prompted.
    Add bot to your server page
  • You’ll now see a security token for your bot on the next page. If the token hasn’t been generated, simply tap on the Reset button to create a new token. Copy this token ID as we’ll need it in the following sections.
  • This particular token allows you to control the bot, meaning you shouldn’t share this with anyone. If you think this token has been compromised, then simply come back to this page and hit the reset button to create a new one.
    Bot token in discord
  • Now, look for the OAuth2 option in the menu on the left sidebar and click on it to find your CLIENT ID. It’s a long string of numbers that you need to copy and paste to this URL below — replace the word CLIENTID with the actual CLIENT ID that you just copied –
    https://discordapp.com/oauth2/authorize?&client_id=CLIENTID&scope=bot&permissions=8
  • Simply paste this particular URL into your web browser and hit enter. It’ll open a page in which you can tell Discord where to send your bot. Select the server to which you want to add your new bot from the dropdown menu like so –
    Invite discord bot your server
  • Click on Continue and confirm whether or not you want to grant Admin rights of the server to your bot. You can grant or revoke the admin rights later too, so don’t sweat over this option.
  • Once you add the bot to your server, you’ll see a message confirming the arrival of the bot. That’s how you’ll know it worked. You’ll also see the bot in the members’ column on the right side.
    Test bot added to server

Well, that’s it, you’ve now created a Discord bot for your server. If you followed all the steps carefully, you should be able to see the bot on your server. The bot will stay offline until you define a function for it with a code, and sync it with the Discord platform. This is where the real work begins as you’ll set up a few parameters and tell your bot what you want it to do.

How to assign bot function and host a Discord bot

Now, follow the steps below to create and host a discord bot on your PC:

For this tutorial, we’ll be creating a simple ‘Ping-Pong’ Discord bot which, as the name suggests, will reply with ‘Pong’ every time you type ‘Ping’.

  • Create a new folder anywhere on your PC or Mac. We created a ‘New Folder’ on the Desktop in our Windows PC for this tutorial.
  • Now, open Visual Studio Code and create a new file with the code mentioned below. Replace “Paste your bot’s token here without quotes” with the bot’s token you copied earlier.

    DISCORD_TOKEN= “Paste your bot’s token here without quotes.”


    Visual studio code for .env discord bot with token
  • Next, create a new file and add the following code. Once done, save this particular file as bot.js within the same folder. This code will add the function to your Discord bot. It’ll reply with “pong” every time you type “ping”.

    require(‘dotenv’).config();
    const Discord = require(“discord.js”);
    const client = new Discord.Client({intents: [“GUILDS”, “GUILD_MESSAGES”]});
    client.on(“ready”, () => {
    console.log(`Logged in as ${client.user.tag}!`) })
    client.on(“message”, msg => {
    if (msg.content === “ping”) {
    msg.reply(“pong”);
    }
    })
    client.login(process.env.DISCORD_TOKEN);


    Visual studio code for bot function
  • Now, open the terminal window from the New Folder that you created and install the Discord.js library using the following command. You’ll need Node.js installed on your system for this to work, so keep that in mind.

    npm install –save discord.js dotenv


    Windows powershell with discord.js code for bot
  • The next step is to create a package.json file. Use the following command to create it:

    npm init -y


    create a package json file
  • Lastly, you can now use the “node bot.js” command to run the bot.
    command to run the discord bot

As soon as you run the node bot.js command, you’ll notice that the Discord bot in your server will be online. You can then test the bot by typing ‘ping’ to which it will respond ‘pong’.

Discord bot now live

You can also create a Discord and host it in the cloud for others to use. For that, you’ll have to use an online IDE such as Replit to host your code.

The complexity of the coding process depends on the function you want to assign to your bot. The coding process for a simple ‘Greeting Bot’, for instance, isn’t going to be as complicated as, say, a ‘Music Bot’ that can play music from your preferred platform. You can also create a bot to moderate your server and even kick members that repeatedly break rules in your server. There are tons of useful Discord bots out there, so the possibilities are endless, really. Top.gg is a good place to look for Discord bots if you don’t want to go through the hassle of coding. Just pick up a bot from the website and make changes as necessary to modify the bot according to your needs. There are plenty of options to choose from so be sure to use the search bar on the top to find what you’re looking for.


Well, that brings us to the end of this particular tutorial. There are a ton of useful Discord bots out there right now, so we highly recommend doing a Google search to see if somebody’s already created a bot to automate your process. And before you leave, we also suggest you join XDA’s Discord server in which you’ll find like-minded individuals and also stay up-to-date with all things XDA. So which Discord bot are you going to create first? Let us know by dropping a line in the comments below.

The post How to create a Discord bot and add it to your server appeared first on XDA.



from XDA https://ift.tt/rMbB5Iw
via IFTTT

How to create a Discord bot and add it to your server

Discord has evolved a lot over the years and it now stands as a reliable platform for not only gamers but for anyone looking to connect with their peers over messages, video chat, and more. Many even use it as an alternative to WhatsApp and other popular messaging applications, especially thanks to its great emphasis on groups and communities. Discord has millions of daily active users and a good chunk of those use a bot on a day-to-day basis to automate things. If you use Discord in any capacity then there’s a good chance you’ve used a bot. If you’re wondering how to create one yourself then you’re in the right place. In this article, we’ll tell you how to make a Discord bot:

Navigate this article:

Prerequisites

Creating a Discord bot is a relatively simple task. You do need a little bit of programming knowledge to set things up, but the complexity of the code depends on the kind of bot you’re trying to make. Let’s take a look at a few things you need to get started. First, you need a Discord account, which you probably have. If not, you can create one for free by heading over to the Discord homepage. You can also download the Discord client and use it on your gaming laptop or even a phone.

Once done, you need to set up your own server to use the bot. You can then invite the bot to your server easily by following a few simple steps. Once the bot has arrived on your server, you can then code a function for it and use it in your server or assign it to other servers to which you have admin rights. To assign a bot function, we’ll use Node.js to access the discord.js Node library. You can download the latest version of Node.js from the official website.

Additionally, we’ll also need a code editor to write and modify the bot functions. We’ll be using Visual Studio Code in this tutorial, although you’re free to use whichever you like.


How to create and add a Discord bot to your server

The first step is to create an application on Discord for your bot to work. The idea here is to generate a token for your bot so that Discord recognizes the code. For this, you’ll need to head over to Discord’s applications page. You’ll be sent directly to the page once you log in with your Discord account where you’ll see a list of your apps. Don’t worry if the list is empty because we’ll be creating one now.

  • Hit the New Application button to get started.
    discord bot apps page
  • Now, give a name to your application and hit Create.
    name your discord bot page
  • It’ll now take you to a page in which you can enter details such as your app’s description, add tags, an app icon, and more. Once done, hit the Save Changes button to proceed.
  • Now, look for the Bot option in the menu list on the left sidebar. Tap on it to open the Bots page and press the Add Bot button. Allow permission to create the bot when prompted.
    Add bot to your server page
  • You’ll now see a security token for your bot on the next page. If the token hasn’t been generated, simply tap on the Reset button to create a new token. Copy this token ID as we’ll need it in the following sections.
  • This particular token allows you to control the bot, meaning you shouldn’t share this with anyone. If you think this token has been compromised, then simply come back to this page and hit the reset button to create a new one.
    Bot token in discord
  • Now, look for the OAuth2 option in the menu on the left sidebar and click on it to find your CLIENT ID. It’s a long string of numbers that you need to copy and paste to this URL below — replace the word CLIENTID with the actual CLIENT ID that you just copied –
    https://discordapp.com/oauth2/authorize?&client_id=CLIENTID&scope=bot&permissions=8
  • Simply paste this particular URL into your web browser and hit enter. It’ll open a page in which you can tell Discord where to send your bot. Select the server to which you want to add your new bot from the dropdown menu like so –
    Invite discord bot your server
  • Click on Continue and confirm whether or not you want to grant Admin rights of the server to your bot. You can grant or revoke the admin rights later too, so don’t sweat over this option.
  • Once you add the bot to your server, you’ll see a message confirming the arrival of the bot. That’s how you’ll know it worked. You’ll also see the bot in the members’ column on the right side.
    Test bot added to server

Well, that’s it, you’ve now created a Discord bot for your server. If you followed all the steps carefully, you should be able to see the bot on your server. The bot will stay offline until you define a function for it with a code, and sync it with the Discord platform. This is where the real work begins as you’ll set up a few parameters and tell your bot what you want it to do.

How to assign bot function and host a Discord bot

Now, follow the steps below to create and host a discord bot on your PC:

For this tutorial, we’ll be creating a simple ‘Ping-Pong’ Discord bot which, as the name suggests, will reply with ‘Pong’ every time you type ‘Ping’.

  • Create a new folder anywhere on your PC or Mac. We created a ‘New Folder’ on the Desktop in our Windows PC for this tutorial.
  • Now, open Visual Studio Code and create a new file with the code mentioned below. Replace “Paste your bot’s token here without quotes” with the bot’s token you copied earlier.

    DISCORD_TOKEN= “Paste your bot’s token here without quotes.”


    Visual studio code for .env discord bot with token
  • Next, create a new file and add the following code. Once done, save this particular file as bot.js within the same folder. This code will add the function to your Discord bot. It’ll reply with “pong” every time you type “ping”.

    require(‘dotenv’).config();
    const Discord = require(“discord.js”);
    const client = new Discord.Client({intents: [“GUILDS”, “GUILD_MESSAGES”]});
    client.on(“ready”, () => {
    console.log(`Logged in as ${client.user.tag}!`) })
    client.on(“message”, msg => {
    if (msg.content === “ping”) {
    msg.reply(“pong”);
    }
    })
    client.login(process.env.DISCORD_TOKEN);


    Visual studio code for bot function
  • Now, open the terminal window from the New Folder that you created and install the Discord.js library using the following command. You’ll need Node.js installed on your system for this to work, so keep that in mind.

    npm install –save discord.js dotenv


    Windows powershell with discord.js code for bot
  • The next step is to create a package.json file. Use the following command to create it:

    npm init -y


    create a package json file
  • Lastly, you can now use the “node bot.js” command to run the bot.
    command to run the discord bot

As soon as you run the node bot.js command, you’ll notice that the Discord bot in your server will be online. You can then test the bot by typing ‘ping’ to which it will respond ‘pong’.

Discord bot now live

You can also create a Discord and host it in the cloud for others to use. For that, you’ll have to use an online IDE such as Replit to host your code.

The complexity of the coding process depends on the function you want to assign to your bot. The coding process for a simple ‘Greeting Bot’, for instance, isn’t going to be as complicated as, say, a ‘Music Bot’ that can play music from your preferred platform. You can also create a bot to moderate your server and even kick members that repeatedly break rules in your server. There are tons of useful Discord bots out there, so the possibilities are endless, really. Top.gg is a good place to look for Discord bots if you don’t want to go through the hassle of coding. Just pick up a bot from the website and make changes as necessary to modify the bot according to your needs. There are plenty of options to choose from so be sure to use the search bar on the top to find what you’re looking for.


Well, that brings us to the end of this particular tutorial. There are a ton of useful Discord bots out there right now, so we highly recommend doing a Google search to see if somebody’s already created a bot to automate your process. And before you leave, we also suggest you join XDA’s Discord server in which you’ll find like-minded individuals and also stay up-to-date with all things XDA. So which Discord bot are you going to create first? Let us know by dropping a line in the comments below.

The post How to create a Discord bot and add it to your server appeared first on XDA.



from XDA https://ift.tt/8xUDt6p
via IFTTT

vendredi 1 juillet 2022

OneDrive’s Photo Story feature is now available in public preview

In February this year, we spotted evidence pointing towards a new Photo Story feature in a teardown of Microsoft OneDrive v6.49 Beta 1 for Android. Initially, the strings only revealed the feature’s name. However, a subsequent beta release (v6.50 Beta 3) included more strings highlighting its functionality. Microsoft has now officially announced the feature, and here’s everything you need to know about it.

In a recent post on the OneDrive blog, Microsoft reveals that Photo Story in OneDrive is “a new, interactive feature that securely connects your favorite memories to the people who matter the most.” Essentially, the feature lets OneDrive users create a private, invitation-only feed where they can share images with family and friends. It offers support for comments, reactions, and notifications.

Currently, the feature is available in beta in Australia on the OneDrive mobile app for Android and iOS, along with OneDrive for web. Microsoft plans to roll it out to users in the U.S. and other regions later this year. If you wish to try it out, you can download the OneDrive mobile app on your smartphone and sign up for a personal OneDrive account. Once you’re in, you can select the Shared tab to create your first photo story. You can then invite friends and family to view your photo story feed, and they will be able to leave comments and reactions on the images you share.

The Photo Story feature is available for OneDrive Basic 5GB (free), OneDrive Standalone 100GB, Microsoft 365 Personal, and Microsoft 365 family accounts. It is not available for OneDrive work or school accounts.

What do you think of OneDrive’s new Photo Story feature? Do you think it’s a handy addition, or would you much rather have Microsoft focus on other, more useful features for its cloud storage service? Let us know in the comments section below.

The post OneDrive’s Photo Story feature is now available in public preview appeared first on XDA.



from XDA https://ift.tt/GkmyJwu
via IFTTT

The OnePlus Nord 2T will go on sale in India starting July 5

After launching the OnePlus Nord 2T in Europe earlier this year in May, OnePlus has now launched the device in India. The latest addition to OnePlus’ affordable Nord lineup packs MediaTek’s Dimensity 1300 chip, a 50MP triple camera setup, a 4,500mAh battery, and 80W wired fast charging support. If you’re in the market for a new mid-range smartphone, here’s everything you need to know about the OnePlus Nord 2T.

OnePlus Nord 2T Review: Nailing the fundamentals, the same as it did before

OnePlus Nord 2T: Specifications

Specification OnePlus Nord 2T
Dimensions & Weight
  • 8.2mm
  • 190g
Display
  • 6.43-inch FHD+ AMOLED
  • 90Hz refresh rate
  • HDR10+ support
SoC MediaTek Dimensity 1300
RAM & Storage
  • 8GB/12GB LPDDR4X RAM
  • 128GB/256GB UFS 3.1 storage
Battery & Charging
  • 4,500mAh
  • 80W wired fast charging support
Security N/A
Rear Camera(s)
  • Primary: 50MP IMX766, OIS
  • Ultra-wide: 8MP, 120° FoV
  • Mono: 2MP
Front Camera(s) 32MP, EIS
Port(s) USB Type-C
Audio N/A
Connectivity
  • Wi-Fi
  • Bluetooth
Software OxygenOS 12.1 based on Android 12
Colors
  • Gray Shadow
  • Jade Fog

In case you missed our previous coverage, the OnePlus Nord 2T is a minor upgrade over the Nord 2 from last year. The device features an updated design with a rectangular camera island on the back, which houses three camera sensors. These include a 50MP Sony IMX766 primary camera with OIS, an 8MP ultra-wide camera, and a 2MP macro sensor. Over on the front, the device has a 6.43-inch FHD+ 90Hz AMOLED display with a left-aligned hole-punch cutout for the 32MP selfie shooter.

The Dimensity 1300 on the OnePlus Nord 2T is paired with up to 12GB LPDDR4X RAM, up to 256GB UFS 3.1 storage, and a 4,500mAh battery with 80W wired fast charging support. Other noteworthy features include HDR10+ certification and a USB Type-C port.

Green OnePlus Nord 2T on white background. Gray OnePlus Nord 2T on white background.

The OnePlus Nord 2T runs OxygenOS 12.1 based on Android 12 out of the box and OnePlus is promising two major Android upgrades and three years of security updates for the device.

Pricing & Availability

The OnePlus Nord 2T will be available in two color variants, Gray Shadow and Jade Fog, starting July 5. The device will be available through OnePlus’s website, Amazon.in, the OnePlus Store app, OnePlus Experience stores, and other major offline retailers in the region. The base 8GB+128GB variant of the device will set you back ₹28,999 (~$367), while the premium 12GB+256GB model will cost ₹33,999 (~$430). Those who purchase the device before July 11 using an ICICI bank credit or debit card will receive an instant bank discount of ₹1,500.

    OnePlus Nord 2T
    The OnePlus Nord 2T features MediaTek's Dimensity 1300 chipset and a 4,500mAh battery with 80W fast charging support.

Along with the OnePlus Nord 2T, OnePlus has also launched a new Blue Agate color variant of the OnePlus Nord Buds and the OnePlus Bullets Wireless Z2 in India.

Thinking of buying the OnePlus Nord 2T? Check out our review of the device (linked above) before making your purchase.

The post The OnePlus Nord 2T will go on sale in India starting July 5 appeared first on XDA.



from XDA https://ift.tt/J5Biytp
via IFTTT

OxygenOS 12 Open Beta 1 brings Android 12 to OnePlus 7 and 7T series

We’re quickly approaching Android 13‘s official launch, but some phones are still in line for last year’s software. OnePlus, for example, has focused on updating its more recent devices to Android 12, but it’s finally turned its attention to its 2019 flagships. After a brief closed beta testing period, the company has finally announced the release of the first Open Beta build of OxygenOS 12 for the OnePlus 7 and 7T lineup.

As you might expect, this is a beefy update for OnePlus 7/7 Pro and 7T/7T Pro owners. Not only does OxygenOS 12 sport an all-new look, but the first public beta brings along an enhanced Canvas AOD feature, three adjustable levels in the dark mode, an inbox frame rate stabilizer, and much more. Along with those OnePlus-specific tweaks, this software includes all of Android 12’s various enhancements under the hood.

You can check out the complete list of changes below:

  • System
    • Newly added Smart Battery Engine, a feature that prolongs your battery life based on smart algorithms and biomimetic self-restoration technology
    • Redesigns app icons using new materials to give more depth and a greater sense of space and texture to the icons
    • Revamps the page layout based on the principle of reducing visual noise and optimizes the presentation of text and color to make key information stand out
    • Optimized desktop icons with improved textures, by using a design inspired by brand-new materials and uniting lights and layers
    • Optimized spam block rules: Adds a rule for blocking MMS messages
  • Games
    • Newly added the HyperBoost end-to-end frame rate stabilizer
    • Newly added Voice effect preview to allow you to record your voice effect or check your voice effect in real time
  • Dark mode
    • Dark mode now supports three adjustable levels, bringing a more personalized and comfortable user experience
  • Shelf
    • New additional style options for Cards, making data contents more visual and easier to read
    • Newly added access to OnePlus Scout in Shelf, allowing you to search multiple contents on your phone, including Apps, Settings, Media Data, etc
  • Work Life Balance
    • Work Life Balance feature is now available to all users, allowing you to effortlessly switch between Work and Life mode via quick settings
    • WLB 2.0 now supports automatic Work/Life mode switching, based on specific locations, Wi-Fi network, and time, also bringing customized App notification profiles according to the personalization
  • Gallery
    • Gallery now allows you to switch between different layouts with a two-finger pinch gesture, intelligently recognizing the best-quality pictures, and cropping the thumbnail based on the content, making the gallery layout more pleasing
  • Canvas AOD
    • Canvas AOD brings you new diverse styles of lines and colors, for a more personalized lock screen experience with inspiring visuals
    • Newly added multiple brushes and strokes and support for color adjustment
    • Optimized software algorithm and improved face recognition to better identify the features and skin color of different figures
  • Accessibility
    • Optimized categorization of functions by grouping them into vision, hearing, interactive actions, and general
    • TalkBack supports more system apps including Photos, Phone, Mail, and Calendar

Additionally, the release ships with the June 2022 Android security patches. The underlying build number is H.20 for the OnePlus 7 series, while the OnePlus 7T family gets F.12 as their initial Open Beta. The OxygenOS base is 12.1 for both.

According to OnePlus, this is an early build, released in order to gather feedback before rolling out to the stable channel. As such, expect the beta software to be less stable than normal builds, and so you probably shouldn’t install it on your daily driver. Nonetheless, make sure you backup your stuff before you proceed.

XDA Forums: OnePlus 7 || OnePlus 7 Pro || OnePlus 7T || OnePlus 7T Pro


Download: OxygenOS 12 Open Beta 1 based on Android 12 for the OnePlus 7 and 7T series

For the OnePlus 7 and 7T family of devices, the first OxygenOS 12 Open Beta release is available only for the Indian variants. The installation package for each phone is nearly 4GB in size, so keep that in mind if you’re on a limited data plan. OnePlus also recommends you have at least 30% battery available on your device before attempting the flash.

Although your personal data shouldn’t be affected on upgrading to the Open Beta build, reverting to the stable channel will lead to a wipe, so always take a complete backup beforehand.

OnePlus 7

OnePlus 7 Pro

OnePlus 7T

OnePlus 7T Pro


Source: OnePlus Community Forums (12)

The post OxygenOS 12 Open Beta 1 brings Android 12 to OnePlus 7 and 7T series appeared first on XDA.



from XDA https://ift.tt/xHDJOYA
via IFTTT