yashsingh1/xdaforums huggingface dataset:
[Epic 4G Android Development] BThomas22x:
Nah if kellylewis can get the amon ra code source, it wouldn't be that bad... time consuming... but not bad
[Epic 4G Android Development] epicroot:
I c what your saying wed lose data {3g} functionality this way
[Epic 4G Android Development] BThomas22x:
That's the dilemma lol, but ill still look into it to see what I can find out
[Epic 4G Android Development] BThomas22x:
We got the recovery scripts... we're looking into it now.
[Epic 4G Android Development] KellyLewis3985:
Did this from my phone lol. Here are some updated scripts not alot changed here but has been making ubuntu faster. http://db.tt/gXegzDH I will also post under ther op. Just unzip this and move your scripts to another folder as a backup, then put these scripts in place of the old ones in ubuntu folder.
[Epic 4G Android Development] bobdude5:
i get a syntax error: EOF in backquote substitution

with this one
[Epic 4G Android Development] KellyLewis3985:
Hmm ok I will try to reproduce this error and see what can do to fix. Every phone is different there are some phones that cant handle it. One thing you can try is editing the new scripts to use loop1 instead of loop5. There a total of 7 loops, dont be scared to give a shot at finding what works best for you. Just remember what you changed so you can change it back or make a copy of the good scripts.
[Epic 4G Android Development] epicroot:
I don't believe this is a loop problem...

Syntax error: EOF

EOF stands for un_expected. End Of File or Eof.

Ill look into this more just got to work so it will be a while
[Epic 4G Android Development] BThomas22x:
Ok so if you change the script in any way, you gotta do "su", "cd /sdcard/ubuntu" and "sh ./ubuntu.sh" or it won't take effect.. it will show up however you changed it when you look at it, but won't be effected due to its already loaded in on the other one... hence only having to type "su" and "bootlinux" to start. I tested this to see what happens. So if you're having trouble with other scripts, make sure to do this.
[Epic 4G Android Development] urboy4mbx:
Hey Guys,

so far, I've been able to use the bootlinux command but sh ./ubuntu.sh still does not work. I've already tried different computer and cables and re installing bussybox. Any advise??

Microsoft Windows XP [Version 5.1.2600]

(C) Copyright 1985-2001 Microsoft Corp.

C:\android-sdk-windows\tools>adb shell

# su

su

# cd \sdcard\ubuntu

cd \sdcard\ubuntu

cd: can't cd to sdcardubuntu

# cd /sdcard/ubuntu/

cd /sdcard/ubuntu/

# sh ./ubuntu.sh

sh ./ubuntu.sh

modprobe: chdir(2.6.29): No such file or directory

←[H←[Jrm failed for -f, No such file or directory

rm failed for -f, No such file or directory

rm failed for -f, No such file or directory

rm failed for -f, No such file or directory

rm failed for -f, No such file or directory

mkdir failed for /data/local/mnt, File exists

←[H←[Jrm failed for -/system/bin/mountonly, No such file or directory

Unable to chmod bootlinux: Operation not permitted

←[H←[J

Ubuntu Chroot Bootloader v0.1

Ubuntu Bootloader is now installed!

This process does NOT damage Android OS!

To enter the Debian Linux console just type 'bootlinux'

# bootlinux

bootlinux

net.ipv4.ip_forward = 1

Setting /etc/resolv.conf to Google Open DNS 8.8.8.8 and 8.8.4.4

Setting localhost on /etc/hosts

Created by BThomas22x and KellyLewis3985!

Brought to you by Team BrokeDick!

Originally brought to you by NexusOneHacks.net and the open source community!

To use command line, just type!

To use a gui, type the following command in the prompt:

cat gui

root@localhost:/#
[Epic 4G Android Development] KellyLewis3985:
You see the root@localhost you have installed ubuntu congrats.
[Epic 4G Android Development] BThomas22x:
You're in localhost brother... that means you got it... so the next part of the code is "rm -rf /tmp/.X*" then "export USER=root" then "vncserver -geometry 1280x800" ...that will set up the gui for you... then open android vnc and put in the info provided on page 1. You're welcome.
[Epic 4G Android Development] urboy4mbx:
Ha ha ha that is funny. I'm Thinking that becaue of the errors I was still not able to use it. Woohooo thanks guys, that means that the second script worked for me. I will try it as soon as I get home :D

You guys are awesome!!!!!
[Epic 4G Android Development] urboy4mbx:
Hey, everything looks good....except that......VNCviewer does not want to connect to the server, I keep getting a VNC Connection failed error message. It won't even try searching for the localhost

:(
[Epic 4G Android Development] BThomas22x:
While it still says root@localhost, type the "rm -rf /tmp/.X*", "export USER=root" and "vncserver -geometry 1280x800" lines again... all seperate of course... this time you will be set to localhost:2"... change your port to 5902 and give that a try... and please post results. Thanks for the feedback.
[Epic 4G Android Development] BThomas22x:
I suppose we'll never know lol
[Epic 4G Android Development] b-reezy:
Amazing work!
[Epic 4G Android Development] BThomas22x:
Why thank you, it's always nice to have encouragement! :)
[Epic 4G Android Development] urboy4mbx:
Sorry to get back to you so late but I've been trying different ways and still I am not able to make it work. when i do this "rm -rf /tmp/.X*", "export USER=root" and "vncserver -geometry 1280x800" lines again... all seperate of course... this time you will be set to localhost:2" I get localhost:1 instead of 2. I ran out of ideas....sorry :(
[Epic 4G Android Development] BThomas22x:
Lol no worries man, I was playin around... do you have busybox installer? If not, grab that from the market (its free), then update to the 1.18 beta... that's been an issue for some and its worth a shot?
[Epic 4G Android Development] urboy4mbx:
Hey bro. I noticed that the version of busybox from the Market is ver. 1.17.1 not 1.18 beta. Maybe this is the issue? I search and there is no 1.18

Please advice??
[Epic 4G Android Development] BThomas22x:
Download "busybox installer" from the market, then when that installs, it says "1.17" on the main screen with a scroll tab, hit that and it will give you the option for 1.18... if you can't find it, let me know and i'll put a link up here for download.
[Epic 4G Android Development] KellyLewis3985:
When you type the input code rm -rf /tmp/.X* it removes all locks of previous vncserver connections. It is supposed to go back to localhost 1. After you input all the proper codes go to android vnc and set it up as stated in the op, if you get vnc could not connect keep trying on the same channel sometimes it takes several tries on the right port.
[Epic 4G Android Development] urboy4mbx:
hey...now I'm getting "stablishing handshake" and it tries to connect. although it does not connect by atleast is trying now. I think I'm almost there :D
[Epic 4G Android Development] urboy4mbx:
Ok guys I think I found the problem. when I do "vncserver -geometry 1280x800" this is what I get

perl: warning: setting locale failed.

perl: warning: Please check that your locale settings:

LANGUAGE = "de_DE:de:en_GB:en" ,

LC_ALL = (unset) ,

LANG = "de_DE.UTF-8"

are supported and installed on your system.

perl: warning: Falling back to the standard locale ("C").

New 'X' desktop is localhost: 1

starting applications specified in /root/ .vnc/xstartup

Log file is /root/.vnc/localhost:1.log

root@localhost:/#
[Epic 4G Android Development] BThomas22x:
Is it coming up a grey screen? If so, you're in, just let it fully load... sometimes it takes longer

Sent From The Beast Inside My Pocket.
[Epic 4G Android Development] urboy4mbx:
No gray screen. weird, this only tries to connected when I am on 4G network but it won't connect it will just fail. and that error message I get does not come up in the screenshots posted on the first page. Any idea on what could be missing? :confused:
[Epic 4G Android Development] urboy4mbx:
Hey, I did a quick research and was able to fix this "locale" issue by entering the fallowing command in terminal "sudo locale-gen" it installed the language pack and it worked, no more error messages. still can not connect though :mad: will keep trying and post results.

Thanks for assisting BThomas22x & KellyLewis3985 :)
[Epic 4G Android Development] KellyLewis3985:
Hmm what scripts are you running. If your not use the ones that came in the original download and start over with install.
[Epic 4G Android Development] urboy4mbx:
it worked!!

Good news....I installed everything again and it worked!!!!! The difference is that before I never installed a ROM...after doing so I downloaded the files again and did everything from scratch and that worked. Thanks for helping out guys!!! :cool:
[Epic 4G Android Development] BThomas22x:
First and foremost, AWESOME!! ...Took long enough for us to get our scripts straight for ya huh? lol. We do apologize for how long it took, even though it's basically a beta, we tried re-creating what happened to see if we could get the specific fix for it, but kept coming up short. Now we have a little more insight into the situation and will be able to better help others with this problem. So we'd like to say thanks for letting us know about the ROM. We both have custom roms on our phones, and didn't think to test it on a stock ROM. So i'm going to add that into the instructions with credit to you for the find. We really appreciate that. We've been really busy with trying to update the scripts, that we overlooked something that should have been examined almost immediately.
[Epic 4G Android Development] BThomas22x:
Oh yeah, one more thing... I'm currently building a new team of dev's to get some new projects rolling along. I'm going to call it "Team Viper". I'm looking for Dev's as well as Testers for when we get a beta issued so we can work on the debugging right away. If you're interested, send me a pm and i'll return a message with my gtalk info and we'll set up a room or something for Conference Developing. Some things we'll be working on are "Installing a recovery to flash ubuntu" (Credit to epic root for the idea), We're currently working on porting other operating systems, ROM's, Kernels, and a custom recovery, much like clockworkmod, but with our scripts, and design. I'm not going to say much more than that due to giving information away. Anyways, If you're interested, hit me up in a PM and we'll get it rolling from there.

Team Viper!
[Epic 4G Android Development] fduraibi:
Guys, why did you remove this part from the new script:

echo "Originally brought to you by NexusOneHacks.net and the open source community! "

Are you the same "NexusOneHacks.net"? if that is the case then it is OK, other wise you have no right in taking their work and making it users.

Other than that, i would like to thank every one who made this possible.
[Epic 4G Android Development] bendiy:
Great work on this and thank you!

I have a couple of questions.

1. Someone mentioned it before, but I did not see an answer. Have you tried to use the Ubuntu Netbook Remix version instead of the standard Ubuntu Desktop? It works much better on smaller screens and I believe they are trying to build touch interface support for tablets into the next release.

2. Can I run just about anything in Ubuntu that I can install via apt-get? Obviously CPU and RAM will limit some thing, but running a local dev web server in my pocket is appealing to me as I do web development.

3. Anyone know the status of Bluetooth keyboards and mice working in Android? I have an old iGo Stowaway Ultra-Slim Bluetooth Keyboard I may have to digg up for this.
[Epic 4G Android Development] KellyLewis3985:
We didnt take there work. They had the original idea. They did this on the nexus one and it failed so they dropped it.
[Epic 4G Android Development] BThomas22x:
We're working on other versions... netbook being one of them, apt-get works... we used to have that as part of the install script but we put it in the image so you no longer need to type it... but it works, if you have the memory, and for the keyboard and mouse, we have no idea... we never worried about that because its too small for a keyboard and mouse lol... unless tv out becomes available, its really kinda pointless

Sent From The Beast Inside My Pocket.
[Epic 4G Android Development] pazookie:
Maybe I missed it but everytime I launch the server it states that so and so file is locked and creates a new port..I'm up to 13 now and I don't know how to remove X1-13 so I can stick with default being 1..this all stated when I choose to have terminal's initial commad to include the code to start the server..and now even tho I've erased the initial coing in prefs and entered it manually it still creates a new file..any ideas?
[Epic 4G Android Development] KellyLewis3985:
Type this in terminal. rm -rf /tmp/.X* exactly like that.
[Epic 4G Android Development] pazookie:
is there a way install flash? every time i click the link to adobe's site from google, firefox crashes..i also cant install other browsers cause it states that it isnt i385 architecture..any ideas?
[Epic 4G Android Development] BThomas22x:
Hmmm I'll look into this and see what i can find out ...also already working on a flash for it :)
[Epic 4G Android Development] pileosnafu:
Any updates still working? awesome project!
[Epic 4G Android Development] KellyLewis3985:
They will come from thomas if any. I just moved from Hawaii to Texas. No internet.
[Epic 4G Android Development] mousiluck:
Nice this works with froyo!!!! I wanna say it doesn't get any better than this, but there is so much more to come

Samsung Epic leaked 2.2 froyo 4.2DJ29, Di18 modem

QuantamRom1.1, smiley->@ hack,ACS 2.2 Theme,

Neocore 56fps, linpack 20mflops, quadrant 1020, BenchmarkPi 1273 #11750, Now with Ubuntu.

Now this is becoming Epic!
[Epic 4G Android Development] madgadjt:
2 Things

A couple ideas

If its possible, link bluetooth mouse and keyboard in ubuntu, and a TV out option.

I wouldnt need a desktop computer if this got going.. have a dock to set the phone in for charging and tv out, and sync my wirelss devices and im good to go.

Not sure how possible any of that might be
[Epic 4G Android Development] twoeleven99:
Wow this is awesome good job
[Epic 4G Android Development] bigdeath:
Do believe the dl link is dead.... boo!
[Epic 4G Android Development] KellyLewis3985:
Here you go. http://db.tt/YnJZuf1
[Epic 4G Android Development] ZenInsight:
The Galbraith patch could seriously help this project. Yes?

http://xdaforums.com/showthread.php?t=844752
[Epic 4G Android Development] ZenInsight:
Question...

Is USB host working for Ubuntu?
[Epic 4G Android Development] revjtanton:
So cp is not working for me. I'm also getting modprobe: not found

I've re-downloaded the image several times and grabbed all of the current scripts. I do have busybox installed. The symptoms suggest I don't but I do. I flashed to Quantum ROM and that comes with it baked in. I checked /system/xbin to be sure...

My question is this: can I simply mv files from sd to /system/bin? I'm going to try....Ill post my results if I remember ;-)
[Epic 4G Android Development] revjtanton:
Alright I can't chmod bootlinux....

Now I'm confussed. Any suggestions?
[Epic 4G Android Development] revjtanton:
All of my problems were a direct result of busybox. This is great! Thanks for all of your awesome work!
[Epic 4G Android Development] KellyLewis3985:
Well guys, it looks like the OP has abandoned this project. Im no longer in hawaii to talk to him face to face and he wont respond to any message I send him. I have been really busy lately with my family but as soon as things calm down I will pick it back up.
[Epic 4G Android Development] Debello64:
Hopefully 2.2 will be offical when you start working on it again. The leaked 2.2 ROM for the EPIC just doesn't seem to want to do the "sh ./ubuntu.sh" command. I was wanting to get this up and running to see if I could get some Minecraft love on my Epic.
[Epic 4G Android Development] Darkshneider:
What about Jolicloud, could it be possible?
[Epic 4G Android Development] SINNN:
Id love to try this. But theres tons of steps to get it working. ETA on a .apk? That would be awesome!
[Epic 4G Android Development] KellyLewis3985:
Im working on an .apk now. No eta as of yet.
[Epic 4G Android Development] :
Removing Gnome

Hey guys,

So i've been trying to pare this down to a super-lightweight image without X. I've got SSH up and running (its pretty sweet), but I can't uninstall gnome. Whenever I run:

apt-get --purge remove liborbit2

There are about 100 packages that start removal. The ubuntu OS freezes on any package that it has to remove from/add to mono, however. Do you guys have any idea?
[Epic 4G Android Development] SINNN:
Awesome! Cant wait. Theres like 1 trillion steps to get it to boot on Epic, I refuse to do more that 2. Hehe.
[Epic 4G Android Development] SPHM900:
sooo...i just kinda stumbled on this...compatability with the galaxy tab? and deff want a dual boot with my already awsome rooted galaxy OS :) would really like to be able to access ubuntu while android is on but also boot seperatly from the android OS when its on and up

AMTECHREPAIR@GMAIL.COM

email with results ty
[Epic 4G Android Development] BThomas22x:
Dual booting isn't really an option with this version ...you can run this version over your android os, but not in place of it. Sorry i havn't been around lewis, i'll shoot you a text and let you know why then.

Anyways, i'm fairly certin there's compatibility through the Galaxy S models, as KellyLewis3985 has the Vibrant, and i have the Epic.

Hope that helps.
[Epic 4G Android Development] Kaiidyn:
The links appear to be dead?

I get an error 403 "You do not belong here" from dropbox.
[Epic 4G Android Development] KellyLewis3985:
Ok give me a little bit
[Epic 4G Android Development] tmckenn2:
good stuff. ive been looking around for something like this and to be honest ive tried every other post about ubuntu and ive just had no luck.... im glad to see you working on an apk thats exactly what this needs to be more accessible.

i would love to try this on my backflip running preclair 1.3.1 or my notion ink adam when it gets in... keep up the good work.
[Epic 4G Android Development] Homefix:
Any hope for new links?
[Epic 4G Android Development] Homefix:
Is any one out there that feels like santa clause. the evo scrips dont work for epec does anyone feel like santa and could cut and paste the modified bootubuntu script merry Xmas
[Epic 4G Android Development] KellyLewis3985:
Here a new link. http://db.tt/4z8uDst

Also the 2nd post on the first page is updated.
[Epic 4G Android Development] Homefix:
I just tried to download could you just paste the text of changed script that is different than the scripts here : http://xdaforums.com/showthread.php?t=881401

Thanks

UPDATE I was using cyanogen 9 wasnt working However switched over to Dk28 alls kool check this out you knuckles, https://wiki.ubuntu.com/ARM/RootfsFromScratch

Update it seems it has worked all the time, you have to reboot after usb connection (mount sdcard unmount)

I have also noticed there is no adb shell to get chroot you have to do all /sh.ubuntu.sh from phone terminal :|
[Epic 4G Android Development] tmckenn2:
Tip/help

SORRY FOR THE LONG POST!!!!!

when i run the commands this is what i get:

# su

su

# cd /sdcard/ubuntu

cd /sdcard/ubuntu

# sh ./ubuntu.sh

sh ./ubuntu.sh

modprobe: chdir(/lib/modules): No such file or directory

←[H←[Jmkdir failed for /data/local/mnt, File exists

←[H←[Jrm: invalid option -- /

BusyBox v1.18.0.git (2010-08-11 01:17:17 CDT) multi-call binary

Usage: rm [OPTIONS] FILE...

Remove (unlink) FILEs

Options:

-i Always prompt before removing

-f Never prompt

-R,-r Recurse

chmod: README.txt: Operation not permitted

chmod: bootlinux: Operation not permitted

chmod: bootlinux.bak: Operation not permitted

chmod: fsrw: Operation not permitted

chmod: mountonly: Operation not permitted

chmod: ubuntu.img: Value too large for defined data type

chmod: ubuntu.sh: Operation not permitted

chmod: unionfs: Operation not permitted

←[H←[J

Ubuntu Chroot Bootloader v0.1

Ubuntu Bootloader is now installed!

This process does NOT damage Android OS!

To enter the Debian Linux console just type 'bootlinux'

# bootlinux

bootlinux

mknod: /dev/loop6: File exists

net.ipv4.ip_forward = 1

Setting /etc/resolv.conf to Google Open DNS 8.8.8.8 and 8.8.4.4

Setting localhost on /etc/hosts

Created by KellyLewis3985 and BThomas22x!

Brought to you by Team BrokeDick!

[1] Illegal instruction (core dumped) chroot ${mnt} /b...

Shutting down Ubuntu

losetup: /dev/loop6: No such device or address

#

***********************************************************

i checked fstab file and it only showed 5 loop devices and all were used. i then proceeded to check dev/block and got:

# ls /dev/block

ls /dev/block

←[1;35mloop0←[0m ←[1;35mloop5←[0m ←[1;35mmmcblk0p2←[0m ←[1;35mmtdbloc

k3←[0m ←[1;35mram1←[0m ←[1;35mram6←[0m

←[1;35mloop1←[0m ←[1;35mloop6←[0m ←[1;35mmmcblk0p3←[0m ←[1;35mmtdbloc

k4←[0m ←[1;35mram2←[0m ←[1;35mram7←[0m

←[1;35mloop2←[0m ←[1;35mloop7←[0m ←[1;35mmtdblock0←[0m ←[1;35mmtdbloc

k5←[0m ←[1;35mram3←[0m ←[1;35mramzswap0←[0m

←[1;35mloop3←[0m ←[1;35mmmcblk0←[0m ←[1;35mmtdblock1←[0m ←[1;35mmtdbloc

k6←[0m ←[1;35mram4←[0m ←[1;34mvold←[0m

←[1;35mloop4←[0m ←[1;35mmmcblk0p1←[0m ←[1;35mmtdblock2←[0m ←[1;35mram0←[0

m ←[1;35mram5←[0m

#

**********************************************

/sys/block has files for 7 loop devices and some other things like mtdblock and ram

one last thing... i ran some code to tell me how many loop devices there are and i got this:

# ls -d /dev/loop*

ls -d /dev/loop*

←[1;35m/dev/loop6←[0m

#

*********************************************

whats wierd about that is that when i run ls /dev/ i get it to return a list of files with only a loop6 and no other loop* files:
[Epic 4G Android Development] DanWilson:
Bump.

Works good on my Desire Z at native resolution (so no panning)

But - is there any way to get rid of LXDE and install KDE?

Or something I can make the Minimize/Maximize/Close buttons bigger with?
[Epic 4G Android Development] wajanus:
I finally got everything up and working on my Samsung Vibrant. I'm using an Axura Froyo build (the latest one).

I struggled for a bit because I forgot to install busybox (and was wondering why "modprobe" was not found -.-) but I'm done.

Here's a screenshot:

i55.tinypic.com/35ktr44.png

So here's what happened, I'm running the device on 800x500 (800x400 is by far my favorite) resolution, I got on with VNC (btw, the best input mode for the VNC is the touchpad, it gives you much more control, at least it did for me on the vibrant (no keyboard)), and I got firefox running as well as the screenshot application. I got on facebook :) no problem there, and updated my status. I took a screen of that (you see it, right?).

Well, that's not all, I also got on tinypic.com and uploaded the pic there straight from the running Ubuntu.

:) Honestly, this is really damn amazing.

I used the Ubuntu 1.1 version and the newer scripts. I tried to install the netbook interface but failed (I got not enough space error, then wallpapers wouldn't install so I had to reinstall the whole system again). I also tried to use aircrack and yeah, it doesn't work guys so leave that be for now.
[Epic 4G Android Development] Uthman:
Hi all, just wanted to confirm another success story.

Ubuntu runs at awesome speeds on my epic. remember to pkill -9 your xtightvnc when youre done unless you want your phone's root ubuntu to get haxed ;-) i even tried vnc'ing from a desktop into my phone and that ran quite well over 3g. will need to test over 4g and wifi after work tonight.

is there a way that i can block access to the vnc port that's open to all external traffic and only allow localhost connections?