hbctool disasm index.android.bundle test
[*] Disassemble 'index.android.bundle' to 'test' path
Traceback (most recent call last):
File "/data/data/com.termux/files/usr/bin/hbctool", line 6, in
sys.exit(main())
~~~~^^
File "/data/data/com.termux/files/usr/lib/python3.13/site-packages/hbctool/init.py", line 61, in main
disasm(args['<HBC_FILE>'], args['<HASM_PATH>'])
~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.13/site-packages/hbctool/init.py", line 33, in disasm
hbco = hbc.load(f)
File "/data/data/com.termux/files/usr/lib/python3.13/site-packages/hbctool/hbc/init.py", line 56, in load
assert magic == MAGIC, f"The magic ({hex(magic)}) is invalid. (must be {hex(MAGIC)})"
^^^^^^^^^^^^^^
AssertionError: The magic (0x2d8e8fc004d0ef71) is invalid. (must be 0x1f1903c103bc1fc6)
Its not a problem in your shell script or hbctool . it doesnt work for Tataplay hermes , if you analyse this in your free time that will be great
thanks in advance
hbctool disasm index.android.bundle test
[*] Disassemble 'index.android.bundle' to 'test' path
Traceback (most recent call last):
File "/data/data/com.termux/files/usr/bin/hbctool", line 6, in
sys.exit(main())
~~~~^^
File "/data/data/com.termux/files/usr/lib/python3.13/site-packages/hbctool/init.py", line 61, in main
disasm(args['<HBC_FILE>'], args['<HASM_PATH>'])
~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.13/site-packages/hbctool/init.py", line 33, in disasm
hbco = hbc.load(f)
File "/data/data/com.termux/files/usr/lib/python3.13/site-packages/hbctool/hbc/init.py", line 56, in load
assert magic == MAGIC, f"The magic ({hex(magic)}) is invalid. (must be {hex(MAGIC)})"
^^^^^^^^^^^^^^
AssertionError: The magic (0x2d8e8fc004d0ef71) is invalid. (must be 0x1f1903c103bc1fc6)
Its not a problem in your shell script or hbctool . it doesnt work for Tataplay hermes , if you analyse this in your free time that will be great
thanks in advance