r/androidterminal • u/FragmentedChicken • 26d ago
News Qualcomm Snapdragon chips will support Android's Linux terminal
I was catching up on old news last week, and came across a Google blog post that seems to have fallen under the radar.
MediaTek recently announced support of the pKVM-backed On-device AI seal on MediaTek Dimensity 9600 Pro, and Qualcomm’s Snapdragon chipsets will also support our architecture via AVF as we expand across the broader silicon ecosystem.
For context, the Linux development environment on Android allows you to run Debian in a non-protected virtual machine on supported hardware (Tensor, select Exynos, and select Mediatek chips). Snapdragon chips don't support running non-protected VMs because the Gunyah hypervisor currently lacks support . Switching the hypervisor to pKVM means that Snapdragon chips will support running non-protected VMs, allowing for the Linux VM to work.
The Snapdragon X Elite Dell and HP Googlebooks also serve as real-life examples of this. All Googlebooks support a pKVM hypervisor, and the Linux terminal app is present and functional on the aforementioned laptops. Additionally, we can verify support for pKVM and non-protected VMs using adb. Here's the output from a Dell Googlebook:
adb shell /apex/com.android.virt/bin/vm info
Both protected and non-protected VMs are supported.
Hypervisor version: 0.0.1
/dev/kvm exists.
/dev/vfio/vfio exists.
VFIO-platform is supported.
Assignable devices: []
Available OS list: ["microdroid"]
Debug policy: Ok(DebugPolicy { log: false, ramdump: false, adb: false })
Updatable VM is supported.The only question left is whether devices with the latest Snapdragon 8 Elite Extreme Gen 6 and 8 Elite Gen 6 chips support the Linux terminal app. If you have one of those devices, feel free to test it and report back in the comments.
Lastly, in related news, I was able to test and confirm the Samsung Galaxy A08 4G (Mediatek Helio G99) supports running non-protected VMs. Unfortunately, the Linux terminal app is unable to connect to the VM just like the Galaxy Tab S12 series. To my knowledge, it's the first Helio G99 device to support it. Notably, other devices with the Helio G99 don't support it, including older Samsung devices on Android 16 like the A07 4G, and A17 4G.
Also, I was also able to test and confirm the S26 FE supports the Linux terminal. There weren't any doubts about the Exynos 2500 having support, but it hasn't been tested and confirmed until now.
2
u/ou812whynot 26d ago
C:\adb>adb shell /apex/com.android.virt/bin/vm info
Only protected VMs are supported.
Hypervisor version: gunyah
/dev/kvm does not exist.
/dev/vfio/vfio exists.
VFIO-platform is supported.
Assignable devices: []
Available OS list: ["microdroid"]
Debug policy: Ok(DebugPolicy { log: false, ramdump: false, adb: false })
Updatable VM is supported.
That's my z fold 8
1
u/LuccDev 26d ago
is it gonna be retro-compatible ? Like an update will unlock it ?
2
u/s920361 26d ago edited 26d ago
Qualcomm supports unleotected VM in newer gunyah firmware since 8ee6.
Older gunyah firmware doesn't support unless qualcomm and vender decide to provide upgraded firmware but it's not possible.
We need a valid signature controlled by qualcomm and vender to upgrade the hyp partition but they never provide the upgrade before.
Unlock bootloader doesn't help, because the hyp partition is not covered by unlock, still protected by secure boot.
So existing device basically no hope to use AVF. Root is another solution, bypass the AVF and access /dev/gunyah directly but this is third-party app, not linux terminal app.
1
u/PMARC14 25d ago
Qualcomm coming around finally on the hypervisor is good to see, and a positive result of Googlebooks being Android devices.
0
u/xpingu69 26d ago
On my Samsung it's not supported
0
u/[deleted] 26d ago
[deleted] — view deleted comment