logo
Hands-on: We ran full desktop Linux apps on an Android phone!

Hands-on: We ran full desktop Linux apps on an Android phone!

Android Authority15 hours ago
Mishaal Rahman / Android Authority
TL;DR An upcoming Android update will significantly upgrade the Linux Terminal app, enabling it to run full-fledged graphical Linux programs on supported devices.
The feature is currently experimental, requiring a Pixel 6 or newer on a specific Android Canary build and manual steps to enable both the terminal and hardware acceleration for better performance.
This guide details how to install and run graphical apps like GIMP or LibreOffice using Flatpak, either by launching them manually or by setting up a complete desktop environment like XFCE.
The Linux Terminal app is set for some major upgrades in an upcoming Android release. If you're unfamiliar, the Terminal app lets you run full-fledged Linux programs in a virtual machine, opening the door to running many powerful tools that aren't natively available on Android. Initially, the Terminal app was limited to running command-line applications, but a recent Android update introduced support for graphical apps. Despite some lingering issues, we were surprised by how capable it already is. If you're interested in trying this out, here's how to get started.
First of all, you'll need to have a Pixel 6 or later running the latest 2507 Android Canary release, as this is currently the only public build with support for running graphical Linux apps. While the second quarterly release of Android 16 (QPR2) might introduce this feature more broadly, we won't know for sure until the public beta arrives.
Because this capability is not in the stable version of Android 16, other devices will have to wait. It's possible some non-Pixel devices will receive it in the Android 16 QPR2 update, but it's more likely to arrive as part of next year's Android 17 release.
To see what's possible, check out this video of several desktop Linux apps running on a Pixel:
Want more? Tune in to the weekly Authority Insights podcast, hosted by Mishaal Rahman and C. Scott Brown.
Check out all of our Authority Insights stories on our hub page.
If you have a compatible device and want to replicate this, here are the steps.
How to enable the Linux Terminal in Android
The Linux Terminal isn't enabled by default in Android. To enable it, follow these steps: Open Settings Go to System Tap Developer options Tap Linux development environment Toggle (Experimental) Run Linux terminal on Android
Once you do these steps, a 'Terminal' icon will be added to the app drawer. Before you open it, read the next section to enable hardware acceleration for better performance.
How to enable hardware acceleration in the Linux Terminal on Android
Enabling hardware acceleration is straightforward. You just need to create an empty file named virglrenderer inside the /sdcard/linux directory. This directory likely doesn't exist yet on your device, so you'll have to create it manually. If you already have ADB set up, you can do this by running these two commands:
Code Copy Text adb shell 'mkdir /sdcard/linux' adb shell 'touch /sdcard/linux/virglrenderer'
The Terminal app checks for this file before enabling VirGL, a graphics virtualization technology that translates OpenGL commands from the guest virtual machine to the host. While it doesn't offer the absolute best performance, Google is working on a more advanced solution for the future.
To confirm it's working, launch the Terminal app. You should see a toast message at the bottom of the screen that says, 'VirGL is enabled.' Once you see that, you're ready to start installing and running graphical Linux apps.
How to run graphical desktop Linux apps on your Android phone
When you open the Terminal app for the first time, you'll be prompted to download the necessary files to boot Debian. Tap 'Install' and wait for the download to complete. Once you see the command-line console, you're ready to proceed.
Mishaal Rahman / Android Authority
First, update your package lists and upgrade any existing packages with these commands:
Code Copy Text sudo apt-get update sudo apt upgrade
Next, install Flatpak, a popular framework for distributing Linux applications, and add its main repository, Flathub:
Code Copy Text sudo apt install flatpak sudo flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
Now you can install graphical apps. For example, here's how to install Chromium, GIMP, and LibreOffice:
Code Copy Text sudo flatpak install flathub org.chromium.Chromium sudo flatpak install flathub org.gimp.GIMP sudo flatpak install flathub org.libreoffice.LibreOffice
Note that not all Flatpak apps will work. For the best chance of success, look for applications compiled for ARM64 that support the Wayland display protocol.
Launching apps manually
To run these apps, you must first launch a basic graphical environment. This process is a bit involved and is best for quick tests: Tap the display icon in the top-right corner of the Terminal app. This forwards graphical output from the Linux VM to your Android screen. Connect a physical keyboard. The on-screen keyboard will not appear in this mode. Type weston and press Enter to start the graphical session. Once the environment loads, click the terminal icon in the top-left corner to open a Wayland Terminal window. In this new terminal, launch your app using its package name. For example, to run GIMP, type:
Code Copy Text flatpak run org.gimp.GIMP
Chromium requires a few extra flags to work correctly:
Code Copy Text flatpak run org.chromium.Chromium --no-sandbox --enable-features=UseOzonePlatform --ozone-platform=wayland
Launching apps via a desktop environment
Manually launching apps is cumbersome. For a more traditional desktop experience, I recommend installing XFCE:
Code Copy Text sudo apt install task-xfce-desktop
The installation will take some time, as it includes many packages. You will be prompted to select your keyboard layout during the process.
Once it's finished, completely close the Terminal app to ensure the VM shuts down. Re-open it, tap the display icon in the top-right corner, and the XFCE desktop will load automatically. If prompted to log in, use the username root and leave the password blank. This default account can be secured later using standard Linux commands.
That's it! Your installed Flatpak apps will now appear in the Applications menu in the top-left corner. While other apps should launch directly from the menu, remember that Chromium still requires the special launch flags mentioned in the previous section.
Mishaal Rahman / Android Authority
For a more convenient way to add new Flatpaks, you can install a tool like Warehouse. And if you notice sluggish performance, you can improve it by allocating more RAM to the VM by following these steps.
Follow
Orange background

Try Our AI Features

Explore what Daily8 AI can do for you:

Comments

No comments yet...

Related Articles

At last, a humanoid robot masters the chore we all hate
At last, a humanoid robot masters the chore we all hate

Digital Trends

time21 minutes ago

  • Digital Trends

At last, a humanoid robot masters the chore we all hate

A couple of weeks ago, we watched in awe as Figure's humanoid robot grabbed clothes from a laundry basket before deftly depositing them in a washer. It was all very impressive. In a follow-up that offers a glimpse of a future where humans can finally ignore this wretched chore, Figure has shared another video showing the same robot folding freshly washed towels before placing them in a pile. Today we unveiled the first humanoid robot that can fold laundry autonomously Same exact Helix architecture, only new data — Figure (@Figure_robot) August 12, 2025 The California-based tech company said it's the first humanoid robot capable of folding laundry 'fully autonomously,' a statement that will surely cause millions of people around the world to call out at once: 'So where can I get one?' Well, more on that later. Recommended Videos To conduct the process, Figure 02 uses the same Helix Vision Language Action (VLA) model that the company has already deployed for industrial logistics tasks, but now with a new dataset for laundry folding. To be clear, the robot performs the laundry task without teleoperation or specialized hand-coded instructions, relying instead on an end-to-end neural network. As you can see, the robot uses multi-fingered hands to competently pick towels from a pile. It also performs different folding strategies, recovers from errors such as grabbing multiple towels at once, and carries out fine manipulations — just like a human. The video demonstrates real advances in one of the areas that robotics engineers still find extremely challenging: manipulation of objects, especially soft, flexible ones. Indeed, the robot's impressive ability to handle the humble towel looks like an exciting step toward such machines being able to cope with other non-rigid items, opening them up to a plethora of other tasks in a broader range of settings. 'Folding laundry sounds mundane for a person, but this is one of the most challenging dexterous manipulation tasks for a humanoid robot,' Figure said in a post on its website. 'Towels are deformable, constantly changing shape, bending unpredictably, and prone to wrinkling or tangling. There's no fixed geometry to memorize, and no single 'correct' grasp point. Even a slight slip of a finger can cause the material to bunch or fall. Success requires more than just seeing the world accurately — it demands fine, coordinated finger control to trace edges, pinch corners, smooth surfaces, and adapt in real time.' While Figure is currently focused on deploying its humanoid robot in industrial locations, it will — tantalizingly for all of those laundry haters out there — begin testing it in home settings this year. Figure has yet to mention pricing and other purchasing details for individual customers, so for the time being at least, the laundry will continue as a regular chore for most folks. But this humanoid robot certainly offers hope …

Samsung hit the sweet spot: AT&T talks Galaxy Z Fold 7, tri-folds and more
Samsung hit the sweet spot: AT&T talks Galaxy Z Fold 7, tri-folds and more

Digital Trends

time21 minutes ago

  • Digital Trends

Samsung hit the sweet spot: AT&T talks Galaxy Z Fold 7, tri-folds and more

One of the biggest surprises this year has been the Samsung Galaxy Z Fold 7. After several years where its rivals launched thinner and lighter folding phones that competed with, and exceeded, greats like the Galaxy Z Fold 6, Samsung finally joined the party. Previous years have seen Samsung launch iterative versions of its phones. These would feel special in their own right, but wouldn't hit the same heights as the biggest rivals for the world's thinnest phone title: the current holder, the Honor Magic V5, and the past holder, the Oppo Find N5. Recommended Videos Against this, the Galaxy Z Fold 7 changes everything. It's the thinnest and lightest folding phone yet, and by far, the most successful Samsung folding phone ever. Customers are happy, as evidenced by the record pre-order numbers at both Samsung and carriers, but what makes the Fold 7 so special? How have carrier customers reacted to it, and what does the future hold for folding phones on the big carriers? To answer these questions and dive further into the world of folding phones from the perspective of a carrier, I spoke with Jeff Howard, Vice President of Mobile Devices and Accessories at AT&T. Here's what I discovered. Samsung figured out what foldables should be One of the biggest surprises with the Galaxy Z Fold 7 is the initial reaction to holding it for the first time. Despite trying every folding phone, I was still taken aback by the ultra-thin design, which is the best I've seen so far on a folding phone. It turns out that I wasn't the only one. We showed the Galaxy Z Fold 7 to 30 average smartphone users and discovered that most customers are impressed with the design. Jeff put it more succinctly: Customers come in and discover that it's finally in a form factor that's thin enough for me to carry around. Achieving this required 'Incredible attention to detail', which Jeff can intimately appreciate as he's also an engineer. Jeff also reserved praise for TM Roh, the current CEO of Samsung's Mobile Experiences (MX) division. 'Tim's been pushing his team for quite a while since he moved out of engineering and into the CEO position. I think they finally figured out what foldables should be.' Why AT&T picks some folding phones and not others Alongside the Fold 7, Samsung released the Flip 7 and Flip 7 FE. The former is the new flagship flip phone with a stunning 4.1-inch main display, while the latter is the company's first affordable flip phone. The Galaxy Z Flip 7 FE is nearly identical to last year's Galaxy Z Flip 6, but unlike that flagship, the Flip 7 FE isn't being stocked by most major carriers. The answer is fairly straightforward, with Jeff explaining: Our customer base demands leading-edge technology, and they're super patient when it comes to trying new things. They always want the latest and greatest. The US market in particular poses additional challenges because of how the majority of phones are purchased. Unlike in some countries where customers pay upfront for a phone, most phones in the US are bought on installment plans. This makes the $300 price difference between the Galaxy Z Flip 7 and 7 FE far less meaningful. One of the challenges in the US market, specifically, is installment plans… and so when you're dividing payments by 36 months… it ends up being a couple of dollars [difference] per month. To further entice your purchase, Samsung and its carrier partners put together some of the best Galaxy Z Fold 7 deals. On AT&T, this includes up to $1,100 off a new Galaxy Z Fold 7 with any trade-in and a new line, and the Next Up Anytime program means you can get a new folding phone each year. These deals won't be for everyone, however, and in particular, there is a subset of customers that more affordable flip phones like the Galaxy Z Flip 7 FE are arguably designed for: the budget-conscious. For carriers, this plays out with value-focused MVNOs like Cricket Wireless and others. Jeff explained why the Galaxy Z Flip 7 FE could still have a key role to play: Things like the FE that we've chosen not to carry… you'll notice that it and the [base] Razr are not in that category [of the newest and latest technology]. Our Cricket customers love that product… It's just a very different set of buying behaviors. When you look at a Cricket customer, they come in and say I may have to pay full price for this. There may be a financing option, but if I'm paying full price, then a value-type device fits my needs [better]. Rounding out the discussion on Samsung's latest folding phones, Jeff revealed his admiration for the Fold 7. To the [book-style folding phone] form factor and how things are being used today, I feel like they've absolutely hit a sweet spot. In our Galaxy Z Fold 7 review, I called it the best folding phone for most people. The record sales so far and the wide praise it has received suggest that Samsung really did hit the sweet spot. Tri-folding phones and other form factors While discussing the broader market with Jeff, the conversation turned to the subject of other form factors. In particular, tri-folding phones and smart glasses. AT&T is well-known for adopting the latest and greatest technology. The carrier was the original launch partner of the iPhone. More recently, it carried Microsoft's Surface Duo and Surface Duo 2 before they were killed, and it has stocked every Fold so far as well. Unsurprisingly, Jeff confirmed that this has no plans to stop: It doesn't matter if it's glasses, smartphones, watches, wearables, etc, whatever our customer wants when they're consuming content, we're going to [have] a solution for them. The Galaxy Z Fold 7 isn't likely to be Samsung's last folding phone this year, as the company is expected to unveil the upcoming Galaxy G Fold tri-folding phone. Designed as a competitor to the Huawei Mate XT Ultimate — the world's first tri-folding smartphone, which was launched last year — the form factor allows you to unfold a smartphone into a tablet-sized 10-inch display. Yet, this comes with a specific trade-off: the size. Looking at Huawei for an example, the Mate XT Ultimate is supremely thin at 3.6mm thick when unfolded, but given the two folds, it measures 12.8mm thick when folded. Granted, this is only 0.7mm thicker than the Galaxy Z Fold 6, but there's a definitive concern around size. Jeff echoed this sentiment as well: I think the real question is how good a tri-fold is from a size point of view… It's possibly a niche play as the use cases aren't immediately apparent for the form factor… I'm wondering whether there will be a need for continued growth and screen size for customers versus voice input. The latter point raised the final key area I wanted to discuss: other form factors. We've seen AI devices adopt many form factors, and Google is already working on a VR headset with Samsung, as well as smart glasses with Xreal and Warby Parker. Are smart glasses the answer? If I'm wearing smart glasses and they have a display inside, that's where I'm going to consume content… If I don't want to carry around a 7-inch display, I'll carry around my glasses, and I can view content in that way, which is more convenient. Despite some uncertainty around exactly what the final form factor for folding phones will look like, one thing is clear: the mobile industry has never been as exciting as it is now. I'm almost twenty years into reviewing technology, and there's never been a more exciting time in terms of the experiments and innovations that companies are building. As Jeff Howard put it: I've been in this industry for over 25 years… There hasn't been a time when the industry has moved faster. And it's customers who are driving that innovation. I look forward to this technology and these folding displays providing many more opportunities from a hardware point of view. Thanks again to Jeff and AT&T for taking the time to discuss the Galaxy Z Fold 7 with us. One month in, it's an incredible folding phone that you should consider for your next phone. Alternatively, one of the best phones may be a better fit, but regardless of which you buy, given the customer base, it'll most likely be available at AT&T.

Elon Musk says Google has the best shot at being the leader in AI
Elon Musk says Google has the best shot at being the leader in AI

Business Insider

time22 minutes ago

  • Business Insider

Elon Musk says Google has the best shot at being the leader in AI

xAI CEO Elon Musk paid a rare compliment to his rival Google on Wednesday. "Outside of real-world AI, Google has the biggest compute (and data) advantage for now, so currently has the highest probability of being the leader," Musk wrote in an X post. But that "may change in a few years," he added. "For the foreseeable future, the major AI companies will continue to prosper, as will xAI. There is just so much to do!" Musk wrote. Musk and Google did not respond to requests for comment from Business Insider. Google has long been a mainstay in AI. In 2017, Google Research released a paper titled "Attention Is All You Need." This seminal work introduced the world to the concept of the Transformer, the technology that powers large language models like ChatGPT. The search giant has also invested in AI startups such as Anthropic and Safe Superintelligence. Google owns a 14% stake in Anthropic, a startup founded by former OpenAI employees, per legal filings obtained by The New York Times. Google has continued to make hefty investments in AI. During its second-quarter earnings call last month, the company said it was raising its capital expenditures by $10 billion this year to $85 billion. Google's CEO, Sundar Pichai, said the increase in capital expenditures would help meet the increased demand for chips and Google's AI products. Last year, Google DeepMind's CEO, Demis Hassabis, was one of three researchers awarded the Nobel Prize in chemistry. Hassabis and his colleague, John Jumper, were recognized for Google DeepMind's work on protein-structure prediction. Musk's comments come as he continues to escalate his feud with Sam Altman and OpenAI. On Monday, Musk said xAI would take " immediate legal action" against Apple for what he said was Apple's bias toward OpenAI in its App Store rankings. A spokesperson for Apple told Business Insider on Tuesday that the App Store is "designed to be fair and free of bias." Musk and Altman cofounded OpenAI in 2015, but their relationship soured after Musk left its board in 2018. Last year, Musk sued OpenAI and accused the ChatGPT maker of violating its nonprofit mission when it partnered with Microsoft. Musk launched his own AI startup, xAI, in July 2023 and debuted his chatbot, Grok, later that year. xAI raised over $12 billion in its Series A, B, and C funding rounds in 2024 and was valued at a reported $50 billion. Last month, Musk said on X that his EV company, Tesla, will ask its shareholders to vote on whether to invest in xAI. He did not specify when the vote would take place. "It's not up to me. If it was up to me, Tesla would have invested in xAI long ago," Musk wrote on X on July 13.

DOWNLOAD THE APP

Get Started Now: Download the App

Ready to dive into a world of global content with local flavor? Download Daily8 app today from your preferred app store and start exploring.
app-storeplay-store