mercredi 22 novembre 2017

OnePlus Details Face Unlock on the OnePlus 5T: Intended for Convenience and Ease of Use

Facial recognition is experiencing something of a renaissance. Google’s implementation in Android 4.0 Ice Cream Sandwich — Face Unlock — didn’t have too many takers because it tended to be slow and unreliable. It stuck around as Trusted Face in newer versions of Android, but it wasn’t until Samsung brought an improved, faster version of facial recognition to its Galaxy smartphones that the technology really took off. Although Samsung’s implementation is insecure compared to high-tech alternatives like Apple’s FaceID, that didn’t stop companies such as Vivo and LG  from following suit. Most recently, OnePlus climbed aboard the bandwagon with Face Unlock, a feature of the OnePlus 5T.

Face Unlock was a solution to a design problem, OnePlus explained in a blog post. The OnePlus 5T’s 18:9 display and small bezels necessitated moving the fingerprint sensor from the front to the back, but OnePlus wanted to provide a way to unlock the phone from the front. It settled on facial recognition.

OnePlus concedes, that Face Unlock is more about convenience than security, though — the company makes no claims that it rivals 3D scanning technologies like Apple’s FaceID. Face Unlock is not intended to be as secure as a fingerprint sensor, and so it doesn’t support Android Pay and other secure applications. To authenticate those, OnePlus says, you’ll have to use the fingerprint sensor.

OnePlus posted an explanation on how Face Unlock works, and how updates will improve its functionality:

  • Firstly, the company said that Face Unlock makes sure that the person trying to unlock the OnePlus 5T matches the user who’s set up his or her face. The phone’s front camera analyzes “over 100 identifiers” on your face such as “the [interpupilary] distance between your eyes” and “[the distance] between your nose and upper lip,” OnePlus said. And OnePlus claims to have included numerous parameters so that “Face Unlock works in different lighting conditions as well as when you are wearing glasses.”
  • Secondly, Face Unlock makes sure that the user is “alive”. According to the company, its “liveness” checks reduce the chance that someone will successfully unlock someone’s phone by using a photograph or video.
  • Thirdly, in an effort to reduce the chance of someone trying to trick Face Unlock with multiple pictures, OnePlus says that the OnePlus 5T automatically deactivates after five unsuccessful attempts. After the deactivation of Face Unlock, the phone requires a fingerprint scan or security code to unlock.

All that said, OnePlus acknowledges that Face Unlock isn’t perfect.

The problem with most facial recognition systems on Android, Face Unlock included, is that they’re vulnerable to being tricked by photos or videos of users. OnePlus admits that right now, any person could use a selfie on another phone and place it front of the OnePlus 5T to unlock it.

The company argues that the chances of someone having physical access to a person’s phone and a detailed photograph of said person is fairly low, but it says it’ll issue a preemptive update anyway. In the next few weeks, the OnePlus 5T will understand whether “the subject is emitting light (a phone) versus reflecting (a user’s actual face)” by analyzing shadows and bright areas, and by looking for screen reflections and the presence of square elements (i.e.g, the shape of a phone or a picture frame) in front of the camera.

Overall, Face Unlock looks to be an interesting addition to the OnePlus 5T. Thought it might not be as secure as other authentication methods, it’s good to know that that it’s more advanced than the version developed by Google.

Source: OnePlus

from xda-developers

Xiaomi Launches Mi Exchange Phone Trade-In Program in India

The story of Xiaomi’s offline expansion in India is an interesting one. Only a few fiscal quarters ago, the company didn’t have much of a brick-and-mortar presence in India. However, things changed last year with the introduction of Xiaomi’s Mi Preferred Partners program and Mi Homes, which popped up with increasing frequency in major Indian cities. They’ve been a huge success: Xiaomi’s is on track to become the largest smartphone manufacturer in India. And now, the company wants to boost online sales even further with a new trade-in program called Mi Exchange.

Mi Exchange is a partnership between Xiaomi and Cashify that lets customers exchange their old phones for new Xiaomi devices. In an announcement on Wednesday, the smartphone maker said that customers can visit a Mi Home store to take advantage of Mi Exchange, and that only one device from Cashify’s portfolio can be traded in at a time. Resale value is determined by Cashify’s smartphone application (Xiaomi says it’s based “purely […] on the old phone condition”), and customers get it in the form of an e-receipt. It’s then deducted from the non-negotiable purchase price of a new Xiaomi smartphone.

Mi Exchange customers can also opt for Cashify’s pickup service. They have to pay full price for a new Xiaomi phone at time of purchase, but they don’t have to visit a Mi Home store to trade in their old phone. Once they schedule a call with Cashify, an employee will come by to collect the phone and pay what it’s worth.

In separate announcement, Xiaomi announced the groundbreaking of its third manufacturing facility in India. (The company will be manufacturing products at Hipad Technology’s facility in Noida.) It’s specifically designed to produce power banks, and the first will be the newly announced 10,000mAh Mi Power Bank 2i priced at INR 799, and a 20,000mAh Mi Power Bank 2i priced at INR 1499.

Source: XiaomiVia: NDTV Gadgets

from xda-developers

Blu_spark Custom Kernel is Now Available for the OnePlus 5T

Sales of the OnePlus 5T began this week, and a few buyers with are seeing estimated ship dates as early as Friday. Lucky for them, they won’t have to wait long to start customizing their new smartphones. XDA Recognized Contributor eng.stk ported the popular blu_spark kernel to the OnePlus 5T this past week, and it’s packed to the brim with features. There’s a systemless installer, enhanced performance and TCP methods, and battery patches, to name a few.

For a full list of tweaks and instructions on how to flash it, check out the official XDA forum thread.

blu_spark OnePlus 5T kernel features

  • Powered by Ubuntu 16.04.3 x86_64 (sparky VPS @ – thanks @ChristianLetti)
  • Build with custom toolchain blu_naro-7.2 (cortex-a73.cortex-a53 targeted, build with latest Crosstool-NG from developer snapshot Linaro GCC 7.2-2017.10)
  • Full -O2 build with device and target flags enhanced, linaro build improvements, etc.
  • Less is more: stock-ish OP5 builds based on OnePlusOSS/android_kernel_oneplus_msm8998
  • Systemless installer (doesn’t touch system partition, OTA friendly)
  • Removed some debug and logging options
  • ARM enhanced performance and battery patches
  • CVE security patches, general upstream and CAF fixes
  • Several CPU Governors (blu_active modded own governor by default – fastlane mode available!)
  • No OC, use 100HZ base timer frequency
  • msm_performance input boost toggle on/off (enabled by default), tweaked cpu_boost driver
  • Enhanced TCP methods (westwood is default), Network and Wifi tweaks and updated drivers
  • Several I/O control tweaks, added schedulers FIOPS and ZEN v2 is default, tweaked and upstreamed filesystems (F2FS, ExFAT, NTFS, CIFS & NFS)
  • Removed verify and forced encryption (ext4 is still forced file based encryption – FBE), patched
  • SafetyNet flags to pass CTS
  • Stock thermal driver by default (custom tunables available for ROMs with no thermal daemon)
  • Disabled hotplug, also on low battery levels (CTL and BCL)
  • Optimized crypto routines
  • Swap and adaptive LMK off by default, 60 apps on background by default
  • Vibrator Strength tunable and Gesture Haptic Feedback control (touchpanel)
  • KGSL fixes and reworked GPU driver (goes to idle @ 180MHz)
  • KCAL – Advanced color control for Qualcomm MDSS v2 (RGB calibration and post-processing features)
  • DASH charge and USB Fast Charge (USB mode up to 900mA with MTP on)
  • Battery/Notification LED control
  • Multimount fstab (you can use data and cache partitions as f2fs or ext4) with tweaked options
  • FS fsync toggle on/off
  • Wakelock blockers available
  • CDROM emulation on mass_storage (compatible with DriveDroid 0.10.36+)
  • init.d support (put your scripts in /system/su.d or / [systemless SuperSU], /magisk/.core/post-fs-data.d [Magisk])
  • Compatible with Kernel Adiutor and others

Check out blu_spark in our OnePlus 5T forum

from xda-developers

Mesh Networking is the Future of Smart Homes, According to Qualcomm

If you’ve shopped for a router anytime in the past five years, you’ve probably heard of mesh networking. It’s a hot new category popularized by platforms such as Eero and Google Wi-Fi, and Qualcomm thinks it’s the key to stable, fast, and reliable connectivity.

The idea of a “smart home” used to be the stuff of dreams, but it’s more or less a reality now. Bluetooth locks can unlatch doors automatically for you; Wi-Fi-enabled smart refrigerators alert you when you’re running out of groceries; and wireless lightbulbs automatically dim when you queue up a Netflix movie.

It’s a lot of data traffic to worry about, and that’s where Qualcomm’s mesh networking technology comes in. A new version of the chip maker’s 802.11ax Wi-Fi SON standard, which is already in use by TP-Link, Luma, and Netgear, and others, can be powered by Ethernet cabling and scaled up to an entire neighborhood, the company said.

That’s invaluable at a time when 50 percent of consumers in the UK, France, and Germany use connected devices in three different rooms simultaneously, according to a recent Qualcomm survey. Internet of Things (IoT) and home automation products are an outsized contributor: Gartner predicts that 8.4 billion connected devices will be in use in 2017, up from 31 percent in 2016.

But Qualcomm thinks mesh networks can do more than just connect your lightbulbs. They can automatically fix issues, centralize the control of data, media, and IoT devices, and even lay the groundwork for managed connected device services and data analytics, the company said.

It’s incumbent on internet service providers to lead the charge, Qualcomm’s Rahul Patel, SVP & GM of the company’s Connectivity Business unit, told ZDNet. “The operator is shouldering the burden of fixing issues in the home. If they don’t, cloud providers such as Google will take over.”

Source: ZDNet

from xda-developers

These Popular Kid’s Headphones are 40% Off

Chances are you’ve seen these headphones before. They’re popular with live streamers, YouTubers and anyone who wants to look like a cat while listening to music. Take feline role-play to the next level, while listening to your favorite cat-inspired spotify playlist.

There are four different light modes to switch though depending on what you’re in the mood for. The headphones also last up to five hours of non-stop music time. With Bluetooth 4.2, you’ll have a high quality connection for great sounding music.

These headphones are Bluetooth enabled with ears that illuminate for a look that will make you the coolest kid in school. As Christmas rapidly approaches, consider this as a gift for your young child. It’s a great way to introduce them into EDM culture.

At 40% off, you can get a pair of these animal headphones for under $23.39. Use code 72DMDJQD for a discount at checkout! The available colors are black/hot pink/pink and white.

Get a Unicat Headset on MindKoo Get a Unicat Headset on Amazon

We thank Unicat for sponsoring this post. Our sponsors help us pay for the many costs associated with running XDA, including server costs, full time developers, news writers, and much more. While you might see sponsored content (which will always be labeled as such) alongside Portal content, the Portal team is in no way responsible for these posts. Sponsored content, advertising and XDA Depot are managed by a separate team entirely. XDA will never compromise its journalistic integrity by accepting money to write favorably about a company, or alter our opinions or views in any way. Our opinion cannot be bought.

from xda-developers

Google Dives Deep Into the New Google Play Services APIs

Version 11.6 of the Google Play services SDK — Google’s development kit for the Play Store — is packed to the brim with new features. In an effort to brace folks for the changes, the search giant published an article on migrating to the new APIs earlier this year. And in a new post on the Android Developers blog, it highlighted the many ways in which the SDK tweaks application behavior.

GoogleApi and Task, which replace the GoogleApiClient access pattern in the new Google Play services SDK, were designed to “reduce boilerplate, improve UX, and simplify authentication and authorization,” Google Developers Programs Engineer Sam Stern wrote in a blog post. In previous versions of the SDK, GoogleApiClient connected to Google Play’s servers only when all of the APIs were available and when the user had signed in, assuming the APIs required it. Over time, Google realized that this model had a number of pitfalls:

  • Any connection failure prevented the use of any of the requested APIs, but using multiple GoogleApiClient objects was unwieldy.

  • The concept of a “connection” was inappropriately overloaded. Connection failures could result from Google Play services authentication issues.

  • The developer had to track the connection state, because making some calls before onConnected was called resulted in a crash.

  • Making a simple API call could mean waiting for two callbacks: One to wait until the GoogleApiClient was connected, and another for the API call itself.

To alleviate a few of the issues that developers ran into, Google Play Services SDK version 11.6.0 introduces updated APIs. “Each API now has a purpose-built client object class that extends GoogleApi,” Stern explained. “Unlike with GoogleClientApi there is no performance cost to creating many client objects. Each of these client objects abstracts the connection logic, connections are automatically managed by the SDK in a way that maximizes both speed and efficiency.”

Here’s a list of them:

  • Auth – updated the Google Sign In and Credentials APIs.

  • Drive – updated the Drive and Drive Resource APIs.

  • Fitness – updated the Ble, Config, Goals, History, Recording, Sensors, and Sessions APIs.

  • Games – updated the Achievements, Events, Games, Games Metadata, Invitations, Leaderboards, Notifications, Player Stats, Players, Realtime Multiplayer, Snapshots, Turn Based Multiplayer, and Videos APIs.

  • Nearby – updated the Connections and Messages APIs.

The APIs join Awareness, Cast, Places, Location, and Wallet, and other APIs that separated from the Google Play connection process in earlier versions of the SDK. With any luck, they’ll serve as a more modular, flexible replacement of GoogleApiClient.

That’s not all. Here’s a few of benefits you can expect from the new Google Play services SDK:

  • No connection logic, calls that require a connection are queued until a connection is available. Connections are pooled when appropriate and torn down when not in use, saving battery and preventing memory leaks.

  • Sign in is completely separated from APIs that consume GoogleSignInAccount which makes it easier to use authenticated APIs throughout your app.

  • Asynchronous API calls use the new Task API rather than PendingResult, which allows for easier management and chaining.

For a more thorough breakdown of the SDK and instructions on how to implement it, head to the source link.

Source: Android Developers Blog

from xda-developers

OnePlus 5T Breaks OnePlus’s Launch Day Sales Record in 6 Hours

Months after the launch of the OnePlus 5, OnePlus followed it up with the OnePlus 5T, an affordable smartphone with an edge-to-edge screen, a Qualcomm Snapdragon processor, and a whopping 8GB of RAM. The reception’s been great, to put it mildly — on Wednesday, OnePlus announced that the OnePlus 5T broke the day-one sales record set by the OnePlus 5.

That’s good news for the Shenzhen, China-based smartphone maker, which doesn’t have the best track record when it comes to product launches. OnePlus 5 shipments were delayed up to several weeks for some customers, and until the beginning of last year, you couldn’t purchase a OnePlus phone without obtaining a special invitation. This year’s launch, in contrast, seems to have gone off without a hitch.

It’s been a busy week for OnePlus. A new version of OxygenOS for the OnePlus 5T made its formal debut in early November, as did the OnePlus 5T’s kernel source code. Then the company confirmed that the OnePlus 3, OnePlus 3T, OnePlus 5 and the OnePlus 5T will get Android 8.1 Oreo-based firmware in the coming weeks, but that it wouldn’t support Project Treble.

We’ll have to wait and see how the OnePlus 5T is received after it gets into the hands of customers, but we were pretty impressed by it. To read more first impressions and stay on top of the latest developments, check out our official forums.

Source: @oneplus

from xda-developers