7 ms·
Run full Linux distros or specific applications on top of Android
- fxfan 8y agoSomewhat related: Run arch on any distro: https://github.com/fsquillace/junest https://github.com/fsquillace/junest
- tyingq 8y agoI wonder how far we are from a real usable phone that docks into being a real usable PC. I suppose that's more of a hardware than software program. I'm aware of Samsung's DEX and similar, but I would guess the performance isn't great given the limited memory, etc, on a phone.
- reustle 8y agohttps://maruos.com https://maruos.com You're looking for MaruOS. I've been following development for a while and it had come a long way. While it might not be this project in particular, I feel it's the future of computing.
- dsr_ 8y agoFlagships from two years ago had 4GB RAM. New flagships come with 6 to 10GB, and 128GB or more storage. GPUs already handle 1440P and larger displays. What you need is a standard dock that can break out HDMI, USB ports for input and I/O, and a gigabit NIC. As it turns out, people make those for Macbooks right now.
- komali2 8y agoDunno about nic but I bought a usb c to c, a, and HDMI converter dongle thing to replace the stupid Nintendo switch dock, and happily discovered my galaxy s9 was outputting display and intaking USB through the thing.
- squeezingswirls 8y agoThat's one of the main goals of https://ubports.com/ https://ubports.com/ True 'convergence'. Work in progress though.
- stordoff 8y agoThat was the promise of Continuum on Windows Phone: https://www.microsoft.com/en-gb/windows/continuum https://www.microsoft.com/en-gb/windows/continuum
- kuwze 8y agoI really hope that is somehow Microsoft’s gameplan. Otherwise how on earth did they justify abandoning mobile phones. I mean some of their stuff was amazing (zune), and usually I am not a fan.
- Wowfunhappy 8y ago> Otherwise how on earth did they justify abandoning mobile phones. No one was buying Windows Phones, and no one was making apps for Windows Phones, and this had gone on for many years, and not for lack of trying on Microsoft's part. How could they not abandon mobile? What options were left to them?
- r3bl 8y agoBuy a bunch of third-party apps (like Sunrise and SwiftKey) and slowly but surely integrate them into your own products (like Bing and Outlook) to gather more data? I'm entirely used to one of them (SwiftKey) and I've tried several others as well. They've all offered amazing user experience, but I'm just not comfortable using Microsoft's Launcher for example.
- Wowfunhappy 8y agoWhich is what Microsoft is doing. So if we're considering this part of their mobile strategy (which is fair), Microsoft hasn't actually abandoned mobile at all.
- acct1771 8y ago.NET Core and Xamarin, it seems.
- deleted 8y ago[deleted]
- csixty4 8y agoAndroid Nougat has an experimental "Freeform Window Mode" that I've been playing with. I can connect my LG V30 to a USB-C dock and have a windowed desktop-style environment with a mechanical keyboard, Bluetooth mouse, monitor, etc. Most of my phone's apps are comfortable running like this. Chrome actually displays the desktop versions of sites. This Thursday, I signed up for coder.com (featured here on HN) and was able to write some Go code using VS Code in the browser. It was a pretty solid experience. Performance was fine. I had my email and a podcast player going in the background and, honestly, I could probably do a lot of my day-to-day work with this and an EC2 box for running sites. But it was glitchy, because Android hasn't really invested in this use case. The Taskbar home screen replacement would close the start menu as soon as it opened 90% of the time. There was a black space at the bottom of the screen which would change height almost randomly. Large windows conflicted with the notification bar and I'd end up opening my notifications when I wanted a new tag in Chrome. Right clicking maps to the back arrow in Chrome for some reason. But the point is, between modern phone hardware and the cloud, we're not far from a performance perspective. We just have to decide that's where we want to go and commit to it.
- chx 8y agoIt must be noted, however "LG formerly supported DisplayPort on their LG G series and LG V series phones, but dropped support in the G6, G7, V35, V40 phones" so while you can connect the V30 to an external monitor, not the later ones.
- csixty4 8y agoThat's a shame. It seems like the V30 and V30+ were great phones and then the series really went downhill.
- sgc 8y agos10+ has up to 12 gb of ram. More than plenty of laptops. The videos of dex in action on that are awesome. Foldable phones that give a tablet sized display when on the go will be a piece of the puzzle, because a bunch of peripherals in tow doesn't solve anything. I think we are there for performance, now it's a question of whether anyone gets the software right enough to make it practical. That includes the possibility of making a restorable image of everything on the phone so you can be up and running in an hour if you lose or break it. I have not used dex, so maybe they are already basically there.
- Boulth 8y agoI did use DeX for some time and it's definitely good for regular office work. I didn't have a chance to use Linux on Galaxy.
- imtringued 8y agoUnfortunately the RAM battle has already been lost thanks to electron, etc. A laptop with less than 16GB for development just doesn't make any sense.
- russdpale 8y agoThe term is "Convergence", fyi.
- chx 8y agoThere are a small number of phones supporting DisplayPort alternate mode so they can be docked to monitors and keyboards. And the performance is not at all bad any more, check https://browser.geekbench.com/android_devices/839 https://browser.geekbench.com/android_devices/839 vs https://browser.geekbench.com/processors/2294 https://browser.geekbench.com/processors/2294 or https://browser.geekbench.com/processors/763 https://browser.geekbench.com/processors/763 Basically, the fastest Android now caught up with Haswell desktop chips which is a pretty impressive feat. While RAM is not plentiful, top phones are now 8GB which is not bad at all. The real problem is more in storage, compare https://www.samsung.com/semiconductor/insights/tech-trends/emmc-to-ufs-how-nand-memory-for-mobile-products-is-evolving/ https://www.samsung.com/semiconductor/insights/tech-trends/e... to the SN520 -- I picked the SN520 because it's available in a 2230 physical format so the physical advantage is smaller but of course still existent, anyways: https://www.sandisk.com/content/dam/sandisk-main/en_us/assets/resources/data-sheets/Western-Digital-PC-SN520-Commercial-Datasheet.pdf https://www.sandisk.com/content/dam/sandisk-main/en_us/asset... the sequential speed is five times faster, IOPS closer to ten. (I also picked the SN520 because I am using a 2242 version of it now.)
- tyingq 8y agoAh, so closer than I thought. Maybe two more cycles of new models would be enough for the HW/SW to get there.
- bibyte 8y agoAnother related app is Termux. It can't run full Linux distro but it is much more lightweight and it has a pretty active community at /r/termux. Termux wiki: https://wiki.termux.com/wiki/Main_Page https://wiki.termux.com/wiki/Main_Page Termux repo: https://github.com/termux/termux-app https://github.com/termux/termux-app Subreddit: https://www.reddit.com/r/termux/ https://www.reddit.com/r/termux/
- elagost 8y agoIt works surprisingly well, and you can even share storage with the local Android system through termux-setup-storage. I've been using this for years and it's the primary reason I really enjoy Android. Another comment mentioned iSH for iPhone, but the comparison between iSH and Termux is no contest - Termux on my 6-year-old Motorola Photon Q runs much better than iSH on my 6S. Plus the Photon has a full keyboard! edit: Not only that, I attempted to run UserLAnd before, and it does not do well on my old phones with slow, small storage. UserLAnd is fun for playing around, but Termux is, for me, where the real action happens. It's my most-used Android app.
- neals 8y agoI love Termux, it has gotten me out of a tight situation more than once. I lets me ssh into my machines while in the pub or someplace where I'm not bringing my laptop.
- smhg 8y agoConnectBot[0] is pretty great for this too. Especially when combined with Hacker's Keyboard[1]. [0] https://play.google.com/store/apps/details?id=org.connectbot https://play.google.com/store/apps/details?id=org.connectbot [1] https://play.google.com/store/apps/details?id=org.pocketworkstation.pckeyboard https://play.google.com/store/apps/details?id=org.pocketwork...
- 3xblah 8y agoMaybe UserLAnd was/is relying on ConnectBot?
- edoo 8y agoI want a "phone" with data only that runs Linux and has docking support. The average techie could piece one together now with a pi, screen, and 4g module. It can't be that hard to build one in a phone form factor. It is all open source so you could whip up correctly shaped boards in weeks. The hardest part to me is the enclosure/case to screen finish.
- vertex-four 8y agoPurism’s phone will be this.
- deleted 8y ago[deleted]
- Ultramanoid 8y agoGet a GPD Pocket 2 : https://liliputing.com/2018/07/gpd-pocket-2-preview.html https://liliputing.com/2018/07/gpd-pocket-2-preview.html
- bloopernova 8y agoThat's a really interesting little device! Thank you for sharing the link, it was a good review.
- Legogris 8y agoNeat! I would pick one up right now if it weren't for the keyboard layout. I would shoot myself with the up arrow between comma and dot. Would have loved to see a 60% option, which is de-facto standard for semi-minimal mechanical keyboards. I feel there's a certain overlap between users of 60% keyboards and the target audience for this device.
- splintercell 8y agoYou're exaggerating the impact of that layout decision. I use many keyboards (including ortholinear) and this is never really a problem. You can always remap the dot key to be only be triggered when pressed with super or fn key (and that can also work with shift).
- slezyr 8y agoVNC into chrooted linux.
- untog 8y ago...which requires a remote Linux machine to VNC into.
- bump-ladel 8y agoRelated: under development for iOS, iSH - a usermode Alpine Linux https://github.com/tbodt/ish https://github.com/tbodt/ish
- tyingq 8y agoWow...that's a pretty crazy approach. Userland x86 emulation on an arm device, and a ton of ASM code and a sort of JIT. Guess options are limited in a walled garden. Edit: Found an HN discussion about it: https://news.ycombinator.com/item?id=18421016 https://news.ycombinator.com/item?id=18421016
- saagarjha 8y agoThe assembly and pseudo-JIT are there for performance, IIRC. iSH should work fine without them.
- tyingq 8y agoYes, not being critical at all. Just amazed at the dancing bear :)
- deleted 8y ago[deleted]
- 0815test 8y agox86 is indeed a weird choice for an "emulated" architecture - I'm pretty sure that RISC-V would behave a lot better (due to being a legacy-free design, if nothing else), and it does have support for running Linux.
- chadlavi 8y agoI just went down a rabbit hole on the subreddit for the iSH community, and it looks like the creator went with x86 because it's the only architecture they knew at the time.
- seba_dos1 8y agoWay more interested in the other way around. Having to carry a second phone just for things like instant payments or city bikes app sucks.
- fxfan 8y agoI would love it too- I would like to carry an old bb with just contacts and emails synced. I'm not an App guy.
- aasasd 8y agoAwful name. It's like calling your app “An Executable.” The name means a concept in the same problem domain. ‘A program in userland’ is already a thing.
- gruesome 8y agoSeems pretty good. Android runs on the Linux kernel, but is missing the GNU/Linux userland. This app gives you that.
- darkmuck 8y agoFor Samsung users there's Linux on Dex
- isodude 8y agoNotice that only S9 had DeX over USB-C earlier, not using a DeX-hub. This is now gone with the recent upgrade to Android 9 on at least S8. Tested it out as recently as yesterday!
- ausjke 8y agoHave not used termux, just installed and don't understand what is is. It just goes into a linux env directly without login that is running 3.18 kernel and I can install some packages on top of that, what is it? mainly used juicessh in the past, use connectbot occasionally, both are excellent, but I'm confused what I can use with Termux
- ausjke 8y agojust played with termux, looks neat, basically it is a local linux running on your cellphone. if I can miracast the screen to a tv or pc monitor(if the phone provides a hdmi-out), along with a bluetooth keyboard, then I have a portable little computer that I can use anywhere?? that is fantastic.
- ausjke 8y agotalking about miracast, we now need a chromecast or firetv dongle to relay that, hope the TV and monitors will support all kinds of casting one day. for now, can termux add chromecast?
- a-saleh 8y agoIf I understand correctly, termux is a terminal emulator first, with some additional packages installed. Android is running linux kernel, so in theory, if you have like sh executable compiled for android you would be able to run it inside of a terminal emulator on android. The additional packages are compiled with android ndk. There is a repository used to build and configure the basic set of packages [1]. [1] https://github.com/termux/termux-packages/tree/master/packages https://github.com/termux/termux-packages/tree/master/packag...
- mehrdadn 8y agoA bit of a tangent, but does anyone know what happened to Microsoft's x86-on-ARM emulator? I thought it was going to be the next big thing for mobile but there seems to be little trace of it?
- mrpippy 8y agoIt’s shipping with all Windows-on-ARM laptops, and probably used pretty heavily on those machines. It’s the only way to run Chrome and pretty much all Win32 apps.
- mehrdadn 8y agoOh I see, thanks. Do you know if there's any way to get it on other systems that don't come with it? I was so looking forward to getting Windows on my phone someday...
- tambourine_man 8y agoI never understood why there isn’t something like this for iOS. A package of the top 100 or so most popular precompiled tools wouldn’t be against the App Store rules AFAIK. Going the emulation root like iSH seems nuts to me. Running Vim, mutt, ffmpeg, imagemagic, httpd, etc, at full speed would be sweet. Things like [1] [2] seem either dead or not getting much traction. [1] https://github.com/louisdh/openterm https://github.com/louisdh/openterm [2] https://github.com/ColdGrub1384/LibTerm/blob/master/README.md https://github.com/ColdGrub1384/LibTerm/blob/master/README.m...
- tokyodude 8y agoWhat would you do with it if you can't add more software yourself? (which Apple expressly forbids). Try to customize your vim macros? Nope. Want to change your ~/.bash_profile? Also against the rules.
- Wowfunhappy 8y agoEditing bash_profile would be against the rules? Where is the line between software and configuration?
- tambourine_man 8y agoI’m also not sure it would be forbidden, but it’s an interesting question
- pault 8y agoThere are apps that let you run your own code. I think the restriction is on apps that allow you to download and execute third party code.
- Wowfunhappy 8y agoIf you can write code, you can also copy and paste code from the internet.
- 8y ago
- robolange 8y agoLast time I used UserLand I couldn't install something major (maybe typescript from npm, it's been a while) because there was some file path limit (maybe 143 bytes, again, it's been a while) that a bunch of the package's files violated. Has this been addressed with new versions?
- angelsl 8y agoThis runs on proot, which basically ptraces all processes under it and intercepts any syscalls that need privileges or deal with paths, and emulates them. It works pretty well until you start to run many processes, and then proot starts to be a bottleneck. It's not multithreaded, so every syscall ends up going through a single loop. Any multithreaded code that makes a lot of syscalls will be reduced to being effectively singlethreaded.
- gruesome 8y agoThis is easier to use than Termux or any of the others. Looks nice.
- usr1106 8y agoI don't have an Android phone and I don't miss one. In rare cases I might want to do the opposite what the author does: Run an Android app on my computer (Linux). Sounds weird that that is still not standard. I know there has been more than one attempt to implement it. But AFAIK none of them really successful. Would be glad to get corrected.
- unsignedint 8y agoJust tried this and great it runs PowerShell Core and .NET Core where Termux seems to struggle with. Since I have a handful of PowerShell modules I regularly use, this will be useful.