Wednesday, April 4, 2018

OnePlus 6 will have the option to “hide” the display notch

Without a doubt, the most controversial smartphone trend of 2018 has been the display notch. Essential and Apple kicked this off last year and we've already seen it on plenty of devices this year. Xiaomi, Huawei, and ASUS have already shown off notched devices. The LG G7 and OnePlus 6 will soon join the notch squad. Every manufacturer has a different reason for adopting the notch, and we're seeing different approaches to how the software handles it.

Last week, OnePlus co-founder Carl Pei attempted to get ahead of the potential backlash by explaining their reasoning for the notch. He argued the display notch essentially moves the notification bar higher up, which allows more content to be displayed. A lot of users aren't convinced by this reasoning. They say the notch gets in the way when watching videos or using the phone in landscape mode. As a compromise, Pei says the OnePlus 6 will include a feature we first saw in the Huawei P20. Users can "hide" the notch with software.

Huawei P20 Hide Notch Huawei P20 Notch

Hide notch feature on Huawei P20

"Hiding" the notch simply puts a black bar on the sides. This makes the phone look like it has a more traditional bezel at the top. The notification bar is directly below the notch. You lose a small amount of screen real estate, but it's not really a big deal if you're coming from a phone with traditional bezels. When the OnePlus 6 becomes available, we recommend giving the notch a fair shake before hiding it. Carl Pei says they are taking great care to make sure the notch doesn't interfere with things like video. Will you opt to hide the notch?


Source: OnePlus Forums



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

[Update: Galaxy S8/S8+ rolling out now] Unlocked Samsung Galaxy S8 and Galaxy Note 8 will receive official Android Oreo in 2-3 weeks

Update 4/4/18: The Android Oreo update is now rolling out to the U.S. unlocked Snapdragon Samsung Galaxy S8 and Galaxy S8+. Thanks neo.collin for the tip!

Samsung has announced that they will be rolling out Android Oreo to the U.S. unlocked Snapdragon Samsung Galaxy S8, Samsung Galaxy S8+, and the Samsung Galaxy Note 8 within the next 2-3 weeks. Carrier models of the Samsung Galaxy S8 and S8+ started to receive this update starting last week and have been rolling out since. The Samsung Galaxy Note 8, both carrier and unlocked models, hasn't received any official builds of Android Oreo yet, but there have been many leaked builds of it.

Android Oreo has many new features such as picture-in-picture mode, notification channels, background app optimizations, notification snoozing, and more. There are also plenty of Samsung-specific changes with Samsung Experience 9.0.

This might come as a surprise to people that the unlocked models are getting the update weeks after the carrier models, but in the post on the Samsung+ forums, they explain why. For a carrier firmware to be released, Samsung needs to develop the firmware then send it off to the carrier to test on their own network and release on their own. However, when Samsung releases updates to unlocked devices the company needs to develop the software then every carrier that it supports needs to test and verify it. That means Verizon, T-Mobile, Sprint, AT&T and all the other carriers need to approve the same version of the software. This can cause issues because if there is an issue with one carrier, the software needs to be re-tested for all other carriers. After it has been tested and approved by all carriers, it is released to all eligible devices.

That being said, Samsung has still taken their sweet time releasing updates to the Galaxy S8, Galaxy S8+, and Galaxy Note 8, so this explanation doesn't excuse the fact that the initial release for any model has taken so long. At least finally, users with the unlocked Snapdragon Galaxy S8, Galaxy S8+, and Galaxy Note 8 should expect official Android Oreo to be rolling out to their phones within the next 2-3 weeks.



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

Tuesday, April 3, 2018

The Samsung Galaxy S III & Galaxy Note II may succeed the legendary HTC HD2

Technology-oriented websites tend to focus only on the latest smartphones (and that includes us), but a large number of users choose not to upgrade their devices for one reason or another. Perhaps for financial reasons, there are hundreds of thousands of users who stick to older devices. Custom ROMs such as the now-defunct CyanogenMod have kept older smartphones alive for ages, but there comes a time when even unofficial support must end—for most devices, at least. The legendary HTC HD2 was launched in 2009 with Windows Mobile 6.5 at a time when Android 2.1 Eclair was the latest Android release, but the device has received ports of every version of Android up to Android 7.0 Nougat (not to mention multiple other operating systems.) Now, it appears that the HD2's torch will be passed on to the Samsung Galaxy S III and Samsung Galaxy Note II.


Legends Never Die: How The Samsung Galaxy S III And Galaxy Note II Live On

The Samsung Galaxy S II and Samsung Galaxy Note were the last Samsung Galaxy flagships to feature the company's rectangular design. Starting with the Samsung Galaxy S III in mid-2012 and later the Samsung Galaxy Note II in late-2012, Samsung revamped their smartphone design language to incorporate their now-iconic curved edges. Traces of the original Samsung Galaxy S III design are present in every Samsung Galaxy S device released since 2013, and it wasn't until the Samsung Galaxy S8 that Samsung would radically change the design language.

Samsung Galaxy SIII Samsung Galaxy Note II HTC HD2

Left to right: Samsung Galaxy S III, Galaxy S4, Galaxy S5, Galaxy S6, and Galaxy S7. Devices are not to scale.

Both devices were launched with Android 4.0 Ice Cream Sandwich, with official updates extending all the way to Android 4.4 KitKat. Thanks to CyanogenMod (and now LineageOS), the devices have an unofficial upgrade path to Android 7.1 Nougat. Compared to the ridiculous specifications of some modern Android smartphones (8GBs of RAM on the OnePlus 5T and Razer Phone versus 1/2GBs of RAM on the international Galaxy S III and Galaxy Note II respectively), it doesn't seem like these two devices should be able to run more modern versions of Android.

And yet, they do. They are not only able to just boot Android 7.1 Nougat, but they run it so well that the international Samsung Galaxy S III is the second most popular device running LineageOS according to the ROM's official statistics page.

LineageOS Statistics

LineageOS active installation statistics as of April 3rd. The international Samsung Galaxy S III is surpassed in usage only by the equally legendary OnePlus One.

While the latest iterations of Android software releases and system-on-chips have reduced the popularity of custom ROMs on flagship smartphones, these older devices (and some newer budget devices like the Xiaomi Redmi Note 4) are kept alive by custom ROMs. Barring hardware failure, many of these devices may still have years of use ahead of them because, to their owners, they still work just fine. (Having a removable battery definitely helps for longevity, too.) The one thing that might convince the tens of thousands of users to finally lay their old device to rest is if unofficial software support ends for the foreseeable future—something that is almost a guarantee to happen as device maintainers move on to greener pastures.

However, a recent development has been brought to our attention which will help pave the way for the prolonged life of these old Samsung Galaxy flagship devices. According to XDA Senior Member forkbomb444, the official LineageOS maintainer for the Samsung Galaxy S III, Google Nexus 7 (2013), and the Samsung Galaxy A7 (2017), version 4.17 of the Linux kernel will add support for the Samsung Galaxy S III and Samsung Galaxy Note II.

The Samsung Galaxy S III and Galaxy Note II: A Device Reborn

One of the biggest challenges facing developers looking to keep older devices updated is maintaining the kernel. As new Android operating system are released, developers may need to make many changes to ensure that the existing HALs work with the latest Android Framework.  The problem is that, without official manufacturer support, it can be a nightmare to keep things like the radio and graphics drivers up to date. (Project Treble is supposed to help with this process by allowing for the Android Framework to be updated without requiring changes to existing HALs, but this major re-architecture only arrived with the release of Android 8.0 Oreo—5 years after the release of the Galaxy S III.)

Yet, it's not impossible to still port the latest releases of Android if you have the know-how and are willing to invest blood, sweat, and tears into the initiative. It also helps if others kickstart the effort. In this case, Samsung's testing of Tizen 3.0 on the Galaxy S III helped the Exynos 4 Quad become better suited by the Linux kernel. forkbomb444 states that his work on the audio and some Galaxy Note II specific hardware (the touchscreen, display, and other components) are being upstreamed to the mainline Linux kernel, which means that the two devices "will be able to boot the kernels released by Google/kernel.org with no changes, which makes it a lot easier to keep up with newer AOSP versions" according to forkbomb444. (forkbomb444 also credits Replicant with reverse-engineering the RIL, making it easier to support newer versions of the Linux kernel without employing a ton of hacks.)

All 4 Exynos variants of the Galaxy S III/Galaxy Note II (i9300, i9305, n7100, t0lte) are able to boot a single set of software with kexec. With a bit of modification, forkbomb444 states that any regular GNU/Linux distribution can be installed on the device. Now, there's no particular benefit to being able to install a GNU/Linux distribution on your device. Yet, in the spirit of the HTC HD2, it's not about actually running the software, it's about proving it's possible.

Samsung Galaxy S III Samsung Galaxy Note II HTC HD2

Demonstration of a working camera on the Galaxy S III with the upstreamed changes to the Linux kernel

forkbomb444 says that he is still working on getting the notification LED driver submitted upstream, and that Linux kernel version 4.18 should bring support for it along with the hardware back and menu keys. He estimates that the changes he has submitted already should land in the mainline Linux kernel source tree by next week. As for getting Android Oreo running on the devices, that's still a work in progress. Android Oreo might even run even better on the devices than Android Nougat does thanks to Android Go.

In summary, official support for nearly all critical hardware components in the Linux kernel will pave the way for future versions of Android, and other Linux kernel-based operating systems, to be ported to the devices. The HTC HD2 is a legend in the community because of its immortality. Perhaps the international Samsung Galaxy S III and Samsung Galaxy Note II may join the pantheon of Android smartphone gods.



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

Huawei releases the HiAI Engine with the Huawei P20

Huawei launched the Mate 10 series in October with the HiSilicon Kirin 970 system-on-chip. The Kirin 970 notably has dedicated hardware for AI, in the form of a Neural Processing Unit (NPU). Last month, we also showed how Huawei was developing HiAssistant (powered by HiAI), a Google Assistant + Google Lens competitor for the Chinese market. Now, Huawei has released the HiAI Engine alongside the Huawei P20.

HiAI is Huawei's AI computing platform. Currently, the dedicated NPU on the Kirin 970 phones is used for features such as real time object and scene recognition in the camera app, as well as accelerated offline translation in Microsoft Translator. However, these capabilities are a small part of the overall potential of machine learning and neural networks. It's fair to say that it's early days yet for AI in smartphones, but the potential capabilities are promising.

According to Huawei, the HiAI Engine opens application capabilities, integrates "a plurality of AI capabilities and apps [that make] the apps more intelligent and powerful." Developers can now download the DDK (Driver Development Kit), SDK, and IDE for the HiAI Engine.

The application capabilities of the HiAI engine include a Computer vision (CV) engine. A Computer Vision engine refers to the "capabilities by which computers simulate the human visual system to sense the ambient environment, and determine, recognize and understand the composition of space," according to Huawei. The capabilities of the CV engine include Image Super Resolution, Facial Recognition, and Object Recognition (which are explained in more detail below).

The HiAI engine also includes an automatic speech recognition (ASR) engine. It's not open outside China, though. An ASR engine is what converts human voice into text, and its capabilities include speech recognition, speech conversion, and text-to-speech (TTS).

A Natural language understanding (NLU) engine is also part of the capabilities of the HiAI engine, but like the ASR engine, it's not open outside China. It enables computers to understand human voice, which allows them to perform communication or natural actions. Its capabilities include word segmentation, text entity recognition, emotive tendency analysis, and machine translation.

The features of the HiAI Engine are:

  • Scene Detection: It "rapidly categorizes" images by recognizing the scenes in the content of the image. Huawei states that recognition of multiple types of scenes is currently supported with high accuracy.
  • Document Correction and Document Detection: It's an assistant enhancement function which can correct the angle of the document. It can also automatically recognize the location information of the document in the image.
  • Face Detection and Facial Comparison: Huawei states: "In face detection, information about the location, characteristic points, and postures of the human face in a given image is detected, and high-precision facial rectangular coordinates are returned."
  • Image Category Label: It identifies information such as objects, scenes and behavior in an image on the basis of the deep learning method.
  • Image Super Resolution: It's said to intelligently enlarge an image based on deep learning. It can also suppress artifacts while keeping the resolution unchanged for a clearer, sharper image.
  • Character Image Super Resolution: It can enlarge an image including characters by nine times. It can also "enhance" the definition of the characters on the image.
  • Code Detection: According to Huawei, "Code detection reads quick response (QR) codes and bar codes to obtain information included in the codes, thereby providing related services subsequently. The code detection capability is integrated in applications."

Developers can now download the DDK, SDK and IDE of the HiAI Engine via the source links.

Thanks to XDA Member Evolutios for the tip!


Source: HuaweiSource 2: HuaweiSource 3: Huawei



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

Google is Testing a Horizontal Tab Switcher in Chrome for Portrait Mode

Google really, really loves their A/B tests. While the vast majority of users might be seeing one shade of green in the Play Store, another set of users might see a totally different color. Google Chrome for Android works a bit differently, though, as its open source nature and feature flags allow for anyone to participate in the company's public A/B tests. Today, a new commit has appeared on the Chromium gerrit that aims to revamp the tab switcher in Chrome for Android.

As shown in the image above, the tab switcher shows cards lined up horizontally when the user is in landscape mode. On the other hand, the tabs are lined up vertically when the device is in portrait mode. This new commit adds a feature flag (chrome://flags#enable-horizontal-tab-switcher) to always show the horizontal tab switcher when the phone is in portrait mode. The commit description states that a future commit will refine the tab UI in preparation for a "public experiment," so it's clear that Google intends to A/B test this on a segment of its users.

Google Chrome Horizontal Tab Switcher

If we might speculate a bit, I think this sort of change lines up nicely with the rumors that Android P will offer navigation gestures. According to 9to5Google, the next major Android version will offer gestures to navigate the interface like the iPhone X. We've already seen phones like the OnePlus 5T offer similar gestures, and with the recent push towards almost entirely bezel-less devices, we wouldn't be surprised if Android starts to natively offer such a feature. A revamped horizontal tab switcher in Chrome might go along with a horizontal recent apps screen in Android P if this rumor is true.



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

ZTE Axon M: Laying the groundwork for a foldable phone future

When ZTE released the Axon M in late 2017, a smartphone with two identical displays and a hinge that folds shut like an inverse notebook, tech pundits dismissed it as gimmicky and uncompetitive. It isn't the first dual-screen smartphone with a foldable form factor—the Kyocera Echo, Sony Tablet P, and the NEC Medias, the Axon M's predecessors, feature transforming tablet-to-candybar designs. Then there's the fact that it's exclusive to AT&T in the U.S., and that it isn't cheap. The ZTE Axon M, which has a nearly two-year-old system-on-chip (the Qualcomm Snapdragon 821 paired with 4GB of RAM), has a suggested retail price of $725, which is higher than that of the Google Pixel 2, OnePlus 5T, and LG G6+.

But there's a lot more to the Axon M than meets the eye. In fact, the prototypical phone might well pave the way for foldable devices to come. It's not so much the hardware that's the key: Rather, it's how ZTE implemented dual-screen support at the system level, and how the company pioneered solutions for a version of Android, Android 7.1 Nougat, which wasn't designed with atypical displays in mind.


A dual-screen dilemma

ZTE Axon M Extended Mode ZTE Axon M Extended Mode ZTE Axon M Extended Mode ZTE Axon M Extended Mode

The Axon M doesn't look or feel like other smartphones. The dual 5.2-inch Full HD TFT LCD displays (with a pixel density of 428 dpi, recognized as xxhdpi in Android), which face outward when the phone is folded shut, aren't uniformly thick—in Nintendo 3DS fashion, the secondary "top" panel has slightly thinner housing than the primary screen. When folded outward 180 degrees, Android sees the two displays as a single 6.75-inch screen with an effective resolution of 2160 x 1920.

Interestingly, ZTE created the Axon M at the request of Japanese carrier NTT DoCoMo, which partnered with NEC to launch the Medias W N-05E (another twin-screen Android phone) in 2013. But unlike the Media W, Kyocera Echo, and the Axon M's other forebears, the Axon M is incredibly robust. That's out of necessity: the cable connecting the two displays can withstand 40,000 folds before it starts to wear down, and the hinge is rigid enough to prop up the phone in a sort of "tent mode," with the secondary display serving as a makeshift kickstand that angles the primary display upward. ZTE estimates that the average consumer will be able to use the phone for 3 years before experiencing any issues.

axon m

ZTE Axon M in Mirror Mode.

What's most impressive about the Axon M, though, is how ZTE tackled the classic dual-screen dilemma: Allowing apps to leverage the added real estate without compromising the user experience. The Axon M has four viewing modes which are accessible with a tap of the special "M" key in the navigation bar: Traditional Mode (a single screen view), Extended Mode, Dual Mode, and Mirror Mode. Traditional Mode runs apps in portrait mode on the Axon M's primary display, just like a regular smartphone. Extended Mode expands the Android interface the length of the two screens, doubling the horizontal resolution from 1080 pixels to 2160 pixels. Dual Mode is more or less akin to Android Nougat's split-screen mode, running two apps side by side—one on each of the Axon M's display panels. And Mirror Mode duplicates the Axon M's primary screen on the secondary screen.

For the most part, the Axon M's Android 7.1 Nougat-based firmware is fairly close to stock. That's by design: the phone's four screen modes tap into Android's native display framework, obviating the need for developers to use a custom tool or software development kit to get apps up and running. Dual Mode takes advantage of Nougat's Multi-Window feature—any app that supports split-screen on Nougat is fully compatible with the Axon M's Dual Mode. It's a boon for multitasking; the extra screen real estate afforded by Axon M's second screen makes multi-window much more useful.

ZTE Axon M Dual Mode

ZTE Axon M in Dual Mode.

Extended Mode, meanwhile, treats the Axon M's two screens like one giant, high-resolution screen, almost like a tablet. The implications aren't to be understated—Android app developers create multiple app layouts and assets so that apps scale properly across smartphones and tablets with different resolutions, screen sizes, and screen densities. Dual-panel devices such as the Kyocera Echo required developers to use proprietary build systems and documentation in order to get them to work on secondary screens. But to optimize an app for the ZTE Axon M, all that's required is adding a new layout.

Basically, optimizing an app for the Axon M is like optimizing an app for a tablet, albeit with an odd 2160×1920 resolution. When the Axon M is in Extended Mode, applications and games automatically switch to the appropriate layout, in some cases stretching to fill the phone's two Full HD displays. Some apps, like YouTube, split interface elements down the middle: videos and playback controls occupy one panel, while descriptions, comments, and related are relegated to the other panel. (ZTE demoed a camera app at the Consumer Electronics Show that displayed the viewfinder on the Axon M's primary screen and colorful imagery on the second screen, designed to catch the attention of a young child.) Apps without compatible layouts behave a little unpredictably, but that's to be expected—just as applications without tablet layouts don't display properly on larger devices, apps that haven't been optimized for Extended Mode resolution are at the mercy of Android's automatic scaling.


The ZTE Axon M: a Foundation for a foldable phone future

The reason that foldable phones haven't caught on is twofold: the hardware wasn't fast enough to drive split-screen apps on high-resolution panels, and the software hadn't caught up to support multiple displays. That's finally changing.

With the Axon M, ZTE has established an important precedent: Treating folding phones' large-screen form factor as a single display in software.

Assuming a foldable phone of the future—that is to say, phones with seamless, flexible displays that unfurl into a tablet form factor—adopt the same software approach, it'll be a cinch for app developers to support them. In Android Studio, optimizing an app for the ZTE Axon M is as easy as creating a Layout XML file for the phone's Dual Mode density, sticking it in a new /res/layout directory, and specifying alternate drawable resources. It's no different than supporting any other device with a unique screen size, display density, or resolution, and while that might sound like a no-brainer, the dual-screen phones of yesteryear weren't nearly as easy to support.

A prototype foldable phone concept. Source: SDC

Kyocera, for example, had to actively recruit developers such as EA, Gameloft, and Jibe to use its proprietary development kit in order to showcase the Echo's extended display modes. It's a case study in how not to implement foldable screen support—it's not just the extra effort that's unappealing, but the economics. Asking developers to go out of their way to support a niche device with a small install base was unrealistic from the start.

The ZTE Axon M came at a pivotal moment for the foldable phone. DJ Koh, head of Samsung's mobile division, confirmed to reporters at the Consumer Electronics Show this year that the company is working on a form of bendable smartphone. And LG, which mass-produces televisions with bendable displays, has patented at least two foldable phone concepts.

And if LG and Samsung's phones follow ZTE's example, they'll have display modes akin to the Axon M's Extended Mode and Dual Mode, which will give developers much more incentive to support them. It'll be a relatively simple matter of adding layouts—apps will switch to a larger, "optimized" layout when the foldable phones are in a tablet form factor, and shrink to fit the phones' smaller views.

Rest easy knowing this: If you rush out to buy one of the first foldable smartphones on the market, it won't be long before you see apps in the Play Store that take advantage of its unique capabilities. That's not to suggest developers will rush to support them en masse, but for those who are inclined to support them, the amount of development time and effort involved will be shorter than ever before.

That's the ZTE Axon M's legacy.



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

US unlocked Samsung Galaxy Note 8 now receiving Android Oreo

It's been a long road for Samsung Galaxy Note 8 owners waiting to receive the Android Oreo update. The Galaxy Note 8 was released in September with Android 7.1 Nougat, and it has taken Samsung six months to deliver the Android 8.0 Oreo update. The phone comes in two variants: the Qualcomm Snapdragon 835 variant of the Galaxy Note 8 is sold in the US and China, while the Exynos 8895 international variant is sold in the rest of the world.

The Exynos variant of the Galaxy Note 8 was the first to receive the update (If you haven't received the update, you can follow our guide to update manually). The carrier variants of the Galaxy Note 8 in the US then received the update, starting with AT&T, followed by Verizon and Sprint, finishing with T-Mobile. Owners of the US unlocked Galaxy Note 8 variant had still been waiting for the Android Oreo update, but this changes now as the update is finally rolling out to owners of the US unlocked Galaxy Note 8.

The reason why the US unlocked variant of the Galaxy Note 8 is receiving the update later than the carrier variants was explained by Samsung last week. The company stated that the procedure for updating a carrier variant of the device was to develop the firmware and then send it to the carrier. The carrier then tests the update and releases it on its own.

On the other hand, the procedure is different for the unlocked variant. Samsung needs to develop the firmware and every carrier that supports the update needs to test it. This means that Verizon, AT&T, T-Mobile and other carriers all need to test the same update. This can cause delays if an issue is found with one carrier.

US unlocked Samsung Galaxy Note 8 Android Oreo update

Source: Arun Antony

The update brings the firmware of the US unlocked Galaxy Note 8 up to CRC1 and comes with all the new features that come with Android 8.0 Oreo, such as picture-in-picture modenotification channelsnotification snoozingbackground app optimizations, and more. It also brings Samsung Experience 9.0. The update is expected to roll-out to all users in the coming days.


Via: /u/144CCR



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