__aru 20 hours ago

Someone compiled an x86 port of Valve's Lepton compatibility layer, its still a work in progress but is working for a few Android utility apps that I wanted on Linux.

I'd argue Lepton is potentially better than waydroid due to:

- podman containers, so no root required

- no awkward file permission issues

- per-app lepton containers are possible, for additional sandboxing

Its definitely still a WIP though, needs more refinement and improvements before I'd consider recommending it to regular nontechnical users.

https://github.com/pjohno/lepton-x86_64

  • yjftsjthsd-h 20 hours ago

    Oh, that's excellent; I thought lepton was just a slightly extended waydroid but that's notably different in a good way.

    • __aru 20 hours ago

      Yeah, I'm surprised at how well its working for my handful of Android apps right now.

      In my opinion, one of the biggest limitations right now is that it requires Steam as a dependency because it uses the same `Steam Play` compatibility infrastructure as Proton.

      lepton shows up as another option in the compatibility tools dropdown in Steam, so you can use different versions of lepton for different apps too. So one day, we can maybe see something like Proton GE but for Android apps.

      But it should be possible to eventually break that steam dependency, umu-launcher already does it for Proton-based gaming.

      https://github.com/Open-Wine-Components/umu-launcher

  • tomrod 17 hours ago

    I've been running with Waydroid. Full compatibility so far!

ivanjermakov 19 hours ago

Winedroid name would be more suited for a compatibility layer to run Windows programs on Android, not the other way around.

  • tosti 12 hours ago

    I agree, this is confusing. Also, "run apps without Android". Pretty much any OS can run applications.

    • 0points 11 hours ago

      Title on this thread and the website both read "run Android apps without Android".

  • cowlevel 40 minutes ago

    Reality: all these names suck. It could be called Android compatibility wrapper for Linux, but that's too long.

yjftsjthsd-h 1 day ago

I'd be interested in a comparison with waydroid and https://gitlab.com/android_translation_layer/android_transla... (which this seems to somewhat resemble in approach)

  • sohzm 1 day ago

    yes i found out about this after a huge chunk of winedroid was implemented, then wondered if i should just fork (but then chose to not do it)

    • yjftsjthsd-h 1 day ago

      I certainly know that feeling:) But I do think there's a lot of value in another implementation, especially since you've already done some cool new things like the web version

patrakov 1 day ago

After clicking around the Weather app, I got this:

    Browser pointer input failed
    runtime touch dispatch has no runtime View root
    next missing primitive: runtime ViewRoot touch target
  • sohzm 1 day ago

    yup my friend had the same issue, can you see if refreshing once fixes it (cuz his was fixed)?

    • patrakov 1 day ago

      Still reproducible if you try to drag from left to right.

      • sohzm 1 day ago

        yup will fix, thanks for the finding

  • hobo123 12 hours ago

    In Firefox Android it looks like lots of clicks and esp. swipes all trigger this error.

haunter 1 day ago

Couldn't launch a single app

'While executing DEX method dex file' etc etc

  • sohzm 1 day ago

    did you try the ones in the demo or uploaded your own? (if you tried the demo one you can try refreshing once cuz apparently it fixed the issue in my friends browser)

    but yeah its still very early to run our daily complex apps, demo only has fdroid ones that i tested to work somewhat

qxxx 5 hours ago

not a single apk I tried worked with this.. every time some errors popped up but the app never loaded.

Kholin 18 hours ago

How's it compare to droidloom: https://github.com/denialwm/droidloom

  • yjftsjthsd-h 18 hours ago

    Oh, another one! Now we need a 5 way comparison between

    * droidloom

    * Valve's lepton

    * android_translation_layer

    * waydroid

    * winedroid

    • sargunv 13 hours ago

      Here's another (mine): https://github.com/sargunv/innkeeper

      Vibe coded it last month because I got tired of dealing with AVDs for quickly testing Android app development on my Linux desktop. It's been working extremely well for my needs.

drnick1 1 day ago

What is the use case for this? Waydroid works rather well on Linux desktops, and on a cell phone you do want actual Android as it has considerably better power and app management than a Linux distro.

  • sohzm 1 day ago

    tbh i feel like there are was differences between these two, for one,

    - winedroid is just a translation layer vs a contrainer

    - also since this is fully written in rust it can be ran in browser easily, this is very impt cuz i love browser, and i want to just run my fav android apps like a website

    - third is its just a fun to mess around and to see whats possible haha

    • MustafaYenler 5 hours ago

      Since it's a translation layer and not a container, could it run where the emulator can't? I timed the Android emulator on a CI server without hardware virtualization: 13.5 minutes to the first screen. Coding agents in cloud sandboxes have the same problem. Is running headless in a sandbox like that a goal, or is the browser the main target?

  • yjftsjthsd-h 23 hours ago

    I would hope for it it to be lighter weight (don't need to install a full Android image), easier to sandbox well, and maybe faster

    • sohzm 23 hours ago

      yup the current runtime is just 12 mbs, and it can already run a few apps thats crazy

      faster is kinda hard cuz android is optimized by thousands of devs for decades atp, so itll be hard to beat it in perf, hopeful tho haha

  • potato-peeler 7 hours ago

    > What is the use case for this?

    Linux phones having ready access to a large app repository. Developers won’t have to recompile to provide their service, users wont rue missing a google controlled phone. Maybe in future, we may have more choices.

gbraad 20 hours ago

Calculator wants me to upload a file? Files crashes on start for a pointer issue? And wine? I am a bit confused what this is. It is an emator, or compatibility layer? In a mobile browser the buttons are aligned properly so I can not open about (Vivaldi).

wingmanjd 17 hours ago

I have a bunch of apk files I've backed up over the years (humble bundle games, fdoid apk saves, exported ones from an older phone), but I couldn't get any of them to work.

Seems like a neat project, though!

ajasmin 12 hours ago

How does this work? Does it have NDK and Linux syscall support or only the Dalvik (Java) part?

AmazingEveryDay 18 hours ago

Reading the comments here the sentiment seems to be "IDK what it does or if it works but I'll upvote it"

9072997 1 day ago

How do you hit the back button? Like, the physical button / system soft button / edge gesture thing?

  • sohzm 1 day ago

    not added yet, gonna add it soon, im thinking two different ways:

    * cmd + backspace will act as back * also thinking of rendering the back button (like we had in old days before the one small bottom bar)

    • georgemcbay 1 day ago

      > also thinking of rendering the back button (like we had in old days before the one small bottom bar)

      This still exists in Android though it isn't the default. The first thing I do with any new Android phone is switch on "Buttons" instead of "Swipe gestures" in the OS Navigation bar settings.

    • yjftsjthsd-h 1 day ago

      For what it's worth, I think on real android, if you plug in a keyboard then the Escape key is equivalent to the back button. I'm not 100% sure of that, though.

terhechte 1 day ago

The demo apps work, but what are the limitations? Will all apps work?

  • rvz 1 day ago

    > Will all apps work?

    No.

    > Very early development. Some apps and workflows run; compatibility is limited. Expect missing APIs and broken apps.

sohzm 1 day ago

thought this would be an interesting experiment, posting here if someone wanna check this out

privacyishuman 23 hours ago

I blame shit like this for why people think Androids have bad UI.

This is really cool.

charcircuit 23 hours ago

Does anyone see if this properly implements security like apps being unable to read the filesystem without being granted permission? I didn't see security mentioned in the architecture documentation.

  • sohzm 23 hours ago

    it doesnt actually do that well rn, infact the apps can read data of other apps as well, first i want to implemeent the most basic primitives then will add better sandboxing

metalman 23 hours ago

freaky thing can see my whole phone ! opens the phone file system when tapping the 'not android' bat logo, and the apps I opened from there stay as cached processes when everything else is closed, browser cache cleared, but have to close everything manualy, so just like opening apps directly

  • sohzm 23 hours ago

    > freaky thing can see my whole phone ! opens the phone file system when tapping the 'not android' bat logo

    haha it's just input for apk file if you wanna try your apk so its opening your phones file selector

    yes its not the best implementation cuz it's meant to be a tech demo than something thats usable practically