Rendered at 06:10:07 GMT+0000 (Coordinated Universal Time) with Cloudflare Workers.
__aru 3 days 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.
Oh, that's excellent; I thought lepton was just a slightly extended waydroid but that's notably different in a good way.
__aru 3 days 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.
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 3 days 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 3 days 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
hobo123 3 days ago [-]
In Firefox Android it looks like lots of clicks and esp. swipes all trigger this error.
sohzm 3 days ago [-]
yup my friend had the same issue, can you see if refreshing once fixes it (cuz his was fixed)?
patrakov 3 days ago [-]
Still reproducible if you try to drag from left to right.
sohzm 3 days ago [-]
yup will fix, thanks for the finding
haunter 3 days ago [-]
Couldn't launch a single app
'While executing DEX method dex file' etc etc
sohzm 3 days 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
lxgr 2 days ago [-]
Seems like an interesting project, but the documentation is frustratingly sparse. How does it do any of the things it claims to do? And does this run only pure Dalvik/bytecode Android applications? If not, which native library formats does it support?
gbraad 3 days 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).
drnick1 3 days 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.
yjftsjthsd-h 3 days 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 3 days 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 3 days 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.
sohzm 3 days 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 3 days 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?
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.
martinstuk 3 days ago [-]
Interestingly I was looking at what options there are (long time waydroud, but its stalled).
Created a gist that has my table I did earlier in the week. I do quite like both droidloom and innkeeper (thanks for posting, I had missed it earlier).
I have a lot of old 32-bit Android APKs I would love to run again. (Besides on an old phone.)
wingmanjd 3 days 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!
charcircuit 3 days 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 3 days 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
qxxx 3 days ago [-]
not a single apk I tried worked with this.. every time some errors popped up but the app never loaded.
AmazingEveryDay 3 days ago [-]
Reading the comments here the sentiment seems to be "IDK what it does or if it works but I'll upvote it"
The Google dependency (gapps) is probably a limitation for something like this.
ajasmin 3 days ago [-]
How does this work? Does it have NDK and Linux syscall support or only the Dalvik (Java) part?
metalman 3 days 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 3 days 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
9072997 3 days ago [-]
How do you hit the back button? Like, the physical button / system soft button / edge gesture thing?
sohzm 3 days 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 3 days 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 3 days 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 3 days ago [-]
The demo apps work, but what are the limitations? Will all apps work?
rvz 3 days ago [-]
> Will all apps work?
No.
> Very early development. Some apps and workflows run; compatibility is limited. Expect missing APIs and broken apps.
sohzm 3 days ago [-]
thought this would be an interesting experiment, posting here if someone wanna check this out
privacyishuman 3 days ago [-]
I blame shit like this for why people think Androids have bad UI.
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
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
'While executing DEX method dex file' etc etc
but yeah its still very early to run our daily complex apps, demo only has fdroid ones that i tested to work somewhat
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
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.
- 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
* droidloom
* Valve's lepton
* android_translation_layer
* waydroid
* winedroid
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.
Created a gist that has my table I did earlier in the week. I do quite like both droidloom and innkeeper (thanks for posting, I had missed it earlier).
https://gist.github.com/mestadler/e4c53bbc3ddf03a4beecaac331...
I have a lot of old 32-bit Android APKs I would love to run again. (Besides on an old phone.)
Seems like a neat project, though!
https://newpipe.net/
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
* 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)
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.
No.
> Very early development. Some apps and workflows run; compatibility is limited. Expect missing APIs and broken apps.
This is really cool.