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
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.
Didn't tried on Android 10 as I really don't use such kind of things.
Kuran Kaname
@celtare21
@xeffyr Thanks for responding! Yes I tried following the instructions. Made the termux.properties, requested the permission and everything, but when my app is running I'm getting "NullPointerException: Attept to invoke virtual method 'android.content.pm.PackageManager' on a null object. I'm on android 11 with the latest termux from play store. I can show my code and the full trace if wanted.
Haha ok sorry I'm a bit stupid. Permissions request wasn't in the right place. My bad, it works fine, thanks for the refference!
Leonid Pliushch
@xeffyr

NullPointerException: Attept to invoke virtual method 'android.content.pm.PackageManager' on a null object

This says nothing about the problem. In fact, https://github.com/termux/termux-app/blob/master/app/src/main/java/com/termux/app/RunCommandService.java doesn't use android.content.pm.PackageManager at all.

Post here a full stack trace.
Maybe you are running into issue fixable by this PR termux/termux-app#1764, but anyway there no PackageManager involved.

Permissions request wasn't in the right place. My bad, it works fine, thanks for the refference!

ok

Remi Girard
@ind3p3nd3nt
https://github.com/termux/proot Any compilation information reguarding different archs than armhf ?
GrimlerBot
@GrimlerBot
<Archenoth> Unrelated but... Extremely good name, @CtrlAltCuteness
Leonid Pliushch
@xeffyr
Just released v0.100 of Termux app with few fixes and updated bootstrap archives.
@fornwall
Also reminding that we have nearly one month left before we will have to bump SDK to 29 in order to continue submit updates to Google Play.
Leonid Pliushch
@xeffyr

Just released v0.100 of Termux app

v0.100 has bootstrap issues at least on ARM, will fix shortly.

Leonid Pliushch
@xeffyr

will fix shortly.

Ready now.

Leonid Pliushch
@xeffyr
Termux:API v0.44 is ready for release too.
Fredrik Fornwall
@fornwall
@xeffyr nice, both v0.101 of the main app and v0.44 of Termux:API has been released to google play
(google has started having slower review times, but should be rolling out in a few hours)
Katie Heart
@CtrlAltCuteness
Seems like F-Droid is still okay … main app - 2 weeks ago (0.99), Termux: API - 4 months ago (0.43)
RalfWerner
@RalfWerner

Fixing may require MANAGE_EXTERNAL_STORAGE permission - not tested currently.

Note on storage @xeffyr The description corresponds only partially to my experience. The reference to Android 11 can refer to the OS of the device/emulator or targetSdk=30 from termux, includes Android 10 or a combination thereof. With targetSdk=28 I didn't have a problem with writing and deleting on any OS and no real difference between internal memory and sdcard was found.
That changes fundamentally with targetSdk=29! Apart from the now meaningless setup-storage dialog, termux can only manage ~/../../* data. With the appropriate files app I can exchange/duplicate data with termux on my devices, termux is then mostly too big with 3-5Gb and very randomly what happens on the extern/internal-storage */$a with t=com.termux; a=Android/data/$t/files.
This restriction is more severe than the Exec restriction, which can be bypassed with proot-exec. Has there been any progress with MANAGE_EXTERNAL_STORAGE?

Leonid Pliushch
@xeffyr

Has there been any progress with MANAGE_EXTERNAL_STORAGE?

Yes, it doesn't work.

Rabby Sheikh
@xploitednoob
Host Build Giving Error.
/home/builder/termux-packages/.termux-builder/_cache/android-r21d-api-24-v3/bin/../lib/gcc/x86_64-linux-android/4.9.x/../../../../x86_64-linux-android/bin/ld: error: cannot find -lpthread
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Makefile:32: microsocks] Error 1
on device build is okkk
Leonid Pliushch
@xeffyr
You need to patch package to remove -lphtread from the makefile.
Rabby Sheikh
@xploitednoob
yeah bro. just did it. i need to know how to generate patch file. my generated patch file gives this error
File to patch: 
Skip this patch? [y] 
2 out of 2 hunks ignored
Rabby Sheikh
@xploitednoob
@xeffyr Can't Find Two dependency
configure:13608: checking if gcc static flag -static works
configure:13636: result: no
configure:13651: checking if gcc supports -c -o file.o
--
configure:18986: checking if g++ static flag -static works
configure:19014: result: no
configure:19026: checking if g++ supports -c -o file.o
--
configure:26003: g++ -o conftest -g -O2   -I/data/data/com.termux/files/usr/include    -static conftest.cpp -lattr -lgcrypt -lgpg-error -llzma -lbz2 -lz -ldl -lcap   -L/data/data/com.termux/files/usr/lib -lcurl   >&5
/data/data/com.termux/files/usr/bin/aarch64-linux-android-ld: cannot find -lbz2
/data/data/com.termux/files/usr/bin/aarch64-linux-android-ld: cannot find -ldl
Leonid Pliushch
@xeffyr
Remove -static.
Alexander Abraham
@RealAAbraham
@RealAAbraham
Hi guys! I need some info about a couple libs:
  • g++-multilib
  • g++-arm-linux-gnueabihf
  • g++-aarch64-linux-gnu
    Do we have these or do we need to build them?
Want to compile the Dart SDK from scratch but these are needed according to Google.
Leonid Pliushch
@xeffyr
Termux provides only clang.
And clang is enough to build Dart.
Alexander Abraham
@RealAAbraham
g++-multilib depends on cpp g++ g++6-multilib and gcc-multilib
But I need those libs, how d'you suggest I go about it?
Leonid Pliushch
@xeffyr
You don't need them
Alexander Abraham
@RealAAbraham
At least that is what Google says.
So should I give it a shot?
Ignoring those libs?
Leonid Pliushch
@xeffyr
Well, did you checked about which OS Google says?
Termux is neither Debian or Ubuntu
Alexander Abraham
@RealAAbraham
Linux, Mac and Windows
Leonid Pliushch
@xeffyr
And Dart perfectly builds with Clang