Live data from Hacker News

Linux on Samsung Galaxy smartphones

seap.samsung.com

211–220 of 255 posts

Re: Linux on Samsung Galaxy smartphones

#211
post #200

What I would like to do is use my phone as portable storage device and then plug it in to external processing unit and boot from my phone. The external processing unit could be desktop computer, laptop or tablet. The reason? When sitting behind my desk at home or office I don't like to be limited with the mobile CPU. I have the required kWhs to power a proper CPU, GPU and run 64GB of memory. I also don't want to run…

One solution is use rdnis over usb. It allows ethernet connection over USB. Once ip network is setup, you can easily run nfs, samba, vnc over that network interface. A few years back when I worked on AOSP project, I dislike the tools from Android. I put a "ubuntu for arm" rootfs in a subdirectory inside a cell phone platform, chroot to that subdir. I have full ubuntu environment inside a cell phone. xfce4-terminal, d…

I think you mean RNDIS?

Re: Linux on Samsung Galaxy smartphones

#212
post #190

Earlier quoted context omitted.

> I don't want to do a full reboot every time I "unplug" the phone from desktop processing unit and move it somewhere else. How do you expect this to work? You can’t hibernate an OS and swap out all the hardware and expect it to actually wake back up. You’re going to have to do a full boot.

> You can’t hibernate an OS and swap out all the hardware and expect it to actually wake back up. You’re going to have to do a full boot. Have you actually tried? You sound like you're used to Windows where if you change a single piece of hardware the whole OS goes to pieces and needs to be re-installed or go through a painful process of driver searching. Considering I can (and have) literally moved hard drives betwe…

> Have you actually tried? You sound like you're used to Windows where if you change a single piece of hardware the whole OS goes to pieces and needs to be re-installed or go through a painful process of driver searching.

Haha I didn't come here to be a win fanboy, but have you ever actually done this? I build all my own machines and I have removed a windows boot drive from a system, replaced the motherboard and all major components, put the drive back in and booted successfully without making any changes at all. I've done this on NT, XP and 7. Have not yet done it on 10. Some things will definitely not work right, and you will for sure have to update some drivers, but in all likelihood it will boot. It helps if you uninstall the board-specific drivers (chipset, etc) prior to the teardown, but I have done it both ways.

Re: Linux on Samsung Galaxy smartphones

#213
post #113

Earlier quoted context omitted.

To be fair this is already what we do. Android already IS linux. You can install plenty of scripting environments like Ruby or Python while having access to the underlaying Linux system which is only partly crippled. Personally i see this more as a marketing thing from Samsung than anything else.

A shitty, half-assed linux. Until I can just put Debian on natively, and use apt-get for packages without a problem, I want us to keep moving to an actual linux on the phone. I'm quite eager to get away from android

I would love to get away from Android, but this is helping as much as Ubuntu on Windows is helping to get away from Windows.

If you'd want debian natively this also was possible for a while, next to the option to have it run on a compatibility mode on top of your android kernel but does not even require root. Both methods supporting apt-get, X, and whatever else runs on ARM.

Then there is also the Ubuntu phone project (which i assume is pretty much dead meanwhile) which has no Android in the mix at all. Except a possible compatibility layer for apps.

Also its not a half-assed linux. Its just a linux that uses weird libraries to build their environment on which are not compatible with your desktop like environments.

Re: Linux on Samsung Galaxy smartphones

#214
post #26
post #14

Earlier quoted context omitted.

Tizen on smartwatch is pretty awesome. Imho its miles ahead of the other watch OSes

I guess you never bother to actually program on it. Tizen already went through these reboots: 1 - Replaced Meego SDK with Bada OS SDK 2 - Replaced Bada OS SDK with EFL + C++ SDK 3 - Dropped C++ SDK and replaced a new pure C API alongside EFL 4 - Currently adopting .NET Core + Xamarin.Forms Then there is the whole issue of code quality. https://what.thedailywtf.com/topic/15001/enlightened https://www.theregister.co.uk…

Samsung also has a webkit-Javascript based SDK as well. It's actually pretty good as it exposes a lot of OS functionality in the JavaScript API. It might be the best option right now.

Re: Linux on Samsung Galaxy smartphones

#215

Earlier quoted context omitted.

>> Computers are expandable, upgradeable machines Not anymore they're not. I haven't bought an upgradeable laptop since 2011.

My five year love affair with MacBook Pros ended after the second time in two weeks I spilled liquid on one. I went out and dropped $2k on a desktop and a desk to put it on. I'm sorely tempted to switch to a Mac Mini for my work machine. I use a tablet now for my idle couch browsing.

If you ever look for a new couch laptop:

https://www.youtube.com/watch?v=LDmCmmvIA8A

Re: Linux on Samsung Galaxy smartphones

#216
post #98

Earlier quoted context omitted.

I've always thought of WSL as "implementing the Linux kernel API on Windows so you can run software written for it." I don't think it's necessarily restricted to GNU it's just that's what most people use and it's what's included.

That is what it is - it's a compatibility layer to provide (a subset of) Linux kernel system calls on Windows, allowing the user to run ELF binaries as-is. The problem is Microsoft's phrasing. They're calling the distros (eg ubuntu or suse) that can run on WSL sans Linux (as they use the NT kernel w/WSL) "Linux". https://twitter.com/TechBandCamp/status/920733089948504064 It's like saying "for our lactose intolerant c…

Microsoft is offering a Linux-compatible kernel. Calling any distribution "Linux" has a long history that pre-dates anything Microsoft has done.

Re: Linux on Samsung Galaxy smartphones

#217
post #140
post #87

Earlier quoted context omitted.

Whats the problem with USB3 not carrying analog audio? Instead of placing the DAC in the phone, we now place it in the audio device, it makes no difference. One could argue it's better, as we now have choice in the quality of the DAC, instead of being stuck on the one in your device.

The Apple 30 pin connector was introduced in 2003 when USB2.0 was all we had, and it's a right pain to enumerate a device and persuade it to start sending you digital audio over USB2. Whereas two analog pins Just Work. Moving the audio to all-digital moves more NRE cost to the devices. It also means there's a potential for the "choice" of rubbish DACs to save cost.

>Whereas two analog pins Just Work.

Actually, they only work when they follow the standard physical layer. Try plugging a Line device into a Mic input, or a Line device into a speaker. Or an unbalanced into a balanced jack. It'll "work" but not "correctly."

And, just like saving money with "rubbish DACs", there's room for designing complete crap, noisey audio paths (and noisey amplifiers) in products.

If people could actually agree on a standard (USB3 seems a good choice), sending audio over a digital port seems fine.

The ONLY real problem, is digital audio isn't digital audio. It's a protocol with MANY audio formats. 44Khz. 48Khz. 96, 192khz. 2 channels, 4 channels, 7.1 channels. 16-bit, 24-bit, 32-bit float. Compressed with different compressions.

THAT'S where the real shitshow happens. Because now you're basically in the oldschool Modem situation where you have to try various standards and HOPE that the sender and the receiver both have compatible formats and in failing that, falling back to some standard required format like "stereo 44Khz PCM".

Re: Linux on Samsung Galaxy smartphones

#218
post #42
post #13

Earlier quoted context omitted.

Another vote for termux! It's specially useful on chromeos

It’s more useful to have standard Linux installed, unless you’re incredibly sensitive about security. I treat Chromebooks as cheap Linux machines. You can buy a brand new netbook, and you know Linux will run on it with no driver issues. It’s still chroot, but you get everything you need to do development.

You can install GalliumOS distribution and get full Linux on most Chromebooks. You can flash firmware and get a proper laptop too

Re: Linux on Samsung Galaxy smartphones

#219

What I would like to do is use my phone as portable storage device and then plug it in to external processing unit and boot from my phone. The external processing unit could be desktop computer, laptop or tablet. The reason? When sitting behind my desk at home or office I don't like to be limited with the mobile CPU. I have the required kWhs to power a proper CPU, GPU and run 64GB of memory. I also don't want to run…

We really need robust USBC drivers. Even Apple, being in the forefront of USB C connectivity, is vastly lacking in robust USB C operations. Plug in/out of usbc cables causes dramatically high crash rate on the new MBPs

By "forefront of USB-C connectivity", you mean the new iPhones still use the proprietary lightning connector, to the detriment of progress.

Re: Linux on Samsung Galaxy smartphones

#220
post #179
post #163

Earlier quoted context omitted.

"I seriously doubt there's a technical reason why older Galaxy models can't support running Linux as well. I don't understand why it's so difficult for Android manufacturers to allow users to install whatever they want" Can you do this (install arbitrary OS, etc.) on any of the google nexus devices ? I have never used one but my impression was that they had totally unlocked boot loaders, etc.

If the bootloader is unlocked / fastboot can write to the bootloader / etc you can put whatever code on your phone you want to run. The problem is the hardware is undocumented and the shipped drivers are proprietary so you would need to reverse engineer support for everything from the chipset to the modem to the display adapter. So you can go throw a Debian Arm image in place of a system partition on many Android pho…

That isn't true. It will actually boot. In fact, you will even have unaccelerated graphics. Depending on the phone, you will probably have working Bluetooth. WiFi will work if you copy the firmware image from the original Android installation. Touch screen will work perfectly fine. Power management and thermal management are going to be a lot of work. Graphics acceleration is unlikely
Post reply on HN