Showing posts with label Android. Show all posts
Showing posts with label Android. Show all posts

Monday

,

OxygenOS is the foundation of the OnePlus 3T’s Great User Experience


OxygenOS has been OnePlus’s default and primary ROM for almost two years now, first released for the OnePlus One as a flashable zip for users to break away from the increasingly-unsupported but excellent CyanogenMod S ROMs their phone originally shipped with.


This software offering took center-stage with the OnePlus 2 back in 2015, a year full of devices we mostly remember for their flaws rather than their virtues. The OnePlus 2 itself almost encompassed all of the issues many people had with 2015 flagships — its Snapdragon 810 held it back, it removed up-and-coming features like NFC for no good reason, and then offered me-too (or me-first) hardware that wasn’t properly utilized, like the Type-C port devoid of USB 3.0 speeds or fast charging. OnePlus had a really good thing with their original “flagship killer”, but they blew it with their sequel, the punchline being the comical label of “2016 flagship killer”. The OnePlus 2 was an exercise in disappointing compromises, yet there was a short period of time through which I used that device exclusively despite having prettier, faster, and less-compromised smartphones within my reach. It was all thanks to OxygenOS, the one redeeming quality that allowed me to enjoy the OnePlus 2.


OxygenOS back then was a lot more bare-bones than it is now, with a slightly different design philosophy. Back at their originally unveiling ahead of the OnePlus 2’s launch, we learned that OnePlus wanted to create a slim and fast experience, not unlike the CyanogenMod 11S ROM their first phone shipped with. The AMAs with the software team further revealed that they were emphasizing staying close to stock, but adding tactful features that could only add to the experience. They somewhat nailed it with their first attempt, and OxygenOS was indeed extremely close to Stock Android, with relatively-fast performance on the OnePlus 2 and some features that preemptively emulated future features from the then-upcoming Marshmallow, while borrowing some custom ROM favorites as well.



The Good


In a way, custom ROMs were part of Oxygen’s DNA — by then, the OnePlus One already built a reputation among enthusiasts for being developer-friendly, and plenty of users loved the fact that they could get whatever feature or customization they wanted going on it. It was no surprise, then, that OxygenOS – a ROM that was also developed by some legacy custom ROM developers that OnePlus hired – would offer a similar feel; it really felt like a lightweight custom ROM in many ways, though with a higher degree of consumer-grade polish (granted, it still had a long way to go, as we’ll detail below).


It was with the OnePlus 3 that OxygenOS really got to shine. No longer was the lightweight ROM overburdened by faulty silicon — now it packed a faster, more-efficient Snapdragon 820 flanked by a copious 6GB of RAM and zippy UFS 2.0 storage. The OnePlus 3’s OxygenOS kept all of what made the original great, then further added to its feature set once more, in tactful and measured ways. I would go as far as saying that my initial impressions with OxygenOS on the OnePlus 3 beat those I’ve had with both any other OEM stock ROM, and even recent OxygenOS releases that haven’t matched the surprise I found while originally reviewing the device. It was a breath of fresh air, and while we see a relatively larger number of OEMs offering Stock Android ROMs today, I think OnePlus nailed it there and then. Some Nougat features, speedy responsiveness, a proper dark theme to make use of the device’s AMOLED panel, and an aesthetically-pleasing UI were all positives I loved from the get-go. Then OnePlus had to change some of that, momentarily.



The Ugly


The OnePlus 3’s Community Builds adopted a new user interface that deviated from the Stock approach of the original OxygenOS, changing colors and generally making it less attractive with worse proportions and animations in system UI elements like the notification panel, recents menu and settings. This wasn’t surprising when one considers that these changes were instrumental in the eventual merger of the OxygenOS and HydrogenOS frameworks.


The company figured out that a unified team working on a unified base with different application layers could help speed up updates, and address one of the more-criticized aspects of previous devices. The Community Builds, then, were growing pains that culminated in the (luckily short-lived) Marshmallow stock ROM for the OnePlus 3T. The concept of having community builds with various testing channels is brilliant and a great community engine, but at the time, said updates had disappointed me.



It felt like change for the sake of change, perhaps a petty compromise between Hydrogen and Oxygen



In my OnePlus 3T review, I noted I wasn’t a big fan of this new approach to software. While it didn’t deviate too much from the original OxygenOS, none of the changes felt clever or meaningful, and none improved upon the simplicity and effortlessness of the original package.


It felt like change for the sake of change, perhaps a petty compromise between HydrogenOS and OxygenOS, given both featured such disparate design philosophies. Enthusiast outcry and fan feedback ensued, and the company reversed the change with the Nougat update, which offers a Pixel-like blue for its default accent color and a more traditional user interface. It was at this point where OxygenOS not only redeemed itself, but also became my favorite flavor of Android– finally surpassing the Pixel XL’s, which I held in the highest regard.



The Bad


OxygenOS has also had (and overcame) many hurdles and criticism. Some of its more pointless features stubbornly remain in there, such as the Shelf feature which was permissible on the OnePlus 2, as it was a promise of things to come, yet is still a not worthy contender today. There have been numerous conscious decisions and unconscious mistakes, though, that temporarily opaqued the better parts of the ROM. For example, upon the release of the OnePlus 3, OxygenOS was massively underutilizing the hardware of the device. I was one of the few that called this out and proposed a solution, and OnePlus was quick to act and react to the criticism by modifying its settings and allowing for more apps to remain in the background. Still, it made us all ponder, why would they not allow their 6GB smartphone to actually offer the capabilities they proudly advertised?


Another short-lived complaint was the exclusion of an sRGB mode to balance out the saturated default calibration of OnePlus’ “Optic AMOLED” panel. The company set out to make its display stand out and went as far as giving it its own buzzword, yet it turned out to be extremely color inaccurate and saturated, and it even displayed some banding and contrast issues off the bat. AnandTech and independent reporters were quick to point this out, and OnePlus offered reviewers an OTA with a proposed fix which quickly trickled down to consumer builds. It was, once more, a quick fix, but it still begs the question: why would OnePlus advertise Optic AMOLED as a better viewing experience, when no metrics backed that up? Especially since the changes were mostly calibration, which wasn’t well-received at launch (luckily, sRGB mode ended up being surprisingly color-accurate).


And that’s not all. We also caught OnePlus cheating on benchmarks, through a code block that specifically targeted certain application packages by name, and then adjusted scaling behavior to minimize score variance. This was unacceptable and the company addressed it quickly enough, but at the same time, once more it makes us wonder: why would they? It’s not like it introduced critical gains, it’s not like the OnePlus 3 couldn’t sustain class-leading performance without artificial cheating mechanisms. We suspect that it might have been a result of the merger between the two different software teams, but that wouldn’t excuse the previously-mentioned decisions.


Nor would it excuse a plethora of decisions that raised our concerns over the phone’s security and software integrity, with some of the problems we reported like IMEI leaking being wholly within their knowledge and control. None of this can be dismissed, even if it doesn’t directly impact our forward-facing UX (the point of this article).


I do take solace in the fact that OnePlus has been addressing all of these issues, however, and listening to feedback from its forum-goers and enthusiasts from communities like XDA and reddit, as well as reviewers. We’ve actually influenced OxygenOS and prompted OnePlus to fix issues, remove non-sense or add or refine useful functionality. The company is clearly open to feedback, and while they have messed up their software support on previous devices, they seem to committed enough to the OnePlus 3 and OnePlus 3T. Which brings me to my next and final point.



One of OnePlus’ Crown Jewels


It is actually really impressive, from a customer’s perspective, to see OxygenOS evolve so much with such frequent updates and ongoing feature inclusions. It has seen near-constant improvement, though not always consistent. In this regard, OnePlus has redeemed itself from the atrocious support that its older devices received (and are still suffering). If ignoring the OnePlus X and OnePlus 2 was instrumental in achieving a better user experience on the OnePlus 3, then I am inclined to say it was a smart decision for the future of the company. Truth be told, OxygenOS has improved a lot and has adopted many, many new and useful features while cleaning up its mistakes and embracing a new personality through UI refinements. All of this wasn’t without growing pains, and it’s been a tumultuous ride at times, but when I look at the final package I can’t help but recognize the software is near-perfect for the demographic I belong to, the niche I am part of (and you probably are too), and what I personally expect from my device.


I am not the kind of person that believes Stock Android is an intrinsic good and a positive aspect of whatever phone decides to feature it, either. In fact, I find myself liking OxygenOS, and even TouchWiz for that matter, now that they are further from Stock — it just needs to be done right. The short-lived community builds pre-Nougat hadn’t done it well enough, just like Samsung’s awkward and early half-baked adoption of Material Design hadn’t done it right either. Now, both OxygenOS and TouchWiz have found their own identity and a matching UI that enables both to offer the features they need for the people they target. Not all OEM ROMs have been evolving equally in the past couple of years, and in my opinion, none have done it better than OxygenOS in the end, not even TouchWiz which I also believe has been getting a lot better.


It’s not that it’s close to Stock, but that it’s close-enough in all the right places, and that it changes what could use a better solution. It’s also not that it’s just fast, but that it’s as fast as I expect from this hardware. The features they added are ones I use frequently, such as scrolling screenshots and quick capture editing, and while they aren’t unique (Samsung, in particular, has introduced much of this way before), they are implemented rather seamlessly at no expense to the user. There are still bits and pieces to address (I, for one, would like to see more customization) but considering that this ROM was a quick patch to a rough legal problem, devised just over two years ago, OnePlus has done a very good job with OxygenOS and it makes for an exceptional daily driver.



What do you think of Oxygen OS? I want to hear your opinion as well, so sound off below!

,

Early reports indicate that Samsung’s new flagship devices are off to a pretty great start, with the lineup breaking the previous pre-orders records set by the Galaxy S7 and Galaxy S7 Edge. However, not all things are bright and beautiful: the Galaxy S8 and S8+ have attracted a quite a bit of criticism for its red-tinted display on some units.


The issue of reddish display first came to know when the Galaxy S8 and Galaxy S8+ went on sale in South Korea, with many owners posting images of red-tinted display of their Galaxy S8 units on social media sites. It was believed the culprit had to do with Samsung’s attempt to strengthen red color on their OLED panels. Samsung reportedly developed deep red OLED displays for Galaxy S8 devices in order to avoid the issue of too much green due to the uneven distribution of subpixels in a pentile matrix. Initially, Samsung denied such issue was due to a hardware fault and advised users to adjust the color balance on their devices from within the display settings. But as more consumers raised their voices on the issue, Samsung announced on Thursday that a new software update would be rolled out next week to readjust the color balance on affected units.


Now according to a new report from the US-based review publication, Consumer Reports, the problem of the reddish display on the Galaxy S8 is not something that one should worry about.


To check the veracity of the reddish tint issue, Consumer Reports tested eight Galaxy S8 devices and found that out of eight devices, four Galaxy S8 had slightly reddish tint. The publication also notes that the issue is not immediately noticeable unless the user is comparing the two devices side-by-side.



“Our display evaluators noted that displays of four of our test models appeared slightly more red than the other four. It’s unclear how much consumers might object to the red tint, especially if they weren’t looking at two phones side-by-side.”



Additionally, Consumer Reports also said Samsung would release the software update as early as next week to address the color balance problem.


So while the issue is still there in some units, the good news is that it’s just a result of a software calibration problem, or at least it can reportedly be addressed through software, and should be fixed with the upcoming software update.


Source: BusinessKorea



What do you think? Is Samsung underplaying the significance of the displays’ red tint, or is it really not a real issue? Sound off in the comments!

Sunday

,

Android O is around the corner, yet according to official statistics, Nougat is still installed on less than 5% of devices. We have good news for the owners of the T-Mobile Galaxy Note 5, though:


T-Mobile confirmed that the Nougat update will be available to flash next week. News of the confirmation have been delivered by T-Mobile’s “Gadget Guy” Des. According to the tweet, the rollout is scheduled for early next week. It’s version 7.0, which is a little outdated nowadays, but it is still a welcome upgrade.



The Galaxy Note5 is still technically the latest S-Pen device currently offered by the Korean OEM. Its successor, the Galaxy Note 7, was discontinued shortly after its premiere due to battery volatility.


This update for the Note5 is a good news both for users and developers working on custom ROMs for this device. A new version of Android means that users should see more TouchWiz Nougat ROMs in the near future.



Source: Android Police
,

Although OEMs such as Huawei offer their own theme managers, there are often elements (often related to the System UI) that cannot be altered by third-party themes. When you have root access on your device, though, you can bypass these restrictions and modify whatever you want. If you are on a Huawei or Honor device running EMUI 5, then check out this guide by XDA Recognized Contributor StrangerWeather that teaches you how to modify the background color and transparency of the quick settings.

,

It’s already been a month since Google released the first Android O Developer Preview (time sure flies by fast!), and as with any new version of Android – there’s a lot to dig into. We’ve published plenty of articles about Android O already, but there’s one feature that I feel hasn’t really received the attention it deserves: the Autofill Framework.


Autofill in Android O


Password managers are a dime a dozen these days (though we’re partial to the open-source KeePass), but it’s only with Android O that Google truly officially supports password managers. With Android O, third-party applications can fill the roll of an autofill service, which communicate with apps through the new Autofill Framework. Apps that use standard View elements will work with the Autofill Framework out of the box, though there are additional steps that developers can take to optimize for autofill to ensure that any of the app’s custom Views can be autofilled.


When an autofillable View comes into focus, the Autofill Framework will invoke an autofill request. The autofill service responds by sending back certain Autofill Datasets (such as the username, password, address, credit card numbers, etc.) that the user can then select. The autofill service is specified by the user in Settings –> Apps & Notifications –> Default Apps –> Autofill app.


Autofill App in Android O. Credits: Lastpass.



The explanation of the new Autofill Framework above is just a brief summary of what is happening on both the requesting app’s and the autofill service’s end. What’s most important for your understanding here is not the exact details of how autofill works in Android O, but the fact that the password manager apps themselves no longer handle detecting when a View can be autofilled.



Recommended Reading: AgileBits shows off what Android O’s Autofill Framework will look like



Autofill before Android O


Compare that to how autofill worked before Android O. Before password managers had any sort of official method to detect when a View could be autofilled, each application had to implement an Accessibility Service to scan the current View in order to find autofillable fields.



The use of an Accessibility Service, however, can result in considerable lag under certain conditions. The lag associated with your typical password manager’s Accessibility Service, though, is so apparent that popular services such as LastPass even have support pages up regarding the issue. These support pages typically tell you that your only recourse for dealing with excessive lag caused by their Accessibility Service is to either disable the Accessibility Service or switch to using their own custom input method. Either way, you lose any sort of autofill ability.


But why exactly does LastPass’s Accessibility Service, or any other password manager’s Accessibility Service, seem to cause so much lag? The reason is because of how these password managers have to utilize Accessibility Services to detect input fields. An Accessibility Service’s attributes are defined in an XML resource file within the APK, so we can see how the Service works by decompiling the APK file.


Below is the resource file taken from decompiling the LastPass APK:


<?xml version="1.0" encoding="utf-8"?>
<accessibility-service android:description="@string/accessibility_service_description"
android:accessibilityEventTypes="typeViewFocused|typeWindowContentChanged"
android:accessibilityFeedbackType="feedbackGeneric"
android:notificationTimeout="200"
android:accessibilityFlags="flagReportViewIds"
android:canRetrieveWindowContent="true"
android:canRequestEnhancedWebAccessibility="true"
xmlns:android="http://schemas.android.com/apk/res/android" />

From this, we can glean the following information: LastPass’s Accessibility Service requests two Event types to monitor – TYPE_VIEW_FOCUSED and TYPE_WINDOW_CONTENT_CHANGED. It does this because it needs to know when an app/webpage’s content changes or comes into focus, and then it retrieves the current window content to look for any password input fields. But since the service constantly does this on two extremely frequently firing Accessibility Events, it results in lag. For a more in-depth discussion of how Accessibility Services can cause lag, I refer to you my previous article on the matter.



Recommended Reading: “Working as Intended” – An Exploration into Android’s Accessibility Lag



Android O Kills Two Birds with One Stone


Prior to Android O, there’s not really much developers of password managers could do to mitigate this lag. That’s because password managers had no way of knowing when an autofillable input field was on the screen without enabling an Accessibility Service to constantly monitor for them. But thanks to the new Autofill Framework in Android O, these password managers can now retire their Accessibility Services. Instead, the apps that need data entry themselves will request the Autofill Framework to call the autofill service that will then send the data. Thanks to this new framework, not only will password entry become much easier for users since they no longer have to rely on an additional input method, but the lag associated with enabling password managers’ Accessibility Services will be a thing of the past.


I know that for some of you, this fact may not be ground-breaking, but I thought that since the discussion around the Accessibility Service was so mute this topic might have been worth rekindling. Just some food for thought this weekend!



What do you think of Android O’s new Autofill Framework? Let us know in the comments below!

,

The Raspberry Pi 3 is the third generation single-board computer made by the Raspberry Pi Foundation, and like all previous iterations, the tiny computer is incredibly affordable and easy to mod. If you own one of these boards and are looking to turn it into a media center, then try out XDA Recognized Developer tabp0le‘s builds of Android TV based on Android 7.1.2 Nougat. Currently, DRM content and the YouTube app are broken, but bugs are to be expected with any initial release. The build does work with Kodi, however, and definitely opens up the possibility for Raspberry Pi devices to access the full suite of Android TV compatible apps as development progresses.

Saturday

,

Cutting corners in a cut-throat market


Any press is good press, or so they say. That’s a phrase often used when a company finds itself in a precarious situation — but as Samsung learned first hand, in a hyperactive segment like this ever changing mobile space, the smallest misstep can turn out to have grave ramifications.


Huawei is learning this first hand with the negative press surrounding its recently-launched P10 and P10 Plus series of devices. They are no stranger to negative press surrounding the quality of their hardware. First came the Nexus 6P build quality debacle with shattering visors and bending devices, and recently the Honor 6X screen and build quality issues notched another one in their belt. One would think they would be walking a finer line when it comes to their smartphones, but the latest news surrounding them says otherwise.



As Aamir wrote about in an earlier article, Huawei is in the midst of a controversy due to how it handles its flagships’ components. They have already admitted to sourcing components from various sources, but further investigation is showing that these components feature vastly different technologies and capabilities from RAM speeds to the type of internal memory that is used. Utilizing components from various sources is a very common practice among OEM’s. Samsung does this with its cameras in its flagships known to alternate between its own ISOCELL sensor and a Sony one. Apple does this with its SOC’s alternating between Samsung and TSMC for manufacturing (which has brought its share of negative press) and it is widely known that HTC sources its displays from multiple partners too. 


Batteries, displays, cameras, internal storage, and RAM can all be sourced from various partners. This helps supply chain constraints and it can also help with quality assurance… generally, it is perfectly fine. What is not fine is when these components offer vastly differing experiences depending on your luck of the draw, which is what Huawei is offering right now. While many users may never notice a difference between LPDDR3 and LPDDR4 or UFS 2.1 and eMMC 5.1; there is a quantifiable difference, and when you are paying flagship prices every customer deserves the same or at the very least a similar experience. By giving users a random combination of RAM and storage types, their customers aren’t buying a flagship, but a lottery ticket for a chance to earn the full product Huawei advertised.


Unlike other cases of component variety with a smartphone line, a large part of Huawei’s advertising relied entirely on the flagship components a user might have. Huawei, like many other Chinese manufacturers, puts a clear and heavy emphasis on marketing their devices’ power and performance. It’s no surprise, then, that they’d pick the faster RAM and UFS2.1 storage as talking points for their ad campaigns and promotional materials. In fact UFS2.1 was advertised for all markets of the Mate 9 as recently as last week; however, today only a few market pages actually show that specification. Obviously, though, it becomes a problem when a significant portion of P10 customers may not get the UFS 2.1 storage, or the LPDDR4 RAM, or both. People paid for a flagship under the notion that they’d get a flagship, with flagship components throughout. When people pay for a Samsung device, ISOCELL and Sony sensors offer comparable performance with differences that, to my knowledge, haven’t shown significant and quantifiable deltas — there is a mostly-lateral difference between the two. There is a clear hierarchy between LPDDR4 and LPDDR3 RAM, however, and the same goes for UFS 2.1 and eMMC 5.1 storage.



A worrying aspect to much of this is what it means for what Huawei is as a company, and what it’s trying to do. Giving credit where it is due, Huawei devices have come a long way. The Mate 9 and Honor 8 Pro are fantastic phones offering a solid build, vastly-improved software, and an overall appealing package. Huawei is trying hard to break into the large and somewhat stagnant US market and while on the surface they have nearly all the components to succeed, the lack of good decision making from Huawei serves to undermine all that they have accomplished. It’s not just their phones that have this issue either.


The Huawei Watch was and still is one of the best Android Wear devices you can buy today; it has a stellar screen, fantastic look, excellent battery life, and more. But instead of capitalizing on its success, Huawei has made one of the most boring and uninteresting devices to date – the Huawei Watch 2.


Similarly, the Honor 5X was a solid piece of hardware crippled by its software, which can be easily remedied. But instead building on that solid foundation they release its successor – the Honor 6X – which ships with an out of date OS version, crippled build quality, and packs one of the least durable displays on the market. The P10, which we have been speaking about, also ships with no oleophobic coating which is not only a standout in the market (particularly its segment), but is also just dumb. The recent string of decisions from Huawei are troubling seeing as their success in the US market, which can greatly help them in the long run, depends largely on enthusiasts, positive media coverage and word of mouth at this time; and despite my largely positive experiences with the Honor 8 Pro and Mate 9 I am hesitant to recommend them friends and family. The North American market does not appreciate corner cutting, and Huawei is truly not breaking away from the stereotype that troubles Chinese manufacturers in the US so much.


While Huawei’s decision making in these past few months leaves a lot to be desired, there is still time for them to correct their course and get back to improving their offerings. They need to be cautious though, they do not have the clout of a company like Samsung which can fairly easily rebound from total meltdown. There were some who thought Samsung would never come out from what happened with the Note 7, but soon after the S8 announcement they are boasting some of the best preorder numbers yet. Huawei makes a compelling phone with software that is quickly catching up to the competition, they just need to make sure they don’t shoot themselves in the foot by poor decision making because in an ultra-competitive market, someone is always nipping at their heels.



What do you think about the P10’s hardware lottery? Let us know in the comments.

Friday

,

When it comes to security, the recently-released Galaxy S8 and S8 Plus offers a plethora of authentication options a user can choose from to securely unlock their device. The user can choose whether they want convenience over security or vice versa and set an unlocking method accordingly. The device comes with a fingerprint scanner, iris scanner, facial recognition feature as well as all the standard Android security options such as PIN, pattern, and password to offer enhanced security.


While security options like the fingerprint scanner and face unlock can easily be found on other Android devices, too, the iris scanner is something which you will only find in the Galaxy S8. The iris scanner, as the name suggests, requires scanning user’s eyes before granting access to the device, and is arguably one of the most secure among other biometric security options.


The iris scanner is believed to be more secure and harder to manipulate for attackers than, say, fingerprint scans and passwords. So it shouldn’t come as a surprise that banks and stores will be interested in taking advantage of the Galaxy S8’s iris scanning capabilities to authenticate mobile purchases in their services.


According to a report from The Korea Herald, a number of financial companies in South Korea are looking to offer users with an option to authenticate digital transactions with the iris scanner on their Galaxy S8. One of the companies seeking to implement such support in its mobile application is Samsung Card Co., a subsidiary of Samsung Life Insurance and also the largest credit card company in South Korea, the report states. Other big financial companies such as Shinhan, Hana, and Woori are also said to be planning to add the feature in their services.


The report squares with a previous report which also suggested that Samsung would make use of iris scanner and other biometric security options available on the Galaxy S8 to strengthen security while making mobile payments.


This will be the first time the iris scanner will be used to authenticate digital payments. The last year’s Galaxy Note 7 was the first to come with an iris scanner, but at the time, its usability was only limited to unlocking the device and logging into accounts.


SOURCE: The Korea Herald

,

Despite the fact that Google’s Chrome browser is the market leader in Internet browsers, Google is always working to bring additional features to millions of users in order to stay competitive. Scroll anchoring is one such feature that, after nearly 10 months in testing, was finally released to end users. But even if it takes Google months to officially release its experimental features, users can go to chrome://flags to try them out right now. Just recently we showed you how to enable the new Custom Context Menu feature in Chrome Dev or Chrome Canary, for instance. This time, we wanted to talk about a potentially exciting feature that Google is working on called copyless paste.



Copyless Paste


This new feature can be found in Chrome versions 59+, meaning users on the Chrome Dev or Chrome Canary channels can access it. All you have to do is paste the following text into your address bar: chrome://flags#enable-copyless-paste.



Just based on the description of this flag, it seems like a really smart change to potentially integrate Google Chrome with the rest of the apps on our device. The feature promises to provide suggestions for text input based on recent web browsing context, and as an example it states that if you are looking at a restaurant’s website and switch to the Google Maps app then the keyboard would display that restaurant’s name as a search suggestion.


Unfortunately, it doesn’t appear that this flag actually works yet. I’ve tried going to numerous restaurants’ webpages and then opening the Maps app, but I never saw the text input suggestions in Gboard that the feature promised. I’ve also asked a friend running Android O to try to get this feature to work, but to no avail.


We’ve heard rumors of this feature being worked on before Android O was officially unveiled, and based on the description of the “Copy Less” feature that was exclusively provided to VentureBeat at the time, we have strong reason to suspect that this Chrome flag and the rumored feature are one and the same.


I am not exactly sure how this feature actually works under the hood (any experts in Chromium are free to chime in), but I do know that it is currently in active development and testing so it may take some time for this feature to actually start working.


We’ll be following the development of this feature to see how it pans out, and will update you if/when it starts working.

,

XDA Junior Member  passed along some news about the European and Asian variants of the P9000 from Elephone finally receiving its Android 7.0 Nougat update. Some people are reporting minor bugs about the update, like when trying to play something with Google Play Music, but most seems to be in working order. Elephone says this version needs to be flashed but future updates will be rolled out via OTA notifications.

,

Google is constantly at work adding additional features to the world’s most popular internet browser, Chrome. Given the sheer number of users that rely on Google Chrome on a daily basis, Google rolls out new features after a lot of internal testing. It took nearly 10 months for the scroll anchoring feature to begin officially rolling out, for instance. Although some of these features may take a long time to officially roll out, users can still try them out by enabling the experimental flag in chrome://flags. Today, we would like to draw your attention towards one such experimental feature known as the custom context menu, which revamps the look and feel of the context menu that pops up when you long-press any link, image, or video.



Chrome’s New Context Menu


For years, anytime you long-pressed a link, image, or video in Google Chrome you would see a dialog of text buttons show up. Spend enough time with Chrome and you’ll grow accustomed to where exactly you need to tap as soon as the dialog shows up. Google wants to do away with potential misclicks and confusion by changing the way the long-press context menu looks.



Here are some screenshots of the changes to give you a better idea of what I’m talking about:


As you can see in the screenshots above, the new context menu adds icons to help you quickly decide which option to press. For the link context menu, the URL is collapsed by default, which makes longer URLs (such as those copied from a Google search) take up much less screen space. Tapping on the URL in the new context menu will expand it. The new image context menu also adds a small thumbnail of the image that you long-pressed on, which is pretty cool. The video context menu doesn’t add anything extra apart from a download icon next to the text.


Finally, in those cases where long-pressing opens up a context menu that lists both link-based and image-based options, such as when you long-press on a thumbnail image that is part of an article, the new context menu separates the link and image context menu options.



Admittedly, the new Custom Context Menu doesn’t really add much to Google Chrome in terms of features. However, for those of us who frequently use the context menu to share links, images, or videos, this revamp is certainly a welcome quality of life change.



Enabling the new Context Menu


Chrome’s new Custom Context Menu can be enabled on Chrome versions 59+. On Android, that means users who are on the Chrome Dev or Chrome Canary channels. If you are on either of these builds, you can enable the flag by pasting the following text into your address bar:


chrome://flags#enable-custom-context-menu

Change “default” to “enabled” then tap on the button that shows up asking you to restart the browser. You should now see Chrome’s new context menu.



What do you think of this UI change? Let us know in the comments below!

Thursday

,

Not many think about ZTE when they think of a smartphone company that is doing well these days, but they have had a good year so far. ZTE is still facing fierce competition from the likes of Huawei and Xiaomi, but profits show they are bouncing back some. The company recently released their financial report which showed an increase in profits of almost 30%. The company attributes this thanks to increased sales of both carrier network solutions as well as smartphones.


Many of you already know about ZTE’s smartphones, but the company also has Pre5G products deployed at over 40 networks in 30 countries. So now the Chinese multinational telecommunications company is switching things up with some of their executives. The person who was previously in charge of ZTE’s entire mobile business was Yin Yimin. However, last month the company named Mr. Yimin as a new chairman so now he’s stepping down from the previous role he had.


To take his place, ZTE has announced they will bring over the person who has been in charge of ZTE’s United States division. Cheng Lixin has been president of the company’s North America mobile devices business since 2010. Mr. Lixin will now take the place of Mr. Yimin and will now be the president of ZTE’s entire mobile devices division. ZTE came to this decision since the United States market is the strongest for the company, so they feel it makes sense for him to take the lead.


This change in leadership comes after ZTE pled guilty to a sanctions case with the United States just last month. The investigation has been going on for 5 years and ZTE thought it was best to end it quick when they had the chance. The company has agreed to pay hundreds of millions in fines as well as move around some of their senior management staff.


Source: Reuters

,

Huawei had released the Huawei P10 and the P10 Plus at MWC 2017. The devices featured an excellent set of specifications including the powerful Kirin 960 processor, 4/6GBs of RAM, a fairly decently sized battery and sharp camera setups.


Consumers who purchased the Huawei P10 and P10 Plus expect nothing less from the device. After all, the phones did cost €649 ($685) and €699 ($738) respectively, which is not exactly the most affordable price tag. But it seems, users may have been getting less than what they expected.


As initially reported by GizmoChina, early adopters of the P10 and P10 Plus started reported large variances in the storage speeds on the device. Users who ran AndroBench to benchmark their storage speeds were surprised to find a very large variance in the reported speeds, with some users reporting sequential read speeds of over 700MBps, some getting ~500MBps, others getting ~400MBps and some even getting under 300MBps. The results definitely raised some questions as they indicated that there could be differences in the storage specifications of the devices.


Android Authority reached out to Huawei on the issue, to which Huawei admitted that it is using memory chips of different specifications on the P10 and P10 Plus!


Huawei did not go into specifics on the different combinations available, but collected data from early adopters indicates that the two phones can feature any combination of LPDDR3 or LPDDR4 for the RAM and eMMC 5.1, UFS 2.0 or UFS 2.1 for the storage.



Full Statement from Huawei



We are aware that there has been some recent online discussion in China regarding the flash memory in HUAWEI P10/P10 Plus.


Huawei employs the highest standards when selecting technologies and components for use in its products; we prioritize user experience, product quality and stability of supply. The HUAWEI P Series of smartphones is one of the company’s global flagship series and has become hugely popular worldwide, thanks to the excellent photography experience it provides. This popularity has led to enormous demand.


To meet global demand of millions of units, Huawei has employed the standard industry practice of sourcing solutions from multiple trusted suppliers to ensure a balance between user experience, quality and sustainable supply. Relying on a single component supply can lead to a shortage, meaning delays for consumers who wish to buy our new products. In the case of flash memory, in this instance, Huawei has chosen multiple simultaneous mainstream solution suppliers.


Huawei is and always has been, above all, committed to providing an extraordinary user experience. The performance of a single component can’t exactly reflect the overall system performance of a smartphone and these scores are not applicable in actual use scenarios.


Among all HUAWEI P10 marketing collateral, there has been no commitment to the use of only one specific flash memory. Different flash memory components are shipped randomly based on the supply at that time. There are no period batches or manual selection for chip batches, nor is there any discrimination or intention to defraud to consumers. Our approach is to measure the overall performance of our phones through software algorithms and chip tuning, rather than to focus on any single component.


In the HUAWEI P10/P10 Plus, we use multiple different suppliers for flash memory, which have been subject to strict and rigorous testing as part of our finished products, so as to ensure the excellence and consistency of user experience that we strive for. This has been reflected in the overwhelmingly positive worldwide response to the HUAWEI P10 since its launch, thanks to its beautiful design and the stunning artistic portrait photography experience it delivers.


Smartphone manufacturing is an industry with a very long supply chain. Huawei is committed to making the user experience the core factor in product design and innovations. We will continue to work closely with our partners to optimize the industry ecosystem and deliver even better products and experiences to consumers.



Huawei admits it is sourcing solutions through “multiple simultaneous mainstream solution suppliers”, which is marketing speak for using components of different specifications in different batches. While smaller variances exist and are unavoidably widespread across any electronic device because of how supply chains work, such large variances mean that a subset of users are getting devices that perform objectively worse than others, despite paying the same price for the device.


Huawei did cleverly foresee part of this problem when it launched the P10 and P10 Plus, as none of the marketing material of the device mention one specification of storage and RAM that will be used. Instead, the materials were mute on the specifications, so the company can claim that there was no misrepresentation on their end. So as far as the ‘quantity’ of RAM and storage were concerned, Huawei was true to its word and delivered accordingly; but as far as the ‘quality’ is concerned, Huawei can state that they did not mislead consumers since there was no marketing guarantee to begin with.


To rub more salt onto the wounds, Huawei claims that “the performance of a single component can’t exactly reflect the overall system performance of a smartphone and these scores are not applicable in actual use scenarios”. While these scores cannot exactly reflect overall performance, they are good indicators of performance in many scenarios. The differences between LPDDR4 and LPDDR3 are significant, and so is the difference between eMMC 5.1 and UFS 2.0 and UFS 2.1. Our very own Mario encapsulated the superiority of UFS 2.0 over eMMC 5.1 when analyzing why the OnePlus 3 was such an excellent device for real world performance.



The problem does not end here for consumers and potential consumers. Huawei says that “different flash memory components are shipped randomly based on the supply at that time”. So there is no way for a potential consumer to find out which combination of specifications is present in the device in front of him, unless he manages to install and use a benchmark app before making his purchase.


For users who have already purchased the device and have drawn the ‘bad’ lot with the combination of eMMC 5.1 and LPDDR3, there is no recourse available unfortunately. Even if they do return their device and get a replacement (which is unlikely in this scenario as this is not considered a ‘defect’ in any form, nor was there any misrepresentation on Huawei’s end), there is no guarantee that they will get a better combination. Huawei denies “any discrimination or intention to defraud to consumers” because their selection is random and not manual.


So if you do end up with a P10 or P10 Plus that is not the best combination, all we can recommend is to live with it. eMMC 5.1 and LPDDR3 are not unusable configurations by any means, and if your experience thus far has been great with the product, then this revelation does not change that fact. Still, it is concerning to pay the same flagship price for this product that others are paying, only to end up with a slower components.


What are your thoughts on the Huawei P10 and P10 Plus’s memory and storage specification debacle? Do you know of other OEMs who have done something similar with their products? Let us know in the comments below!



Source 1: GizmoChina Source 2: Android Authority

,

Ever since Google first introduced the concept of software navigation keys to Android, users have been asking for a way to customize what keys are available to users. Although custom ROMs have offered this level of customization for years, it’s only in the first Android O Developer Preview do we find an official method from Google to modify the nav bar. However, like many features before it, this nav bar tuner did not appear out of nowhere, and was actually secretly in testing for Android Nougat. It was only recently, though, that we discovered that this hidden nav bar tuner in Android Nougat can actually be accessed without needing root access, a custom ROM, or System UI mods. Hence, a new avenue of rootless customization has opened up for many users, and today we’ll be guiding you through one popular request: how to add media playback controls to the nav bar when playing music (Android 7.0+, no root needed!)



As you can see in the screen capture above, my test device (an unrooted, bootloader locked Google Nexus 6 device on Android 7.0 Nougat) has the standard set of nav bar keys until music playback is initiated in Google Play Music. When music playback begins, two new keys are added to the nav bar: a button to play the previous track and a button to play the next track. These keys stay on the nav bar until I dismiss the Google Play Music notification – that way, I can still use my phone for other apps while retaining these playback control keys until I decide that I’m done listening to music.


Although my screen capture above shows this setup being used for Google Play Music, this can easily be modified to work with virtually every music, podcast, or radio app that’s out there – so long as that app displays a notification during playback and accepts media previous/next keys (both highly likely). This tutorial is slightly modified from my original tutorial aimed at Android O users, however, many, many more users will be able to take advantage of this tutorial as it is not limited to users running the Android O Developer Preview. That being said, let’s get started.



Add Media Playback Keys to the Nav Bar when Playing Music


Requirements



System Requirements: You will need an Android 7.0+ device compatible with the AOSP nav bar customizer. Google Nexus, Pixel, and some Sony/HTC phones are known to work. Most devices that are close to stock Android are likely to have not removed the AOSP nav bar customizer and should work. This means it likely won’t work on your stock LG, Samsung, or Huawei/Honor device. See the “compatibility” section in the first post of this thread. (Note: your device’s OEM may not be listed in that thread. The only way to know for sure if your device is compatible is to try the app out, which we will show you how to do below.)


App Requirements: 



Setup: Custom Navigation Bar


The reason we need Custom Navigation Bar is obvious – this application is what will allow us to modify the nav bar to display these media playback keys. (Technically, we don’t actually need this app for these modifications as we can use shell commands or other Tasker plugins, but to make things easier for our users, we will show how to set this up using this wonderful app.) Notification Listener is needed to monitor what notifications get posted to the status bar, so we know when music playback has started and ended. Finally, Tasker is the automation app that bridges the gap between Notification Listener and Custom Navigation Bar – it uses Notification Listener to detect when music has started/ended and then trigger Custom Navigation Bar to change the nav bar accordingly.


The first thing we need to do is to make sure that it’s even possible to modify the nav bar on your device. If your device is one of the ones listed as compatible in the Custom Navigation Bar thread, then chances are it will be. We can verify by running through the brief tutorial that accompanies this app.


Install the app from the Google Play Store, then open up the app and proceed through the introductory screens. Custom Navigation Bar will ask you to grant it a certain permission called WRITE_SECURE_SETTINGS in order to proceed with using the app. There are two ways you can do this, as stated in the application.


  1. If you have a rooted device, Custom Navigation Bar will request superuser access. Grant it, and the app will automatically grant itself this permission.

  2. If your device is not rooted, then you will need to grant the permission through ADB. Open up a command prompt/terminal on your machine, and then enter the following command: adb shell pm grant xyz.paphonb.systemuituner android.permission.WRITE_SECURE_SETTINGS

Once you’ve granted the app this permission through either of the two methods above, then the app will proceed with a compatibility test. If your nav bar doesn’t change, then you’re unfortunately out of luck. If your nav bar changes to display a right arrow button, then congrats your device is supported! We can now move on to modifying our nav bar.


Setup: Notification Listener


In order for Notification Listener to intercept notifications, we have to grant it a special permission known as the “notification access” permission. This permission is not granted through a standard permission dialog, but needs to be granted through a special settings menu by the user. Luckily, this is very simple to do. Simply open up the Notification Listener app and the app will bug you to enable this permission. Just press the button and the app will take you to the screen where you can grant the app this permission. Enable notification access for the app.



Tutorial


Once you’ve confirmed that Custom Navigation Bar is compatible with your device and that notification access is enabled for Notification Listener, it’s time to set up this all up. The first thing we need to do is to create a new profile in Custom Navigation Bar that, when enabled, will add a previous/next key to our nav bar. Here are the step-by-step instructions:


  1. Open up Custom Navigation Bar and tap on Profiles under the Automation section.

  2. Tap on the + icon on the top right to add a new Profile.

  3. Tap on the Profile that was just created.

  4. Under the Profile section, tap on Name to name the profile. Name it Media Control.

  5. Under the “Extra left button” section press Type. Select Keycode as the type.

  6. Now under the “Extra left button” section you will see two additional options. Tap on Keycode.

  7. Scroll down and find the Media Previous key.

  8. Now tap on Icon under “Extra left button.” For the icon select skip previous.

  9. Repeat steps 5-8 but for “Extra right button.” This time, however, the keycode will be Media Next and the icon should be skip next.

  10. Test your Profile by scrolling back up and checking Enabled. If you see the previous/next nav bar keys at the bottom, then this profile works!

Now that we’ve got the Custom Navigation Bar profile set up, we will create our Tasker Profile that will enable/disable this profile when music is playing. First, we will create the Profile that will trigger when our music/podcast/radio app posted a notification. Here are the step-by-step instructions:


  1. Open up Tasker and create a new Profile by tapping on the + icon on the bottom right.

  2. Select the Event context.

  3. Tap on Plugin.

  4. Select the Notification Listener plugin.

  5. Select the notification listener action that pops up.

  6. Tap on the pencil icon to open up Notification Listener’s configuration.

  7. Leave the notification event as posted but under apps select the app(s) that you want to monitor. For instance, I picked Google Play Music here. Tap the checkmark icon in the top right when done.

  8. Back in Tasker, press the back arrow key in the top left to go back to Tasker’s main screen.

  9. Tasker will ask you to attach a Task to this Profile we just made. Select to create a New Task. Don’t bother naming the Task.

  10. Once you’re in Tasker’s Task editing screen, add a new Action by tapping on the + button in the bottom middle.

  11. Select Plugin from the Action categories.

  12. Choose the Custom Navigation Bar plugin.

  13. Tap the pencil icon again which this time will bring us to Custom Navigation Bar’s configuration page.

  14. For the action leave it as “Enable profile.” Under Select profile, choose Media Control. Hit the checkmark in the top right when done.

  15. Press back, and then back once more until you’re at Tasker’s main screen.

The above Tasker Profile we created will activate the Media Control Custom Navigation Bar profile to add the media playback keys when media playback begins, but now we need to disable the Media Control profile when we dismiss the media app’s notification. Here are the instructions:


  1. Create a new Profile and select the Event context.

  2. Go to Plugin –> Notification Listener –> Notification Listener.

  3. Under “Notification event” this time select Removed. Again select the same app(s) that you want to monitor. I chose Google Play Music here. Tap the checkmark when done.

  4. Go back to Tasker’s main screen where it will ask you to add a Task to this new Profile. Add a Task but don’t bother naming it.

  5. Once you’re in Tasker’s Task editing screen, add a new Action. Go to Plugin –> Custom Navigation Bar.

  6. This time for “Action” select to Disable profile but again choose the Media Control profile. Tap the checkmark button up top when done.

  7. Exit out of the Task back to Tasker’s main screen.

When you’ve made both Tasker Profiles, one for when the media app’s notification is posted and another for when those same notification(s) are removed, you’re done. Tasker will now display media playback keys in your nav bar whenever media playback has started, and clear the nav bar of these keys when media playback has ended!



Using Shell Commands


Given how easy it is to use XDA Senior Member paphonb‘s Custom Navigation Bar app, I don’t really see the need for providing detailed step-by-step instructions on how to do this with other Tasker plugins such as SecureTask or AutoTools (or the run shell function in Tasker). However, it is certainly possible, and at the very least I will provide a summary of the commands you need to replicate this setup without the use of paphonb’s app.


The first thing you need to do is install either SecureTask or AutoTools. You will need to grant the WRITE_SECURE_SETTINGS permission to whichever app you pick in order to control the nav bar tuner.


For SecureTask:


adb shell pm grant com.balda.securetask android.permission.WRITE_SECURE_SETTINGS

For AutoTools:


adb shell pm grant com.joaomgcd.autotools android.permission.WRITE_SECURE_SETTINGS

Next, you will need to download the icons that you will use for the previous/next keys. You’ll need the icons in the PNG format, and as for the size, you can determine the size of the icons you need by looking up your device’s display density metrics on Material.io and correlating that with an icon size reference chart. IconsDB.com is a good resource for free icons. Save the icons you will be using as previous.png and next.png in a folder called /NavIcons on the root directory of your storage.


Finally, you will be entering this command to show the media control buttons:


settings put secure sysui_nav_bar "key(88:file:///storage/emulated/0/NavIcons/previous.png),back;home;recent,key(87:file:///storage/emulated/0/NavIcons/next.png)"

where key #88 refers to KEYCODE_MEDIA_PREVIOUS and key #87 refers to KEYCODE_MEDIA_NEXT.


Then to revert your nav bar keys to the default layout (ie. when you swipe away the media playback notification), enter this command:


settings put secure sysui_nav_bar "space,back;home;recent,menu_ime"

In essence, the Tasker Profile setup will be the exact same as Notification Listener’s configuration above won’t change. But if you choose not to use the Custom Navigation Bar app to control the nav bar, then you can use the above two shell commands as an alternative. Just note that, unless you are rooted and using the “run shell” action in Tasker, the process to get these commands into SecureTask or AutoTools is all on you. It’s really not that hard to do, but many users find just using paphonb’s app easier to use so I won’t go into much more detail here.



Conclusion


That’s it for this tutorial. In future tutorials I will show off more potential practical uses of changing your nav bar, especially in a contextual manner using an automation app such as Tasker.


Please support XDA-Developers in whatever way you can! We recently discovered that there were several blogs cut, copy, pasting our original tutorials and other content shared by our users on the forums. These blogs have been trying to take credit for the huge amount of effort we do in compiling these tutorials rather than providing quality content on their own. You won’t find tutorials such as the ones we’ve written in our tutorials category or tutorials from our forums anywhere else.


Follow us on Twitter, Google+, Facebook, or YouTube. Check out our XDA Labs app for a fast way to browse our forums (and consider getting XDA Ad-Free too!) on your mobile device, and check out our recently released XDA Feed app if you own a OnePlus 3 or OnePlus 3T! Thanks, and stay tuned for our next tutorial!

,

The last time we talked about Paranoid Android was in September 2016, when the PA team had announced their ROM base update to Android 6.0 Marshmallow. Stable builds were made available for their list of supported devices, and more features and a Nougat update were also promised for the future. But since then, we haven’t heard much from the team.


But today, the Paranoid Android team began to tease another return.


Image is titled: “PA – Nice Try”, with the hashtag: #stayparanoid



The teaser is, as one would expect, cryptic and does not say much on what we should expect. The image alludes to Android O with the ‘O’ symbolization, but since Android O is still available only as Developer Previews and not available in AOSP yet, we are not counting on an Android O update anytime soon.


What is a possibility is an upcoming Android 7.1 Nougat update for the ROM. You can see work ongoing on Paranoid Android’s Gerrit for an upcoming Nougat MR1 release.


Paranoid Android’s Project Lead, Arz Bhatia, also had a few words to say in their teaser:


Just to clear out a few things – We try to release builds when they’re stable enough to be called public releases and abandoned the concept of nightlies a long time back.


Paranoid Android 6 was released when it was stable enough for daily use and was updated only when there were critical bug fixes needed. Due to the lack of manpower, we shifted our focus from features first to stability first.


By head count, we only have 3-5 active developers working on the project – the team is still amazing but we lost a few of our key members a while back.


Paranoid Android is still a community project, it’s free to use and open for all. The developers working on the project do it for the community with no profit-making involved. I’m here to represent my team and the comments over here are not really helping in motivating them to continue working on the project.


We’re passionate about building good products and we only release when we’ve reached the level of goodness, perfection & stability that we had in mind when we first started working on the project.



Having more updated options in the custom ROM scene is definitely a good thing for a device and its third-party development scenario. We look forward to what Paranoid Android has in store for us.


What are your thoughts on Paranoid Android’s teaser? What do you think their update will bring? Let us know your thoughts in the comments below!



Thanks to XDA Senior Member EvoWizz for the tip!

,

According to a new report by The Wall Street Journal, Google is working on a built-in ad blocker solution for desktop and mobile versions of its Chrome web browser. The ad blocker will be turned on by default and will block out those specific types of ads which are responsible for ruining the browsing experience, the report says.


Not all ads will be blocked, though: Google’s own ads will still be displayed. The ad blocker will reportedly filter out pop-up ads, countdown timers, auto-playing audio and video ads and other objectional ad experiences which are defined to be unacceptable as per the standards of Coalition for Better Ads. According to the report, Google will require site owners to follow a specific set of standards to ensure their ads doesn’t get block by the Chrome’s built-in ad blocker. In short, say bye to those annoying, buzzing adds taking over your phone for a few seconds.


The move is said to be an attempt to combat the annoying ads and bad advertising practices. By implementing a native ad blocker, Google is also seeking to lower down the increasing usage of ad blockers.


A built-in ad blocker will make far more sense for the mobile version of Chrome than its desktop counterpart. On the desktop version, you can install a third-party ad blocker to effectively block all ads, but there is presently no such way to do so on Chrome for mobile, not without modifications most people don’t have access to at least.


The WSJ says the feature is currently being developed, and Google could announce the new feature “within weeks.” At the same time, the report also notes that such feature may never come to fruition and that Google could decide to scrap the plan altogether, just like it has done with many other projects in the past.


Either way, a built-in ad blocker in Chrome sounds like a great idea and even if doesn’t help get rid of all the ads, it can, at least, improve the browsing experience to a great extent for end users by blocking out only the nasty ones. By making this a default feature, ad companies would be compelled to weed out bad ads and actors. It’s also a smart move for Google, as it’d mean the ad-creator controls the ad-blocker… for better or worse.


What do you think of this kind of ad-blocking strategy? Is it a genius idea, or is it bound to fail? Sound off in the comments below!


Source: The Wall Street Journal

,

XDA Member Sachi315 was able to get the first Developer Preview of Android O rooted on their Pixel phone, and now we see XDA Senior Member  has put together a step by step guide to help everyone do the same. The method involves installing an Android 7.1.2 ROM onto one slot of the device and installing the Android O Developer Preview onto the other slot (remember that the Google Pixel phones have two sets of partitions because of its seamless update setup), and flashing Chainfire’s Extra Delay SuperSU.

,

XDA Member  was able to get Arch Linux natively running on their Google Pixel C. Then they released the required files and even wrote up a step by step guide so that you can get it up and running on your device too. At this time, hardware acceleration is not working so Gnome Desktop is quite slow, WiFi is not working, and sound doesn’t work. This is mostly a proof of concept, pre-alpha build for developers to play around with, but hopefully it gets to a more stable point in the future!

,

Those of you who are running the first Android O Developer Preview may have toyed around with its hidden navigation bar customizer located in the SystemUI Tuner. This nav bar customizer has actually been around in AOSP for months, but it was thought that the only way to access it on Android Nougat was through a modification of the System UI APK, which, of course, would require root access. It wasn’t until just this week that we discovered that Android Nougat’s hidden nav bar customizer could actually be accessed without needing root access, a custom ROM, or a System UI mod. With this feature, we can change the nav bar icons, swap the keys around, or add additional buttons.


That’s right – it’s possible to modify your navigation bar on a completely stock, unrooted ROM with a locked bootloader. Functionality people thought was limited to Android O is actually accessible to anyone running Android Nougat on Nexus, Pixel, OnePlus, and some Sony, HTC, and Motorola phones. If your device is running software that is close to Google’s software (sorry Samsung and Huawei/Honor users), then chances are your device has the hidden AOSP nav bar customizer that we can use. In this tutorial, I will show you how you can use the nav bar customizer to change the button icons to whatever you want or re-arrange them in whatever order you want.


Google Pixel Nav Bar on the Nexus 6


Reversed Nav Bar on Nexus 6




Modifying the Nav Bar – Setup



Requirements: You will need a device compatible with the AOSP nav bar customizer. See the “compatibility” section in this thread. (Note: your device OEM or type may not be listed in that thread. The only way to know for sure if your device is compatible is to try it out, which we will show you how to do below.



There are two ways to modify our nav bar. One is with an app, and the other is through ADB shell commands (which is how the app works). We will be showing you both for completeness, but note that as of right now, you can’t modify the stock nav bar icons through the app until the developer updates his app to include this feature.


The first thing we need to do is to make sure that it’s even possible to modify the nav bar on your device. If your device is one of the ones listed as compatible in the Custom Navigation Bar thread, then chances are it will be. We can verify by running through the brief tutorial that accompanies this app.


Install the app from the Google Play Store (and also sign up for beta testing so we can use its experimental feature to re-arrange the nav bar later on). Next, open up the app and proceed through the introductory screens. Custom Navigation Bar will ask you to grant it a certain permission called WRITE_SECURE_SETTINGS in order to proceed with using the app. There are two ways you can do this, as stated in the application.


  1. If you have a rooted device, open up Terminal Emulator on your phone and grant it root access by typing su. Then, enter this command: pm grant xyz.paphonb.systemuituner android.permission.WRITE_SECURE_SETTINGS

  2. If your device is not rooted, then you will need to grant the permission through ADB. Open up a command prompt/terminal on your machine, and then enter the following command: adb shell pm grant xyz.paphonb.systemuituner android.permission.WRITE_SECURE_SETTINGS

Once you’ve granted the app this permission through either of the two methods above, then the app will proceed with a compatibility test. If your nav bar doesn’t change, then you’re unfortunately out of luck. If your nav bar changes to display a right arrow button, then congrats your device is supported! We can now move on to modifying our nav bar.



Re-arranging the Nav Bar Buttons


App Method


Now that you’ve set up the app, it’s very, very easy to re-arrange the nav bar buttons. You have to be on the beta testing version of the Custom Navigation Bar app to be able to do this, so go back and make sure you’re on the beta channel before proceeding.


If you’re on the beta version, you’ll see a section called experimental tweaks in the main Settings section. Tap on that and you’ll see options that allow you to replace the existing back, home, and recent keys. You can easily re-arrange your keys here by having the back button change to the overview (recent) button and having the overview (recent) button change to the back button. Or change them in whatever way you want, there’s no real limitations here. After swapping your keys, you can also play around with the layout options in the navigation bar settings menu.


ADB Method


And here’s how to do the same using ADB commands, if you would prefer that. The command that we will be modifying is the Secure setting preference called sysui_nav_bar. This preference is a string that contains the nav bar layout. The default structure of the preference is as follows


space,back;home;recent,space

Where space represents an empty space that separates the nav bar keys from one another, and back, home, and recent represent the 3 default buttons in the nav bar. If we want to swap the back and the recent key, for instance, we would need to modify the string as follows


space,recent;home;back,space


Note: if you are attempting to enter any of the following commands from a rooted shell environment such as Terminal Emulator on your phone, then you will need to omit “adb shell” from the commands before sending them.



Now, in order to actually modify this string, we need to use the ADB shell command with this syntax


adb shell settings put secure sysui_nav_bar "STRING"

Hence, the command we would send to swap the recent and back keys would look like this


adb shell settings put secure sysui_nav_bar "space,recent;home;back,space"

As you might guess, this is fairly flexible. We can move the keys around however we want by modifying the string value of the preference. We can, for instance, make our flipped nav bar keys left-justified or right-justified by changing where the two spaces are placed:


Left-justified:


adb shell settings put secure sysui_nav_bar "recent;home;back,space,space"

Right-justified:


adb shell settings put secure sysui_nav_bar "space,space,recent;home;back"

But we can also change the nav bar buttons to be something entirely different than the standard back, home, or recent keys, such as sending one of the many KeyEvents. We’ll take advantage of this fact in the next section, where we show you how to change the icons on the nav bar buttons.



Custom Nav Bar Icons


Now, the following section may not seem like a huge deal due to the fact that there are numerous applications on the Play Store that promise to change your navigation bar without root. And they do work – however, many users report that these apps are buggy in certain apps like Chrome, when playing full screen video, or some games. Furthermore, many of these apps require you to enable an Accessibility Service to monitor apps to know when to re-color the nav bar, which may reduce performance. Finally, if you rely on these apps for too long, then you may be suddenly surprised to see them stop working when Android O rolls out because the next Android version is killing the ability of these apps to draw on top of System UI elements.


The method that we are using is based on Google’s implementation of the nav bar tuner, so it has none of these issues. However, there is one issue currently that we want to be upfront about: if you choose to follow this method to modify your home button, then the long-press home button action will no longer work meaning you can’t quickly access Google Assistant from the home button anymore. If you’re okay with that, then here’s how to change the icons on the nav bar.


The first thing you will need to do is download the icons that you want to replace your default nav bar keys’ icons with. I’ll be providing download links for you to grab the Google Pixel nav bar icons, but it’s up to you to find your own icons if you want anything else. You’ll need the icons in the PNG format, and as for the size, you can determine the size of the icons you need by looking up your device’s display density metrics on Material.io and correlating that with an icon size reference chart.


Credits for the extracting these Google Pixel nav bar icons goes to XDA Senior Member dariomrk. Download this archive if you have a 1920x1080p display and this one if you have a 2560x1440p display. Extract the contents of either zip file into a folder called “NavIcons” on the root directory of your storage.


Once you have the icons in the appropriate place, enter the following ADB shell command (warning, it’s a long one):


adb shell settings put secure sysui_nav_bar "space,key(4:file:///storage/emulated/0/NavIcons/back.png);key(3:file:///storage/emulated/0/NavIcons/home.png);key(187:file:///storage/emulated/0/NavIcons/recents.png),space"

What this command does is replace back, home, and recent keys with KeyEvents that do the same function. In particular, back is replaced with KEYCODE_BACK, home is replaced with KEYCODE_HOME, and recent is replaced with KEYCODE_APP_SWITCH. These key codes perform the exact same function, but because we are using KeyEvents, we can specify what icon we want to use for them. In this case, we are pointing towards the back.png, home.png, and recents.png that we saved in /NavIcons.


However, by replacing the stock keys with KeyEvents, we lose the long-press home ability because currently there is no way to recognize long-press events of simulated key inputs.


I realize that right now, this method might not seem ideal or easy to implement, but at the time of this writing the Custom Navigation Bar app has not been updated to support adding your own icons. For now, my method (which is exactly how that app works, and when the app does get updated, it will face the same limitation) is how you can get whatever custom icons you want on your nav bar.



That’s it for this tutorial. In future tutorials I will show off potential practical uses of changing your nav bar, especially in a contextual manner using an automation app such as Tasker. Follow the tutorials category on XDA to keep up to date with all the latest tips and tricks that we publish.

Follow Us @soratemplates