yashsingh1/xdaforums huggingface dataset:
[Galaxy Note GT-N7000 Themes and Apps] henro:
# ls

ubuntu.img ubuntu.sh ubuntuV4-800-1.zip

# sh ubuntu.sh

mkdir: can't create directory '/data/local/mnt': File exists

Loop device exists

mount: Invalid argument

mount: No such file or directory

mount: No such file or directory

mount: No such file or directory

mount: mounting /sdcard on /data/local/mnt/sdcard failed: No such file or directory

mount: mounting /sdcard/external_sd on /data/local/mnt/external_sd failed: No such file or directory

net.ipv4.ip_forward = 1

ubuntu.sh: cannot create /data/local/mnt/etc/resolv.conf: directory nonexistent

ubuntu.sh: cannot create /data/local/mnt/etc/resolv.conf: directory nonexistent

ubuntu.sh: cannot create /data/local/mnt/etc/hosts: directory nonexistent

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

eth0: ip 192.168.178.82 mask 255.255.255.0 flags [up broadcast running multicast]

chroot: can't execute '/root/init.sh': No such file or directory

Shutting down Ubuntu ARM

failed.

failed.

failed.

failed.

failed.

failed.

#

Latest script. Abyssnote 2.7. Checkrom Revo NoteHD v1

My %s had a dream...... You just read it...
[Galaxy Note GT-N7000 Themes and Apps] devwithzachary:
Ok new paid app has been uploaded the change log is:

*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

Because the FTP server costs me money to run these fast download links will only be available in the paid app. As I will only be uploading the 800x480 images to multiupload in the future (to be included in the free app) the images in the first post will stay at V4 (apart from the 800x480) thus if you have a device that has a different screen rez and want to keep up-to-date with image updates now is a good time to invest in the paid app :).

The paid app will also be getting alot more work in the close future to make the install process even easier (to hopefully the point of just downloading and pressing a button to boot) some of which will likely not make it to the free version, I am doing this to try and give the paid version more 'buying appeal'...I am after all a poor student and need money to eat and drink :P :D

Ramble over, but the future is bright..the future is linux on android :)
[Galaxy Note GT-N7000 Themes and Apps] Ovenscrubber:
Hi I got this error message:

$ Su

Su: not found

$ su

# cd /sdcard/ubuntu

# sh ubuntu.sh

mount: Invalid argument

mount: No such file or directory

mount: No such file or directory

mount: No such file or directory

mount: mounting /sdcard on /data/local/mnt/sdcard failed: No such file or directory

mount: mounting /sdcard/external_sd on /data/local/mnt/external_sd failed: No such file or directory

net.ipv4.ip_forward = 1

ubuntu.sh: cannot create /data/local/mnt/etc/resolv.conf: directory nonexistent

ubuntu.sh: cannot create /data/local/mnt/etc/resolv.conf: directory nonexistent

ubuntu.sh: cannot create /data/local/mnt/etc/hosts: directory nonexistent

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

eth0: ip 192.168.2.6 mask 255.255.255.0 flags [up broadcast running multicast]

chroot: can't execute '/root/init.sh': No such file or directory

Shutting down Ubuntu ARM

failed.

failed.

failed.

failed.

failed.

failed.

#

i have a stock ROM and my Kernel version is 2.6.35.7-N7000ZSKK1-CL706440 se.infra@SEP-67 #2

Any help or idea would be greatly appreciated
[Galaxy Note GT-N7000 Themes and Apps] devwithzachary:
Seems the same as henro, its a new one but seems pretty much everything is failing, will look into it!
[Galaxy Note GT-N7000 Themes and Apps] henro:
Thank you, zacthespack.

Fyi: it happens with both scripts and I tried several images.

Thanks for paying attention and your trouble!

Henro

My %s had a dream...... You just read it...
[Galaxy Note GT-N7000 Themes and Apps] devwithzachary:
your welcome, I will see what I can do!
[Galaxy Note GT-N7000 Themes and Apps] Seelbreaker:
Honestly, how? :P Nevermind, it wasn't like it was that much :)

Used V4-2 of your script and the ubuntuV4-800.zip 1,6GB Image-File
[Galaxy Note GT-N7000 Themes and Apps] devwithzachary:
If you long press the terminal screen it gives you the option to copy the text. I would recommend trying the v5 script
[Galaxy Note GT-N7000 Themes and Apps] Seelbreaker:
Thanks for the hint with the copy-option :) But it didn't worked with the v5 Script, is there any more information which i could tell you? Just to be sure, i installed cwm manager because of the clockword mod recovery, maybe this is the problem?
[Galaxy Note GT-N7000 Themes and Apps] devwithzachary:
nope that 'shouldnt' effect it but then again stranger things have happened
[Galaxy Note GT-N7000 Themes and Apps] devwithzachary:
The backtrack install guide has been updated to include the new boot script and downloading from the ftp server, plus everything else to bring it in line with the ubuntu guide.

For those that want the Gnome interface, or to try out all the security programs included in backtrack, or just want to try a different linux distro check it out!

http://xdaforums.com/showthread.php?t=1421833
[Galaxy Note GT-N7000 Themes and Apps] Ovenscrubber:
Just a little update, still no joy with the Ubuntu app, buy I get further with your Backtrack app buy just when I get root@localhost:/ but then the phone freezes and I have to pull the battery to restart and then back to square one.
[Galaxy Note GT-N7000 Themes and Apps] devwithzachary:
hmmm odd, I guess best thing to do is try a different rom
[Galaxy Note GT-N7000 Themes and Apps] leihuwan:
Help: a bit linux noob

First off, great work on the guide.

I'm a bit of a linux newb and definitely an android newb, and I cant get to run it on my stock Galaxy Note.

Model #: GT-N7000

Android Version: 2.3.6

Kernel: 2.6.35.7-N7000DXKL3-CL825081root@DELL144#2

Build Number: GINGERBREAD.DXKL3

I have installed busybox, superuser and have already rooted my phone.

when I run su ubuntu.sh here is the error that shows.

<sorry, for the indirect link, first post>

h ttp://imageshack.us/photo/my-images/848/ubuntuonandroiderror.png/

I have tried v4 and v5 of the script. the smaller and larger img files and I have tried it on sdcard/ubuntu and sdcard/external_sd/ubuntu. It still doesn't work. :(
[Galaxy Note GT-N7000 Themes and Apps] devwithzachary:
Yes it would seem to be the same problem a few are still having, there is another boot script floating in the forums somewhere that some say it fixes this, I don't have a like to it but a search would likely find it.

Or you could change your rom/kernel , the stock rom and kernel seem to work well
[Galaxy Note GT-N7000 Themes and Apps] beer-in-box:
I am using a KL8 ROM which is rooted and my kernel is Abyss 2.7.

With v5 script, Ubuntu seems to run but it freezes instantly. The only way to recover from the situation is to pull of the battery and start the phone again. And it says "mkdir: can't create directory '/data/local/mnt ' File exists"

But still it boots. I mean at last I can get this line: root@localhost:/#

And the phone freezes.
[Galaxy Note GT-N7000 Themes and Apps] devwithzachary:
Yes others have had this problem to, however this bug seems to be limited to only some galaxy note roms, not really sure on this one because I can't replicate the bug as I dont have the device
[Galaxy Note GT-N7000 Themes and Apps] devwithzachary:
Little update ,the next release while I am working on the automation, and fixing last boot programs will included fixed java etc, with completely new build images (did try building 11.10 but still getting the GUI errors so will hold out for 12.04), and allow you to switch between Gnome and LXDE and also allow you to decide the screen size on boot. Means much less for me to upload and far easier method than opening the init script and editing it.
[Galaxy Note GT-N7000 Themes and Apps] devwithzachary:
Ok a new test image is ready for download.

This is a updated large image (~3.5GB extracted) with the following updates:

Boot process now asks you for what screen size you want (type in the format 800x480 for example)

Boot process now lets you select what desktop enviroment you want to use (Gnome and LXDE included to start with more to come!)

Image has been recompiled to fix java and other programs

Image has been compressed using a different programs to fix errors when uncompressed in linux

note: this image works fine with the V5 script!

please test and let me know how it goes! if everything works I will update the paid app with a fast link tomorrow!

Download HERE
[Galaxy Note GT-N7000 Themes and Apps] xaoc747:
Is it working on all Roms? Off and customs?
[Galaxy Note GT-N7000 Themes and Apps] devwithzachary:
This image will work on what ever roms the old one did as you use the same boot script :)
[Galaxy Note GT-N7000 Themes and Apps] xaoc747:
Please explain it! Thank yoU!
[Galaxy Note GT-N7000 Themes and Apps] devwithzachary:
The only rom I know it works on is stock, but there are plenty of people on this thread that said its wrking on different roms, have a looking through
[Galaxy Note GT-N7000 Themes and Apps] xaoc747:
Thanks! I'll try!

p.s. your device is Samsung Galaxy Note?

p.p.s. which Rom you've use?
[Galaxy Note GT-N7000 Themes and Apps] devwithzachary:
No I have a Desire S and a Archos 101 I posted it here because I wanted people to test thath ave the note
[Galaxy Note GT-N7000 Themes and Apps] rebista:
The new image worked fine on my SGN with stock rom (2.3.6).

Gnome runs just as smoothly as LTDX.

Only thing I was missing (or didn't manage to accomplish) was the possibility to change to another language. I was able to download it but could not activate it afterwards. The entry for the second language remained grey.

All in all, great job! Thanks for the work!
[Galaxy Note GT-N7000 Themes and Apps] devwithzachary:
Sopa strike

Tomorrow as im sure you all know XDA will be having a 12 hour black out and all of tomorrow my sites will be blacked out and I will not be doing any work on my linux projects in protest, if the SOPA and PIPA bills are past then it will be the end of freedom of speech and the internet as we know it.

This would put a hell of a lot of pressure on developers to keep within the 'laws', its very likely this site would face alot of pressure to shut down most of this forum if not the lot.

Thank you all, and I hope you also support the movement! for more information check this site

http://fightforthefuture.org/pipa
[Galaxy Note GT-N7000 Themes and Apps] madcat820:
worried.

good day. i wish to try this ubuntu on my GX note, however,im worried on few things, like

1. does it modify system files, or the way the gxnote works?

2. does it need sdcard and can i run it without?

3. if i happen to install it on my note, can i just "easily" remove/uninstall it, and in a "CLEAN" way?

thanks for anyone who can answer it....

sorry my english sucks
[Galaxy Note GT-N7000 Themes and Apps] devwithzachary:
1. the only changes it adding a loop device, and a few folders, it just not change anything that is already there.

2. the files have to be put in a folder /sdcard/ubuntu if your have internel memory this is normally mounted at the point '/sdcard'

3. if you want to uninstall it all you need to do is restart then device and then delete the ubuntu image
[Galaxy Note GT-N7000 Themes and Apps] PROTOCHIP:
Dear zacthespack,

First of all thanks for your efforts...

rom - chris x. alpha la3 base

abyssnote kernel v3.2

1- downloaded ubuntuv5 test image

2- extract it to external sd ( no space in internal sd )

3- edit ubuntu.sh for externalsd

4- enter commands from terminal and i see localhost prompt

5- run vnc and connect

6- i see ubuntu loading... first " x " pointer then a mouse pointer on gray background but in a few minutes my gnote reboots...

Any Advice?

Kind Regards,
[Galaxy Note GT-N7000 Themes and Apps] jager13:
try cf kernel! it should work...
[Galaxy Note GT-N7000 Themes and Apps] kable:
Running fine on Sheep ROM 2.2 with Stock kernal.

Using v4 1280x800 Light image and v5 script.

Will try Full image next.
[Galaxy Note GT-N7000 Themes and Apps] devwithzachary:
Sounds like a kernel issue a few note users have had, changing the kernel should fix this
[Galaxy Note GT-N7000 Themes and Apps] devwithzachary:
The new update for the paid version has now been pushed to the marketplace!

I have also started a source forge project for this project, which can be found here https://sourceforge.net/projects/linuxonandroid/ I am still setting it up but I will host the files for the free app here and the source code for the boot script init.sh. We can also then make use of the sites wiki and bug tracker to make it easier for me to handle the bugs that are found.

My next job will be to update the small image, and then I will be doing some more work on the boot script, my aim will be to make it so it doesn't matter where the script and image are it will still boot.

I also want to script to be able to work out what mount points a device has so it can mount both internal and external storage, but for this I need you help!

I need everyone to post the mount points for different storages for example on my archos 101 the internal storage is mounted at /sdcard and the external is /sdcard/externalsd.

Once I have a large list I can make the script look for all of these and mount what a device has.

Thank you all
[Galaxy Note GT-N7000 Themes and Apps] madcat820:
okay, i got it working, on all stock firmware/flash, however, the terminal gives me error,

"groups: cannot find name for group ID 10133"

can anybody help me or atleast point me in the right direction, thanks.....
[Galaxy Note GT-N7000 Themes and Apps] dt33:
With KK1 kernel, rooted + CWM, busybox and cant make it to work. Does it means KK1 kernel doesnt support loop? (whatever it means?)

Model #: GT-N7000

Android Version: 2.3.6

Kernel: 2.6.35.7-N7000ZSKK1-CL706440 se.infra@SEP-67 #2

Build Number: GINGERBREAD.XBKK4

Stock ROM Nordic version.
[Galaxy Note GT-N7000 Themes and Apps] devwithzachary:
It could yes, check that you have usb debugging enabled to but if that is enabled then yes I think so
[Galaxy Note GT-N7000 Themes and Apps] PROTOCHIP:
Dear zacthespack,

At last, managed to run v5 test image with abyssnote kernel v3.4... Kindly angelom has fixed the bug in the kernel which prevents to run ubuntu... It is awesome to run ubuntu on GNote... Thanks for ur hard work...

P.S. Edited ubuntu script in order to be able put required files in external sdcard...

Kind Regards,
[Galaxy Note GT-N7000 Themes and Apps] DIGItonium:
Does anyone have luck downloading the v5 script? I'm getting nowhere or 0 byte zip file. I just installed Abyss 3.4 and running Rocket ROM v19. I didn't have much luck with the existing script.
[Galaxy Note GT-N7000 Themes and Apps] jblanc:
Works with Abyss 3.5c ?

Thanks
[Galaxy Note GT-N7000 Themes and Apps] henro:
YESSSSSSSSSSSSSSSSSSSS
[Galaxy Note GT-N7000 Themes and Apps] jaiiscool:
Got it working on LA4 + Abyss 3.5 in just under a minute........

woaaaaahhhhhhhhh

Thanks!!!!!!!!

BTW, which VNC do you recommend??

Also, are you planning to release some updated images with 11.04/11.10 version.....if not, then can you guide me in making my own image, I would love to make it and share....
[Galaxy Note GT-N7000 Themes and Apps] devwithzachary:
There VNC app that is linked in the app I think is the best, as its quite light weight giving more memory for Ubuntu itself.

I will be releasing test images of Ubuntu 12.04 once it hits alpha 2 (hopefully). When ever I have built 11.10 images all sorts of problems happen with the GUI so I never released them. So now I am just going to wait on 12.04 builds as alpha to will be released in like 3 days
[Galaxy Note GT-N7000 Themes and Apps] mscion:
Hi Zacthespack. Any thoughts on providing images of Debian or Mint?
[Galaxy Note GT-N7000 Themes and Apps] devwithzachary:
Maybe yes, once I have updated the free version and backtrack I may look at other linux distros that can be built for ARM
[Galaxy Note GT-N7000 Themes and Apps] debernardis:
Works very well on XLA4 stock kernel, image on external sdcard.

I made a youtube video and posted on twitter for @qole to view it (he's the guy behind easy debian chroot for the Nokia N8X0, N9X0 and N9).

All credits to you and your app, of course.

Video in http://youtu.be/0TXVSQrVH_w

Can ubuntu run with less privileges than root?
[Galaxy Note GT-N7000 Themes and Apps] devwithzachary:
Thank you for the video.

you 'can' yes but it involves manly adding another user in Ubuntu and then exporting the USER variable in the boot script as that user. Its not really recommend as at the end of the day if you do brake something in the image all you have to do is delete the image file and put a new one on the device
[Galaxy Note GT-N7000 Themes and Apps] mscion:
@debranardis Thank you for the video as it is quite informative. A couple of things. I was a little disappointed in that it seemed a bit laggy. A few days ago I installed Mint Linux on my Acer Aspire netbook and I coud fire up Libreoffice Writer in ten seconds (four seconds the second try). As the cpu speed and ram are about the same I thought the NOTE would have similar performance. Is most of the lag a consequence of the VNC? Are there are ways to improve the performane on NOTE. Anyways, perhaps this is not a fair comparison. Feel free to point out why! Also have you tried using a btkb + ubuntu on NOTE. When I tried using androidVNC on NOTE and connected to my netbook I had some limited success using btkb. The nice thing, when typing, is you can see the entire screen with the lovely Mint Linux background! No VKB in the way. The bad news-This was REAL laggy!

@Zacthespack At this point I have been reluctant to install ubuntu because my ROM is not rootable as is. As you are probably aware, with many GNOTE ROMs you have to downgrade to a rootable ROM and then upgrade to current ROM using mobile odin pro or CWM recovery. As ICS is around the corner I've decided to wait before I go through all this. It is probably obvious but I didn't quite follow your explanation of why it is a major problem to run ubuntu without root. Is it a question of storing extra images in case you break something in the currently used image? Anyways, I'd be quite interested in trying a version that works without root if possibe. Would be happy to pay for it!
[Galaxy Note GT-N7000 Themes and Apps] devwithzachary:
You need root for a few reasons, A) it uses a program included in busybox called chroot to mount the ubuntu image for use B) the method requires using system folders which without root you are unable to edit in any way
[Galaxy Note GT-N7000 Themes and Apps] mscion:
Interesting. I have busybox via better terminal emulator, which did not require root. In the better terminal emulator, when I type "which chroot" I get:

/data/data/com.magicandroidapps.bettertermpro/bin/chroot

So being rather bold I ran chroot and got:

BusyBox v1.16.2androidbtep (2011-08-11 14:16:08 PDT) multi-call binary.

Usage: chroot NEWROOT[PROG ARGS]

Run PROG with root directory set to NEWROOT

Is this helpful? Not sure what to do about the issue of using system folders...

Anyways, ICS is supposed to be released around March 1st. Not so long from now. Who knows, maybe the ICS upgrade will be directly rootable!
[Galaxy Note GT-N7000 Themes and Apps] Faverid:
How well does this function? I could ditch the ubuntu netbook in favor of this if it works well enough.
[Galaxy Note GT-N7000 Themes and Apps] debernardis:
Hi mscion, I think the Note could run ubuntu (or Debian) quicker if it could allocate more ram for them, especially for open office which is memory-hungry. Unfortunately we have no swap with stock kernel, and not even with alternative kernels, as far as I know.

I'm going to look for the open office tweaks I found for easy Debian and post them here.

Edit: http://talk.maemo.org/archive/index.php/t-22353.html - now let's see if it works

Ernesto de Bernardis

[from my Galaxy Note]
[Galaxy Note GT-N7000 Themes and Apps] devwithzachary:
Just to let you all know I am also working on intergrating a SWAP file into the ubuntu images to give ubuntu another 200MB of memory which will solve most of the program crashing people have had
[Galaxy Note GT-N7000 Themes and Apps] debernardis:
It's a good idea, but I think this will work only on swap-enabled kernels. Not ours, on Galaxy Note.

Ernesto de Bernardis

[from my Galaxy Note]
[Galaxy Note GT-N7000 Themes and Apps] devwithzachary:
nope it 'should' work on all devices as this swap will be handled by ubuntu's kernel
[Galaxy Note GT-N7000 Themes and Apps] yousephahmed:
Sgs2 i9100g kk1 kk2 rom

works very good

thanks
[Galaxy Note GT-N7000 Themes and Apps] mscion:
@zacthespack and debranardis

This would be very nice indeed. BTW, as debranardis once pointed out to me, there is a way to have access to open office on G Note usng Power Office. But, I think, it does a cloud based file managment. Also it can be a little clumbsy at times. On the plus side, it actually starts OOwriter in 5-10 seconds so its performace is closer to my netbook. Another major down side: it is limited to few applications (office, firefox and Gimp). So, it is no substutute for having Debian/Ubuntu image on device. Having all the software (about 30K or so) from repositories is major BIG plus. So I look forward to everyones improvements!
[Galaxy Note GT-N7000 Themes and Apps] devwithzachary:
Well after much posting saying that I will be building new images, and nothing happening for a while, the day has come.

In the past I have built my images from 10.10 and people have asked why I havn't updated this was because I was waiting for a buildable version of 12.04, which I have finally got working.

These images are purely for TESTING and in no way stable (after all 12.04 is only alpha 2 right now!) but I will be uploading images to source forge for you all to test if you wish.

New releases will be made to follow the releases of milestone versions of main Ubuntu (i.e alpha, beta etc) and possibly other releases between then as I make changes reading the build as a final build once the final official version is released. Until the final release if you wish something that is stable please stick to my 10.10 images, however the 10.10 images will no longer be updated. Before you post a bug please check on the Ubuntu bugs to see if it is something Ubuntu related and not related to just my build.

https://wiki.ubuntu.com/PrecisePangolin/TechnicalOverview/Alpha2

There will be two types of build 'core' and 'full'.

The 'core' images include only the most basic Ubuntu build with no GUI (however tightvncserver is set up if you wish to install one).

This is perfect if you do not want a GUI or want to install everything yourself, plus the download is much smaller

The 'full' images include a GUI and a range of programs, for now these images are like the old 'lightweight' images.

But once we hit stable release I will build a larger image with the complete range of software.

The first core image is now live with a full image coming hopefully tomorrow!

For now enjoy :)

https://sourceforge.net/projects/linuxonandroid/files/Ubuntu/12.04/