Add 'ctcci NEEDS FIXESZ.txt'

This commit is contained in:
dw 2021-02-23 19:30:53 +00:00
parent 30bb19ab17
commit bf003b6e51

76
ctcci NEEDS FIXESZ.txt Normal file
View file

@ -0,0 +1,76 @@
W: Failed to decode a string at offset 8238985 of length 133
W: Failed to decode a string at offset 8830355 of length 95
W: Failed to decode a string at offset 9038084 of length 76
W: Failed to decode a string at offset 9206665 of length 87
W: Failed to decode a string at offset 9736091 of length 82
W: Failed to decode a string at offset 9924203 of length 90
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: /root/.local/share/apktool/framework/1.apk
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Baksmaling classes.dex...
I: Baksmaling classes2.dex...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
I: Copying META-INF/services directory
Applying /home/discordapp/litecordintra/cutthecord/patches/necessary/1371.patch
(Stripping trailing CRs from patch; use --binary to disable.)
patching file AndroidManifest.xml
Applying branding icon patch
/home/discordapp/litecordintra/cutthecord/patches/branding/customicon.sh: line 5: $'\r': command not found
/home/discordapp/litecordintra/cutthecord/patches/branding/customicon.sh: line 10: $'\r': command not found
/home/discordapp/litecordintra/cutthecord/patches/branding/customdynamicicon.sh: line 4: $'\r': command not found
Traceback (most recent call last):
File "/home/discordapp/litecordintra/cutthecord/patches/branding/addpatch.py", line 34, in <module>
buildnum = str(counterup(branch))
File "/home/discordapp/litecordintra/cutthecord/patches/branding/addpatch.py", line 20, in counterup
with open(cfname, 'w') as file:
FileNotFoundError: [Errno 2] No such file or directory: '/root/distokrepos/versionlogs/1371dwlitecut'
Applying /home/discordapp/litecordintra/cutthecord/patches/branding/1371-custom.patch
(Stripping trailing CRs from patch; use --binary to disable.)
patching file AndroidManifest.xml
(Stripping trailing CRs from patch; use --binary to disable.)
patching file apktool.yml
(Stripping trailing CRs from patch; use --binary to disable.)
patching file res/values/strings.xml
(Stripping trailing CRs from patch; use --binary to disable.)
patching file 'smali/com/discord/utilities/captcha/CaptchaHelper$showCaptchaHelpDialog$$inlined$let$lambda$1.smali'
(Stripping trailing CRs from patch; use --binary to disable.)
patching file 'smali_classes2/com/discord/widgets/settings/WidgetSettings$onViewBound$18.smali'
Applying custom version
Applying /home/discordapp/litecordintra/cutthecord/patches/customversion/1371-custom.patch
patching file smali_classes2/com/discord/widgets/settings/WidgetSettings.smali
Applying /home/discordapp/litecordintra/cutthecord/patches/nozlib/1371.patch
(Stripping trailing CRs from patch; use --binary to disable.)
patching file smali/com/discord/gateway/GatewaySocket.smali
(Stripping trailing CRs from patch; use --binary to disable.)
patching file 'smali/com/discord/gateway/io/OutgoingPayload$Identify.smali'
Applying /home/discordapp/litecordintra/cutthecord/patches/litecord/1371.patch
(Stripping trailing CRs from patch; use --binary to disable.)
patching file smali/com/discord/BuildConfig.smali
(Stripping trailing CRs from patch; use --binary to disable.)
patching file smali/com/discord/app/App.smali
(Stripping trailing CRs from patch; use --binary to disable.)
patching file smali/com/discord/stores/StoreGatewayConnection.smali
(Stripping trailing CRs from patch; use --binary to disable.)
patching file smali/com/discord/utilities/icon/IconUtils.smali
(Stripping trailing CRs from patch; use --binary to disable.)
patching file 'smali/com/discord/utilities/rest/RestAPI$Companion.smali'
Applying custom version
Applying /home/discordapp/litecordintra/cutthecord/patches/customversion/1371-custom.patch
patching file smali_classes2/com/discord/widgets/settings/WidgetSettings.smali
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file smali_classes2/com/discord/widgets/settings/WidgetSettings.smali.rej
Traceback (most recent call last):
File "ctcci.py", line 123, in <module>
patch(patch_file.replace(".patch", "-custom.patch"), WORK_APK_PATH)
File "ctcci.py", line 28, in patch
subprocess.run(f"patch -p1 --no-backup-if-mismatch -i {patch_file}",
File "/usr/lib/python3.8/subprocess.py", line 512, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 'patch -p1 --no-backup-if-mismatch -i /home/discordapp/litecordintra/cutthecord/patches/customversion/1371-custom.patch' returned non-zero exit status 1.
root@discordappsrv:/home/discordapp/litecordintra/cutthecord/ctcci#