[ Tutotrial ] Install either Ubuntu or Debian in any Android Phone without any app - Android

This is a Tutorial to install either Ubuntu or Debian in any Android mobile without using any app ​
* Installing Ubuntu or Debian Linux does not format your Android OS or change anything to your phone.
The Operating Systems run over the underlying Android OS which continues to function as normal
Choosing your Linux OS:
There are few things you must be aware of before installing Ubuntu/Debian on youe Android Phone
Ubuntu does not support earlier ARM CPUs like the ones used in the Motorola Cliq. Samsung Galaxy Fit (ARMv6), Samsung Galaxy Y, etc.
( Reason behind this is , Your Android OS Kernel 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. )
You need at least an ARMv7 CPU like the kind found in the Motorola Droid, Samsung Galaxy S,HTC EVO 3D, Sony Experia Play, etc. most newer phones (Hummingbird, Snapdragon, Tegra2, etc.).So you can Install Ubuntu if you have ARMv7 or newer Processor.
If you have ARMV6 or any other moderate Processor don't be sad, because Debian supports the CPU on practically all Android devices, so if you prefer Debian, or you can't run Ubuntu, choose the Debian download link.
* If you're not sure what CPU your device has, look up your device on http://pdadb.net/, click the link under CPU, and read the line for "Supported Instruction Set(s)".
e.g. : My Phone which is a " Samsung Galaxy Fit" uses ARMV6 Instruction Sets.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Click to expand...
Click to collapse
Pre-Requirements:
Hardware Required:
an Android Phone
SD Card with more than 2GB of free Space
Android root environment:
Most important! Your Android device should be “rooted” because you need root access to run Ubuntu/Debian off your Android. If your device is not rooted you have to root your device.
Linux Operating System:
Download suitable OS from the following Link:
Ubuntu 11.04 (Natty Narwhal)
linux.ubuntu-natty.tar.bz2 Ubuntu 11.04 (Natty)
Ubuntu 11.10 Oneiric Ocelot
linux.ubuntu-oneiric.tar.bz2 Ubuntu 11.10 (Oneiric)
Debian 6.0 Squeeze
linux.debian-squeeze.tar.bz2 Debian 6.0 (Squeeze)
Click to expand...
Click to collapse
Applications Required:
BusyBox Installer
A terminal emulator like Better Terminal Emulator ( Recommended ) or Terminal Emulator.
Optional Apllications:
androidVNC
Or
ConnectBot
Click to expand...
Click to collapse
Procedure ----------------------------------------------->
Step 1:
(Mount the SD card on your computer.)
Extract the .tar.bz2 file you downloaded to your SD card. You should now have a folder named "linux" on the root of your card.
(Unmount the SD card.)
Open Busybox Installer, and install Busybox.
Open Better Terminal Emulator, and install Better Terminal Emulator.
Click to expand...
Click to collapse
Step 2:
Open your terminal emulator. (If using ConnectBot, connect to 'local', not 'ssh'.)
Run the following commands:
Code:
[B]su[/B]
( If Prompt for Superuser Request then allow )
Code:
cd /sdcard/linux
sh install.sh
If you don't see any errors, Linux is now installed.
Click to expand...
Click to collapse
Step 3:
Open your terminal emulator.
To start a chroot session
Code:
su
linux
To start the SSH server
Code:
su
linux ssh
You can then use ConnectBot (SSH: [email protected]) on your device, or any SSH client to connect to your device. See Login Information, below.
Click to expand...
Click to collapse
To start a VNC session
( Firest you need androidVNC to be installed , then type the following in terminal )
Click to expand...
Click to collapse
Code:
su
linux vnc
The first time you run VNC, it will prompt you to create a VNC password.
You can then use androidVNC (host: localhost port: 5901), or any VNC client to connect to your device.
Configure The VNC App as follows:
Note: The default desktop environment is icewm. If you wish to replace it, for example, with LXDE:
Run the following as root in Linux:
Code:
apt-get autoremove icewm- lxde+
Secure your Log in Password:
Please remember to change these passwords if you are planning on using the SSH server. Malicious people can do Very Bad things to your device if you don't.
There are two accounts included in the images:
root
Password:cheesecake
user
Password:dessert
Click to expand...
Click to collapse
After a successful connection to host you will be able to use Ubuntu / Debian in graphical interface just like in your PC ! It will keep your Android OS as it is and just run in the upper layer over it
These are some of the screen shots taken from my Samsung Galaxy Fit!
Click to expand...
Click to collapse
Linux vs Linux Terminal Emulator :
Terminal Emulator only Emulates Linux terminal, but after Linux Installation you can get full features; more than just the limited commands which runs on Android shell rather than Linux Shell.
Please Leave your Feedback and Queries below. Thank You
​
Click to expand...
Click to collapse

riddz17 said:
This is a Tutorial to install either Ubuntu or Debian in any Android mobile without using any app ​
Click to expand...
Click to collapse
Nice, i have tried for my Galaxy Ace so with ARM V6 too, but the terminal emulator gave me error in the step 3 and 4

error not working

I'm getting about a dozen errors in the install process, all of which seem to relate to file permissions.

G.Galante said:
Nice, i have tried for my Galaxy Ace so with ARM V6 too, but the terminal emulator gave me error in the step 3 and 4
Click to expand...
Click to collapse
what kind of error could you please specify??
First of all check is your phone rooted?

when I type su
sh install.sh
there are many error like dir.. not found help me...
Sent from my HTC Explorer A310e using xda app-developers app

sateesh907 said:
when I type su
sh install.sh
there are many error like dir.. not found help me...
Sent from my HTC Explorer A310e using xda app-developers app
Click to expand...
Click to collapse
worked for me. I tried to install from the microsd card (sdcard-ext) but i got errors. Once i moved the files to the phones memory (sdcard) it worked like a charm.
note: I am using Debian 6.0 Squeeze

Sent from my GT-I9000 using Tapatalk 2

ivke101 said:
Sent from my GT-I9000 using Tapatalk 2
Click to expand...
Click to collapse
I get the same error. Anyone know how to fix it?

hey guys
Thanx to the author of this forum on debian on android. I had the same problem you see in the error logs above. the problem is between regular "mount" command and busybox "mount". you need to use the busybox mount. so I added the word busybox infront of every mount word in the script. eg. busybox mount -o , rw /system remount. the alternative is to delete the mount found on /system/bin so that the terminal will use the busybox one automatically on /system/xbin.

Thanks, I found that the version of busybox I had didn't install the mount comand. I had to use the smart installer and manually check the box to overwrite the mount command then it worked.
Sent from my SPH-L710 using xda app-developers app

Nice work. I've been experimenting with Ubuntu some so I can run side by side w/windows.

Does anyone know if You can connect to the the ubuntu instance on your phone from a computer through vnc? I would like to be able to use a bigger keyboard and mouse to control it.
Edit: If I make changes to the Linux.img on my phone and just copy the whole folder to my tablet will it still keep all of the changes? (I will try it tonight if know one knows).
---------- Post added at 10:52 AM ---------- Previous post was at 10:36 AM ----------
Ok you can connect to the phone from a computer. I used wifi tether and then just put the phones ip and the port into tightvnc and it connected. It took a minute to recognized the phone the first time though.
Sent from my SPH-L710 using xda app-developers app

riddz17 said:
This is a Tutorial to install either Ubuntu or Debian in any Android mobile without using any app ​
Click to expand...
Click to collapse
HI , THANKS
for your work..i have galaxy ace plus [armv7] ,i tired installing linux on my phone, when i type "sh install.sh "then ,,,such dir not found like error
appears, i am new for linux command [ my dir . /sdcard/external_sd/linux ].what can i do for this? plz help me .

patilsb said:
HI , THANKS
for your work..i have galaxy ace plus [armv7] ,i tired installing linux on my phone, when i type "sh install.sh "then ,,,such dir not found like error
appears, i am new for linux command [ my dir . /sdcard/external_sd/linux ].what can i do for this? plz help me .
Click to expand...
Click to collapse
- try to install "busybox installer" first..
- when you open the app, it will ask to install busybox..
pay attention to "Advanced install" checkbox.. be sure to have it checked..
- you will found so many applets.. try to find named "MOUNT"..
- when you found them, see the triangle sign on the right-side.. click it..
- there are 3 options: symlink applet / remove symlink / skip symlink
pick symlink applet..
- press install
- after it's done, get ou of busy box
- back to terminal, repeat the step "sh install.sh"

i got stuck @ step 2 " please wait while booting ubuntu.img.. this may take some time ,,. "
i installed busy box , i got my device root
sent from my Arc S

itzwood said:
i got stuck @ step 2 " please wait while booting ubuntu.img.. this may take some time ,,. "
i installed busy box , i got my device root
sent from my Arc S
Click to expand...
Click to collapse
How long did you wait? Mine took about 15 minutes the first time after the first its just is there.

i left it before i go to sleep .. waked up nothing "ABOUT 8hours "
scientist343 said:
How long did you wait? Mine took about 15 minutes the first time after the first its just is there.
Click to expand...
Click to collapse

itzwood said:
i left it before i go to sleep .. waked up nothing "ABOUT 8hours "
Click to expand...
Click to collapse
Try redownloading it to make sure it isn't corrupt.
You can also try a reboot, then try starting at the top again. I had it do that on my old phone and after a reboot it worked.
Also which version of ubuntu did you download 11.04 or 11.10?

no such file or directory errors
Hi I'm getting "no such file or directory" errors when I try the step "sh install.sh"
can't post pictures yet so I'll type up the short version
# sh install.sh
remounting /system rw ...
mount: no such file or directory
installing scripts in /system/bin ...
mounting the linux image ...
mounting prepwork...
mounting: loopback mount ...
mknod /dev/block/loop254: file exists
mount: invalid argument
mounting: setting up chroot environment ...
mount: no such file or directory
mkdir failed for /data/local/mnt/media/sdcard, no such file....
[done]
then the rest is no such file or directory
I'm on an Epic 4g touch rooted obviously
I tried putting busybox in front of mount in the script as suggested before
I moved all the files from /mnt/sdcard/external_sd to /sdcard
made sure mount is installed in busybox
Not sure what to try next. Guess I could make the folders manually and see what happens.

Related

<[TOOL 7/13]> Jeremy's Fre3vo Sticky-Root Windows/Linux/Mac v2.5

This script will run on Windows, Linux and Mac. No longer do you have to worry about having adb in your path, as i have included the binaries for all the operating systems.
The Linux and Mac script will automatically detect what O/S your using and use the correct binary.
You should be all set right out of the box, as long as you have the adb drivers installed for your device if you are in Windows. Linux/Mac users need not worry about the drivers.
COMING SOON.
overclocking capability and more
For Windows Users:
1. REBOOT YOUR PHONE BEFORE RUNNING
2. Extract the zip.
3. Make sure your drivers are installed.
Youtube Video from a user
http://www.youtube.com/watch?v=ZcWqeYQjjk0
older version of the script but same principal
4. Run Root.bat
5. Select your device
6. Hit #1
7. Profit!!!
Drivers For Windows:
Evo3D 32-bit Windows drivers:
Download HERE
Evo3D 64-bit Windows drivers:
Download HERE X64
For Linux/Mac Users:
1. REBOOT YOUR PHONE BEFORE RUNNING
2. Extract the zip.
3. Enter the directory.
4. Set the script permissions to allow it to execute.
Code:
chmod +x root
5. Plug in your device.
6. Run the script.
Code:
./root
7. Select your device.
8. Select #1
9. Profit!
Notes:
After the script starts all you have to do is choose option #1
The script remounts the file system R/W by itself. The other options are just there for convenience if you were to need to remount for hackery. sorry for the confusion.
All files are included including Fre3vo, su, busybox and superuser.apk
I get absolutely no superuser force closes with this. Titanium backup works perfectly. This is also the newest version of the superuser beta.
I have tested these scripts on my phone 10x each, 20 reboots if your counting If you are having problems REBOOT the phone to wipe all the changes you may have made with other scripts/errors.
Also if you install the Terminal Emulator from the market and type "su" you will get a superuser pop up to allow permissions and you will get a root prompt in the Terminal.
Let me know how it works for you.
Changelog:
v2.5
[Linux/Mac] Auto-detect Os
[Linux/Mac] Linux and Mac binaries now included so no more adb having to be in your PATH
v2.4
[Linux/Mac] Fix stupid error on my part in linux script
v2.3
[Linux/Mac]
[Windows]
Script Tweaks
New sticky temp root method (Installs to /vendor/bin/)
v2.2
[Linux/Mac]
[Windows]
HTC Sensation Support!
v2.1
[Linux/Mac] script tweaks
[Windows] rewrote script & added tools
v2.0
[Linux/Mac] rewrote script & added tools
[Windows] SORRY WINDOWS USERS NEW SCRIPT ISNT DONE FOR WINDOWS YET
v1.1
[Windows] Added Windows .bat
v1.0
[Linux/Mac] Initial Release
[Windows] Release SOON!
Download it here
http://dl.dropbox.com/u/11406774/Jeremy_Fre3vo2.5.zip
------Linux
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
------Windows
Dam sweeeet
Can someone make one for a win XP setup
I plan on making a .bat soon but if someone that knows what they are doing wants to try to convert it over for me ill update the op. I use my only windows computer to watch netflix on my tv. LOL
Pew Pew
I got Linux but how do I run this one tho?
Sent From My "Desperate For Root" 3VO...
You Sir are Amazing. Thank You. (Moves my own script into trash =) )
Eagerly awaiting a .bat file for this.
I *THINK* this should work for Window users... I made it really quick like and haven't even tested it myself..
Put this in the SDK folder "platform-tools" and run it as Admin. Make sure you extract all of the files to the root directory of the platform-tools folder and it should work.
platform-tools > root.bat
platform-tools > bin
platform-tools > apk
That should be your folder structure.
Let me know if it works
I got a mac, but from reading the OP it says I need ADB in my path? Not sure exactly what that means...
Stericson said:
I *THINK* this should work for Window users... I made it really quick like and haven't even tested it myself..
Put this in the SDK folder "platform-tools" and run it as Admin. Make sure you extract all of the files to the root directory of the platform-tools folder and it should work.
platform-tools > root.bat
platform-tools > bin
platform-tools > apk
That should be your folder structure.
Let me know if it works
Click to expand...
Click to collapse
Testing now.. ill edit once it (hopefully) completes
EDIT:
steps one thru 3 work great...
cant seem to 4 to work... any ideas?
**************
Your choices:
**************
(1) Set PATH variable for SDK platform-tools directory
(2) List devices found by adb
(3) Temp Root your Evo3d or Sensation with Fre3vo
(4) Install su, Superuser.apk and busybox
(5) Mount /system as R/W
(6) Mount /system as R/O
(7) Check mount points
(8) ADB Shell
(9) Exit
Type choice number: 4
********** su, Superuser.apk and busybox ***********
---------------------------------------------------------
Mounting /system as R/W
mount: Read-only file system
Done!!
---------------------------------------------------------
Installing su and busybox
failed to copy 'bin/su' to '/system/bin//su': Read-only file system
Unable to chmod /system/bin/su: Read-only file system
link failed File exists
failed to copy 'bin/busybox' to '/system/bin//busybox': Read-only file system
Unable to chmod /system/bin/busybox: Read-only file system
[1] Segmentation fault busybox --instal...
Done!!
---------------------------------------------------------
Installing Superuser
failed to copy 'apk/Superuser.apk' to '/system/app//Superuser.apk': Read-only fi
le system
Done!!
---------------------------------------------------------
Installing user and group
cannot create /system/etc/passwd: read-only file system
cannot create /system/etc/group: read-only file system
Unable to chmod /system/etc/passwd: No such file or directory
Unable to chmod /system/etc/group: No such file or directory
Done!!
---------------------------------------------------------
Complete, Press ENTER to return back to the main menu
Click to expand...
Click to collapse
Not sure what I'm doing wrong, copied all the folder elements into c:/android-sdk-windows/platform-tools, ran root.bat, pressed 3, waited until process finished, then pressed 4, installation says Okay. I see SU.apk installed on my phone but whenver I open up any rooted apps, it says cannot find root.
EDIT: this is through the windows version of the script.
Hmmm... I just tried it and it worked for me first go....using adb shell, do you have root?
Stericson said:
Hmmm... I just tried it and it worked for me first go....using adb shell, do you have root?
Click to expand...
Click to collapse
I'm retrying, let me test again after reboot.
fowenati said:
I got a mac, but from reading the OP it says I need ADB in my path? Not sure exactly what that means...
Click to expand...
Click to collapse
here is the mac binary for adb.
what you have to do is copy it into the /usr/bin/ folder.
Code:
sudo cp adb /usr/bin/
you need to make sure you are in the directory that adb is in when you execute that.
spunks3 said:
Testing now.. ill edit once it (hopefully) completes
EDIT:
steps one thru 3 work great...
cant seem to 4 to work... any ideas?
Click to expand...
Click to collapse
try using step 5 first then step 4?
EDIT: Well you shouldn't have to do that...try running step 3 again and show us the output?
Stericson said:
try using step 5 first then step 4?
EDIT: Well you shouldn't have to do that...try running step 3 again and show us the output?
Click to expand...
Click to collapse
my first time 3 worked okay i believe.
when i adb shell i get #
rebooting and trying again
This is my setup. Fresh reboot, fresh file extraction (directly from your .zip into platform-tools). Failed.
http://i642.photobucket.com/albums/uu150/Deflectant/Cropped.png
This picture is cropped, much easier to read.
EDIT: root.bat is in c:/android-sdk-windows/, I cropped it out of the picture though.
SuperUser keeps crashing for me....that might be the problem...
Thanks J.eremy. You asked to let you know how it went in your OP, so I'm reporting back. It worked excellent and quick, as advertised. Couldn't have been simpler, thanks. I've had it running for about an hour now, and have had no super user FC. How long have you had this lasting so far? Prior to this, I would only be able to go about a half hour or so before i got FC on super user, and would have to start over again. Is something different here? It seems to be sticking far longer...at least so far.
k2buckley said:
Thanks J.eremy. You asked to let you know how it went in your OP, so I'm reporting back. It worked excellent and quick, as advertised. Couldn't have been simpler, thanks. I've had it running for about an hour now, and have had no super user FC. How long have you had this lasting so far? Prior to this, I would only be able to go about a half hour or so before i got FC on SU, and would have to start over again. Is something different here? It seems to be sticking far longer...at least so far.
Click to expand...
Click to collapse
Your welcome
it lasts me until reboot every time normally, im pretty sure the main problem with some other scripts are they are not setting the permissions right and not modifying the passwd and group files correctly.
no f/c on my end either
spunks3 said:
my first time 3 worked okay i believe.
when i adb shell i get #
rebooting and trying again
Click to expand...
Click to collapse
yea Stericson is right, looks like the batch file isn't auto mounting the /system as R/W.
gonna go take a look at it now
Overstew said:
This is my setup. Fresh reboot, fresh file extraction (directly from your .zip into platform-tools). Failed.
http://i642.photobucket.com/albums/uu150/Deflectant/Cropped.png
This picture is cropped, much easier to read.
Click to expand...
Click to collapse
interesting...your picture shows it cannot find /bin/fre3vo
either it cant find the folder, or it cant find the file....

[APP]Ubuntu Install Guide -Atrix Testers wanted

Hello guys,
Thank you all for the amount of support you have given this project! I have now decided to stop updating this thread. If people still have bugs or want to keep following this project please go to the Main project thread HERE.
I will stop updating this thread because I feel we now know what roms/kernels do and don't work so there is no need for me to keep updating this thread (And the other 5 threads I run for certain devices), but of cause if you do still have problems reply to the main thread or PM me!
Once again thank you all!!
I have released the first version of my app, which guides you through the installation of Ubuntu within android via chroot. It includes a ubuntu 10.10 image I have been working on which includes lots of program to allow users to develop program/scripts etc within Ubuntu on there phone/tablet.
However I have only been able to test the app on my HTC Desire S and Gen 8 Archos tablet and as such I need you guys to test this on your phone/tablet and post back how it works on your device!
Please post your device/kernel/rom along with what did and didn't work, so I can draw up what I need to change in the next release of the app/ubuntu build.
Website
http://zpwebsites.com/android-app/ubuntu-install-guide/devices/
Video
http://youtu.be/3WNeY9b5DIg
App Download
Free App
Paid App
Boot Script
ubuntu.sh(V5)
Full Images
These images are 1.5GB to download, once extracted 3.5GB, and include alot of programs like openoffice, thunderbird, firefox and over programs for 'developing'
Ubuntu 10.10 V4 - 800x480
Ubuntu 10.10 V4 - 854x480
Ubuntu 10.10 V4 - 960x540
Ubuntu 10.10 V4 - 1024x600
Ubuntu 10.10 V4 - 1280x800
Lightweight Images
These images are just under 500MB to download, once extracted 2.5GB, and include only programs needed (LXDE desktop, firefox, + other basic programs)
Ubuntu 10.10 V4 - 800x480
Ubuntu 10.10 V4 - 854x480
Ubuntu 10.10 V4 - 960x540
Ubuntu 10.10 V4 - 1024x600
Ubuntu 10.10 V4 - 1280x800
I also want to build up a small group of testers who I can email with new images and scripts, these will include all future distros that I do. If you are interested in joining this test group please PM me or send a email to [email protected]
The only requirement is that your willing to test and send feedback along with screen shoots etc where required, it would also be good if your willing to try different roms and kernels for your device!
Sig Banner
Show your love of ubuntu on android with my sig banner:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
image url is "http://dl.dropbox.com/u/11206993/ubuntuuser.png"
Other Guides
Like this guide? want to try something different? then check out my other guides for different distro's
Backtrack - This is a distro that is based around security testing, it also includes the Gnome desktop environment and a range of other programs.
Updates
06/01/12
*PAID app file downloads now use new fast FTP server and support direct downloading (click the button to download a image and it starts to download right away)
*New boot script which has fixed problems with it not booting on alot of devices, and fixed problem which some people getting a grey screen when loading UI
*Boot script now downloaded in zip file to fix problems with downloading script
*Both apps fixed to support low resolutions
*Both apps cleaned up
28/12/11
*PAID app now supports 960x540 'qHD' resolution
*ALL Ubuntu lightweight images cleaned up even more saved another 300MB of space
*ALL Ubuntu images updated with all new updates
*ALL Ubuntu images now in .zip format to fix problems with some peoples devices failing to extract the .rar files
*Boot script updated, once booted now terminal acts like a command line interface for Ubuntu, and some boot problems now fixed
*Image and boot script now downloadable separately to allow easier updating
19/12/11
New 'lighter' ubuntu image options for all resolutions already supported
15/12/11
New ubuntu images with all updates up to 15/11/11
FREE app ubuntu image resized to fit 800x480 resolution
PAID app ubuntu images now includes 4 images for 800x480, 854x480, 1024x600 and 1280x800 resolutions
See how deep the rabbit-hole goes...
http://linuxonandroid.blogspot.com/
Hopefully tomorrow I will have time to upload images that fit the atrix qHD screen.
Sent from my HTC Desire S using XDA App
Downloading as I type, will let you know.
This is the image I get. Running darkside 4.2 lite, faux123 latest 1.3, fruitcake 2.3.5, debian mod. Used the lite app until it works then will purchase full version.
Included sh wouldn't connect but v3 connects just nothing to see.
Can move around just nothing to see. Let me know if you need any help or have anything you want me to try.
Sent from my awesome atrix thanks to all the devs here!
Does nothing when "sh ubuntu.sh" is typed.
Don't know if it's my rom (it's a foreign rom with no list of features) or the app.
Will this work with the lapdock? It has a rez of 1366X768, will it retain the lapdock functionality?
Try to download the ubuntuv3.sh and put it in the same extracted folder and run that in terminal. That is what I had to do. Then go to home and open and log in with vnc.
Sent from my awesome atrix thanks to all the devs here!
well it works with lapdock but they damn thing wont go into landscape on lapdock
Just curious for those running it, can you go back to normal android still from ubunto or do you have to wipe and reflash the ROM to get back to normal android? I want to test it but curious if I can revert back easier.
Sent from my Atrix XDA Premium App
Killer0Kevin said:
Does nothing when "sh ubuntu.sh" is typed.
Don't know if it's my rom (it's a foreign rom with no list of features) or the app.
Click to expand...
Click to collapse
odd make sure you have cd into the right folder and that the script isn't crupt
morepower71 said:
This is the image I get. Running darkside 4.2 lite, faux123 latest 1.3, fruitcake 2.3.5, debian mod. Used the lite app until it works then will purchase full version.
Included sh wouldn't connect but v3 connects just nothing to see.
Can move around just nothing to see. Let me know if you need any help or have anything you want me to try.
Sent from my awesome atrix thanks to all the devs here!
Click to expand...
Click to collapse
interesting so Ubuntu is running but the ui dosnt load, will look into this and get back to you.
cyris69 said:
well it works with lapdock but they damn thing wont go into landscape on lapdock
Click to expand...
Click to collapse
could I get some screen shoots to see what you meant
Voelker45 said:
Just curious for those running it, can you go back to normal android still from ubunto or do you have to wipe and reflash the ROM to get back to normal android? I want to test it but curious if I can revert back easier.
Sent from my Atrix XDA Premium App
Click to expand...
Click to collapse
you can go back to android just by hitting home. however the sdcard gets mounted for Ubuntu so to stop Ubuntu you have to restart the phone
Change log for new release (release will be in the next few days for paid end of next week for free) - all new images etc will be added to the first post as they are finished and uploaded!
*PAID app now supports 960x540 'qHD' resolution
*ALL Ubuntu lightweight images cleaned up even more saved another 300MB of space
*ALL Ubuntu images updated with all new updates
*ALL Ubuntu images now in .zip format to fix problems with some peoples devices failing to extract the .rar files
*Boot script updated, once booted now terminal acts like a command line interface for Ubuntu, and some boot problems now fixed
*Image and boot script now downloadable separately to allow easy updating of the script
*+more likely before release
I can't run Ubuntu, cause I have a problem with VNC.
VNC connection failed!
localhost/127.0.0.1:5900 - Connection refused!
Stock 2.3.4
ovitz said:
I can't run Ubuntu, cause I have a problem with VNC.
VNC connection failed!
localhost/127.0.0.1:5900 - Connection refused!
Stock 2.3.4
Click to expand...
Click to collapse
When you run the ubuntu.sh what is output? i.e. does ubuntu run and you just cant connect to the GUI or does ubuntu not run at all
that's awesome!
Atrix (Gingerbread2) stock ..
download
I am a failure "init.sh" when I type sh .. ubuntu.sh
1 - missing first create a folder in / data / local / mnt / etc (I created), I had this error again.
2 - now past the terminal post is missing this file in / root
Can someone pass me this file for me to try?
leonardoaraujo said:
that's awesome!
Atrix (Gingerbread2) stock ..
download
I am a failure "init.sh" when I type sh .. ubuntu.sh
Click to expand...
Click to collapse
Could I get a screen shoot of the terminal output
Sent from my HTC Desire S using XDA App
#sh ubuntu.sh
mkdir failed for /data/local/mnt, file exists
loop device exists
losetup: /dev/block/loop7: device is busy
mount: Invalid argument
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
mount: applet not found
mount: applet not found
sysctl: applet not found
Ubuntu is configurated with SSH and VNC servers that can de accessed from the IP:
eth0: no such device
chroot: cannot execute /root/init.sh: No such file or directory
shutting down Ubuntu ARM
failed.
failed.
failed.
failed.
ioctl: LOOP_CLR_FD: No such device or address
#
leonardoaraujo said:
#sh ubuntu.sh
mkdir failed for /data/local/mnt, file exists
loop device exists
losetup: /dev/block/loop7: device is busy
mount: Invalid argument
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
mount: applet not found
mount: applet not found
sysctl: applet not found
Ubuntu is configurated with SSH and VNC servers that can de accessed from the IP:
eth0: no such device
chroot: cannot execute /root/init.sh: No such file or directory
shutting down Ubuntu ARM
failed.
failed.
failed.
failed.
ioctl: LOOP_CLR_FD: No such device or address
#
Click to expand...
Click to collapse
Thank you, yup it's the same problem a good few people are getting, I believe it's down to loop support, but I'm not completely sure and with no device getting this bug to test on I just have to keep trying
Sent from my HTC Desire S using XDA App
I will be your tester that man, I want to help you figure out how I warn you ...
I know a little linux ... lol
There is a file that is missing in this rom, (according to the terminal), init.sh the file in / root
I pass it (if you have), I do not care bootloops, I do not mind having to install the rom again if necessary ...
ps:strange ..... I "image corrupted" when trying to script the original (in the zip) ..
this is what I get
leonardoaraujo said:
I will be your tester that man, I want to help you figure out how I warn you ...
I know a little linux ... lol
There is a file that is missing in this rom, (according to the terminal), init.sh the file in / root
I pass it (if you have), I do not care bootloops, I do not mind having to install the rom again if necessary ...
ps:strange ..... I "image corrupted" when trying to script the original (in the zip) ..
Click to expand...
Click to collapse
Thanks dude,
The file missing error is because it's trying to run a script in the Ubuntu image that starts vnc etc.
But as Ubuntu isn't mounting it can't access it.
Sent from my HTC Desire S using XDA App

[HOW-TO] Set up SDK/ADB on Ubuntu 11.10 | 32 & 64 bits

Video-Tutorial:
http://bit.ly/HzzmUn​
Step 1. Install JDK
Open Terminal and enter the following command(s), then enter your ubuntu login password followed by ‘y’ when prompted for yes/no.
Code:
$ sudo apt-get update
$ sudo apt-get install openjdk-6-jdk
Step 2. Install 32 bit libraries - Only for 64 bit users
On x64 systems you are required to install some 32-bit libraries or the android toolkit will not work. In a terminal write:
Code:
$ sudo apt-get install ia32-libs
Step 3. Download and Install Android SDK
Download the Android SDK. Choose the one for linux: android-sdk_r16-linux.tgz
Extract android-sdk_r16-linux.tgz and put the folder in your desired location. I recommend to put it under home/username/ | When using the terminal the same path is described as ~/
Step 4. Choose packages to install
First of all go to ~/android-sdk-linux/tools/
Right clic to android >> Properties >> Permissions
Make sure "allow executing file as a program" it's checked
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Once done close that window and doble click on the Android file, select Run in Terminal.
Download the tools as shown in the following picture:
Step 5. Check your device's permission
Now head over to the platform-tools directory
Code:
$ cd ~/android-sdk-linux/platform-tools
Check if you have permission for your device
Code:
$ ./adb devices
If you're getting the following, go on to Step 6.
Code:
List of devices attached
OR
List of devices attached
???????????? no permissions
If you're getting something like shown below or other random numbers with the word device next to it, congrats! You can now use ADB. Now go on to Step 7.
Code:
List of devices attached
0123456789ABCDEF device
Step 6. Adding USB Vendor ID of your device
Open HOME folder and enable Show Hidden Files:
Open .android folder >> right click >> Create New Document >> Empty Document, name it adb_usb.ini and open it. Put the following on it:
Save & close the window
Then unplug your NT and plug it again (From the NT usb port, not PC). Now to check if it works...
Code:
$ ./adb devices
You should be getting something similar to the following line:
Code:
List of devices attached
0123456789ABCDEF device
Congrats! Now you can use ADB in Ubuntu! Now hop on to Step 7!
Step 7. Create path for ADB
NOTE: while using adb on Linux you'll need to type ./adb to execute adb commands unless you create a path in ~/.bashrc. In a terminal write:
Code:
$ sudo gedit ~/.bashrc
Add the following line at the very end of the file. Once you're done, save and exit.
Code:
# Android tools
export PATH=~/android-sdk-linux/platform-tools:~/android-sdk-linux/tools:$PATH
Then in a Terminal run this command to reload your .bashrc:
Code:
source ~/.bashrc
Now you can just run adb without put ./ before every command.
~ Veronica
great
thank you very much!!!
Can this help with porting and building from source
______________________________________________
Sent from my SPH-D710-EPIC-4G-TOUCH-using Tapatalk
Anon9mouz said:
Can this help with porting and building from source
______________________________________________
Sent from my SPH-D710-EPIC-4G-TOUCH-using Tapatalk
Click to expand...
Click to collapse
this helps partly it just gives you the basics to make adb work but if you want to develop then you will need other tools, to setup ubuntu for development/theming then use this script.
~ Veronica
lavero.burgos said:
this helps partly it just gives you the basics to make adb work but if you want to develop then you will need other tools, to setup ubuntu for development/theming then use this script.
~ Veronica
Click to expand...
Click to collapse
O ok thanks ill check it out
______________________________________________
Sent from my SPH-D710-EPIC-4G-TOUCH-using Tapatalk
Update april/10
Added Video-Tutorial
~ Veronica
Followed your video tutorial, but ubuntu adb still doesn`t see my device, while at the very same time it perfectly works under windows. The only step i missed is step 2, terminal is saying ia32-libs no candidate for installation(translating from russian, might be smth different)
PS: USB debugging is enabled in my nook settings dev
Devol said:
Followed your video tutorial, but ubuntu adb still doesn`t see my device, while at the very same time it perfectly works under windows. The only step i missed is step 2, terminal is saying ia32-libs no candidate for installation(translating from russian, might be smth different)
PS: USB debugging is enabled in my nook settings dev
Click to expand...
Click to collapse
cd to the folder where adb is located and type:
$ sudo ./adb devices
~ Veronica
I followed your video, so i`ve tried sudo aswell...may be i can just go on with windows adb?
Actually i`ve tried it already, there are only 7 files for 8gb partitions, i`ve copied one of them to my 4th big sdcard partition, and tried to dd if...bla bla bla... = writes error: no space left on device
Devol said:
I followed your video, so i`ve tried sudo aswell...may be i can just go on with windows adb?
Actually i`ve tried it already, there are only 7 files for 8gb partitions, i`ve copied one of them to my 4th big sdcard partition, and tried to dd if...bla bla bla... = writes error: no space left on device
Click to expand...
Click to collapse
hmm did you mount /sdcard in CWM? the cwm recovery by @meghd00t works now for 8GB NT... anyways that's ok you can copy it to /data instead of sdcard go one by one, i don't know what exactly you have done to your device but i recommend to just use the necessary partitions.
~ Veronica
No, i`m booting of cm7 sd card, used a file manager to go to internal emmc, looks like alot of files there...most 0kb, my mmc0p7 is in dev\block, but not copied fully, only around 208mb(full size is 300mb somthing)...file manager doesn`t allow to delete anything...
Devol said:
No, i`m booting of cm7 sd card, used a file manager to go to internal emmc, looks like alot of files there...most 0kb, my mmc0p7 is in dev\block, but not copied fully, only around 208mb(full size is 300mb somthing)...file manager doesn`t allow to delete anything...
Click to expand...
Click to collapse
no, you can't copy from a file manager the partition images neither remove them for security it is why you use dd from CWM to copy the partition images while non of them are IN USE!!!
advice don't be playing around with the partition table, please use @meghd00t recovery he has posted zip with all you need. Boot into CWM from sdcard run the commands.
PS: we're going offtopic in this thread
~ Veronica
Nope, it(meghd00t Repartition, Reformat, Restore and Rescue SDcard) also stops at 25% while restoring factory defaults at the last step...(
Ok, my actions that lead to this situation: rooted nook with sd card method for 8gb, installed recovery flasher apk, flashed cwm, followed steps(wiping data, daviks - here it hang up, then rebooted, after that tried flashing cm7 which was a big mistake, wish guys had a word in the topic that it`s not meant for 8gb...and the result is i cant boot from internal mem, only sd. btw, cwm acted strangly, it could hang on all of a sudden, or work for a while, cwm was internally installed, now i`ve removed it)
If we are offtoping, lets move to some other thread...
PS: for some reason nook doesn`t boot from cwm sd(cable plugged, part active fat32)...basicly it will boot only from cm7 rom and meghd00t recovery images.
@Devol i replied to you here
~ Veronica
Great Work!
Thanks a lots for such a detailed guide.
You can also drop the adb and fastboot binaries into /usr/bin and use both commands without needing to CD to the /tools folder in the SDK. Just don't forget to change the permissions.
cant get past the checking phone permission stage! keeps saying no permissions. if it helps any, im using ubuntu 12.04. im gonna reboot and try in windows. is there any benefit to using adb in linux over windows anyway?
ridleyj329 said:
cant get past the checking phone permission stage! keeps saying no permissions. if it helps any, im using ubuntu 12.04. im gonna reboot and try in windows. is there any benefit to using adb in linux over windows anyway?
Click to expand...
Click to collapse
For when you hard brick your device your device yes, you need linux and adb working or for those like me that prefer to use linux over windows daily.
~ Veronica
http://www.omgubuntu.co.uk/2012/05/...m=feed&utm_campaign=Feed:+d0od+(OMG!+Ubuntu!)
A little off topic but awesome. Any one know how to switch between java 6 and 7 on ubuntu? I need 7 for minecraft and 6 for android sdk. Im on 12.04.
Sent from my DROID RAZR using xda premium
Thanks alot just got this working on ubuntu 12.04 with no issues. Just make sure you complete a:
apt-get update && apt-get upgrade
apt-get dist upgrade prior to any of the steps

[Ubuntu] T3buntu

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Please OP remove my old post about Ubuntu on Tab 3...
T3buntu (Had to call it something...)
Disclaimer:
What you do with this information is up to you. If your device breaks while trying anything in here you do that at your own risc.
I cant be held responsible for anything that happens to your device.
Everything in here was tested on a Samsung Galaxy Tab3 10.1(5210) if you try anything in here on any other device thats up to you.
Most of the work is made by the Linux on Android team i have just tested and fixed some stuff.
The image is ext2, x86 but im working on a ext4, AMD64 image.
”Changelog”
1. Replaced lxde with KDE Plasma
2. Added entryś in etc/fstab for int/ext SdCards
3. Edited bootscript from the Linux on Android team so that the SdCards in the Tab is correcly mounted and works with fstab.
4. Installed "missing" packages to minimize errors.
Works:
Wifi
Battery indicator
Int/Ext SdCard
Most of the stuff in Ubuntu.
Issues:
Leftpanel is black
Slow startup, but can be fixed. I will add that later.
Some apps dont work if you start them as root.
Couldnt make jpg work as wallpaper so using png at the moment.
Rotation isnt setup since we cant use xrandr to rotate the screen..
Not tested:
GPS
ToDo
Streamline startup
Add init.d support on the Tab
Tweaking were ever possible.
Fix sound
Now for the fun stuff.
Installation:
1. Root your device. I used this Guide.
2. Install Busybox.
3. Install Linux on Android.
4. Install a VNC client of your shoice, i preferr Jump Desktop free.
5. Copy bootscript.sh to /data/data/com.zpwebsites.linuxonandroid/files/ overwrite the old file.
6. Unpack and Copy the t3buntuv1.2_20131216.img to a place of your choosing on either internal or external sdcard.
7. Make a Linux on Android widget and point it to the img file you copied in 6.
OBS !! This image is preconfigured with the user ubuntu and psw t3buntu..
8. Now click on the LOA widget you made in 7 and let linux ”bootup”
9. In your VNC client connect to localhost.
DONE ! Your now in Ubuntu..
If you want more screenspace you can uncomment
# service call activity 42 s16 com.android.systemui
In bootscript.sh this will remove the android panel. The problem with this at the moment is that to
get it back you have to restart the Tab becourse the ´am´ command to get it back ”Seg faults” on
my tab and i havnt figured out why yet.
Consider this image as alpha...
OBS !! The image file is BIG 1.4GB compressed and 4GB decompressed. Will try and make it smaller not sure how the Linux on Android team made there images so small...
LINK to imagefile
LINK to bootscript
Credits
Linux on Android team
The one that made the scripts from the start. Not sure who made them...
How about a link to get 3. Linux on Android.
I know I'm top lazy to Google.
Sent from my GT-P5210 using XDA Premium HD app
Awesome! Glad to see something! And having Ubuntu is a very cool os to have! Good work and thank you!
Sent from my SCH-I605 using xda app-developers app
Added links to Linux on Android and Busybox in first post.
Nice, but there are a few things...
The bootscript.sh contains one little, but crucial error.
At line 172, character 44, you forgot one space, which makes the mount procedure unusable:
Code:
$bbox mount -o bind /storage/extSdCard $mnt/extSdCard
Which should be:
Code:
$bbox mount -o bind /storage/extSdCard $mnt/extSdCard
Without this (for me) it failes while it's starting up.
And, another thing, my tablet reboots at the moment I have to run VNC to start the X server, even though I'm not doing or touching anything.
After reboot it doesn't start up t3buntu either.
But, very good work !!
And yes, I do have Samsung Galaxy Tab 3 10.1 GT-P5210...
RubenStauttener;48606882]Nice, but there are a few things...
The bootscript.sh contains one little, but crucial error.
At line 172, character 44, you forgot one space, which makes the mount procedure unusable:
Code:
$bbox mount -o bind /storage/extSdCard $mnt/extSdCard
Which should be:
Code:
$bbox mount -o bind /storage/extSdCard $mnt/extSdCard
Without this (for me) it failes while it's starting up.
Havnt noticed any problems here but i have added the space and updated the script since both versions works for me.
And, another thing, my tablet reboots at the moment I have to run VNC to start the X server, even though I'm not doing or touching anything.
After reboot it doesn't start up t3buntu either.
Does it reboot during script execution ? It do sound like a mem issue. Do you have widgets and such running in android ?
You can try with enabling the swapfile in bootscript.sh .
But, very good work !!
And yes, I do have Samsung Galaxy Tab 3 10.1 GT-P5210...
I've got the terminal up and running fine. But I can't VNC into it. What settings are you using for you VNC viewer?
How about native graphic support using libhybris? Or since this device use PowerVR SGX 544, is native X11 possible? Reference: https://wiki.archlinux.org/index.php/Intel_GMA3600
EDIT: https://github.com/trevd/android_kernel_samsung_santos10/tree/cm-10.2/drivers/staging/mrst/pvr and https://github.com/thomas001/cedarview-drm/tree/master/staging/cdv/pvr looks similar
Thanks for sharing but it's not working
VNC: autentification failed !
Jump Desktop: It ask a password, and I don't have this password !
Sent from Gallifrey using TARDIS
Nonta72 said:
Thanks for sharing but it's not working
VNC: autentification failed !
Jump Desktop: It ask a password, and I don't have this password !
Sent from Gallifrey using TARDIS
Click to expand...
Click to collapse
Test password: ubuntu
When run script say mnt error =/
zorrigas said:
Test password: ubuntu
When run script say mnt error =/
Click to expand...
Click to collapse
Thanks, but I already solved it :good:
Sent from my GT-5210 powered by AmatROM HD
Hi, I posted a question in the Q&A forum (them 10 posts), but I guess it really belongs here.
Tried this on my TWRP rooted UANB4 stock rom P5210, stock kernel. And I get the following with your script and image:
Code:
[email protected]:/ $
[email protected]:/ $ cd /storage/extSdCard/Img
[email protected]:/storage/extSdCard/Img $ su
[email protected]:/storage/extSdCard/Img # sh /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh /storage/extSdCard/Img/t3buntuv1.2_20131216.img
Checking loop device... FOUND
mount: mounting /dev/block/loop255 on /data/local/mnt failed: Invalid argument
Error: Unable to mount the loop device!
1|[email protected]:/storage/extSdCard/Img #
Line : $bbox mount -t ext2 /dev/block/loop255 $mnt
Do I tell busybox to overwrite the mount command?
Otherwise, excellent work, cant wait till I have it running.
*EDIT*
Turns out I just had to copy the image again, I guess my first transfer got cut off.
Totally works, thx
hey. i noticed that the last update was in April of 2014. i was wondering if there was any updates on this.
getting linux on my tablit was the #1 reason i chose to root my GT-P5210 in the first place.
Homage said:
hey. i noticed that the last update was in April of 2014. i was wondering if there was any updates on this.
getting linux on my tablit was the #1 reason i chose to root my GT-P5210 in the first place.
Click to expand...
Click to collapse
I did not try this one. I bet itworks in VNC as it tell us. Instead i did
http://forum.xda-developers.com/showpost.php?p=58175673&postcount=54
I guess I can say it work aceptable in VNC mode, definitly work nice in comand mode. I been working in a native solution but it is a hard bone for my teeth. Look in the general area.
Download link is down
I would like to run Ubuntu on my Tab 3 but the link doesn't work. Could some upload a working link please?
Hi Guys,
Anyona has this .sh script and the t3buntuv1.2_20131216.img file? if you send me im hosting and distributing free as i live i want to use for my home automatization.
THX
G
jorgen_gustavsson said:
Please OP remove my old post about Ubuntu on Tab 3...
T3buntu (Had to call it something...)
Disclaimer:
What you do with this information is up to you. If your device breaks while trying anything in here you do that at your own risc.
I cant be held responsible for anything that happens to your device.
Everything in here was tested on a Samsung Galaxy Tab3 10.1(5210) if you try anything in here on any other device thats up to you.
Most of the work is made by the Linux on Android team i have just tested and fixed some stuff.
The image is ext2, x86 but im working on a ext4, AMD64 image.
”Changelog”
1. Replaced lxde with KDE Plasma
2. Added entryś in etc/fstab for int/ext SdCards
3. Edited bootscript from the Linux on Android team so that the SdCards in the Tab is correcly mounted and works with fstab.
4. Installed "missing" packages to minimize errors.
Works:
Wifi
Battery indicator
Int/Ext SdCard
Most of the stuff in Ubuntu.
Issues:
Leftpanel is black
Slow startup, but can be fixed. I will add that later.
Some apps dont work if you start them as root.
Couldnt make jpg work as wallpaper so using png at the moment.
Rotation isnt setup since we cant use xrandr to rotate the screen..
Not tested:
GPS
ToDo
Streamline startup
Add init.d support on the Tab
Tweaking were ever possible.
Fix sound
Now for the fun stuff.
Installation:
1. Root your device. I used this Guide.
2. Install Busybox.
3. Install Linux on Android.
4. Install a VNC client of your choice, i preferr Jump Desktop free.
5. Copy bootscript.sh to /data/data/com.zpwebsites.linuxonandroid/files/ overwrite the old file.
6. Unpack and Copy the t3buntuv1.2_20131216.img to a place of your choosing on either internal or external sdcard.
7. Make a Linux on Android widget and point it to the img file you copied in 6.
OBS !! This image is preconfigured with the user ubuntu and psw t3buntu..
8. Now click on the LOA widget you made in 7 and let linux ”bootup”
9. In your VNC client connect to localhost.
DONE ! Your now in Ubuntu..
If you want more screenspace you can uncomment
# service call activity 42 s16 com.android.systemui
In bootscript.sh this will remove the android panel. The problem with this at the moment is that to
get it back you have to restart the Tab becourse the ´am´ command to get it back ”Seg faults” on
my tab and i havnt figured out why yet.
Consider this image as alpha...
OBS !! The image file is BIG 1.4GB compressed and 4GB decompressed. Will try and make it smaller not sure how the Linux on Android team made there images so small...
LINK to imagefile <===== this URL broken
LINK to bootscript <===== this URL broken
Credits
Linux on Android team
The one that made the scripts from the start. Not sure who made them...
Click to expand...
Click to collapse

[GUIDE][Noobz][Tweaked-Linux]How to install KDE Kubuntu Active

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Okay so after owning this tablet for a few days and running CM I wanted to install a Linux distribution on my Nexus 7 ( grouper) so I could use some Ubuntu image editing programs. So I installed Ubuntu and Ubuntu touch and found them extremely slow for a quad core tablet and the old always have to force reboot my device all the time. And so I decided to sit down today and work on Ubuntu 13.04 base and tweak it and make it run better on this amazing 2012 device.!!! And since I been a Ubuntu person since the 8.0.x days and having all the experience I have with Ubuntu I finally got it to a state were it runs beautifully on our nexus 7. And am going to share how to do so today.. Guide will be quite lengthy because I will describe step by step on how I got to the point with my Nexus 7.
Requirements :
- Nexus 7 (grouper)
- Fully charged device
- OTG cable
- Wired or Bluetooth mouse
Step 1 : Getting Multirom
First thing you want to do is install multirom, probably the most genius idea for this device yet.
1. Download MultiRom from Here.!!
2. Open the app and highlight these 3 options and install them and proceed to follow the apps directions. After that proceed to step 2.
Step 2 - Installing Ubuntu 13.04 via MultiRom
The reason I choose this method is so you can always return back to Android at the end of the day. And can easily remove Linux without the assistance of a computer.
1. Download Ubuntu 13.04 image for nexus 7 from Here.!!
2.*Place the image as it is in the internal memory of N7 or to USB flash drive
3. Reboot to recovery and choose Advance>Multirom>Add Rom*and choose Ubuntu*as ROM type.
4.*Then select the Ubuntu's image and confirm. Clean installation of Ubuntu is 1.5gb big, and takes a while (10 minutes?) to install.
5. Once complete boot Ubuntu by choosing it in MultiRom boot up manager and proceed to finish the installation.
Step 3 : Installing KDE Kubuntu Active Desktop
The reason we want to install KDE Kubuntu Active Desktop is because Unity in Ubuntu is definitely not ready for optimized use on a tablet. Where in my opinion KDE is optimized for tablets. Plus to me KDE is more easier for a new Linux user to understand than how unity is set up.
1. This command installs the basic minimal files to run the newer desktop. Download 200+mb
Code:
sudo apt-get install kde-plasma-desktop kubuntu-default-settings kde-config-gtk-style gtk3-engines-oxygen
2. Eventually, halfway through the installation, the program will ask you whether you want to change display managers. It is recommended that you stick with Lightdm, so that the onscreen keyboard remains the same.
Next, configure Lightdm to start KDE by default instead of Unity:
Code:
sudo /usr/lib/lightdm/lightdm-set-defaults -s kde-plasma
3. Finally, log out (rather than restarting or turning off), tap the Ubuntu icon next to the user name, and choose*KDE Plasma Workspaces. Then type in your password and log in. If you need an onscreen keyboard to type, tap the Accessibility Icon (a spread eagled man in a circle), and click*Show Onboard.
KDE will now be started. However, it probably needs to be configured for optimal performance.
Step 4 : Removing Ubuntu's Unity & Desktop
The reason why we would want to remove unity is because once your on KDE Kubuntu Active why would you still want Ubuntu's desktop that's slow as hell. so enter these commands 1 by 1 to free up disk space and remove un-needed files.
1.
Code:
sudo apt-get remove unity unity-2d unity-2d-panel unity-2d-spread unity-asset-pool unity-services unity-lens-files unity-lens-music unity-lens-applications gir1.2-unity-5.0 unity-common indicator-sound indicator-power indicator-appmenu libindicator7 indicator-application indicator-datetime indicator-messages libnux-2.0-0 nux-tools libunity-misc4 unity-2d-common
2.
Code:
sudo apt-get autoremove --purge unity unity-common unity-services unity-lens-\* unity-scope-\* unity-webapps-\* gnome-control-center-unity hud libunity-core-6\* libunity-misc4 libunity-webapps\* appmenu-gtk appmenu-gtk3 appmenu-qt\* overlay-scrollbar\* activity-log-manager-control-center firefox-globalmenu thunderbird-globalmenu libufe-xidgetter0 xul-ext-unity xul-ext-webaccounts webaccounts-extension-common xul-ext-websites-integration gnome-control-center gnome-session
3.
Code:
sudo rm /usr/lib/thunderbird-addons/extensions/[email protected]
Step 5 : Removing Un-Needed Apps [OPTIONAL]
Once done removing ubuntu unity and desktop you may want to remove some ubuntu apps like I did, helps remove some UN-needed apps that you should be using on a tablet PC.
1. Firefox Web Browser
Code:
sudo apt-get remove firefox
2. IM client - Empathy
Code:
sudo apt-get remove empathy
3. Disk Burner - Brasero
Code:
sudo apt-get remove brasero
4. Torrent Client - Transmissions
Code:
sudo apt-get remove transmissions-gtk
5. Scanner
Code:
sudo apt-get remove simple-scan
6. Mines - game
Code:
sudo apt-get remove gnomine
7. Sudoku - game
Code:
sudo apt-get remove gnome-sudoku
8. Text editor - gedit ( roaming cause we have kwrite )
Code:
sudo apt-get remove gedit
9. Document Viewer
Code:
sudo apt-get remove evince
Sent from my Nexus 7 using Tapatalk
References and Q&A :
Coming Soon
Credits :
Coming Soon
Nice, very useful.
Thanks! I will follow up when I get WiFi at my house and share stuff on tips keeping things running fast
Sent from my One X using XDA Free mobile app
Thanks for the tutorial.
Does this work on f2fs formatted storage ?
Because I get an error when booting ubuntu:
Code:
mounting dev/mmcblk0p9 on /root failed: no such device
darkchazz said:
Thanks for the tutorial.
Does this work on f2fs formatted storage ?
Because I get an error when booting ubuntu:
Code:
mounting dev/mmcblk0p9 on /root failed: no such device
Click to expand...
Click to collapse
Idk I run a ext4 file syste!
Sent from my Nexus 7 using Tapatalk
xXminiWHOOPERxX said:
Idk I run a ext4 file syste!
Click to expand...
Click to collapse
Never mind, I got it working.
It's not usable without a physical mouse though. Because there is a bug where the left mouse button gets permanently stuck pressed down until you restart.
darkchazz said:
Never mind, I got it working.
It's not usable without a physical mouse though. Because there is a bug where the left mouse button gets permanently stuck pressed down until you restart.
Click to expand...
Click to collapse
on f2fs partition... how?
wejgomi said:
on f2fs partition... how?
Click to expand...
Click to collapse
no. I reformatted to ext4
darkchazz said:
no. I reformatted to ext4
Click to expand...
Click to collapse
Plan to add more to the guide, just keep breaking the OS when I start removing some u core files, trying to slim core down so it's less on battery and a lot smoother... Have figure out how to Fox rotation but screen cordinates dont change so your forced to use a mouse
Sent from my HTC One mini using Tapatalk
not working i get only 404 not found.
Gothic4 said:
not working i get only 404 not found.
Click to expand...
Click to collapse
I believe Ubuntu 13.04 has been moved to the old-releases repo. Because of that you get 404 error
From terminal type
sudo gedit /etc/apt/sources.list
Tap Search, Replace
For "Search for" enter http://ports.ubuntu.com/ubuntu-ports/
For "Replace with" enter http://old-releases.ubuntu.com/ubuntu/
Tap Replace, tap Save.
From terminal refresh new repos
sudo apt-get update
I have another question. How to make Onscreen keyboard to run automatically in KDE? And how to rotate screen to landscape?
Thanks
So.. is no way to get it working on f2fs? is a pain to reformat the whole tablet again
i've installed Kubuntu as written but now i can't login to my account!!
only guests account can be accessed even tho the screem is only portrait
now i wonder if it's possible to delete ubuntu without tripping anything to start over
Please close.! As I no longer have my nexus 7.
xXminiWHOOPERxX said:
Please close.! As I no longer have my nexus 7.
Click to expand...
Click to collapse
I just saw this 3d and wanted to try...bad news
Hope someone will continue this 3d
alematt said:
I just saw this 3d and wanted to try...bad news
Hope someone will continue this 3d
Click to expand...
Click to collapse
https://wiki.merproject.org/wiki/Community_Workspace/Tegra3/Nexus7/PA_installation
That's the official guide
matyhew said:
https://wiki.merproject.org/wiki/Community_Workspace/Tegra3/Nexus7/PA_installation
That's the official guide
Click to expand...
Click to collapse
That's for plasma active. Isn't this thread for Ubuntu?
Sent from my Nexus 7 using XDA Premium HD app
---------- Post added at 10:33 PM ---------- Previous post was at 10:31 PM ----------
I tried to do what's the op says. Updated repositories n ****. But I can see the console with the keyboard open. So I can't see what I'm typing to install the last few steps lol. I may not be clear in describing but I'm stuck and its frustrating to type.
Thanks for your time though op
Sent from my Nexus 7 using XDA Premium HD app

Categories

Resources