Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 00:38
    iBotPeaches commented #2704
  • Nov 28 23:40
    worshiplove commented #2704
  • Nov 27 14:02
    jpstotz commented #2697
  • Nov 27 13:57
    jpstotz commented #1460
  • Nov 27 13:50
    89z commented #2696
  • Nov 27 13:36
    89z commented #2696
  • Nov 27 12:41

    iBotPeaches on gh-pages

    docs: update changelog #2687 (compare)

  • Nov 27 12:41

    iBotPeaches on issue-2687

    (compare)

  • Nov 27 12:41

    iBotPeaches on master

    fix: support for signature sche… (compare)

  • Nov 27 12:41
    iBotPeaches closed #2705
  • Nov 27 12:41
    iBotPeaches closed #2687
  • Nov 27 12:39
    iBotPeaches labeled #2701
  • Nov 27 12:39
    iBotPeaches commented #2701
  • Nov 27 12:38
    aureq commented #2699
  • Nov 27 12:37
    iBotPeaches closed #2700
  • Nov 27 12:37
    iBotPeaches commented #2700
  • Nov 27 12:35
    iBotPeaches closed #2699
  • Nov 27 12:35
    iBotPeaches commented #2699
  • Nov 27 12:29
    iBotPeaches closed #2697
  • Nov 27 12:29
    iBotPeaches commented #2697
rainpuppy
@rainpuppy1_twitter
at brut.androlib.res.decoder.ARSCDecoder.readTablePackage(ARSCDecoder.java:88)
at brut.androlib.res.decoder.ARSCDecoder.readTableHeader(ARSCDecoder.java:82)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:48)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:790)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:67)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:59)
at brut.androlib.Androlib.getResTable(Androlib.java:69)
at brut.androlib.ApkDecoder.setTargetSdkVersion(ApkDecoder.java:236)
with apktool 2.5.1
Manuel Pacheco Valdez
@mananpa
Hi, how to reverse engineering for convert APK to AAB?
Anshuman Mishra
@rudrathedev

Hi, how to reverse engineering for convert APK to AAB?

Be a bit more clear

BLOODY SOWMIK
@Ign0r3dH4x0r
I'm stacked on installing in windows!
Anshuman Mishra
@rudrathedev
Oh
vincetheprogrammer
@vincetheprogrammer:matrix.org
[m]
guys
is it possible to use apktool inside of an android application
like to make a mod manager for a specific Android app?
where the mod manager basically extracts the apk from the installed Android app, uses apktool to decompile it, applys changes based on the mod file, then recompiles it using apktool?
1 reply
random-access-exomemory
@random-access-exomemory:matrix.org
[m]
Heya
I'm getting this error when using apktool, and i don't know why
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/data/data/com.termux/files/usr/tmp/brut_util_Jar_5256378265723508400218916746905045674.tmp, p, --forced-package-id, 127, --min-sdk-version, 21, --target-sdk-version, 30, --version-code, 93201, --version-name, 93.1 - Alpha, --no-version-vectors, -F, /data/data/com.termux/files/usr/tmp/APKTOOL5062160710741902504.tmp, -e, /data/data/com.termux/files/usr/tmp/APKTOOL9758211537987300682.tmp, -0, arsc, -I, /data/data/com.termux/files/home/.local/share/apktool/framework/1.apk, -S, /data/data/com.termux/files/home/fosscord/discord/res, -M, /data/data/com.termux/files/home/fosscord/discord/AndroidManifest.xml] W: /data/data/com.termux/files/usr/tmp/brut_util_Jar_5256378265723508400218916746905045674.tmp[1]: ELF: inaccessible or not found W: /data/data/com.termux/files/usr/tmp/brut_util_Jar_5256378265723508400218916746905045674.tmp[920]: ��Q�tdpp: inaccessible or not found
I tried both apktool 2.6 and apktool 2.5
random-access-exomemory
@random-access-exomemory:matrix.org
[m]
This is the output from apktool 2.6
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/data/data/com.termux/files/usr/tmp/brut_util_Jar_64183809495820369852947775768105000873.tmp, p, --debug-mode, --forced-package-id, 127, --min-sdk-version, 21, --target-sdk-version, 30, --version-code, 93201, --version-name, 93.1 - Alpha, --no-version-vectors, -F, /data/data/com.termux/files/usr/tmp/APKTOOL7631055933525059436.tmp, -e, /data/data/com.termux/files/usr/tmp/APKTOOL17829556680124513019.tmp, -0, arsc, -I, /data/data/com.termux/files/home/.local/share/apktool/framework/1.apk, -S, /data/data/com.termux/files/home/discord-patcher/discord/res, -M, /data/data/com.termux/files/home/discord-patcher/discord/AndroidManifest.xml]
W: /data/data/com.termux/files/usr/tmp/brut_util_Jar_64183809495820369852947775768105000873.tmp[1]: ELF: inaccessible or not found
W: /data/data/com.termux/files/usr/tmp/brut_util_Jar_64183809495820369852947775768105000873.tmp[2]: syntax error: unexpected ')'
1 reply
Just decompiling and recompiling the apk without doing anything else doesn't work either
random-access-exomemory
@random-access-exomemory:matrix.org
[m]
No-one? :P
random-access-exomemory
@random-access-exomemory:matrix.org
[m]
:point_up: Edit: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/data/data/com.termux/files/usr/tmp/brut_util_Jar_5256378265723508400218916746905045674.tmp, p, --forced-package-id, 127, --min-sdk-version, 21, --target-sdk-version, 30, --version-code, 93201, --version-name, 93.1 - Alpha, --no-version-vectors, -F, /data/data/com.termux/files/usr/tmp/APKTOOL5062160710741902504.tmp, -e, /data/data/com.termux/files/usr/tmp/APKTOOL9758211537987300682.tmp, -0, arsc, -I, /data/data/com.termux/files/home/.local/share/apktool/framework/1.apk, -S, /data/data/com.termux/files/home/fosscord/discord/res, -M, /data/data/com.termux/files/home/fosscord/discord/AndroidManifest.xml] W: /data/data/com.termux/files/usr/tmp/brut_util_Jar_5256378265723508400218916746905045674.tmp[1]: ELF: inaccessible or not found W: /data/data/com.termux/files/usr/tmp/brut_util_Jar_5256378265723508400218916746905045674.tmp[920]: ��Q�tdpp: inaccessible or not found
vincetheprogrammer
@vincetheprogrammer:matrix.org
[m]

I'm not qualified at all, but I think this room is like pretty much completely dead based on the read receipts, so I guess it couldn't really hurt to give my opinion.

I can only really recommend trying to run Apktool on a different platform (for example, Windows) or trying to decompile/recompile a different APK.

That's what I would do in your scenario anyway. I have basically zero technical knowledge of Apktool, but I don't think anyone got any kind of help since like July.

And when I say try a different APK, I'm not saying to abandon the APK you're trying to decompile/recompile, I'm just saying try a different APK to see if it's an issue specific to that APK
If any actually qualified devs are out there, please do give random-access-exomemory a proper answer.
random-access-exomemory
@random-access-exomemory:matrix.org
[m]
Ah okay then, thanks!
And yeah the room seems pretty dead sadly
vincetheprogrammer
@vincetheprogrammer:matrix.org
[m]
Indeed 😔
But actually, that ELF: inaccessible or not found leads me to believe that it indeed may be an issue with Termux
Since, based on a quick Google search, that seems like an operating system reliant thing
Could maybe be worth a shot to ask in the Termux room
Since that room's comparatively way more active
random-access-exomemory
@random-access-exomemory:matrix.org
[m]
Alright then, thanks!
vincetheprogrammer
@vincetheprogrammer:matrix.org
[m]
o7
random-access-exomemory
@random-access-exomemory:matrix.org
[m]
I: Using Apktool 2.6.0
I: Checking whether sources has changed...                                  I: Checking whether sources has changed...                                  I: Checking whether sources has changed...                                  I: Checking whether resources has changed...                                I: Building resources...                                                    W: invalid resource directory name: /data/data/com.termux/files/home/discord-patcher/discord/res font                                                   brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/data/data/com.termux/files/usr/bin/aapt, p, --min-sdk-version, 21, --target-sdk-version, 29, --version-code, 89108, --version-name, 89.8 - Beta, --no-version-vectors, -F, /data/data/com.termux/files/usr/tmp/APKTOOL18005119699576679610.tmp, -0, resources.arsc, -0, png, -0, jpg, -0, mp3, -0, jpeg, -0, arsc, -I, /data/data/com.termux/files/home/.local/share/apktool/framework/1.apk, -S, /data/data/com.termux/files/home/discord-patcher/discord/res, -M, /data/data/com.termux/files/home/discord-patcher/discord/AndroidManifest.xml]
It's progress ¯\ _(ツ)_/¯
I cant figure out where the error is though
vincetheprogrammer
@vincetheprogrammer:matrix.org
[m]
could it be that apktool doesn't like the space in the folder name of /data/data/com.termux/files/home/discord-patcher/discord/res font?
1 reply
vincetheprogrammer
@vincetheprogrammer:matrix.org
[m]
random-access-exomemory
random-access-exomemory
@random-access-exomemory:matrix.org
[m]
It's not a space
That's the issue
res/font is a valid folder, but whenever i try compiling it, it keeps trying to use res font
vincetheprogrammer
@vincetheprogrammer:matrix.org
[m]
O
Bizarre
vincetheprogrammer
@vincetheprogrammer:matrix.org
[m]
Here's someone who had the same issue as you: iBotPeaches/Apktool#1787
But the dev couldn't reproduce the issue