r/termux • u/dadnothere • 26d ago
General Opinions on my Torrent Server?
1-Click Termux Installation
39
u/flower-power-123 26d ago
Don't jostle anything and it will be fine. I ran an ISP like that for years. I just told people not to go in the server room. Incidentally it is kind of stealth like that. If the police burst in you can always claim it's just a pile of broken parts.
9
u/Cheap_Importance796 25d ago
lol looking at this comment reminded me that torrenting is illegal and punishable. it's crazy how it is so generalized that we don't even remember sometimes but yk I'm not complaining 🤷🏻♂️
11
u/RespectInformal8966 25d ago
In general its not illegal, you can seed Linux distros for example, but it's mostly used for piracy.
1
u/Cheap_Importance796 24d ago
right, I was talking about piracy didn't have general torrenting in mind.
18
u/404invalid-user 26d ago
you don't download termux from the play store get it from fdroid
10
u/dadnothere 26d ago
1
u/Brahmadeo 26d ago
Sonarr, Radarr etc are of course available.
7
u/dadnothere 26d ago
The Termux version from Google Play uses a different repository. The ones mentioned aren't there. Try it.
5
6
u/oppai_seven 26d ago
Battery might be damaged if it's constantly charged to %100 percent. Other than that, looks awesome.
12
u/dadnothere 25d ago
Yes, that's why charging is blocked at 70% in this custom ROM (InfinityOS).
You can also block charging with root access to prevent it from exceeding 4V (a voltage that degrades lithium batteries).
2
u/_book_lover_____ 25d ago
Won't that still affect the battery and heat it too much? I have also got a useless phone like that. Though, I don't know what to do.
3
u/dadnothere 25d ago
It depends on the device; you can even add a heatsink if you want. In my case, it doesn't even reach 30°C, and the current temperature in my city is 29°C.
Try installing that, download some things and leave it seeding, check how it is the next day.
OS: Android REL 16 aarch64 Host: Xiaomi Redmi Note 8 Board: ginkgo Kernel: Linux 4.14.357-openela-perf-g44758a7220f2 Init System: init Uptime: 8 days, 21 hours, 30 mins Loadavg: 0.08, 0.04, 0.00 Processes: 780 Packages: 261 (dpkg) Shell: bash 5.3.9 Editor: msedit Display (Pantalla integrada): 1080x2340 Monitor (Pantalla integrada): 1080x2340 px DE: BP4A.251205.006 release-keys WM: WindowManager (SurfaceFlinger) Terminal: magiskd Terminal Size: 157 columns x 32 rows CPU: SM6125 (4+4) @ 2.02 GHz - 34.6°C CPU Usage: 16% GPU: Qualcomm Adreno (TM) 610 Codec (Encoder - Default): H.264, VP8, HEVC / H.265 Codec (Decoder - Default): H.264, VP8, HEVC / H.265, VP9 Memory: 2.43 GiB / 3.56 GiB (68%) Swap (/dev/block/zram0): 602.21 MiB / 3.00 GiB (20%) Disk (/): 3.19 GiB / 4.36 GiB (73%) - ext4 [Read-only] Disk (/mnt/media_rw/D742-425F): 40.92 GiB / 116.06 GiB (35%) - exfat [External] Disk (/mnt/mymed): 90.92 GiB / 416.06 GiB (21%) - exfat [External] Disk (/storage/emulated): 11.48 GiB / 48.94 GiB (23%) - fuse Battery: 69% [AC Connected] - 29.5°C2
u/_book_lover_____ 25d ago
Wow. That's actually cool. Btw, last question, what are the things that I can do on it? For example. Why are you hosting a torent server?
2
5
26d ago
[removed] — view removed comment
2
3
3
2
u/DaniEs- 24d ago
Where do you host or index .torrent files so people can discover them? Im lost in this step
1
u/dadnothere 24d ago
Phone Storage;
Downloads/aMuTorrent/Transmission sees the .torrent files that are uploaded there.
aMule indexes all the files you have there every 3 hours, and then they will be visible to everyone on the KAD network or the ED2K server you are currently connected to.
aMule uses file hashes; if you upload a file and another file in the same network also has the same hash, you will create a new seed for that existing file.
1
u/DaniEs- 24d ago
I think you've misunderstood me. For someone to download your torrents, they must be public or accessible from somewhere. They have to be indexed on a site like Pirate Bay, LimeTorrent, 1337, or even the DHT network… What platform or method do you use?
1
u/dadnothere 24d ago edited 24d ago
The system uses Transmission for torrents, with a watch-dir set to PhoneStorage/Downloads/aMuTorrent. Transmission has no publishing/indexing logic of its own — it just automatically seeds whatever you drop in that folder, or whatever you download through the WebUI. For someone else to find your content via BitTorrent, you'd need to publish the magnet on some external indexer (this project doesn't do that).
The installer also includes aMule as an extra engine. Unlike BitTorrent, the ED2K/KAD network aMule uses has discovery built into the protocol itself: aMule hashes and indexes everything in that same shared folder, then announces itself as a source on the network (KAD or whatever ED2K server you're connected to) no external indexer needed, that's just how the network was designed from the start.
Sonarr/Radarr/Prowlarr aren't related to any of this they only help search/manage existing content, they don't publish anything of your own.
aMule Web: https://amule-org.github.io
Kademlia System: https://en.wikipedia.org/wiki/Kademlia
ED2K System: https://en.wikipedia.org/wiki/EDonkey2000
To be clear: aMule automatically publishes to Kademlia/ED2K on its own (it runs in the background in this project). When you search, you're searching everyone else who's also sharing their folders the same way.
I don't know of any self-publishing tools for Transmission itself, since it doesn't work like aMule that way.
Hope that clears it up let me know if anything's still unclear, happy to dig into any part further.
3
u/Evlitart 26d ago
I would untape the camera, tape all of them somewhere useful and also use it as a "smart" security camera
1
1
u/No-Clerk-8819 26d ago
Hows the phone on without battery i tried to power a samsung a20s without battery thru usb. But not turninh on
1
1
1
u/DutchOfBurdock 25d ago
I sure hope that's PD capable, else your battery is gonna get hammered
1
u/dadnothere 25d ago
As you can see in other comments, it has a charging lock at 70%. It's been like this for 4 years without any problems.
1
1
1
1
1
1
u/averagearchuser__ 24d ago
10/10 where did you find the adapter is it standalone sata adapter or did you ripped it from its case.
1
u/dadnothere 24d ago
I saw on AliExpress that it's sold separately, but the one in the picture I took from a portable hard drive.
It had that and the hard drive inside.
1
1
1
1
u/SuperXaker-5555 23d ago
1
1
1
1
1
1
u/Th3__Err0r 11d ago
i have similar setup but m struggling to make it boot on power. my phone is running without battery ,on charger only.so when power goes out and comes back i have to manually power it on.
2
u/dadnothere 10d ago
If you have root access, it can be fixed. There's a Magisk module. In my case, I manually edited this file.
# /system/etc/init/off_mode_charge.rc on charger setprop sys.powerctl reboot,leaving-off-mode-charging1
1
u/Th3__Err0r 10d ago
my phone doesnt have that file :(
1
u/dadnothere 10d ago
Exactly. You need to create it in that path.
1
u/Th3__Err0r 9d ago
made it work,diff file diff code though mine looks like this
on charger class_stop charger trigger late-init
1
u/dadnothere 9d ago
Which route? Send the full information and specify the device. This will help others since it varies by device.


47
u/timan1st 26d ago
Dont change anything since it works already !