jeudi 29 juin 2017

LeEco Chairman: Cash Crunch “Far Worse Than Expected”

Enable the OnePlus 5’s DCI-P3 Wide Color Gamut Mode on the OnePlus 3T

It’s been a little over a week since OnePlus officially launched its latest flagship smartphone – the OnePlus 5. The device is currently the most powerful Android smartphone on the market with an upgraded Snapdragon 835 SoC, 8GBs of RAM, and UFS 2.1 with two-lane ROM. But compared to its predecessor, the OnePlus 3T, the OnePlus 5’s display does not seem to be a marked improvement on the surface. Both devices feature a 5.5″ 1080p AMOLED display at ~401ppi, but by default the OnePlus 5 features the DCI-P3 wide color gamut which is the same color gamut found in 4K Ultra High-Definition televisions and Digital Cinema.

Other than the OnePlus 5, there are other smartphones that support DCI-P3 like LG flagship devices (though apparently, not very accurately), the now-defunct Samsung Galaxy Note 7, the Samsung Galaxy S8/S8+, and the iPhone 7. However, there appears to be another smartphone that may support the DCI-P3 wide color gamut – the OnePlus 3T. Soon after the OnePlus 5 was officially announced, it was discovered that the display model found in the OnePlus 5 is actually the same display found in the OnePlus 3T. In particular, Roland Quandt (@rquandt) used AIDA64 to discover that the OnePlus 5 uses the Samsung S6E3FA5 display (for reference, OnePlus 3T devices feature either the aforementioned Samsung S6E3FA5 or S6E3FA3 displays).

That discovery got the ball rolling, and several Chinese OnePlus users began digging into kernel related files located in the /sys directory to see if they could find a way to enable DCI-P3 on the OnePlus 3T. Sure enough, located within the /sys/devices/virtual/graphics/fb0 directory are 3 files that can be modified to change the screen mode. These files are the following:

  • /sys/devices/virtual/graphics/fb0/SRGB
  • /sys/devices/virtual/graphics/fb0/Adobe_RBG
  • /sys/devices/virtual/graphics/fb0/DCI_P3

By writing a value of ‘1’ to the DCI_P3 file (which requires root access), the color mode can be enabled on the OnePlus 3T. After much discussion on the OnePlus BBS forums, it was discovered that this trick only works on OnePlus 3T devices with the Samsung S6E3FA5 display. If your OnePlus 3T is rooted and has the right display model, then you can enable the OnePlus 5’s awesome display mode right now.


Enable DCI-P3 for the OnePlus 3T

Thanks to XDA Member soccerwuedo5 for documenting the discoveries made on the Chinese OnePlus forums and writing a tutorial on our forums!

Here is a step-by-step set of instructions to enable this color gamut mode. Note that this only works on rooted phones:

  1. Verify that your display panel is compatible. Install AIDA64 and check Display –> Panel ID. If it reads “samsung s6e3fa5 1080p cmd mode dsi panel”, then your device’s display is compatible with this mode.

    AIDA64 Panel ID Value for the OnePlus 3T. Note: this is the incorrect model. (Credits: soccerwuedo5).

    • Alternatively, you can download a file browser such as MiXplorer and browse to the /sys/devices/virtual/graphics/fb0 directory. If you see a “DCI-P3” file, then your model is compatible.
  2. Install Terminal Emulator on your phone and enter the following two commands:
su
echo 1 > /sys/devices/virtual/graphics/fb0/DCI_P3

The change will take affect immediately, but the screen mode in settings will not be updated to reflect this change. Furthermore, if you reboot the device, the calibration will revert back to the “default” state. If you would like to revert these changes immediately, you can enter the following commands:

su
echo 0 > /sys/devices/virtual/graphics/fb0/DCI_P3

If you are looking for a way to have this change persist through reboots, you can use automation software such as Tasker, create an init.d script, or use this Magisk module created by XDA Senior Member doubleaykay.


How well does it work?

Once enabled, there is an immediate, noticeable difference in the screen quality. There’s a clear saturation loss when changing the calibration mode to DCI-P3, and the change is noticeable no matter what screen mode you have enabled, which indicates the profile is different than the default or sRGB modes. Although in our own subjective comparison, Mario Serrafero notes that enabling DCI-P3 on the OnePlus 3T does not result in an identical display compared to the OnePlus 5’s DCI-P3. Notably, yellows and blues appear to be a tad more saturated on the OnePlus 3T, and they slightly differ in temperature throughout as well. While the unofficial display calibration mode change does not perfectly match any of the available modes on the OnePlus 5, it appears to be closest to DCI-P3. A deeper display analysis could determine exactly what the difference is and how accurate this new color profile is.

Overall, we definitely feel the modification is definitely worth doing, if only to try it out and check whether you like the different display profile.


Was DCI-P3 Intentionally Disabled?

According to users on the OnePlusBBS forums, the preference to enable DCI-P3 on the OnePlus 3T is hidden from the settings application. Apparently, there is a “OPScreenColorMode.java” file that contains a line removing the preference from settings.

By editing this line, recompiling the APK, and pushing the updated system file to the device, the preference is indeed made available in the settings app.

Interestingly enough, XDA Member soccerwuedo5 did some digging of his own and found references to a disabled settings fragment called “OPReadingMode” within display_settings.xml that likely controls the new Reading Mode feature found on the OnePlus 5.

<PreferenceScreen android:title="@string/oneplus_night_mode_enabled_op" android:key="oneplus_night_mode" android:fragment="com.oneplus.settings.better.OPNightMode" />
<PreferenceScreen android:title="@string/oneplus_reading_mode" android:key="oneplus_reading_mode" android:fragment="com.oneplus.settings.better.OPReadingMode" />
<PreferenceScreen android:title="@string/oneplus_screen_color_mode_title" android:key="screen_color_mode" android:fragment="com.oneplus.settings.better.OPScreenColorMode" />

This isn’t really unexpected, though OnePlus repeatedly claimed that Reading Mode makes use of a different ambient sensor to read not just ambient light intensity, but also tone, and thus it would make sense for the feature to be offered exclusively on the OnePlus 5. The existence of this string does indicate that it may be possible for the feature to be added to the OnePlus 3T in a future OxygenOS release, if not sooner thanks to modders on our forums, but if there is hardware at play it might perform differently than the OnePlus 5.


Conclusion

We can’t speak for OnePlus as to why this display calibration modification is possible on the OnePlus 3T, but we have reached out to the company and will update our readers when we hear back. In the meantime, for any rooted OnePlus 3T owners – definitely give this modification a shot if your display is compatible.



from xda-developers http://ift.tt/2u1XzBp
via IFTTT

mercredi 28 juin 2017

Twitch App Update Brings Dark Mode, Mobile Streaming, Swipe Surfing, and More

Twitch is the go-to platform for hosting and viewing video game streams of all kinds (though lately the IRL/Creative categories have also exploded in popularity), and the official Android app for the service is now getting one of the biggest updates its ever seen.

There are a host of new features coming to the app including both aesthetic and functional changes. One new addition that users have been requesting for a while now is a dark mode that will make the app easier on the eyes at night and look absolutely killer on any device with an AMOLED panel. There’s also a new navigation bar at the bottom of the app offering easy access for finding current live streams, accessing the Pulse section of the service, and browsing all of the content that Twitch has to offer. Add this together with new swipe gestures for better navigating the UI and streamlined notifications between the mobile and desktop apps, and there’s already a lot to love here.

However, as great as all of this is, perhaps the biggest change is that you can now start a live stream directly from your Android phone or tablet. The new feature is aptly named, “Mobile Streaming”, and it will likely be a great way to let Twitch streamers stay in touch with their fans when they’re away from the keyboard throughout the day.

In addition to all of this, some other new features coming with this update include the ability to organize streams based on what region they’re coming from or what language the streamer speaks and Instant Playlists that offer “a collection of content accessible by swiping down on the screen.”

The update for the Twitch mobile app is starting to make its way to users on both Android and iOS now, and Twitch says that everyone should have access to it in early July.


Via: The Verge



from xda-developers http://ift.tt/2tmN7GI
via IFTTT

Latest Google Photos Update Brings Machine Learning Sharing Features

Google announced a lot of stuff at this year’s I/O, and among all of the buzz surrounding Android O, Google Lens, and Daydream, the company also introduced some new sharing features in Google Photos that takes advantage of the company’s machine learning technology.

Today, Google is finally releasing some of those new features to the public. Version 3.0 of the Google Photos app is rolling out on the Play Store starting today.

There are two new sharing options being added to Google Photos – the first is Suggested Sharing. Suggested Sharing uses Google’s machine learning to recommend photos that it thinks you should share with certain people based on who is in the photos, where certain pictures or videos were captured, and who was with you at that time.

All of these suggestions can be found in the Sharing tab at the bottom right of the app, and this is where you’ll see not only suggested photos that Google thinks you should send to other people, but also any albums or other photos/videos that you’ve shared or others have shared with you.

Along with Suggested Sharing, the other big feature in this update are Shared Libraries. With Shared Libraries, you can choose someone to share either your entire Google Photos collection with or just a specific album. One potential use case here is for a husband and wife to share an album with one another that contains photos of their kid.

While you could just choose to manually share new photos with people as you take them, the cool part about Shared Albums is that they’re updated for both parties whenever you take a new photo that belongs in that album. The husband could take a few photos of his child, Google will know that those are pictures of his kid, and then automatically add those photos to the Shared Album that the wife also has access to.

Both Suggested Sharing and Shared Albums should be available either now or within the next couple of days for Google Photos users on Android, web, and iOS.


Source: Google



from xda-developers http://ift.tt/2u0bpUD
via IFTTT

Google Prepares Default Chrome Search Engine “Choice Window” to Comply with Russian Lawsuit

In the past few months, Google has suffered a series of setbacks due to litigation. Most recently, the company was hit with a whopping €2.42 billion fine after the European Commission ruled that Google was violating EU anti-trust regulations by inflating their own shopping service results in Google search pages. Back in mid-April, Google suffered another blow when the Russian Federal Antimonopoly Service (FAS) ruled that the company was violating its market dominance by essentially forcing OEMs to pre-install Google services on their devices. Part of the company’s settlement with the FAS involved creating a new Google Chrome search widget that can replace the default Google search widget.

In doing so, users can then change their default search provider in Chrome’s settings so that this new widget can quickly access any third-party search engine provider. Users first started to notice this new search widget in early May as it rolled out to the Chrome Dev and Canary channels, but per the settlement with FAS this widget only fulfills part of the agreement with the Russian government.

According to the FAS:

For the devices that are currently circulating on the Russian market, Google will develop an active “choice window” for the Chrome browser which at the time of the next update will provide the user with the opportunity to choose their default search engine.

Within a few months, Google will develop for new devices a new Chrome widget that will replace the standard Google search widget on the home screen. This will allow end users of the devices based on the Android OS with the GMS package to see the new “choice screen” at the first launch of the new Chrome widget. This choice screen enables users to choose Yandex search or Google search or any other search engine of those developers who will sign a commercial agreement on their inclusion to the choice screen.

Changing the device’s locale to Russian, wiping Chrome Canary’s data, and adding the search widget has not yet yielded the promised search engine “choice screen” that Russia requires from Google. But according to a recent commit to the Chromium open source project, that may soon change.

The commit enables the “search engine promo” by default – a flag which will show a promotion dialog about enabling other search engines depending on your locale. Chrome’s LocaleManager details what Chrome will do when the device is determined to be in a “special locale” (though interestingly enough, I haven’t been able to find exactly which locales are deemed to be “special”).

There are 4 different states that Chrome determines the user to be in – “don’t show”, “new”, “existing”, and “sogou.” “Don’t show” clearly means that the user should not be shown a search engine promotion dialog as they are not located within a special locale. The “new” state means that user is setting up Chrome for the first time, so the browser will show the DefaultSearchEngineFirstRunFragment that provides a layout of available search engines to choose from on first launch. “Existing” refers to users already using Chrome, which will call the DefaultSearchEnginePromoDialog method to force users to choose a default search engine from a provided list. The dialog is not cancellable and cannot be bypassed. Finally, and what I believe to be the most interesting, is the “sogou” state. Presumably if installed in China, Google Chrome will set the default search engine provider to be Sogou – China’s second largest search provider.

The SpecialLocaleHandler determines whether or not to set Google search as the default search provider based on Locale. The DefaultSearchEngineDialogHelper method handles listing which search providers will be listed once called. Interestingly, there’s a routine within this method that quite literally shuffles the search engine list in random order, presumably so that which provider is listed at the top of the list is totally random.

Although this search engine promotion dialog will currently only be shown in China and Russia, we wouldn’t be surprised if users in the European Union will start to see this in the future. Especially since the EU and Google are embroiled in ongoing litigation about Google applications being pre-installed on Android devices – a practice which the Russian FAS already ruled to be anti-competitive. If Google were to lose the Android case in the EU, then this search engine promotion dialog may become the rule rather than the exception.



from xda-developers http://ift.tt/2snUmdp
via IFTTT

Sony’s Xperia Z3+, Z4 Tablet, and Z5 Series Get Updated to Android 7.1.1

Despite the fact that we’re expecting Android O to be officially released within the next three months, there are still plenty of Android devices out there that are not running the latest version of the OS (Android 7.1).

Google and other OEMs have gotten better and better over the years at making sure all current flagship models stay as up-to-date as quickly as possible, and the latest batch of Android devices to get updated to Android Nougat comes from Sony.

In this latest wave of updates, Sony bumped up the Xperia Z3+, Z4 Tablet, Z5 Compact, and Z5 Premium to Android 7.1.1. The build number for these devices are all changing from 32.3.A.2.33 up to 32.4.A.0.160, and along with the new Android version, all four of these gadgets are also receiving the latest June 1, 2017 Android security patch.

Prior to this latest wave of updates, the last Sony handset to get the Android Nougat update was the Xperia XA Ultra. Although that phone was only updated to Nougat 7.0, the new software brought a serious performance boost and made using the handset considerably more enjoyable.

Assuming these other Sony devices see a similar boost in speed along with the regular host of Nougat features, Xperia users could be in for a real treat with this latest software release.


Via: Xperia Blog



from xda-developers http://ift.tt/2snmBsE
via IFTTT

OnePlus is Aware of the Jelly Scrolling Effect Some OnePlus 5 Owners are Reporting

With the release of any new smartphone, we quite frequently receive reports about potential hardware or software issues that the Quality Assurance (QA) team may have missed. This occurs because issues that may be present in a small batch of smartphones might not be picked up until the phone is more widely available, as it is impossible for QA to catch every potential issue prior to release (though intelligent sampling of production devices often mitigates this issue). One such issue that is cropping up all over the OnePlus 5 forums on XDA, Reddit, and the official OnePlus forums is what users are calling the jelly scrolling effect.

Rather than attempt to explain what it is I am talking about, I’ll let a quick video do the talking (via /u/Ready2Feed). If you aren’t seeing it in that video, how about another one from YouTuber Damir Franc?

If you still don’t see what I’m talking about, look for when the screen is being scrolled more slowly – text bunches up together and stretches when you swipe the other way making it appear as if part of the screen is not being refreshed as quickly as others. Once you see it, you can’t unsee it.

But if you try and replicate this issue on your own shiny, brand new OnePlus 5 – you may not notice it happen. The issue does not appear to universally affect each OnePlus 5 device, and there so far is no way to tell if your device will be affected by this issue besides actually attempting to replicate it yourself. In fact, we have yet to encounter this issue on our own review device, but have been told that a few reviewers (such as Damir Franc as linked above) have experienced this issue.


What is behind this issue?

A few theories have been thrown around.

First, a user on our forums noticed that Vertical Sync (VSYNC) was constantly being toggled on/off. An explanation of what VSYNC does in Android is beyond the scope of this article, but briefly it’s a method for the frame rate to be capped at the display refresh rate of the device (typically 60 Hz). I asked XDA Recognized Developer SultanXDA what he thought of this explanation, but he believes this is unlikely to be the cause of the jelly scrolling effect. According to him, VSYNC appears to be toggled when nothing on the screen is currently animating, hence there is no need for VSYNC to be active. He believes this is normal behavior unrelated to the OnePlus 5 jelly scrolling effect.

Second, and the more commonly put forward explanation, is the idea that the OnePlus 5 display is mounted upside down. Users are pointing out that when holding any other phone upside down that they can then see the same jelly scrolling effect on those devices – hence the fact that this effect occurs on the OnePlus 5 in its natural orientation suggests that the display is mounted incorrectly. Some users believe that this issue occurs because of the way the screen refreshes with respect to the display mounting orientation. I again approached SultanXDA to see what he thinks of this explanation, and he isn’t convinced that this is the issue. According to him, the video controller drivers in the kernel should be able to compensate for any display mount angle. If indeed the panel was mounted upside down and the video controller was not set up properly, the display would look “totally wacky.”

Instead, it may just be a boring software bug. SultanXDA is open to the possibility that he’s wrong, but at the very least the two above explanations put forward by the OnePlus community should not be taken as gospel.


Should you return your OnePlus 5?

Many users are crying foul and suggesting others immediately RMA their phone if they encounter this issue. To be fair, a consumer has every right to be concerned about the display given that they’ve paid hundreds for this brand new phone. However, given the opinion of SultanXDA, if it is indeed merely a boring software bug, then that means this is something that OnePlus can fix in a routine software update.

We have already reached out to OnePlus about this issue and can confirm that the company is looking into it. We do not have any information from OnePlus about what they believe is causing this issue on certain devices, nor do we know what plan of action they are to take. We hope to have that answer soon for those of our readers suffering from this issue.

P.S. don’t believe everything you read from online support. Not to throw them under the bus, but they often don’t have access to the same quality of information as PR representatives. We were told by our PR contact that the information posted in that thread is at the very least inaccurate.



from xda-developers http://ift.tt/2ujyLUJ
via IFTTT