yashsingh1/xdaforums huggingface dataset:
[Galaxy Note GT-N7000 Original Android Development] devwithzachary:
New updated 12.04 ubuntu images and boot script!

These include a range of new features and will be included in the next release of the complete installer, and the paid and free ubuntu installers. But because I do love all your help here are is the script and images early!

Updates are as follows:

Script

*md5 file checking if found in the same directory as the image (md5 file now included in zip of each image file) This can take some time to excute but will make sure the image is not currpt! (will only do it on first use once its checked the md5 file is deleted)

*New error messages through out the script and if a error happens it will not go any further to help make debugging far easier

(Thanks to Martin Møller)

Images

*Now boot using a normal user (call ubuntu), on first boot it will ask for you to set your own admin password for using running things as root. (thanks to barryflanagan for this!)

*Images now once again ask if you wish to save the screen size as default

*Ubuntu updated to newest updates

*Images include md5 files to check image

*+Plus possibly other tweaks I cant remember!

These images are now downloadable from either source forge via torrent

Core image [SOURCE FORGE] [TORRENT]

Small image [SOURCE FORGE] [TORRENT]

Full image [SOURCE FORGE] [TORRENT]

Boot Script [SOURCE FORGE]

This is all part of a big update that will be coming soon to the apps! Including one big new features of a built in version of busybox to stop all busybox errors, and lots of other new fectures ;)
[Galaxy Note GT-N7000 Original Android Development] jhonybravo4u:
Hey Zac... I have tried million times.. but i never able to download from Source Forge website.... it always download full file.. and when trying to extract.. it says file corrupted.. CRC Error. and will this work on ICS Stunner
[Galaxy Note GT-N7000 Original Android Development] devwithzachary:
The new v2 image? And yes it should do
[Galaxy Note GT-N7000 Original Android Development] jhonybravo4u:
Yehs ubuntu1204-V2... i tried downloading V1 small and it is successful.
[Galaxy Note GT-N7000 Original Android Development] devwithzachary:
People are reporting the download is fine. It is lossible it is just the download getting currpt on download. You can always try downloading via torrent
[Galaxy Note GT-N7000 Original Android Development] Tom-Helge:
I'll guess this Linux thing doesn't work with Android 4.0.x yet?
[Galaxy Note GT-N7000 Original Android Development] RavenY2K3:
Hi Zac, do you know if printing works on the new image?
[Galaxy Note GT-N7000 Original Android Development] devwithzachary:
why would you say that? if you check the working list on the blog you will see it has been tested and working on a range of ICS roms :)

I am not sure have yet to have a chance to test it myself
[Galaxy Note GT-N7000 Original Android Development] Tom-Helge:
After looking at that list, it seems that i'm out of luck since i'm using ICS StuNNeR.

Or did i miss something :) ?
[Galaxy Note GT-N7000 Original Android Development] devwithzachary:
nope just means no one has reported it you should still give it a try
[Galaxy Note GT-N7000 Original Android Development] Tom-Helge:
Ok thanks :D
[Galaxy Note GT-N7000 Original Android Development] MarcinXDA:
What did I wrong? Everything looks fine except VNC could not authenticate. I used 127.0.0.1:5900. I used folk package 12.04b2 and related Ubuntu.sh.

Please see terminal bellow.

app_173@android:/ $ export PATH=/data/local/bin:$PATH

app_173@android:/ $ su

app_173@android:/ # cd sdcard/ubuntu

1|app_173@android:/sdcard/ubuntu # sh ubuntu.sh

Validating image checksum... OK

Checking loop device... MISSING

Creating loop device... OK

net.ipv4.ip_forward = 1

Ubuntu is configured with SSH and VNC servers that can be accessed from the IP:

ifconfig: eth0: error fetching interface information: Device not found

Starting first boot setup.......

Now give your user account (named ubuntu) a password

Please enter the new password below

Enter new UNIX password:

Retype new UNIX password:

passwd: password updated successfully

Now enter the screen size you want in pixels (e.g. 800x480), followed by [ENTER]:

1280x800

Save this as default? (y/n) (to remove default delete the file /root/bootdefaults.txt)

y

/root/init.sh: line 53: root/bootdefaults.txt: No such file or directory

xauth: file /home/ubuntu/.Xauthority does not exist

New 'X' desktop is localhost:0

Starting applications specified in /home/ubuntu/.vnc/xstartup

Log file is /home/ubuntu/.vnc/localhost:0.log

/root/init.sh: line 83: /etc/init.d/ssh: No such file or directory

If you see the message 'New 'X' Desktop is localhost:0' then you are ready to VNC into your ubuntu OS..

If VNC'ing from a different machine on the same network as the android device use the 1st address below:

inet addr:127.0.0.1 Mask:255.0.0.0

inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0

If using androidVNC, change the 'Color Format' setting to 24-bit colour, and once you've VNC'd in, change the 'input mode' to touchpad (in settings)

To shut down the VNC server and exit the ubuntu environment, just enter 'exit' at this terminal - and WAIT for all shutdown routines to finish!

root@localhost:~# exit

exit

Killing Xtightvnc process ID 19265

/root/init.sh: line 115: /etc/init.d/ssh: No such file or directory

Error: Unable to chroot into linux!

1|app_173@android:/sdcard/ubuntu #

N7000: rom Alba ics lp6 V3

Thanks for your work devs
[Galaxy Note GT-N7000 Original Android Development] starkruzr:
Have you guys looked at BotBrew at all rather than depending on chroots?

http://botbrew.com/

It aims to GNU-ize Android rather than encapsulating a whole new Linux inside your device.
[Galaxy Note GT-N7000 Original Android Development] bluelavender:
Tried on stunner 1.4.26.1 and fail at installation. Same goes for galaxy tab 7.7 with rooted stock LA4.

All failed at installation step sh Ubuntu.sh .
[Galaxy Note GT-N7000 Original Android Development] richlum:
I'm having a few problems with the latest image.

1. When I log into the VNC session, the password I set during the first boot doesn't work, but using "ubuntu" for the password does.

2. When I exit in the terminal session I get the same error as kielichwina in post #93.

3. When I try to run ubuntu.sh again I get the error in the attached screenshot.

If I reboot the phone I don't get the error.

Everything was working fine on my Note with the previous 11.04 image.

I'm using stock, rooted 2.3.6.
[Galaxy Note GT-N7000 Original Android Development] Tom-Helge:
It did work very good for me with ICS StuNNeR v1.4.26.1 on my Samsung Galaxy Note.

So you have most likely done something wrong to setup your Linux OS.
[Galaxy Note GT-N7000 Original Android Development] MarcinXDA:
+1.

Pass: Ubuntu and it works, but only once per boot.

Thanks for help richlum.
[Galaxy Note GT-N7000 Original Android Development] richlum:
No problem kielichwina. The previous version based on 11.04 works fine for me though so if you don't want to reboot your phone each time, try using that one.
[Galaxy Note GT-N7000 Original Android Development] bluelavender:
Hmm.. Any special step needs to be taken?
[Galaxy Note GT-N7000 Original Android Development] Tom-Helge:
All i did was to follow the steps in the Ubuntu Installer app precisely.
[Galaxy Note GT-N7000 Original Android Development] richlum:
bluelavender - when you say "All failed at installation step sh Ubuntu.sh", what exactly happens?
[Galaxy Note GT-N7000 Original Android Development] bluelavender:
I got error like in the attached screenshot
[Galaxy Note GT-N7000 Original Android Development] m2b999:
I'm stuck at the VNC step. I purchased the full distros app and followed the installation guide and when I try to login with IP address :localhost and port 5900 it tells me that VNC and authentication failed... I'm using Ubuntu...

Sent from MY Note to YOU through xda premium...
[Galaxy Note GT-N7000 Original Android Development] shaan_k99:
Ubuntu Working Properly on Note on Stunner ROM 1.4.26.1

Got Ubuntu working with my Note with some lag but its working alright on ICS Stunner ROM 1.4.26.1.

Only thing is if you exit from terminal emulator once and if you want to use Ubuntu again you have to reboot else in terminal emulator it gives device or resource in use error while running the 'sh ubuntu.sh'
[Galaxy Note GT-N7000 Original Android Development] devwithzachary:
VERY interesting little project however not sure how useful it will be for a full system, i think chroot but with native graphics is the future.

Yes vnc uses a preset password, I will change this for next update so on first boot you can set vncs password to.

This seems to be a error with the new boot script which has alot more debugging in it, this will be worked on for next release

Are you using the password ubuntu?
[Galaxy Note GT-N7000 Original Android Development] bluelavender:
Can anyone help with the above error ? Thank you very much :)
[Galaxy Note GT-N7000 Original Android Development] m2b999:
Got it fixed... UBUNTU is the password...

Sent from MY Note to YOU through xda premium...
[Galaxy Note GT-N7000 Original Android Development] devwithzachary:
I have set up the project a account with User voice, a service that gives ticket support, knowledge base and feature request systems.

This will allow you all to submit any new features you would like to see in new updates or submit a ticket if you have a problem! (A much easier way of handling support than just normal email).

You will notice on the blog there is now a 'feedback and support' button in the bottom corner of your screen, you can click this to use the user voice system or you can access the site via http://linuxonandroid.uservoice.com/ to vote on features and view the knowledge base etc!

You can also still email for support but this must be done using the email address: tickets@linuxonandroid.uservoice.com

The knowledge base and user voice site will be populated with the faq and more info and this will replace the faq on the blog at the moment.

For now please think about any features you would like to see and submit them! also vote on others as only those with votes will likely make it into a build
[Galaxy Note GT-N7000 Original Android Development] jhonybravo4u:
Hi Zac. I am getting this.
[Galaxy Note GT-N7000 Original Android Development] devwithzachary:
you need to use 1280x800 not 1280*800 i.e the letter x for times :)
[Galaxy Note GT-N7000 Original Android Development] devwithzachary:
The Complete Linux Installer has been updated to v3, while there are no new features that app has been completely rebuilt from the ground up (something that's been worked on for some time) allowing feature updates and new features to be added easily.

As always this can be download from the market.

But with this release comes a new set up letting you buy the app via a new store! Payment can be taken buy either google checkout or paypal so you no longer need access to the market to buy the app or need a google account either (i.e user paypal :) ).

The new store can be viewed here http://www.androidlicenser.com/app_page/84 where you can buy the app, if this is successful then I will likely bring the other paid apps here to but this is for now a test to see how well it goes.

The Paid Ubuntu app will be updated soon, I was planning to release this yesterday but decided to wait to release the v3 version of the paid app hopefully tomorrow.
[Galaxy Note GT-N7000 Original Android Development] pboesboes:
Is it possible to run the image from the external SD card? Or should I not bother trying to make that work? (internal storage is getting a little cramped... ;) )
[Galaxy Note GT-N7000 Original Android Development] devwithzachary:
Yes it should work fine, if your using the complete installer you can reassign the location of the boot script, if you are using the paid ubuntu app then the widget will not work but this will change in the next update and if your using the free app then you just need to cd to the external sd instead of the internal sd
[Galaxy Note GT-N7000 Original Android Development] pboesboes:
It works, thanks!
[Galaxy Note GT-N7000 Original Android Development] devwithzachary:
ok what version of the boot script and which imge are you using, also what rom/kernel are you using?
[Galaxy Note GT-N7000 Original Android Development] jhonybravo4u:
Thnx Zac.... it works
[Galaxy Note GT-N7000 Original Android Development] bluelavender:
Sorry for my stupid question, how do i know which version i am using ? because when i click the button to download the image, it just download. I'm using the large image.

The rom is ics stunner , with lp6 kernel.
[Galaxy Note GT-N7000 Original Android Development] MarcinXDA:
All links of 11.04 are broken for me so can't download.

Wysłane z mojego GT-N7000 za pomocą Tapatalk
[Galaxy Note GT-N7000 Original Android Development] devwithzachary:
Check the name of the zip that the script came in

Ummm i havnt made any images based on 11.04?
[Galaxy Note GT-N7000 Original Android Development] richlum:
Oops I meant 10.10 :)

The previous version that is downloaded a couple of weeks ago.
[Galaxy Note GT-N7000 Original Android Development] Staxxthedan:
Good work...but....

Bravo. Nice one. I have this against you though:- Source Forge? Please why not provide alternative mirrors:D
[Galaxy Note GT-N7000 Original Android Development] devwithzachary:
Simply because i havd a very slow upload speed and source forge allows ftp. If you cant download from there or its slow there are torrents for the 12.04 ubuntu images with more torrents to come
[Galaxy Note GT-N7000 Original Android Development] SS:
First of all, thanks for your efforts, this is a fun project :)

I successfully ran everything for a first time, ubuntu (10.10 and LXDE) was running fine and all applications running well. However, I exited (with 'exit' in the terminal), and now when I try to reopen ubuntu, I get the attached error :s..

Any idea?
[Galaxy Note GT-N7000 Original Android Development] mendiculus:
I am very happy about your Project!

I used to install Backtrack and Ubuntu one year ago on SGS1 and Iconia A500- without any success- I got crazy on trying....:p

Now i installed Ubuntu 10 and 12 on my Note and Ubuntu 10, 12 and Backtrack on my Iconia A500 without any Problems.

I bought your Full App and I`m be anxious to the future!

THX!
[Galaxy Note GT-N7000 Original Android Development] bluelavender:
Hi Zac,

If i'm not wrong, it was v5-1 (?) . Not so sure though, because i have deleted the original zip and extract the content.
[Galaxy Note GT-N7000 Original Android Development] Staxxthedan:
Noted. I was interested in the backtrack image though, but just getting timeouts on source forge. Other members who have downloaded can provide mirrors for you on other servers, with your permission of-course.:cool:

Looking forward for the good Samaritan- wanna try a few pentests thru mobile device:p- Thanks mate for the awesome work, really appreciated.:)
[Galaxy Note GT-N7000 Original Android Development] devwithzachary:
Have you tried rebooting before running again?

Ok then you may wish to head over to the source forge page and get the new v7 version you will want this one I think:

http://sourceforge.net/projects/lin....04/bootscripts/ubuntu-script-v7.zip/download

Well all images with there next update will be getting torrents, but yes I am happy for people to provide mirrors but of cause these will not be included in the app just here
[Galaxy Note GT-N7000 Original Android Development] SS:
Yup, no luck.. still won't work. I wish there was some way to remove all configuration and return to how it was at first boot..

I have your project working on another phone however (a G.Note.. working great btw :) ), and I wanted to ask if there's a way to increase the available space in my installation?
[Galaxy Note GT-N7000 Original Android Development] richlum:
Does anyone know how to get the CTRL key to work on an external keyboard within Ubuntu?

I'm on ICS (LPY) now and the CTRL is now supported, so I can use the standard keyboard shortcuts to copy, paste, undo, redo etc. in Polaris and other apps.

But with the VNC session, Ubuntu doesn't receive/recognise the CTRL key.

It makes doing things in the word processor or GIMP quite difficult as there are a lot of functions that require CTRL or ALT keys.

thanks,

Rich
[Galaxy Note GT-N7000 Original Android Development] devwithzachary:
Yeah short of doing a complete re install you cant be sure as its still not quite unmounting right etc.

As far as increasing size see here: https://linuxonandroid.uservoice.com/knowledgebase/articles/74683-how-to-i-give-linux-more-space-

I have worked on one guide and will be sorting the second method soon

Well the vnc viewer allows you to sent CTRL and ALT etc via its menu, but you might have better luck with other vnc clients best just look on the market
[Galaxy Note GT-N7000 Original Android Development] tillum:
Read-only?

Hi Zac, am trying to figure out why I've got a 'Read Only' error message when trying to create files on the desktop with the Ubuntu user. I seem to be unable to create files either with root or with the standard user.... do I need to remount something?

Also, was there ever any progress with getting mysql working in the server image we talked about? I sent you an email with my progress a few weeks ago, but never heard back. Cheers.

---------- Post added at 09:57 AM ---------- Previous post was at 09:37 AM ----------

Have worked out that the issue seems just to be with nautilus.... weird. Why am I getting read-only errors? I can make documents with both the root and Ubuntu users through the command line...

Have found a way around it for nbow by ssh'ing into my server, and using a remote folder. THis is mainly what I'm after anyway for the GUI, as my goal is to be able to see documents on my phone via MTP out in the chroot'ed Ubuntu. Have found Synergy & Quicksynergy work really well, and am controlling my chroot'ed Ubuntu through my netbook with the keyboard and mouse. A bit slow, but very usable.

Look forward to hearing back.
[Galaxy Note GT-N7000 Original Android Development] devwithzachary:
Hi which version of ubuntu are you using? some have reported this on 10.10 but i think this was fixed in 12.04?
[Galaxy Note GT-N7000 Original Android Development] devwithzachary:
Hey guys, while taking a short braking from revision (my exams start tomorrow :( ) I have come up with a new banner for users of the project if you so wish to show your support by having the project in your signature.

If you would like to add this to your signature

You can simple add this code:

[URL="http://xdaforums.com/showthread.php?t=1585009"][IMG]http://zpwebsitefiles.com/images/loauser.png[/IMG][/URL]
[Galaxy Note GT-N7000 Original Android Development] Käptn.Karacho:
just tried it

works really nice with

CM9

ICS 4.0.4

Kernel 3.0.30-CM-g8e5edb1

xplodwild@barbecue #1

also tried to get minecraft running

but it would not start :(

nvm ... i got ubuntu on my Note :D :D
[Galaxy Note GT-N7000 Original Android Development] tillum:
An using 12.04. Not fixed for me. The problem is with nautilus though, as I can do everything with the Ubuntu user from the Command line.

Also, did you ever make any progress getting mysql running? Cheers.
[Galaxy Note GT-N7000 Original Android Development] lukelee83:
How long does it take to validate image checksum? I'm trying this on Epic 4g Touch (Sprint version of Galaxy s2) on CM9, and it's been validating the checksum for 7 or 8 min. so far.

Thanks

Edit: Oops, meant to post it on the other thread. I'll repost there.
[Galaxy Note GT-N7000 Original Android Development] mendiculus:
15 seconds! ;-)

---------- Post added at 11:14 AM ---------- Previous post was at 11:12 AM ----------

mirror bt5

http://www.multiupload.nl/6GQVWTXDUO

http://www.multiupload.nl/3REJGQ4G05
[Galaxy Note GT-N7000 Original Android Development] Mr.R™:
To all those wishing to expand their img file ive found something to make our lives easier. Use this. Works a treat :) I used it to gain more space in the v2 small image :D

Edit: On exit i get the errors couldnt chroot into linux or loop/255 is busy/no such device. Is there a solution to either of these? Using v7 script and it does it with any image i use :/
[Galaxy Note GT-N7000 Original Android Development] bluSCALE4:
Can't connect via VNC. During installation, I used my own password when prompted and I've tried using that with VNC as well as the default "ubuntu|UBUNTU" with no luck. Any help?
[Galaxy Note GT-N7000 Original Android Development] richlum:
The vnc password should just be "ubuntu". All lower case
[Galaxy Note GT-N7000 Original Android Development] debernardis:
I couldn't setup ubuntu to use non-English characters, like those accented ones: àèéìòù

I tried to do locale-gen it_IT

also tried dpkg-reconfigure locales

also edited /etc/default/locale and /etc/default/keyboard but no joy.

Any hint? Thanks
[Galaxy Note GT-N7000 Original Android Development] bluSCALE4:
Right, I had tried that already, can't get in.
[Galaxy Note GT-N7000 Original Android Development] tuxling:
Your vnc server is not starting as it should, probably because you entered the wrong resolution the first time, try entering

rm /root/bootdefaults.txt

In the terminal after you start Linux, this should reset the resolution and ask you again the next time you start it up, so type exit and start the image again.

When your asked for resolution make sure you enter it like 800x480, with a small x, not a big X, a * or anything else, just a small x! :)
[Galaxy Note GT-N7000 Original Android Development] tuxling:
Weird, my Ubuntu have no problems with ø, æ and å.

I just checked my notes as i had a similar problem before on another system, try entering

apt-get install language-pack-it-base

In the terminal and you should get the right language packs installed. :)
[Galaxy Note GT-N7000 Original Android Development] debernardis:
can't make it work. Which image are you using? I have tested both large and small ubuntu 12.04 images. Even after installing the language pack, non-English chars are ignored. In large image, when in control panel, when I try to setup language or keyboard, no window gets opened.

EDIT tried also the previous ubuntu image. On my Galaxy Note I can't show non-English chars with either stock keyboard, Swype and Hacker's keyboard.

Should I start from xev to see if the keyboards sends the event?
[Galaxy Note GT-N7000 Original Android Development] tuxling:
I usually use TightVNC viewer on my laptop to connect to the Linux on my phone and everything works fine there.

But i just tried from the android vnc viewer and on that i have the same problem, no special chars with any keyboard.

So the Ubuntu image is fine, it's the vnc viewer not sending the right keys and you might want to try some different vnc apps and see if one works.

I was testing on the small Ubuntu 12.04 image.
[Galaxy Note GT-N7000 Original Android Development] gedster314:
Can anyone point me to some articles that will help me get to the point where I can not have android on it but just Ubuntu?

I'm toying with the idea of using an older android phone as a light weight, always on file server, torrent\usenet and vpn server. I would like to run Ubuntu server on it. I just want something that has really low power consumption. I was thinking of getting a TrimSlice but I have a few android devices just collecting dust maybe I can put one to use.

Thanks
[Galaxy Note GT-N7000 Original Android Development] eliaskalach:
Hi, i did everything for backtrack as mentioned and VNC is gining me this message:

VNC connection failed

failed to connect to localhost/127.0.0.1(port 5900):

connect failed:ENONNREFUSED (connection refused)

although im using "backtrack"ass password

my device: Galaxy note

rom: kingdroid V2.9

kernak: franco r4

any help guys please?