I know right? I rooted my phone and I got a fedora chroot on an ext4 partition on my sd card. I use the SDL X11 server app with DISPLAY=127.0.0.1:0 to get a nice XFCE on my phone.
All this is good and well, but I should NOT NEED TO ROOT IT! And to add insult to injury, it's boot locked.
-- "It is no measure of health to be well adjusted to a profoundly sick society." -Jiddu Krishnamurti
I have Debian on a chroot for mine. It works without rooting the phone, but with some minor quirks. I apt-get installed my C toolchain so I could natively compile things on it. The first thing I did with that was compile perl because the one provided with the chroot didn't support some of the things I wanted it to do.
Well it's called a chroot by the app author but it apparently doesn't actually use the chroot() system call. There's an app in the Play Store called GNURoot. It gives you a loopback of Debian, Fedora, Arch, Octave, or I think some others that run alongside your Android. It then gives you a shell within that loopback. You can't run setuid-root programs from within it unless you've actually rooted your Android system outside of it, though. It's still pretty handy, but isn't quite a fully functional system without rooting.
I'm not sure I'm ready to root this particular phone just yet. If there's a hypervisor that lets me run an actual full OS with root inside that without rooting the main OS I'd probably use that. This meets my needs for having a pocketable GNU/Linux userland for the most part, though.
(Score: 2) by Subsentient on Thursday August 06 2015, @06:13PM
I know right? I rooted my phone and I got a fedora chroot on an ext4 partition on my sd card. I use the SDL X11 server app with DISPLAY=127.0.0.1:0 to get a nice XFCE on my phone.
All this is good and well, but I should NOT NEED TO ROOT IT! And to add insult to injury, it's boot locked.
"It is no measure of health to be well adjusted to a profoundly sick society." -Jiddu Krishnamurti
(Score: 2) by mr_mischief on Thursday August 06 2015, @09:26PM
I have Debian on a chroot for mine. It works without rooting the phone, but with some minor quirks. I apt-get installed my C toolchain so I could natively compile things on it. The first thing I did with that was compile perl because the one provided with the chroot didn't support some of the things I wanted it to do.
(Score: 2) by Subsentient on Friday August 07 2015, @04:16AM
Doesn't chroot require root privileges to execute? How'd you pull that one off?
"It is no measure of health to be well adjusted to a profoundly sick society." -Jiddu Krishnamurti
(Score: 2) by mr_mischief on Friday August 07 2015, @04:49PM
Well it's called a chroot by the app author but it apparently doesn't actually use the chroot() system call. There's an app in the Play Store called GNURoot. It gives you a loopback of Debian, Fedora, Arch, Octave, or I think some others that run alongside your Android. It then gives you a shell within that loopback. You can't run setuid-root programs from within it unless you've actually rooted your Android system outside of it, though. It's still pretty handy, but isn't quite a fully functional system without rooting.
I'm not sure I'm ready to root this particular phone just yet. If there's a hypervisor that lets me run an actual full OS with root inside that without rooting the main OS I'd probably use that. This meets my needs for having a pocketable GNU/Linux userland for the most part, though.