LightBlog

jeudi 4 juin 2020

OnePlus Camera 4.0.267 on the OnePlus 8 series adds video filters and prepares to add a “Smart Scene Enhancement” toggle

OnePlus recently rolled out a major OxygenOS update for the OnePlus 8 (review) and OnePlus 8 Pro (review). As per the official changelog, the update added several new features to the OnePlus Camera app, including support for H.265 HEVC codec for videos, a new auto ultra-wide-angle lens feature, optimizations for the click animation, and improvements for camera stability. What the changelog didn’t mention, however, is that the update also included a new set of “video filters” for the video mode in the camera app.

An APK teardown can often predict features that may arrive in a future update of an application, but it is possible that any of the features we mention here may not make it in a future release. This is because these features are currently unimplemented in the live build and may be pulled at any time by the developers in a future build.

The OnePlus Camera app version 4.0.267 recently rolled out for the OnePlus 8 and OnePlus 8 Pro in India with the OxygenOS 10.5.8/10.5.10 update. The app brings a new set of video filters — Vivid, Night, Vintage, B&W, and Yummy — that you can use while recording videos on the device.

OnePlus Camera video filters OxygenOS OnePlus 8 Pro OxygenOS OnePlus Camera video filters OnePlus 8 Pro OnePlus Camera video filters OnePlus 8 Pro

The filters are supported on all video resolution except for the 4K 60Hz setting and can be accessed by tapping on the filter icon in the top right corner of the app.

<string name="settings_key_is_smart_scene_enhancement_enabled">IsSmartSceneEnhancementEnabled</string>
<string name="settings_smart_scene_enhancement_description">Auto enhance image based on scene detection</string>
<string name="settings_smart_scene_enhancement_title">Smart scene enhancement</string>
<string name="settings_smart_scene_enhancement_toast">Scene enhancement icon will pop up when triggered</string>

Additionally, a teardown of the OnePlus Camera app reveals that the company is preparing to add a new “Smart Scene Enhancement” toggle in the camera settings. While the Smart Scene Enhancement feature is already active in the current version of the camera app, it’s invisible to the user and cannot be disabled. The newly added strings of code suggest that a future update for the app will bring a new indicator in the viewfinder that will show users when the smart scene enhancement feature is active and a new toggle in the app settings that will let users disable the feature completely.


Thanks to PNF Software for providing us a license to use JEB Decompiler, a professional-grade reverse engineering tool for Android applications.

The post OnePlus Camera 4.0.267 on the OnePlus 8 series adds video filters and prepares to add a “Smart Scene Enhancement” toggle appeared first on xda-developers.



from xda-developers https://ift.tt/2XttUlb
via IFTTT

Realme X3 with Qualcomm Snapdragon 855+, 120Hz display gets listed on Google Play and India’s BIS

After weeks of leaks and teasers, Realme finally launched the Realme X3 SuperZoom in Europe late last month. Priced at €499, Snapdragon 855+ powered flagship killer features a 120Hz high refresh rate FHD+ display, up to 12GB of RAM, and up to 256GB of onboard storage. However, one of the most interesting aspects of the X3 SuperZoom is its 8MP telephoto camera that supports 5x optical zoom and up to 60x digital zoom. While the device is currently only available in China and Europe, recent teasers from Realme suggest that it will soon be launched in India as well. However, we now believe that the company will be launching two more devices as part of the X3 series in the Indian market — Realme X3 and Realme X3 Pro.

Along with the Realme X3 SuperZoom, the company will also be launching the Realme X3 in India as listings of the device have now appeared on the Google Play Console’s Device Catalog and the Bureau of Indian Standards (BIS). The BIS listing confirms that there are 3 devices in the X3 series with the model numbers RMX2018, RMX 2085, and RMX2086. Over on the Google Play Console’s Device Catalog, devices with the model number RMX2081L1 and RMX2085L1 were added alongside the RMX2086L1. All three devices are listed with the marketing name Realme X3, but we know from our review unit that RMX2086 is the X3 SuperZoom. This leads us to believe that RMX2081 may be the regular X3, while RMX2085 may be the X3 Pro.

The Realme X3 and X3 Pro will presumably lack the X3 SuperZoom’s periscopic telephoto camera. However, both devices will feature the same Qualcomm Snapdragon 855+ chip. The X3 and X3 Pro will have 8GB of RAM, unlike the X3 SuperZoom’s 12GB, and both the devices may feature the same 120Hz panel, since “oppo.display.screen.120hz.support” is listed as a support system feature for both devices on the Google Play Console. As of now, we have no further information about the specifications of these devices but we expect to learn more from Realme in the days leading up to the launch.


Source: BIS

Featured image: Realme X3 SuperZoom

The post Realme X3 with Qualcomm Snapdragon 855+, 120Hz display gets listed on Google Play and India’s BIS appeared first on xda-developers.



from xda-developers https://ift.tt/2A37Rsy
via IFTTT

[Update: Specifications] HTC’s upcoming Desire 20 Pro leaks with a hole-punch display and quad rear cameras

Update 1 (06/04/2020 @ 03:40 AM ET): Specifications of the upcoming HTC Desire 20 Pro have surfaced on Google Play Console’s Device Catalog. Scroll to the bottom for more information. The article has published on April 30, 2020, is preserved as below.

Oh, HTC. The company that was once at the forefront of Android innovation, as well as the company that kickstarted Android phones in general (by launching the very first commercial Android phone 12 years ago), is now, for the most part, forgotten. After enduring a tough time, the company has exited the smartphone marketplace for the most part: we haven’t seen an HTC flagship since the HTC U12+, and right now, the company has focused on launching the occasional mid-range phone (often licensing their name to another company) or launching devices for a very niche market (remember that cryptocurrency phone?). Surprisingly, HTC now has another release in the pipeline: the upcoming HTC Desire 20 Pro.

Our first close look of the device comes from Evan Blass’ Patreon page, where he shared a rough render of the device. Meanwhile, XDA Recognized Contributor LlabTooFeR also shared the purported name of this phone as well as a rough depiction of it, which matches what Blass shared.

The HTC Desire lineup has always been about midrange phones and lower-end ones, and judging by the looks of it, the HTC Desire 20 Pro will be no different. It does integrate some newer smartphone design features: the phone will sport a hole-punch display, with the front-facing camera cornered to the left side of the display. The back also features a corner-aligned camera setup with what looks like a quad rear camera setup. We do have a rear-mounted fingerprint sensor, though, which has also lately become a characterizing feature in lower-end devices: most higher-end ones now go with in-display ones.

We have no clue on what this device will pack spec-wise, but since it’s a Desire smartphone and the phone looks fairly mid-range, we’re not really expecting anything amazing or mind-blowing here. There is an alleged GeekBench listing for the device, and it shows not-so-impressive performance, but it does indicate that it runs on an octa-core Snapdragon processor clocked at 1.8 GHz. It is possible that HTC might surprise us, though, but it’s highly unlikely. We also don’t know when HTC is planning to release this device or if it’s going to release it at all.


Update: Specifications of the HTC Desire 20 Pro

The HTC Desire 20 Pro has just been added to Google Play Console’s Device Catalog. With the codename “htc_bymdugl” and model name “HTC 2Q9J10000”, the HTC Desire 20 Pro will come with the Qualcomm Snapdragon 665 SoC, 6GB of RAM, and a display with a 2340×1080 resolution. The phone will run Android 10, unsurprisingly.

While the listing states specifications which we believe to be correct, it still includes an old render of the HTC u11+, so we do not have any new graphics to share at this stage.

The post [Update: Specifications] HTC’s upcoming Desire 20 Pro leaks with a hole-punch display and quad rear cameras appeared first on xda-developers.



from xda-developers https://ift.tt/3bQQCZd
via IFTTT

[Update: New Explanation, Google Response] This wallpaper triggers a rare bug causing Android devices to bootloop

Update 1 (06/04/2020 @ 03:12 AM ET): Explanations have emerged on the cursed wallpaper bug, alongside a response from Google. Scroll to the bottom for more information. The article as published on June 1, 2020, is preserved below.

Imagine you’re scouring the internet for cool wallpapers and you come across a picturesque landscape. It has everything; a lush green forest, a pristine lake with a tiny island, snow-capped mountains in the background, and a thick cloud cover with sunlight seeping in through the gaps. You immediately download the image, set it as your phone’s wallpaper, and boom! Your Android phone gets stuck in a bootloop. Sounds unlikely, doesn’t it? Well, it’s true for this particular wallpaper.

The wallpaper was recently shared on Twitter by renowned Samsung leakster Ice Universe, who claimed that the wallpaper “will cause your phone to crash!” Despite their warning, several users downloaded the wallpaper to check if it actually did do anything on their phone and they were met with the following results:

According to Davide Bianco, lead developer of the AOSP-based custom ROM “POSP”, this particular wallpaper causes some Android devices to crash as it makes use of the RGB color space, instead of the sRGB color space that is supported natively on Android. Bianco has submitted a patch to AOSP that reportedly fixes the issue and the description of the patch states that “The issue occurs when the user tries to set as wallpaper an image that is not sRGB. What happens is that variable y value is higher than the histogram bounds, making SysUI crash. One possible fix is to limit y value to be always less than 256.” Along with Bianco, two developers, XDA Senior Member BadDaemon and XDA Recognized Developer luca020400, from the popular LineageOS custom ROM team have also come up with a unique solution to the problem. You can check out the patch descriptions over on the LineageOS Gerrit by following this link and this link.

We strongly recommend against using this image as your wallpaper under any circumstances. In case you have already used it and your device is stuck in a bootloop, please check the instructions below on how you may be able to recover your device.

A report from 9to5Google on the matter further reveals that the issue is limited to devices running Android 10 or older and it doesn’t affect devices running the Android 11 Developer Preview. This is due to the fact that on Android 11, the system converts the color space if it’s not supported, but on Android 10 it does not. Which means that this isn’t an issue with this particular image and could be caused by other images using the RGB color space.

Do note that while the issue doesn’t affect all Android devices, we strongly recommend against trying the wallpaper on your phone. In case you try it anyway, you might be able to recover your device by either resetting it completely or by entering safe mode and changing the wallpaper. But since some users over on Twitter weren’t able to recover their devices using the aforementioned methods, it would be best if you don’t use the exact image as your wallpaper. If you really like the wallpaper, just take a screenshot of the image and use that as your wallpaper instead.


Update: Explanation and Response from Google

Expanding on the causes of the bug as explained by XDA Senior Member BadDaemon and XDA Recognized Developer luca020400, the “cursed” wallpaper is encoded in a special color space which is called “Google/Skia/E3CADAB7BD3DE5E3436874D2A9DEE126” — this is the full name of the color space, and Skia refers to the 2D graphics library made by Google. In contrast, most other wallpaper images are encoded in a color space called “sRGB”.

In Android versions 10 and older, all images are converted to sRGB unless otherwise specified by the developers. There’s a rare bug that can occur when converting the image to sRGB, wherein the code that calculates the “luminance” value of each pixel manages to exceed the maximum limit of 255.

Luminance is calculated using the following formula:

Luminance = .2126f * r + .7152f * g + .0722f * b

Here “r”, “g”, and “b” are red, green, and blue color values represented in an 8-bit value from 0 to 255.

The problem with this calculation is that it always rounds the final value up. The “cursed” wallpaper has the following RGB values: 255, 255, 243, which when plugged into the above equation looks like:

Luminance = .2126 * (255) + .7152 * (255) + .0722 * (243)
Luminance = 256

This value causes SystemUI, and basically the whole OS, to crash because it exceeds the maximum value. It’s a bug that’s so incredibly specific because it involves a combination of a rounding error and color space conversion error.

This bug does not affect Android 11 because the image’s “Skia” color space is not converted to sRGB by default. Thus, this color space conversion error and the rounding error does not occur on Android 11.

However, Romain Guy from the Android Toolkit team at Google believes that the root cause of this issue is only in the way that luminance is calculated and not in any color space conversion issues. Google is conducting its own testing, so we will likely see what they come up with soon.

The post [Update: New Explanation, Google Response] This wallpaper triggers a rare bug causing Android devices to bootloop appeared first on xda-developers.



from xda-developers https://ift.tt/2TY96QH
via IFTTT

mercredi 3 juin 2020

Facebook Messenger’s chat heads switch to Android 11’s bubble notifications API

Google introduced the new Bubbles API with Android 10 Beta 2 back in April last year. The API was initially offered as an opt-in feature for developers, with Google urging them to test the API in their apps so that the supported apps were ready when the feature finally rolled out in a future Android release. As expected, the feature was enabled by default in the Android 11 Developer Preview 1 that was released earlier this year. In the leaked Android 11 Beta, the Bubbles feature is now available in Notification settings (and not in Developer Options), however, developers still have to enable support for showing notifications in a Bubble. Up until now, we’ve only seen the feature in action in an APK teardown of the Google Messages app. But the latest update for Facebook Messenger also switches the app over the Bubbles API.

For the unaware, Facebook Messenger has long had a feature for floating notification bubbles called “Chat Heads”. The feature made use of Android’s System Alert Window API, but in Facebook Messenger version 268.0.0.3.118 the app is switching over to the new Bubbles API if the device is running Android 11. This feature works on our tipster’s Pixel 4XL running Android 11 Beta 1 and our Editor-in-Chief Mishaal Rahman‘s Pixel 3a XL, running Android 11 DP4.

Facebook Messenger Android 11 Bubbles Facebook Messenger Android 11 Bubbles Facebook Messenger Android 11 Bubbles

As you can see in the attached screenshots, the feature shows up as a new option called Bubbles in the Facebook Messenger settings. Once enabled, it gives you the option to choose if you wish to see Bubbles for all conversations, selected conversations, or no conversations from within the Messenger notification settings. While the feature is making use of the newer API, it still looks pretty much the same as the older Messenger Chat Heads. Whenever you receive a new message, it shows up as a chat bubble clinging to a side on your device’s home screen. Tapping on the bubble opens up the conversation in a floating window where you can quickly reply to messages.

You can move the bubble from one side to the other by tapping and holding the bubble and then dragging it to the other side. You also get the option to have multiple conversations in a single bubble by tapping on the plus icon at the top and adding a new contact. To dismiss a bubble, you can tap and hold on it and then drag it to the X icon that appears close to the bottom of the display.


Thanks to Hani Mohamed Bioud for the tip and screenshots!

The post Facebook Messenger’s chat heads switch to Android 11’s bubble notifications API appeared first on xda-developers.



from xda-developers https://ift.tt/3dvWBUl
via IFTTT

AutoResponder for Telegram is a bot that lets you automate replies

After the great success of AutoResponder for WhatsApp and Instagram, XDA Senior Member TK Studio is back again with a similar app for Telegram called, unsurprisingly, AutoResponder for Telegram.

AutoResponder for Telegram is a powerful bot that lets you automatically reply to your friends and contacts when you’re away from your device. When someone sends you a message on Telegram, and you’re not around to respond, the bot will send a predefined reply on your behalf. You can create different rules and replies for different scenarios and even specify which contacts or groups should receive the automated reply. Furthermore, you can choose to react to only specific messages, meaning auto-reply will only trigger when the recipient’s message matches the template response that you have set. There are tons of parameters and granular controls to fine-tune the bot precisely as you want. The app also offers a Tasker plugin to let you automatically pause/unpause the bot, update/enable/disable and add/remove specific rules.

Here is a rundown of what you can do with AutoResponder for Telegram:

  • Auto Reply to Telegram
  • Send automatic replies to your friends
  • Individually customizable
  • Send replies to all messages
  • React to specific messages
  • Live answer replacements
  • Reply with the current location
  • Works with groups
  • Set contacts
  • Set delay
  • Specific times and days
  • Perfect for business
  • Dialogflow.com integration (formerly api.ai)
  • Working as a Tasker plugin

AutoResponder for Telegram — XDA Thread

The app is free to download on Google Play Store with an in-app purchase option. The Pro version unlocks the additional features such as the ability to send multiple automated replies, delaying replies, connecting the bot to your web server, and more.

AutoResponder for Telegram - Auto Reply Bot (Free+, Google Play) →

The post AutoResponder for Telegram is a bot that lets you automate replies appeared first on xda-developers.



from xda-developers https://ift.tt/2U8ItbX
via IFTTT

Honor Play 4 and Honor Play 4 Pro with IR temperature sensor launched in China

The Honor Play series is a smartphone series from Huawei’s sub-brand. The focus of this series has been to provide a value offering to consumers within markets such as China, addressing their local needs and expectations. Honor recently teased that the upcoming launches in this series will feature a special infrared temperature sensor. The Honor Play 4 and Honor Play 4 Pro have finally launched in China, alongside a special version of the Play 4 Pro that does indeed come with an IR temperature sensor.

Honor Play 4 and Play 4 Pro: Specifications

Specifications Honor Play 4 5G Honor Play 4 Pro 5G
Dimensions & Weight
  • 170mm x 78.5mm x 8.9mm
  • 213g
  • 162.7mm x 75.8mm x 8.9mm
  • 213g
Display
  • 6.81″ FHD+ IPS TFT LCD
  • 2400 x 1080
  • 20:9 aspect ratio
  • Single hole-punch display
  • 6.57″ FHD+ IPS TFT LCD
  • 2400 x 1080
  • 20:9 aspect ratio
  • Dual hole-punch display
SoC MediaTek Dimensity 800:
  • 4x Cortex-A76 @ 2GHz +
  • 4x Cortex-A55 @ 2GHz
  • 7nm

Mali-G57 MC4 GPU

HiSilicon Kirin 990:
  • 2x Cortex-A76 @ 2.86GHz +
  • 2x Cortex-A76 @ 2.09GHz +
  • 4x Cortex-A55 @ 1.86GHz

Mali-G76 GPU

RAM and Storage
  • 6GB LPDDR4X + 128GB
  • 8GB + 128GB
  • Expandable up to 512GB
  • 8GB LPDDR4x + 128GB UFS 3.0
Battery and Charging
  • 4300 mAh battery
  • 22.5W fast charging
  • 4200 mAh battery
  • 40W fast charging
Rear Camera
  • Primary: 64MP, f/1.89
  • Secondary: 8MP wide-angle, f/2.2
  • Tertiary: 2MP depth sensor, f/2.4
  • Quarternary: 2MP macro, f/2.4
  • Primary: 40MP, f/1.8
  • Secondary: 8MP, f/2.4, OIS, 3x optical zoom
Front Camera
  • 16MP, f/2.0
  • 32MP, f/2.0, fixed focus
  • 8MP, f/2.2, fixed focus
Other Features
  • Wi-Fi 802.11a/b/g/n/ac
  • Bluetooth 5.1
  • 5G SA/NSA
  • IP5X
  • 3.5mm headphone jack
  • Side-mounted fingerprint sensor
  • Wi-Fi 802.11a/b/g/n/ac
  • Bluetooth 5.1
  • 5G SA/NSA
  • Dual Frequency GPS
  • Side-mounted fingerprint sensor
Android Version MagicUI 3.1 based on Android 10 MagicUI 3.1 based on Android 10

Honor is marketing the phones as different variants within the same lineup and generation, but both the phones are very different from each other.

Honor Play 4 - Phantom Blue Honor Play 4 - Iceland Illusion

The Honor Play 4 5G is clearly the more humble device, with the MediaTek Dimensity 800 SoC. A few specifications of the device are not very clear — like whether it actually has a 6.81″ display as the official spec sheet suggest, or which exact sensor is used for the 64MP camera — but it is clear that there is a focus on smartphone photography here while still providing high value. Curiously, Honor has added a 3.5mm headphone jack to the device and has brought back storage expandability (though it is unclear if this is via microSD card or a proprietary card)

Honor Play 4 Pro - Mecha Blue

The Honor Play 4 Pro 5G has a few more tricks up its sleeve. First, it is powered by the HiSilicon Kirin 990, the current flagship SoC. This makes the device a flagship offering in terms of performance at least. Interestingly, Honor is also using only a dual-camera setup on the device — comprising of a 40MP main sensor (details unspecified, but it can be the RYYB sensor as seen on past devices like the Honor 30 and the Honor X10) and an 8MP telephoto sensor. We certainly prefer companies sticking to fewer-but-good cameras instead of bundling borderline-useless camera sensors on devices purely for the marketing points of “quad-camera” and “penta-camera”.

The Play 4 Pro 5G comes in two variants: one is the regular variant, and the other comes with an IR temperature sensor. The infrared sensor can measure the temperature of objects, animals, and people, but the latter is obviously the most noteworthy in current times. Taking someone’s temperature is one of the ways that COVID-19 can be detected (though it’s not always a symptom).

Honor claims that the sensor has a measurement range of -20°C to 100°C, though we’ll reserve our judgment on its practical usability till the time we get an opportunity to use the device ourselves.

Pricing and Availability

The Honor Play 4 will be available for purchase in China for CNY 1799 (~$253/₹19,000) for the 6GB + 128GB variant, and CNY 1999 (~$281/₹21,250) for the 8GB + 128GB unit. The Honor Play 4 Pro will be available for purchase in China for CNY 2899 (~$408/₹30,750), while the variant with the IR temperature sensor will cost you CNY 2999 (~$422/₹32,000). International availability for either of these phones is unknown at this stage, though if they do arrive, they are likely to come with HMS on-board.

The post Honor Play 4 and Honor Play 4 Pro with IR temperature sensor launched in China appeared first on xda-developers.



from xda-developers https://ift.tt/36WZPxu
via IFTTT