yashsingh1/xdaforums huggingface dataset:
[Epic 4G Android Development] Djinn23:
WOOT more options!!

First of all thank you very much for your work here. I am very interested and will start playing shortly. I am a little timid as I am new to Android and just feeling out rom's and Kernels and such and fear branching to OSs will retard my progress. My apprehensions are not strong enough to stop me. . .I am typing while downloading all the stuff I need.

I have a couple of questions for this mod.

- From the instructions this appears to be something that you would not be booting into but would have to launch (at least with the instructions provided). Is this correct?

- Do you have typical functionality of the phone or does this covert the device to a UPMC?

- Uninstallation is as simple as removal of the files?

EDIT: I read the thread again after posting and saw someone saying it runs as a VM on top. . .I would assume that this address question 1, minimizes questions 2 and 3. . .but I am still curious.

This is really fascinating. I will likely press on with it knowing I can restore the puppy if I need some functionality lost or it is booting to this and I can figure out how to go back. a big thing is that it is annoying me that I cant print without some online service. . .but that is another story.

Now onto:

You know how they say that you should only say 20% of what you think. I thought the original person making comments was the same type of douchenozzle that corrects spelling errors in chats and stuff. . .not identifying that casual forms of computer mediated communication offers more allowances than . . .say an academic study. I have seen this before, and frankly did not want to call that guy out because he probably does not know better.

IMO - the people legitimizing his complaints, which were not constructive to the spirit of the thread, top him in douchnozzlism and are the reigning champions of douchebaggery. Are you really so spoiled that the deviation from "normal" grammatical rules (in a forum where the norm is more of a deviation really) so distracting that it reduces value from the content the OP was attempting to present. I would argue that all of your comments (and regrettably now mine as well) go a much greater distance in detracting from the quality of an otherwise fine thread then any style, font, color, or other PERSONAL PREFERENCE that the OP could have possibly done.

Sorry. . . grammar Nazis have always been somewhat of a pet peeve of mine.

Thanks OP for the effort of not only putting this together but sharing it with others to enjoy. Sorry for detracting from the quality of your posting with my slight rant above but I am sure that the quality of your posting will survive me and the remainder of the douche clan.

J
[Epic 4G Android Development] wjsmaggle:
Thanks for the reply! Definitely going to try it out now!
[Epic 4G Android Development] tbparker09:
sh ./ubuntu.sh error and bootubuntu

alright... so i thought it was a busybox thing that was stopping it but i used odin and did a complete wipe and reinstalled busybox and everything, only for this to keep happening. when i do sh ./ubuntu.sh i get

# sh ./ubuntu.sh

sh ./ubuntu.sh

modprobe: chdir(): No such file or directory

clear: not found

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

rm failed for -f, No such file or directory

clear: not found

rm failed for /system/bin/fsrw, No such file or directory

rm failed for /system/bin/bootubuntu, No such file or directory

rm failed for /system/bin/unionfs, No such file or directory

rm failed for -/system/bin/mountonly, No such file or directory

Unable to chmod bootubuntu: Operation not permitted

clear: not found

Ubuntu Chroot Bootloader v0.1

Ubuntu Bootloader is now installed!

This process does NOT damage Android OS!

Original Installer by Charan Singh

Modified for Ubuntu Chroot by Max Lee at NexusOneHacks.net

To enter the Debian Linux console just type 'bootubuntu'

Then when i type bootubuntu..

# bootubuntu

bootubuntu

mknod: not found

losetup: not found

mount: Invalid argument

mount: No such file or directory

mount: No such file or directory

mount: No such file or directory

sysctl: not found

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

bootubuntu: cannot create /data/local/ubuntu/etc/resolv.conf: directory nonexist

ent

bootubuntu: cannot create /data/local/ubuntu/etc/resolv.conf: directory nonexist

ent

Setting localhost on /etc/hosts

bootubuntu: cannot create /data/local/ubuntu/etc/hosts: directory nonexistent

READY TO ROCK AND ROLL BABY!

Brought to you by BThomas22x and KellyLewis3985 and the open source community!

chroot: can't execute '/bin/bash': No such file or directory

Shutting down Ubuntu

failed.

failed.

failed.

failed.

help please?
[Epic 4G Android Development] BThomas22x:
Yeah it still works... because you're not actually running it on the phone, but rather a type of virtual machine like newkidd said... and I apologize to all the people who are more worried about how I type rather than the quality of work that's done here.
[Epic 4G Android Development] Djinn23:
running but that is all

So I am a fool. after running through this I can see what is going on . It appears that the phone is still on and you are just in the VNC application making a local ssh connection to display the GUI.

I did make some mistakes in the creation of the .bashrc file and will have to work to open it. I did get connected to my local ubuntu and can navigate the gui (hit start button, switch desktops).

I have yet to be able to launch any applications though. I did notice that a click and hold seems different to anything else and there are some input settings that let me use the mouse with the dpad and such.

Am I doing something wrong or missing something. I also had to set the use local mouse option in the VNC settings to be able to get this far. . .but I have yet to be able to actually launch an application. nonetheless. . .this is awesome and thanks. I look forward to the new hotness.

J
[Epic 4G Android Development] wjsmaggle:
I too have yet to be able to launch an application. Other than mines that is. I got that running but unfortunately I don't know how to right click so I can't play haha.
[Epic 4G Android Development] BThomas22x:
Yes, Ubuntu Runs Off A Virtual Box Basically, So You Still Have Full Functionality Of The Phone, Also To Remove The Files If You Don't Want Them, You Have To Plug Your Phone Back Into The Computer, Boot Ubuntu Through ADB Shell, Then Type These Commands "apt-get autoremove tightvncserver" As Well As "apt-get autoremove lxde" And "apt-get autoremove openssh-server" As Well As Deleting The Files From Your Phone ...If There's Anything Else I Can Help With?
[Epic 4G Android Development] kangol69:
This is going straight onto my phone and I'm installing Code::Blocks. Mobile dev station! Thank you so much! Did you try and get the ubuntu netbook interface running? I read it was more geared to smaller screen sizes but I've never taken a look so... And Quit Hating On The UPPERCASE!
[Epic 4G Android Development] akijikan:
I can't get ubuntu to boot after the install. I'm not sure the install completed correctly. Here's my command prompt interface output from the install process:

# cd /sdcard/ubuntu
cd /sdcard/ubuntu
# sh ./ubuntu.sh
sh ./ubuntu.sh
./ubuntu.sh: modprobe: permission denied
./ubuntu.sh: clear: permission denied
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
rm failed for -f, No such file or directory
./ubuntu.sh: clear: permission denied
rm failed for /system/bin/fsrw, No such file or directory
rm failed for /system/bin/bootubuntu, No such file or directory
rm failed for /system/bin/unionfs, No such file or directory
rm failed for -/system/bin/mountonly, No such file or directory
./ubuntu.sh: cp: permission denied
./ubuntu.sh: cp: permission denied
./ubuntu.sh: cp: permission denied
./ubuntu.sh: cp: permission denied
Unable to chmod bootubuntu: Operation not permitted
./ubuntu.sh: clear: permission denied

Ubuntu Chroot Bootloader v0.1
Ubuntu Bootloader is now installed!
This process does NOT damage Android OS!

Original Installer by Charan Singh
Modified for Ubuntu Chroot by Max Lee at NexusOneHacks.net

To enter the Debian Linux console just type 'bootubuntu'
# bootubuntu
bootubuntu
bootubuntu: not found
[Epic 4G Android Development] BThomas22x:
Ok My First Question Is When You Set Up The "Ubuntu" Folder On Your SD Card, Did You Place The Files Directly In There, Or Did You Unzip The Folder From The Download And Place The Whole Folder In There With The Files Inside That Folder? ...If You Did, You Need To Open Ubuntu, And Pull The Files From That Folder And Put It In "Ubuntu" So When You Open Your SD Card, You Can Click On "Ubuntu" And There Are 6 Files Inside It. If That Is NOT Your Problem, Are You Sure You Put In All The "Apt-Get Update", "Apt-Get Install Tightvncserver", "Apt-Get Install Lxde", And "Apt-Get Install Openssh-server"?, Did You Get The "Root@Localhost" At All? ...Hit Me Back, I'm Looking Forward To Figuring This Out Lol.
[Epic 4G Android Development] BThomas22x:
With All The "Permission Denied"... Did You Grant Superuser Permission In ADB Shell?
[Epic 4G Android Development] akijikan:
I've had it set to automatically grant SU for a while. As you can see, it has the # prompt and not the $.
[Epic 4G Android Development] Djinn23:
I did a little play ing prior to putting it down and o am thinking this may be related to the vnc input options
[Epic 4G Android Development] tbparker09:
yeah the files are directly in /sdcard/ubuntu/(6 files). i didnt make it to the rest, i cant get to localhost. i put on what bootubuntu does. and it doesnt boot or anything. i read some evo forums and it was looking like a script error but i didnt read too much. im at work and limited what i can do. but im trying to change stuff around and doesnt seem to be working
[Epic 4G Android Development] BThomas22x:
Yeah I Saw That, But My Phone Automatically Does That, So I Thought It Was Granting Permission Automatically Too, But Then I Typed "su" One Day It It Said I Was Granted Superuser Permissions... So I'm Not Sure If It's The Same Situation?
[Epic 4G Android Development] akijikan:
I went ahead and tried doing su manually with no difference =/
[Epic 4G Android Development] BThomas22x:
Have You Tried Updating Your Busybox At All?
[Epic 4G Android Development] BThomas22x:
Wait? ...Are You Using The Epic Or The EVO?
[Epic 4G Android Development] KellyLewis3985:
For those having problems do me a favor. Download titanium backup from market place. When it installs open it. On the bottom theres a tab that says problem touch that and then yes. Let it install then do it all over again. Reboot your phone then try this again. This is all a busybox error either you dont have it or, or you dont have the latest.
[Epic 4G Android Development] akijikan:
Yeah I downloaded off the market before I got started with this.

What is the point of re-installing the same version of busybox twice and then rebooting and installing it two more times?

And the version downloaded by titanium is 1.16 where as the latest version is 1.17
[Epic 4G Android Development] BThomas22x:
For User Controls, Here's What I Gathered So Far ...Long Press = Left Click, Double Tap = Right Click... Hope That Helps
[Epic 4G Android Development] BThomas22x:
Very Nice ...People With Problems, Give This A Try ;)
[Epic 4G Android Development] tbparker09:
Epic, i just googled the problem and some evos had the same problem. ill try the titanium trick right now
[Epic 4G Android Development] akijikan:
yeah the titanium thing didn't help any.
[Epic 4G Android Development] knx2:
Wow. I hate the way you type. Just fyi.
[Epic 4G Android Development] KellyLewis3985:
Another thing you can do is, download busybox installer after the titanium trick and use it to update busybox.
[Epic 4G Android Development] KellyLewis3985:
Have you updated superuser binarys. Go into superuser, hit the settings tab. Scroll all the way down and push binarys.
[Epic 4G Android Development] :
for the initial boot problems...with all the permission stuffs, i had to sh ./ubuntu** that crap...

i had to run it once, exit, go back into the shell, su, then cd/sdcard/ubuntu again...and i got the permission errors again, so i just went to bootubuntu. but i had to use adb from my computer, i couldnt use the terminal on the phone. just wouldnt work at all.
[Epic 4G Android Development] tbparker09:
did this and am still having the same problem. busybox 1.17.3 and su 2.3.1 ef. could it be something in the SDK?
[Epic 4G Android Development] KellyLewis3985:
Were going to review the scripts and see what we can get done. As of right now the update is about 30 minutes from being ready and then a couple hour upload. It looks so much better and its alot more interactive.
[Epic 4G Android Development] KellyLewis3985:
Heres a couple of screenshots of the update. Just wallpaper changes in these screenshots but everything works and you no longer have to install anything. This one is so much easier to use. We have optimized the scripts, now it only uses half the memory and is alot faster.
[Epic 4G Android Development] BThomas22x:
Correction... only uses HALF the memory lol
[Epic 4G Android Development] KellyLewis3985:
LMAO my bad.
[Epic 4G Android Development] epicroot:
how long till update is ready i gotta get my ubuntu fix
[Epic 4G Android Development] KellyLewis3985:
10 minutes
[Epic 4G Android Development] BThomas22x:
Actually give it about 20 ...I gotta type everything up quick lol
[Epic 4G Android Development] epicroot:
damn lol i gotta be in bed in an hr. suppose ill do it tomorrow good work fellas keep it up
[Epic 4G Android Development] KellyLewis3985:
Were doing a test on it right now, its uploaded just testing on the epic.
[Epic 4G Android Development] epicroot:
can u post a link pls i might be able to get it done b4 bed
[Epic 4G Android Development] KellyLewis3985:
Im sorry bro were having issues with the update. If you want to test I will post for you to test. As of right now its not working on the epic, but thats only one phone.
[Epic 4G Android Development] epicroot:
yes i would love to test it for u

what errors are u getting?
[Epic 4G Android Development] KellyLewis3985:
I pmed you. The commands are as follows. adb shell, su, cd /sdcard/ubuntu, sh ./ubuntu.sh, bootlinux, then cat gui follow those directions.
[Epic 4G Android Development] epicroot:
ty mate willl post with results
[Epic 4G Android Development] epicroot:
link doesnt work bro
[Epic 4G Android Development] KellyLewis3985:
I pmed again. If it doesnt work pm me your email address I will invite you.
[Epic 4G Android Development] epicroot:
where were yall running into a problem during the install

\

Edit: btw 2nd link worked
[Epic 4G Android Development] KellyLewis3985:
With the bootlinux. It wouldnt run. The scripts that are in this download are not gonna be in the update. I have modded ones that were in it.
[Epic 4G Android Development] epicroot:
This is wat I got when trying to run bootlinux

C:\Users\Kevin>Desktop\android-sdk-windows\tools\adb shell

# su

su

# cd /sdcard/ubuntu

cd /sdcard/ubuntu

# sh ./ubuntu.sh

sh ./ubuntu.sh

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

←[H←[Jmkdir: can't create directory '/data/local/mnt': File exists

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

BusyBox v1.17.1 (2010-08-12 23:44:34 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: fsrw: Operation not permitted

chmod: mountonly: Operation not permitted

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/loop2: File exists

ioctl LOOP_SET_FD failed: Bad file number

mount: No such file or directory

mount: No such file or directory

mount: No such file or directory

net.ipv4.ip_forward = 1

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

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

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

Setting localhost on /etc/hosts

bootlinux: cannot create /data/local/mnt/etc/hosts: directory nonexistent

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

chroot: can't execute '/bin/bash': No such file or directory

Shutting down Ubuntu

failed.

failed.

failed.

failed.

#
[Epic 4G Android Development] KellyLewis3985:
We found the problem. When I zipped the file, it corrupted the img. I have it fixed and uploading now. Hopefully this one works.
[Epic 4G Android Development] epicroot:
send me a pm if u would mate
[Epic 4G Android Development] KellyLewis3985:
Ok when its done uploading I will. Again thanks for testing.
[Epic 4G Android Development] epicroot:
np my pleasure. is it running apps succesfully. ie mozilla?
[Epic 4G Android Development] KellyLewis3985:
Havent tested too much. Firefox works, games work. I will do some testing later real busy getting this fixed.
[Epic 4G Android Development] billecorgan:
This is probably a dumb question, but will we be able to use the phone (to make a call) at some point?
[Epic 4G Android Development] KellyLewis3985:
Yes. But while your running the ubuntu your phone will be slow. It will only run when you start it and the best way to turn it off is to reboot the phone. Its not a constant running OS unless you dont reboot after you turn it off. Were working on that part.
[Epic 4G Android Development] KellyLewis3985:
Update is up.
[Epic 4G Android Development] tbparker09:
im having this same exact issue. i had it with version 1.0. sh'ing ubuntu.sh doesnt work. im starting to think have a cheap epic since ive even started from scratch
[Epic 4G Android Development] KellyLewis3985:
The update is up and working. Give this one a shot. Post results.
[Epic 4G Android Development] BThomas22x:
Lol Well give the new 1.1 a try ...see if it's any different for you ...but go back to the main post and look at the directions ...they're entirely new, with new screen shots of the updated version
[Epic 4G Android Development] epicroot:
guys im still gettin ubuntu 1.1 corrupt file

! C:\Users\Geno\Downloads\ubuntu_v1.1.zip: The archive is corrupt

re downloading to make sure its not on my end
[Epic 4G Android Development] tbparker09:
notta. this is what i get

#su# cd /sdcard/ubuntu

# sh ./ubuntu.sh

modprobe: chdir(): No such file or directory

clear: not found

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

rm failed for -f, No such file or directory

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

clear: not found

rm failed for /system/bin/bootlinux, No such file or directory

rm failed for -/system/bin/mountonly, No such file or directory

Unable to chmod README.txt: Operation not permitted

clear: not found

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

mknod: not found

losetup: not found

mount: Invalid argument

mount: No such file or directory

mount: No such file or directory

mount: No such file or directory

sysctl: not found

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

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

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

Setting localhost on /etc/hosts

bootlinux: cannot create /data/local/ubuntu/etc/hosts: directory nonexistent

Created by KellyLewis3985 and BThomas22x!

Brought to you by Team BrokeDick!

chroot: can't execute '/bin/bash': No such file or directory

Shutting down Ubuntu

failed.

failed.

failed.

failed.

losetup: not found

#
[Epic 4G Android Development] epicroot:
re downloaded no corrupt file. so it was on my end.

installing now will post back with results
[Epic 4G Android Development] Djinn23:
Is this still true of the update. I suspect this is in the readme. Thanks again. I will pull it.
[Epic 4G Android Development] epicroot:
Great success my phone is like crack now!

love it man uber work guys
[Epic 4G Android Development] epicroot:
Question ops....... since vnc isn't saving could there not be a zip we can flash thru clockwork that would allow us to go into terminal and type say bootloader.sh that would run all the commands for us and all wed have to do is just connet thru vnc at that point? Woulld make it a more one click process ie more user friendly. Just a. Suggestion let me know ur feedback
[Epic 4G Android Development] epicroot:
One problem I'm having I shutdown phone and have booted linux thru terminal connected thru vnc

No backgrounds are loading no desktop icons

Just the taskbar is loading but I can not open up the start menu can't really do anything

Any help woould be appreciated
[Epic 4G Android Development] mrkrabs:
Wish there was a torrent of this...everytime i try to dload it ends up getting cut off before it dloads fully..
[Epic 4G Android Development] digiblur:
Pretty cool...but my ADD kicks in with all the messages having the first letter capitalized...can't read them. Might want to check the keyboard settings on your phones.
[Epic 4G Android Development] epicroot:
Did a fresh reinstall of ubuntu and it worked again
[Epic 4G Android Development] KellyLewis3985:
Sorry it was a late night. This is for everyone. If you get a gray screen and not the sexy background, your gonna have to restart your phone and then try I will try to get to everyone that has posted. Please be patient.
[Epic 4G Android Development] KellyLewis3985:
I like the idea but the vnc script that needs to be written has to be in ubuntu. After you get the root localhost all commands given to terminal are directed at ubuntu not the actual phones os.
[Epic 4G Android Development] KellyLewis3985:
I will see what I can do about mirrors today along with making a torrent upload.
[Epic 4G Android Development] KellyLewis3985:
Yes the update is all of those. Just delete the files in your ubuntu folder and copy paste the new ones in.
[Epic 4G Android Development] KellyLewis3985:
For some reason the downloads have been stopping early. If it downloads in 10 minutes its probably not gonna work. Try to redownload and let me know im gonna get at least one mirror up.