Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Dec 04 01:17
    iBotPeaches commented #2701
  • Dec 04 01:16
    Rone-s9 commented #2701
  • Dec 03 06:25
    sriteja777 commented #2709
  • Dec 02 20:49
    JoeyRosicka opened #2712
  • Dec 01 23:35
    Liquidbone opened #2711
  • Nov 30 17:18
    iBotPeaches closed #2710
  • Nov 30 17:18
    iBotPeaches commented #2710
  • Nov 30 16:26
    gorwhh opened #2710
  • Nov 30 16:24
    gorwhh commented #2704
  • Nov 29 20:39
    sriteja777 edited #2709
  • Nov 29 20:33
    sriteja777 opened #2709
  • Nov 29 19:47
    EthecRaz commented #2407
  • Nov 29 16:50
    jpstotz commented #1460
  • Nov 29 16:48
    KarmaMod commented #1460
  • Nov 29 16:41
    KarmaMod commented #2657
  • Nov 29 16:41
    KarmaMod closed #2657
  • Nov 29 10:24
    kaan-celen commented #1129
  • Nov 29 00:38
    iBotPeaches commented #2704
  • Nov 28 23:40
    worshiplove commented #2704
  • Nov 27 14:02
    jpstotz commented #2697
Connor Tumbleson
@iBotPeaches
@anshuman2166AppproDev - why would you? Its just a bunch of chunks of an almost built application. So no, not with apktool.
Anshuman Mishra
@rudrathedev

@anshuman2166AppproDev - why would you? Its just a bunch of chunks of an almost built application. So no, not with apktool.

Actually I needed to decompile aab built from a no code app builder

rainpuppy
@rainpuppy1_twitter
Hi!
when trying to decompile latest netflix apk, apktool gives me this error Exception in thread "main" brut.androlib.AndrolibException: Invalid chunk type: expected=0x00000200, got=0x00000203
at brut.androlib.res.decoder.ARSCDecoder.checkChunkType(ARSCDecoder.java:544)
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)
rainpuppy
@rainpuppy1_twitter
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