Wednesday, May 23, 2018

Xiaomi Redmi Note 5 Pro kernel source code for the Android 8.1 Oreo release is now available

Xiaomi has a very unique relationship with the developer community at large, especially here at XDA. While often their devices are cheap and unlockable, they have failed to abide by the GPLv2 on multiple occasions in the past. As a result, it doesn't matter if the devices are unlockable since the developers can't do anything with them. Kernel sources are needed to develop custom ROMs and kernels for an Android phone. Thankfully Xiaomi pledged to release kernel sources within 3 months after launch. It's still not abiding by the GPL, but it's certainly a huge step forward. The Xiaomi Redmi Note 5 Pro on Android 8.1 Oreo is the next of the company's devices to have kernel sources released on GitHub.

Interestingly, Xiaomi already released kernel source code for the Xiaomi Redmi Note 5 Pro – but for Android Nougat. Releasing them a month later for Android Oreo signifies that, at least for now, the company is committed to change. While there is definitely no shortage of ROMs for the device on our forums, developers will no longer have to rely on shims to make sure everything works.

Android 8.1 Oreo for the Xiaomi Redmi Note 5 launched in March and with it came Project Treble support. This makes it one of the very few devices that have been updated after launch to support it, despite no requirement to do so. Xiaomi supporting its devices is great to see and seeing them stick to their 3-month window is even better. Releasing kernel sources in this instance isn't even necessary for development to take place as you can easily flash a Generic System Image (GSI) on any Project Treble enabled device and use LineageOS, Resurrection Remix or even AOSP if you wish. Still, being able to develop for a specific device is, at the moment anyway, far superior to using a GSI simply for compatibility reasons.

Source: GitHub

from xda-developers

Xiaomi Mi 8 and MIUI 10 will be announced on May 31st

Xiaomi CEO Lei Jun took to Weibo the other day to confirm that the company's forthcoming Shenzhen event on May 31st would be used to announce multiple product launches. A device we may see is the Xiaomi Mi 7, but that's unconfirmed. What we will for sure be seeing is the Xiaomi Mi 8 alongside MIUI 10. MIUI is the company's custom Android skin and is packed full of features. MIUI 10 is the latest iteration, and as such is expected to have new features and improvements over its predecessor.

Xiaomi Mi 8 MIUI 10

The text at the bottom roughly translates to say that MIUI 10 is "faster than lightning".

We don't officially know anything about MIUI 10, but some have speculated that the latest beta updates to MIUI 9 will actually be MIUI 10. They show a drastically different UI and full-screen navigation gestures. Right now, these changes are only present on the Xiaomi Mi Mix 2.

While Xiaomi has a history of providing updates for their older phones, MIUI 10 will only run on devices higher than Android 5.0 Lollipop. This bids a final farewell to older devices that the company still updated. Owners of those older devices won't like it, but it may be that unnecessary money and time was being put into keeping those devices up to date. With Xiaomi also opening a dedicated smartphone camera development department, it may be that they are taking software seriously in order to compete with the best. As a result, it doesn't make sense to focus on time on older devices.

Xiaomi Mi 8 MIUI 10

Xiaomi Mi 8 Promotional Poster

What's interesting is that the Xiaomi Mi 8 appears to be what the Mi 7 would have been. The company mentions that they are launching the Mi 8 for their 8 year anniversary, so it could be that they skipped a number in order to keep it in line with the age of the company. If that is the case, then we know quite a lot about the device already. If it is indeed the Mi 7, it will have a notched AMOLED display, a Snapdragon 845 (as confirmed), and a possible 3,500mAh battery. It will also possibly be the first Xiaomi device to launch with Always on Display, which very few phones have.

from xda-developers

Honor 9 April security update rolling out, brings Face Unlock feature

More and more budget devices are being pumped out by OEMs these days. Honor is one of these OEMs, a company which tends to support older or weaker devices (though sometimes with reluctance). An update is rolling out to the Honor 9 now that updates the phone to EMUI The update includes the April security patch and face unlocking has also been added at the same time. Honor is currently rolling out the update in a staged rollout globally, meaning that users will not all get the update at the same time. This is done in case there are any problems so Honor can pull the plug before it affects all devices.

The April security patch is a particularly important as one of the worst vulnerabilities would allow an attacker to create a file that exploits the media framework. This file would allow for code execution, where an attacker could theoretically wreak havoc on your phone. This is because of the privileged status of the media framework, as anything running through it would usually inherit its permissions, too. The fixes for the other exploits are important too, but that's certainly the most important of them all. Security patches are important for protecting your device and they are paramount to security.

While unconfirmed to work on the Honor 9, XDA Senior Member ante0 created a port of the Honor face unlock feature that could theoretically be installed on other EMUI 8 devices. The reason it's desired is simple: Honor's implementation is much faster and safer than Android's built-in version. If it works similarly on the Honor 9 as on other devices, then users certainly won't be disappointed. If you're looking forward to trying it early, you can try to use a VPN and connect to any of the countries where users have successfully received the update, which are mentioned in the thread linked below.

XDA Thread: Honor 9 B364 Rolling Out Now

from xda-developers

MediaTek Unveils the Helio P22: a Mid-Range SoC with Support for AI Frameworks

While the smartphone market is getting flooded with Qualcomm SoCs, MediaTek continues its dominion over low and mid-range SoCs, particularly in Asian countries. To keep up with the competition, MediaTek has unveiled the new Helio P22, bringing advanced 12nm process, AI applications, dual-camera support and better connectivity for mid-tier devices and below.

MediaTek Helio P22 Key Specifications


CPU Type ARM Cortex-A53 Cores Octa (8)
Max Frequency 2.0 GHz CPU Bit 64-bit

Memory and Storage

Memory Type LPDDR3; LPDDR4x Memory Frequency 933MHz; 1600MHz
Max Memory Size 4GB; 6GB Storage Type eMMC 5.1


Cellular Technologies Carrier Aggregation, CDMA2000 1x/EVDO Rev. A (SRLTE), FDD / TDD LTE, HSPA+ Specific Functions TAS 2.0, HUPE, IMS (VoLTE\ViLTE\WoWi-Fi), eMBMS, Dual 4G VoLTE (DSDS), Band 71
LTE Category Cat-4, Cat-7 DL / Cat-13 UL GNSS Beidou, Galileo, Glonass, GPS
WiFi a/b/g/n/ac Bluetooth 5.0


GPU Type IMG PowerVR GE8320 Max GPU Frequency 650MHz
Max Display Resolution 1600 x 720 Video Encoding H.264, 1080p @30fps


Camera ISP 21MP, 13+8MP Capture FPS 21MP @ 30fps; 13MP+8MP @ 30fps
Camera Features AI Face ID (Face Unlock), AI Smart Photo Album, Single Cam/Dual-Cam Bokeh, EIS, RSC Engine, MEMA 3DNR, Multi-Frame Noise Reduction

The MediaTek Helio P22 is built with TSMC 12nm FinFET technology, allowing for an optimal mix of power saving and performance for the mid-range. The SoC features a 64bit Octa-core setup of ARM Cortex-A53's with a maximum CPU frequency of 2GHz. For graphics, the IMG PowerVR GE8320 with a maximum frequency of 650MHz allows support for displays up to 1600 x 720 resolution (20:9 HD+), as well as video encoding of up to 1080p @ 30fps. The Helio P22 supports LPDDR3 and LPDDR4x for memory with RAM up to 4GB and 6GB respectively. Although you do get restricted to eMMC 5.1 support for storage.

The Helio P22 also brings Edge AI enhancements powered by MediaTek NeuroPilot technology. This allows the Helio P22 to support common AI frameworks such as TensorFlow, TF Lite, Caffe, and Caffe2, as well as allows it to auto-select the best available AI resource for developer efficiency. AI accelerated camera features on the SoC include Face ID, smart photo albums, dual-camera depth of field, and more.

For the camera, the SoC supports either a single 21MP ISP or a dual camera setup of 13+8MP. Either setup can capture at 30fps. There is support for single camera and dual camera bokeh, EIS, multi-frame noise reduction and more.

One of the highlights of the SoC is the support for LTE on both SIM cards on phones with dual SIM support. You also get 802.11ac WiFi, Bluetooth 5.0 as well as GNSS support for Beidou, Galileo, Glonass, and GPS.

Combined, the Helio P22 packs in key technologies that have been available on higher end SoCs and brings them to the mid and low ends. While not every feature will be available on every smartphone that comes with the Helio P22, support for all of these features allows OEMs much more flexibility and the consumers much more choice in the final product.

The Helio P22 is in volume production now and is expected to be available in consumer devices by the end of Q2 2018. You can expect to see Helio P22-powered devices in markets like India and China and others in the Southeast Asian region.

Source: PR Newswire

from xda-developers

After months of inconsistency, Trusted Places is disappearing from Smart Lock

Smart Lock is Google's system for providing you with ways to disable and enable your lock screen dynamically under certain conditions. It was added in Android 5.0 Lollipop. You can have it detect when your phone is on your person or when it's connected to a certain Bluetooth device and automatically disable the lock screen. You could also use biometrics such as facial recognition or voice recognition, but the former has been far outclassed by device OEMs like OnePlus and Honor. One of the most popular Smart Lock methods is Trusted Places, which disables the lock screen when you're at locations that you've deemed safe. It was a cool idea, but it has been unreliable for a few months.

Users in the past few months have been complaining about the unreliability. We found many threads in our forums about the issue. Lately, users have noticed Trusted Places being completely removed from Smart Lock. We can confirm that the feature has disappeared on a couple of our own devices, including a stock Android Oreo Google Pixel 2XL and the Sony Xperia XZ2. Users often complained about its inconsistency or the fact it just wouldn't work at all. Google may have decided it's easier to simply remove the feature rather than try to improve it and fix it.

trusted places

Screenshot showing that Trusted Places has disappeared entirely on our Google Pixel 2 XL running on Android Oreo.

If a replacement will come in the future nobody knows, as Google could eventually try replacing it with something else. It was a useful feature to some, especially when it worked. When the feature disappears on your device, you'll have to resort to using one of the other smart unlock options instead of Trusted Places, if you still want to make use of it. A common suggestion is setting up a Fitbit, smartwatch, or another Bluetooth device as your trusted device.

Have you noticed the disappearance on your device?

from xda-developers

Google codename “Kidd” is a high-performance Kaby Lake G Chromebook

Kaby Lake G is the codename for Intel's new series of high-performance processors with integrated AMD Radeon graphics. They made their debut at CES earlier this year. A new board is in development on the Chromium Git with Intel and AMD's taboo love affair.

The board, codename "Kidd," is a Chromebook (rather than a tablet or Chromebox). Aside from its form-factor and chip, there's not much else to glean from the initial commit.

Since Intel announced Kaby Lake G in late 2017, only a handful of devices with the chips on board have been released. In the few benchmarking results available, the chips especially deliver in the graphics department. Notebookcheck reported that the Radeon-powered XPS 15 ran cooler, quieter, and was thinner than its NVIDIA-powered counterpart while being nearly as fast.

Historically, the case for high specs on a Chromebook didn't exist for the majority of consumers. Now, with Linux apps released for Chrome OS, people can install full desktop Steam onto their devices (Pixelbooks only for now). GPU acceleration has not been ironed out by the Chrome developers yet, so the experience of playing games is pretty poor. The good news is that GPU acceleration is on the roadmap.

When GPU acceleration comes to Linux apps, gaming natively on Chrome OS will finally be a reality – and with that comes a higher appetite for quality graphics. It's no wonder that Google is planning for the future with Raven Ridge and Kaby Lake G Chromebooks, especially as AMD developers are contributing directly to the Chromium tree.

When we see a new board added to the Chromium Git, it's usually a case of months – even a year plus – before the device comes to market, but in the meantime, we will follow Kidd's development very closely.

from xda-developers

HTC U12+ is official: Snapdragon 845, Edge Sense 2.0, and quad cameras

After months of leaks and rumors, HTC has officially launched its new flagship smartphone: the HTC U12+. The phone is the successor of the U11+, which was a mid-cycle refresh of the U11. Most of the specifications of the device were already known thanks to a detailed specifications leak last week.

In some ways, the HTC U12+ is a standard 2018 flagship smartphone, as it features the Qualcomm Snapdragon 845 system-on-chip, a 6-inch display, and dual rear cameras. However, it does have many differentiating factors, including the lack of a display notch, the inclusion of dual front cameras, better audio, and Edge Sense 2.0.

Let's take a look at the specifications of the U12+:

HTC U12+ – Specifications at a glance

HTC U12+

HTC U12+ Specifications
Dimensions and weight 156.6 x 73.9 x 8.7-9.7 mm, 188g
Software HTC Sense on top of Android 8.0 Oreo
CPU Octa-core Qualcomm Snapdragon 845 (4x 2.8GHz Kryo 385 Gold + 4x 1.8GHz Kryo 385 Silver cores)
GPU Adreno 630
RAM and storage 6GB of RAM with 64GB of storage / 6GB of RAM with 128GB of storage; hybrid microSD card slot
Battery 3500mAh
Display 6-inch Quad HD+ (2880×1440) Super LCD6 with an 18:9 aspect ratio
Wi-Fi 802.11ac
Bluetooth Bluetooth 5.0
Ports USB Type-C port (USB 3.1), dual nano SIM (nano SIM/microSD)
Bands GSM: 850/900/1800/1900MHz
WCDMA: 850/900/1700/1900/2100MHz
FDD-LTE: Bands 1/2/3/4/5/7/8/12/13/17/20/28/32/66
TDD-LTE: Bands 38/39/40/41
Rear camera 12MP "UltraPixel 4" camera with 1.4μm pixels, f/1.75 aperture, Dual Pixel autofocus, 2x optical zoom, OIS, EIS
16MP telephoto camera with 1.0μm pixels, f/2.6 aperture
Front-facing camera Dual 8MP front-facing cameras with 1.12μm pixels, f/2.0 aperture, 84-degree wide-angle

The HTC U12+'s design is an iteration of the U11+, which was the first HTC flagship to feature an 18:9 display. The U12+ is more compact and thinner than the U11+. The design does have some major differences. The cameras are placed horizontally in the center of the back, with the dual LED flash being placed below the camera module. The fingerprint sensor is found below the LED flash, giving the phone a look similar to the LG V30.

HTC uses a cold polished 3D glass technique for the U12+, which is said to help reduce bezel thickness. The most distinct feature on the front is the lack of a display notch. Unlike many device makers, HTC has chosen not to use a display notch to increase display size. The stated reason for this is because the company's BoomSound speakers take up room on the front of the device, which means that a notched display was impossible to achieve.

Interestingly, the U12+ has pressure sensitive volume and power buttons instead of using physical buttons. The buttons have non-configurable haptic feedback. As the buttons are no longer physical buttons, they cannot be depressed.


The HTC U12+ has a 6-inch Quad HD+ (2880×1440) Super LCD6 screen with 537 PPI and an 18:9 aspect ratio. For the most part, the display's specifications are similar to the U11+, although the brightness rating is currently unknown. The panel supports the sRGB and DCI-P3 color gamuts, and is protected by Gorilla Glass 3. It also supports HDR10 content.


The phone is powered by the Qualcomm Snapdragon 845 system-on-chip. The SoC has four Kryo 385 Gold clocked at 2.8GHz (semi-custom cores based on Cortex-A75) and four Kryo 385 Silver cores clocked at 1.8GHz, paired with the Adreno 630 GPU.

It comes in two variants: 6GB of RAM with 64GB of storage, and 6GB of RAM with 128GB of storage, along with a hybrid microSD card slot for expandable storage.


HTC aims to make audio a differentiating factor. The U12+ has stereo BoomSound speakers which are said to be 50% louder than the company's last flagship phone. The speakers act as a woofer and a tweeter, and have their own dedicated amplifier. The phone comes with aptX HD and has Hi-Res audio recording and certification.

The U12+ does not have a 3.5mm headphone jack. HTC instead bundles USonic USB Type-C earphones that have active noise cancellation.


HTC was one of the companies to include dual cameras in phones, starting with the One M8 in 2014. However, the company dropped the secondary camera because of its poor execution. Last year, it stated that its next phone would definitely have a dual camera setup, and the U12+ delivers.

The primary camera of the U12+ has a 12MP "UltraPixel 4" sensor with 1.4μm pixels, f/1.75 aperture, and optical image stabilization (OIS). It's augmented by a 16MP telephoto camera that has 1.0μm pixels and an f/2.6 aperture. The dual camera setup enables 2x optical zoom and up to 10x digital zoom. The cameras have HTC's HDR Boost 2 for better HDR photography. Bokeh mode (HTC's implementation of portrait mode) is also included.

The U12+ can record video at 4K resolution up to 60FPS, thanks to the Snapdragon 845's capabilities. Slow motion is supported at 1080p up to 240FPS, and 8MP photos can be taken during video recording. Video recording also uses HTC's Sonic Zoom feature, which uses four inbuilt microphones to zoom in an audio source during video recording for better audio capture.

The U12+ has quad cameras in total. In addition to having dual rear cameras, the phone also has dual front cameras. It has two 8MP sensors with f/2.0 aperture and 1.12μm pixels. Why go for dual front-facing cameras? HTC's reason to go for such a setup was to provide an 84-degree wide-angle view, and to implement a real-time bokeh effect.

Edge Sense 2.0

The HTC U11 was the first HTC phone to feature a squeezable frame, called Edge Sense. The functionality was improved with the launch of the U11+. Google has also included a less capable implementation of the feature (Active Edge) with the Google Pixel 2.

The U12+ features Edge Sense 2.0. It has a new Edge launcher, new gestures, and is integrated with Google Assistant. The feature now knows which hand the user is using for better one-handed use.


The U12+ is powered by a 3500mAh battery. It supports Qualcomm Quick Charge 4, but HTC will bundle a Quick Charge 3 adapter in the box. The phone has IP68 certification for dust and water resistance.

It has the usual connectivity options including a hybrid dual nano SIM/microSD card slot, Wi-Fi 802.11ac, and Bluetooth 5.0.

The phone is powered by HTC Sense on top of Android 8.0 Oreo.

HTC U12+ – Pricing and availability

The HTC U12+ will be available in Translucent Blue, Ceramic Black, and Flame Red colors. The Translucent Blue color is similar to the U11+'s Translucent Black color option, and it has a translucent glass back.

The phone will be available starting June. In Europe, it will be priced at €799 for the 6GB RAM/64GB storage variant, and for £699 in the UK. In the US, the 64GB storage variant will be available for $799, while the 128GB storage variant will cost $849.

Let us know your opinions about the U12+ in the comments below.

from xda-developers