View previous topic :: View next topic |
Author |
Message |
Adel Ahmed Veteran
Joined: 21 Sep 2012 Posts: 1523
|
Posted: Sat Jan 15, 2022 9:49 am Post subject: running a gentoo prefix on galaxy note3[solved] |
|
|
I am following the adnroid instsructions to isntall a gentoo prefix on my samsung galaxy note3:
https://wiki.gentoo.org/wiki/Project:Android/tarball
I have downloaded and extracted the tarball, then i try to run the start prefix script but I get:
Code: | 127|root@ha3g:/data/gentoo # ./startprefix
ERROR: ld.so: object 'libsigchain.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
./startprefix: line 23: /data/gentoo/bin/grep: Permission denied
./startprefix: line 37: /data/gentoo/bin/dirname: Permission denied
./startprefix: line 38: /data/gentoo/bin/mkdir: Permission denied
|
I have followed the exact same steps on a sony xperia M and it worked like a charm, any idea what this might be? I'm running a rooted stock android on this phone(vs a dotos android on the xperia m, maybe it's selinux?)
Last edited by Adel Ahmed on Wed Jan 19, 2022 1:38 pm; edited 1 time in total |
|
Back to top |
|
|
Adel Ahmed Veteran
Joined: 21 Sep 2012 Posts: 1523
|
Posted: Tue Jan 18, 2022 5:52 am Post subject: |
|
|
it seems the problem lies within the bash executable, I can run the executables in the prefix normally under the android shell, once I run the bash executable in the prefix no more executables are running(I get premission denied):
Code: | 126|root@ha3g:/data/gentoo # bin/ls
ERROR: ld.so: object 'libsigchain.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
bin etc lib root run sbin startprefix tmp usr var
root@ha3g:/data/gentoo # bin/bash
ERROR: ld.so: object 'libsigchain.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
localhost /data/hdd/32-root # bin/ls
bash: bin/ls: Permission denied
localhost /data/hdd/32-root # |
I suspect selinux or some other security suite is preventing me from running executables within bash |
|
Back to top |
|
|
Adel Ahmed Veteran
Joined: 21 Sep 2012 Posts: 1523
|
Posted: Wed Jan 19, 2022 1:38 pm Post subject: |
|
|
I think it might have been selinux, I have installed a custom rom where SELINUX is set to permissive and nwo I can run the prefix. |
|
Back to top |
|
|
|