LightBlog

dimanche 3 juin 2018

Enable Google Chrome’s new design with one Chrome flag

The Google Chrome browser is open source, so we can track progress on its development quite easily. We've seen how Chrome is getting more optimized for touchscreen devices like the HP Chromebook X2 and the Acer Chromebook Tab 10, how a major Material Design revamp is underway, and how Chrome OS is receiving Android P-esque user interface changes. We cover the most interesting new Chrome flags that we discover, but it can be annoying having to dig around and enable multiple flags just to test all of the latest features. Google will be making that easier for us by consolidating all of Google Chrome's new design behind one Chrome flag.Google Chrome Material Design refresh

What Google Chrome's new "Touchable Refresh" interface looks like. Touchable Refresh combines the touch optimizations and the new Material Design changes. Enable it at chrome://flags#top-chrome-md

The flag, called "uifood", is already available in the latest Chrome Canary and Chromium nightlies. You can enable it by pasting chrome://flags#uifood into the address bar. The Chrome flag is available for Mac, Windows, Linux, and Chrome OS.

Google Chrome Material Design

Currently, enabling it doesn't do much. We've been tracking progress on this flag since it first popped up in the Gerrit Code Review, and you can see how the Chrome team is slowly starting to wire support for all of their new UI features into this one flag. If you are interested in testing the latest Chrome design changes on your device, then we recommend enabling this flag to make things a bit easier for you to keep up with!



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

Ordering from Starbucks, Applebee’s, & Dunkin’ Donuts now available in Google Assistant

At Google I/O 2018, Google announced that food delivery and more restaurant services would be making their way into Google Assistant. The services mentioned such as Starbucks, Applebee's, and Dunkin' Donuts are now rolling out support for ordering food via Google Assistant on all supported Assistant devices.


Starbucks

The Starbucks action in Google Assistant is an action that will allow you to order your favorite drink or food from Starbucks then pick it up in the store. Starbucks currently has mobile orders through their own app with the same features. This new action will allow you to tell Starbucks what you want to order and where you want to pick it up. After you do that it will be ready when you get to the store. The action supports Google Home devices, the assistant on phones, tablets, headphone, and Chromebooks.

 

Starbucks Google Assistant Starbucks Google Assistant

To set up the Starbucks action on your phone assistant, you are going to need to say "talk to Starbucks." It will then link you to sign into a Starbucks account to get started. You will need a payment method in either Google Assistant or Starbucks to be able to make purchases. It will find the Starbucks nearest to you and ask you if you want to order your drink and food for that location. It will be based on your address, but it allows for you to go to a Starbucks in a different location if you don't want to order from that store.

Starbucks also has a few new pages on their support site involving Google Assistant. Here are the support pages and their topics:

This feature seems useful for me. With routines now supporting the addition of custom ones, you could set a routine to order Starbucks and get directions to work in the morning when you get in your car.


Applebee's:

The Applebee's action works by letting you order your favorite meal through Google Assistant. You can then have your meal delivered through Applebee's. The action connects to an Applebee's account that then allows you to order food through there. It will use your address on your Google account to get a delivery address. You can say "Ok Google, talk to Applebee's" to learn more and order your own food. You can also save your favorite meal and reorder it easily. This action works on any device Google Assistant is available on.

 


Dunkin' Donuts:

Dunkin' Donuts works just like Starbucks. You order your food and coffee through Google Assistant and you can pick it up at the store without needing to check in. You just walk in and pick it up. With the Dunkin' Donuts action, you can order those donuts and coffee on your way to work with a routine to order it then pick it up on your way.

 


The other food-service partners mentioned during I/O such as Domino's Pizza and Panera Bread are also now supported. Try these out and let us know if you find these integrations useful!



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

samedi 2 juin 2018

Developer releases basic 2D Daydream VR launcher for the Lenovo Mirage Solo

The standalone Lenovo Mirage Solo Daydream VR headset is actually capable of launching two-dimensional apps and games, but the device by default provides no way of doing so. You have to use a cumbersome workaround involving installing the app remotely from the Play Store on a PC, then opening Settings on the Mirage Solo, then opening the app settings page that you want to launch, then launching the Play Store details page for the app, and then finally tapping "open" to actually launch the app you want. The full steps outlined by UploadVR show you just how tedious this can be. Fortunately, a developer has released a 2D app launcher that lets you launch other 2D apps without going through this painful process.

As a brief reminder, the Mirage Solo is the first Daydream VR headset with Google's WorldSense technology for tracking your location and Project Seurat for high-fidelity VR scenes. It offers 6 degrees of freedom tracking and ships with the Qualcomm Snapdragon 835 system-on-chip. (In comparison, the Oculus Go offers 3 degrees of freedom tracking and ships with the Qualcomm Snapdragon 821, though it retails at $199 compared to the Mirage Solo's $450 price.)

Over on Reddit, developer /u/ssshhhhhhhhhhhhh has released a modified version of the open-source KISS Launcher. (The source code for his modifications can be viewed here.) The modifications they made allow KISS Launcher ('SIKK Launcher') to be launched from the Daydream VR Launcher. Once launched, you can easily search for your installed 2D apps by either typing the name to filter the list or by scrolling through the list with your controller. Previously launched apps are automatically added to the home screen for quick access, and these can be favorited so they'll be pinned to the home screen.

Lenovo Mirage Solo Daydream VR Lenovo Mirage Solo Daydream VR Lenovo Mirage Solo Daydream VR Lenovo Mirage Solo Daydream VR

Note: The screenshots above are from my Google Pixel 2 XL since I don't own a Lenovo Mirage Solo.

The benefits of this app, according to the developer, are as follows:

  • Launch Google Photos and select automatic backup so you can easily backup screenshots and screen recordings.
  • Launch Bluetooth settings quickly to pair new Bluetooth devices. The developer states that pairing Bluetooth headphones worked for them and that multiple users report that pairing gamepads will work.
  • Of course, you'll be able to launch your 2D apps much more quickly than before.

Check out UploadVR playing PUBG Mobile as an example of the crazy things you can do with 2D apps and games on the Lenovo Mirage Solo.

There are a few things you should be aware of before you go messing with 2D apps and settings on your Mirage Solo:

  • Do not disable Bluetooth. Your VR remote relies on Bluetooth to communicate with the headset. If you turn off Bluetooth, you won't have a way to control your device.
  • Enable USB Debugging and set up ADB. If you do happen to mess anything up, then you can fix most of your problems if you have ADB set up with your PC. (For example, if you accidentally disable Bluetooth but you have ADB then you can toggle Bluetooth on via the following command: svc bluetooth enable).
  • Bug: The home button sometimes only launches the current app. The developer is unsure why this happens but states a simple reboot will fix the problem.

Are you ready to try this launcher? You can download it from the below link. You'll need to sideload it, though, as the developer states that the high standards of the Play Store prevent him from even attempting to submit this app online. You can sideload the APK with ADB or by downloading it from the original thread via Google Chrome.

Download the modified KISS Launcher for the Lenovo Mirage Solo Daydream VR headset



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

A mid-range Google Pixel with the Qualcomm Snapdragon 710 may launch in 2019

According to a comment by notable leaker Roland Quandt from WinFuture, Google is reportedly planning on launching a mid-range Google Pixel device with the Qualcomm Snapdragon 710 system-on-chip in the first half of 2019.

A return to their roots?

  • The Google Pixel series of smartphones is a flagship line-up. They all cost a pretty penny because they feature the latest Qualcomm Snapdragon chipset (the Qualcomm Snapdragon 821 on the Google Pixel and Google Pixel XL and the Qualcomm Snapdragon 835 on the Google Pixel 2 and Google Pixel 2 XL), the latest Android experience from Google with years of guaranteed support, and the best Google software such as the Google Camera app.
  • Before the Pixel, the Google Nexus was known for their flagship-tier specifications at a mid-range price (though that's really only true for the Google Nexus 4 and Google Nexus 5 as phones like the Google Nexus 6 and Google Nexus 6P were priced quite high at launch.) Many have wondered if or when Google would ever return to their roots by releasing at least a spiritual successor to the last Nexus smartphone.

A mid-range Pixel is just what we've been waiting for.

  • Indian media reported that Google was preparing to launch a mid-range Pixel smartphone around July-August of this year. If true, the mid-range Pixel could be the revival of the Google Nexus we've all been waiting for, even if it's not carrying the same name.
  • However, given the launch timing mentioned in Roland Quandt's tweet, it seems like this previously reported mid-range Pixel and the new mid-range Pixel may not be the same device. It's possible that the mid-range device that was rumored to launch this year has been pushed back to early next year, or it's possible that the mid-range Pixel may still launch this year but it will be followed-up by early next year.
  • The Qualcomm Snapdragon 710 is the highest-end chipset in Qualcomm's mid-range lineup. It may not pack the same punch as the Snapdragon 835 or Snapdragon 845, but combined with Google's prowess in optimizing their software for their hardware, this rumored mid-range Pixel should deliver a similar buttery-smooth experience that existing Pixel owners are used to. The only other Snapdragon 710 device that we know of is the Xiaomi Mi 8 SE.

A lower cost Pixel phone with the Snapdragon 710? Sign me up.



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

DOOGEE BL9000 is Now Available on Banggood & Select Pre-orders Get 50% Off

On May 28th, DOOGEE announced its brand new phone called the BL9000, and we went hands-on with it. This new BL model comes with a massive 9000mAh battery. Its continues the business style of the previous model, the BL7000. This phone is the best solution for people looking for a long lasting battery with NFC and wireless charging technology.

This phone is available now on Banggood from May 28th to June 3rd. If you buy the phone within this time frame, you'll be able to get a limited-time $50 discount promotion. If you happen to be one of the first ten orders, you will get a 50% discount at $124.99 as well as a C2 Wireless Charger as a free gift as well as a free 10W Wireless Charger.

While DOOGEE BL9000 includes a few world-firsts by being the first business phone to pack a super large battery, and also being the first phone to have wireless charging with a big battery. This model features a 5.99" display with a FHD+ resolution, Octa-core MT6763 P23 processor, 6GBs of RAM, 64GB of storage, and of course the 9000mAh battery. To make sure you can charge such a large battery in a short amount of time, DOOGEE has implemented their Pump Express 4.0 technology which is three times faster than regular chargers.

The camera features an 5+12MP rear shooter and an 8MP selfie camera with a front facing flash. The large pixel size of 1.25μm gives users better color range and excellent low-light images.

Don't miss your chance to get the BL9000 for only $199.99 for those who preorder.

Buy the BL9000 at Banggood
We thank DOOGEE 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 https://ift.tt/2JadvIW
via IFTTT

vendredi 1 juin 2018

How a graphics driver bug on the Samsung Galaxy S6 leaked Google Chrome tab data

Back in late March, a U.K. based start-up firm specializing in testing GPU reliability approached us with a GPU bug they discovered that causes the Qualcomm Snapdragon 845 Samsung Galaxy S9/S9+ to reboot when visiting a web page. The firm, called GraphicsFuzz, worked with us to report the issue to Qualcomm and Samsung. Some of our readers were interested in learning just how a company like GraphicsFuzz is able to find these vulnerabilities, so we collaborated with the company to showcase how they discovered an older GPU vulnerability. This already-patched vulnerability allowed an attacker to remotely "spy" on the contents of Google Chrome browser tabs on the Samsung Galaxy S6.

This user was viewing their bank's website before visiting the malicious web page. The contents were captured and uploaded to a remote server. Source: GraphicsFuzz.

How GraphicsFuzz finds GPU bugs

A graphics driver works by taking a shader program and sending it to the GPU to be executed and thus render the image. Before sending the shader to the GPU, the graphics driver translates it into a form that the GPU can understand; a faulty translation can lead to rendering failure, program or device crashes, wrong images, and even security issues. GraphicsFuzz has an automated testing suite that allows them to find these bugs based on a set of reference shaders. When a user runs their test, all the resulting images are supposed to look the same. Any image that looks different means there was a bug.

Results of several popular devices running the GraphicsFuzz test suite. The Samsung Galaxy S6, Samsung Galaxy S7, and Samsung Galaxy S8 are included in these charts. Source: GraphicsFuzz.

For the Samsung Galaxy S6, GraphicsFuzz discovered that the images in one of the rows were showing images that were supposed to be in another table. This means that images from earlier tests were leaking into later tests. The team then re-ran the test suite in Google Chrome and discovered that parts of the web page were appearing in the image. Furthermore, they found that opening another tab caused the image to show parts of other tabs. Essentially, this bug allowed one Google Chrome tab to leak information about another Chrome tab! The team behind GraphicsFuzz wasn't intentionally looking for security bugs, but they ended up finding one as a result of their testing. (It should be noted that the team reproduced the bug on the stock Samsung browser on the Galaxy S6 as well as Mozilla Firefox.)

How the bug works

Image used to trigger the long-running bug on the Samsung Galaxy S6. Source: GraphicsFuzz.

The "malicious" web page created by GraphicsFuzz uses WebGL to attempt to draw a space scene inside a canvas as shown above. The color of each pixel is determined by a fragment shader, a program provided by the web page to execute on the GPU. The GraphicsFuzz framework modified the fragment shader which caused it to run for a really long time. When a shader runs for too long, the browser or operating system typically aborts rendering. However, while the GPU aborted rendering after drawing a few pixels, the GPU driver didn't report this to Google Chrome. (If you take a look at the image at the top of the article showing garbage video memory, you can actually see parts of the space scene in the top left.) This means that the pixels that were rendered before the abort are left untouched, meaning the final rendered image is mostly garbage video memory. Since video memory is continuously used to render other web pages, the "garbage" data actually contains previous renderings of other web pages. Thus, other web pages end up being displayed on the "malicious" web page. Crucially, WebGL allows the web page to capture the contents of whatever is being rendered; this image is then uploaded to a remote server.

Diagram explaining the long-running GPU bug causing Chrome tab data to "leak." Source: GraphicsFuzz.

Google Chrome uses multiple processes so different tabs are often isolated, which makes this exploit seem impossible on the surface. However, Chrome interacts with the GPU using a single "GPU process", which means that all tabs share the same GPU memory, thus allowing this exploit to work. The diagram above shows this in more detail.

The bug is demonstrated in this video during the first 22 seconds. Other security issues found by GraphicsFuzz are also demonstrated.

Lessons to be learned

A misbehaving GPU can bypass all of Google Chrome and Android's security measures since WebGL allows any malicious web page to send code to the GPU for execution. Google can't fix GPU bugs since the company doesn't control the hardware and drivers. In this case, it's up to the GPU vendor (in this case, ARM) to fix the bug and the OEM whose devices are affected (in this case, Samsung) to integrate the fix in an update. Add carriers to the mix and it's easy to see how a bug like this can take a really long time to fix—it took at least 5 months for most Samsung Galaxy S6 users to receive the patch.

GraphicsFuzz helps GPU vendors find hard-to-detect bugs such as miscompilation bugs that cause the wrong code to be generated and executed on the GPU. Their automated testing framework allows them to find bugs such as the one showcased in this article. The long-running loop caused by the "malicious" web page has also been shown to cause issues on other devices such as the HTC One M7 and more recently the Samsung Galaxy S9. GraphicsFuzz tests flagship smartphones and publishes a results table which ranks these devices based on their performance on a subset of their tests. Hundreds of crashes and rendering errors have been found during their testing, but most aren't investigated to see if they pose a security threat. However, as shown by this exploit, a misbehaving GPU is a security risk, and it's possible that one or more critical security vulnerabilities are waiting to be discovered. GraphicsFuzz hopes that GPU vendors prioritize improving driver quality in the future.

GraphicsFuzz GPU Stability Results

Comparative reliability of graphics drivers, sorted by the number of total issues. Source: GraphicsFuzz.

Disclosure timeline

  • In December 2016, GraphicsFuzz reported the bug to the Google Chromium bug tracker because it was eligible for the Chrome Reward Program. After GraphicsFuzz submitted the bug to the Google Chromium bug tracker, the bug was accepted by Google and forwarded it to ARM and Samsung for patching.
  • Google forwarded the report to contacts at ARM and Samsung.
  • Samsung silently patched the bug and rolled out the fix in the Android 7.0 Nougat update that was released between March and June of 2017. Although there was no CVE created by Samsung, Google, or ARM and neither Samsung nor ARM released any information on the patch, note that GraphicsFuzz did not report the bug via the proper process.
  • Later, GraphicsFuzz was able to confirm that both Samsung and ARM had seen the report, and that ARM was able to fix the issue due to the report.
  • In August 2017, GraphicsFuzz was rewarded $2,000 by Google for the bug report.
  • In November 2017, the bug report was made public.



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

Samsung Galaxy Note 9 reportedly launching in August with upgraded camera

Samsung announced the Galaxy S9 and Galaxy S9+ earlier this year, which means the next major flagship will be the Samsung Galaxy Note 9. Samsung traditionally launches the new Note phones in late Summer/early Fall. A report from Bloomberg claims the Galaxy Note 9 will be announced at an "Unpacked" event on August 9th.

Bloomberg doesn't get into specifics, but they do say the device will include an upgraded Qualcomm processor and an upgraded camera. We're probably looking at the Qualcomm Snapdragon 845 and the camera from the Galaxy S9. Not exactly mind-blowing information, but the event date is still important. Surprisingly, there haven't been many rumors about specs for the Note 9. The last bit of information we covered was about Bixby 2.0 launching on the device.

The report doesn't say anything about the in-display fingerprint scanner. That has been a topic of much discussion for the last several Samsung flagship phones. First, they ran out of time with the Galaxy S8. It missed the Galaxy S9 as well. Then a report claimed it would be absent from the Note 9, but that was quickly flipped. So who knows what will happen with the Note 9. With devices like the Xiaomi Mi 8 launching with in-display fingerprint sensors, it seems inevitable that Samsung will figure it out.

There's still not a lot to go on, but at least we have a date to mark on the calendar. The event will take place on August 9th and we can expect the device to be released by the end of the month. The report did say that plans could still shift, so these dates may change.


Source: Bloomberg



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