yashsingh1/xdaforums huggingface dataset:
[Android Software Development] genyue:
root@localhost:~# msfupdate
Command 'msfupdate' is available in '/usr/local/bin/msfupdate'
The command could not be located because '/usr/local/bin' is not included in the PATH environment variable.
msfupdate: command not found
root@localhost:~#

Im using Backtrack 5 on android.

I received this message after running msfupdate.

The solution is export PATH=$:/usr/local/bin

My QUERY is what is the script file location Complete Linux Installer used to launch backtrack. The scrip location should be something like /storage/sdcard0/CompleteLinux/BACKTRACKstart.sh

I need to know which file so I can add in export PATH manually to prevent this from happening whenever i reboot backtrack.
[Android Software Development] devwithzachary:
You will want to add this to the script /root/init.sh within the linux file system
[Android Software Development] genyue:
Its working. Thanks

Does Complete Linux Installer run any scripts when its launching Backtrack?

My QUERY is what does "Start Linux" button do after I click? Run some scripts? Or some other commands?
[Android Software Development] devwithzachary:
Yes all linux distros are booted by calling the script

/data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh

and passing the path to the image file to the script, so for backtrack as the example the command excuted is something like

sh /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh /sdcard/backtrack.img

At the end of the bootscript the init.sh script found within each custom linux distro image is called, which takes care of setting everything up linux side before calling a bash shell
[Android Software Development] genyue:
Ok. That's what linux distro generally does.

Let's be specific and precise here.

When I click "Start Linux" what happens? What does it do? I asking this because I want to customize how it boot backtrack. And I don't see any .sh scripts from my filesystem related to Complete Linux Installer.

So, please help. I need clarifications.
[Android Software Development] devwithzachary:
Erm.. I am being specific and precise...

When you press the start linux button it executes the script out at /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh within the android file system. It passes to the script the path to what ever linux image you are using so it can mount and boot it.
[Android Software Development] genyue:
My bad.. I couldnt find /data/data folder earlier on bcuz i was using a gui file manager.

I used terminal emulator instead and i found the boot script
[Android Software Development] Angelkom:
I've putted the ubuntu on my phone and its working great but i can't open the internal memory its says permission denied i tried to change the permission but still the same can you please help how can i fix this i have some linux programs i want to install the software is working but i can't access internal memory
[Android Software Development] FrankStealth:
Ubuntu Edge

Just making sure that everybody's heard, that the bird is the word !

Here's Ubuntu Edge, a Phoneputer, baked by Canonical, which features Android, Ubuntu Phone and Ubuntu for Android!

Link to Indiegogo campaign: http://igg.me/at/ubuntuedge/x/4047467
[Android Software Development] devwithzachary:
Hey guys, as you might have seen the Tablet contest voting has now gone live.

I ask that you guys check it out and do some voting :D

http://www.xda-developers.com/android/xda-tablet-z-development-competition-voting-is-live/
[Android Software Development] case-sensitive:
nexus 10 + android 4.3

I've been running the linux-on-android pro on my nexus 10 (ubuntu 12.04 core), rooted and stocked 4.2. After I got the OTA updated to 4.3, I couldn't run linux anymore, so I deleted the /sdcard/ubuntu folder, reinstalled LoA and the problem persists -- no loop service, even though it worked previously! I've sent along a screenshot; your help is most appreciated (and needed!).
[Android Software Development] devwithzachary:
4.3 is currently not working with loa dew to changes that have been made. Once I have my computer up and running again
[Android Software Development] heavylildude:
.. (wrong post) sorry
[Android Software Development] xike:
Hello

I've been using HTC HD2 for some time, and I've used backtrack on it, worked pretty decently and never had a problem with it (atleast not one that I couldn't solve myself).

However, I've moved on to Samsung Galaxy S2 couple days ago (using 4.2.2 Omega ROM), and your application was on my list "to be installed" and I did, already had the Backtrack image on my computer etc., put the VNC and

it worked

, but I thought that it might be cool to try some other distro, so I've deleted the Backtrack folder, downloaded Debian, and it sadly didn't work, I did follow all steps etc, same with ubuntu.

So I thought that I might move to Backtrack again, copied my stuff, opened VNC and it still didn't work, getting a message:

"VNC connection failed! failed to connect to localhost/::1 (port 5900): connect failed: ENETUNREACH (Network is unreachable)."

VNC settings:

Nickname: -

Password: backtrac

Adress: localhost

Port: 5900

Username: -

That's kinda strange cause I started VNC server in Terminal etc, also got the red message root@localhost

Any idea how to solve it? Would greatly appreciate it.

EDIT:

Update to the ROM fixed the problem.
[Android Software Development] androidfr33k:
Delete
[Android Software Development] Lyth:
So how does VNC work on this? Does that mean I must always be connected to the internet to get the GUI on my device?

I'd like to run this on an Atrix 2 (and it's Lapdock accessory), so I'd have a Linux laptop basically.
[Android Software Development] Dean1650:
I have the Ubuntu working on my Note 2 running modded stock with Perseus kernel. I cant get the touch screen to work. It is either something simple, or it isnt supported. Any help or pointers?

dean1650 from xda premium
[Android Software Development] Dean1650:
Thanks for this. I now have touch working, a wifi mouse working. Only thing left is getting keyboard to pop up. Ubuntu is working very well on my Note 2, very quick, and internet is 10 times faster than using my installed rom.

dean1650 from xda premium
[Android Software Development] k3v0:
Any plans to update the bootscript.sh to mount an image as ext4? There is backwards compatibility with ext2. I had a request to make my custom images availale as ext4 to be compatible with android 4.3.

Thanks.

On August 29th at 02:14 my Note2 became self-aware.
[Android Software Development] Dean1650:
I got it to install and boot using faux kernel, however, all I get is a white screen with an X. All I can do is move the X around with touch.
[Android Software Development] Indirect:
Any real reason why my donation key is no longer working? Got the old one with the red icon and I cant afford to buy a brand new one. >_>
[Android Software Development] devwithzachary:
all donation keys should still be working although old ones are no longer downloadable from the play store, we switched to just the one key.

If you no longer have your key on your device feel free to email me (support@linuxonandroid.org) with your receipt for buying the old key and i can send you a new one
[Android Software Development] joesnose:
I have this the same issue, where do i find my receipt? Thanks
[Android Software Development] devwithzachary:
You woukd have been emailed it when buying the key, but you can also find it in your Google wallet/checkout account history
[Android Software Development] devwithzachary:
LoA Team position applications now open!

Hello all,

We have now opened applications for posistions within the LinuxonAndroid team, We are looking to expand the team in pretty much all areas in effords to improve the project and building something truely great!

No previous experience is needed, although it is recommened to have something (even just a good standing on xda). Some posistions do have requirements others do not!

The rolls avaible are:

ROM Programmer - Help bring a fully fledged LinuxonAndroid ROM to life with much deeper Linux intergration, and a fast stable ROM to use Linux with

App Programmer - Help improve the current Complete Linux Installer as well as future features and apps

Linux Programmer - Help build Linux side tools to make intergrating with Android even better! Also help improve the bash scripts to boot and run linux

Linux Image Builder/Porter - Help maintaine and build new images for Linux distros and support more distros

Forum Moderator - Help maintain our forums to make sure users can quickly get help and find answers to issues

Wiki Moderator - maintain the wiki, improve current articles and keep the wiki formatted

Tester - Help test new releases of the App, plus ROM and really anything else we need testing!

The below do have requirements:

ROM Programmer - Must be able to compile ROMs from source and have some knowledge in GIT, Java, merging features into ROMs.

App Programmer - Must have good Java knowledge

Linux Programmer - Knowledge in programming languages including C/C++ and java

Linux Image Builder/Porter - Knowledge of Linux in general

If you would like to apply for any of these head over the form https://docs.google.com/forms/d/1tfgz5gWaTj7ZvI6cFpLOxc0kOufT4SyOWjJh9l6o24w/viewform

Applications will stay open for 2 weeks. After which we will assign people and let everyone know!

If you have any questions about the application or think you could help somewhere else feel free to ask!
[Android Software Development] joesnose:
Hello,

I have emailed my details to yourselves but had no response. Any chance you could look into it.

Thanks.
[Android Software Development] case-sensitive:
update?

Hi,

Is there any update regarding LoA on 4.3? I really miss running it on my nexus 10...

Thanks for your help!
[Android Software Development] alireza7991:
Hi

Why LDE can not be rendered by it self ? is'nt any way to use it without VNC ?

and could you work on small linux distros ?
[Android Software Development] devwithzachary:
We can use the Android frame buffer to gain direct graphics, however its still rather buggy and not working on many devices.

I am looking into light distros with ARM support right now, the team are under going a reform so in the coming week there will be alot of changes and new things happening!
[Android Software Development] alireza7991:
Why you do not use EGL libs ? they directly render with GPU so it will be more faster and smoother also no bug among android device

using android framebuffer needs to modify your code for every framebuffer format ( rgbx , rgba , ... ) so it needs too much more effort .

and one question : what is the difference of Large image and Core image ? only GUI ?

thank for your efforts
[Android Software Development] kamild_:
Hi, I was just wondering...

This method makes you load Ubuntu (let's take that OS as an example) when Android is still in background. Because of that, not so many RAM is left for Ubuntu, right? Well... Is it possible to run Ubuntu (or another Linux distro) independently, without even running Android? Is it possible to do?
[Android Software Development] MarcianoS:
Sorry for asking, but what is the status of LOA on 4.3? I miss my Linux...
[Android Software Development] Vaykadji:
You can try to follow my tutorial for Nexus 7 'flo' on 4.3 : It may work, because the bug with 4.3 is that you can't mount loop an ext2, and my tutorial will explain how to transform your ext2 image in an ext4 image, and do the modifications needed in some scripts. Don't hesitate to feedback me if it worked :)

http://xdaforums.com/showthread.php?t=2467059
[Android Software Development] devwithzachary:
And we will hopefully integrate these changes into the app and official images very shortly thanks to [MENTION=5076651]Vaykadji[/MENTION]
[Android Software Development] xda23:
Hey when I boot up Linux on my Gs4 all I get is a white screen with a keyboard. what is the problem? what did I do wrong. Thanks!!!
[Android Software Development] xda23:
anyone help me out here. Thanks
[Android Software Development] Bob Barnsen:
Hello my friends,

the Galaxy Note 10.1 2014 is not released yet, but can you say if and when you will support that device?
[Android Software Development] stevekent:
It's currently not working on the Galaxy Note 3, so I would have to guess it's not going to work on the new note at this point.
[Android Software Development] devwithzachary:
Now I have my note 3 android 4.3 support will be here very soon in fact beta tester are trying it now
[Android Software Development] stevekent:
I would love to help beta test
[Android Software Development] stevekent:
Do we know when the version will be out with support for the Note 3?
[Android Software Development] mscion:
I'd be happy to help too. My note 3 is jealous of my note II.
[Android Software Development] devwithzachary:
4.3 support will be in the next few days I have a report to finish writing ;)

However the note 3 has SELinux set to Enforcing so you would need a kernel with passive or wait for CM to release for it
[Android Software Development] mscion:
Hi. I don't know a great deal about SELinux but the current rom I'm using is Knox "free" (jovy23s deodexed version for t-mobile). Although the counter does go to one. Is this sufficient?

EDIT:

[MENTION=2083190]zacthespack[/MENTION] Did you mean SeLinux set to "permissive" (not passive). I see there are a few kernels that are set that way for my device.
[Android Software Development] xda23:
Has anyone got Ubuntu,Linux or Debian go work on the T-Mobile Gs4.any information or help would be greatly appreciated. Thanks
[Android Software Development] mscion:
Hi zacthespack. Is the bootscript4-3.sh on sourceforge ready for primetime? Thanks!
[Android Software Development] devwithzachary:
Yes it certainly should be!
[Android Software Development] mscion:
Ok. Close but not quite there yet. First I flashed the green kernel of ptmr3 which sets SELinux to permissive. Also in the bootscript.sh (the version for JB 4.3 obtained from sourceforge), for Note 3, you need to change the path for external sd card to /storage/extSdCard. Also need to comment out the reference for Archos HD as it is trying to mount /storage for that device.

Once I do that linux boots up and I am able to run commands from the terminal. Unfortunately, I'm getting the infamous white screen problem

when I try to connect via Jump or Bvnc. Note "New 'X' desktop is localhost:0" is showing in the terminal so that is ok as far as that goes.

Any suggestions on what to try next?
[Android Software Development] k3v0:
What image are you running?

On August 29th at 02:14 my Note2 became self-aware.
[Android Software Development] mscion:
Hi. I tried the ubuntu 12 version. I had been using it on my Note II for months and moved it over to my Note 3.
[Android Software Development] k3v0:
Give one of the 13.10 images a try. Core has openbox, small has lxde, and the large image runs kde.

On August 29th at 02:14 my Note2 became self-aware.
[Android Software Development] mscion:
Well, I just doubled checked and I tried using an lxde version and a second that had unity (has the side bar on the left side). Looks like they were based on version 12.04 LTS with lxde the smaller version. Well, might as well download the latest. Hate to start from scratch again as they are set up the way I like. Was the vnc handled differently when going from 12.04 to 13.10?

BTW how did your Note 2 become self aware?
[Android Software Development] xda23:
When ubuntu boots up all I get is a white screen with a non functioning key board.I always use sosp roms on my tmobile Gs4.can I run it on a touchwhiz rom. Thanks in advance sir

---------- Post added at 05:25 PM ---------- Previous post was at 05:24 PM ----------

I meant aosp roms. :cool:
[Android Software Development] xda23:
I was running cm 10.2 latest version. And Im using the stock kernel thatd in the rom.Im using 24 color.

and

---------- Post added at 06:22 PM ---------- Previous post was at 05:46 PM ----------

I will try this some other time. :)
[Android Software Development] hololight:
I have fully updated app and I just downloaded the kali full ext4 image. When I try to start it, all that happens is the terminal opens and runs 'su', which is granted, root prompt appears.... Then that's it. Nothing further happens.
[Android Software Development] k3v0:
Yes, there were modifications made to improve compatibility with 4.3. The vnc command from 12.04 to 13.10 should be about the same for lxde. Can you look in the log file in the /home/ubuntu/.vnc directory to see if there are any critical errors?

Skynet :)

On August 29th at 02:14 my Note2 became self-aware.
[Android Software Development] hololight:
The md5 contained in the full Kali ext4 image does not match. My download is good and that md5 matches...
[Android Software Development] k3v0:
Thanks for the report. I will fix it and upload a replacement.

On August 29th at 02:14 my Note2 became self-aware.
[Android Software Development] mscion:
Hi. Well, a modicum of progress. First I tried the large kde (version ext4 for JB4.3). Now when I run Jump I get the error

"Could not start D-Bus. Can you call qdbus?"

on a grey screen. Anyways, I think that is progress... lol

Here is the log file. Also the xstartup Thanks for your help!

vnc log file:

21/10/13 11:40:18 Xvnc version TightVNC-1.3.9

21/10/13 11:40:18 Copyright (C) 2000-2007 TightVNC Group

21/10/13 11:40:18 Copyright (C) 1999 AT&T Laboratories Cambridge

21/10/13 11:40:18 All Rights Reserved.

21/10/13 11:40:18 See http://www.tightvnc.com/ for information on TightVNC

21/10/13 11:40:18 Desktop name 'X' (localhost:0)

21/10/13 11:40:18 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t

21/10/13 11:40:18 Listening for VNC connections on TCP port 5900

Font directory '/usr/share/fonts/X11/Type1/' not found - ignoring

Font directory '/usr/share/fonts/X11/75dpi/' not found - ignoring

Font directory '/usr/share/fonts/X11/100dpi/' not found - ignoring

xrdb: No such file or directory

xrdb: can't open file '/home/ubuntu/.Xresources'

startkde: Starting up...

Failed to start message bus: Failed to open "/etc/selinux/targeted/contexts/dbus_contexts": No such file or directory

EOF in dbus-launch reading address from bus daemon

startkde: Could not start D-Bus. Can you call qdbus?

xstartup file:

#!/bin/sh

xrdb $HOME/.Xresources

xsetroot -solid grey

#x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &

#x-window-manager &

# Fix to make GNOME work

export XKL_XMODMAP_DISABLE=1

#/etc/X11/Xsession

openbox-kde-session
[Android Software Development] k3v0:
Okay. I can work with this. Can you run LXDE? Either using the small image or installing it on the large image and changing the last line in xstartup to startlxde (removing or commenting out the openbox-kde-session line)

On August 29th at 02:14 my Note2 became self-aware.
[Android Software Development] mscion:
Ah yes! It worked! I installed lxde and changed last line in xstartup to startlxde after having commenting out openbox-kde-session.

Then rebooted and ran jump and got the lovely lxde desktop. Thanks!

Does unity version work or is it no longer supported.

Also, let me know if you want me to test something for kde.
[Android Software Development] k3v0:
Canonical dropped support for Unity2D after 12.04. Unity3D is supposed to run through llvmpipe on devices without hardware support, but that doesn't work through tightvnc server. I was able to get Gnome3 (which uses llvm similar to unity) to run on ArchLinux with TigerVNC, but performance was so poor as to make it unusable on my Note2.

I keep trying though :)

I will keep that in mind, thank you. I hope to have a new image for you to test uploaded in a couple days.

On August 29th at 02:14 my Note2 became self-aware.
[Android Software Development] MarcianoS:
I'm having a weird issue with the Ubuntu small (LXDE) image (13.10 ext4). When I run the preferences app and change the font size, the change appears to work in that the window of the prefs app uses the font size I selected. However, as soon as I quit that app, the funny size reverts to the default. The .gtkrc-2.0 file does show the change, but again the setting has no effect in practice.

Any ideas? I've never had this problem with past images.
[Android Software Development] arohrmann:
With new Version I installed newly downloaded Debian big one.

After starting some errors were shown. Linux is not working :(

Have a look at the screenshot.

What is the problem?

I'm on 4.3 custom Rom.
[Android Software Development] mscion:
For those interested, It appears that wxmaxima from ubuntu repository doesn't work on 13.10. The one from debian sid seems to be ok.

Also, anyone get evince to work?

Thanks

EDIT: Looks like the version of evince from sid repository works ok.
[Android Software Development] k3v0:
KDE works on the Arch Linux large image. The question now is why and not ubuntu.

On August 29th at 02:14 my Note2 became self-aware.
[Android Software Development] k3v0:
Ubuntu KDE fix for Android 4.3 devices

apt-get install selinux-policy-default

Uploading fix to SF soon
[Android Software Development] WeRSpecialPeople:
He has to edit the bootscript line mounting for the ext4. I had done it on the linuxonandroid forums.
[Android Software Development] snakefreak:
have siyah too. the other option i see is a damaged image.? give it a try reload it ( extract on pc and move to /mnt/sdcard/external_sd/ubuntu/ubuntu.img)
[Android Software Development] devwithzachary:
Well I was hoping to get the update out today, but my upload speed is being horrible today, looking at at least another 3 hours until the last of the new images is uploaded to my fast server, and then go to still upload the new full image to sourceforge :/ worse case updates for all paid apps will be out tomorrow but watch this space ;)
[Android Software Development] nscxp2005:
Excellent Zac.

Can the full images be used with the free version as well?
[Android Software Development] devwithzachary:
Indeed the free version will get updated in a week or so but i will be giving download links here to the files once they are on source forge so you can download it to your computer hopefully by tomorrow some time
[Android Software Development] Mangala_Dharma:
ok ! I have a transformer prime with the dock. On it there is the slot for the SD card and a usb port into wich I plug my 1 TB external hard drive. The microSD slot is on the tablet proper. I managed to confirm that ubuntu in chroot is able to read my microSD but nothing coming from the the dock USB connectors or card readers. Neither my sd card nor my hard drive are able to be mounted through the script. In the ubuntu.sh file I treated them like the microsd :

#Checks if you have a external sdcard #

#and mounts it if you do #

##########################################

if [ -d /sdcard/external_sd ]; then

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

fi

if [ -d /Removable/MicroSD ]; then

busybox mount -o bind /Removable/MicroSD $mnt/external_sd

fi

if [ -d Removable/USB1disk1 ]; then

busybox mount -o bind /Removable/USB1disk1 $mnt/USB1disk1

fi

if [ -d Removable/SD ]; then

busybox mount -o bind /Removable/SD $mnt/SD

fi

I created the required folders in root before and rebooted the whole thing to test, just like you wrote page 11 of the thread. Android is able to mount them in Removable , but ubuntu gets only the microSD from the tablet's main body.

Anything you think you can do about it, or can suggest for me to try ?

Sent from my Transformer Prime using My Dog
[Android Software Development] Dav_Edward:
I don't currently have Siyah. I was asking if it was a reccomended kernel. The current one I have was from I think the 1-click-root tool. I think it's a variation of CF-Root kernel, but not sure.
[Android Software Development] snakefreak:
do you have busybox installed?