yashsingh1/xdaforums huggingface dataset:
[Android Software Development] devwithzachary:
Yes I would foresee in the future we will support it

Yes really the amount of RAM the device has is not as important as the amount free (one reason we are looking to creating our own ROM), it practicably flys on my Nexus 4 with 2GB RAM.

Its not really blackmagic althought it may seem that way.

Really all that happens is, the app runs the android side script, which mounts the .img linux file and then mounts a range of required folders from android into linux, /dev etc.

we then chroot into this linux img and run a linux side script.

This sets up anything else needed on linux side including networking etc before we then just spawn a bash sell.
[Android Software Development] k3v0:
Thanks! I am working on getting kde plasma active up and running
[Android Software Development] k3v0:
Well I couldn't get plasma active running, but replacing

/etc/X11/Xsession

with

exec plasma-netbook --graphicssystem raster

On the ubuntu image gave me a working kde plasm netbook interface
[Android Software Development] devwithzachary:
Could we see a screen shot?
[Android Software Development] k3v0:
I really like it

Edit: should probably include some details: expanded image to 6GB and installed kubuntu netbook

apt-get install kubuntu-netbook

Edit2: the window manager fails to start so I amended the startup line to

exec plasma-netbook --graphicssystem raster & sleep 15 && kwin

Edit3: had to fix permissions on /home/ubuntu/.kde/share/config/* to get it to save changes to the desktop and remove the error on startup
[Android Software Development] k3v0:
Upgraded to ubuntu 12.10.

LXDE and KDE Plasma Netbook are working.

Gnome Shell and Unity both fail to load 2d extensions. Tried llvm-pipe and setting UNITY_LOW_GFX_MODE=1, but unsuccessful.

Plasma-Active seg faults during kdeinit4.
[Android Software Development] k3v0:
A couple more kde plasma netbook screenshots, on kubuntu 12.04
[Android Software Development] k3v0:
Got Plasma Active running on a ubuntu 12.04 image, but the design doesn't work well over VNC. If you want to try it out, I loaded LXDE then ran

plasma-device

.

Sorry I didn't take a screenshot
[Android Software Development] k3v0:
Replacing KWin with Openbox in KDE has yielded some rather nice results on my note2. More stylish than LXDE, but faster and less glitchy than the full KDE Netbook or Desktop interface. Further, I removed all the applets that failed to start.

I replaced that last line in my xstartup file with

openbox-kde-session
[Android Software Development] satanic666:
Hi I got this error when I tried to run backtrack on myTouch3G (PVT32B),

is there a way to create mount points manually??:o

I hope it has got nothing to do with OTG Feature:rolleyes: because my device is not supported with USB Host feature.:(

#

# cd /sdcard/backtrack

# su

# iles/bootscript.sh /sdcard/backtrack/backtrack.img

Checking loop device... FOUND

No user defined mount points

net.ipv4.ip_forward = 1

[1] Segmentation fault ${bbox} chroot $...

Shutting down Linux ARM

umount: can't umount /data/local/mnt/external_sd: Invalid argument

# losetup: /dev/block/loop255: No such device or address

sorry I forgot to add screenshot :p

my R.O.M. is Banana 5.0

Sent from my Dream/Sapphire
[Android Software Development] devwithzachary:
Your device is an ARMv6 device is it now?

If it is then all you can use is debian
[Android Software Development] satanic666:
Yes my devices is ARMv6 :( but I wanted to run BT though :rolleyes:, I will try debian and let you know:), thank you :D

Sent from my Dream/Sapphire
[Android Software Development] devwithzachary:
the issue is that backtrack is based on ubuntu 10.10 and ubuntu dropped ARMv6 support at 9.04

however debian has kept support
[Android Software Development] k3v0:
Zac, do you have any interest in my Kubuntu 12.10 image? The 6 GB image compresses to 1.3 GB.

I basically upgraded the core Ubuntu 12.04 image, installed kubuntu, and fixed some errors with running KDE in a chroot.
[Android Software Development] devwithzachary:
Hmm try reinstalling the main app and then just launcing the main app the donation key does not need to be run.

And I will look into the other bugs shortly

What issues are you having?
[Android Software Development] k3v0:
apt-get clean && apt-get autoclean
vi /etc/update-manager/release-upgrades

Change lts to normal in the last line

do-release-upgrade
apt-get update && apt-get dist-upgrade

You should have enough space if you clean out the old precise packages using apt-get clean and autoclean.
[Android Software Development] k3v0:
I had this issue. It seems like some process is accessing the mounted image. I assumed the media scanner service and placed a .nomedia file in the root [i.e. / not /root ]directory; it hasn't reoccurred.

Careful though as this was causing corruption of my image file resulting in input/output errors.
[Android Software Development] mscion:
Hi. Thanks for the suggestion. I think the problem lies more so in the bootscript.sh file. I did a diff between my old one that works and the new one and noticed an extra line in the latest version that may be the culprit.

$bbox mount -o bind /dev $mnt/dev

So this is what I did. (as far as I know this is a problem for the galaxy note 2 and maybe galaxy note 1, jb version 4.12)

1)Uninstall app & data

2)Reinstall

3)run complete installer to load busybox and exit

4)edit the bootscript.sh file in data/data/com.zp*/files/

delete this line

$bbox mount -o bind /dev $mnt/dev

replace

f [ -d /sdcard/external_sd ]; then

$bbox mount -o bind /sdcard/external_sd $mnt/external_sd

with

if [ -d /storage/extSdCard ]; then

$bbox mount -o bind /storage/extSdCard $mnt/external_sd

comment out the three lines concerning an if statement in the next lines concerning

HD version of the Archos 70. Keeping these lines leads to an error statement when exiting ubuntu but

I think it is harmless...

4)Go ahead and boot linux. Put in path to img file and then once it is running, try exiting and see if you get the umount error.

I don't know if there are any unforeseen consequences of deleting the bbox line but it fixes the problem I had.

Anyways. it would be nice to have zacthespack's blessings on these changes!
[Android Software Development] k3v0:
Those are separate issues, I think.

Edit: I have always had the mount error on external_sd, and it is benign. It was easy enough to eliminate in bootscript.sh. I just added extSdCard/ manually in the configuration.

The other umount error due to the device being in use is new and caused image file corruption (input/output errors).

I think, the more serious umount error was due to either a bad update to Astro file manager or the media scanner service indexing the mounted img file.
[Android Software Development] mscion:
Hi. I was just stating the changes I needed to make to bootscript.sh file so as to make it work (or least appear to!). Otherwise it is not mounting/umounting properly and I need to reboot phone if I exit and then want to boot up linux again. I'm not sure about processes accessing my mounted image. That sounds quite serious but I'm not sure if I am seeing any evidence.

ps. kde plasma netbook looks cool.

---------- Post added at 11:29 AM ---------- Previous post was at 10:41 AM ----------

For me, deleting this line (in bootscript.sh)

$bbox mount -o bind /dev $mnt/dev

stops the umounting error concerning device being in use.

Could you verify. Does deleting this line cause other problems? So far it seems ok for me but I haven't done a lot of testing

Thanks
[Android Software Development] devwithzachary:
Hello guys,

Sorry I have not been about back now, however I notice alot of questions in here...

We have a Q&A thread which I do monitor more closely, please post all questions there! http://xdaforums.com/showthread.php?t=2161234

This thread if for development only
[Android Software Development] justmpm:
Thread cleaned.

Sorry for the interruption. I have performed a thread cleaning to remove off topic posts, Q&A, help, and troubleshooting posts. The Q&A posts were clogging the thread and were having a negative impact on the development of this project. There is a Q&A thread for this project that can be found here: http://xdaforums.com/showthread.php?t=2161234 -please start using it by directing new questions to the Q&A thread rather than answering them here.

Finally, I want to apologize to everyone who had posts deleted. I saw a lot of people helping each other and I wish more threads had this spirit.

Cheers

justmpm
[Android Software Development] farzad23:
app_126@android:/ $ export PATH=/data/local/bin:$PATH

app_126@android:/ $ cd /sdcard/archlinux

app_126@android:/sdcard/archlinux $ su

onandroid.opensource/files/bootscript.sh /sdcard/archlinux/archlinux.img <

/data/data/com.zpwebsites.linuxonandroid.opensource/files/bootscript.sh[36]: dirname: not found

Checking loop device... MISSING

Creating loop device... OK

/data/data/com.zpwebsites.linuxonandroid.opensource/files/bootscript.sh[143]: dirname: not found

mount: can't read '/etc/fstab': No such file or directory

No user defined mount points

net.ipv4.ip_forward = 1

/data/data/com.zpwebsites.linuxonandroid.opensource/files/bootscript.sh[222]: basename: not found

Config file loaded

New 'X' desktop is localhost:0

Starting applications specified in /root/.vnc/xstartup

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

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

If connection from a different machine on the same network as the android device use the address below:

eth0: error fetching interface information: Device not found

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)

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

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

[root@localhost /]# exit

exit

Killing Xvnc process ID 3015

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

Shutting down Linux ARM

umount: can't umount /data/local/mnt/root/cfg: Invalid argument

umount: can't umount /data/local/mnt/external_sd: Invalid argument

1|root@android:/mnt/sdcard/archlinux #

hi all this is shat i got some body help please.i m niewbe and don not know what shoul i do.
[Android Software Development] devwithzachary:
really? after two mod posts saying keep questions in the Q&A thread you post here? :/

questions below here: http://xdaforums.com/showthread.php?t=2161234
[Android Software Development] farzad23:
ok sorry for disturbace and tanx
[Android Software Development] fixero:
any help me...i have a problem..

anyone to fix it..???
[Android Software Development] k3v0:
This thread is for development only. Ask in the Q&A thread
[Android Software Development] Greg1964:
I'm a little confused I'm trying to install the simplest Ubuntu on my sensation.I'm using Dragon korrs beer jelly v450 with Linux kernel 3.072 and besides downloading a installing Ubuntu 12.04 and the basic Linux installer and vmc what do I need to be installed on my sensation. I installed Ubuntu 12.04 on my laptop and it works great.I have connect my phone and laptop up together in order to do this correct.If I could get it working on my sensation I would have no problem with donating. Thanks for your time.
[Android Software Development] Greg1964:
Isn't the sensations CPU armv6?If yes that means that this will not work on a sensation right?
[Android Software Development] :
HTC sensation has armv7 CPU. There is no such thing as dual core armv6 CPU.
[Android Software Development] Greg1964:
Quick qwestion not now but will there ever be a zip that can be flashed to install Ubuntu on an android phone. Thanks in advance!!! :cool:
[Android Software Development] equiliym:
For some odd reason, i cant install and use any of your img files.. are they strictly ARMv7 based? Because i do have an ARMv6 device.. however, i've been using a 2gb img file of ubuntu 9.04, karmic i think that version is called, without any problems so far.. my bootscripts cant also chroot to any img from the first post.. Hints?
[Android Software Development] devwithzachary:
RIght now this is not something we are looking at as each device would need its own install zip

All apart from the debian images require ARMv7.
[Android Software Development] equiliym:
Thanks for the wuick reply, will give it a shot these days :)
[Android Software Development] ashik992:
I know in XDA "The best" is likely avoided but what is the best rom and kernel that make this project working on a Nexus7?

Sorry about my English. :)
[Android Software Development] k3v0:
Might be handy to add a button to run e2fsck -p on an image before mounting. This would help recover from the input/output errors people are experiencing.
[Android Software Development] Greg1964:
Has anybody installed this on there sensation.If yes what ROM and kernel were you running and how did this perform on your sensation.In just a noob trying to get this operating on my sensation. Thanks in advance... :)
[Android Software Development] rp56:
I'm a noob as you can tell but if I ever figure out how to get this working on my sensation I would be more than happy to donate. Regards,Russ
[Android Software Development] devwithzachary:
Hey guys, we have just started a SWAG giveaway on our site, feel free to pop over and have a chance to win some cool stuff!

http://linuxonandroid.org/linuxonandroid-swag-giveaway/
[Android Software Development] GabrielSousa:
@zacthespack

hows the new Backtrack going ?

thanks
[Android Software Development] devwithzachary:
Anything thats nice and light, which tbh is all Nexus 7 roms, but something stable like CM would be good

WIll look into this thanks [MENTION=4938099]k3v0[/MENTION]

What issues are you guys facing (please post in http://xdaforums.com/showthread.php?t=2161234)

Check the OP Kali is now in beta! :)
[Android Software Development] ScardracS:
Plz try something instead vnc.. it's old and sometimes doesn't work :(

Powered by my Thunderbolt (This isn't spam, this ia my signature)
[Android Software Development] devwithzachary:
We are working on a number of other possible methods but have yet to have anything stable enough to release
[Android Software Development] GabrielSousa:
thanks a lot

---------- Post added at 03:31 PM ---------- Previous post was at 02:58 PM ----------

i have your Complete Linux Donate

how i boot the kali ?
[Android Software Development] g3ckospy:
keyboard

im just new here, i was wondering if someone can point me to the right direction where i could enable keyboard upon running any distro's?
[Android Software Development] devwithzachary:
Download the .img file (either from within the app or on our source forge site) place it on your device, then go into the launcher.

Select from the drop down list 'kali' or just press the options menu and 'add new' then set the path.

to bring up the keyboard within the vnc app long press on the screen and three keys will come up, the middle will bring up the keyboard
[Android Software Development] MrPandroid:
I'll have to try this later, as I didn't see my device on the list.

However, I do have a question that is somewhat related. What's the difference between loop support and swap support?

I know when these linux on andoid installers first came out, kernels had to have swap support in order to work.
[Android Software Development] Zobat:
up and running on htc desire, running CM10.1 VJ Jelly Bean 4.2.2 v6.2 , debian and ubuntu small.
[Android Software Development] CliffordKT:
So with this program Linux installed I will be able to do what? Okay I had a known of a guy who build a computer with the option to browse between windows 95 to the current Windows and all in between without shutting down computer with complete access of all, as a computer tech he needed to have all programs to be able to fix without having to carry multiple computers

Question

Maybe not so much question maybe an idea for some actual "developers" me being new. How difficult would that be to complete a program that would be able to browse through, say "synergy" or "stock" rom or any other quote "ROM'S"... Really don't need an answer well unless there is an answer is it already possible? With those possibilities it would be possible to run Apple software as well?

Is this illegal to discuss?

Just think you can buy the latest phone hardware you can install one program run the "ROMS" like themes, breaking your phone, would not be possible?
[Android Software Development] k3v0:
The universal answer is simply because you can.

My individual answer is that I use my phone as my primary PC. I connect a bluetooth keyboard and mouse, mirror the screen on a tv, and am able to run a full desktop environment. I have a full office suite, photoshop-like graphics program, complete set of command line utilities, and a basic set of programming tools.
[Android Software Development] CliffordKT:
Any thoughts of the other stuff I mentioned?
[Android Software Development] k3v0:
To be honest, not the thoughts you are looking for.

Edit. If you you have further questions on how to utilize Linux-on-Android, the Q&A thread is here
[Android Software Development] [deXter]:
What's the VNC password for the archlinux large image? I tried password, archlinux and arch, but it's not working.

Edit: nvm, fixed it by deleting the /root/.vnc/passwd file and starting vncserver manually (and it prompted me to enter the password). :)
[Android Software Development] ars0n:
Awesome app, working VRZ galaxy nexus slim bean 5 rom (4.2.2) lean kernel 6.5

backtrack, ubuntu, kali,
[Android Software Development] trop:
Hi.

I have a donation key but I cannot make debian autostart with android. I have inserted the path for the img, tried "Debian" and "debian" in name, but nothing works. Can anybody help me?

Thanks.
[Android Software Development] Ubuntu-i9001:
I want to know why we have to connect to the server while using it i want to use it offline
[Android Software Development] devwithzachary:
I assume you are talking about the VNC server? this is running locally on your device so therefore you do not need to be connect to the internet at all, the address "localhost" means the device itself this is not a server running somewhere else on the internet
[Android Software Development] TheDynamiteGuy:
hi..

i waiting for the method 2 of installing the linux on sdcard 2nd partition..

:confused:

edit:- how to/can i access my sdcard on the linux ??
[Android Software Development] devwithzachary:
Yes this is something I am still working on, I am aiming to integrate it into the boot script so this install method will be easy. My exams finish next Wednesday at which point we should have all the development time needed ;)

your sdcard should be mounted to /sdcard within the linux install
[Android Software Development] rp56:
Nice
[Android Software Development] iamashwin:
Helo sir does linux terminal fully functional

ie to run scripts and utils like android kitchen , apktool etc

please answer anyone:good:
[Android Software Development] bloodyshyt:
Has anyone managed to install openoffice on backtrack? Keep getting the no installation candidate error
[Android Software Development] Xenomisis:
Moved to Q&A section, sorry, had both open in different tabs.
[Android Software Development] Imp0stoR:
VNC Error

Everything goes fine , I start up BT it gets running I go to vnc type in backtrac (only 8 letters) for password , localhost (tried 127.0.0.1) for address , 5900 for port and when I try to connect I get this Authentication Failed error , tried with different VNC , tried deleting config file , tried passwd , and always the same . Using HTC Evo 3D with 4.0.3 android version .... what am I doing wrong ?
[Android Software Development] Imp0stoR:
How to uninstall it ? I dont see that option in the complete linux installer . My rom is King Cobra 3D - ICS v1.6

and kernel is : 3.0.16-ge733189 HTC-kernel@u18000-build-144 #1 (stock I guess) . The other details are in my sig , thanks for the reply
[Android Software Development] Imp0stoR:
Bump
[Android Software Development] devwithzachary:
Reboot your device and then delete the image file
[Android Software Development] flatronics:
any one managed to make this work note 2 N7100, Im on X-Note ROM with latest Perseus.

When connect using the VNC app, I just get a white screen.

EDIT:

a reboot solved it. :)
[Android Software Development] devwithzachary:
You guys may or may not have seen, but I won the XDA Z tablet contest! so I nice new experia Z tablet will be on its way to me so I can jump start the project once more and get some far more interesting features up and running ;) Check out the thread for my contest entry here http://xdaforums.com/showthread.php?t=2333518 in which I will be keeping everyone up to date on the progress of the range of things I plan to do
[Android Software Development] rp56:
Hey I get s white screen to ehen I boot my Gs4.what id causing that white screen.
[Android Software Development] Lex-Lhutor:
problem to remove programs.

Hello. I instsll in my toshiba trhive tablet ubuntu, and is so goog. But i have try unistall some app and icant.

Here is the terminal messange.

root@localhost:/# sudo apt-get remove minitube

Reading package lists... Error!

E: Write error - write (28: No space left on device)

E: IO Error saving source cache

E: The package lists or status file could not be parsed or opened.

root@localhost:/#
[Android Software Development] k3v0:
Congratulations!

On August 29th at 02:14 my Note2 will become self-aware.
[Android Software Development] webhijacker:
I have tried this app and downloaded Debian core

And everything goes well until this

http://db.tt/Ru4gEJ6r

What is the problem ???

My device is HTC desire c

CM10 ROM

Prometheus kernel
[Android Software Development] devwithzachary:
Seems to not shut down very cleanly, but while its running everythings ok?
[Android Software Development] webhijacker:
I get this msg when I pressed lunch Linux at the start

http://db.tt/RV5QLwAD
[Android Software Development] musheercmr:
Same message "creating user account ( named debian )" . Did you get any fix? Help me please. ..

Using debian from N7100 with wanam lite rom .
[Android Software Development] DirkStorck:
I gave up...:rolleyes:
[Android Software Development] k3v0:
The small ubuntu image with lxde has better performance than the full image. I've never used debian, so I cannot offer assistance on that image.

Also, this thread is for the app only. The Q&A thread will give you a better response.

http://xdaforums.com/showthread.php?p=38340817

On August 29th at 02:14 my Note2 will become self-aware.
[Android Software Development] GRREEN:
Ubuntu

Moved to proper thread
[Android Software Development] rob219:
i want to completly remove debian. i deleted the debian folder off my sdcard, where is everything else.located? a looked in data local mount and temp but.both are empty folders. thanks for any help.
[Android Software Development] chemicalrage:
I installed backtrack and I wish to remove the cache of it completely off my device. Where is the cache stored/located ?
[Android Software Development] douglasroos:
I've tried the app with 10.10 and 12.04 ubuntu images on my AT&T Atrix with no luck, always get the grey screen with the x cursor, there is any fix on the way? Or some workaround for this bug? I want to test the full ubuntu, the Ubuntop is too old and is kinda tricky install new software on it. Thanks for any help that you can bring.
[Android Software Development] devwithzachary:
There isnt anything else just deleting the img is enough. However if you deleted the image while it was still mounted you will need to reboot to have it take effect

See above, just delete the img file

Shall reply to your post in the q&a thread