LightBlog

lundi 26 octobre 2020

TWRP is now available for the Exynos Samsung Galaxy S10 5G, Redmi 8A, Moto Z2 Play, and POCO F1

TWRP is an excellent tool to have for enthusiasts. Even if you’re not a root user or you’re not normally the kind of person to constantly switch between ROMs, this custom recovery allows you to do anything from changing the emojis on your phone to installing a custom kernel for adding extra features to your device and improve the way it runs. TWRP is already available for dozens of devices, and now, a few others are joining the list, including the Samsung Galaxy S10 5G (Exynos), the Xiaomi Redmi 8A, and the Motorola Moto Z2 Play. Furthermore, a development champion, the POCO F1, is joining the list again as well.

Samsung Galaxy S10 5G (Exynos)

The Samsung Galaxy S10 5G, notable for being Samsung’s very first 5G device launched over a year ago, is getting some development love with an official TWRP build by developer corcisanu. If you have an Exynos device, then it might be worth giving it a look. Furthermore, the maintainer also now supports other Exynos variants of the Galaxy S10 series, including the S10e, the S10, and the S10+, and are supported in an unified cross-device thread.

S10 5G TWRP | S10e TWRP | S10 TWRP | S10+ TWRP

S10 5G ForumsS10e Forums | S10 Forums | S10+ Forums

Xiaomi Redmi 8A

Xiaomi’s super-affordable Redmi 8A may have already been superseded by the Redmi 9A, but it’s still a very capable device with rare features for its price range, such as a USB-C port and a decent Snapdragon 439 processor. Sure, there’s a single camera on the back, no fingerprint scanner, and not a whole lot of features in its spec sheet, but it does its job very well. And due to its price point, it’s also a very capable phone for modding. You can download an official TWRP from AltsecDEV now.

Redmi 8A TWRP | Redmi 8A Forums

Motorola Moto Z2 Play

The Motorola Moto Z2 Play is still a very capable device even today, with good battery life, a Snapdragon 626 SoC, and more. Motorola devices are also fairly easy to tweak due to official bootloader unlock support without restrictions. The current TWRP official builds are maintained by EmaMaker, and you can check them out here.

Moto Z2 Play TWRP | Moto Z2 Play Forums

If you have another Motorola device, though, then you’re not getting left behind either. Official TWRP support has also been added for the Motorola Moto G Turbo, a variant of the 3rd generation Moto G 2015 with a Snapdragon 615 and fast charging support, and the Moto X Play, a mid-range Moto X launched back in 2015 with the same Snapdragon 615. Both of these devices are supported by althafvly, who has also become the new maintainer for the Moto E 2015 LTE and the regular Moto G 2015, two phones powered by the aging Snapdragon 410.

Moto G Turbo TWRP | Moto X Play TWRP | Moto E 2015 LTE TWRP | Moto G 2015 TWRP

Moto G 2015 Forums | Moto X Play Forums | Moto E 2015 Forums

POCO F1

Support for the POCO F1, a “flagship-killer” that’s very well still alive and kicking with ultra-cheap pricing and a Snapdragon 845 processor, was dropped a couple of months back. The phone was, however, kept alive with unofficial builds of TWRP, which worked just as well as the official ones. Now, though, official support is back thanks to maintainer althafvly, so check it out!

POCO F1 TWRP | POCO F1 Forums

Oukitel WP5

Finally, support has also been added for the Oukitel WP5, a phone with modest specifications such as a MediaTek Helio A22 processor, but also has a bonkers 8,000 mAh battery on it for monster levels of battery life. This device is maintained by dwastell.

Oukitel WP5 TWRP

The post TWRP is now available for the Exynos Samsung Galaxy S10 5G, Redmi 8A, Moto Z2 Play, and POCO F1 appeared first on xda-developers.



from xda-developers https://ift.tt/31NThzX
via IFTTT

Here’s what dark mode in Chrome OS will look like

Chrome OS users have requested a dark theme for some time now, and it looks like they’re finally going to get it. Flags for a dark theme are currently live in the Chrome OS Canary channel, and thanks to AndroidPolice, we have screenshots to show you.

The arrival of a dark theme in Chrome OS has been a long time coming, and we’ve been waiting to check it out ever since we learned about Google creating a light theme last month, which would actually serve as a template for the software’s contrasting dark mode. If your Chromebook is in the Chrome OS Canary channel, you can open chrome://flags right now and search for #enable-force-dark and #enable-webui-dark-mode. You can also enable chrome://flags/#dark-light-mode for the full experience.

Enabling these flags should surface a dark theme in Settings, Chrome OS system apps, and websites that monitor the status of the OS default them, though we were unable to replicate this on an HP Chromebook X2 running the latest Canary build. Nonetheless, here are a few screenshots from an AndroidPolice author’s Chromebook that showcase the new dark theme.

Chrome OS dark theme settings Chrome OS dark theme files

Turning on the dark theme in Chrome OS results in a dramatically different experience, one that should be much easier on the eyes in situations with little to no light. Of course, the software will still function the same, but users will finally have the option to use the sleeker, more stealthy mode.

Other major desktop operating systems from Microsoft and Apple have offered dark themes for some time, so Google is a little behind in implementing a dark mode of its own. Google has, however, been working to bring a dark theme to the other devices and OSes across its portfolio, including on Google Assistant Smart Displays and, of course, on Android.

Seeing a dark theme appear in the Chrome OS Canary channel bodes well for a wider release, although it’s unclear when that may be. AndroidPolice notes that there are a few rough edges with the current implementation such as a white title bar still showing in many apps, some icons not being adapted, and support for Android apps not being added, so these issues will need to be addressed before the feature is enabled by default. If you’re not up for testing out the dark theme for yourself in Chrome OS, check out the gallery above for an idea of what it will look like.

The post Here’s what dark mode in Chrome OS will look like appeared first on xda-developers.



from xda-developers https://ift.tt/31J2KZg
via IFTTT

Google adds WireGuard VPN to Android 12’s Linux Kernel

Update 1 (10/26/2020 @ 06:11 PM ET): Native kernel support for the WireGuard VPN protocol has also been added to Android’s Linux Kernel 4.19 tree. Scroll to the bottom for more information. The article as published on October 13, 2020, is preserved below.

With remote work becoming the norm at many businesses thanks to COVID-19, it’s more important than ever to secure network connections with a virtual private network, or VPN. There are multiple VPN tunneling protocols that services can make use of, but a relatively new implementation called WireGuard has taken the tech world by storm. As we’ve explained before, WireGuard is a next-gen VPN protocol that embraces modern cryptography standards and has a secure, auditable code base. After its inclusion in Linux Kernel 5.6, Google is now adding support for the protocol to Android 12’s Linux Kernel 5.4 tree.

Google forks each Linux Kernel release to include “patches of interest to the Android community that haven’t been merged onto mainline or Long Term Supported (LTS) kernels.” These kernels are called Android Common Kernels and they form the basis of the Linux kernel release that ships on each and every Android device on the market today. For each Android release, Google supports a handful of Linux kernel releases; for Android 11, that’s currently Linux Kernel versions 4.14 and 4.19, while for Android 12, it’ll be versions 4.19 and 5.4.

The typical flagship Android device today runs on top of a fork of Linux Kernel 4.19, but that’s expected to change once new silicon from Qualcomm and other SoC vendors ships on next-gen Android devices. Many of these upcoming devices will be running the next version of Android—Android 12—in late 2021 on top of Linux Kernel 5.4, and these devices may be the first to natively support WireGuard VPN on Android.

Earlier today, we spotted a flurry of new commits to the android12-5.4 tree of the Android Common Kernel. Among these new commits was the WireGuard VPN protocol itself, alongside a config option enabling this on Android kernels. This was added by veteran stable kernel developer Greg KH, who described the change as, “add[ing] native kernel support for a sane VPN.”

Before users can natively enable a VPN using the WireGuard protocol on Android 12, though, Google needs to add APIs to interface with the kernel module. One might expect that that’s exactly what Google will be working on next, and we’ll be keeping an eye out on AOSP to track the progress of WireGuard support in next year’s Android release.

Interested Pixel users can take advantage of this kernel acceleration right now by rooting their device and installing the prebuilt kernel module. On other devices, you can flash a custom kernel that advertises WireGuard support from the XDA forums. For users without root, the WireGuard app still works great and remains the fastest VPN out there. To learn more, download the WireGuard app from Google Play on your Android smartphone or Android TV device. And if you’re interested in contributing to the project, you can reach out to the WireGuard development team—they’re actively seeking a new maintainer for the Android app.

WireGuard (Free, Google Play) →

Update 1: Enabled in android-4.19-stable tree

WireGuard VPN will be supported by all Linux kernel versions supported by Android 12. Following its merger to the android12-5.4 tree of the Android Common Kernel, native kernel support for WireGuard has been added to the android-4.19-stable tree. This means that kernel acceleration for WireGuard will be supported in Android 12 on devices with Linux Kernel 4.19 as well as 5.4, though it remains to be seen whether or not Google will add APIs to interface with the kernel module in time for the stable release of Android 12.

The post Google adds WireGuard VPN to Android 12’s Linux Kernel appeared first on xda-developers.



from xda-developers https://ift.tt/3jYRWgJ
via IFTTT

What you need to know about the RIAA’s DMCA takedown of YouTube-DL

The Recording Industry Association of America, Inc. (RIAA), the trade organization representing the recording industry in the U.S., filed a DMCA takedown notice last Friday for multiple GitHub repositories containing YouTube-DL code. YouTube-DL is an open-source Python library to download video and/or audio from YouTube and other video hosting sites. The library is incorporated into many different projects and applications, such as GetTube and arkTube on XDA and the popular open-source NewPipe app.

The RIAA filed a DMCA takedown alleging YouTube-DL violates the DMCA’s provisions against circumventing copyright protection systems (section 1201). As evidence, the RIAA cited comments in the YouTube-DL source code that informed users on how to test the program against videos that their members own the copyrights to. The tests where copyrighted material was linked were intended to make sure that the library can download a normal video, a video with an age limit, and a video that included dollar signs in the name. These 3 videos used for testing were music videos from Icona Pop, Justin Timberlake, and Taylor Swift.

“Indeed, the comments in the YouTube-DL source code make clear that the source code was designed and is marketed for the purpose of circumventing YouTube’s technological measures to enable unauthorized access to our member’s copyrighted works,” reads the RIAA’s complaint.

Regardless of the fact that these videos were used merely as tests for developers and not provided as sample uses, the RIAA alleges that the entire YouTube-DL project is explicitly designed to circumvent the copyright protection of its members, thus making the entire library illegal to distribute. Of course, the developers of YT-DL argue that the library is not intended for the sole purpose of circumventing the copyright protections of videos owned by RIAA members. YT-DL is obviously used by pirates, but it’s also a useful tool for archivists, researchers, journalists, etc., and it can be used to download videos with a CC license or which are public domain, such as government videos. Some creators also rely on the tool to download their own videos.

Although the DMCA is a U.S. law, it seems that the RIAA is also taking action against project developers in Europe. The takedown notice cites a decision from Germany’s Hamburg Regional Court, arguing that the same provisions apply in that country. Even if the RIAA’s claims are meritless—TechDirt points out that the U.S. Supreme Court ruled in Sony v Universal that tools with substantial non-infringing uses are not by themselves infringing—this matter needs to be settled by either the RIAA backing down or the YT-DL authors filing a counter-notice which would then be met by a lawsuit from the RIAA. A lawsuit would be difficult for a community-run, open-source project to manage, but the Electronic Frontier Foundation (EFF), a non-profit digital rights group, hints that it could get involved.

GitHub, for what it’s worth, has no choice but to comply with the DMCA takedown notice while this dispute is going on since they could be held liable if they did not. Thus, 18 GitHub repositories with YouTube-DL code were taken down, including the main repository. While the main repository has already been forked on other GitHub repositories, re-hosted on other code-sharing sites, and/or archived by developers privately and publicly, the RIAA can send additional takedown notices to this re-hosted code. It’s unclear if removing the problematic test cases and links to copyrighted videos would be enough for YouTube-DL to escape the RIAA’s complaints. Nonetheless, we will likely continue to see forks of the original project arise, with links to infringing content replaced with content uploaded by the developers themselves or content licensed under more open terms, like the Creative Commons license.

For projects that use YouTube-DL, the challenge—while the main YT-DL repo is down—will be updating their apps’ downloader code to keep working. YouTube is known to frequently change things up, which directly or indirectly breaks compatibility with YouTube-DL. However, the developers of YouTube-DL would eventually roll out fixes to get it working again. Since there’s no longer one central repository where it’s being developed, though, it will be harder for developers to collaborate and share fixes. YT-DL developers could work around this issue with alternatives like making a private GitLab server, but the future of the project remains unclear if the RIAA continues to pursue action.

Featured image: YouTube-DLG, a front-end GUI for youtube-dl

The post What you need to know about the RIAA’s DMCA takedown of YouTube-DL appeared first on xda-developers.



from xda-developers https://ift.tt/31LNkDx
via IFTTT

The OnePlus 8T is now available to buy, plus save $20 on the OnePlus Buds

Looking for a new Android device? The OnePlus 8T is now available at the OnePlus store! Available in Lunar Silver and Aquamarine Green, the 256GB model will cost $750. At the OnePlus store, you can also sign up for a 24-month, 0% APR plan, and also bundle in accessories with your purchase at a discount. If you have an eligible device, you can trade it in for even more discounts!

Not sure if the OnePlus 8T is for you? Well, the new phone comes recommended by us at XDA! In our OnePlus 8T review, Mario Tomás Serrafero has this to say about the phone:

The resulting package is still an outstanding phone, with great battery life, a competent (yet often frustrating) camera, a nice screen and excellent performance.

With the Qualcomm Snapdragon 865 processor, Warp Charge technology, and an AMOLED display, this latest flagship is sure to impress, without costing nearly as much as other big-name flagships.

    OnePlus 8T (256GB)
    OnePlus's latest flagship is available for purchase! Enjoy the AMOLED display coupled with the the Snapdragon 865 processor for just $750. You can also sign up for a 24-month, 0% APR payment plan!

That isn’t all though–if you want to complete your OnePlus ecosystem experience, you can grab yourself a pair of OnePlus Buds on sale! They’ll pair perfectly with the OnePlus 8T. At both Amazon and the OnePlus Store, the OnePlus Buds are on sale for $59, $20 off the MSRP. Available in White and Grey, the OnePlus Buds also got a lot of praise in our review, saying that they’re worth the price. Now that they’re on sale, there’s even less of a reason to not pick these up. It’s a shame that the blue earbuds aren’t available in the US, though.

The OnePlus Buds can give you ten hours of power in just ten minutes and offers 30 hours of listening time when topped off. These earbuds also have Dolby Atmos and Dirac Audio Tuner support, so you know you’re getting a quality product, without needing to drop a couple hundred dollars.

    OnePlus Buds
    Save $20 on the OnePlus Buds right now! With 30 hours of listening time and a 13.4mm dynamic driver, you'll be getting a great pair of buds for a great price.

The post The OnePlus 8T is now available to buy, plus save $20 on the OnePlus Buds appeared first on xda-developers.



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

YouTube for Android revamps the video player page and adds new gestures

YouTube has updated its mobile apps with a revamp to the video player page and new navigation gestures.

As part of the revamp, the video player page now includes settings that are easier to access. A Closed Captions button now appears on the video player for easier access, while the autoplay toggle is also easier to turn on and off while watching a video. YouTube also said buttons have been re-arranged slightly “that make any action you take even faster.” YouTube said that some of the changes coming to the revamped player might also come to the desktop.

 

Users on mobile can more easily navigate with a list view of Video Chapters, which allows users to jump to a specific section of a video. Similarly, users can switch between the time counting down and the time that’s elapsed.

YouTube is also adding a gesture to enter and exit the full-screen mode. Simply swipe up to enter full screen and down to exit. This gesture joins the double-tap to rewind and fast forward.

Additionally, YouTube is introducing suggested actions, which will prompt users to rotate their phone or play a video in VR when it thinks you’ll have a better experience. More suggested actions are expected in the future though it didn’t elaborate on what those might be.

Finally, YouTube highlighted its bedtime reminders feature, which will remind you to wind down your screen time between a set time.

These updates should be rolling out to YouTube’s mobile apps starting today.

YouTube (Free, Google Play) →

The post YouTube for Android revamps the video player page and adds new gestures appeared first on xda-developers.



from xda-developers https://ift.tt/31FP41h
via IFTTT

From XDA to Cyanogenmod to LineageOS: A brief history

The stories behind LineageOS and XDA are inexorably linked. The custom Android flavor has given hundreds of thousands of users a chance to unlock their smartphones’ full potential, and in many cases, give it a lease of life way beyond what the manufacturer intended. But, ahead of our big LineageOS-related news tomorrow, if you’ve never stopped to think about how it all started, or you want a reminder, allow us to enlighten you.

CyanogenMod Logo

The CyanogenMod Years

The forerunner of what we now know as LineageOS began eleven years ago. As with so many custom ROMs, it began on these hallowed pages. Cyanogen herself, aka Stefanie Kondik, worked with contributors to produce a ROM that would work on a wide variety of phone models, even if the OEM had discontinued support.

HTC HD2 CyanogenMod

The first device to be supported was the HTC Dream (aka the T-Mobile G1) – the first commercially available Android device – with a firmware build that grew from a forum dweller’s work by the name of jesusfreke. As the Android market grew, so did CyanogenMod, tailored for each device, either officially or as an unofficial fork, from the newest Samsung Galaxy blockbuster to the smallest challenger model.

Those with fond memories of the HTC HD2 (the little handset that could) will know that CyanogenMod was the catalyst for many other operating systems that were successfully ported to this most versatile of devices. Indeed, many Custom ROM designers used CyanogenMod as a starting point for their own projects because it built on the AOSP offering with a range of extra features, all on a stable base. Amongst the features we accept as regular in Android today premiered in CyanogenMod were FLAC support, toggles in the notification pull-down, and GUI-powered overclocking.

Those early days were something of a cat-and-mouse battle with Google who did not (at that stage) take kindly to their phone software being rooted. But for every patch Google issued, someone was there to crack it, and soon Custom ROMs abounded for almost every handset, with Cyanogen leading the charge with her team of volunteer maintainers and developers, affectionately known on these pages as “Team Douche.”

CyanogenMod was heavily based around privacy, so actual usage figures were very difficult to obtain. At its height in 2012-3, it’s thought that at least 50m devices were running CyanogenMod, making it comfortably the biggest non-OEM firmware for Android.

The final version of CyanogenMod was version 14, based on Android 7.0 Nougat. Then, things began to change….

Cyanogen Inc Logo when new identity was rolled out on March 1st, 2015

Cyanogen Inc.

In 2013,  Kondik began to look at the possibilities for monetizing and commercializing her work. Even as an open-source product, there were options for producing versions of CyanogenMod for OEMs to put straight onto their devices. The reaction was mixed. Some XDA users felt that Kondik was betraying the spirit of XDA, which had hitherto been strictly about community and open sharing.

CyanogenMod Home ScreenOthers questioned whether it was appropriate for any new company to profit from work donated to the community project, free of charge. Indeed some modules of the stack had to be rewritten when individual developers withdrew their support.

Kondik made it clear that CyanogenMod would continue as a free product for most users and that only commercially commissioned versions would be for cash. She obtained $7m venture-capital funding to formalize the business, and Cyanogen Inc. was born. To maintain goodwill with the XDA community, Cyanogen Inc. largely kept the same open-source licensing with respect to CyanogenMod code and promised to release device trees and kernel source code for devices running Cyanogen OS.

Some incidents threatened this goodwill, though. Cyanogen OS had several closed-source applications like CameraNext and GalleryNext, and they also tried to convert the licensing for some apps like Focal from GPL to Apache. However, the latter caused Focal to be withdrawn after developer xplodwild refused to adopt closed-source modifications to the code and move the entire application under a commercial license.

Despite the friction, Cyanogen Inc began to make an impression, courting customers joining the Android gold rush, including a little start-up known as OnePlus. More of them, shortly. Meanwhile, investment continued with Microsoft throwing its hat in the ring in 2015, when Windows Mobile was floundering, and the company was already eyeing how it could capitalize on the success of Android. This led to a wildly unpopular update in 2016, which bundled pointers to many of Microsoft’s Android apps into the firmware, at a time when Microsoft’s approval rating was at its lowest ebb.

By this time, aided by initiatives like this, internal frictions had started to boil over. Cyanogen Inc’s relationship with OnePlus had collapsed in acrimony within a year when it emerged shortly after the OnePlus One release that Cyanogen Inc. had signed an exclusivity deal for India with another OEM. India has always been a key market for OnePlus, so the dispute’s effect on both parties was palpable. Other OEMs came on board, including Spanish firm BQ and UK-based Wileyfox, but with OnePlus effectively alienated, Cyanogen OS was without a “killer product.”

OnePlus One

Even Kondik had become frustrated with the lack of progress for the company in its new form. On the one hand, CEO Kirt McMaster was happy to brag to the press that CyanogenMod would soon supplant Google in controlling Android (the Android version of John Lennon’s ‘bigger than Jesus’ claim), while on the other, the previously brisk updates to the platform began to slow to a near halt as all resources went towards producing tailored versions for paying clients.

CyanogenMod continued to be popular as a Custom ROM, but its commercial twin Cyanogen OS was proving a disaster. In July 2016, 30 staff (around one fifth) were fired at a stroke, the Seattle offices were “gutted,” and CEO Kirt McMaster left the company with fledgling COO Lior Tai taking on the CEO role.

Most notably, at some point during this period, Stefanie Kondik was, herself, removed from the Board of Directors of her own company. She later said that she’d “worked with the wrong people” and found herself unable to prevent the business’s failure or the alienation being felt by developers. Worse still, she had lost legal rights to the Cyanogen name. Things didn’t look great.

Then, two days before Christmas 2016, Cyanogen Inc was formally wound down, effectively ending CyanogenMod. After her ousting, Kondik begged the development community to fork the work, so it didn’t go to waste.

A day later, on Christmas Eve, the first use of the name “LineageOS” appeared on the XDA forums.

Lineage_OS_Logo

LineageOS arrives

You can’t keep a good operating system down for long. Very quickly, members of the XDA forums, including former Cyanogen-era developers, had organized themselves into a team to support the orphaned CyanogenMod. Thanks to the legal wrangles, it needed a new name, and LineageOS was chosen, reflecting the continuity from the previous project.

Back in community hands, many unofficial forks under the LineageOS name were quickly released on the XDA Forums over the Holidays, based on source code from CyanogenMod’s last build. A few weeks later, in early 2017, the first official builds began to appear, and a formal statement of intent was announced in a blog post.

The feature set of LineageOS includes several stock apps that were, themselves, developed by the community. Besides dedicated mail clients, the camera app (Snap), and a bespoke file manager, there have also been a number of features that go beyond simply being an alternative “skin” for Android. These include customization of hardware buttons, a global dark theme long before it arrived on AOSP, granular permissions through Privacy Guard, and the ability to block numbers from appearing in your call history.

February 2018 saw LineageOS 15.1 – the first new version to be announced since the XDA-take-back was released on some devices. 13 months later, version 16 arrived, by which time the development of the product had returned to a more familiar rhythm. Version 16 brought the new “Trust” interface, which provides a dashboard for making your device as secure and private as you want. Version 16 followed in 2019, by which time several forks had appeared, some offering a “Google-less” experience and one even removing all licensed components in favor of a truly open-source environment. Most recently, just after the world went mad, in April this year, Lineage 17.1, the most recent major release, was announced, built on Android 10. Work is now underway on Lineage 18, based on Android 11.

The Story Continues….

LineageOS provides an alternative firmware for literally thousands of phone models, thanks to its open-source, community-led approach. At XDA, we’re very proud of our association with LineageOS and its developers, and we can’t wait to tell you how we’re using it to raise the bar still further.

Read the next chapter at XDA tomorrow (Tuesday, 27th October 2020). Sign up here to get added to our early bird list – we’ll email everyone on that list with a unique link before it goes on general sale, but you’ll have to be quick as stock is limited!

The post From XDA to Cyanogenmod to LineageOS: A brief history appeared first on xda-developers.



from xda-developers https://ift.tt/3kxMfXw
via IFTTT