arbitraryrw/supersu-patcher

followed instructions and then it stopped during patching

Closed this issue · 4 comments

~ $ git clone https://github.com/arbitraryrw/supersu-patcher
Cloning into 'supersu-patcher'...
remote: Enumerating objects: 152, done.
remote: Counting objects: 100% (152/152), done.
remote: Compressing objects: 100% (121/121), done
remote: Total 152 (delta 58), reused 115 (delta 27), pack-reused 0
Receiving objects: 100% (152/152), 35.35 KiB | 235.00 KiB/s, done.
Resolving deltas: 100% (58/58), done.
~ $ cd supersu-patche
bash: cd: supersu-patche: No such file or directory
~ $ cd supersu-patcher
~/supersu-patcher $ ls
LICENSE README.md requirements.txt run.py src
~/supersu-patcher $ cd ..
~ $ python3 run.py -i ~/supersu-patcher/
python3: can't open file '/data/data/com.termux/files/home/run.py': [Errno 2] No such file or directory
~ $ cd supersu-patcher/
~/supersu-patcher $ ls
LICENSE README.md requirements.txt run.py src
~/supersu-patcher $ cd sc
bash: cd: sc: No such file or directory
~/supersu-patcher $ cd src
~/supersu-patcher/src $ ls
core utils
~/supersu-patcher/src $ d ..
No command d found, did you mean:
Command dc in package bc
Command ld in package binutils
Command [ in package coreutils
Command d8 in package d8
Command dx in package dx
Command ed in package ed
Command fd in package fd
Command dl in package gatling
Command k in package kona
Command o in package o
Command o in package o-editor
Command df in package termux-tools
Command v in package vlang
Command X in package xorg-server
~/supersu-patcher/src $ cd ..
~/supersu-patcher $ git clone https://github.com/radareorg/radare2
Cloning into 'radare2'...
remote: Enumerating objects: 234689, done.
remote: Counting objects: 100% (175/175), done.
remote: Compressing objects: 100% (138/138), done
Receiving objects: 0% (2234/234689), 436.00 KiB Receiving objects: 1% (2347/234689), 932.00 KiB Receiving objects: 2% (4694/234689), 1.47 MiB | Receiving objects: 2% (5039/234689), 1.47 MiB | Receiving objects: 3% (7041/234689), 2.06 MiB | Receiving objects: 3% (7988/234689), 2.06 MiB | Receiving objects: 4% (9388/234689), 2.57 MiB | Receiving objects: 5% (11735/234689), 3.00 MiB |Receiving objects: 5% (11986/234689), 3.00 MiB |Receiving objects: 5% (13381/234689), 3.57 MiB |Receiving objects: 6% (14082/234689), 3.57 MiB |Receiving objects: 7% (16429/234689), 3.57 MiB |Receiving objects: 7% (17257/234689), 4.21 MiB |Receiving objects: 8% (18776/234689), 4.40 MiB |Receiving objects: 8% (19396/234689), 4.59 MiB |Receiving objects: 9% (21123/234689), 4.90 MiB |Receiving objects: 10% (23469/234689), 5.35 MiB |Receiving objects: 10% (24241/234689), 5.35 MiB |Receiving objects: 11% (25816/234689), 5.71 MiB |Receiving objects: 11% (26636/234689), 6.03 MiB |Receiving objects: 11% (27051/234689), 6.59 MiB |Receiving objects: 11% (27795/234689), 7.72 MiB |Receiving objects: 12% (28163/234689), 8.19 MiB |Receiving objects: 12% (28257/234689), 8.81 MiB |Receiving objects: 12% (29029/234689), 9.95 MiB |Receiving objects: 12% (30083/234689), 11.14 MiB Receiving objects: 12% (30424/234689), 12.04 MiB Receiving objects: 13% (30510/234689), 12.04 MiB Receiving objects: 13% (31942/234689), 13.44 MiB Receiving objects: 14% (32857/234689), 14.18 MiB Receiving objects: 14% (33433/234689), 14.94 MiB Receiving objects: 14% (33749/234689), 15.61 MiB Receiving objects: 14% (34116/234689), 15.61 MiB Receiving objects: 14% (34714/234689), 17.26 MiB Receiving objects: 14% (34714/234689), 17.61 MiB Receiving objects: 15% (35204/234689), 17.61 MiB Receiving objects: 16% (37551/234689), 18.89 MiB Receiving objects: 16% (38087/234689), 18.89 MiB Receiving objects: 17% (39898/234689), 19.65 MiB Receiving objects: 17% (40567/234689), 20.57 MiB Receiving objects: 17% (41463/234689), 21.24 MiB Receiving objects: 17% (42153/234689), 22.11 MiB Receiving objects: 18% (42245/234689), 22.11 MiB Receiving objects: 18% (43415/234689), 23.04 MiB Receiving objects: 18% (44238/234689), 23.82 MiB Receiving objects: 19% (44591/234689), 23.93 MiB Receiving objects: 19% (45484/234689), 23.93 MiB Receiving objects: 19% (46410/234689), 25.29 MiB Receiving objects: 20% (46938/234689), 25.98 MiB Receiving objects: 20% (47782/234689), 26.61 MiB Receiving objects: 20% (49167/234689), 27.52 MiB Receiving objects: 20% (49212/234689), 27.87 MiB Receiving objects: 21% (49285/234689), 27.87 MiB Receiving objects: 21% (50295/234689), 28.84 MiB Receiving objects: 21% (50684/234689), 29.51 MiB Receiving objects: 22% (51632/234689), 29.93 MiB Receiving objects: 22% (52141/234689), 30.78 MiB Receiving objects: 23% (53979/234689), 32.72 MiB Receiving objects: 23% (54181/234689), 32.72 MiB Receiving objects: 24% (56326/234689), 33.75 MiB Receiving objects: 24% (57935/234689), 34.61 MiB Receiving objects: 25% (58673/234689), 35.51 MiB Receiving objects: 25% (59750/234689), 36.37 MiB Receiving objects: 26% (61020/234689), 38.06 MiB Receiving objects: 26% (61255/234689), 38.06 MiB Receiving objects: 26% (62737/234689), 39.80 MiB Receiving objects: 27% (63367/234689), 40.54 MiB Receiving objects: 27% (63835/234689), 41.36 MiB Receiving objects: 27% (65524/234689), 43.42 MiB Receiving objects: 28% (65713/234689), 43.73 MiB Receiving objects: 28% (66238/234689), 44.19 MiB Receiving objects: 29% (68060/234689), 44.82 MiB Receiving objects: 29% (68354/234689), 45.93 MiB Receiving objects: 29% (68861/234689), 46.35 MiB Receiving objects: 29% (69001/234689), 46.35 MiB Receiving objects: 30% (70407/234689), 46.86 MiB Receiving objects: 30% (70641/234689), 47.70 MiB Receiving objects: 30% (71088/234689), 48.15 MiB Receiving objects: 30% (72084/234689), 48.96 MiB Receiving objects: 31% (72754/234689), 49.56 MiB Receiving objects: 31% (73484/234689), 50.29 MiB Receiving objects: 31% (74749/234689), 51.28 MiB Receiving objects: 32% (75101/234689), 51.28 MiB Receiving objects: 33% (77448/234689), 51.85 MiB Receiving objects: 33% (78158/234689), 52.43 MiB Receiving objects: 33% (79391/234689), 52.92 MiB Receiving objects: 34% (79795/234689), 53.47 MiB Receiving objects: 34% (80777/234689), 53.77 MiB Receiving objects: 34% (80781/234689), 54.57 MiB Receiving objects: 34% (82029/234689), 54.92 MiB Receiving objects: 35% (82142/234689), 55.31 MiB Receiving objects: 35% (82879/234689), 55.65 MiB Receiving objects: 35% (83096/234689), 55.93 MiB Receiving objects: 35% (83774/234689), 56.64 MiB Receiving objects: 35% (84192/234689), 57.33 MiB Receiving objects: 36% (84489/234689), 57.58 MiB Receiving objects: 36% (84745/234689), 57.82 MiB Receiving objects: 36% (86359/234689), 58.01 MiB Receiving objects: 37% (86835/234689), 58.82 MiB Receiving objects: 37% (88679/234689), 59.41 MiB Receiving objects: 38% (89182/234689), 60.05 MiB Receiving objects: 38% (89933/234689), 60.74 MiB Receiving objects: 39% (91529/234689), 62.12 MiB Receiving objects: 39% (91634/234689), 62.12 MiB Receiving objects: 39% (93249/234689), 63.42 MiB Receiving objects: 40% (93876/234689), 64.15 MiB Receiving objects: 40% (95137/234689), 64.71 MiB Receiving objects: 41% (96223/234689), 65.38 MiB Receiving objects: 41% (96992/234689), 66.11 MiB Receiving objects: 42% (98570/234689), 67.05 MiB Receiving objects: 42% (98761/234689), 67.05 MiB Receiving objects: 42% (99482/234689), 67.93 MiB Receiving objects: 42% (99894/234689), 68.31 MiB Receiving objects: 42% (100230/234689), 68.58 MiBReceiving objects: 43% (100917/234689), 68.95 MiBReceiving objects: 43% (101001/234689), 69.09 MiBReceiving objects: 43% (101485/234689), 69.47 MiBReceiving objects: 43% (101952/234689), 69.79 MiBReceiving objects: 43% (102488/234689), 70.27 MiBReceiving objects: 44% (103264/234689), 70.71 MiBReceiving objects: 44% (103776/234689), 71.15 MiBReceiving objects: 44% (104445/234689), 71.41 MiBReceiving objects: 45% (105611/234689), 71.90 MiBReceiving objects: 45% (105779/234689), 71.90 MiBReceiving objects: 45% (106824/234689), 72.24 MiBReceiving objects: 45% (107892/234689), 72.82 MiBReceiving objects: 46% (107957/234689), 72.82 MiBReceiving objects: 46% (108968/234689), 73.44 MiBReceiving objects: 47% (110304/234689), 74.24 MiBReceiving objects: 47% (110576/234689), 74.24 MiBReceiving objects: 47% (111033/234689), 74.64 MiBReceiving objects: 47% (111072/234689), 74.69 MiBReceiving objects: 48% (112651/234689), 74.69 MiBReceiving objects: 48% (113619/234689), 75.54 MiBReceiving objects: 48% (114446/234689), 75.96 MiBReceiving objects: 49% (114998/234689), 76.20 MiBReceiving objects: 49% (115426/234689), 76.20 MiBReceiving objects: 49% (117011/234689), 77.16 MiBReceiving objects: 50% (117345/234689), 77.16 MiBReceiving objects: 50% (119554/234689), 78.25 MiBReceiving objects: 51% (119692/234689), 78.25 MiBReceiving objects: 51% (121867/234689), 79.26 MiBReceiving objects: 52% (122039/234689), 79.26 MiBReceiving objects: 52% (124161/234689), 80.43 MiBReceiving objects: 53% (124386/234689), 80.43 MiBReceiving objects: 54% (126733/234689), 81.14 MiBReceiving objects: 54% (127319/234689), 81.86 MiBReceiving objects: 54% (127884/234689), 82.96 MiBReceiving objects: 55% (129079/234689), 83.57 MiBReceiving objects: 55% (129314/234689), 84.09 MiBReceiving objects: 55% (130823/234689), 85.26 MiBReceiving objects: 56% (131426/234689), 85.26 MiBReceiving objects: 56% (133061/234689), 86.97 MiBReceiving objects: 57% (133773/234689), 86.97 MiBReceiving objects: 57% (135835/234689), 88.82 MiBReceiving objects: 58% (136120/234689), 88.82 MiBReceiving objects: 59% (138467/234689), 89.95 MiBReceiving objects: 59% (139073/234689), 91.03 MiBReceiving objects: 60% (140814/234689), 92.98 MiBReceiving objects: 60% (140825/234689), 92.98 MiBReceiving objects: 61% (143161/234689), 94.48 MiBReceiving objects: 62% (145508/234689), 95.82 MiBReceiving objects: 62% (145711/234689), 95.82 MiBReceiving objects: 63% (147855/234689), 95.82 MiBReceiving objects: 64% (150201/234689), 97.76 MiBReceiving objects: 65% (152548/234689), 97.76 MiBReceiving objects: 65% (152696/234689), 99.44 MiBReceiving objects: 66% (154895/234689), 99.44 MiBReceiving objects: 67% (157242/234689), 99.44 MiBReceiving objects: 68% (159589/234689), 99.44 MiBReceiving objects: 69% (161936/234689), 101.72 MiReceiving objects: 70% (164283/234689), 101.72 MiReceiving objects: 70% (165403/234689), 102.49 MiReceiving objects: 71% (166630/234689), 102.49 MiReceiving objects: 72% (168977/234689), 102.49 MiReceiving objects: 73% (171323/234689), 102.49 MiReceiving objects: 74% (173670/234689), 102.49 MiReceiving objects: 75% (176017/234689), 105.35 MiReceiving objects: 75% (177484/234689), 105.35 MiReceiving objects: 76% (178364/234689), 106.99 MiReceiving objects: 77% (180711/234689), 106.99 MiReceiving objects: 77% (182293/234689), 108.68 MiReceiving objects: 78% (183058/234689), 110.32 MiReceiving objects: 79% (185405/234689), 111.52 MiReceiving objects: 80% (187752/234689), 111.52 MiReceiving objects: 80% (189143/234689), 111.52 MiReceiving objects: 81% (190099/234689), 111.52 MiReceiving objects: 82% (192445/234689), 113.57 MiReceiving objects: 83% (194792/234689), 113.57 MiReceiving objects: 84% (197139/234689), 115.60 MiReceiving objects: 85% (199486/234689), 115.60 MiReceiving objects: 86% (201833/234689), 115.60 MiReceiving objects: 86% (202577/234689), 115.60 MiReceiving objects: 87% (204180/234689), 115.60 MiReceiving objects: 88% (206527/234689), 118.04 MiReceiving objects: 89% (208874/234689), 120.23 MiReceiving objects: 90% (211221/234689), 120.23 MiReceiving objects: 90% (211516/234689), 120.23 MiReceiving objects: 91% (213567/234689), 122.18 MiReceiving objects: 92% (215914/234689), 123.95 MiReceiving objects: 92% (217962/234689), 123.95 MiReceiving objects: 93% (218261/234689), 123.95 MiReceiving objects: 94% (220608/234689), 126.17 MiReceiving objects: 95% (222955/234689), 126.17 MiReceiving objects: 96% (225302/234689), 129.01 MiReceiving objects: 97% (227649/234689), 129.01 MiReceiving objects: 97% (228339/234689), 129.01 MiReceiving objects: 98% (229996/234689), 131.14 MiReceiving objects: 99% (232343/234689), 131.14 MiReceiving objects: 99% (234571/234689), 133.14 Miremote: Total 234689 (delta 81), reused 69 (delta 37), pack-reused 234514
Receiving objects: 100% (234689/234689), 133.14 MiReceiving objects: 100% (234689/234689), 135.25 MiB | 1.22 MiB/s, done.
Resolving deltas: 100% (181070/181070), done.
Updating files: 100% (4060/4060), done.
~/supersu-patcher $ python3 -m pip install -r requirements.txt

Collecting astroid==2.4.2
Downloading astroid-2.4.2-py3-none-any.whl (213 kB)
|█▌ | 10 kB 2.4 |███ | 20 kB 513 |████▋ | 30 kB 639 |██████▏ | 40 kB 530 |███████▋ | 51 kB 512 |█████████▏ | 61 kB 554 |██████████▊ | 71 kB 522 |████████████▎ | 81 kB 587 |█████████████▉ | 92 kB 597 |███████████████▎ | 102 kB 606 |████████████████▉ | 112 kB 606 |██████████████████▍ | 122 kB 606 |████████████████████ | 133 kB 606 |█████████████████████▍ | 143 kB 606 |███████████████████████ | 153 kB 606 |████████████████████████▌ | 163 kB 606 |██████████████████████████ | 174 kB 606 |███████████████████████████▋ | 184 kB 606 |█████████████████████████████ | 194 kB 606 |██████████████████████████████▋ | 204 kB 606 |████████████████████████████████| 213 kB 606 kB/s
Collecting isort==4.3.21
Downloading isort-4.3.21-py2.py3-none-any.whl (42 kB)
|███████▊ | 10 kB 516 |███████████████▌ | 20 kB 954 |███████████████████████▎ | 30 kB 1.3 |███████████████████████████████ | 40 kB 1.2 |████████████████████████████████| 42 kB 227 kB/s
Collecting lazy-object-proxy==1.4.3
Downloading lazy-object-proxy-1.4.3.tar.gz (34 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Collecting mccabe==0.6.1
Downloading mccabe-0.6.1-py2.py3-none-any.whl (8.6 kB)
Collecting pylint==2.5.3
Downloading pylint-2.5.3-py3-none-any.whl (324 kB)
|█ | 10 kB 158 |██ | 20 kB 155 |███ | 30 kB 227 |████ | 40 kB 229 |█████ | 51 kB 208 |██████ | 61 kB 246 |███████ | 71 kB 249 |████████ | 81 kB 282 |█████████ | 92 kB 284 |██████████ | 102 kB 276 |███████████ | 112 kB 276 |████████████▏ | 122 kB 276 |█████████████▏ | 133 kB 276 |██████████████▏ | 143 kB 276 |███████████████▏ | 153 kB 276 |████████████████▏ | 163 kB 276 |█████████████████▏ | 174 kB 276 |██████████████████▏ | 184 kB 276 |███████████████████▏ | 194 kB 276 |████████████████████▏ | 204 kB 276 |█████████████████████▏ | 215 kB 276 |██████████████████████▏ | 225 kB 276 |███████████████████████▎ | 235 kB 276 |████████████████████████▎ | 245 kB 276 |█████████████████████████▎ | 256 kB 276 |██████████████████████████▎ | 266 kB 276 |███████████████████████████▎ | 276 kB 276 |████████████████████████████▎ | 286 kB 276 |█████████████████████████████▎ | 296 kB 276 |██████████████████████████████▎ | 307 kB 276 |███████████████████████████████▎| 317 kB 276 |████████████████████████████████| 324 kB 276 kB/s
Collecting r2pipe==1.4.2
Downloading r2pipe-1.4.2.tar.gz (9.0 kB)
Collecting six==1.15.0
Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting toml==0.10.1
Downloading toml-0.10.1-py2.py3-none-any.whl (19 kB)
Collecting typed-ast==1.4.1
Downloading typed_ast-1.4.1.tar.gz (208 kB)
|█▋ | 10 kB 157 |███▏ | 20 kB 97 k |████▊ | 30 kB 144 |██████▎ | 40 kB 123 |███████▉ | 51 kB 114 |█████████▍ | 61 kB 136 |███████████ | 71 kB 153 |████████████▋ | 81 kB 174 |██████████████▏ | 92 kB 174 |███████████████▊ | 102 kB 92 |█████████████████▎ | 112 kB 92 |██████████████████▉ | 122 kB 92 |████████████████████▍ | 133 kB 92 |██████████████████████ | 143 kB 92 |███████████████████████▋ | 153 kB 92 |█████████████████████████▏ | 163 kB 92 |██████████████████████████▊ | 174 kB 92 |████████████████████████████▎ | 184 kB 92 |█████████████████████████████▉ | 194 kB 92 |███████████████████████████████▍| 204 kB 92 |████████████████████████████████| 208 kB 92 kB/s
Collecting wrapt==1.12.1
Downloading wrapt-1.12.1.tar.gz (27 kB)
Using legacy 'setup.py install' for r2pipe, since package 'wheel' is not installed.
Using legacy 'setup.py install' for typed-ast, since package 'wheel' is not installed.
Using legacy 'setup.py install' for wrapt, since package 'wheel' is not installed.
Building wheels for collected packages: lazy-object-proxy
Building wheel for lazy-object-proxy (PEP 517) ... done
Created wheel for lazy-object-proxy: filename=lazy_object_proxy-1.4.3-cp39-cp39-linux_armv8l.whl size=39215 sha256=0f54e897ecbca28a54328fa0a8a27c739fbcd38af84dc2d71e038b99d1b87b44
Stored in directory: /data/data/com.termux/files/home/.cache/pip/wheels/41/20/07/2a3e02cdfc8b442404202f6ef99ff1b1c16b73910968a46f2f
Successfully built lazy-object-proxy
Installing collected packages: wrapt, six, lazy-object-proxy, toml, mccabe, isort, astroid, typed-ast, r2pipe, pylint
Running setup.py install for wrapt ... done
Running setup.py install for typed-ast ... done
Running setup.py install for r2pipe ... done
Successfully installed astroid-2.4.2 isort-4.3.21 lazy-object-proxy-1.4.3 mccabe-0.6.1 pylint-2.5.3 r2pipe-1.4.2 six-1.15.0 toml-0.10.1 typed-ast-1.4.1 wrapt-1.12.1
WARNING: You are using pip version 21.1.3; however, version 21.2.4 is available.
You should consider upgrading via the '/data/data/com.termux/files/usr/bin/python3 -m pip install --upgrade pip' command.
~/supersu-patcher $
~/supersu-patcher $ ls
LICENSE radare2 run.py
README.md requirements.txt src
~/supersu-patcher $ cd ..
~ $ ls
SuperSU-v2.82-201705271822.zip supersu-patcher
downloads
~ $ mv SuperSU-v2.82-201705271822.zip ~/supersu-patcher/
~ $ cd supersu-patcher/
~/supersu-patcher $ vdir
total 5856
-rw------- 1 u0_a403 u0_a403 35149 Sep 3 10:58 LICENSE
-rw------- 1 u0_a403 u0_a403 2447 Sep 3 10:58 README.md
-rw------- 1 u0_a403 u0_a403 5903921 Sep 3 11:12 SuperSU-v2.82-201705271822.zip
drwx------ 14 u0_a403 u0_a403 4096 Sep 3 11:05 radare2
-rw------- 1 u0_a403 u0_a403 152 Sep 3 10:58 requirements.txt
-rw------- 1 u0_a403 u0_a403 2302 Sep 3 10:58 run.py
drwx------ 4 u0_a403 u0_a403 4096 Sep 3 10:58 src
~/supersu-patcher $ mv SuperSU-v2.82-201705271822.zip ~/downloads/
~/supersu-patcher $ python3 run.py -i ~/downloads/___________________________________
|---------SuperSu Patcher---------|
|--------------------v0.1---------|
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
[ERROR] Could not recognise file /data/data/com.termux/files/home/downloads/ at /data/data/com.termux/files/home/downloads
~/supersu-patcher $
~/supersu-patcher $ python3 run.py -i ~/downloads/SuperSU-v2.82-201705271822.zip


|---------SuperSu Patcher---------|
|--------------------v0.1---------|
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
Starting core logic..
[I] Patching File :: /data/data/com.termux/files/home/supersu-patcher/output/unzipped-SuperSU-v2.82-201705271822.zip/arm64/libsupol.so
Traceback (most recent call last):
File "/data/data/com.termux/files/usr/lib/python3.9/site-packages/r2pipe/open_sync.py", line 60, in init
self.process = Popen(cmd, shell=False, stdin=PIPE, stdout=PIPE, bufsize=0)
File "/data/data/com.termux/files/usr/lib/python3.9/subprocess.py", line 951, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/data/data/com.termux/files/usr/lib/python3.9/subprocess.py", line 1819, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'radare2'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/data/data/com.termux/files/home/supersu-patcher/run.py", line 79, in
core.start()
File "/data/data/com.termux/files/home/supersu-patcher/src/core/core.py", line 21, in start
self.setup()
File "/data/data/com.termux/files/home/supersu-patcher/src/core/core.py", line 41, in setup
self.patcher.patch()
File "/data/data/com.termux/files/home/supersu-patcher/src/core/patcher.py", line 147, in patch
r = r2pipe.open(file_abs_path, flags=['-w'])
File "/data/data/com.termux/files/usr/lib/python3.9/site-packages/r2pipe/open_sync.py", line 62, in init
raise Exception("ERROR: Cannot find radare2 in PATH")
Exception: ERROR: Cannot find radare2 in PATH
~/supersu-patcher $ radare2
The program radare2 is not installed. Install it by executing:
pkg install radare2
~/supersu-patcher $ pkg install radare2
Checking availability of current mirror: ok
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
radare2
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 6346 kB of archives.
After this operation, 33.3 MB of additional disk space will be used.
Get:1 https://deb.kcubeterm.me/termux-main stable/main arm radare2 arm 5.4.0-3 [6346 kB]
Fetched 6346 kB in 17s (363 kB/s)
Selecting previously unselected package radare2.
(Reading database ... 28166 files and directories currently installed.)
Preparing to unpack .../radare2_5.4.0-3_arm.deb ...
Unpacking radare2 (5.4.0-3) ...
Setting up radare2 (5.4.0-3) ...
Processing triggers for man (1.14.5-2) ...
~/supersu-patcher $ python3 run.py -i ~/downloads/SuperSU-v2.82-201705271822.zip


|---------SuperSu Patcher---------|
|--------------------v0.1---------|
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
Starting core logic..
[ERROR] file /data/data/com.termux/files/home/supersu-patcher/output already exists
~/supersu-patcher $ rm output/
rm: cannot remove 'output/': Is a directory
~/supersu-patcher $ rm -R output/
~/supersu-patcher $ python3 run.py -i ~/downloads/SuperSU-v2.82-201705271822.zip


|---------SuperSu Patcher---------|
|--------------------v0.1---------|
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
Starting core logic..
[I] Patching File :: /data/data/com.termux/files/home/supersu-patcher/output/unzipped-SuperSU-v2.82-201705271822.zip/arm64/libsupol.so
Warning: run r2 with -e bin.cache=true to fix relocations in disassembly
[i] Patching using init_patch_dict
Patching ::
From -> /.supersu
To -> /.supersu
Searching 9 bytes in [0x615d0-0x624c0]
hits: 0
Searching 9 bytes in [0x609e8-0x615d0]
hits: 0
Searching 9 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /system/xbin/su
To -> /system/xbin/nu
Searching 15 bytes in [0x615d0-0x624c0]
hits: 0
Searching 15 bytes in [0x609e8-0x615d0]
hits: 0
Searching 15 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /system/xbin/daemonsu
To -> /system/xbin/daemonnu
Searching 21 bytes in [0x615d0-0x624c0]
hits: 0
Searching 21 bytes in [0x609e8-0x615d0]
hits: 0
Searching 21 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /system/xbin/sugote
To -> /system/xbin/nugote
Searching 19 bytes in [0x615d0-0x624c0]
hits: 0
Searching 19 bytes in [0x609e8-0x615d0]
hits: 0
Searching 19 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /system/xbin/sugote-mksh
To -> /system/xbin/nugote-mksh
Searching 24 bytes in [0x615d0-0x624c0]
hits: 0
Searching 24 bytes in [0x609e8-0x615d0]
hits: 0
Searching 24 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /system/xbin/supolicy
To -> /system/xbin/nupolicy
Searching 21 bytes in [0x615d0-0x624c0]
hits: 0
Searching 21 bytes in [0x609e8-0x615d0]
hits: 0
Searching 21 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /system/xbin/ku.sud
To -> /system/xbin/ku.nud
Searching 19 bytes in [0x615d0-0x624c0]
hits: 0
Searching 19 bytes in [0x609e8-0x615d0]
hits: 0
Searching 19 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /system/xbin/.ku
To -> /system/xbin/.nu
Searching 16 bytes in [0x615d0-0x624c0]
hits: 0
Searching 16 bytes in [0x609e8-0x615d0]
hits: 0
Searching 16 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /system/xbin/.su
To -> /system/xbin/.nu
Searching 16 bytes in [0x615d0-0x624c0]
hits: 0
Searching 16 bytes in [0x609e8-0x615d0]
hits: 0
Searching 16 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /system/lib/libsupol.so
To -> /system/lib/libnupol.so
Searching 23 bytes in [0x615d0-0x624c0]
hits: 0
Searching 23 bytes in [0x609e8-0x615d0]
hits: 0
Searching 23 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /system/lib64/libsupol.so
To -> /system/lib64/libnupol.so
Searching 25 bytes in [0x615d0-0x624c0]
hits: 0
Searching 25 bytes in [0x609e8-0x615d0]
hits: 0
Searching 25 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /system/bin/.ext/.su
To -> /system/bin/.ext/.nu
Searching 20 bytes in [0x615d0-0x624c0]
hits: 0
Searching 20 bytes in [0x609e8-0x615d0]
hits: 0
Searching 20 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /system/etc/init.d/99SuperSUDaemon
To -> /system/etc/init.d/99SuperNUDaemon
Searching 34 bytes in [0x615d0-0x624c0]
hits: 0
Searching 34 bytes in [0x609e8-0x615d0]
hits: 0
Searching 34 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /system/etc/.installed_su_daemon
To -> /system/etc/.installed_nu_daemon
Searching 32 bytes in [0x615d0-0x624c0]
hits: 0
Searching 32 bytes in [0x609e8-0x615d0]
hits: 0
Searching 32 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /system/app/Superuser.apk
To -> /system/app/Superuser.apk
Searching 25 bytes in [0x615d0-0x624c0]
hits: 0
Searching 25 bytes in [0x609e8-0x615d0]
hits: 0
Searching 25 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /system/app/Superuser.odex
To -> /system/app/Superuser.odex
Searching 26 bytes in [0x615d0-0x624c0]
hits: 0
Searching 26 bytes in [0x609e8-0x615d0]
hits: 0
Searching 26 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /system/app/Superuser
To -> /system/app/Superuser
Searching 21 bytes in [0x615d0-0x624c0]
hits: 0
Searching 21 bytes in [0x609e8-0x615d0]
hits: 0
Searching 21 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /system/app/SuperUser.apk
To -> /system/app/SuperUser.apk
Searching 25 bytes in [0x615d0-0x624c0]
hits: 0
Searching 25 bytes in [0x609e8-0x615d0]
hits: 0
Searching 25 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /system/app/SuperUser.odex
To -> /system/app/SuperUser.odex
Searching 26 bytes in [0x615d0-0x624c0]
hits: 0
Searching 26 bytes in [0x609e8-0x615d0]
hits: 0
Searching 26 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /system/app/SuperUser
To -> /system/app/SuperUser
Searching 21 bytes in [0x615d0-0x624c0]
hits: 0
Searching 21 bytes in [0x609e8-0x615d0]
hits: 0
Searching 21 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /system/app/superuser.apk
To -> /system/app/superuser.apk
Searching 25 bytes in [0x615d0-0x624c0]
hits: 0
Searching 25 bytes in [0x609e8-0x615d0]
hits: 0
Searching 25 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /system/app/superuser.odex
To -> /system/app/superuser.odex
Searching 26 bytes in [0x615d0-0x624c0]
hits: 0
Searching 26 bytes in [0x609e8-0x615d0]
hits: 0
Searching 26 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /system/app/superuser
To -> /system/app/superuser
Searching 21 bytes in [0x615d0-0x624c0]
hits: 0
Searching 21 bytes in [0x609e8-0x615d0]
hits: 0
Searching 21 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /system/app/Supersu.apk
To -> /system/app/Supersu.apk
Searching 23 bytes in [0x615d0-0x624c0]
hits: 0
Searching 23 bytes in [0x609e8-0x615d0]
hits: 0
Searching 23 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /system/app/Supersu.odex
To -> /system/app/Supersu.odex
Searching 24 bytes in [0x615d0-0x624c0]
hits: 0
Searching 24 bytes in [0x609e8-0x615d0]
hits: 0
Searching 24 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /system/app/Supersu
To -> /system/app/Supersu
Searching 19 bytes in [0x615d0-0x624c0]
hits: 0
Searching 19 bytes in [0x609e8-0x615d0]
hits: 0
Searching 19 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /system/app/SuperSU.apk
To -> /system/app/SuperSU.apk
Searching 23 bytes in [0x615d0-0x624c0]
hits: 0
Searching 23 bytes in [0x609e8-0x615d0]
hits: 0
Searching 23 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /system/app/SuperSU.odex
To -> /system/app/SuperSU.odex
Searching 24 bytes in [0x615d0-0x624c0]
hits: 0
Searching 24 bytes in [0x609e8-0x615d0]
hits: 0
Searching 24 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /system/app/SuperSU
To -> /system/app/SuperSU
Searching 19 bytes in [0x615d0-0x624c0]
hits: 0
Searching 19 bytes in [0x609e8-0x615d0]
hits: 0
Searching 19 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /system/app/supersu.apk
To -> /system/app/supersu.apk
Searching 23 bytes in [0x615d0-0x624c0]
hits: 0
Searching 23 bytes in [0x609e8-0x615d0]
hits: 0
Searching 23 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /system/app/supersu.odex
To -> /system/app/supersu.odex
Searching 24 bytes in [0x615d0-0x624c0]
hits: 0
Searching 24 bytes in [0x609e8-0x615d0]
hits: 0
Searching 24 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /system/app/supersu
To -> /system/app/supersu
Searching 19 bytes in [0x615d0-0x624c0]
hits: 0
Searching 19 bytes in [0x609e8-0x615d0]
hits: 0
Searching 19 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /system/app/VenomSuperUser.apk
To -> /system/app/VenomSuperUser.apk
Searching 30 bytes in [0x615d0-0x624c0]
hits: 0
Searching 30 bytes in [0x609e8-0x615d0]
hits: 0
Searching 30 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /system/app/VenomSuperUser.odex
To -> /system/app/VenomSuperUser.odex
Searching 31 bytes in [0x615d0-0x624c0]
hits: 0
Searching 31 bytes in [0x609e8-0x615d0]
hits: 0
Searching 31 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /system/app/VenomSuperUser
To -> /system/app/VenomSuperUser
Searching 26 bytes in [0x615d0-0x624c0]
hits: 0
Searching 26 bytes in [0x609e8-0x615d0]
hits: 0
Searching 26 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /sutmp
To -> /nutmp
Searching 6 bytes in [0x615d0-0x624c0]
hits: 0
Searching 6 bytes in [0x609e8-0x615d0]
hits: 0
Searching 6 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> SU=su
To -> SU=nu
Searching 5 bytes in [0x615d0-0x624c0]
hits: 0
Searching 5 bytes in [0x609e8-0x615d0]
hits: 0
Searching 5 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> SU=su.pie
To -> SU=nu.pie
Searching 9 bytes in [0x615d0-0x624c0]
hits: 0
Searching 9 bytes in [0x609e8-0x615d0]
hits: 0
Searching 9 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> APKNAME=/system/app/SuperSU/SuperSU.apk
To -> APKNAME=/system/app/SuperSU/SuperSU.apk
Searching 39 bytes in [0x615d0-0x624c0]
hits: 0
Searching 39 bytes in [0x609e8-0x615d0]
hits: 0
Searching 39 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /system/bin/su
To -> /system/bin/nu
Searching 14 bytes in [0x615d0-0x624c0]
hits: 0
Searching 14 bytes in [0x609e8-0x615d0]
hits: 0
Searching 14 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /system/sbin/su
To -> /system/sbin/nu
Searching 15 bytes in [0x615d0-0x624c0]
hits: 0
Searching 15 bytes in [0x609e8-0x615d0]
hits: 0
Searching 15 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /vendor/sbin/su
To -> /vendor/sbin/nu
Searching 15 bytes in [0x615d0-0x624c0]
hits: 0
Searching 15 bytes in [0x609e8-0x615d0]
hits: 0
Searching 15 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /vendor/bin/su
To -> /vendor/bin/nu
Searching 14 bytes in [0x615d0-0x624c0]
hits: 0
Searching 14 bytes in [0x609e8-0x615d0]
hits: 0
Searching 14 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /vendor/xbin/su
To -> /vendor/xbin/nu
Searching 15 bytes in [0x615d0-0x624c0]
hits: 0
Searching 15 bytes in [0x609e8-0x615d0]
hits: 0
Searching 15 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /data/su.img
To -> /data/nu.img
Searching 12 bytes in [0x615d0-0x624c0]
hits: 0
Searching 12 bytes in [0x609e8-0x615d0]
hits: 0
Searching 12 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /cache/su.img
To -> /cache/nu.img
Searching 13 bytes in [0x615d0-0x624c0]
hits: 0
Searching 13 bytes in [0x609e8-0x615d0]
hits: 0
Searching 13 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /su/bin
To -> /nu/bin
Searching 7 bytes in [0x615d0-0x624c0]
hits: 0
Searching 7 bytes in [0x609e8-0x615d0]
hits: 0
Searching 7 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /su/xbin
To -> /nu/xbin
Searching 8 bytes in [0x615d0-0x624c0]
hits: 0
Searching 8 bytes in [0x609e8-0x615d0]
hits: 0
Searching 8 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /su/lib
To -> /nu/lib
Searching 7 bytes in [0x615d0-0x624c0]
hits: 0
Searching 7 bytes in [0x609e8-0x615d0]
hits: 0
Searching 7 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /su/etc
To -> /nu/etc
Searching 7 bytes in [0x615d0-0x624c0]
hits: 0
Searching 7 bytes in [0x609e8-0x615d0]
hits: 0
Searching 7 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /su/su.d
To -> /nu/nu.d
Searching 8 bytes in [0x615d0-0x624c0]
hits: 0
Searching 8 bytes in [0x609e8-0x615d0]
hits: 0
Searching 8 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /su/bin/app_process
To -> /nu/bin/app_process
Searching 19 bytes in [0x615d0-0x624c0]
hits: 0
Searching 19 bytes in [0x609e8-0x615d0]
hits: 0
Searching 19 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /su/bin/sush
To -> /nu/bin/nush
Searching 12 bytes in [0x615d0-0x624c0]
hits: 0
Searching 12 bytes in [0x609e8-0x615d0]
hits: 0
Searching 12 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /su/bin/su
To -> /nu/bin/nu
Searching 10 bytes in [0x615d0-0x624c0]
hits: 0
Searching 10 bytes in [0x609e8-0x615d0]
hits: 0
Searching 10 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /su/bin/su_*
To -> /nu/bin/nu_*
Searching 12 bytes in [0x615d0-0x624c0]
hits: 0
Searching 12 bytes in [0x609e8-0x615d0]
hits: 0
Searching 12 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /su/xbin_bind
To -> /nu/xbin_bind
Searching 13 bytes in [0x615d0-0x624c0]
hits: 0
Searching 13 bytes in [0x609e8-0x615d0]
hits: 0
Searching 13 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> ${CPIO_PREFIX}su
To -> ${CPIO_PREFIX}nu
Searching 16 bytes in [0x615d0-0x624c0]
hits: 0
Searching 16 bytes in [0x609e8-0x615d0]
hits: 0
Searching 16 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /suinit
To -> /nuinit
Searching 7 bytes in [0x615d0-0x624c0]
hits: 0
Searching 7 bytes in [0x609e8-0x615d0]
hits: 0
Searching 7 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> Superuser
To -> Superuser
Searching 9 bytes in [0x615d0-0x624c0]
hits: 0
Searching 9 bytes in [0x609e8-0x615d0]
hits: 0
Searching 9 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> superuser
To -> superuser
Searching 9 bytes in [0x615d0-0x624c0]
hits: 0
Searching 9 bytes in [0x609e8-0x615d0]
hits: 0
Searching 9 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> SuperUser
To -> NuperUser
Searching 9 bytes in [0x615d0-0x624c0]
hits: 0
Searching 9 bytes in [0x609e8-0x615d0]
hits: 0
Searching 9 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> sugote
To -> nugote
Searching 6 bytes in [0x615d0-0x624c0]
hits: 0
Searching 6 bytes in [0x609e8-0x615d0]
hits: 0
Searching 6 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> 99SuperSUDaemon
To -> 99SuperNUDaemon
Searching 15 bytes in [0x615d0-0x624c0]
hits: 0
Searching 15 bytes in [0x609e8-0x615d0]
hits: 0
Searching 15 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> libsupol
To -> libnupol
Searching 8 bytes in [0x615d0-0x624c0]
hits: 0
Searching 8 bytes in [0x609e8-0x615d0]
hits: 0
Searching 8 bytes in [0x0-0x501c8]
hits: 1
Patching ::
From -> supersu
To -> supernu
Searching 7 bytes in [0x615d0-0x624c0]
hits: 0
Searching 7 bytes in [0x609e8-0x615d0]
hits: 0
Searching 7 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> Supersu
To -> Supernu
Searching 7 bytes in [0x615d0-0x624c0]
hits: 0
Searching 7 bytes in [0x609e8-0x615d0]
hits: 0
Searching 7 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> SuperSU
To -> SuperNU
Searching 7 bytes in [0x615d0-0x624c0]
hits: 0
Searching 7 bytes in [0x609e8-0x615d0]
hits: 0
Searching 7 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> daemonsu
To -> daemonnu
Searching 8 bytes in [0x615d0-0x624c0]
hits: 0
Searching 8 bytes in [0x609e8-0x615d0]
hits: 0
Searching 8 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> sudaemon
To -> nudaemon
Searching 8 bytes in [0x615d0-0x624c0]
hits: 0
Searching 8 bytes in [0x609e8-0x615d0]
hits: 0
Searching 8 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /dev/.su.d
To -> /dev/.nu.d
Searching 10 bytes in [0x615d0-0x624c0]
hits: 0
Searching 10 bytes in [0x609e8-0x615d0]
hits: 0
Searching 10 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /dev/.su.d.complete
To -> /dev/.nu.d.complete
Searching 19 bytes in [0x615d0-0x624c0]
hits: 0
Searching 19 bytes in [0x609e8-0x615d0]
hits: 0
Searching 19 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> sukernel
To -> nukernel
Searching 8 bytes in [0x615d0-0x624c0]
hits: 0
Searching 8 bytes in [0x609e8-0x615d0]
hits: 0
Searching 8 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> supolicy
To -> nupolicy
Searching 8 bytes in [0x615d0-0x624c0]
hits: 0
Searching 8 bytes in [0x609e8-0x615d0]
hits: 0
Searching 8 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> /su
To -> /nu
Searching 3 bytes in [0x615d0-0x624c0]
hits: 0
Searching 3 bytes in [0x609e8-0x615d0]
hits: 0
Searching 3 bytes in [0x0-0x501c8]
hits: 0
[i] Patching using clean_up_patch_dict
Patching ::
From -> nupernu
To -> supernu
Searching 7 bytes in [0x615d0-0x624c0]
hits: 0
Searching 7 bytes in [0x609e8-0x615d0]
hits: 0
Searching 7 bytes in [0x0-0x501c8]
hits: 0
Patching ::
From -> nupersu
To -> supernu
Searching 7 bytes in [0x615d0-0x624c0]
hits: 0
Searching 7 bytes in [0x609e8-0x615d0]
hits: 0
Searching 7 bytes in [0x0-0x501c8]
hits: 0

From the log it looks like you've set up Radare2 and installed the python bindings, I can see that you're using SuperSU-v2.82-201705271822.zip. Have you tried with a different version of SuperSu? Are there any errors or does it just hang?

no errors, just hangs

Have you tried with SR5-SuperSU-v2.82-SR5-20171001224502? Are you using a specific version of SuperSU-v2.82-201705271822.zip? I'm not able to replicate the problem

Inactive, closing.