Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Sep 24 17:29
    @xeffyr banned @zhonjarlby
  • Aug 31 07:55
    @xeffyr banned @HackGod-RS
  • Aug 26 10:48
    @xeffyr banned @Tisaba
  • Jun 21 13:11
    @xeffyr banned @irem347
  • Jun 14 09:25
    @xeffyr banned @Rishabhjn7102
  • Jun 14 09:25
    User @xeffyr unbanned @Anarkista
  • Jun 02 10:29
    @xeffyr banned @Anarkista
  • Dec 22 2019 14:04
    User @xeffyr unbanned @httpRooLz
  • Dec 22 2019 14:04
    User @xeffyr unbanned @sdrausty
  • Sep 14 2019 10:52
    @xeffyr banned @httpRooLz
  • Jan 20 2019 16:28
    @xeffyr banned @sdrausty
ihsakashi
@ihsakashi
Yea that sounded super unlikely
So i've got termux bootstrap on android itself, everything works it installs from ramdisk.
Only problem is apt runs with the no root patch. so now i've added an override option to generate-bootstraps.sh and plan to add apt myself
last thing, if i remove the patch from termux-packages is that all i have to do?
i still dont understand how patching works in termux..
Leonid Pliushch
@xeffyr

Only problem is apt runs with the no root patch. so now i've added an override option to generate-bootstraps.sh and plan to add apt myself

Bootstraps and no-root apt patch have no relation. One can be changed without other and vice-versa. Apt is already part of bootstrap installation.

last thing, if i remove the patch from termux-packages is that all i have to do?

  1. Remove patch.
  2. Compile package and copy to device.
  3. Install package with dpkg -i.
ihsakashi
@ihsakashi
ah so all i have to do is remove the patch!
that seemed too easy..
ihsakashi
@ihsakashi
yea the bootstrap part i wanted to replace the apt included so after i compile im making it include my apt
RalfWerner
@RalfWerner

@xeffyr I have unresolved questions and hope you can help me. The win bug persists and files.so must also be converted with dos2unix to get correct nl/-symlinks with bash. Termux (u/) only contains symlinks.so after boot/reset. With /system/bin the bug can be fixed and symlinks checked:

PATH=/system/bin;l=/data/data/com.termux/lib; ln -s ../usr u;ln -s $l nl; cp nl/files.so f; dos2unix f
find u/ -type l>1;for i in $(cat $l/symlinks.so|sed s%←.%@%);do echo u${i#*@}>>2;done;diff 1 2
while read -r i;do f=u/${i#*\?}; d=`dirname $f`; [ ! -d $d ]&& mkdir -p $d; ln -s $l/${i%\?*} $f;done<f

In the meantime I have a real device with Q/10 (Galaxy Tab S6 Lite) and check a99/b99 which corresponds to termux-99 with targetSdk: 28/29 with two arch: i686/aarch64 = pixel/samsung. I have no problem with a99 but unfortunately some assumptions from the emulator checks are wrong with b99 and the (google) file app has no access to termux data at Samsung. So after setup-storage and with 29 none of the symlinks can be read. The bug has been fixed for 28 and 30.
Question: How do I get the nl/ symlink? The nativeLibraryDir is at Pixel ../../lib or /data/data/com.termux/lib. With Samsung this is missing and pm path is no longer possible - Why?

Leonid Pliushch
@xeffyr
@RalfWerner Windows support question is to @fornwall. I do not work on Windows and have no desire/opportunity to mess with it and its CRLF/LF issues - Wontfix from my side.

pm path is no longer possible - Why?

Higher Android versions + more security = more restrictions + more commands no longer working.

Termux has nothing to do with pm.
In general, pm as well as many other stuff from /system/bin should work only in ADB.
These utilities are for debugging & development purposes only and shouldn't be accessible by normal (say "untrusted") applications.
RalfWerner
@RalfWerner
@xeffyr The win-bug is fixed with the workaround above (on pixel). But not my question about the Samsung nl/ symlink and also not why the devices behave differently with the same build (line 46)? In a99 the symlink would not be necessary, but it is still generated in pixel. What would an Os.symlink (path, path) look like that did that?
ihsakashi
@ihsakashi
The no sandbox user '_apt' on the system i can ignore right
Gerardo Junior
@gerardo-junior
image.png
I have a problem with cloudamqp and mosquitto_pub and tls port
anyone else had this same problem?
Leonid Pliushch
@xeffyr
Your .PEM file must contain exactly one certificate, otherwise it won't be added.
If file contains multiple certificated, you need to split it.
Gerardo Junior
@gerardo-junior
I split with the echo | openssl s_client -servername jackal.rmq.cloudamqp.com -connect jackal.rmq.cloudamqp.com:8883 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > jackal.rmq.cloudamqp.com.pem command and added it without any problems but I continued to give a problem with tls failure
OpenSSL Error[0]: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed
Error: A TLS error occurred.
on my linux/macox/windows works
Remi Girard
@ind3p3nd3nt
Hello
Can anyone tell me what version of proot termux uses?
--link2symlink version
I am trying https://git.io/JUWt0 to build this script but I have an error with my current proot version
if anyone can give me a hint about this particular issue would be of any help
Remi Girard
@ind3p3nd3nt
anyone?
Henrik Grimler
@Grimler91
@independentcod we are using this proot fork: https://github.com/termux/proot
Robert Vanden Eynde
@robertvandeneynde
hello everyone, is the weekly talk "toujours d'actualité" ? I've been wanting to be more active in termux life :)
Henrik Grimler
@Grimler91
@robertvandeneynde hi, no, we are not doing those scheduled sessions any more. Everyone are dropping by the channel every now and then though so it is still possible to have fruitful discussions here!
Fredrik Fornwall
@fornwall
@xeffyr thanks, 0.99 of termux-app has been submitted for release to google play now!
Henrik Grimler
@Grimler91
@fornwall the irc-gitter bot seem to be down
ihsakashi
@ihsakashi
so i've got cap n proto working and compiling fine on my termux device
i decided to add it to termux-packages
it isnt passing a test now for some reason
the cannot execute binary part is that bcz docker cant test other arch binary? so i have to patch it
ihsakashi
@ihsakashi
also
where would i pass cflags
Robert Vanden Eynde
@robertvandeneynde
wiki: stupid question... how to "sign in" in order to propose edit to a page ? :thinking
Leonid Pliushch
@xeffyr
Register, then sign in. Just like on any site with registration (e.g. Github). Send message to @Neo-Oli for adding in trusted group, so you will be able to create new pages.
ihsakashi
@ihsakashi
ive pushed libczmq, no problems :D
Kuran Kaname
@celtare21
Hey guys! Sorry for bothering with possibly a stupid question. I've looked at the FAQ for "How to run Termux commands from other application?" and I've seen the feature is not yet implemented but I've seen in so Issues or PRs code for running commands with Termux? I'm trying to call an Intent for Termux in Xamarin and it's not quite really working. Thank you for any information!
Leonid Pliushch
@xeffyr
@celtare21 Look in the source code. There is a complete instruction on how to do that. There a few more things needed, not only intent.
Worked perfectly on Android 9.