Running Ubuntu on Galaxy Note 10.1 - Galaxy Note 10.1 Q&A, Help & Troubleshooting

Is this possible? Will we be able to run Ubuntu on this beast of a machine. I feel that it won't be that hard, since it has good specs.
I'm just wondering, how easy it would be to do it.

Has anyone done this before?

Yes it is possible to run on top of android
The only way that I know is that you can run Ubuntu on top of the Android.
:good:*you must be rooted*:good: (I have Samsung Galaxy Note 10.1 (N8010) [Im in Melbourne, Australia]
Download the app from playstore: https://play.google.com/store/apps/details?id=com.zpwebsites.linuxonandroid&feature=search_result#?t=W251bGwsMSwxLDEsImNvbS56cHdlYnNpdGVzLmxpbnV4b25hbmRyb2lkIl0.
And follow the given instructions. I recommend using Ubuntu 10 instead of 12 cuz 12 might lag (i dunno, I have Ubuntu 10 running)
And download the large version. because it has more features.
You also need android-vnc viewer (https://play.google.com/store/apps/details?id=android.androidVNC&feature=search_result#?t=W251bGwsMSwxLDEsImFuZHJvaWQuYW5kcm9pZFZOQyJd
or simmilar app
and Terminal Emulator https://play.google.com/store/apps/details?id=jackpal.androidterm&feature=search_result#?t=W251bGwsMSwxLDEsImphY2twYWwuYW5kcm9pZHRlcm0iXQ..
when you finished downloading the ubuntu.zip extract it and there will be a ubuntu.img
go to the internal storage of the galaxy note and make a folder called 'ubuntu' and place the ubuntu.img in there
and go back to the Complete Linux installer app (the home page of it) and click on launch and select launch ubuntu and press launch/ok
and terminal emulator will load and it will ask for to enter a resolution, enter 1280x800 (where the 'x' is simply the letter 'x' not ' * ' )
1280x800 is the tablet's screen resolution and hit enter
and it will then ask you to choose between LXDE and Gnome (LXDE is Lightweight X11 desktop) and Gnome is the full version of the desktop
I always go with the LXDE, its better in performance. ubuntu will bootup in the terminal emulator
go back to the homescreen and open the vnc-viewer and type any nickname and the address/ip is 'localhost' (without the apostrophes) and leave the port as it is (5900 i believe)
and for the password, its 'ubuntu' (without the apostrophes)
and select your color mode, i always select the highest color mode because its nicer (it shouldn't affect the performance that must since its viewing locally.)
and press connect
and you will be in ubuntu
hope this helps...
P.S. I am looking forward to install ubuntu NATIVELY on my galaxy note 10.1
I already opened a question in the Q&A regarding this (hoping to see devs' replies) : http://forum.xda-developers.com/showthread.php?p=32161795
And they they have ran Ubuntu on the Asus Transformer Pad natively.
Devices: Samsung Galaxy Note 10.1 (N8010) [rooted]
Samsung Galaxy S2 (I9100) [rooted]
Huawei Ideos X3 (U8510) [rooted]

Related

[GUIDE] [15/12/11] How to run Ubuntu within Android on Desire S

I will no longer be updating this guide, to keep up to date with the project please see the App thread HERE. The Free app can be downloaded HERE and the Paid HERE
First and for most this guide has been created from a mixture of a few guides to get it all working on our phone, I do not take any credit for the methods all I have done is taken the time to work out how to get it working on our phone. This guide is for windows or can be done all on the phone. Anyway on with the guide
How To Install Ubuntu on the Desire S
Before we start you will need a ROM and kernel that supports loop devices.
This works best on lighter roms like cyanogenmod 7.1, however if you don't want to run a GUI it also works fine on sense ROMS. Please post any ROMS it doesn't work on.
It is also recommend that you have the Android SDK install so that you can access adb however all commands can be done on the phone via the terminal emulator
Also make sure that you have debugging mode enabled Go to Settings->Applications->Development and make sure USB Debugging is checked ON.
You will also need atleast 4GB of memory card space
Download and extract ubuntu.zip
Once you have a working ROM with loop support you must now download the special modified ubuntu image. I have hosted the file on my own server however if this is not quick enough feel free to mirror it or message me and I shall host else where as well.
There are now three versions to use as you wish, however the new 10.10 image has pretty much everything working, see change log at the bottom of the next post. the 11.10 image's UI does not work right and the 9.04 image is well rather old
[*]10.10 image V3 (Recommend)
[*]10.10 image V2 [*]10.10 image OLD
[*]11.10 image
[*]Old 9.04 image
Once you have downloaded this .zip file you will need to extract it to a folder on your sdcard name this folder "ubuntu".
Install and run Ubuntu!
If you do not have the android SDK install or wish to do all the commands via your phone please skip to step 7
1) Connect your Desire S to your computer via your USB cable and make sure USB mode is set to “Just Charge”.
2) 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
3) Now open a command window and navigate to the directory that you have installed the android SDK for example
Code:
cd c:\android-sdk
4) From here then navigate to the platform-tools directory
Code:
cd platform-tools
5) Now type “adb devices” to double-check your Android device is recognized. It should display something along the lines of
Code:
Lists of devices attached
HT09SR204261 device
If not then you have not installed the drivers for your phone or it is not in debugging mode.
6) Next type “adb shell” to enter the Android shell
7) Now type su to enter super user mode, then type cd /sdcard and then cd ubuntu to enter the directory on the SD card that you stored the ubuntu files.
Code:
su
cd /sdcard
cd ubuntu
8) Then type sh ubuntu.sh this will run the included script to ready your ubuntu image, do not worry about any error messages that are displayed!
Code:
sh ubuntu.sh
8.5) If running the 10.10 V2 image you should get this message 'please wait while booting the ubuntu img, please wait as this could take a while.' if you do get this then ubuntu is running and you just need to open vnc and connect to get into ubuntu. Please see the bug section on the third post for more information!
9) Now type bootubuntu to enter ubuntu (note in the future to start ubuntu simply type bootubuntu there is no need to run the script again)
Code:
bootubuntu
You should now see something along the lines of
Code:
[email protected]:/#
If you don't then its likely the ROM your using does not support loop devices and you will need to install one of the ROMs from the top of this guide to get it working.
And thats it you now have a working ubuntu command line running within android! however this isnt really much use so lets now get a more useful system running
How to Install TightVNCserver
This is by far the best program to install first off as it will let you access the GUI of Ubuntu as it run on your Desire S. (note this is already included in the 10.10 (V1 and V2) image there is no need to carry out this step)
0) Before you install any program first we need to update by typing
Code:
apt-get update
1) Now type “apt-get install tightvncserver” to install the VNC server.
it shall then as you if you wish to install the program etc etc say yes and it will install, simples.
How to Install LXDE (optional but recommended)
only need to carry out this step if you are using the 9.04 image
1) Type “apt-get install lxde” and ubuntu will do the rest
Set up TightVNCServer and fix keyboard issues
(note on the 10.10 image this step has been included already! so no need to carry it out)
Before we launch the TightVNCServer we much make changes the the xstartup file to change to it uses LXDE if we want this and also to fix a big issue with the android keyboard not being mapped correctly.
1) Start off by typing
Code:
cat > /root/.vnc/xstartup
To open the file we need to make changes in
2) Now type
Code:
#!/bin/sh
xrdb $HOME/.Xresources
xsetroot -solid grey
export XKL_XMODMAP_DISABLE=1
icewm &
lxsession
The last two lines you will only want to type if you have installed LXDE if you want to use XFCE leave these lines off. The line above this (export XKL_XMODMAP_DISABLE=1) is what is needed to fix the keyboard mapping.
3) Now press ctrl+D twice and then press enter to the save the file, we are now ready to start up the VNCServer!
Start TightVNCServer
Now we are ready to start the server and connect our phone or windows computer to the Ubuntu running within our phone! (This step is not needed in the new 10.10 V2 image VNCserver now auto starts)
1) Start off by typing
Code:
export USER=root
vncserver -geometry 1024×800
you can change the resolution settings 1024×800 to the resolution of your liking. I find 800x480 does work well but limts your work space so its up to you.
2)TightVNCServer will then ask you for a password to connect to it, fill this in and your server will be then ready to accept any incoming connection from your phone or computer! (on the 10.10 image it will not ask for this, the password is set to ubuntu)
Connect to VNC on your phone
1) download the free app Android-VNC-viewer
2) open the app and set your IP address to 127.0.0.1 ( set this to localhost in 10.10 V2) and port number 5901 (5900 in 10.10 V2)and enter the password you set before (or ubuntu on 10.10 images) to then connect.
If all works right you will have a working GUI!!!
Connect to VNC on your computer
1)Start by downloading the desktop version of TightVNC Here
and install it
2) Open the TightVNC Viewer from the start menu it will ask for your phones IP address, to find this type ifconfig in your ubuntu terminal it will display your IP.
3)Type this into TightVNC and remember to add the port 5901 (5900 in 10.10 V2), it will then ask you for the password ('ubuntu' on 10.10 image) , enter this and you should then have a fully working GUI on your computer!
FAQ
How does Ubuntu look on our phone?
Ubuntu 9.04
{
"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"
}
Ubuntu 10.10
What is Ubuntu? and why would I want it on my phone
Ubuntu is a linux based operating system normally for the computer, however with this port we can run it on our phone, this allows you to pretty much install any software available for linux and run it on your phone.
What are the best settings for Android VNC Viewer?
I find full 24-bit colour works very well and there is no need to down step this, also Input Mode is best set to touchpad as the GUI is not very touch screen friendly when its this small! using touchpad makes the touch screen act just like the touch pad on a laptop and I find this very easy to use.
Updates
[15/12/11]
New 10.10 image
Included all updates as of today
Image resolution set by default to 800x480
[12/12/11]
New 10.10 image update
New built in script in Ubuntu to start vncserver and other services on boot
SD card is accessible from within Ubuntu
Image changed to 3.5GB to fit if you have a 4GB SD Card
The ubuntu boot scripts are now on easy to use script!
More working programs (including software centre etc)
Default desktop changed back to LXDE
More apps for 'developing'
Firefox, Thunderbird, openoffice.org suite, GIMP Image Editor, Emacs Text Editor (geared towards programming), C and C++ build-essential, Java JDK, Python, TeXlive and TeXmaker LaTeX editor, Transmission BitTorrent Client, eVince PDF Viewer, File Manager, Terminal, Image Viewer, Leafpad Text Editor, Synaptic Package Manager and Ubuntu Software Center with all repositories enabled (Ubuntu Software Center is pretty and well organized - but bloated and slow), SSH server, Gnash (GNU flash player/plugin for Firefox - as there is no official generla flash pluging for armel CPUs)
[23/11/11]
New 10.10 image
vncserver and bug fixes included in 10.10 image
New light weight UI in 10.10 image
4GB image size for plenty of app space
More programs should be working in the 10.10 image please test!!
New image all icons in GUI don't load Fixed in 10.10 image
New Firefox crashes on start up now fixed in 10.10 image
+More that I cant remember
[05/11/11]
Old 9.04 image readded for those that want working GUI until new image is fixed
[24/10/11]
Java install guide added
[23/10/11]
New 11.10 ubuntu 4GB image
Changed guide for new image
+MUCH more (will add later)
Bugs
At the moment to use the new 10.10 V2 image you have to carry out steps 7 to 8.5 each time in order to get into the GUI, which means the only way to use terminal for ubuntu is within the GUI, this isnt to bad as the build is now very stable
At the moment once you start ubuntu it seems to prevent the sdcard being mounted and as there is no way to shut down the ubuntu session you must reboot if you wish to mount the sdcard via usb
Java might still not be working right please test!!
Other Programs to Install
Ok so as I start working on testing more programs I will post here how well they work and what does and dosnt work. Most programs that run from terminal and don't require any hardware like wifi etc seem to work well!
JAVA SE FOR EMBEDDED
To install the Java version for arm open up the terminal and type the following lines of code
Code:
wget http://android.zpwebsites.com/java.tar.gz
This will download the java package from my server!
Once downloaded type
Code:
gunzip java.tar.gz
Code:
tar xvf java.tar
This will extract the java package into a folder called ejre1.6.0_27
then type
Code:
export JAVA_HOME=ejre1.6.0_27
Code:
export PATH=$JAVA_HOME/bin:$PATH
Java should then be completely installed, please test by typing
Code:
which java
Tips
Some android terminal emulators (e.g. better terminal) allow you to specify an initial command that is run as soon as you launch the application. Multiple initial commands can be defined by pressing return between each command when you define it, so for example the initial command:
Code:
su <return>
cd /sdcard/ubuntu <return>
sh ubuntu.sh <return>
This way to load the new 10.10 V2 image simply open the terminal emulator
Help Needed
I would love for people to test there fav linux programs, also anyone that knows alot about ubuntu/linux to help getting the image to run faster etc etc
:O OMG this is special xD
superkid said:
:O OMG this is special xD
Click to expand...
Click to collapse
im guessing your being sarcastic in which case, yes its the same as many guides across the internet however I could not find one for our phone, and the main purpose of this guide is for user to beable to find out what ROMs do work with it and hopefully create a better more user friendly ubuntu experience, after all when we can have around 300MB free ram why not use it for something like this?
I was not being sarcastic! its really special! UBUNTU ON A PHONE! i am downloading right now!
superkid said:
I was not being sarcastic! its really special! UBUNTU ON A PHONE! i am downloading right now!
Click to expand...
Click to collapse
AH alright then I hope that maybe more kernels will be produced that have loop support so this will work on more ROMS
main download link now up!!
you can download ubuntu.zip here
will def check this out
What is Ubuntu? Linux?
(Sorry for the noobie question)
shrome99 said:
What is Ubuntu? Linux?
(Sorry for the noobie question)
Click to expand...
Click to collapse
an operative system,it is free
anyway
finally,i m waiting this for a long time
Can i use the xda kitchen with this??
or anyway is it possible to cook rom on this ubuntu?
thanks
shrome99 said:
What is Ubuntu? Linux?
(Sorry for the noobie question)
Click to expand...
Click to collapse
It is a linux distro see http://www.ubuntu.com/
However please note for the time being the ubuntu we can use is 9.10 I will look to upgrade this soon mind you!
So, it's an OS for a Computer, like Windows?
shrome99 said:
So, it's an OS for a Computer, like Windows?
Click to expand...
Click to collapse
indeed its a compete OS that we can run within android on our phones! lots of programs are included and you can install more, but the likes of firefox works very well
Is it worth installing this instead of normal ROM ? I mean, what special can be done that can't be done with normal ROM ?
Is it possible to use this for everyday usage ? Is it possible to call with it ?
adridu59 said:
Is it worth installing this instead of normal ROM ? I mean, what special can be done that can't be done with normal ROM ?
Is it possible to use this for everyday usage ? Is it possible to call with it ?
Click to expand...
Click to collapse
At the moment you have to still install a normal ROM as this runs within android, the only requirements for the ROM is for it to have loop device support which the roms listed in the first post have that i know of.
People in the HTC HD2 forum where able to get ubuntu running without android being installed, it has also been done on the nexus s, my next steps will be to try and port this.
But for now this just runs within android calling etc is still done in android
Is my servers (the main link) download speed ok? or would your rather i uploaded it to multiupload?
I am a long-standing Linux user, so this is good! Do you have a screenshot of Ubuntu running? I am trying to work out how the GUI will scale on our phones.
Doesn't work using Zulugen 1.1.3 with CM7 kernel... :/
i m having issue with keyboard
do i need tightvnc every boot?

Aircrack-ng, BT5, and Transformer [WORKING]

Hello everyone,
I have gotten BT5 installed on my ASUS Transformer TF101 with Aircrack-ng working. (still needs wifi dongle with monitor mode support to capture packets)This was accomplished with Stock firmware and kernel 9.2.1.27.
****EDIT****: VNC works. You need AndroidVNC. Set address as 'localhost', port as '5900', and password as 'backtrac'. Works like a charm.
If your going to ask if you need root, just leave.
Disclaimer : If something goes wrong, it is not my fault. Deal with it and fix it. It is YOUR choice to follow these directions.
UPDATE: This was accomplished with the backtrack-v9. At the bottom is also backtrack v10. I have not yet tested v10 but you may try it if you like. I would rather have written a tutorial for an older version that works for sure than a newer version that may not work.
Let's get started!
0) Download and install "Complete Linux Installer" (Launching widget) and "Terminal Emulator" (it has a blue logo,) OTHER TERMINAL EMULATORS WONT WORK WITH THE WIDGET.
Complete Linux Installer: https://play.google.com/store/apps/details?id=com.zpwebsites.linuxonandroid
Terminal Emulator: https://play.google.com/store/apps/...251bGwsMSwxLDEsImphY2twYWwuYW5kcm9pZHRlcm0iXQ..
1) Download and download the torrent in the file section.
2) Extract the downloaded zip. (I recommend to a MicroSD)
3) Place the "Boot Backtrack" widget wherever.
4) Type in where you have the backtrack.img downloaded to (if it is on the MicroSD, it is probably at /Removable/MicroSD/backtrack.img
5) Click OK and tap the widget that says "BOOT"
6) Go through the configuration. (only on the first boot.)(VNC is working, see EDIT @ the top.)
7) If completed successfully, you should see "[email protected]:~:".
8) Type "nano /etc/apt/sources.list" and press ENTER.
9) Press "VolUp + WASD" to move around. (Just like arrow keys)
10) Remove the "#" before any line that has the word "deb". (change "#deb..." or "# deb..." to "deb...")
11) Press "VolDown + X", press y, and then press ENTER to save the file as "sources.list".
12) Type "apt-get update" and hit ENTER.
13) Type "apt-get install -y aircrack-ng"
That's it!
If you want to be able to crack wifi, you will need to get an external wifi card that doesn't use much power and has monitor mode Linux drivers.
Please post your experiences below. Good luck everyone!!
- Jake
jakelikescake123 said:
Hello everyone,
I have gotten BT5 installed on my ASUS Transformer TF101 with Aircrack-ng working. (still needs wifi dongle to work) This was acomplished with Stock firmware and kernel 9.2.1.27. I dont have the VNC/GUI thing working for me, but that doesnt mean that you can accomplish that.
If your going to ask if you need root, just leave.
If something goes wrong (it should not) it is not my fault. If you blame me for this, I will laugh at you.
LETS GO!
0) Download and install "Complete Linux Installer" (Launching widget) and "Terminal Emulator" (it has a blue logo,) OTHER TERMINAL EMULATORS WONT WORK WITH THE WIDGET.
Complete Linux Installer: https://play.google.com/store/apps/details?id=com.zpwebsites.linuxonandroid
Terminal Emulator: https://play.google.com/store/apps/...251bGwsMSwxLDEsImphY2twYWwuYW5kcm9pZHRlcm0iXQ..
1) Download and download the torrent in the file section (i believe it is at the bottom of this post)
2) Extract the downloaded zip. (I recomend to a MicroSD)
3) Place the "Boot Backtrack" widget wherever.
4) Type in where you have the backtrack.img downloaded to (if it is on the MicroSD, it is probibly at /Removable/MicroSD/backtrack.img
5) Click OK and tap the widget that says "BOOT"
6) Go through the configuration. (only on the first boot, and if you want, try to get VNC working. I just disabled it because I can't get it working)
7) If completed successfully, you should see "[email protected]:~:".
8) Type "nano /etc/apt/sources.list" and press ENTER.
9) Press "VolUp + WASD" to move around. (Just like arrow keys)
10) Remove the "#" before any line that has the word "deb". (change "#deb..." or "# deb..." to "deb...")
11) Press "VolDown + X", press y, and then press ENTER to save the file as "sources.list".
12) Type "apt-get update" and hit ENTER.
13) Type "apt-get install -y aircrack-ng"
Thats it!
If you want to be able to crack wifi, you will need to get an external wifi card that doesn't use much power and has monitor mode Linux drivers.
Please post your experiences below! I will try to get back to you, but I cannot be certain, as I am still a student who is only 14 years old. Good luck everyone!!
- Jake
Click to expand...
Click to collapse
i have installed in my optimus 2x is it possible to install different kernel modules in the backtrack image or it will load the ones in android ?
angarato_surion said:
i have installed in my optimus 2x is it possible to install different kernel modules in the backtrack image or it will load the ones in android ?
Click to expand...
Click to collapse
Im not sure. I think that you would have to be in a root shell with the android equivalent of /proc /dev and /sys mounted and binded to the backtrack iso. Anyway, Kali linux would be the way to go. I would personally put the kernel module that I needed to load in the root of the android device and execute "insmod /driver.ko", but whatever floats your boat.
Jake
Interesting! Will try to play with this tonight
Awesome! I hope it works for you!
Sent from my Transformer TF101 using xda app-developers app
Too bad this can't be done with the internal Wifi adapter, or I'd seriously give this a run.
Agreed, and I'm sorry it can't be done (@the moment). You need to use an external adapter if your going to get it to work. Plugging in a USB adapter if you have the dock will work if you install the Linux drivers. Hope this works for you!
Sent from my Transformer TF101 using xda app-developers app
jakelikescake123 said:
Agreed, and I'm sorry it can't be done (@the moment). You need to use an external adapter if your going to get it to work. Plugging in a USB adapter if you have the dock will work if you install the Linux drivers. Hope this works for you!
Sent from my Transformer TF101 using xda app-developers app
Click to expand...
Click to collapse
Hi,
I've got this installed on my TF201, was hoping you could recommend a USB wifi Adapter that supports monitoring.
Thanks
Kevin
how do i remove this post...
Update on self
Hello viewers,
Looking back at these posts, I realized that I almost have no idea what I am talking about. If you want to get monitor working, i suggest that you take a look at getting the ARM version of the USB Wifi card you have, and installing it to wherever it is you install the kernel modules for android. Check to see if a monitor mode patch even exists, insmod or modprobe (or whatever the android equivalent is) the driver, and give it a go.
Sorry for my past ignorance,
jakelikescake123

group apps launcher for android

Hi , I am using android ICS AOSP on my tablet, I have my device rooted. I have debian istalled as a loop device in the tablet. so, I want to have a link on my tab's home screen that automatically redirects me to open office application available in debian. the steps that I follow before getting the same are,
- launch debian linux through widget
-wait for terminal to show localhost#
-start vnc
-press on connect
-now i have debian running, right click,select office,select app
I want the above process be performed by a script, so that I get to the open office in one click!! Is it possible, can anyone help please, if not then where can I find my answer?

Kali Linux on Android Note 3 Guide

This may have been posted some where in the past but I have been searching for some time and found nothing but others looking for this information. So I though I would document what I did to get everything up and running on my note 3 and share it here.
Requirements
Rooted Note 3
Recommended
Bluetooth keyboard and mouse
From a PC
1. Download kali from the LOA website kalilinux.FULL.ext4.20131031 (5.8 GB Uncompressed) (2.0GB Download)
2. Once the download is complete extract the contents of the folder so you have a folder named “kali” then an .img and .md5 file in it then copy that to the Note 3 device storage root. I strongly recommend using USB 3.0.
On the Note 3
1. First Download Linux on Android It might be called Complete Linux Installer now
2. Then Download androidVNC and Terminal Emulator
3. Download the modified bootscript.sh from attchments and extract
4. Copy to /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh
5. Start Linux on Android
6. Swipe from the left of the screen to the right and open the menu
7. Select “Launch”
8. Using the drop down box select “Kali”
9. Press the “Settings” button on the top right
10. Select “Edit”
11. On the line that says “Image” click the “…” button
12. Select the img file you copied to the storage in the kali folder
13. Click the “Save Changes” button
14. Then you are ready to click the “Start Linux” button
15. There will be a question if you want to check the img with the MD5 I would go ahead and type “y” and do this step to verify your download was not messed up.
16. Then it will ask you to create a new password. Type it in. And again. Make it 6 char alpha numeric.
17. If all is good it will ask if you would like to start vnc and ssh servers. Select yes to both.
18. Next it will ask you if you would like to save as default settings. I would select yes.
19. After things finish loading and you have a prompt. We will have to configure ssh
20. Type “ssh-keygen –R localhost”
21. Then you will be able to connect to the linux shell via ssh
22. Type "ssh localhost"
23. It will ask you if you want to add localhost to the list of allowed hosts
24. Type "yes" then press enter
25. Type in your password
26. Once connected to the emulator you will need to setup the VNC password
27. Type "vncpasswd" then press enter
28. Type your password in. And again. I would use the same 6 char password from before
29. Then you are ready to connect to the desktop
30. Open androidVNC from them the main menu leaving the terminal running in the background
31. Create a new connection from the dropbox
32. Name it kalilinux
33. Fill in the password you created
34. Use localhost for the address and the default port
35. Select 24-bit color (4 bpp) for the color format
36. Click connect...
Great guide. My device isn't rooted (yet) but this makes me really start considering a root in near future. THIS^ is a the best reason why we need knox free devices.
Damn you Sammy with your Knox mumbo jumbo! I should start looking for an older FW/rootable SGN3....
This will not trigger the Knox bit it is running in an emulator on top of android. there are a couple of ways to root without tripping the Knox bit. And this does not need a custom rom or kernel.
Does it really work for you? I wasted almost a full day trying to get linux to run on my note 3 yesterday, I even began suspecting kitkat prohibits running linux...
On a side note, is there some smaller distro? 5+ gigs is an awful lot, I only need GCC and a few static libraries on my image...
good guide! Thanks!
Does it support packet injection out the box, or are you awaiting the modded driver as well?
Sent from my SAMSUNG-SM-N900A using XDA Premium 4 mobile app
melaniel said:
Does it support packet injection out the box, or are you awaiting the modded driver as well?
Sent from my SAMSUNG-SM-N900A using XDA Premium 4 mobile app
Click to expand...
Click to collapse
not by default i could not start monitor mode on the adapter but you can use an external wifi adapter as long as you provide external power via usb splitter
this guide should work with other distors just download one to your likeing from the linux on android site
bruce303lee said:
not by default i could not start monitor mode on the adapter but you can use an external wifi adapter as long as you provide external power via usb splitter
this guide should work with other distors just download one to your likeing from the linux on android site
Click to expand...
Click to collapse
ill wait out the driver then. bcmon is working on the nexus 5, same driver so should theoretically work on note 3
melaniel said:
ill wait out the driver then. bcmon is working on the nexus 5, same driver so should theoretically work on note 3
Click to expand...
Click to collapse
+1
I don't think there will be a driver, but let's hope and pray... Maybe a developer take some time to port the driver for the bcm 4339 chipset to get monitor mode working .
For informations about development status for the driver you can follow my link
http://forum.xda-developers.com/showthread.php?t=2602710
Greetings Tyler
TylerDurben said:
+1
I don't think there will be a driver, but let's hope and pray... Maybe a developer take some time to port the driver for the bcm 4339 chipset to get monitor mode working .
For informations about development status for the driver you can follow my link
http://forum.xda-developers.com/showthread.php?t=2602710
Greetings Tyler
Click to expand...
Click to collapse
Well its the same driver as the Nexus 5, so here's hoping!
melaniel said:
Well its the same driver as the Nexus 5, so here's hoping!
Click to expand...
Click to collapse
This project is much more interesting!!
http://w11.zetaboards.com/Pwnie_Express/forum/3714106/
I am using it with my nexus 7 (2012) witch is bcmon supported
Sent from my SM-N9005 using XDA Premium 4 mobile app
Error: Unable to create loop device!
Hello,
I installed the 4.4.2 version on Note 3 (N9005) ... when I boot Kali I receive the error below:
Code:
[email protected]:/ $
[email protected]:/ $ cd /storage/extSdCard/Linux/KaliFull
[email protected]:/storage/extSdCard/Linux/KaliFull $ su
sh /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh /storage/extSdCard/Linux/KaliFull/kalilinux.FULL.ext4.v2.img
sh /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh /storage/extSdCard/Linux/KaliFull/kalilinux.FULL.ext4.v2.img
Full/kalilinux.FULL.ext4.v2.img <
Checking loop device... MISSING
Creating loop device... /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh[130]: /data/data/com.zpwebsites.linuxonandroid/files/busybox: can't execute: Permission denied
FAILED
Error: Unable to create loop device!
1|[email protected]:/storage/extSdCard/Linux/KaliFull #
does anyone know how to fix it?
Thanks,
Error: Unable to create loop device!
yea, me too, galaxy note3
Error: Unable to create loop device!
help,
Loop device error
My device also has that loop error.
I think that this has something to do with the kernel...
Here is my kernel version:
http://i.imgur.com/C6yF4DB.png
Can anyone confirm that this is the kernel issue?
P.S. here are the instructions for setting up Kali on Galaxy S4 with Linux Deploy app (I'll try install it using these methods...):
http://forum.xda-developers.com/showthread.php?t=2400638
EDIT:
I had no luck installing it with Linux Deploy. It just fails... It says it cannot find the directory that actually exist... xD
P.S. i think this is a kernel issue according to this (and other posts I found):
http://forum.xda-developers.com/showpost.php?p=50746675&postcount=5
You can find custom kernels and ROMs here:
http://forum.xda-developers.com/showthread.php?t=2439633
I heard that the LEAN kernel has "loop devices" setting enabled.
Also, you can modify your current kernel. Instructions here:
http://forum.xda-developers.com/showthread.php?t=1818871
Is there a easier method for enabling loop devices?
access
how can I access all kali files and folders when I usee explorer root is my sd card root and I can't see a single kali file
I tried your method and still received the same errors.
I have a rooted note 3 (I think I used the chainfire method) the device is still pretty new to me.
First it won't create the loop255
I've manged to get around that by making the loop255 device myself in terminal with the play store version of bbox (for some reason there seems to be an issue with the installer calling it's own busybox)
But then it (that is the loop device) won't mount, I'm over my head with that stuff so I haven't been able to work around this.
Some guidance would be much appreciated.
On a side note I got linux running on my old LG Motion with linux deploy and it works like a dream but for some reason there are no programs on it! I've found this odd but there are (or at least I cant find them) none of the preloaded hacking programs that are the entire point of the kali project. It's possible I just didn't find them yet but it's so hard to work with a desktop OS on a 320x480 screen, that's why I'm trying to get it on my note! I'm in love with this new 1080x1900 res!
Sent from my SM-N900T using XDA Free mobile app
---------- Post added at 11:15 PM ---------- Previous post was at 10:57 PM ----------
Okay I've seen in a few places that it has to do with the stock kernel of the note 3 can anyone either confirm or deny this and if so what do I do?
Sent from my SM-N900T using XDA Free mobile app
Root Folder
I was just wondering how you were able to copy files and folders from your pc to your root folder. Do you use a program or cmd line?
Circumventing the loop device mounting problem on the Note 3
Vinniecap974 said:
I tried your method and still received the same errors.
I have a rooted note 3 (I think I used the chainfire method) the device is still pretty new to me.
First it won't create the loop255
I've manged to get around that by making the loop255 device myself in terminal with the play store version of bbox (for some reason there seems to be an issue with the installer calling it's own busybox)
But then it (that is the loop device) won't mount, I'm over my head with that stuff so I haven't been able to work around this.
Some guidance would be much appreciated.
On a side note I got linux running on my old LG Motion with linux deploy and it works like a dream but for some reason there are no programs on it! I've found this odd but there are (or at least I cant find them) none of the preloaded hacking programs that are the entire point of the kali project. It's possible I just didn't find them yet but it's so hard to work with a desktop OS on a 320x480 screen, that's why I'm trying to get it on my note! I'm in love with this new 1080x1900 res!
Sent from my SM-N900T using XDA Free mobile app
---------- Post added at 11:15 PM ---------- Previous post was at 10:57 PM ----------
Okay I've seen in a few places that it has to do with the stock kernel of the note 3 can anyone either confirm or deny this and if so what do I do?
Sent from my SM-N900T using XDA Free mobile app
Click to expand...
Click to collapse
I ran up against the same problem and the only way I could get around it was to flash with a "permissive" ROM.
Device: Galaxy Note 3 N9005 running stock Android 4.4.2 (KitKat).
Main steps I followed were:
(1) Rooted the phone using the excellent Towelroot method;
(2) Downloaded and deployed the various files mentioned in the Kali install guide in this thread (Kali image, bootscript, busybox, etc.);
(3) Flashed a bootloader. I used Mobile Odin (from Play Store) to install the latest CWM bootloader;
(4) Downloaded and flashed the Omega V21 ROM using the CWM bootloader. I opted for "no wipe" and it seems to have worked OK.
(5) Used the Complete Linux Installer app (Play Store) to load and run the Kali image;
(6) Fixed some permissions problems with the rooted version of the FX file explorer app (Play Store);
(7) Accessed Linux using the RealVNC app (Play Store) rather than the recommended android-vnc-viewer.
Found the former worked better for me;
Of course, the ROM flash voided my warranty, but that's not an issue for me.
Hope this helps,
Ronan
As I understand it , you need to flash a permissive kernel to make this work properly.
Im on 4.4.2 with knox 0x0 and really dont want to set it to 0x1.
I managed to get linux to install but its limited in what you can do with it.
Xposed didnt set mine to permissive , neither did the playstore app .
If anyone knows of a way to set a stock kernel to permissive on a rooted device plz pm me.
I set up a Debian chroot on my CM11 Note 3 and have been using it for a long time with great success. Here's a tip, don't bother with the loopback-mounted images, it's pointless on a phone with a datamedia partition layout (where /data and /sdcard are the same partition, which the Note 3 is). Instead, just dump the root filesystem directly into the /data directory in a folder, i.e. /data/debian (or /data/arch, /data/ubuntu, /data/kali, etc). This way you don't have to have loopback device support in your kernel, you can install as much crap as you want and not have to resize your image/partition, and you can delete crap you don't want to free up space for Android apps or user storage because all of them share the same space.
Another tip, instead of VNC server which is not accelerated and pretty crap overall, use XServer XSDL. This implements an X-server at the Android app level so it can take advantage of some acceleration (not 3D but possibly 2D) and is drawing with native Android surfaces rather than rendering into a VNC buffer and such. To use it, simply run a command such as:
Code:
# env 127.0.0.1:0 mate-session
from a chroot terminal. This particular one will open a MATE desktop session in XServer XSDL (make sure you either open the app right before or right after running the command, leave it too long and it times out). There's also a libandroid_shmem.so or something library you can use to speed up the chroot->xserver memory performance. Best thing is you can configure the touchscreen to act as a trackpad like on a laptop, then use the left and right (up and down, but landscape) volume keys as left and right click.
On CM11 you can even write a script and add it to /data/local/userinit.sh to automatically start the chroot (bind mount all the devices and set up networking) and even start services if you want. I have mine automatically fire up a samba server and an SSH server on boot so I can access files remotely as well as remote in and use my Note 3 as an ARM build box for compiling stuff.
Finally, I'm looking into booting Debian natively. I've already got it working on my Note 1 and my HP TouchPad. Booting natively means you get full access to run an X server with full graphics hardware access, and with the Freedreno driver you can get actual GL and GLES acceleration. The Adreno 330 should be able to handle this pretty well. The first step towards this goal is getting dual-booting kernels to work as the native Debian kernel will need some stuff that Android doesn't want and vice-versa. I'm working towards porting Kexecboot and the kexec-hardboot patches which will allow booting of multiple kernels without reflashing. Then you can boot Debian (or other Linux) natively or you can boot Android and use services from that Linux install in chroot and easily switch back and forth by rebooting. I already have this working on the Note 1 (HP TouchPad has kexecboot but it isn't really necessary as the main bootloader supports multiple kernels already).

Can Coby MID9042 Tablet run Linux?

Install Linux on Tablet?
I have a Coby MID9042 tablet which is rooted.
I want to install and run Linux on it instead of android.
Its CPU is Allwinner A10.
Is it possible?
Thanks in advance
Search Google ( install Linux on Android you will find lots of apps and guides )
I know how to install and run Linux inside of Android :
How to run Ubuntu on Android :
1. Download "Ubuntu-1304-Small-v1.zip" and put it here : sdcard/ubuntu/ubuntu.img
2. Download and install "Android Terminal Emulator.apk"
3. Download and install "Android VNC Viewer.apk"
4. Download and install "Complete Linux Installer.apk"
5. Enable USB debugging on the tablet
6. Run Complete Linux Installer and go to Lunch
7. Select ubuntu if it is not selected
8. Hit edit config button and change the resolution to 1280x750 then hit back
9. Hit lunch, you will see the terminal running
10. Type "y" for the question which want to verify the hash of the img
11. Type "ubuntu" for password
12. If everything goes well you should see [email protected]:/#
13. Let the terminal runs and hit home button
14. Run Android VNC Viewer
15. Fill out these info : Nickname : yourname / Password : ubuntu / Address : localhost / Port : 5900
16. Change "Color Format" to 24-bit colour
17. Hit connect, and you should see the XDFL desktop of ubuntu
18. In settings select "input mode" and set it to "touchpad"
19. Slide your finger on the screen to control the mouse pointer
20. From settings choose "send text" to type anytext by using a virtual keyboard
Click to expand...
Click to collapse
But running an OS inside of another OS runs too slow!
I want to install Linux as a main OS of the tablet!
I searched the internet with keywords of "Linux Allwinner A10", and I found these websites which seems suitable for my device :
- Minimal Debian "Server" image for the Allwinner A10 and A20 devices (romanrm.net/a10/debian)
- Debian para Allwinner aXX (arcadenea.com.ar/arcadenea/noticias/708-debianallwinner)
- Debian Installer (forum.doozan.com/read.php?6,8906)
- Installing Debian On Allwinner (wiki.debian.org/InstallingDebianOn/Allwinner)
- A10 image (rhombus-tech.net/allwinner_a10/a10_image)
- Final Release of Fedora 18 for AllWinner A10 & A13 Powered Devices (cnx-software.com/2013/02/21/final-release-of-fedora-18-for-allwinner-a10-a13-powered-devices)
I am a window xp user and I am not sure how to follow these instructions.
I have just a little experience with ubuntu and typing some simple commands in its terminal.
Also The term SDcard is so misleading, is it the memory inside of the tablet? Or is it the physical memory card?
Please help me to go in the right direction.
I just want to learn some new things and I don't care bricking this tablet.
Thanks in advance.

Categories

Resources