Linux on Android and Linux Deploy Problems - Nook HD, HD+ Q&A, Help & Troubleshooting

So before I installed CyanogenMod I had linux running through terminal and vnc viewer on the stock Barnes and noble ROM. But once I upgraded to any CyanogenMod ROM it stopped working and does not let me run commands as [email protected] Currently I am on CM11 nightly.
Sent from my BN Nook HD using xda app-developers app

Blue49974 said:
So before I installed CyanogenMod I had linux running through terminal and vnc viewer on the stock Barnes and noble ROM. But once I upgraded to any CyanogenMod ROM it stopped working and does not let me run commands as [email protected] Currently I am on CM11 nightly.
Sent from my BN Nook HD using xda app-developers app
Click to expand...
Click to collapse
So if I have this right, you are SSHing into a linux pc via terminal and VNCing into a linux pc via an app. All fine and good. That shouldn't have any bearing on the linux pc itself if your logging into the linux pc exactly the same as before.
More likely I think your logging in differently in some way, upgraded the linux distro (which changed something), changed something on the linux pc yourself or haven't changed something that needs to change, forgot to switch to root user, or some other thing on the linux pc.
ssh, vnc, rdp, or whatever are basically just a way of bringing the computer to you. What happens there is happening on the computer not the android device.

sandsofmyst said:
So if I have this right, you are SSHing into a linux pc via terminal and VNCing into a linux pc via an app. All fine and good. That shouldn't have any bearing on the linux pc itself if your logging into the linux pc exactly the same as before.
More likely I think your logging in differently in some way, upgraded the linux distro (which changed something), changed something on the linux pc yourself or haven't changed something that needs to change, forgot to switch to root user, or some other thing on the linux pc.
ssh, vnc, rdp, or whatever are basically just a way of bringing the computer to you. What happens there is happening on the computer not the android device.
Click to expand...
Click to collapse
I am actually trying to run a arm linux system from terminal and VNC into it on the same device (Nook HD). I used 2 apps one is called Linux on Android and the other is called Linux Deploy. This worked on all of the stock roms but non of the CyanogenMod ROMS. Not sure if this is a conflict with the CyanogenMod build or whats up with it.

Related

[Q] i9000 and Linux (Ubuntu 10.04 / 10.10)

Does anybody run Linux at home, and if so does the I9000 pop up as a removeable device? Do I lose any awesome features by not being able to use Kies? Remote control of phone is not that useful to me.
I'll be spending the latter part of today (hopefully) finding this out for myself, but it may help if I can just return the phone on the day of delivery that faff about sending it later in the week.
Ubuntu - use usb select on connection in about phone usb and debug off in development usb Then connect phone and choose mount from the homesceen dropdown. Ubuntu will mount the sdcards I also got Kies to work with Win7 on virtual box under ubuntu - you must have the default launcher though
Sent from my GT-I9000 using XDA App
Excellent, although I've just remembered that I'm getting Windows 7 anyway. Gaming through WINE is a PITA.
Yay for education discounts!
On Ubuntu Mass Storage mode works fine, mounts the internal and external SD cards. You can also use ADB to access the phone if you set it to debug mode. There is just a funny where you need to register the USD device but if you are only wanting to access the data then you don;t need to worry about this.
Is'nt it sad that you have to use MS to work with a linux device?
Sent from my GT-I9000 using XDA App
kb909 said:
Is'nt it sad that you have to use MS to work with a linux device?
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
I'm a little concerned that they will be issuing updates via Kies... since I don't have a windows disk to run in a Virtual Machine. So I guess that means I don't have the option of running a stock Froyo... Linix only people will probably have to wait for a friendly DEV to produce a custom rom based on the stock update. you can use the tool called Heimdall for that sort of thing in linux. (it's like Odin but command line based.)
are you guys using the ubuntu for netbook or regular ubuntu desktop, or the server version of ubuntu ?
AllGamer said:
are you guys using the ubuntu for netbook or regular ubuntu desktop, or the server version of ubuntu ?
Click to expand...
Click to collapse
Ubuntu 10.4 Desktop
Ubuntu 10.10 Desktop
Ubuntu 10.10 Netbook
haven't tried with the server variant
the phone is recognized via USB all modes. regular boot as a Removable device, regular boot in Debug mode, Recovery mode, and Download mode.

[Q] Anybody up for porting Ubuntu?

Since we got a x86 cpu i want to use ubuntu on it, as im from germany i still dont have my I but has anybody tried linux on android?
Adam Outler mentioned something that this would not work...
Btw can somebody tell me what the kernel version is..?
Sorry mods for (possibly) posting in the wrong section :/
//Robert
Sent from my LG-P500 using xda premium
Robbilie said:
Since we got a x86 cpu i want to use ubuntu on it, as im from germany i still dont have my I but has anybody tried linux on android?
Adam Outler mentioned something that this would not work...
Btw can somebody tell me what the kernel version is..?
Sorry mods for (possibly) posting in the wrong section :/
//Robert
Sent from my LG-P500 using xda premium
Click to expand...
Click to collapse
Kernel version is 3.0.8.
If you can install linux distros on the backend of rooted ARM devices it should make sense we could do the same....maybe
Ubuntu on a RAZR I ? Linux x86 apps + windows apps with wine without even recompile? I think this devece needs some love. It can be the next HTC HD2 for shure.
I dont understand the htc comparison
But i have your ideas about no need to recompile and wine in mind too...
But i understand adam because linux for android is compiled for arm achitecture so a usual desktop image would make more sense...
Why is the kernel version so low?!
Sent from my LG-P500 using xda premium
What we need to do
I have a friend with this device, after rooting he reports there is no chroot command from terminal. If so we must:
Compile busybox (with more extensions) for x86 and install it alongside root (or after root)
Make a mountable image from an ubuntu clean install and mount it (probably also needs busybox)
chroot into this mounted image
run a vnc X server on a framebuffer
vnc from android
This is how it is done on other android devices, will attempt to compile and try these instructions out this weekend when I meet him but booting native ubuntu is a much better idea (even better if we can make it receive calls ).
And for what Windows on 4,3 inches display? It dont have hdmi.
Odoslané z GT-P7300 cez Tapatalk 2
The micro usb is acting like hdmi with adapter...
Sent from my LG-P500 using xda premium
Go look up the HTC HD2. It can run Windows Phone 7 and Android dual-booted (with Linux from SDCard), and was originally the last, albeit most powerful, Windows Mobile 6 phone ever made.
Even though it is four years old, there is a massive and vibrant dev community behind it, making it reach the front page of XDA forums.
However, even the venerable HD2 is getting old, with 1GHz processor and half a gig of RAM that was top-of-the-line years ago, and people have looked in vain for some kind of successor. Hopefully, the Razr I, with an unlockable bootloader and Intel processor, will be the one. But that remains for us to do.
pablocrossa said:
I have a friend with this device, after rooting he reports there is no chroot command from terminal. If so we must:
Compile busybox (with more extensions) for x86 and install it alongside root (or after root)
Make a mountable image from an ubuntu clean install and mount it (probably also needs busybox)
chroot into this mounted image
run a vnc X server on a framebuffer
vnc from android
This is how it is done on other android devices, will attempt to compile and try these instructions out this weekend when I meet him but booting native ubuntu is a much better idea (even better if we can make it receive calls ).
Click to expand...
Click to collapse
So I tried this out and there is a chroot-compatible busybox after rooting ("busybox chroot" needs to be called as opposed to "chroot" as there is no properly made link), so anyone with this phone can try (using a PC) install Ubuntu without the grub bootloader using manual partitioning on a single ext3 (I am not sure if ICS supports ext4) partition on a microsd, put into your phone, use a root terminal, mount it, mount the adequate dev, dev/pts, proc and sys partitions and chroot right in. You then might want to install a VNC server in Ubuntu to be able to create a VNC X session in a framebuffer and a VNC client on the android side to VNC into localhost (127.0.0.1), but that should work, I didn't have time to try it this weekend If someone gets stuck post and let us see what happens I cannot wait to see if wine can run desktop Spotify with sound, excited a little hehe.
EDIT: So to make this more understandable you must:
Install Ubuntu (using your computer) to a MicroSD, specifying partitions manually and choosing only a single ext3. Right before clicking install there is a button with something along the lines of "Advanced options", disable the install the bootloader (grub) option.
Insert the MicroSD into the phone and open a root terminal
I don't use Android, maybe it automounts in /media/sdcard or /sdcard, if not you will have to find the device and partition name (probably /dev/mmcblk0p1 or /dev/sdb1) and issue "mount /dev/DEVICEPARTITION /media/sdcard"
mount -t proc proc /media/sdcard/proc
mount -o bind /dev/ /media/sdcard/dev/
mount -t devpts devpts /media/sdcard/dev/pts
busybox chroot /media/sdcard /bin/bash
Now a shell from Ubuntu should open. apt-get update && apt-get install vncserver (maybe the DNS settings must be set in /etc/resolv.conf, not yet sure)
vncserver (or start vncserver, something along those lines)
Now from Android install a VNC viewer and vnc into 127.0.0.1 (or localhost)
That should do it, again if you get stuck post here
i had htc hd2, the most amazing phone in the world. I wanna buy the rarz i for the x86 processor in it. But cpu power without community and developers is nothing :|
Sorry for my bad english.
Yesterday we tried something:
We used dd to put an arch linux image on a micro sd card...
Though my laptop wasnt even able to boot from any sd card, this should work on our phone...
but how to make it boot from the sd card? xD
btw you might have noticed, this will make only linux boot, not android, we dont chroot, may somebody build a simple ubuntu img for complete linux installer?
//Robert
so right now i am trying to chroot into an img file, mounting it and then chrooting it but all i get is:
chroot: can't execute '/system/bin/sh': No such file or directory
whats wrong?
Robbilie said:
The micro usb is acting like hdmi with adapter...
Click to expand...
Click to collapse
Razr i MHL capable???
as far as i know, sadly not no
Ok so finally I got Ubuntu Quetzal running with chroot, still some problems (missing randr extension in vnc) but ill get over this
Hey,
great work. :good:
Good to see there are people with the same ideas. I´ve searched a lot for this thread.
I will also try to get this device for the same reasons when it´s cheaper. Has anybody tried to get Plasma Active or Tizen to run?
I think Active should now be possible through kubuntu Active?
Cheers!
Hi all
At first you can try a application from play store called Linux installer
https://play.google.com/store/apps/details?id=com.zpwebsites.linuxonandroid
Otherwise you can wait some weeks for an nexus 7 Ubuntu port witch looks really interesting.
http://forum.xda-developers.com/showthread.php?t=1957561
Ahhh maybe have a look at the andrinux project here at xda
[/COLOR]Here's the andrinux link
http://forum.xda-developers.com/showthread.php?t=1387105
Sent from my sweet little Blackbox
Robbilie said:
Ok so finally I got Ubuntu Quetzal running with chroot, still some problems (missing randr extension in vnc) but ill get over this
Click to expand...
Click to collapse
thanks for your post on preparing an arch image (I don't have permision to post in devel forum, maybe because I'm a newbie ), It worked well for me although I had to adjust some things such as path and pts mount
I now have a gcc toolchain and a latex distrib on my phone I had never used arch, found it very good
I've also tried some window managers ... the one I find best for the moment is enlightenment in the touchscreen mode, awesome works great as well.
I would also suggest to use Hacker's keyboard instead of stock android, it is a complete keyboard, very usefull when dealing with terminals ... as for VNC viewer, one should recompile android-vnc-viewer with the patches given in Issues 238 and 239 (can't post links either), it's a lot better
I've had a lot of fun, thanks
First, Complete Linux Installer doesnt work because its images are compiled for arm not x86 (i tried )
Secondly, I did a tutorial here http://forum.xda-developers.com/showthread.php?t=1966984
the nexus 7 stuff is interesting and we consider making flashable fastboot for the razr i since we dont have cwm or such you know
i am talking to jordan keyes who recently owned a nexus 7 who probably will try out the ubu stuff and i might get some system info
but i would really prefer a dual boot, capable of booting from sd...
I came across this site today:
http://www.pvsm.ru/wine/10369
translated here
I don't know if this could possibly help you any further but I thought that I might as well post it.

Samsung drivers on linux

hi, i was wondering if its possible to install the samsung drivers into linux? i want to install a new type of OS just for web browsing on my computer and its called JolyOS. (based off linux) But my only internet source is to tether w/ my phone, so is there a way to tether into linux ? or anything. thanks for reading

What linux could I install on my Mi8?

What linux version could I install on my Mi8?
What method would be advisable?
In the past some people has installed Linux on their smartphones, but only some devices are compatible.
I would like to try Linux on my Mi8, it's powerful enough and that would let me use many advanced programs for science not available for Android.
Just use Linux Deploy(u need root rights). You can choose you district and install it. To access you would setup ssh in the settings. Then download a ssh client and connected to local host. All done
Nailyouh said:
Just use Linux Deploy(u need root rights). You can choose you district and install it. To access you would setup ssh in the settings. Then download a ssh client and connected to local host. All done
Click to expand...
Click to collapse
But I don't want to run linux virtualized on top of Android, I want to replace it completly.
There is also Ubuntu Touch.
Which one works better?
Well as Linux shares the kernel with android you have no performance lost when using Linux Deploy. Replacing the OS will not be possible.
(You can also try the integrated Framebuffer display...then you would have a linux desktop. Hook up a keyboard and a mouse and youre good to go)
Nailyouh said:
Well as Linux shares the kernel with android you have no performance lost when using Linux Deploy. Replacing the OS will not be possible.
(You can also try the integrated Framebuffer display...then you would have a linux desktop. Hook up a keyboard and a mouse and youre good to go)
Click to expand...
Click to collapse
In fact it doesn't replace the whole kernel, just a small part of it. And most things on Android are run on a Java Virtual Machine.
skanskan said:
In fact it doesn't replace the whole kernel, just a small part of it. And most things on Android are run on a Java Virtual Machine.
Click to expand...
Click to collapse
Do you have an example? Like a device where it is running like you described?

[QUESTION] what os do you recommend for this terminal

i bought Fujitsu futro S700 and i can't find any best os for it
SPECS:
1GB FLASH
1,5gb ram
AMD G-T44R
i tried Tinycore (good but it's very empty os), debian (bugged on my terminal), antix (not booting), slax(can't install but good os for me), ReactOS(bluescreen on boot),windows POSREADY 2009(Doesn't detect any disk),DebianDOG( i don't remember what was wrong with it), browser linux(can't install and empty os), xenialpup (GRUB throwing error after trying boot), mini ubuntu server(doesn't detect wifi card), void linux(same issue that mini ubuntu server has)
How about Puppy Linux, Linux Lite or SliTaz Linux? Did you try those as well?
Xenialpup is puppy linux version, linux lite is more than 1gb, and im goind to try siltaz
SilTaz is very cool os, thanks
Zordon.xyz said:
SilTaz is very cool os, thanks
Click to expand...
Click to collapse
Always welcome

Categories

Resources