yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] kinleyd:
Problems running archlinux core image on galaxy nexus gsm

I'm getting this output (below). archlinux is running to an extent as the output shows, but there are lots of errors mentioning no user defined mount points as well as "LD_PRELOAD cannot be preloaded: ignored" errors. vnc viewer also fails at the point of entering the password. I've tried to specify mount points like /data/local/mnt/dev/pts without success. Any pointers will be most welcome. :)

--------------------------------------------------------

u0_a90@maguro:/ $

u0_a90@maguro:/ $ cd /sdcard/archlinux

u0_a90@maguro:/sdcard/archlinux $ su

sh /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh /sdcard/archlinux/archlinux-CORE.ext4.img

sh /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh /sdcard/archlinux/archlinux-CORE.ext4.img

cript.sh /sdcard/archlinux/archlinux-CORE.ext4.img <

Checking loop device... FOUND

mount: mounting /storage on /data/local/mnt/external_sd failed: Invalid argument

No user defined mount points

net.ipv4.ip_forward = 1

ERROR: ld.so: object 'libsigchain.so' from LD_PRELOAD cannot be preloaded: ignored.

Using config file /root/cfg/archlinux-CORE.ext4.img.config

Config file loaded

ERROR: ld.so: object 'libsigchain.so' from LD_PRELOAD cannot be preloaded: ignored.

New 'localhost:0 (archlinux)' desktop is localhost:0

Starting applications specified in /home/archlinux/.vnc/xstartup

Log file is /home/archlinux/.vnc/localhost:0.log

ERROR: ld.so: object 'libsigchain.so' from LD_PRELOAD cannot be preloaded: ignored.

chmod: cannot access '/android/': No such file or directory

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

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

ERROR: ld.so: object 'libsigchain.so' from LD_PRELOAD cannot be preloaded: ignored.

ERROR: ld.so: object 'libsigchain.so' from LD_PRELOAD cannot be preloaded: ignored.

127.0.0.1

10.0.0.105

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)

ERROR: ld.so: object 'libsigchain.so' from LD_PRELOAD cannot be preloaded: ignored.

PRNG is not seeded

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

ERROR: ld.so: object 'libsigchain.so' from LD_PRELOAD cannot be preloaded: ignored.

[root@localhost /]# exit

exit

ERROR: ld.so: object 'libsigchain.so' from LD_PRELOAD cannot be preloaded: ignored.

Killing Xvnc process ID 14336

Xvnc seems to be deadlocked. Kill the process manually and then re-run

/usr/bin/vncserver -kill :0

to clean up the socket files.

Shutting down Linux ARM

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

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

1|root@maguro:/storage/emulated/legacy/archlinux #
[Android Q&A, Help & Troubleshooting] RandyQ1:
Lollipop Question

Hi list,

Has anyone tried linuxonandroid under Android Lollipop?

Having a couple of problems...

1. Sound stopped working. Alsa reports no sound card. Sound works fine outside the chroot.

2. the /system/bin/am command no longer works inside the chroot. Works fine in a terminal outside the chroot.

Anyone have an tips I can try?
[Android Q&A, Help & Troubleshooting] isaacpeh:
Hello . I'm here regarding on this application . I've got to know this app via a video on how to install backtrack on my android device . However , I don't have the option to install backtrack in this application . I'm using a LG G PRO On android version 4.4.2 currently . Any suggestion? Any help would be appreciated . Thank you
[Android Q&A, Help & Troubleshooting] kamild_:
When I click Launch to start Ubuntu, Terminal Emulator starts up but nothing except SU is being executed. Any ideas?
[Android Q&A, Help & Troubleshooting] niksi.ile:
Hey I have been trying to get that working few days (my device is asus transformer pad tf303cl) but it always says something is not okay, now after like 50 tries and replacing bootscript and busybox for recent ones I got this

u0_a166@K014:/ $

u0_a166@K014:/ $ cd /sdcard/ubuntu

u0_a166@K014:/sdcard/ubuntu $ su

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

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

root@K014:/storage/emulated/legacy/ubuntu # sh /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh /sdcard/ubuntu/ubuntu.img

MD5 file found, use to check .img file? (y/n)

n

Checking loop device... MISSING

Creating loop device... OK

No user defined mount points

net.ipv4.ip_forward = 1

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

Shutting down Linux ARM

1|root@K014:/storage/emulated/legacy/ubuntu #

Any ideas how I could get this done?
[Android Q&A, Help & Troubleshooting] handygeek7:
Samsung Tab 4 T230NU

51 pages was too many to read though but I tried a couple of Searches and found nothing - so I hope this isn't still a duplicate ...

I am looking at a Samsung Tab 4 SM-T230NU 7" Tablet.

Reading this and other threads it appears that this device is readily rooted.

I'd like to know the following, please?

1. Is access to anything, or use of any apps, lost - or only efficiency and options gained?

2. Can I boot Linux (I like Puppy, but some other small distro is OK) on this device after rooting?

3. If Yes to #2 is there a thread or link to somewhere where others are actively running Linux on this device?

4. Can Linux be booted from a USB stick or SD-Card so as to limit space used on the device & to be portable to other devices?

Thanks - David/handygeek7
[Android Q&A, Help & Troubleshooting] handygeek7:
Difference between XDA Root & Cyanogenmod?

What is the practical difference between Rooting an Android tablet via XDA & the Cyanogenmod rom?

Or are they somewhat similar?

I used to keep up with all of this stuff :confused:
[Android Q&A, Help & Troubleshooting] handygeek7:
Solved - I think ...

OK, found the essence of my answers ...

After Rooting the device is cleaner.

Then one may apply a ROM if one chooses ...

This is a cleaned-up Stock Samsung ROM:

http://xdaforums.com/tab-4/development/rom-stockrom-series-v1-0-10-10-2014-t2901172

This is

ported to the 7" Samsung Tab 4 T230NU:

http://xdaforums.com/tab-4/development/rom-stock-t230-nu-acheron-rom-v1-0-2015-t3000107

It's unclear to me what is the difference between a full CM11 and this version - our son tells me that the CM11 he's tried is nice but is a little unstable at times.

EDIT: Still hoping for a small Linux distro like Puppy - ported to the Samsung Tab 4 T230NU (saving everything to SD-Card or Micro-USB) - so that it's a dual-boot device.
[Android Q&A, Help & Troubleshooting] born.weird:
won't install

When using Terminal Emulator i cant give superuser permission because it'll delete the lines started by complete linux installer. But i cannot switch from enforcing to permessive on the SElinux switch mode app. And i cant change the linux mode through Terminal Emulator unless i have superuser please helpme i really wnat ubuntu but it wont install. Thank you.
[Android Q&A, Help & Troubleshooting] tudy87:
all i get is this

The ubuntu.img is located in sdcard\ubuntu\ubuntu.img.

i configured the path to the file. And when i hit start this comes up and nothing happends. Pls help
[Android Q&A, Help & Troubleshooting] DotDark:
Can i install eclipse ide on that?

If i can , how to do that?

My tablet is huawei media pad 10 fhd s10-101u and i have successfully installed debian , ubuntu , backtrack5 on this tablet without any problem.

Thanks.
[Android Q&A, Help & Troubleshooting] Lego_Infinity:
Problem

I have some questions.

1. I downloaded the core image for Ubuntu 13.10. The size of it is of ~ 700mb. Isn't enough for me. How can I maximize the size of the image?

2. How can I change the kernel of Ubuntu 13.10. I want to create a swap file and my tablet's kernel doesn't support it and i have no custom kernels or roms.

Please, I wait answers for these questions. Thanks :)
[Android Q&A, Help & Troubleshooting] kirigay:
error

pik.vn/201554d77f9d-741c-4a69-a832-d3e44cad1a6b.png

How to fix it ?
[Android Q&A, Help & Troubleshooting] HDFord:
VNC Connection Refused

I've been trying to install Kali Linux on my Samsung Galaxy S3 GT-i9300, but the VNC connection does not seem to work for me. I've tried reinstalling everything several times. I've done everything after the book.

Each time I try to connect this error comes up.

VNC connection failed!
failed to connect to localhost/127.0.0.1 (port 5900):
connect failed: ECONNREFUSED (Connection refused)

I dont have any idea what to do now.
[Android Q&A, Help & Troubleshooting] Azharkanorwala:
See the Posts On 1st Page,If It Helps!!
[Android Q&A, Help & Troubleshooting] as9333:
Hi I downloaded the archlinux

And extracted to my external SD

And I launched the Linux , the terminal comes up, should I type any command on it ?

And what address should I type in the vnc viewer

I read the guide I didn't understand

Tryed 192.168.2:5900

127.0.0.1 192.168.1.:5900
[Android Q&A, Help & Troubleshooting] SlimShady08:
I think localhost will do
[Android Q&A, Help & Troubleshooting] as9333:
Should I type "local host" ?

What is the address that I should type in vnc ?
[Android Q&A, Help & Troubleshooting] enedil:
Just

localhost

As one word.
[Android Q&A, Help & Troubleshooting] SlimShady08:
^

Btw make sure your password is ubuntu, or the distro name u have (archlinux)

---------- Post added at 07:07 AM ---------- Previous post was at 07:05 AM ----------

Yeah use sh command targeting autobootscript.sh

---------- Post added at 07:11 AM ---------- Previous post was at 07:07 AM ----------

Yeah happened to me too.

When you are in Linux terminal get the vnc.sh file from complete linux installer data.

Use sh command on vnc.sh

(If u cant mount anything or cant found vnc.sh I can upload it somewhere and u can download it using "wget" command)

It will say sth about a log.

Do command "cat" on the log and follow instructions.

If log isnt made it is because Linux session is or isnt in root. Change that and try again.

Wish you luck!

---------- Post added at 07:15 AM ---------- Previous post was at 07:11 AM ----------

1. If core image isnt enough why dont u get Small image? :D

2. Change the kernel of Ubuntu or your tablet's? You kind of confused me here. Have you tried creating a swap partition instead and mounting swapping on it using an app?
[Android Q&A, Help & Troubleshooting] as9333:
Successfully archlinux booted

I downloaded the small package so only a file manager available how to Install apps in it terminal emulator is also not available tried alt+t,Ctrl+t
[Android Q&A, Help & Troubleshooting] SlimShady08:
In terminal emulator?

Pacman -S
[Android Q&A, Help & Troubleshooting] kahzul:
The terminal app doesn't start after I launch Ubuntu 13.10 image and nothing else happens but being brought back to the Linux installer main menu. I'm pretty sure I have done everything right. I have a Minix Neo X8-H plus .
[Android Q&A, Help & Troubleshooting] enedil:
If it doesn't work, I'm pretty sure you've done something wrong. Please, describe how you try to boot Linux.
[Android Q&A, Help & Troubleshooting] kahzul:
I downloaded Linux installer from Play store, and installed it. Opened the App and downloaded busy box and VNC. Then downloaded the Ubuntu 13.10 image from there too. I decompressed it and placed the .img file at sdcard/Ubuntu folder and renamed it to "Ubuntu.img" . Then I used one-click boot from the app main menu, selected Ubuntu from the profile list and pressed start. Then, the Profile page is switched to the orange penguin logo and nothing more happens. USB debugging is activated, the X8 is perfectly rooted, SuperSU is installed and all permissions were given correctly. What did I miss?

P.S. - I read something like there were some issues with latest terminal emulator not working with Linux installer, that were fixed. could those be back?

thnx
[Android Q&A, Help & Troubleshooting] F4rm0r:
Hello!

As you can see on the screenshot, I can not start any image because of this reason.

I point the program to the correct .Img file. I have installed the android terminal that it wants to install, yet, I get this error anyway.

And I really want a Linux environment on my phone so I can start to self learn some programming before I will start the class regarding programming :)

I really can not give you any more details than what I have already given you :/

Hopefully we can solve this one :)
[Android Q&A, Help & Troubleshooting] vincentstans:
Openbox Language

Hallo all,

I've been running Kali for some time now. I could not get my own language to work on every first start. When I ssh into the client and restart vncserver as user kalilinux I do get openbox in my language. After testing the enviorment variable LANG is not taken if the vncserver is started from the /root/init.sh file. To have the variable LANG taken add the option -m to the command.

find the line in /root/init.sh

su kalilinux -l -c "vncserver :0 -geometry $resolution

and replace with

su kalilinux -l -m -c "vncserver :0 -geometry $resolution"

I've also added a part to have symlinks of all my personal mounts inside my home folder.

If you would like that add the following just above the bash -i command

if [ -d /android ]; then
chown kalilinux:kalilinux /android
chmod 775 /android
ln -s /android/* /home/kalilinux
echo "Linking personal mount points to /home/kalilinux"
else
echo "No personal mount points defined"
fi

at the bottom of the script add :

find /home/kalilinux -maxdepth 1 -type l -xtype d exec echo removing link\:{} \;
find /home/kalilinux -maxdepth 1 -type l -xtype d exec rm {}\;

That's it. hope this might help someone
[Android Q&A, Help & Troubleshooting] dindender:
App crashing

App just crashes with error when i'm hiting "start" button. All paths are ok, all programs installed.

Using moto g2014 xt1063 cm12.1

Couldn't find the suported devices list, its just blank . Mby my phone just can't run it.
[Android Q&A, Help & Troubleshooting] Ciuffy:
What is the error shown?

Ciuffy's SM-G900F CM 12.1 spirit hath marked this way.
[Android Q&A, Help & Troubleshooting] dindender:
It just says Unfortunately, complete linux installer has stopped. Dunno how to get more info out of that, I got same errors on stock 5.0.2.
[Android Q&A, Help & Troubleshooting] Ciuffy:
What Distro are you trying to run? Have you tried a different one? Can you accesa the application folder trough a terminal?

Ciuffy's SM-G900F CM 12.1 spirit hath marked this way.
[Android Q&A, Help & Troubleshooting] dindender:
The error is the same for all distros (tried like 4 of em). I'm kinda bad at useing terminal, but i can try if you'll tell me how :D
[Android Q&A, Help & Troubleshooting] Ciuffy:
Type in the terminal

su (to give permissions)

cd /data/data/com.zpwebsites.linuxonandroid/files

./bootscript.sh

And tell me what happens. Not sure if I can solve this, but that I'll try to troubleshoot anyway.
[Android Q&A, Help & Troubleshooting] SlimShady08:
Hey pal

I had the same problem. What you gotta do, is manually run the boot script
[Android Q&A, Help & Troubleshooting] dindender:
It says no such file or directory. i've tried to cd to /data/data/com.zpwebsites.linuxonandroid/files and it changed succesfully.
[Android Q&A, Help & Troubleshooting] Ciuffy:
Yeah that was it, probably the format of how I wrote it in my post was linea strange. Did you try running ./bootscript.sh?
[Android Q&A, Help & Troubleshooting] dindender:
Wtf? can't execute : premission denied.

My root is ok (ADB and apps)
[Android Q&A, Help & Troubleshooting] Ciuffy:
There we go. Try

chmod 777 bootscript.sh

But I'm afraid this will be another error.
[Android Q&A, Help & Troubleshooting] dindender:
Nothing happens
[Android Q&A, Help & Troubleshooting] SlimShady08:
This command doesnt give an output
[Android Q&A, Help & Troubleshooting] Ciuffy:
Right. This just sets the permission to be ran. Now, try running ./bootscript.sh again. Probably the permission was not the problem itself anyway, but I'd like to see if the output tells us something crucial.
[Android Q&A, Help & Troubleshooting] dindender:
:C Result
[Android Q&A, Help & Troubleshooting] SlimShady08:
Did u type ./bootscript.sh or sh ./bootscript.sh?
[Android Q&A, Help & Troubleshooting] Ciuffy:
There you go, it seems like you don't have a loopback interface, the one used to allow internet connection in that chroot (long story short). You can use "Loop Device Checker" to extinguish any doubt.

You might want to switch to something else like Linux Deploy.

Ciuffy's SM-G900F CM 12.1 spirit hath marked this way.
[Android Q&A, Help & Troubleshooting] dindender:
1st one

---------- Post added at 12:19 PM ---------- Previous post was at 12:18 PM ----------

Loop device checker says my device supports loop device

---------- Post added at 12:46 PM ---------- Previous post was at 12:19 PM ----------

Now i seem to have same problem as this guy

http://xdaforums.com/showpost.php?p=25374963&postcount=235
[Android Q&A, Help & Troubleshooting] Ciuffy:
Which guy? Its one is saying "FOUND" but then "no such file or directory", while your says plain right away "MISSING".

But I remember I once solved this problem by creating one myself trough commands, let me see if I can find the solution I followed on the internet.

Ciuffy's SM-G900F CM 12.1 spirit hath marked this way.
[Android Q&A, Help & Troubleshooting] dindender:
It created one last time. That's what it looks like now
[Android Q&A, Help & Troubleshooting] Ciuffy:
I think I found it, try the first post here:

http://sourceforge.net/p/linuxonandroid/wiki/General FAQ/

It's linuxonandroid SourceForge wiki.

Another interesting post

http://xdaforums.com/showthread.php?t=1390351&page=61

If this doesn't work, try to edit bootscript.sh and edit file system from ext2 to ext3 in the line where it mounts /dev/block/loop255 (similar to first solution).
[Android Q&A, Help & Troubleshooting] dindender:
So how do i find and edit the script?
[Android Q&A, Help & Troubleshooting] Ciuffy:
nano bootscript.sh

find the line "mount -t ext2 /dev/block/loop255 $mnt

And change ext2 to ext3

To save CTRL+X (See your CTRL config in your terminal emulator, mine is Volume Down), y, Enter.

Didn't the first work?
[Android Q&A, Help & Troubleshooting] dindender:
I'm just wondering :). I'm redownloading my distro now.
[Android Q&A, Help & Troubleshooting] Ciuffy:
Meanwhile, i think it is not a distro problem, however finish redownloading. If you load the distro downloaded from Complete Linux Installer into Linux Deploy it will work, but it won't have internet connection.
[Android Q&A, Help & Troubleshooting] dindender:
I'm sure i'm doing it wrong
[Android Q&A, Help & Troubleshooting] Ciuffy:
At the moment I don't have a solution for that. Try editing bootscript.sh (last solution I provided) as I said.

Also, can you run

cat /proc/filesystems

And show the results?

Ciuffy's SM-G900F CM 12.1 spirit hath marked this way.
[Android Q&A, Help & Troubleshooting] dindender:
I've just finished scaning the script for the line and found out that it's mounted in ext4, not ext2. Should i still change it to ext3?

---------- Post added at 01:59 PM ---------- Previous post was at 01:47 PM ----------

Same error after changing it to ext3
[Android Q&A, Help & Troubleshooting] Ciuffy:
What errors? I'm slowly running out of ideas.

Ciuffy's SM-G900F CM 12.1 spirit hath marked this way.
[Android Q&A, Help & Troubleshooting] dindender:
Here's the result after changing ext4 to ext3. I'll try ext2 now

---------- Post added at 02:13 PM ---------- Previous post was at 02:11 PM ----------

Same with ext2...

---------- Post added at 02:46 PM ---------- Previous post was at 02:13 PM ----------

Btw here are the filesystems
[Android Q&A, Help & Troubleshooting] Ciuffy:
Actually, it should support ext 2,3 and 4, so I'm currently out of ideas. As a temporary solution, I'd suggest using Linux Deploy.

Ciuffy's SM-G900F CM 12.1 spirit hath marked this way.
[Android Q&A, Help & Troubleshooting] dindender:
Okay, i'll try linux deploy. Thanks a lot for help!
[Android Q&A, Help & Troubleshooting] Ciuffy:
As a very last otpion, you could try installing an updated version of the bootscript.sh

http://www.robherc.com/hosted/linuxonandroid/FAQ.html

No problem, a little bit disappointed because I couldn't find a solution to it, I remember I once solved this and moved on with it, if I figure out how did I do that I'll let you know.

Oh and btw the error "MISSING" is not an error, it is just checking if the device has a loopback working and if not creates one, that's why the second time you get a "FOUND". May I know what device are you trying it on? I do get the same error right now.

Ciuffy's SM-G900F CM 12.1 spirit hath marked this way.
[Android Q&A, Help & Troubleshooting] dindender:
I'm using moto g 2014 (xt1063)
[Android Q&A, Help & Troubleshooting] Ciuffy:
Sorry, didn't see that.

I have a Galaxy S5, so this problem is not device related probably. Remounting system or loopback interface trough adb not read-only... I'm just randomly wandering trough ideas, don't expect it to work. Anyway, Linux Deploy works like a charm for me.
[Android Q&A, Help & Troubleshooting] dindender:
I have it running perfectly too. Hope this app will be fixed soon.
[Android Q&A, Help & Troubleshooting] Ciuffy:
Me too.

Even though Linux Deploy has more features probably, this app is thought based on automization, which I'm always looking for in these cases.

Ciuffy's SM-G900F CM 12.1 spirit hath marked this way.
[Android Q&A, Help & Troubleshooting] ZETACANNON:
when i boot linux

terminal open

and there aren't anything! (except u0?a39@android:/ $)
[Android Q&A, Help & Troubleshooting] thecoolster:
No

Okay unable to run vnc for Linux

Only A grey screen appears !

Code on terminal:

u0_a79@tate:/ $

u0_a79@tate:/ $ cd /sdcard/debian

u0_a79@tate:/sdcard/debian $ su

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

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

root@tate:/storage/emulated/legacy/debian # sh /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh /sdcard/debian/debian.img

Checking loop device... FOUND

mount: mounting /storage on /data/local/mnt/external_sd failed: Invalid argument

No user defined mount points

net.ipv4.ip_forward = 1

Using config file /root/cfg/debian.img.config

Config file loaded

New 'X' desktop is localhost:0

Starting applications specified in /home/debian/.vnc/xstartup

Log file is /home/debian/.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)

Starting OpenBSD Secure Shell server: sshd.

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

localhost:/#

What's the problem!!??

I need to see the GUI!!
[Android Q&A, Help & Troubleshooting] danipisca07:
Hi guys, I'm having the same problem of dindender, nobody solved it yet? I've tried changing the image path to find mine but it still doesn't work...

I have an HTC One M8 with an ElementalX kernel installed(I checked and it does support Loop devices)

For some reason the command line "$bbox losetup /dev/block/loop255 $imgfile" gives an error but I can't understand why...

Any help would be very appreciated, Thanks in advance

And sorry for my bad english.