Adding Ubuntu to your Chromebook laptop "dual-boot" Guide - Chromebooks

Unleash the full potential of your Chromebook​
HEAR WE GO​
"NOTE"​Some older Chromebooks have a physical switch that you'll have to flip in order to turn on Developer Mode. If you aren't sure, look up instructions for your specific device on enabling Developer Mode.
"Developer Mode"
Press and hold the Esc and Refresh keys together, then press the Power button (while still holding the other two keys). This will reboot your Chromebook into Recovery Mode.
As soon as you see Recovery Mode pop up—the screen with the yellow exclamation point—press Ctrl+D. This will bring up a prompt asking if you want to turn on Developer Mode.
Press Enter to continue, then give it some time. It'll pop up with a new screen for a few moments, then reboot and go through the process of enabling Developer Mode. This may take a little while (about 15 minutes or so), and will wipe your local information.
When it's done, it will return to the screen with the red exclamation point. Leave it alone until it reboots into Chrome OS.
If you have any confusion on going into Developer mode here is a quick video= http://youtu.be/pLAwqNyVqYg
Installation
Download "Crouton" and save it in your Downloads folder. http://www.mediafire.com/download/4410vlwkbrol0me/crouton "NOTE" If you have any problems Downloading from the link I always keep backups.
Press Ctrl+Alt+T to bring up a terminal on your Chromebook.​At the Terminal, run the following command to enter a Ubuntu shell:
shell
Next, run the following command to install Crouton:
sudo sh -e ~/Downloads/crouton -t xfce
If you're doing this on a Chromebook Pixel, change it to:
sudo sh -e ~/Downloads/crouton -t touch,xfce
to get touch screen support. Recommended: You can also encrypt your new desktop with a password for extra security using the -e flag (since Developer Mode inherently decreases the security of your machine).
Let your computer install Crouton. This might be a good time to grab a cold beer or a juice box. When it's done it'll ask you for a username and password for your new Ubuntu installation, so enter them when prompted.
After it's finished installing, run the following command to start your new desktop environment:
sudo startxfce4 :highfive:
If you want Ubuntu's Unity interface instead of the XFCE desktop environment, you'd change instances of "xfce" to "unity" (no quotes) in the above commands, including the last command (which would become "startunity"). You can also install LXDE or KDE if you prefer. See the Crouton GitHub page for more info on what you can do, and our guide to desktop environments for the difference between each one.
Now, you can switch back and forth between Chrome OS and Ubuntu using Ctrl+Alt+Shift+Back and Ctrl+Alt+Shift+Forward (if you're on an ARM-based Chromebook) or Ctrl+Alt+Back and Ctrl+Alt+Forward (If you're on an Intel-based Chromebook).You will also need to press Ctrl+Alt+Refresh after pressing Ctrl+Alt+Forward to bring up the desktop. To exit the Linux desktop, just log out of it like you would on a normal PC—you'll close it completely and go back to Chrome OS (after which you can run sudo startxfce4 again to go back)
Your desktop won't come with very many programs installed. You'll find that even a lot of default Ubuntu tools are left out, so you'll have to install them yourself using apt-get. If you're on an ARM-based Chromebook, not all apps will be compatible. Intel users will be much better off
If you're using XFCE, you should disable the screensaver, which can cause graphics issues in Chrome OS.
The Downloads folder in Chrome OS is the same as the Downloads folder on the Linux desktop, so if you download or create a file in one environment, you can put it in the Downloads folder to make it available in the other as well.
If you're on a high resolution display like the Chromebook Pixel, your icons will be very, very tiny. The Crouton wiki has a few options for fixing this, though none are quite perfect. You either deal with a few tinier buttons or you go to a more standard resolution. Since your Chromebook is in Developer Mode, it will take an extra 30 seconds to boot up, since it shows you the Developer Mode message. You can skip this by pressing Ctrl+D.P
Lastly, if you want to remove your Linux desktop and go back to regular ol' Chrome OS, you can just reboot your Chromebook and press spacebar when it prompts you to re-enable OS verification. This will remove Crouton and restore Chrome OS in its original state.P
That's it! Now you have a fully working Linux desktop on top of Chrome OS, and you can switch between them whenever you want with a quick keystroke. This makes those great but seemingly dumbed-down Chromebooks a lot more useful (not to mention tempting)
works 100% on my Acer Chromebook
"NOT RESPONSIBLE FOR DAMAGED DEVICES"​"NEITHER IS XDA DEVELOPERS"​

Thanks for this tutorial as it has pushed me from contemplating to buying a chrome book now.

help please it works until I type in sudo s-he command it says access to downloads
Has been denied how do I fix it??

Factory Reset Chrombook?
If I install Ubuntu, can I keep ChromeOS as it is untouched, or do I have to factory reset my Chromebook to factory new settings? I don't want to factory reset my Chromebook but still be able to switch between ChromeOS and Ubuntu.

All looks like I have got developers mode and the terminal opens fine BUT when I try the first step I get "ERROR: unknown command: shell"
the help command etc work fine just not "shell" I am trying to do this on a Toshiba Chromebook 2 any help would be great thanks.

Error with download
Trying to install Ubuntu. The only problem comes when it says Couldn't download packages: adduser. Can anyone help?

Related

How install Debian on a LG P500

If you want to install Debian, just follow this step:
1. Download this : megaupload.com/?d=EV1SOKWJ
In the debian folder you should change the installer.sh and bootdeb files by this one
Download them:
installer.sh : mediafire.com/file/6j99zi0g1lu4oxq/ashu11x_installer.rar
Bootdeb : mediafire.com/file/osshm94mo1qhd65/ashu11x_bootdeb.rar
2. After that, copy the debian folder unzipped to the root of your sd-card
3. Than open Terminal and type:
Code:
su
cd /sdcard/debian
sh installer.sh
bootdeb
cd /scripts/onetime.sh
sh onetime.sh
That's it!
Credits:
ashu11x
An other way to install it
I'm back:
Ok galoula create a universal way to install Deban AND UBUNTU
So,
Download Linux Installer here:
uk.androlib.com/android.application.com-galoula-linuxinstall-tFjz.aspx
Install it
Press "Menu" button and choose "Setup".
The configuration apper, the defaults settings work without touch anithing : Debian Leny into a 500M loop file named "Linux.loop" in th sdcard. for lunch this Linux, the script name is "linuxboot".
Detailled functions :
- Install into LOOP file
Check to box if you want use an loop file, a loop file, is a virtual disk, same as image of hard drive. The loop file can be in any directory. I recomand to put this loop file into sdcard with an extension ".loop".
- Server
Name or IP of download server. If this option is empty, the default server is used. To install ubuntu, leave emtpy.
- Distribution type
Type of distibutions, actualy, Debian or Ubuntu.
- Distribution version
Version in type distribution. Warning ! Please check your version with a real type ! Debian can be Lenny or Squeeze, but no Dapper or Jaunty ! This two end, is Ubuntu version !
- Script to lunch Linux
The command to lunch Linux. you can choose own command to lunch. It permit to install Lenny into file Lenny.loop with script name bootLenny and install. after that install debian squeez or Ubuntu Jaunty into a partition of your SD card, and use an JauntyBoot to lunch jaunty. You have two Linux distributions on the same phone !
- Install into (loop)
Enter full path for the filename used as loop. I recommend to /sdcard/myfile.loop
- File size
The size of file allowed for loop. The size is alocated directly, no possible to change or have an dynamic size !
Click to expand...
Click to collapse
The full site with pictures
android.galoula.com/en/LinuxInstall/
where is the /scripts/onetime.sh
http://forum.xda-developers.com/showthread.php?t=1129803
http://forum.xda-developers.com/showthread.php?t=996746
http://forum.xda-developers.com/showthread.php?t=954807
ccownu said:
I'm back:
Ok galoula create a universal way to install Deban AND UBUNTU
So,
The full site with pictures
android.galoula.com/en/LinuxInstall/
Click to expand...
Click to collapse
on My P500 that one sucks, it worked on 2 gb not on 8 gb, but as told its an rc
Or just do this: ← How to Build CHROOT ARM Ubuntu Images for Android! (UBUNTU ONLY) SHALL WORK ON DEBIAN I THINK!
How to Install Busybox on your Android! →
How to Install Ubuntu on Android!
Posted on February 1, 2011 by admin
For those of you who want to install Ubuntu on your Android smartphone or tablet device, here’s our universal guide on how to do it. (This guide is based off my original guide at NexusOneHacks.net)
*Note – This guide should work on most “rooted” Android smartphones/tablets with no further modification.
We will be running Ubuntu “chrooted” under Android OS, which just means that we will be running a “virtual” Ubuntu OS that runs on top of the Android OS. Your Android OS will work fully (e.g. your phone will keep working normally) while the Ubuntu runs on top of it.
First of all, you should have your Android device “rooted” because you need root access to run Ubuntu off your Android.
Second, your Android OS must support loop devices. Most newer Android smartphones/tablets come with this support so we can mount our Ubuntu image as a loop device. If not, you will either have to build your own kernel with support for loop devices or you can try an aftermarket ROM for your phone as most aftermarket ROMs come with support for it.
For example, G2 Phone and Nexus One both come with loop device support so there’s no need for us to compile a new kernel for it but for others, you may have to.
How do you know this? Just try installing Ubuntu and if it doesn’t boot, your Android device needs a kernel with loop device support. Otherwise you are fine.
How to Install Ubuntu on Android! (Windows)
First, download the following Ubuntu.zip file (from a preferred mirror), unzip and copy over the whole ubuntu directory to the SD card of your Android smartphone/tablet device:
Download ubuntu.zip http://downloadandroidroms.com/files/get/Nhi9EJWSw7/ubuntu.zip
(Turn USB storage ON then copy over the Ubuntu folder to the root directory of your SD card.)
(What it looks like after copied over to the SD Card)
1) Again, make sure you have your Android smartphone/tablet “rooted”!
2) You must have Android SDK installed or have access to adb.exe.
3) Make sure your Android phone/tablet is in debugging mode. Go to Settings->Applications->Development and make sure USB Debugging is checked ON.
4) Connect your Android device to your computer via USB cable and set the USB mode to “Just Charge”.
5) Your Android device should be recognized as “ADB Device” under Device Manager. If not, install appropriate drivers.
For all HTC Android smartphones/tablets (such as G2 Phone, Nexus One), you can download Windows drivers here:
HTC Windows 64-bit driver download – Click Here to Download Driver
HTC Windows 32-bit driver download – Click Here to Download Driver
6) Open up a command prompt by typing “cmd” under Start->Search programs and files.
7) Browse to your SDK directory where you installed the Android SDK:
8) Then go into platform-tools directory:
9) Type “adb devices” to double-check your Android device is recognized.
In this example, I used an HTC G2 Phone, which shows up at “HT09SR204261″. This is fine. However, if you get an empty device, that means you didn’t install the drivers for your phone/tablet correctly. (Go back to #5)
10) Type “adb shell” to enter the Android shell.
Then type “su” to enter super user mode, then type “cd /sdcard” and “cd ubuntu” to enter the ubuntu directory in your SD card of your Android device.
11) Next, type “sh ubuntu.sh” to run the script which will basically get your Ubuntu image ready to run on your Android smartphone/tablet.
If you get error messages, don’t worry and keep going.
12) Type “bootubuntu” to enter Ubuntu. (Next time you enter Ubuntu, you just need to type “bootubuntu” from your /sdcard/ubuntu directory, no need to run ubuntu.sh again.
If you got “[email protected]” at this point, congratulations! This means your Android OS comes with loop device support and Ubuntu is now running “chrooted” on top of your Android OS!!!
However, if you failed at this point, your Android OS probably doesn’t support loop devices, try installing another ROM or compiling your own kernel with loop device support.
How to Install Programs on your Ubuntu!
Once you’ve got Ubuntu running on your Android device, it’s time to install some Ubuntu packages(or programs).
Type “apt-get update” to update, this is the first thing you will need to do before installing any new programs.
How to Install OpenSSH-server on your Android Ubuntu!
Type “apt-get install openssh-server” to install OpenSSH-server. What is OpenSSH-server? If you want to connect to your Android Ubuntu via an IP address (and SSH into it), you will want to do this.
How to Install TightVNCServer on your Android Ubuntu!
If you want to access the GUI of your Android Ubuntu, you can install TightVNCServer, which allows you to access the Android Ubuntu via Android VNC app on your Android smartphone/tablet or even access it remotely from your desktop computer.
Type “apt-get install tightvncserver” to install.
How to Fix Language Issues
Above is after I connected to my Android Ubuntu via SSH2. Well, for some reason my default language switched to German. To fix that, just type “export LANG=en_US.UTF-8″:
How to Install LXDE!(optional)
Next, we will install LXDE (Lightweight X11 Desktop Environment). Although we can use Ubuntu’s default GNOME (and trust me I love that), LXDE takes up less memory so our GUI access will be faster.
If you like GNOME, you can skip this step though.
Type “apt-get install lxde”
Next, let’s setup xstartup file so that when TightVNCServer is started, the LXDE runs instead of GNOME:
Type “cat > /root/.vnc/xstartup”
Then type:
cat > /root/.vnc/xstartup
#!/bin/sh
xrdb $HOME/.Xresources
xsetroot -solid grey
icewm &
lxsession
Then hit Ctrl+D twice and enter to save the file.
How to Start TightVNCServer!
Next, let’s start the TightVNCServer and connect to it from our Android phone and my Windows 7 desktop:
Type “export USER=root” and “vncserver -geometry 1024×800″.
Here, you can change the resolution settings 1024×800 to the resolution of your liking.
Now your TightVNCServer is ready to accept any incoming connections from your phone or computer. Just point to the correct IP address and use port number 5901 to connect.
On your Android smartphone, just download the free app “Android-VNC-Viewer” and set the IP address to “127.0.0.1″ and port number 5901 to connect.
And you should be able to get into your Ubuntu like this:
You can also use desktop software like TightVNC Viewer and connect to your phone.
Do “ifconfig” to find out what your IP address is in your Android Ubuntu.
In this example, mine was connected to “192.168.1.131″.
Then connect to “192.168.1.131:5901″ on your TightVNC Viewer:
Here’s LXDE running on my desktop off my G2 Phone’s Ubuntu:
Troubleshooting
Ubuntu not running?
Try typing “cp” under Android shell and if you get an error message, it means you need to install Busybox. Install Busybox and try again.
Final Thoughts
As said in the video, there will be a lot of improvements in the speed of Android devices in the near future. This year, there will be a slew of dual-core 1Ghz processor-equipped Android devices being introduced. Which just means our Android Ubuntu will run faster and faster.

Problems updating to 4.5.91

I've been sitting on my 4.5.91 update for a month or two now, out of sheer laziness/I have no idea what I'm doing. I'm currently running Android 2.2.2, update 4.1.83, and GingerBlur 3.1. I have a recovery image, yet when I try to boot into Fastboot, nothing happens and holding the up volume button only locks me into a "Starting RSD protocol support" screen. I'm a little lost,and my Android-savvy roommate is as well. Any help would be appreciated!
-My roommate has reviewed my post and says I should mention I'm trying to push a ROM through Fastboot, but my PC won't recognize my phone.
download and extract
Android-sdk-windows
to the c:\ on the pc
then go to android-sdk-(yourpc) folder open it and run the installer
choose the first 2 packages check tools
and platform tools then unckeck 4.0
and all the rest (it should do it but you might need to uncheck manually)
then install 2 packages ok,
inportant note below!
go to:
start,
computer right click and choose properties /advanced /enviromental varialbles
second wimdow scroll down to PATH
highlight it scroll all the way to the far right and type C:\android-sdk-yourpc\platform-toolsC:\android-sdk-yourpc\tools
reboot pc and go to start/run type"adb
enter; you should get a big list of options
plug your phone into pc Dont mount sdcard to pc just plug it in
adb devices
# attached devices
output will read a device secific code
and time it took
there is a video refrence for indepth investigation
http://m.youtube.com/#/watch?desktop_uri=/watch?v=oaNM-lt_aHw&v=oaNM-lt_aHw&gl=US
to "change directory you will need to type
into command promt cd android-sdk-windows\platform-tools
for windows pc for linix and mac (sellit and by a windows

[Q] Lockscreen Reset Trio (generic crap) tablet. NO debugging.

Almighty! lets get started,
I have a 64 bit computer running Windows 7 professional.
First let me mention I tried to fix this on my own. darn I tried.
Just plugging the tablet into computer shows a windows explorer page named Autoplay that let me view pictures on device on a folder named
Computer\Trio HD Elite 7.85 Tablet
Installed android-studio-bundle-141.1903250-windows in
Error- SDK required.
Downloaded jdk-7u79-windows-x64 (java development kit)-install reboot PC
Open C:\Andriod in windows explorer, open SDK Manager
A command prompt window flashes briefly, then closes.
click start, search for run key in sysdm.cpl go to advanced, environment variables create new path named JAVA_HOME that does directly to the java .exe file
(this was checked by reinstalling the java development kit, then opening Java typing where java it tells me C:\Windows\System 32 even though the path is
C:\Program Files\Java\jdk1.7.0_79
opening ADB works!
Download Extras- Android USB Driver
open CMD key in
cd C:\Andriod\platform-tools
this brings me to the directory where Android ADB is.
abd devices
no devices detected.
Installed Samsung Kiles.
TRIED to install PDAnet.. failure.
tried to open Device manager, where a entry marked Trio HD Elite 7.85 Tablet sits, and update the driver to the C:\Andriod\extras\google\usb_driver
it complains about driver being unsigned. Using This guide I used step Two downloaded Driver Signature Enforcement Overrider (DSEO) and ran it.
went into the C:\Andriod\extras\google\usb_driver folder and manually keyed in every title in the folder.
each time program stated had signed successfully. The computer is now saying test mode in the bottom right hand corner. however trying to update driver gives same error.
I'm amusing the device needs to be in developer mode, which it cant be put into because it's locked.
The Trio Support is useless there steps do not open any settings. Also tried a list of alternate ways to open tablet recovery. and since ADB isn't reconizing the device I can't run adb reboot recovery
So. end result, im here with coffee and no milk,
A generic tablet cobbled together from who knows where,
and a locked screen.
Think you can help?
ANY assistance is appreciated.
So i have a cheap generic tablet that says Trio Stealth G4X 7.85

[GUIDE] [Fix] Dreamtab hangs at characters.

Symptoms​
The classic symptoms of the issue are at some point the Nvidia Dreamtab will stop booting and hang at the Dreamworks characters screen and never boot any further. The frequency ranges from once a month to a year. You are able to factory reset and the issue goes away for some periodicity and then returns.
NOTE: If you recently bought a new Nvidia Dreamtab and you have this character freeze right after doing the OTA then this probably isn't the issue, I am working on a different fix for that problem in this thread. If however this solution does fix your issue I'd like to hear about it.
Background​
The tablet uses the linux ext4 filesystem. The Dreamtab kernel requests a filesystem check every 20 partition mounts(typically during reboots) or when the files system is marked dirty(the tablet is hard powered off, or some other glitch). The tablet is missing the fsck binary which is the filesystem checker similar to what you might have seen in windows with chkdsk. Without this file the tablet can not check filesystem and the kernel waits indefinitely for that to happen and your tablet sits and the Dreamworks characters.
Solution​
Temporarily boot to a program(TWRP) that can install the filesystem file on the tablet. To temporarily boot to TWRP the bootloader must be unlocked. The unlock procedure requires erasing all information on the tablet which isn't an issue if you are currently experiencing the problem as a factory reset was the only way to recover anyway. If you have a working tablet and want to apply this fix you should find a way to backup your files prior to attempting this. To better understand how the low level Nabi functions this should be required reading and will help better understand what you are doing. http://forum.xda-developers.com/nabi-2/general/nabi-information-t3229119
Procedure​
Only for Nvidia Dreamtab NV08B. Use this at your own risk, your warranty is void. You will lose all personal data on the device
Link to video Youtube video installation
1) Down load the drivers.
-- There are 3 popular options included in the link from above in the driver section of the Nabi General Information thread. Have them handy for the next step.
2) Download TWRP recovery.
-- The file is attached at bottom of post. DTTWRPinstaller300.zip
-- Note: You can automate some of the bootloader unlock and installing TWRP steps below with the install.bat file if you have a working Nabi.
3) Download the fsck patch.
-- The file is attached at bottom of post. NV08B_FSCK_PATCH.zip
4) Reboot to fastboot protocol
-- With Nabi powered off press and hold the power button and the vol + button until a small menu(bootloader menu) appears. Quickly release both buttons or the tablet will start booting normally. Using the vol- button to highlight the fastboot protocol(2nd option from top) and then press the vol+ button to select it. Note: Depending on if the drivers are installed the screen will change or stay the same.
5) Verify drivers installed or install drivers.
-- Open windows device manager. On Windows 10 type "device manager" in to the Cortana search bar. On other versions open run by pressing the "windows key" in lower left of keyboard while also pressing R key. Then type: devmgmt.msc
-- If you have "Android Device" and it's sub menu says bootloader/fastboot then you are set up. If down by "other devices" you have an unknown device then you will need to install the drivers from the selection and download you made from reading the Nabi General Information thread.
6) Unlock the bootloader
-- This step will ERASE ALL information on the tablet.
-- Unzip the DTTWRPinstaller300.zip to a location of your choosing. If you use Windows built in unzip utility make sure you check the box that says to open when unzipping is complete.
-- Hold the shift key on the keyboard while right clicking on the "files" folder. Then select "open command window here"
-- At the prompt type:
Code:
fastboot oem unlock
Note: You need to move quickly to the tablet and do the next step as there is a timeout
-- On the tablet it will ask if you want to unlock. Using the vol- key select "yes" with vol+ or pwr. If you do this properly in the command window on your computer it will tell you it is erasing the device.
7) Temporary boot TWRP
-- I can't remember if after the bootloader unlock if tablet is at fastboot, or if you have to power off the tablet and do step 4 again. I think you can just proceed.
-- At the prompt type
Code:
fastboot boot recovery.img
8) Get the patch file on the tablet
-- Option A: There are a couple options for this. Check the file explorer on your computer. If you see t8400n as a device you can just copy and paste the NV08B_FSCK_PATCH.zip to the internal storage by copy and pasting in windows. Go to step 9.
-- Option B: Insert a microSD card in your computer and copy the NV08B_FSCK_PATCH.zip to your microsd card and insert the sdcard in the tablet.
-- Option C: If the t8400n does not show up on your computer then you will need to transfer via ADB. This will require you to setup the ADB driver like you did for fastboot in step 5. Now in sub Android Device in Device Manager you should see ADB, if you don't install driver.
--Copy the NV08B_FSCK_PATCH.zip to the "files" folder where you extracted DTTWRPinstaller300.zip. It should be in a folder with adb, fastboot, AdbWinAPi, etc
-- At the command prompt type:
Code:
adb push NV08B_FSCK_PATCH.zip /sdcard
9) Install patch
-- In TWRP on tablet click the install tab. Generally you will now see the NV08B_FSCK_PATCH.zip if you picked option A or C. If not navigate to the sdcard folder. If you picked option B navigate up a folder and find external_sdcard folder and look in there.
Note: For external_sdcard it may be necessary to exit to TWRP main menu and select mount tab and make sure Micro SDcard is checked.
-- Once you have found the NV08B_FSCK_PATCH.zip from inside the install tab you can select it and then swipe to install. You should get verification it completed normally.
I know this is rather old, but I have a couple of these tablets I'm trying to get working again to give to a friend's kids, but this doesn't seem to work. Did you have to have USB debugging checked before the tablets stopped booting in order for this to work properly?
Basically I can do all the fastboot stuff without any errors, but when I try to boot to TWRP all the tablets do is pretty much rotate the screen 180° so the bootloader screen is in the opposite corner and the volume buttons no longer work until I hold power for ten seconds to power it off... Any help is greatly appreciated!

Yoga Book & GnuRoot Debian

Hello community!
For those who are interested in installing a linux system (debian) on a NON-ROOTED Android device:
I managed to install GnuRoot referring to this tutorial:
https://www.xda-developers.com/guid...a-gnulinux-environment-on-any-android-device/
At first i had graphical errors when starting LXDE (like missing icons) due to missing libraries during the installation process.
I show you the steps for installing it, referring to above tutorial, but i added some new terminal commands, because there were libraries and dependencies missing when installing LXDE.
1) First install GnuRoot and XSDL server from playstore.
2) Let GnuRoot start and doing its installation. Then type in following terminal commands:
apt-get update
apt-get upgrade
dpkg-reconfigure tzdata <----- if you wanna change your locales
apt-get install libffi6 <------ this is one of the missing libraries, otherwise LXDE will have errors during its installation
apt-get install execstack <------ this is one of the missing libraries, otherwise LXDE will have errors during its installation
execstack -c /usr/lib/i386-linux-gnu/libffi.so.6 <------ this is one of the missing libraries, otherwise LXDE will have errors during its installation
apt-get install lxde-core <------- alternatively apt-get install lxde (for full LXDE with its apps)
3) start XSDL and make your configs (resolution etc.), let it run in the background
4) now type in GnuRoot following terminal commands:
export DISPLAY=:0 PULSE_SERVER=tcp:127.0.0.1:4712
startlxde &
5) switch back to XSDL and then wait until the GUI (aka LXDE) starts
It still shows some bugs like "No Session for PID # xxxx" whenever i log in. So i hope that i can get help to install it better (correctly) from the community.
Alternatively:
In the last few days i managed to let GnuRoot Debian run LXDE and connect to it via VNC viewer by running a VNC server locally. So if you dont want to use XDSL, but VNC instead, you can follow these instructions:
Download "GnuRoot Debian" and "VNC Viewer - Remote Desktop" in playstore.
Start GnuRoot, let it do its things and then type in the these shell commands:
For installing LXDE:
apt-get update
apt-get install apt-utils
apt-get install dialog
apt-get install sudo
sudo apt-get install libffi6
sudo apt-get install execstack
sudo execstack -c /usr/lib/i386-linux-gnu/libffi.so.6
sudo apt-get upgrade
sudo apt-get install lxde-core
For installing VNC-Server:
sudo apt-get install tightvncserver
su - root
tightvncserver :1 (<---- just start the VNC-Server in order to create the xstartup-file)
sudo apt-get install nano
nano ~/.vnc/xstartup
an editor will show up and add this line at the bottom of the xstartup-file
/usr/bin/lxsession -s LXDE &
save the file and continue with these commands:
vncserver -kill :1 (<--- kill the server)
tightvncserver :1 -geometry 1280x720 -depth 24 (<--- start it again with this resolution, you can choose any resolution you want)
Now open VNC-Viewer and create a new item in order to connect to the VNC-Server
type in this adress: localhost:1
There you go... you are connected to the VNC-Server running by GnuRoot Debian. Have fun... I installed LibreOffice and Gimp as desktop solution. Working great with the Halo keyboard and with a bluetooth mouse
Does the keyboard work?
boofman said:
Does the keyboard work?
Click to expand...
Click to collapse
Yes. Halo Keyboard works, as well as the touchpad. It simulates a "right click" of a mouse by touching the pad with two fingers. But i can't recommend using the touchpad. I use a Bluetooth mouse, and it works well with GnuRoot. You can work just like with a normal Linux environment.
Furthermore I got Libreoffice, GIMP, Firefox ESR and Evince (pdf-Reader) working. Unfortunately i didnt get Chromium (32-bit) working.
ok what about the wacom pad i.e. the create pad itself? does it work in linux?
Okay, so it works similar to a Virtualbox, but is more lightweight as it uses the Linux system that's running behind android in principle, right? Well, it makes the Android YB much more better than the Windows variant if that's the case, as it makes it a lot easier to use a real desktop environment inside of Android without having to reboot..
I'm weighing the pros and cons of going through all these trouble though, as the only reason I would want to have a linux desktop running would be more about using Office apps more than anything, and now with MS Office for Android, that would shorten the gap. I love Linux and have a Mint dual boot on my other machine, but the advantages in using the YB ultraportable Android with MS Office should suffice..
@bisharat:
I tried the wacom pad within linux using gimp. but it recognizes the pen only as normal mouse input. sometimes it lags, so drawing (on a professional base) doesn't work that well. and: in linux the pressure used with the pen (i.e. the intensity of the drawn line) isn't recognized as well.
@boofman:
The reason why i installed a linux system on the yoga book was: i tried every reasonable office solution in the app store or other sources, but i haven't found one that can work offline and which can work nearly as good as LibreOffice. As i have to read a lot of Magazines / Journals and as i have to write a lot of papers and making presentations, the installed linux system sufficed as Office solution.
And i plug in an external monitor (if needed) through the mini-hdmi, so i can have a light-weight mini office computer upon my android system for work. I think this is a good alternative, as I still don't see any possibilities to dual boot this device (aka Android and Win10).
-- message deleted --
ok so if possible can u post a video on how to install it and how to uninstall it (in case anything goes wrong)?
bisharat said:
ok so if possible can u post a video on how to install it and how to uninstall it (in case anything goes wrong)?
Click to expand...
Click to collapse
i just wrote a small tutorial in the first post. its similar to this tutorial:
https://www.xda-developers.com/guid...a-gnulinux-environment-on-any-android-device/
but i added some new commands.
uninstalling is very easy. just uninstall it through the application manager of the yoga book and delete the "GnuRoot" folder in your sdcard.
Tiggi2017 said:
@bisharat:
I tried the wacom pad within linux using gimp. but it recognizes the pen only as normal mouse input. sometimes it lags, so drawing (on a professional base) doesn't work that well. and: in linux the pressure used with the pen (i.e. the intensity of the drawn line) isn't recognized as well.
@boofman:
The reason why i installed a linux system on the yoga book was: i tried every reasonable office solution in the app store or other sources, but i haven't found one that can work offline and which can work nearly as good as LibreOffice. As i have to read a lot of Magazines / Journals and as i have to write a lot of papers and making presentations, the installed linux system sufficed as Office solution.
And i plug in an external monitor (if needed) through the mini-hdmi, so i can have a light-weight mini office computer upon my android system for work. I think this is a good alternative, as I still don't see any possibilities to dual boot this device (aka Android and Win10).
Click to expand...
Click to collapse
Thanks for the feedback.
Yeah, I can see where you are coming from, and as a matter of fact, I use my YB Android pretty much the same as you do: hook it up to a monitor and sometimes use it on a projector for presentations.
The issue I have with LibreOffice is that there are times the formatting gets messed up when opened in MS Office (where majority of my officemates use) unless saved in a PDF Format which you can't edit.
For now, MS Office for Android works though a bit lacking in features as compared to the Win10 version, but gets the job done in a pinch.
Dual-boot is one thing we can look into, but for now though, your solution is worth a try and should be a better option.
boofman said:
Thanks for the feedback.
Yeah, I can see where you are coming from, and as a matter of fact, I use my YB Android pretty much the same as you do: hook it up to a monitor and sometimes use it on a projector for presentations.
The issue I have with LibreOffice is that there are times the formatting gets messed up when opened in MS Office (where majority of my officemates use) unless saved in a PDF Format which you can't edit.
For now, MS Office for Android works though a bit lacking in features as compared to the Win10 version, but gets the job done in a pinch.
Dual-boot is one thing we can look into, but for now though, your solution is worth a try and should be a better option.
Click to expand...
Click to collapse
yeah, thanks. the thing with ms office is that you have to have an account the the features arent that superb. but you are right, most people use ms office and the format is messed up when continuing working with LibreOffice. thats why i only write documents and make presentations with LibreOffice. when publishing i always convert to pdf.
alternatively i also tried crossover with.... well... not so good results. its lagging and therefore disturbing the workflow. furthermore i just got Libreoffice working with crossover (more or less working...), gimp or other free graphic apps dont work.
having Linux on an Android system is a good way to have an Office computer in one's pocket. i also look forward to a possibility to dual boot the device.
deleted
Tiggi2017 said:
Hello community!
For those who are interested in installing a linux system (debian) without root:
I managed to install GnuRoot referring to this tutorial:
https://www.xda-developers.com/guid...a-gnulinux-environment-on-any-android-device/
At first i had graphical errors when starting LXDE (like missing icons) due to missing libraries during the installation process.
I show you the steps for installing it, referring to above tutorial, but i added some new terminal commands, because there were libraries and dependencies missing when installing LXDE.
1) First install GnuRoot and XSDL server from playstore.
2) Let GnuRoot start and doing its installation. Then type in following terminal commands:
apt-get update
apt-get upgrade
dpkg-reconfigure tzdata <----- if you wanna change your locales
apt-get install libffi6 <------ this is one of the missing libraries, otherwise LXDE will have errors during its installation
apt-get install execstack <------ this is one of the missing libraries, otherwise LXDE will have errors during its installation
execstack -c /usr/lib/i386-linux-gnu/libffi.so.6 <------ this is one of the missing libraries, otherwise LXDE will have errors during its installation
apt-get install lxde-core <------- alternatively apt-get install lxde (for full LXDE with its apps)
3) start XSDL and make your configs (resolution etc.), let it run in the background
4) now type in GnuRoot following terminal commands:
export DISPLAY=:0 PULSE_SERVER=tcp:127.0.0.1:4712
startlxde &
5) switch back to XSDL and then wait until the GUI (aka LXDE) starts
It still shows some bugs like "No Session for PID # xxxx" whenever i log in. So i hope that i can get help to install it better (correctly) from the community.
Click to expand...
Click to collapse
Edit: I see that it's via an Android device. Never mind
Was this done on the Android version or the Windows 10 version of the Yoga Book? Because this may be the breakthrough of getting Android on the Windows 10 version, and then enabling me to do research with a custom ROM.
Yoga Android: "It still shows some bugs like "No Session for PID # xxxx" whenever i log in. without the possibility to close the message windows." smae as the starter herein. anyone else? how to solve that?
s01q said:
Yoga Android: "It still shows some bugs like "No Session for PID # xxxx" whenever i log in. without the possibility to close the message windows." smae as the starter herein. anyone else? how to solve that?
Click to expand...
Click to collapse
For me, i can close that error message. But it is still annoying and i cannot get rid of that.
@nan0s7
Unfortunately it is for the android device only. Still waiting for a possibility to dual boot the device. I hope for a breakthrough soon....:fingers-crossed:
Tiggi2017 said:
For me, i can close that error message. But it is still annoying and i cannot get rid of that.
Click to expand...
Click to collapse
stupid me. Can close it
Tiggi2017 said:
@nan0s7
Unfortunately it is for the android device only. Still waiting for a possibility to dual boot the device. I hope for a breakthrough soon....:fingers-crossed:
Click to expand...
Click to collapse
Hope so... this device has so much potential =D
nan0s7 said:
Hope so... this device has so much potential =D
Click to expand...
Click to collapse
but then dual boot with linux or HaikuOS
s01q said:
but then dual boot with linux or HaikuOS
Click to expand...
Click to collapse
I'm aiming for Android first ;P

Categories

Resources